feat(dal, api): в таблицу Units добавлено поле LastLogon. Переделана авторизация для хостов (ЭК), теперь берется ip из связанных Units. Переделаны запросы авторизации в кеш. Переделан запрос и модель в influxdb. Обновлена статистика по юнитам и полям.
This commit is contained in:
@@ -110,10 +110,10 @@
|
||||
public const string Create = Base + "/generator-templates/";
|
||||
}
|
||||
|
||||
public static class Host
|
||||
public static class Unit
|
||||
{
|
||||
public const string GetAll = Base + "/hosts/";
|
||||
public const string Get = Base + "/hosts/" + getParam;
|
||||
public const string GetAll = Base + "/units/";
|
||||
public const string Get = Base + "/units/" + getParam;
|
||||
|
||||
public const string getParam = "{id}";
|
||||
}
|
||||
@@ -227,17 +227,17 @@
|
||||
public const string GetForPeriod = BaseStat + "/template-auto-controls/";
|
||||
}
|
||||
|
||||
public static class StatHost
|
||||
public static class StatUnit
|
||||
{
|
||||
public const string Get = BaseStat + "/hosts/";
|
||||
public const string GetWithTemplates = BaseStat + "/hosts/templates";
|
||||
public const string GetForPeriod = BaseStat + "/hosts/period";
|
||||
public const string Get = BaseStat + "/units/";
|
||||
public const string GetWithTemplates = BaseStat + "/units/templates";
|
||||
public const string GetForPeriod = BaseStat + "/units/period";
|
||||
}
|
||||
|
||||
public static class StatApplication
|
||||
public static class StatUnitFieldValues
|
||||
{
|
||||
public const string Get = BaseStat + "/applications/";
|
||||
public const string GetForPeriod = BaseStat + "/applications/period";
|
||||
public const string Get = BaseStat + "/unit-field-values/";
|
||||
public const string GetForPeriod = BaseStat + "/unit-field-values/period";
|
||||
}
|
||||
|
||||
public static class StatOrder
|
||||
|
||||
Reference in New Issue
Block a user