namirasoft-infra 1.4.1 → 1.4.2
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.d.ts +8 -8
- package/dist/NamirasoftInfraServer.js +9 -9
- package/dist/NamirasoftInfraServer.js.map +1 -1
- package/dist/{NamirasoftInfraServerChat.d.ts → NamirasoftInfraServerCloud.d.ts} +8 -4
- package/dist/{NamirasoftInfraServerChatTag.js → NamirasoftInfraServerCloud.js} +18 -18
- package/dist/NamirasoftInfraServerCloud.js.map +1 -0
- package/dist/{NamirasoftInfraServerChatCategory.d.ts → NamirasoftInfraServerCloudCategory.d.ts} +5 -5
- package/dist/{NamirasoftInfraServerChatCategory.js → NamirasoftInfraServerCloudCategory.js} +8 -8
- package/dist/NamirasoftInfraServerCloudCategory.js.map +1 -0
- package/dist/{NamirasoftInfraServerChatField.d.ts → NamirasoftInfraServerCloudField.d.ts} +6 -6
- package/dist/{NamirasoftInfraServerChat.js → NamirasoftInfraServerCloudField.js} +34 -11
- package/dist/NamirasoftInfraServerCloudField.js.map +1 -0
- package/dist/{NamirasoftInfraServerChatTag.d.ts → NamirasoftInfraServerCloudTag.d.ts} +6 -6
- package/dist/{NamirasoftInfraServerChatField.js → NamirasoftInfraServerCloudTag.js} +9 -9
- package/dist/NamirasoftInfraServerCloudTag.js.map +1 -0
- package/dist/NamirasoftInfraServerMetric.d.ts +4 -1
- package/dist/NamirasoftInfraServerMetric.js.map +1 -1
- package/dist/NamirasoftInfraServerMonitor.d.ts +4 -2
- package/dist/NamirasoftInfraServerMonitor.js.map +1 -1
- package/dist/command/{ChatCategoryCommand.d.ts → CloudCategoryCommand.d.ts} +1 -1
- package/dist/command/CloudCategoryCommand.js +21 -0
- package/dist/command/CloudCategoryCommand.js.map +1 -0
- package/dist/command/{ChatCategoryCreateCommand.d.ts → CloudCategoryCreateCommand.d.ts} +1 -1
- package/dist/command/{ChatCategoryCreateCommand.js → CloudCategoryCreateCommand.js} +5 -5
- package/dist/command/CloudCategoryCreateCommand.js.map +1 -0
- package/dist/command/{ChatCategoryDeleteCommand.d.ts → CloudCategoryDeleteCommand.d.ts} +1 -1
- package/dist/command/{ChatCategoryDeleteCommand.js → CloudCategoryDeleteCommand.js} +5 -5
- package/dist/command/CloudCategoryDeleteCommand.js.map +1 -0
- package/dist/command/{ChatCategoryListCommand.d.ts → CloudCategoryGetCommand.d.ts} +1 -1
- package/dist/command/{ChatCategoryGetCommand.js → CloudCategoryGetCommand.js} +5 -5
- package/dist/command/CloudCategoryGetCommand.js.map +1 -0
- package/dist/command/CloudCategoryListCommand.d.ts +5 -0
- package/dist/command/{ChatCategoryListCommand.js → CloudCategoryListCommand.js} +5 -5
- package/dist/command/CloudCategoryListCommand.js.map +1 -0
- package/dist/command/{ChatCommand.d.ts → CloudCommand.d.ts} +1 -1
- package/dist/command/CloudCommand.js +23 -0
- package/dist/command/CloudCommand.js.map +1 -0
- package/dist/command/{ChatTagListCommand.d.ts → CloudCreateCommand.d.ts} +1 -1
- package/dist/command/CloudCreateCommand.js +85 -0
- package/dist/command/CloudCreateCommand.js.map +1 -0
- package/dist/command/{ChatTagGetCommand.d.ts → CloudDeleteCommand.d.ts} +1 -1
- package/dist/command/{ChatTagGetCommand.js → CloudDeleteCommand.js} +5 -5
- package/dist/command/CloudDeleteCommand.js.map +1 -0
- package/dist/command/{ChatFieldCommand.d.ts → CloudFieldCommand.d.ts} +1 -1
- package/dist/command/CloudFieldCommand.js +23 -0
- package/dist/command/CloudFieldCommand.js.map +1 -0
- package/dist/command/{ChatFieldCreateCommand.d.ts → CloudFieldCreateCommand.d.ts} +1 -1
- package/dist/command/{ChatFieldCreateCommand.js → CloudFieldCreateCommand.js} +5 -5
- package/dist/command/CloudFieldCreateCommand.js.map +1 -0
- package/dist/command/{ChatFieldDeleteCommand.d.ts → CloudFieldDeleteCommand.d.ts} +1 -1
- package/dist/command/{ChatFieldDeleteCommand.js → CloudFieldDeleteCommand.js} +5 -5
- package/dist/command/CloudFieldDeleteCommand.js.map +1 -0
- package/dist/command/{ChatTagCreateCommand.d.ts → CloudFieldGetCommand.d.ts} +1 -1
- package/dist/command/{ChatTagDeleteCommand.js → CloudFieldGetCommand.js} +5 -5
- package/dist/command/{ChatTagDeleteCommand.js.map → CloudFieldGetCommand.js.map} +1 -1
- package/dist/command/{ChatFieldListCommand.d.ts → CloudFieldListCommand.d.ts} +1 -1
- package/dist/command/{ChatFieldListCommand.js → CloudFieldListCommand.js} +5 -5
- package/dist/command/CloudFieldListCommand.js.map +1 -0
- package/dist/command/{ChatCategoryGetCommand.d.ts → CloudFieldUpdateCommand.d.ts} +1 -1
- package/dist/command/{ChatFieldUpdateCommand.js → CloudFieldUpdateCommand.js} +5 -5
- package/dist/command/CloudFieldUpdateCommand.js.map +1 -0
- package/dist/command/{ChatGetCommand.d.ts → CloudGetCommand.d.ts} +1 -1
- package/dist/command/{ChatGetCommand.js → CloudGetCommand.js} +5 -5
- package/dist/command/CloudGetCommand.js.map +1 -0
- package/dist/command/{ChatListCommand.d.ts → CloudListCommand.d.ts} +1 -1
- package/dist/command/{ChatListCommand.js → CloudListCommand.js} +5 -5
- package/dist/command/CloudListCommand.js.map +1 -0
- package/dist/command/{ChatTagCommand.d.ts → CloudTagCommand.d.ts} +1 -1
- package/dist/command/CloudTagCommand.js +23 -0
- package/dist/command/CloudTagCommand.js.map +1 -0
- package/dist/command/CloudTagCreateCommand.d.ts +5 -0
- package/dist/command/{ChatTagCreateCommand.js → CloudTagCreateCommand.js} +5 -5
- package/dist/command/CloudTagCreateCommand.js.map +1 -0
- package/dist/command/CloudTagDeleteCommand.d.ts +5 -0
- package/dist/command/CloudTagDeleteCommand.js +38 -0
- package/dist/command/CloudTagDeleteCommand.js.map +1 -0
- package/dist/command/CloudTagGetCommand.d.ts +5 -0
- package/dist/command/{ChatFieldGetCommand.js → CloudTagGetCommand.js} +5 -5
- package/dist/command/CloudTagGetCommand.js.map +1 -0
- package/dist/command/{ChatFieldGetCommand.d.ts → CloudTagListCommand.d.ts} +1 -1
- package/dist/command/{ChatTagListCommand.js → CloudTagListCommand.js} +5 -5
- package/dist/command/CloudTagListCommand.js.map +1 -0
- package/dist/command/CloudTagUpdateCommand.d.ts +5 -0
- package/dist/command/{ChatTagUpdateCommand.js → CloudTagUpdateCommand.js} +5 -5
- package/dist/command/CloudTagUpdateCommand.js.map +1 -0
- package/dist/command/CloudUpdateCommand.d.ts +5 -0
- package/dist/command/CloudUpdateCommand.js +85 -0
- package/dist/command/CloudUpdateCommand.js.map +1 -0
- package/dist/command/DatabaseCreateCommand.js +8 -8
- package/dist/command/DatabaseUpdateCommand.js +8 -8
- package/dist/command/InMemoryStoreCreateCommand.js +8 -8
- package/dist/command/InMemoryStoreUpdateCommand.js +8 -8
- package/dist/command/KubernetesCreateCommand.js +18 -0
- package/dist/command/KubernetesCreateCommand.js.map +1 -1
- package/dist/command/KubernetesUpdateCommand.js +18 -0
- package/dist/command/KubernetesUpdateCommand.js.map +1 -1
- package/dist/command/MessageBrokerCreateCommand.js +8 -8
- package/dist/command/MessageBrokerUpdateCommand.js +8 -8
- package/dist/command/ServerCreateCommand.js +18 -0
- package/dist/command/ServerCreateCommand.js.map +1 -1
- package/dist/command/ServerUpdateCommand.js +18 -0
- package/dist/command/ServerUpdateCommand.js.map +1 -1
- package/dist/command/cli.js +8 -8
- package/dist/command/cli.js.map +1 -1
- package/dist/index.d.ts +36 -32
- package/dist/index.js +36 -32
- package/dist/index.js.map +1 -1
- package/dist/meta/{ChatCategoryMetaTable.d.ts → CloudCategoryMetaTable.d.ts} +2 -2
- package/dist/meta/{ChatCategoryMetaTable.js → CloudCategoryMetaTable.js} +7 -7
- package/dist/meta/CloudCategoryMetaTable.js.map +1 -0
- package/dist/meta/{ChatFieldMetaTable.d.ts → CloudFieldMetaTable.d.ts} +2 -2
- package/dist/meta/{ChatFieldMetaTable.js → CloudFieldMetaTable.js} +7 -7
- package/dist/meta/CloudFieldMetaTable.js.map +1 -0
- package/dist/meta/{ChatMetaTable.d.ts → CloudMetaTable.d.ts} +5 -6
- package/dist/meta/{ChatMetaTable.js → CloudMetaTable.js} +10 -13
- package/dist/meta/CloudMetaTable.js.map +1 -0
- package/dist/meta/{ChatTagMetaTable.d.ts → CloudTagMetaTable.d.ts} +2 -2
- package/dist/meta/{ChatTagMetaTable.js → CloudTagMetaTable.js} +7 -7
- package/dist/meta/CloudTagMetaTable.js.map +1 -0
- package/dist/meta/DatabaseMetaTable.d.ts +2 -2
- package/dist/meta/DatabaseMetaTable.js +2 -2
- package/dist/meta/InMemoryStoreMetaTable.d.ts +2 -2
- package/dist/meta/InMemoryStoreMetaTable.js +2 -2
- package/dist/meta/KubernetesMetaTable.d.ts +2 -0
- package/dist/meta/KubernetesMetaTable.js +2 -0
- package/dist/meta/KubernetesMetaTable.js.map +1 -1
- package/dist/meta/MessageBrokerMetaTable.d.ts +2 -2
- package/dist/meta/MessageBrokerMetaTable.js +2 -2
- package/dist/meta/NamirasoftInfraMetaDatabase.d.ts +8 -8
- package/dist/meta/NamirasoftInfraMetaDatabase.js +9 -9
- package/dist/meta/NamirasoftInfraMetaDatabase.js.map +1 -1
- package/dist/meta/ServerMetaTable.d.ts +2 -0
- package/dist/meta/ServerMetaTable.js +2 -0
- package/dist/meta/ServerMetaTable.js.map +1 -1
- package/dist/row/{ChatCategoryRow.d.ts → CloudCategoryRow.d.ts} +1 -1
- package/dist/row/CloudCategoryRow.js +3 -0
- package/dist/row/CloudCategoryRow.js.map +1 -0
- package/dist/row/{ChatFieldRow.d.ts → CloudFieldRow.d.ts} +1 -1
- package/dist/row/{ChatFieldRow.js → CloudFieldRow.js} +1 -1
- package/dist/row/CloudFieldRow.js.map +1 -0
- package/dist/row/CloudInputRow.d.ts +7 -0
- package/dist/row/{ChatCategoryRow.js → CloudInputRow.js} +1 -1
- package/dist/row/CloudInputRow.js.map +1 -0
- package/dist/row/{ChatRow.d.ts → CloudRow.d.ts} +4 -5
- package/dist/row/{ChatRow.js → CloudRow.js} +1 -1
- package/dist/row/CloudRow.js.map +1 -0
- package/dist/row/{ChatTagRow.d.ts → CloudTagRow.d.ts} +1 -1
- package/dist/row/{ChatTagRow.js → CloudTagRow.js} +1 -1
- package/dist/row/CloudTagRow.js.map +1 -0
- package/dist/row/DatabaseInputRow.d.ts +2 -2
- package/dist/row/DatabaseRow.d.ts +2 -2
- package/dist/row/InMemoryStoreInputRow.d.ts +2 -2
- package/dist/row/InMemoryStoreRow.d.ts +2 -2
- package/dist/row/KubernetesInputRow.d.ts +2 -0
- package/dist/row/KubernetesRow.d.ts +2 -0
- package/dist/row/MessageBrokerInputRow.d.ts +2 -2
- package/dist/row/MessageBrokerRow.d.ts +2 -2
- package/dist/row/ServerInputRow.d.ts +2 -0
- package/dist/row/ServerRow.d.ts +2 -0
- package/package.json +1 -1
- package/src/NamirasoftInfraServer.ts +13 -13
- package/src/{NamirasoftInfraServerChat.ts → NamirasoftInfraServerCloud.ts} +29 -8
- package/src/{NamirasoftInfraServerChatCategory.ts → NamirasoftInfraServerCloudCategory.ts} +12 -12
- package/src/{NamirasoftInfraServerChatField.ts → NamirasoftInfraServerCloudField.ts} +15 -15
- package/src/{NamirasoftInfraServerChatTag.ts → NamirasoftInfraServerCloudTag.ts} +15 -15
- package/src/NamirasoftInfraServerMetric.ts +2 -2
- package/src/NamirasoftInfraServerMonitor.ts +2 -3
- package/src/command/{ChatCategoryCommand.ts → CloudCategoryCommand.ts} +9 -9
- package/src/command/{ChatCategoryCreateCommand.ts → CloudCategoryCreateCommand.ts} +2 -2
- package/src/command/{ChatCategoryDeleteCommand.ts → CloudCategoryDeleteCommand.ts} +2 -2
- package/src/command/{ChatFieldDeleteCommand.ts → CloudCategoryGetCommand.ts} +2 -2
- package/src/command/{ChatCategoryListCommand.ts → CloudCategoryListCommand.ts} +2 -2
- package/src/command/{ChatCommand.ts → CloudCommand.ts} +11 -5
- package/src/command/CloudCreateCommand.ts +92 -0
- package/src/command/{ChatTagGetCommand.ts → CloudDeleteCommand.ts} +2 -2
- package/src/command/{ChatFieldCommand.ts → CloudFieldCommand.ts} +11 -11
- package/src/command/{ChatFieldCreateCommand.ts → CloudFieldCreateCommand.ts} +2 -2
- package/src/command/{ChatCategoryGetCommand.ts → CloudFieldDeleteCommand.ts} +2 -2
- package/src/command/{ChatTagDeleteCommand.ts → CloudFieldGetCommand.ts} +2 -2
- package/src/command/{ChatFieldListCommand.ts → CloudFieldListCommand.ts} +2 -2
- package/src/command/{ChatFieldUpdateCommand.ts → CloudFieldUpdateCommand.ts} +2 -2
- package/src/command/{ChatGetCommand.ts → CloudGetCommand.ts} +2 -2
- package/src/command/{ChatListCommand.ts → CloudListCommand.ts} +2 -2
- package/src/command/{ChatTagCommand.ts → CloudTagCommand.ts} +11 -11
- package/src/command/{ChatTagCreateCommand.ts → CloudTagCreateCommand.ts} +2 -2
- package/src/command/CloudTagDeleteCommand.ts +45 -0
- package/src/command/{ChatFieldGetCommand.ts → CloudTagGetCommand.ts} +2 -2
- package/src/command/{ChatTagListCommand.ts → CloudTagListCommand.ts} +2 -2
- package/src/command/{ChatTagUpdateCommand.ts → CloudTagUpdateCommand.ts} +2 -2
- package/src/command/CloudUpdateCommand.ts +92 -0
- package/src/command/DatabaseCreateCommand.ts +8 -8
- package/src/command/DatabaseUpdateCommand.ts +8 -8
- package/src/command/InMemoryStoreCreateCommand.ts +8 -8
- package/src/command/InMemoryStoreUpdateCommand.ts +8 -8
- package/src/command/KubernetesCreateCommand.ts +18 -0
- package/src/command/KubernetesUpdateCommand.ts +18 -0
- package/src/command/MessageBrokerCreateCommand.ts +8 -8
- package/src/command/MessageBrokerUpdateCommand.ts +8 -8
- package/src/command/ServerCreateCommand.ts +18 -0
- package/src/command/ServerUpdateCommand.ts +18 -0
- package/src/command/cli.ts +8 -8
- package/src/index.ts +36 -32
- package/src/meta/{ChatCategoryMetaTable.ts → CloudCategoryMetaTable.ts} +5 -5
- package/src/meta/{ChatFieldMetaTable.ts → CloudFieldMetaTable.ts} +5 -5
- package/src/meta/{ChatMetaTable.ts → CloudMetaTable.ts} +11 -15
- package/src/meta/{ChatTagMetaTable.ts → CloudTagMetaTable.ts} +5 -5
- package/src/meta/DatabaseMetaTable.ts +4 -4
- package/src/meta/InMemoryStoreMetaTable.ts +4 -4
- package/src/meta/KubernetesMetaTable.ts +4 -0
- package/src/meta/MessageBrokerMetaTable.ts +4 -4
- package/src/meta/NamirasoftInfraMetaDatabase.ts +13 -13
- package/src/meta/ServerMetaTable.ts +4 -0
- package/src/row/{ChatCategoryRow.ts → CloudCategoryRow.ts} +1 -1
- package/src/row/{ChatFieldRow.ts → CloudFieldRow.ts} +1 -1
- package/src/row/CloudInputRow.ts +28 -0
- package/src/row/{ChatRow.ts → CloudRow.ts} +4 -5
- package/src/row/{ChatTagRow.ts → CloudTagRow.ts} +1 -1
- package/src/row/DatabaseInputRow.ts +2 -2
- package/src/row/DatabaseRow.ts +2 -2
- package/src/row/InMemoryStoreInputRow.ts +2 -2
- package/src/row/InMemoryStoreRow.ts +2 -2
- package/src/row/KubernetesInputRow.ts +2 -0
- package/src/row/KubernetesRow.ts +2 -0
- package/src/row/MessageBrokerInputRow.ts +2 -2
- package/src/row/MessageBrokerRow.ts +2 -2
- package/src/row/ServerInputRow.ts +2 -0
- package/src/row/ServerRow.ts +2 -0
- package/dist/NamirasoftInfraServerChat.js.map +0 -1
- package/dist/NamirasoftInfraServerChatCategory.js.map +0 -1
- package/dist/NamirasoftInfraServerChatField.js.map +0 -1
- package/dist/NamirasoftInfraServerChatTag.js.map +0 -1
- package/dist/command/ChatCategoryCommand.js +0 -21
- package/dist/command/ChatCategoryCommand.js.map +0 -1
- package/dist/command/ChatCategoryCreateCommand.js.map +0 -1
- package/dist/command/ChatCategoryDeleteCommand.js.map +0 -1
- package/dist/command/ChatCategoryGetCommand.js.map +0 -1
- package/dist/command/ChatCategoryListCommand.js.map +0 -1
- package/dist/command/ChatCommand.js +0 -17
- package/dist/command/ChatCommand.js.map +0 -1
- package/dist/command/ChatFieldCommand.js +0 -23
- package/dist/command/ChatFieldCommand.js.map +0 -1
- package/dist/command/ChatFieldCreateCommand.js.map +0 -1
- package/dist/command/ChatFieldDeleteCommand.js.map +0 -1
- package/dist/command/ChatFieldGetCommand.js.map +0 -1
- package/dist/command/ChatFieldListCommand.js.map +0 -1
- package/dist/command/ChatFieldUpdateCommand.d.ts +0 -5
- package/dist/command/ChatFieldUpdateCommand.js.map +0 -1
- package/dist/command/ChatGetCommand.js.map +0 -1
- package/dist/command/ChatListCommand.js.map +0 -1
- package/dist/command/ChatTagCommand.js +0 -23
- package/dist/command/ChatTagCommand.js.map +0 -1
- package/dist/command/ChatTagCreateCommand.js.map +0 -1
- package/dist/command/ChatTagDeleteCommand.d.ts +0 -5
- package/dist/command/ChatTagGetCommand.js.map +0 -1
- package/dist/command/ChatTagListCommand.js.map +0 -1
- package/dist/command/ChatTagUpdateCommand.d.ts +0 -5
- package/dist/command/ChatTagUpdateCommand.js.map +0 -1
- package/dist/meta/ChatCategoryMetaTable.js.map +0 -1
- package/dist/meta/ChatFieldMetaTable.js.map +0 -1
- package/dist/meta/ChatMetaTable.js.map +0 -1
- package/dist/meta/ChatTagMetaTable.js.map +0 -1
- package/dist/row/ChatCategoryRow.js.map +0 -1
- package/dist/row/ChatFieldRow.js.map +0 -1
- package/dist/row/ChatRow.js.map +0 -1
- package/dist/row/ChatTagRow.js.map +0 -1
|
@@ -36,6 +36,22 @@ export class KubernetesUpdateCommand extends BaseFinalCommand
|
|
|
36
36
|
args: ["workspace_id"],
|
|
37
37
|
defaults: [""]
|
|
38
38
|
},
|
|
39
|
+
{
|
|
40
|
+
name: "service_user_id",
|
|
41
|
+
short: "",
|
|
42
|
+
description: "Provides the value of 'service_user_id' in body",
|
|
43
|
+
optional: false,
|
|
44
|
+
args: ["service_user_id"],
|
|
45
|
+
defaults: [""]
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
name: "service_session_id",
|
|
49
|
+
short: "",
|
|
50
|
+
description: "Provides the value of 'service_session_id' in body",
|
|
51
|
+
optional: false,
|
|
52
|
+
args: ["service_session_id"],
|
|
53
|
+
defaults: [""]
|
|
54
|
+
},
|
|
39
55
|
{
|
|
40
56
|
name: "project_id",
|
|
41
57
|
short: "",
|
|
@@ -114,6 +130,8 @@ export class KubernetesUpdateCommand extends BaseFinalCommand
|
|
|
114
130
|
let server = new NamirasoftInfraServer(url, token_manager, e => this.app.logger.error(e.message));
|
|
115
131
|
let ans = await server.kubernetes.Update(this.arg_values[0], {
|
|
116
132
|
workspace_id: this.option_values.workspace_id,
|
|
133
|
+
service_user_id: this.option_values.service_user_id,
|
|
134
|
+
service_session_id: this.option_values.service_session_id,
|
|
117
135
|
project_id: this.option_values.project_id,
|
|
118
136
|
environment_id: this.option_values.environment_id,
|
|
119
137
|
log_group_id: this.option_values.log_group_id,
|
|
@@ -93,19 +93,19 @@ export class MessageBrokerCreateCommand extends BaseFinalCommand
|
|
|
93
93
|
defaults: [""]
|
|
94
94
|
},
|
|
95
95
|
{
|
|
96
|
-
name: "
|
|
96
|
+
name: "connect_server_id",
|
|
97
97
|
short: "",
|
|
98
|
-
description: "Provides the value of '
|
|
98
|
+
description: "Provides the value of 'connect_server_id' in body",
|
|
99
99
|
optional: true,
|
|
100
|
-
args: ["
|
|
100
|
+
args: ["connect_server_id"],
|
|
101
101
|
defaults: [""]
|
|
102
102
|
},
|
|
103
103
|
{
|
|
104
|
-
name: "
|
|
104
|
+
name: "connect_kubernetes_id",
|
|
105
105
|
short: "",
|
|
106
|
-
description: "Provides the value of '
|
|
106
|
+
description: "Provides the value of 'connect_kubernetes_id' in body",
|
|
107
107
|
optional: true,
|
|
108
|
-
args: ["
|
|
108
|
+
args: ["connect_kubernetes_id"],
|
|
109
109
|
defaults: [""]
|
|
110
110
|
},
|
|
111
111
|
{
|
|
@@ -137,8 +137,8 @@ export class MessageBrokerCreateCommand extends BaseFinalCommand
|
|
|
137
137
|
name: this.option_values.name,
|
|
138
138
|
type: this.option_values.type,
|
|
139
139
|
connect_type: this.option_values.connect_type,
|
|
140
|
-
|
|
141
|
-
|
|
140
|
+
connect_server_id: this.option_values.connect_server_id,
|
|
141
|
+
connect_kubernetes_id: this.option_values.connect_kubernetes_id,
|
|
142
142
|
description: this.option_values.description
|
|
143
143
|
});
|
|
144
144
|
this.app.logger.success(JSON.stringify(ans));
|
|
@@ -93,19 +93,19 @@ export class MessageBrokerUpdateCommand extends BaseFinalCommand
|
|
|
93
93
|
defaults: [""]
|
|
94
94
|
},
|
|
95
95
|
{
|
|
96
|
-
name: "
|
|
96
|
+
name: "connect_server_id",
|
|
97
97
|
short: "",
|
|
98
|
-
description: "Provides the value of '
|
|
98
|
+
description: "Provides the value of 'connect_server_id' in body",
|
|
99
99
|
optional: true,
|
|
100
|
-
args: ["
|
|
100
|
+
args: ["connect_server_id"],
|
|
101
101
|
defaults: [""]
|
|
102
102
|
},
|
|
103
103
|
{
|
|
104
|
-
name: "
|
|
104
|
+
name: "connect_kubernetes_id",
|
|
105
105
|
short: "",
|
|
106
|
-
description: "Provides the value of '
|
|
106
|
+
description: "Provides the value of 'connect_kubernetes_id' in body",
|
|
107
107
|
optional: true,
|
|
108
|
-
args: ["
|
|
108
|
+
args: ["connect_kubernetes_id"],
|
|
109
109
|
defaults: [""]
|
|
110
110
|
},
|
|
111
111
|
{
|
|
@@ -137,8 +137,8 @@ export class MessageBrokerUpdateCommand extends BaseFinalCommand
|
|
|
137
137
|
name: this.option_values.name,
|
|
138
138
|
type: this.option_values.type,
|
|
139
139
|
connect_type: this.option_values.connect_type,
|
|
140
|
-
|
|
141
|
-
|
|
140
|
+
connect_server_id: this.option_values.connect_server_id,
|
|
141
|
+
connect_kubernetes_id: this.option_values.connect_kubernetes_id,
|
|
142
142
|
description: this.option_values.description
|
|
143
143
|
});
|
|
144
144
|
this.app.logger.success(JSON.stringify(ans));
|
|
@@ -36,6 +36,22 @@ export class ServerCreateCommand extends BaseFinalCommand
|
|
|
36
36
|
args: ["workspace_id"],
|
|
37
37
|
defaults: [""]
|
|
38
38
|
},
|
|
39
|
+
{
|
|
40
|
+
name: "service_user_id",
|
|
41
|
+
short: "",
|
|
42
|
+
description: "Provides the value of 'service_user_id' in body",
|
|
43
|
+
optional: false,
|
|
44
|
+
args: ["service_user_id"],
|
|
45
|
+
defaults: [""]
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
name: "service_session_id",
|
|
49
|
+
short: "",
|
|
50
|
+
description: "Provides the value of 'service_session_id' in body",
|
|
51
|
+
optional: false,
|
|
52
|
+
args: ["service_session_id"],
|
|
53
|
+
defaults: [""]
|
|
54
|
+
},
|
|
39
55
|
{
|
|
40
56
|
name: "project_id",
|
|
41
57
|
short: "",
|
|
@@ -106,6 +122,8 @@ export class ServerCreateCommand extends BaseFinalCommand
|
|
|
106
122
|
let server = new NamirasoftInfraServer(url, token_manager, e => this.app.logger.error(e.message));
|
|
107
123
|
let ans = await server.server.Create({
|
|
108
124
|
workspace_id: this.option_values.workspace_id,
|
|
125
|
+
service_user_id: this.option_values.service_user_id,
|
|
126
|
+
service_session_id: this.option_values.service_session_id,
|
|
109
127
|
project_id: this.option_values.project_id,
|
|
110
128
|
environment_id: this.option_values.environment_id,
|
|
111
129
|
log_group_id: this.option_values.log_group_id,
|
|
@@ -36,6 +36,22 @@ export class ServerUpdateCommand extends BaseFinalCommand
|
|
|
36
36
|
args: ["workspace_id"],
|
|
37
37
|
defaults: [""]
|
|
38
38
|
},
|
|
39
|
+
{
|
|
40
|
+
name: "service_user_id",
|
|
41
|
+
short: "",
|
|
42
|
+
description: "Provides the value of 'service_user_id' in body",
|
|
43
|
+
optional: false,
|
|
44
|
+
args: ["service_user_id"],
|
|
45
|
+
defaults: [""]
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
name: "service_session_id",
|
|
49
|
+
short: "",
|
|
50
|
+
description: "Provides the value of 'service_session_id' in body",
|
|
51
|
+
optional: false,
|
|
52
|
+
args: ["service_session_id"],
|
|
53
|
+
defaults: [""]
|
|
54
|
+
},
|
|
39
55
|
{
|
|
40
56
|
name: "project_id",
|
|
41
57
|
short: "",
|
|
@@ -106,6 +122,8 @@ export class ServerUpdateCommand extends BaseFinalCommand
|
|
|
106
122
|
let server = new NamirasoftInfraServer(url, token_manager, e => this.app.logger.error(e.message));
|
|
107
123
|
let ans = await server.server.Update(this.arg_values[0], {
|
|
108
124
|
workspace_id: this.option_values.workspace_id,
|
|
125
|
+
service_user_id: this.option_values.service_user_id,
|
|
126
|
+
service_session_id: this.option_values.service_session_id,
|
|
109
127
|
project_id: this.option_values.project_id,
|
|
110
128
|
environment_id: this.option_values.environment_id,
|
|
111
129
|
log_group_id: this.option_values.log_group_id,
|
package/src/command/cli.ts
CHANGED
|
@@ -25,10 +25,10 @@ import { AlertCommand } from "./AlertCommand";
|
|
|
25
25
|
import { AlertFieldCommand } from "./AlertFieldCommand";
|
|
26
26
|
import { AlertTagCommand } from "./AlertTagCommand";
|
|
27
27
|
import { Application, BaseStorage } from "namirasoft-node-cli";
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
28
|
+
import { CloudCategoryCommand } from "./CloudCategoryCommand";
|
|
29
|
+
import { CloudCommand } from "./CloudCommand";
|
|
30
|
+
import { CloudFieldCommand } from "./CloudFieldCommand";
|
|
31
|
+
import { CloudTagCommand } from "./CloudTagCommand";
|
|
32
32
|
import { ConfigCommand } from "namirasoft-node-cli";
|
|
33
33
|
import { DatabaseCategoryCommand } from "./DatabaseCategoryCommand";
|
|
34
34
|
import { DatabaseCommand } from "./DatabaseCommand";
|
|
@@ -101,10 +101,6 @@ let app = new Application("ns-infra", new BaseStorage(),
|
|
|
101
101
|
"alertfield": AlertFieldCommand,
|
|
102
102
|
"alerttag": AlertTagCommand,
|
|
103
103
|
"alert": AlertCommand,
|
|
104
|
-
"chatcategory": ChatCategoryCommand,
|
|
105
|
-
"chatfield": ChatFieldCommand,
|
|
106
|
-
"chattag": ChatTagCommand,
|
|
107
|
-
"chat": ChatCommand,
|
|
108
104
|
"databasecategory": DatabaseCategoryCommand,
|
|
109
105
|
"databasefield": DatabaseFieldCommand,
|
|
110
106
|
"databasetag": DatabaseTagCommand,
|
|
@@ -129,6 +125,10 @@ let app = new Application("ns-infra", new BaseStorage(),
|
|
|
129
125
|
"monitorfield": MonitorFieldCommand,
|
|
130
126
|
"monitortag": MonitorTagCommand,
|
|
131
127
|
"monitor": MonitorCommand,
|
|
128
|
+
"cloudcategory": CloudCategoryCommand,
|
|
129
|
+
"cloudfield": CloudFieldCommand,
|
|
130
|
+
"cloudtag": CloudTagCommand,
|
|
131
|
+
"cloud": CloudCommand,
|
|
132
132
|
"account": AccountCommand,
|
|
133
133
|
"config": (argv: string[]) => new ConfigCommand(argv, ["ns-infra-server-url"])
|
|
134
134
|
});
|
package/src/index.ts
CHANGED
|
@@ -24,10 +24,10 @@ export * from "./NamirasoftInfraServerAlertCategory";
|
|
|
24
24
|
export * from "./NamirasoftInfraServerAlertField";
|
|
25
25
|
export * from "./NamirasoftInfraServerAlertTag";
|
|
26
26
|
export * from "./NamirasoftInfraServerBase";
|
|
27
|
-
export * from "./
|
|
28
|
-
export * from "./
|
|
29
|
-
export * from "./
|
|
30
|
-
export * from "./
|
|
27
|
+
export * from "./NamirasoftInfraServerCloud";
|
|
28
|
+
export * from "./NamirasoftInfraServerCloudCategory";
|
|
29
|
+
export * from "./NamirasoftInfraServerCloudField";
|
|
30
|
+
export * from "./NamirasoftInfraServerCloudTag";
|
|
31
31
|
export * from "./NamirasoftInfraServerDatabase";
|
|
32
32
|
export * from "./NamirasoftInfraServerDatabaseCategory";
|
|
33
33
|
export * from "./NamirasoftInfraServerDatabaseField";
|
|
@@ -95,26 +95,29 @@ export * from "./command/AlertTagGetCommand";
|
|
|
95
95
|
export * from "./command/AlertTagListCommand";
|
|
96
96
|
export * from "./command/AlertTagUpdateCommand";
|
|
97
97
|
export * from "./command/AlertUpdateCommand";
|
|
98
|
-
export * from "./command/
|
|
99
|
-
export * from "./command/
|
|
100
|
-
export * from "./command/
|
|
101
|
-
export * from "./command/
|
|
102
|
-
export * from "./command/
|
|
103
|
-
export * from "./command/
|
|
104
|
-
export * from "./command/
|
|
105
|
-
export * from "./command/
|
|
106
|
-
export * from "./command/
|
|
107
|
-
export * from "./command/
|
|
108
|
-
export * from "./command/
|
|
109
|
-
export * from "./command/
|
|
110
|
-
export * from "./command/
|
|
111
|
-
export * from "./command/
|
|
112
|
-
export * from "./command/
|
|
113
|
-
export * from "./command/
|
|
114
|
-
export * from "./command/
|
|
115
|
-
export * from "./command/
|
|
116
|
-
export * from "./command/
|
|
117
|
-
export * from "./command/
|
|
98
|
+
export * from "./command/CloudCategoryCommand";
|
|
99
|
+
export * from "./command/CloudCategoryCreateCommand";
|
|
100
|
+
export * from "./command/CloudCategoryDeleteCommand";
|
|
101
|
+
export * from "./command/CloudCategoryGetCommand";
|
|
102
|
+
export * from "./command/CloudCategoryListCommand";
|
|
103
|
+
export * from "./command/CloudCommand";
|
|
104
|
+
export * from "./command/CloudCreateCommand";
|
|
105
|
+
export * from "./command/CloudDeleteCommand";
|
|
106
|
+
export * from "./command/CloudFieldCommand";
|
|
107
|
+
export * from "./command/CloudFieldCreateCommand";
|
|
108
|
+
export * from "./command/CloudFieldDeleteCommand";
|
|
109
|
+
export * from "./command/CloudFieldGetCommand";
|
|
110
|
+
export * from "./command/CloudFieldListCommand";
|
|
111
|
+
export * from "./command/CloudFieldUpdateCommand";
|
|
112
|
+
export * from "./command/CloudGetCommand";
|
|
113
|
+
export * from "./command/CloudListCommand";
|
|
114
|
+
export * from "./command/CloudTagCommand";
|
|
115
|
+
export * from "./command/CloudTagCreateCommand";
|
|
116
|
+
export * from "./command/CloudTagDeleteCommand";
|
|
117
|
+
export * from "./command/CloudTagGetCommand";
|
|
118
|
+
export * from "./command/CloudTagListCommand";
|
|
119
|
+
export * from "./command/CloudTagUpdateCommand";
|
|
120
|
+
export * from "./command/CloudUpdateCommand";
|
|
118
121
|
export * from "./command/DatabaseCategoryCommand";
|
|
119
122
|
export * from "./command/DatabaseCategoryCreateCommand";
|
|
120
123
|
export * from "./command/DatabaseCategoryDeleteCommand";
|
|
@@ -380,10 +383,10 @@ export * from "./meta/AlertCategoryMetaTable";
|
|
|
380
383
|
export * from "./meta/AlertFieldMetaTable";
|
|
381
384
|
export * from "./meta/AlertMetaTable";
|
|
382
385
|
export * from "./meta/AlertTagMetaTable";
|
|
383
|
-
export * from "./meta/
|
|
384
|
-
export * from "./meta/
|
|
385
|
-
export * from "./meta/
|
|
386
|
-
export * from "./meta/
|
|
386
|
+
export * from "./meta/CloudCategoryMetaTable";
|
|
387
|
+
export * from "./meta/CloudFieldMetaTable";
|
|
388
|
+
export * from "./meta/CloudMetaTable";
|
|
389
|
+
export * from "./meta/CloudTagMetaTable";
|
|
387
390
|
export * from "./meta/DatabaseCategoryMetaTable";
|
|
388
391
|
export * from "./meta/DatabaseFieldMetaTable";
|
|
389
392
|
export * from "./meta/DatabaseMetaTable";
|
|
@@ -430,10 +433,11 @@ export * from "./row/AlertFieldRow";
|
|
|
430
433
|
export * from "./row/AlertInputRow";
|
|
431
434
|
export * from "./row/AlertRow";
|
|
432
435
|
export * from "./row/AlertTagRow";
|
|
433
|
-
export * from "./row/
|
|
434
|
-
export * from "./row/
|
|
435
|
-
export * from "./row/
|
|
436
|
-
export * from "./row/
|
|
436
|
+
export * from "./row/CloudCategoryRow";
|
|
437
|
+
export * from "./row/CloudFieldRow";
|
|
438
|
+
export * from "./row/CloudInputRow";
|
|
439
|
+
export * from "./row/CloudRow";
|
|
440
|
+
export * from "./row/CloudTagRow";
|
|
437
441
|
export * from "./row/DatabaseCategoryRow";
|
|
438
442
|
export * from "./row/DatabaseFieldRow";
|
|
439
443
|
export * from "./row/DatabaseInputRow";
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
/****************************************************************/
|
|
20
20
|
|
|
21
21
|
import { BaseUUID, BaseMetaColumn } from "namirasoft-core";
|
|
22
|
-
import {
|
|
22
|
+
import { CloudCategoryRow } from "../row/CloudCategoryRow";
|
|
23
23
|
import { FilterItem, SortItem } from "namirasoft-core";
|
|
24
24
|
import { NSBaseMetaDatabase, NSBaseMetaTable } from "namirasoft-site";
|
|
25
25
|
import { NamirasoftInfraServer } from "../NamirasoftInfraServer";
|
|
26
26
|
|
|
27
|
-
export class
|
|
27
|
+
export class CloudCategoryMetaTable extends NSBaseMetaTable<NamirasoftInfraServer, CloudCategoryRow>
|
|
28
28
|
{
|
|
29
29
|
public override columns: {
|
|
30
30
|
id: BaseMetaColumn;
|
|
@@ -36,7 +36,7 @@ export class ChatCategoryMetaTable extends NSBaseMetaTable<NamirasoftInfraServer
|
|
|
36
36
|
}
|
|
37
37
|
constructor(database: NSBaseMetaDatabase<NamirasoftInfraServer>)
|
|
38
38
|
{
|
|
39
|
-
super(database, "
|
|
39
|
+
super(database, "cloud_category", "Cloud Category", new BaseUUID(""));
|
|
40
40
|
this.columns = {
|
|
41
41
|
id: new BaseMetaColumn(this, "id", "ID", "Integer", true),
|
|
42
42
|
user_id: new BaseMetaColumn(this, "user_id", "User ID", "String", true),
|
|
@@ -48,12 +48,12 @@ export class ChatCategoryMetaTable extends NSBaseMetaTable<NamirasoftInfraServer
|
|
|
48
48
|
this.back_end.get = async (id: string) =>
|
|
49
49
|
{
|
|
50
50
|
let server = this.database.getServer();
|
|
51
|
-
return await server.
|
|
51
|
+
return await server.cloud_category.Get(id);
|
|
52
52
|
};
|
|
53
53
|
this.back_end.list = async (filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[]) =>
|
|
54
54
|
{
|
|
55
55
|
let server = this.database.getServer();
|
|
56
|
-
return await server.
|
|
56
|
+
return await server.cloud_category.List(filters, page, size, sorts);
|
|
57
57
|
};
|
|
58
58
|
this.front_end.getUpdateLink = () => "";
|
|
59
59
|
}
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
/****************************************************************/
|
|
20
20
|
|
|
21
21
|
import { BaseUUID, BaseMetaColumn } from "namirasoft-core";
|
|
22
|
-
import {
|
|
22
|
+
import { CloudFieldRow } from "../row/CloudFieldRow";
|
|
23
23
|
import { FilterItem, SortItem } from "namirasoft-core";
|
|
24
24
|
import { NSBaseMetaDatabase, NSBaseMetaTable } from "namirasoft-site";
|
|
25
25
|
import { NamirasoftInfraServer } from "../NamirasoftInfraServer";
|
|
26
26
|
|
|
27
|
-
export class
|
|
27
|
+
export class CloudFieldMetaTable extends NSBaseMetaTable<NamirasoftInfraServer, CloudFieldRow>
|
|
28
28
|
{
|
|
29
29
|
public override columns: {
|
|
30
30
|
id: BaseMetaColumn;
|
|
@@ -37,7 +37,7 @@ export class ChatFieldMetaTable extends NSBaseMetaTable<NamirasoftInfraServer, C
|
|
|
37
37
|
}
|
|
38
38
|
constructor(database: NSBaseMetaDatabase<NamirasoftInfraServer>)
|
|
39
39
|
{
|
|
40
|
-
super(database, "
|
|
40
|
+
super(database, "cloud_field", "Cloud Field", new BaseUUID(""));
|
|
41
41
|
this.columns = {
|
|
42
42
|
id: new BaseMetaColumn(this, "id", "ID", "Integer", true),
|
|
43
43
|
user_id: new BaseMetaColumn(this, "user_id", "User ID", "String", true),
|
|
@@ -50,12 +50,12 @@ export class ChatFieldMetaTable extends NSBaseMetaTable<NamirasoftInfraServer, C
|
|
|
50
50
|
this.back_end.get = async (id: string) =>
|
|
51
51
|
{
|
|
52
52
|
let server = this.database.getServer();
|
|
53
|
-
return await server.
|
|
53
|
+
return await server.cloud_field.Get(id);
|
|
54
54
|
};
|
|
55
55
|
this.back_end.list = async (filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[]) =>
|
|
56
56
|
{
|
|
57
57
|
let server = this.database.getServer();
|
|
58
|
-
return await server.
|
|
58
|
+
return await server.cloud_field.List(filters, page, size, sorts);
|
|
59
59
|
};
|
|
60
60
|
}
|
|
61
61
|
};
|
|
@@ -19,51 +19,47 @@
|
|
|
19
19
|
/****************************************************************/
|
|
20
20
|
|
|
21
21
|
import { BaseUUID, BaseMetaColumn } from "namirasoft-core";
|
|
22
|
-
import {
|
|
22
|
+
import { CloudRow } from "../row/CloudRow";
|
|
23
23
|
import { FilterItem, SortItem } from "namirasoft-core";
|
|
24
24
|
import { NSBaseMetaDatabase, NSBaseMetaTable } from "namirasoft-site";
|
|
25
25
|
import { NamirasoftInfraServer } from "../NamirasoftInfraServer";
|
|
26
26
|
|
|
27
|
-
export class
|
|
27
|
+
export class CloudMetaTable extends NSBaseMetaTable<NamirasoftInfraServer, CloudRow>
|
|
28
28
|
{
|
|
29
29
|
public override columns: {
|
|
30
30
|
id: BaseMetaColumn;
|
|
31
31
|
user_id: BaseMetaColumn;
|
|
32
32
|
workspace_id: BaseMetaColumn;
|
|
33
|
-
|
|
34
|
-
environment_id: BaseMetaColumn;
|
|
35
|
-
incident_id: BaseMetaColumn;
|
|
33
|
+
ctl_on_server_id: BaseMetaColumn;
|
|
36
34
|
name: BaseMetaColumn;
|
|
37
|
-
|
|
35
|
+
type: BaseMetaColumn;
|
|
36
|
+
description: BaseMetaColumn;
|
|
38
37
|
created_at: BaseMetaColumn;
|
|
39
38
|
updated_at: BaseMetaColumn;
|
|
40
39
|
}
|
|
41
40
|
constructor(database: NSBaseMetaDatabase<NamirasoftInfraServer>)
|
|
42
41
|
{
|
|
43
|
-
super(database, "
|
|
42
|
+
super(database, "cloud", "Cloud", new BaseUUID("ifr-cld"));
|
|
44
43
|
this.columns = {
|
|
45
44
|
id: new BaseMetaColumn(this, "id", "ID", "String", true),
|
|
46
45
|
user_id: new BaseMetaColumn(this, "user_id", "User ID", "String", true),
|
|
47
46
|
workspace_id: new BaseMetaColumn(this, "workspace_id", "Workspace ID", "String", true),
|
|
48
|
-
|
|
49
|
-
environment_id: new BaseMetaColumn(this, "environment_id", "Environment ID", "String", true),
|
|
50
|
-
incident_id: new BaseMetaColumn(this, "incident_id", "Incident ID", "String", false),
|
|
47
|
+
ctl_on_server_id: new BaseMetaColumn(this, "ctl_on_server_id", "Ctl On Server ID", "String", true),
|
|
51
48
|
name: new BaseMetaColumn(this, "name", "Name", "String", true),
|
|
52
|
-
|
|
49
|
+
type: new BaseMetaColumn(this, "type", "Type", "String", true),
|
|
50
|
+
description: new BaseMetaColumn(this, "description", "Description", "String", true),
|
|
53
51
|
created_at: new BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
|
|
54
52
|
updated_at: new BaseMetaColumn(this, "updated_at", "Updated At", "DateTime", true),
|
|
55
53
|
};
|
|
56
54
|
this.back_end.get = async (id: string) =>
|
|
57
55
|
{
|
|
58
56
|
let server = this.database.getServer();
|
|
59
|
-
return await server.
|
|
57
|
+
return await server.cloud.Get(id);
|
|
60
58
|
};
|
|
61
59
|
this.back_end.list = async (filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[]) =>
|
|
62
60
|
{
|
|
63
61
|
let server = this.database.getServer();
|
|
64
|
-
return await server.
|
|
62
|
+
return await server.cloud.List(filters, page, size, sorts);
|
|
65
63
|
};
|
|
66
|
-
this.front_end.getNewLink = () => "";
|
|
67
|
-
this.front_end.getUpdateLink = () => "";
|
|
68
64
|
}
|
|
69
65
|
};
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
/****************************************************************/
|
|
20
20
|
|
|
21
21
|
import { BaseUUID, BaseMetaColumn } from "namirasoft-core";
|
|
22
|
-
import {
|
|
22
|
+
import { CloudTagRow } from "../row/CloudTagRow";
|
|
23
23
|
import { FilterItem, SortItem } from "namirasoft-core";
|
|
24
24
|
import { NSBaseMetaDatabase, NSBaseMetaTable } from "namirasoft-site";
|
|
25
25
|
import { NamirasoftInfraServer } from "../NamirasoftInfraServer";
|
|
26
26
|
|
|
27
|
-
export class
|
|
27
|
+
export class CloudTagMetaTable extends NSBaseMetaTable<NamirasoftInfraServer, CloudTagRow>
|
|
28
28
|
{
|
|
29
29
|
public override columns: {
|
|
30
30
|
id: BaseMetaColumn;
|
|
@@ -37,7 +37,7 @@ export class ChatTagMetaTable extends NSBaseMetaTable<NamirasoftInfraServer, Cha
|
|
|
37
37
|
}
|
|
38
38
|
constructor(database: NSBaseMetaDatabase<NamirasoftInfraServer>)
|
|
39
39
|
{
|
|
40
|
-
super(database, "
|
|
40
|
+
super(database, "cloud_tag", "Cloud Tag", new BaseUUID(""));
|
|
41
41
|
this.columns = {
|
|
42
42
|
id: new BaseMetaColumn(this, "id", "ID", "Integer", true),
|
|
43
43
|
user_id: new BaseMetaColumn(this, "user_id", "User ID", "String", true),
|
|
@@ -50,12 +50,12 @@ export class ChatTagMetaTable extends NSBaseMetaTable<NamirasoftInfraServer, Cha
|
|
|
50
50
|
this.back_end.get = async (id: string) =>
|
|
51
51
|
{
|
|
52
52
|
let server = this.database.getServer();
|
|
53
|
-
return await server.
|
|
53
|
+
return await server.cloud_tag.Get(id);
|
|
54
54
|
};
|
|
55
55
|
this.back_end.list = async (filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[]) =>
|
|
56
56
|
{
|
|
57
57
|
let server = this.database.getServer();
|
|
58
|
-
return await server.
|
|
58
|
+
return await server.cloud_tag.List(filters, page, size, sorts);
|
|
59
59
|
};
|
|
60
60
|
}
|
|
61
61
|
};
|
|
@@ -37,8 +37,8 @@ export class DatabaseMetaTable extends NSBaseMetaTable<NamirasoftInfraServer, Da
|
|
|
37
37
|
name: BaseMetaColumn;
|
|
38
38
|
type: BaseMetaColumn;
|
|
39
39
|
connect_type: BaseMetaColumn;
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
connect_server_id: BaseMetaColumn;
|
|
41
|
+
connect_kubernetes_id: BaseMetaColumn;
|
|
42
42
|
description: BaseMetaColumn;
|
|
43
43
|
created_at: BaseMetaColumn;
|
|
44
44
|
updated_at: BaseMetaColumn;
|
|
@@ -57,8 +57,8 @@ export class DatabaseMetaTable extends NSBaseMetaTable<NamirasoftInfraServer, Da
|
|
|
57
57
|
name: new BaseMetaColumn(this, "name", "Name", "String", true),
|
|
58
58
|
type: new BaseMetaColumn(this, "type", "Type", "Enum", true),
|
|
59
59
|
connect_type: new BaseMetaColumn(this, "connect_type", "Connect Type", "Enum", true),
|
|
60
|
-
|
|
61
|
-
|
|
60
|
+
connect_server_id: new BaseMetaColumn(this, "connect_server_id", "Connect Server ID", "String", false),
|
|
61
|
+
connect_kubernetes_id: new BaseMetaColumn(this, "connect_kubernetes_id", "Connect Kubernetes ID", "String", false),
|
|
62
62
|
description: new BaseMetaColumn(this, "description", "Description", "String", true),
|
|
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),
|
|
@@ -37,8 +37,8 @@ export class InMemoryStoreMetaTable extends NSBaseMetaTable<NamirasoftInfraServe
|
|
|
37
37
|
name: BaseMetaColumn;
|
|
38
38
|
type: BaseMetaColumn;
|
|
39
39
|
connect_type: BaseMetaColumn;
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
connect_server_id: BaseMetaColumn;
|
|
41
|
+
connect_kubernetes_id: BaseMetaColumn;
|
|
42
42
|
description: BaseMetaColumn;
|
|
43
43
|
created_at: BaseMetaColumn;
|
|
44
44
|
updated_at: BaseMetaColumn;
|
|
@@ -57,8 +57,8 @@ export class InMemoryStoreMetaTable extends NSBaseMetaTable<NamirasoftInfraServe
|
|
|
57
57
|
name: new BaseMetaColumn(this, "name", "Name", "String", true),
|
|
58
58
|
type: new BaseMetaColumn(this, "type", "Type", "Enum", true),
|
|
59
59
|
connect_type: new BaseMetaColumn(this, "connect_type", "Connect Type", "Enum", true),
|
|
60
|
-
|
|
61
|
-
|
|
60
|
+
connect_server_id: new BaseMetaColumn(this, "connect_server_id", "Connect Server ID", "String", false),
|
|
61
|
+
connect_kubernetes_id: new BaseMetaColumn(this, "connect_kubernetes_id", "Connect Kubernetes ID", "String", false),
|
|
62
62
|
description: new BaseMetaColumn(this, "description", "Description", "String", true),
|
|
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),
|
|
@@ -30,6 +30,8 @@ export class KubernetesMetaTable extends NSBaseMetaTable<NamirasoftInfraServer,
|
|
|
30
30
|
id: BaseMetaColumn;
|
|
31
31
|
user_id: BaseMetaColumn;
|
|
32
32
|
workspace_id: BaseMetaColumn;
|
|
33
|
+
service_user_id: BaseMetaColumn;
|
|
34
|
+
service_session_id: BaseMetaColumn;
|
|
33
35
|
project_id: BaseMetaColumn;
|
|
34
36
|
environment_id: BaseMetaColumn;
|
|
35
37
|
log_group_id: BaseMetaColumn;
|
|
@@ -48,6 +50,8 @@ export class KubernetesMetaTable extends NSBaseMetaTable<NamirasoftInfraServer,
|
|
|
48
50
|
id: new BaseMetaColumn(this, "id", "ID", "String", true),
|
|
49
51
|
user_id: new BaseMetaColumn(this, "user_id", "User ID", "String", true),
|
|
50
52
|
workspace_id: new BaseMetaColumn(this, "workspace_id", "Workspace ID", "String", true),
|
|
53
|
+
service_user_id: new BaseMetaColumn(this, "service_user_id", "Service User ID", "String", true),
|
|
54
|
+
service_session_id: new BaseMetaColumn(this, "service_session_id", "Service Session ID", "String", true),
|
|
51
55
|
project_id: new BaseMetaColumn(this, "project_id", "Project ID", "String", true),
|
|
52
56
|
environment_id: new BaseMetaColumn(this, "environment_id", "Environment ID", "String", true),
|
|
53
57
|
log_group_id: new BaseMetaColumn(this, "log_group_id", "Log Group ID", "String", false),
|
|
@@ -37,8 +37,8 @@ export class MessageBrokerMetaTable extends NSBaseMetaTable<NamirasoftInfraServe
|
|
|
37
37
|
name: BaseMetaColumn;
|
|
38
38
|
type: BaseMetaColumn;
|
|
39
39
|
connect_type: BaseMetaColumn;
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
connect_server_id: BaseMetaColumn;
|
|
41
|
+
connect_kubernetes_id: BaseMetaColumn;
|
|
42
42
|
description: BaseMetaColumn;
|
|
43
43
|
created_at: BaseMetaColumn;
|
|
44
44
|
updated_at: BaseMetaColumn;
|
|
@@ -57,8 +57,8 @@ export class MessageBrokerMetaTable extends NSBaseMetaTable<NamirasoftInfraServe
|
|
|
57
57
|
name: new BaseMetaColumn(this, "name", "Name", "String", true),
|
|
58
58
|
type: new BaseMetaColumn(this, "type", "Type", "Enum", true),
|
|
59
59
|
connect_type: new BaseMetaColumn(this, "connect_type", "Connect Type", "Enum", true),
|
|
60
|
-
|
|
61
|
-
|
|
60
|
+
connect_server_id: new BaseMetaColumn(this, "connect_server_id", "Connect Server ID", "String", false),
|
|
61
|
+
connect_kubernetes_id: new BaseMetaColumn(this, "connect_kubernetes_id", "Connect Kubernetes ID", "String", false),
|
|
62
62
|
description: new BaseMetaColumn(this, "description", "Description", "String", true),
|
|
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),
|