namirasoft-infra 1.4.2 → 1.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/NamirasoftInfraServer.js +1 -1
- package/dist/command/AlertCreateCommand.js +1 -1
- package/dist/command/AlertCreateCommand.js.map +1 -1
- package/dist/command/AlertUpdateCommand.js +1 -1
- package/dist/command/AlertUpdateCommand.js.map +1 -1
- package/dist/command/CloudCreateCommand.js +1 -1
- package/dist/command/CloudCreateCommand.js.map +1 -1
- package/dist/command/CloudUpdateCommand.js +1 -1
- package/dist/command/CloudUpdateCommand.js.map +1 -1
- package/dist/command/DatabaseCreateCommand.js +1 -1
- package/dist/command/DatabaseCreateCommand.js.map +1 -1
- package/dist/command/DatabaseUpdateCommand.js +1 -1
- package/dist/command/DatabaseUpdateCommand.js.map +1 -1
- package/dist/command/EnvironmentCreateCommand.js +1 -1
- package/dist/command/EnvironmentCreateCommand.js.map +1 -1
- package/dist/command/EnvironmentUpdateCommand.js +1 -1
- package/dist/command/EnvironmentUpdateCommand.js.map +1 -1
- package/dist/command/InMemoryStoreCreateCommand.js +1 -1
- package/dist/command/InMemoryStoreCreateCommand.js.map +1 -1
- package/dist/command/InMemoryStoreUpdateCommand.js +1 -1
- package/dist/command/InMemoryStoreUpdateCommand.js.map +1 -1
- package/dist/command/IncidentCreateCommand.js +1 -1
- package/dist/command/IncidentCreateCommand.js.map +1 -1
- package/dist/command/IncidentUpdateCommand.js +1 -1
- package/dist/command/IncidentUpdateCommand.js.map +1 -1
- package/dist/command/KubernetesCreateCommand.js +19 -1
- package/dist/command/KubernetesCreateCommand.js.map +1 -1
- package/dist/command/KubernetesUpdateCommand.js +19 -1
- package/dist/command/KubernetesUpdateCommand.js.map +1 -1
- package/dist/command/MessageBrokerCreateCommand.js +1 -1
- package/dist/command/MessageBrokerCreateCommand.js.map +1 -1
- package/dist/command/MessageBrokerUpdateCommand.js +1 -1
- package/dist/command/MessageBrokerUpdateCommand.js.map +1 -1
- package/dist/command/MetricCreateCommand.js +4 -13
- package/dist/command/MetricCreateCommand.js.map +1 -1
- package/dist/command/MetricUpdateCommand.js +4 -13
- package/dist/command/MetricUpdateCommand.js.map +1 -1
- package/dist/command/MonitorCreateCommand.js +5 -14
- package/dist/command/MonitorCreateCommand.js.map +1 -1
- package/dist/command/MonitorUpdateCommand.js +5 -14
- package/dist/command/MonitorUpdateCommand.js.map +1 -1
- package/dist/command/ProjectCreateCommand.js +1 -1
- package/dist/command/ProjectCreateCommand.js.map +1 -1
- package/dist/command/ProjectUpdateCommand.js +1 -1
- package/dist/command/ProjectUpdateCommand.js.map +1 -1
- package/dist/command/ServerCreateCommand.js +10 -1
- package/dist/command/ServerCreateCommand.js.map +1 -1
- package/dist/command/ServerUpdateCommand.js +10 -1
- package/dist/command/ServerUpdateCommand.js.map +1 -1
- package/dist/enum/CloudType.d.ts +6 -0
- package/dist/enum/CloudType.js +11 -0
- package/dist/enum/CloudType.js.map +1 -0
- package/dist/enum/KubernetesCloud.d.ts +6 -0
- package/dist/enum/KubernetesCloud.js +11 -0
- package/dist/enum/KubernetesCloud.js.map +1 -0
- package/dist/enum/ServerCloud.d.ts +6 -0
- package/dist/enum/ServerCloud.js +11 -0
- package/dist/enum/ServerCloud.js.map +1 -0
- package/dist/index.d.ts +3 -2
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/meta/AlertMetaTable.js +1 -1
- package/dist/meta/AlertMetaTable.js.map +1 -1
- package/dist/meta/CloudMetaTable.js +2 -2
- package/dist/meta/CloudMetaTable.js.map +1 -1
- package/dist/meta/DatabaseMetaTable.js +1 -1
- package/dist/meta/DatabaseMetaTable.js.map +1 -1
- package/dist/meta/EnvironmentMetaTable.js +1 -1
- package/dist/meta/EnvironmentMetaTable.js.map +1 -1
- package/dist/meta/InMemoryStoreMetaTable.js +1 -1
- package/dist/meta/InMemoryStoreMetaTable.js.map +1 -1
- package/dist/meta/IncidentMetaTable.js +1 -1
- package/dist/meta/IncidentMetaTable.js.map +1 -1
- package/dist/meta/KubernetesMetaTable.d.ts +2 -0
- package/dist/meta/KubernetesMetaTable.js +3 -1
- package/dist/meta/KubernetesMetaTable.js.map +1 -1
- package/dist/meta/MessageBrokerMetaTable.js +1 -1
- package/dist/meta/MessageBrokerMetaTable.js.map +1 -1
- package/dist/meta/MetricMetaTable.d.ts +1 -2
- package/dist/meta/MetricMetaTable.js +1 -2
- package/dist/meta/MetricMetaTable.js.map +1 -1
- package/dist/meta/MonitorMetaTable.d.ts +1 -2
- package/dist/meta/MonitorMetaTable.js +2 -3
- package/dist/meta/MonitorMetaTable.js.map +1 -1
- package/dist/meta/ProjectMetaTable.js +1 -1
- package/dist/meta/ProjectMetaTable.js.map +1 -1
- package/dist/meta/ServerMetaTable.d.ts +1 -0
- package/dist/meta/ServerMetaTable.js +2 -1
- package/dist/meta/ServerMetaTable.js.map +1 -1
- package/dist/row/AlertInputRow.d.ts +1 -1
- package/dist/row/AlertRow.d.ts +1 -1
- package/dist/row/CloudInputRow.d.ts +3 -2
- package/dist/row/CloudRow.d.ts +3 -2
- package/dist/row/DatabaseInputRow.d.ts +1 -1
- package/dist/row/DatabaseRow.d.ts +1 -1
- package/dist/row/EnvironmentInputRow.d.ts +1 -1
- package/dist/row/EnvironmentRow.d.ts +1 -1
- package/dist/row/InMemoryStoreInputRow.d.ts +1 -1
- package/dist/row/InMemoryStoreRow.d.ts +1 -1
- package/dist/row/IncidentInputRow.d.ts +1 -1
- package/dist/row/IncidentRow.d.ts +1 -1
- package/dist/row/KubernetesInputRow.d.ts +4 -1
- package/dist/row/KubernetesRow.d.ts +4 -1
- package/dist/row/MessageBrokerInputRow.d.ts +1 -1
- package/dist/row/MessageBrokerRow.d.ts +1 -1
- package/dist/row/MetricInputRow.d.ts +1 -3
- package/dist/row/MetricRow.d.ts +1 -3
- package/dist/row/MonitorInputRow.d.ts +2 -4
- package/dist/row/MonitorRow.d.ts +2 -4
- package/dist/row/ProjectInputRow.d.ts +1 -1
- package/dist/row/ProjectRow.d.ts +1 -1
- package/dist/row/ServerInputRow.d.ts +3 -1
- package/dist/row/ServerRow.d.ts +3 -1
- package/package.json +1 -1
- package/src/NamirasoftInfraServer.ts +1 -1
- package/src/command/AlertCreateCommand.ts +1 -1
- package/src/command/AlertUpdateCommand.ts +1 -1
- package/src/command/CloudCreateCommand.ts +1 -1
- package/src/command/CloudUpdateCommand.ts +1 -1
- package/src/command/DatabaseCreateCommand.ts +1 -1
- package/src/command/DatabaseUpdateCommand.ts +1 -1
- package/src/command/EnvironmentCreateCommand.ts +1 -1
- package/src/command/EnvironmentUpdateCommand.ts +1 -1
- package/src/command/InMemoryStoreCreateCommand.ts +1 -1
- package/src/command/InMemoryStoreUpdateCommand.ts +1 -1
- package/src/command/IncidentCreateCommand.ts +1 -1
- package/src/command/IncidentUpdateCommand.ts +1 -1
- package/src/command/KubernetesCreateCommand.ts +19 -1
- package/src/command/KubernetesUpdateCommand.ts +19 -1
- package/src/command/MessageBrokerCreateCommand.ts +1 -1
- package/src/command/MessageBrokerUpdateCommand.ts +1 -1
- package/src/command/MetricCreateCommand.ts +4 -13
- package/src/command/MetricUpdateCommand.ts +4 -13
- package/src/command/MonitorCreateCommand.ts +5 -14
- package/src/command/MonitorUpdateCommand.ts +5 -14
- package/src/command/ProjectCreateCommand.ts +1 -1
- package/src/command/ProjectUpdateCommand.ts +1 -1
- package/src/command/ServerCreateCommand.ts +10 -1
- package/src/command/ServerUpdateCommand.ts +10 -1
- package/src/enum/{MetricIntervalUnit.ts → CloudType.ts} +5 -4
- package/src/enum/{MonitorHeartbeatIntervalUnit.ts → KubernetesCloud.ts} +5 -4
- package/src/enum/ServerCloud.ts +27 -0
- package/src/index.ts +3 -2
- package/src/meta/AlertMetaTable.ts +1 -1
- package/src/meta/CloudMetaTable.ts +2 -2
- package/src/meta/DatabaseMetaTable.ts +1 -1
- package/src/meta/EnvironmentMetaTable.ts +1 -1
- package/src/meta/InMemoryStoreMetaTable.ts +1 -1
- package/src/meta/IncidentMetaTable.ts +1 -1
- package/src/meta/KubernetesMetaTable.ts +5 -1
- package/src/meta/MessageBrokerMetaTable.ts +1 -1
- package/src/meta/MetricMetaTable.ts +2 -4
- package/src/meta/MonitorMetaTable.ts +3 -5
- package/src/meta/ProjectMetaTable.ts +1 -1
- package/src/meta/ServerMetaTable.ts +3 -1
- package/src/row/AlertInputRow.ts +1 -1
- package/src/row/AlertRow.ts +1 -1
- package/src/row/CloudInputRow.ts +4 -2
- package/src/row/CloudRow.ts +4 -2
- package/src/row/DatabaseInputRow.ts +1 -1
- package/src/row/DatabaseRow.ts +1 -1
- package/src/row/EnvironmentInputRow.ts +1 -1
- package/src/row/EnvironmentRow.ts +1 -1
- package/src/row/InMemoryStoreInputRow.ts +1 -1
- package/src/row/InMemoryStoreRow.ts +1 -1
- package/src/row/IncidentInputRow.ts +1 -1
- package/src/row/IncidentRow.ts +1 -1
- package/src/row/KubernetesInputRow.ts +5 -1
- package/src/row/KubernetesRow.ts +5 -1
- package/src/row/MessageBrokerInputRow.ts +1 -1
- package/src/row/MessageBrokerRow.ts +1 -1
- package/src/row/MetricInputRow.ts +1 -3
- package/src/row/MetricRow.ts +1 -3
- package/src/row/MonitorInputRow.ts +2 -4
- package/src/row/MonitorRow.ts +2 -4
- package/src/row/ProjectInputRow.ts +1 -1
- package/src/row/ProjectRow.ts +1 -1
- package/src/row/ServerInputRow.ts +3 -1
- package/src/row/ServerRow.ts +3 -1
- package/dist/enum/MetricIntervalUnit.d.ts +0 -5
- package/dist/enum/MetricIntervalUnit.js +0 -10
- package/dist/enum/MetricIntervalUnit.js.map +0 -1
- package/dist/enum/MonitorHeartbeatIntervalUnit.d.ts +0 -5
- package/dist/enum/MonitorHeartbeatIntervalUnit.js +0 -10
- package/dist/enum/MonitorHeartbeatIntervalUnit.js.map +0 -1
|
@@ -59,7 +59,7 @@ export class InMemoryStoreMetaTable extends NSBaseMetaTable<NamirasoftInfraServe
|
|
|
59
59
|
connect_type: new BaseMetaColumn(this, "connect_type", "Connect Type", "Enum", true),
|
|
60
60
|
connect_server_id: new BaseMetaColumn(this, "connect_server_id", "Connect Server ID", "String", false),
|
|
61
61
|
connect_kubernetes_id: new BaseMetaColumn(this, "connect_kubernetes_id", "Connect Kubernetes ID", "String", false),
|
|
62
|
-
description: new BaseMetaColumn(this, "description", "Description", "String",
|
|
62
|
+
description: new BaseMetaColumn(this, "description", "Description", "String", false),
|
|
63
63
|
created_at: new BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
|
|
64
64
|
updated_at: new BaseMetaColumn(this, "updated_at", "Updated At", "DateTime", true),
|
|
65
65
|
};
|
|
@@ -55,7 +55,7 @@ export class IncidentMetaTable extends NSBaseMetaTable<NamirasoftInfraServer, In
|
|
|
55
55
|
metric_id: new BaseMetaColumn(this, "metric_id", "Metric ID", "String", true),
|
|
56
56
|
chat_id: new BaseMetaColumn(this, "chat_id", "Chat ID", "String", true),
|
|
57
57
|
status: new BaseMetaColumn(this, "status", "Status", "Enum", true),
|
|
58
|
-
description: new BaseMetaColumn(this, "description", "Description", "String",
|
|
58
|
+
description: new BaseMetaColumn(this, "description", "Description", "String", false),
|
|
59
59
|
created_at: new BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
|
|
60
60
|
updated_at: new BaseMetaColumn(this, "updated_at", "Updated At", "DateTime", true),
|
|
61
61
|
};
|
|
@@ -35,6 +35,8 @@ export class KubernetesMetaTable extends NSBaseMetaTable<NamirasoftInfraServer,
|
|
|
35
35
|
project_id: BaseMetaColumn;
|
|
36
36
|
environment_id: BaseMetaColumn;
|
|
37
37
|
log_group_id: BaseMetaColumn;
|
|
38
|
+
kubctl_on_server_id: BaseMetaColumn;
|
|
39
|
+
cloud: BaseMetaColumn;
|
|
38
40
|
name: BaseMetaColumn;
|
|
39
41
|
description: BaseMetaColumn;
|
|
40
42
|
hash: BaseMetaColumn;
|
|
@@ -55,8 +57,10 @@ export class KubernetesMetaTable extends NSBaseMetaTable<NamirasoftInfraServer,
|
|
|
55
57
|
project_id: new BaseMetaColumn(this, "project_id", "Project ID", "String", true),
|
|
56
58
|
environment_id: new BaseMetaColumn(this, "environment_id", "Environment ID", "String", true),
|
|
57
59
|
log_group_id: new BaseMetaColumn(this, "log_group_id", "Log Group ID", "String", false),
|
|
60
|
+
kubctl_on_server_id: new BaseMetaColumn(this, "kubctl_on_server_id", "Kubctl On Server ID", "String", true),
|
|
61
|
+
cloud: new BaseMetaColumn(this, "cloud", "Cloud", "Enum", true),
|
|
58
62
|
name: new BaseMetaColumn(this, "name", "Name", "String", true),
|
|
59
|
-
description: new BaseMetaColumn(this, "description", "Description", "String",
|
|
63
|
+
description: new BaseMetaColumn(this, "description", "Description", "String", false),
|
|
60
64
|
hash: new BaseMetaColumn(this, "hash", "Hash", "String", true),
|
|
61
65
|
ip_public: new BaseMetaColumn(this, "ip_public", "IP Public", "String", true),
|
|
62
66
|
last_sync: new BaseMetaColumn(this, "last_sync", "Last Sync", "String", true),
|
|
@@ -59,7 +59,7 @@ export class MessageBrokerMetaTable extends NSBaseMetaTable<NamirasoftInfraServe
|
|
|
59
59
|
connect_type: new BaseMetaColumn(this, "connect_type", "Connect Type", "Enum", true),
|
|
60
60
|
connect_server_id: new BaseMetaColumn(this, "connect_server_id", "Connect Server ID", "String", false),
|
|
61
61
|
connect_kubernetes_id: new BaseMetaColumn(this, "connect_kubernetes_id", "Connect Kubernetes ID", "String", false),
|
|
62
|
-
description: new BaseMetaColumn(this, "description", "Description", "String",
|
|
62
|
+
description: new BaseMetaColumn(this, "description", "Description", "String", false),
|
|
63
63
|
created_at: new BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
|
|
64
64
|
updated_at: new BaseMetaColumn(this, "updated_at", "Updated At", "DateTime", true),
|
|
65
65
|
};
|
|
@@ -37,8 +37,7 @@ export class MetricMetaTable extends NSBaseMetaTable<NamirasoftInfraServer, Metr
|
|
|
37
37
|
caller_server_id: BaseMetaColumn;
|
|
38
38
|
caller_kubernetes_id: BaseMetaColumn;
|
|
39
39
|
url: BaseMetaColumn;
|
|
40
|
-
|
|
41
|
-
interval_unit: BaseMetaColumn;
|
|
40
|
+
interval_scheduler_id: BaseMetaColumn;
|
|
42
41
|
description: BaseMetaColumn;
|
|
43
42
|
created_at: BaseMetaColumn;
|
|
44
43
|
updated_at: BaseMetaColumn;
|
|
@@ -57,8 +56,7 @@ export class MetricMetaTable extends NSBaseMetaTable<NamirasoftInfraServer, Metr
|
|
|
57
56
|
caller_server_id: new BaseMetaColumn(this, "caller_server_id", "Caller Server ID", "String", false),
|
|
58
57
|
caller_kubernetes_id: new BaseMetaColumn(this, "caller_kubernetes_id", "Caller Kubernetes ID", "String", false),
|
|
59
58
|
url: new BaseMetaColumn(this, "url", "URL", "String", true),
|
|
60
|
-
|
|
61
|
-
interval_unit: new BaseMetaColumn(this, "interval_unit", "Interval Unit", "Enum", true),
|
|
59
|
+
interval_scheduler_id: new BaseMetaColumn(this, "interval_scheduler_id", "Interval Scheduler ID", "String", true),
|
|
62
60
|
description: new BaseMetaColumn(this, "description", "Description", "String", true),
|
|
63
61
|
created_at: new BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
|
|
64
62
|
updated_at: new BaseMetaColumn(this, "updated_at", "Updated At", "DateTime", true),
|
|
@@ -38,8 +38,7 @@ export class MonitorMetaTable extends NSBaseMetaTable<NamirasoftInfraServer, Mon
|
|
|
38
38
|
caller_server_id: BaseMetaColumn;
|
|
39
39
|
caller_kubernetes_id: BaseMetaColumn;
|
|
40
40
|
up_side_down: BaseMetaColumn;
|
|
41
|
-
|
|
42
|
-
heartbeat_interval_unit: BaseMetaColumn;
|
|
41
|
+
heartbeat_interval_scheduler_id: BaseMetaColumn;
|
|
43
42
|
retries: BaseMetaColumn;
|
|
44
43
|
heartbeat_retry_interval_value: BaseMetaColumn;
|
|
45
44
|
heartbeat_retry_interval_unit: BaseMetaColumn;
|
|
@@ -85,8 +84,7 @@ export class MonitorMetaTable extends NSBaseMetaTable<NamirasoftInfraServer, Mon
|
|
|
85
84
|
caller_server_id: new BaseMetaColumn(this, "caller_server_id", "Caller Server ID", "String", false),
|
|
86
85
|
caller_kubernetes_id: new BaseMetaColumn(this, "caller_kubernetes_id", "Caller Kubernetes ID", "String", false),
|
|
87
86
|
up_side_down: new BaseMetaColumn(this, "up_side_down", "Up Side Down", "Boolean", true),
|
|
88
|
-
|
|
89
|
-
heartbeat_interval_unit: new BaseMetaColumn(this, "heartbeat_interval_unit", "Heartbeat Interval Unit", "Enum", true),
|
|
87
|
+
heartbeat_interval_scheduler_id: new BaseMetaColumn(this, "heartbeat_interval_scheduler_id", "Heartbeat Interval Scheduler ID", "String", true),
|
|
90
88
|
retries: new BaseMetaColumn(this, "retries", "Retries", "Integer", true),
|
|
91
89
|
heartbeat_retry_interval_value: new BaseMetaColumn(this, "heartbeat_retry_interval_value", "Heartbeat Retry Interval Value", "Integer", true),
|
|
92
90
|
heartbeat_retry_interval_unit: new BaseMetaColumn(this, "heartbeat_retry_interval_unit", "Heartbeat Retry Interval Unit", "Enum", true),
|
|
@@ -113,7 +111,7 @@ export class MonitorMetaTable extends NSBaseMetaTable<NamirasoftInfraServer, Mon
|
|
|
113
111
|
docker_container_id_or_name: new BaseMetaColumn(this, "docker_container_id_or_name", "Docker Container ID Or Name", "String", false),
|
|
114
112
|
kubernetes_pod_controller_type: new BaseMetaColumn(this, "kubernetes_pod_controller_type", "Kubernetes Pod Controller Type", "Enum", false),
|
|
115
113
|
kubernetes_pod_controller_name: new BaseMetaColumn(this, "kubernetes_pod_controller_name", "Kubernetes Pod Controller Name", "String", false),
|
|
116
|
-
description: new BaseMetaColumn(this, "description", "Description", "String",
|
|
114
|
+
description: new BaseMetaColumn(this, "description", "Description", "String", false),
|
|
117
115
|
created_at: new BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
|
|
118
116
|
updated_at: new BaseMetaColumn(this, "updated_at", "Updated At", "DateTime", true),
|
|
119
117
|
};
|
|
@@ -43,7 +43,7 @@ export class ProjectMetaTable extends NSBaseMetaTable<NamirasoftInfraServer, Pro
|
|
|
43
43
|
user_id: new BaseMetaColumn(this, "user_id", "User ID", "String", true),
|
|
44
44
|
workspace_id: new BaseMetaColumn(this, "workspace_id", "Workspace ID", "String", true),
|
|
45
45
|
name: new BaseMetaColumn(this, "name", "Name", "String", true),
|
|
46
|
-
description: new BaseMetaColumn(this, "description", "Description", "String",
|
|
46
|
+
description: new BaseMetaColumn(this, "description", "Description", "String", false),
|
|
47
47
|
created_at: new BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
|
|
48
48
|
updated_at: new BaseMetaColumn(this, "updated_at", "Updated At", "DateTime", true),
|
|
49
49
|
};
|
|
@@ -35,6 +35,7 @@ export class ServerMetaTable extends NSBaseMetaTable<NamirasoftInfraServer, Serv
|
|
|
35
35
|
project_id: BaseMetaColumn;
|
|
36
36
|
environment_id: BaseMetaColumn;
|
|
37
37
|
log_group_id: BaseMetaColumn;
|
|
38
|
+
cloud: BaseMetaColumn;
|
|
38
39
|
name: BaseMetaColumn;
|
|
39
40
|
metric_retention_unit: BaseMetaColumn;
|
|
40
41
|
metric_retention_value: BaseMetaColumn;
|
|
@@ -67,10 +68,11 @@ export class ServerMetaTable extends NSBaseMetaTable<NamirasoftInfraServer, Serv
|
|
|
67
68
|
project_id: new BaseMetaColumn(this, "project_id", "Project ID", "String", true),
|
|
68
69
|
environment_id: new BaseMetaColumn(this, "environment_id", "Environment ID", "String", true),
|
|
69
70
|
log_group_id: new BaseMetaColumn(this, "log_group_id", "Log Group ID", "String", false),
|
|
71
|
+
cloud: new BaseMetaColumn(this, "cloud", "Cloud", "Enum", true),
|
|
70
72
|
name: new BaseMetaColumn(this, "name", "Name", "String", true),
|
|
71
73
|
metric_retention_unit: new BaseMetaColumn(this, "metric_retention_unit", "Metric Retention Unit", "Enum", true),
|
|
72
74
|
metric_retention_value: new BaseMetaColumn(this, "metric_retention_value", "Metric Retention Value", "Integer", true),
|
|
73
|
-
description: new BaseMetaColumn(this, "description", "Description", "String",
|
|
75
|
+
description: new BaseMetaColumn(this, "description", "Description", "String", false),
|
|
74
76
|
hash: new BaseMetaColumn(this, "hash", "Hash", "String", true),
|
|
75
77
|
ip_public: new BaseMetaColumn(this, "ip_public", "IP Public", "String", true),
|
|
76
78
|
ip_private: new BaseMetaColumn(this, "ip_private", "IP Private", "String", true),
|
package/src/row/AlertInputRow.ts
CHANGED
package/src/row/AlertRow.ts
CHANGED
package/src/row/CloudInputRow.ts
CHANGED
|
@@ -18,11 +18,13 @@
|
|
|
18
18
|
/* */
|
|
19
19
|
/****************************************************************/
|
|
20
20
|
|
|
21
|
+
import { CloudType } from "../enum/CloudType";
|
|
22
|
+
|
|
21
23
|
export type CloudInputRow =
|
|
22
24
|
{
|
|
23
25
|
workspace_id: string;
|
|
24
26
|
ctl_on_server_id: string;
|
|
25
27
|
name: string;
|
|
26
|
-
type:
|
|
27
|
-
description: string;
|
|
28
|
+
type: CloudType;
|
|
29
|
+
description: (string | null);
|
|
28
30
|
}
|
package/src/row/CloudRow.ts
CHANGED
|
@@ -18,6 +18,8 @@
|
|
|
18
18
|
/* */
|
|
19
19
|
/****************************************************************/
|
|
20
20
|
|
|
21
|
+
import { CloudType } from "../enum/CloudType";
|
|
22
|
+
|
|
21
23
|
export type CloudRow =
|
|
22
24
|
{
|
|
23
25
|
id: string;
|
|
@@ -25,8 +27,8 @@ export type CloudRow =
|
|
|
25
27
|
workspace_id: string;
|
|
26
28
|
ctl_on_server_id: string;
|
|
27
29
|
name: string;
|
|
28
|
-
type:
|
|
29
|
-
description: string;
|
|
30
|
+
type: CloudType;
|
|
31
|
+
description: (string | null);
|
|
30
32
|
created_at: Date;
|
|
31
33
|
updated_at: Date;
|
|
32
34
|
}
|
package/src/row/DatabaseRow.ts
CHANGED
package/src/row/IncidentRow.ts
CHANGED
|
@@ -18,6 +18,8 @@
|
|
|
18
18
|
/* */
|
|
19
19
|
/****************************************************************/
|
|
20
20
|
|
|
21
|
+
import { KubernetesCloud } from "../enum/KubernetesCloud";
|
|
22
|
+
|
|
21
23
|
export type KubernetesInputRow =
|
|
22
24
|
{
|
|
23
25
|
workspace_id: string;
|
|
@@ -26,8 +28,10 @@ export type KubernetesInputRow =
|
|
|
26
28
|
project_id: string;
|
|
27
29
|
environment_id: string;
|
|
28
30
|
log_group_id: (string | null);
|
|
31
|
+
kubctl_on_server_id: string;
|
|
32
|
+
cloud: KubernetesCloud;
|
|
29
33
|
name: string;
|
|
30
|
-
description: string;
|
|
34
|
+
description: (string | null);
|
|
31
35
|
hash: string;
|
|
32
36
|
ip_public: string;
|
|
33
37
|
last_sync: string;
|
package/src/row/KubernetesRow.ts
CHANGED
|
@@ -18,6 +18,8 @@
|
|
|
18
18
|
/* */
|
|
19
19
|
/****************************************************************/
|
|
20
20
|
|
|
21
|
+
import { KubernetesCloud } from "../enum/KubernetesCloud";
|
|
22
|
+
|
|
21
23
|
export type KubernetesRow =
|
|
22
24
|
{
|
|
23
25
|
id: string;
|
|
@@ -28,8 +30,10 @@ export type KubernetesRow =
|
|
|
28
30
|
project_id: string;
|
|
29
31
|
environment_id: string;
|
|
30
32
|
log_group_id: (string | null);
|
|
33
|
+
kubctl_on_server_id: string;
|
|
34
|
+
cloud: KubernetesCloud;
|
|
31
35
|
name: string;
|
|
32
|
-
description: string;
|
|
36
|
+
description: (string | null);
|
|
33
37
|
hash: string;
|
|
34
38
|
ip_public: string;
|
|
35
39
|
last_sync: string;
|
|
@@ -19,7 +19,6 @@
|
|
|
19
19
|
/****************************************************************/
|
|
20
20
|
|
|
21
21
|
import { MetricCallerType } from "../enum/MetricCallerType";
|
|
22
|
-
import { MetricIntervalUnit } from "../enum/MetricIntervalUnit";
|
|
23
22
|
|
|
24
23
|
export type MetricInputRow =
|
|
25
24
|
{
|
|
@@ -31,7 +30,6 @@ export type MetricInputRow =
|
|
|
31
30
|
caller_server_id: (string | null);
|
|
32
31
|
caller_kubernetes_id: (string | null);
|
|
33
32
|
url: string;
|
|
34
|
-
|
|
35
|
-
interval_unit: MetricIntervalUnit;
|
|
33
|
+
interval_scheduler_id: string;
|
|
36
34
|
description: string;
|
|
37
35
|
}
|
package/src/row/MetricRow.ts
CHANGED
|
@@ -19,7 +19,6 @@
|
|
|
19
19
|
/****************************************************************/
|
|
20
20
|
|
|
21
21
|
import { MetricCallerType } from "../enum/MetricCallerType";
|
|
22
|
-
import { MetricIntervalUnit } from "../enum/MetricIntervalUnit";
|
|
23
22
|
|
|
24
23
|
export type MetricRow =
|
|
25
24
|
{
|
|
@@ -33,8 +32,7 @@ export type MetricRow =
|
|
|
33
32
|
caller_server_id: (string | null);
|
|
34
33
|
caller_kubernetes_id: (string | null);
|
|
35
34
|
url: string;
|
|
36
|
-
|
|
37
|
-
interval_unit: MetricIntervalUnit;
|
|
35
|
+
interval_scheduler_id: string;
|
|
38
36
|
description: string;
|
|
39
37
|
created_at: Date;
|
|
40
38
|
updated_at: Date;
|
|
@@ -21,7 +21,6 @@
|
|
|
21
21
|
import { MonitorCallerType } from "../enum/MonitorCallerType";
|
|
22
22
|
import { MonitorDockerContainerConnectionType } from "../enum/MonitorDockerContainerConnectionType";
|
|
23
23
|
import { MonitorHTTPBodyEncoding } from "../enum/MonitorHTTPBodyEncoding";
|
|
24
|
-
import { MonitorHeartbeatIntervalUnit } from "../enum/MonitorHeartbeatIntervalUnit";
|
|
25
24
|
import { MonitorHeartbeatRetryIntervalUnit } from "../enum/MonitorHeartbeatRetryIntervalUnit";
|
|
26
25
|
import { MonitorKubernetesPodControllerType } from "../enum/MonitorKubernetesPodControllerType";
|
|
27
26
|
import { MonitorRequestTimeoutUnit } from "../enum/MonitorRequestTimeoutUnit";
|
|
@@ -38,8 +37,7 @@ export type MonitorInputRow =
|
|
|
38
37
|
caller_server_id: (string | null);
|
|
39
38
|
caller_kubernetes_id: (string | null);
|
|
40
39
|
up_side_down: boolean;
|
|
41
|
-
|
|
42
|
-
heartbeat_interval_unit: MonitorHeartbeatIntervalUnit;
|
|
40
|
+
heartbeat_interval_scheduler_id: string;
|
|
43
41
|
retries: number;
|
|
44
42
|
heartbeat_retry_interval_value: number;
|
|
45
43
|
heartbeat_retry_interval_unit: MonitorHeartbeatRetryIntervalUnit;
|
|
@@ -66,5 +64,5 @@ export type MonitorInputRow =
|
|
|
66
64
|
docker_container_id_or_name: (string | null);
|
|
67
65
|
kubernetes_pod_controller_type: (MonitorKubernetesPodControllerType | null);
|
|
68
66
|
kubernetes_pod_controller_name: (string | null);
|
|
69
|
-
description: string;
|
|
67
|
+
description: (string | null);
|
|
70
68
|
}
|
package/src/row/MonitorRow.ts
CHANGED
|
@@ -21,7 +21,6 @@
|
|
|
21
21
|
import { MonitorCallerType } from "../enum/MonitorCallerType";
|
|
22
22
|
import { MonitorDockerContainerConnectionType } from "../enum/MonitorDockerContainerConnectionType";
|
|
23
23
|
import { MonitorHTTPBodyEncoding } from "../enum/MonitorHTTPBodyEncoding";
|
|
24
|
-
import { MonitorHeartbeatIntervalUnit } from "../enum/MonitorHeartbeatIntervalUnit";
|
|
25
24
|
import { MonitorHeartbeatRetryIntervalUnit } from "../enum/MonitorHeartbeatRetryIntervalUnit";
|
|
26
25
|
import { MonitorKubernetesPodControllerType } from "../enum/MonitorKubernetesPodControllerType";
|
|
27
26
|
import { MonitorRequestTimeoutUnit } from "../enum/MonitorRequestTimeoutUnit";
|
|
@@ -40,8 +39,7 @@ export type MonitorRow =
|
|
|
40
39
|
caller_server_id: (string | null);
|
|
41
40
|
caller_kubernetes_id: (string | null);
|
|
42
41
|
up_side_down: boolean;
|
|
43
|
-
|
|
44
|
-
heartbeat_interval_unit: MonitorHeartbeatIntervalUnit;
|
|
42
|
+
heartbeat_interval_scheduler_id: string;
|
|
45
43
|
retries: number;
|
|
46
44
|
heartbeat_retry_interval_value: number;
|
|
47
45
|
heartbeat_retry_interval_unit: MonitorHeartbeatRetryIntervalUnit;
|
|
@@ -68,7 +66,7 @@ export type MonitorRow =
|
|
|
68
66
|
docker_container_id_or_name: (string | null);
|
|
69
67
|
kubernetes_pod_controller_type: (MonitorKubernetesPodControllerType | null);
|
|
70
68
|
kubernetes_pod_controller_name: (string | null);
|
|
71
|
-
description: string;
|
|
69
|
+
description: (string | null);
|
|
72
70
|
created_at: Date;
|
|
73
71
|
updated_at: Date;
|
|
74
72
|
}
|
package/src/row/ProjectRow.ts
CHANGED
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
/* */
|
|
19
19
|
/****************************************************************/
|
|
20
20
|
|
|
21
|
+
import { ServerCloud } from "../enum/ServerCloud";
|
|
21
22
|
import { ServerMetricRetentionUnit } from "../enum/ServerMetricRetentionUnit";
|
|
22
23
|
|
|
23
24
|
export type ServerInputRow =
|
|
@@ -28,8 +29,9 @@ export type ServerInputRow =
|
|
|
28
29
|
project_id: string;
|
|
29
30
|
environment_id: string;
|
|
30
31
|
log_group_id: (string | null);
|
|
32
|
+
cloud: ServerCloud;
|
|
31
33
|
name: string;
|
|
32
34
|
metric_retention_unit: ServerMetricRetentionUnit;
|
|
33
35
|
metric_retention_value: number;
|
|
34
|
-
description: string;
|
|
36
|
+
description: (string | null);
|
|
35
37
|
}
|
package/src/row/ServerRow.ts
CHANGED
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
/* */
|
|
19
19
|
/****************************************************************/
|
|
20
20
|
|
|
21
|
+
import { ServerCloud } from "../enum/ServerCloud";
|
|
21
22
|
import { ServerMetricRetentionUnit } from "../enum/ServerMetricRetentionUnit";
|
|
22
23
|
|
|
23
24
|
export type ServerRow =
|
|
@@ -30,10 +31,11 @@ export type ServerRow =
|
|
|
30
31
|
project_id: string;
|
|
31
32
|
environment_id: string;
|
|
32
33
|
log_group_id: (string | null);
|
|
34
|
+
cloud: ServerCloud;
|
|
33
35
|
name: string;
|
|
34
36
|
metric_retention_unit: ServerMetricRetentionUnit;
|
|
35
37
|
metric_retention_value: number;
|
|
36
|
-
description: string;
|
|
38
|
+
description: (string | null);
|
|
37
39
|
hash: string;
|
|
38
40
|
ip_public: string;
|
|
39
41
|
ip_private: string;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MetricIntervalUnit = void 0;
|
|
4
|
-
var MetricIntervalUnit;
|
|
5
|
-
(function (MetricIntervalUnit) {
|
|
6
|
-
MetricIntervalUnit["Second"] = "Second";
|
|
7
|
-
MetricIntervalUnit["Minute"] = "Minute";
|
|
8
|
-
MetricIntervalUnit["Hours"] = "Hours";
|
|
9
|
-
})(MetricIntervalUnit || (exports.MetricIntervalUnit = MetricIntervalUnit = {}));
|
|
10
|
-
//# sourceMappingURL=MetricIntervalUnit.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MetricIntervalUnit.js","sourceRoot":"","sources":["../../src/enum/MetricIntervalUnit.ts"],"names":[],"mappings":";;;AAoBA,IAAY,kBAKX;AALD,WAAY,kBAAkB;IAE1B,uCAAiB,CAAA;IACjB,uCAAiB,CAAA;IACjB,qCAAe,CAAA;AACnB,CAAC,EALW,kBAAkB,kCAAlB,kBAAkB,QAK7B"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MonitorHeartbeatIntervalUnit = void 0;
|
|
4
|
-
var MonitorHeartbeatIntervalUnit;
|
|
5
|
-
(function (MonitorHeartbeatIntervalUnit) {
|
|
6
|
-
MonitorHeartbeatIntervalUnit["Second"] = "Second";
|
|
7
|
-
MonitorHeartbeatIntervalUnit["Minute"] = "Minute";
|
|
8
|
-
MonitorHeartbeatIntervalUnit["Hours"] = "Hours";
|
|
9
|
-
})(MonitorHeartbeatIntervalUnit || (exports.MonitorHeartbeatIntervalUnit = MonitorHeartbeatIntervalUnit = {}));
|
|
10
|
-
//# sourceMappingURL=MonitorHeartbeatIntervalUnit.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MonitorHeartbeatIntervalUnit.js","sourceRoot":"","sources":["../../src/enum/MonitorHeartbeatIntervalUnit.ts"],"names":[],"mappings":";;;AAoBA,IAAY,4BAKX;AALD,WAAY,4BAA4B;IAEpC,iDAAiB,CAAA;IACjB,iDAAiB,CAAA;IACjB,+CAAe,CAAA;AACnB,CAAC,EALW,4BAA4B,4CAA5B,4BAA4B,QAKvC"}
|