@kinotic-ai/system-api 5.0.0-beta.19 → 5.0.0-beta.20
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/index.cjs +9 -12
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +9 -12
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -53,7 +53,7 @@ __export(exports_src, {
|
|
|
53
53
|
SystemMemberService: () => SystemMemberService,
|
|
54
54
|
SystemApiPlugin: () => SystemApiPlugin,
|
|
55
55
|
SingleLoggerLevelsDescriptor: () => SingleLoggerLevelsDescriptor,
|
|
56
|
-
SYSTEM_API_ZONE: () =>
|
|
56
|
+
SYSTEM_API_ZONE: () => import_management_api9.SYSTEM_API_ZONE,
|
|
57
57
|
LoggersDescriptor: () => LoggersDescriptor,
|
|
58
58
|
LoggerLevelsDescriptor: () => LoggerLevelsDescriptor,
|
|
59
59
|
LogManager: () => LogManager,
|
|
@@ -64,7 +64,7 @@ __export(exports_src, {
|
|
|
64
64
|
GroupLoggerLevelsDescriptor: () => GroupLoggerLevelsDescriptor
|
|
65
65
|
});
|
|
66
66
|
module.exports = __toCommonJS(exports_src);
|
|
67
|
-
var
|
|
67
|
+
var import_management_api9 = require("@kinotic-ai/management-api");
|
|
68
68
|
|
|
69
69
|
// packages/system-api/src/api/model/workload/VmNode.ts
|
|
70
70
|
var import_management_api = require("@kinotic-ai/management-api");
|
|
@@ -210,9 +210,6 @@ class VmNodeOrchestrationServiceProxy {
|
|
|
210
210
|
return this.serviceProxy.invoke("deregisterNode", [nodeId]);
|
|
211
211
|
}
|
|
212
212
|
}
|
|
213
|
-
// packages/system-api/src/api/services/LogManager.ts
|
|
214
|
-
var import_management_api6 = require("@kinotic-ai/management-api");
|
|
215
|
-
|
|
216
213
|
// packages/system-api/src/api/services/ILogManager.ts
|
|
217
214
|
var LogLevel;
|
|
218
215
|
((LogLevel2) => {
|
|
@@ -252,7 +249,7 @@ class TraceLogProperties {
|
|
|
252
249
|
class LogManager {
|
|
253
250
|
serviceProxy;
|
|
254
251
|
constructor(kinotic) {
|
|
255
|
-
this.serviceProxy = kinotic.serviceProxy(
|
|
252
|
+
this.serviceProxy = kinotic.serviceProxy("org.kinotic.core.api.log.LogManager");
|
|
256
253
|
}
|
|
257
254
|
loggers(nodeId) {
|
|
258
255
|
return this.serviceProxy.invoke("loggers", null, nodeId);
|
|
@@ -285,12 +282,12 @@ class LogManager {
|
|
|
285
282
|
}
|
|
286
283
|
|
|
287
284
|
// packages/system-api/src/api/services/IKinoticClusterInfoService.ts
|
|
288
|
-
var
|
|
285
|
+
var import_management_api6 = require("@kinotic-ai/management-api");
|
|
289
286
|
|
|
290
287
|
class KinoticClusterInfoService {
|
|
291
288
|
serviceProxy;
|
|
292
289
|
constructor(kinotic) {
|
|
293
|
-
this.serviceProxy = kinotic.serviceProxy(`${
|
|
290
|
+
this.serviceProxy = kinotic.serviceProxy(`${import_management_api6.SYSTEM_API_ZONE}~org.kinotic.system.api.services.KinoticClusterInfoService`);
|
|
294
291
|
}
|
|
295
292
|
getClusterInfo() {
|
|
296
293
|
return this.serviceProxy.invoke("getClusterInfo");
|
|
@@ -298,12 +295,12 @@ class KinoticClusterInfoService {
|
|
|
298
295
|
}
|
|
299
296
|
|
|
300
297
|
// packages/system-api/src/api/services/ISystemOrganizationService.ts
|
|
301
|
-
var
|
|
298
|
+
var import_management_api7 = require("@kinotic-ai/management-api");
|
|
302
299
|
|
|
303
300
|
class SystemOrganizationService {
|
|
304
301
|
serviceProxy;
|
|
305
302
|
constructor(kinotic) {
|
|
306
|
-
this.serviceProxy = kinotic.serviceProxy(`${
|
|
303
|
+
this.serviceProxy = kinotic.serviceProxy(`${import_management_api7.SYSTEM_API_ZONE}~org.kinotic.system.api.services.SystemOrganizationService`);
|
|
307
304
|
}
|
|
308
305
|
findOrganizations(pageable) {
|
|
309
306
|
return this.serviceProxy.invoke("findOrganizations", [pageable]);
|
|
@@ -335,12 +332,12 @@ class SystemOrganizationService {
|
|
|
335
332
|
}
|
|
336
333
|
|
|
337
334
|
// packages/system-api/src/api/services/ISystemMemberService.ts
|
|
338
|
-
var
|
|
335
|
+
var import_management_api8 = require("@kinotic-ai/management-api");
|
|
339
336
|
|
|
340
337
|
class SystemMemberService {
|
|
341
338
|
serviceProxy;
|
|
342
339
|
constructor(kinotic) {
|
|
343
|
-
this.serviceProxy = kinotic.serviceProxy(`${
|
|
340
|
+
this.serviceProxy = kinotic.serviceProxy(`${import_management_api8.SYSTEM_API_ZONE}~org.kinotic.system.api.services.SystemMemberService`);
|
|
344
341
|
}
|
|
345
342
|
findUsers(pageable) {
|
|
346
343
|
return this.serviceProxy.invoke("findUsers", [pageable]);
|
package/dist/index.d.cts
CHANGED
|
@@ -383,8 +383,8 @@ interface ILogManager {
|
|
|
383
383
|
}
|
|
384
384
|
import { IKinotic as IKinotic5 } from "@kinotic-ai/core";
|
|
385
385
|
/**
|
|
386
|
-
* A single
|
|
387
|
-
* {@code org.kinotic.
|
|
386
|
+
* A single server node in the cluster, of the org, system or app server. Mirrors the server's
|
|
387
|
+
* {@code org.kinotic.system.api.model.cluster.KinoticNodeInfo}.
|
|
388
388
|
*/
|
|
389
389
|
declare class KinoticNodeInfo {
|
|
390
390
|
nodeId: string;
|
|
@@ -395,8 +395,8 @@ declare class KinoticNodeInfo {
|
|
|
395
395
|
version: string;
|
|
396
396
|
}
|
|
397
397
|
/**
|
|
398
|
-
* The
|
|
399
|
-
* {@code org.kinotic.
|
|
398
|
+
* The current topology and state of the cluster the org, system and app servers form. Mirrors the
|
|
399
|
+
* server's {@code org.kinotic.system.api.model.cluster.KinoticClusterInfo}.
|
|
400
400
|
*/
|
|
401
401
|
declare class KinoticClusterInfo {
|
|
402
402
|
localNodeId: string;
|
|
@@ -407,7 +407,7 @@ declare class KinoticClusterInfo {
|
|
|
407
407
|
active: boolean;
|
|
408
408
|
}
|
|
409
409
|
/**
|
|
410
|
-
* Queries the
|
|
410
|
+
* Queries the topology and state of the cluster the org, system and app servers form.
|
|
411
411
|
*/
|
|
412
412
|
interface IKinoticClusterInfoService {
|
|
413
413
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -383,8 +383,8 @@ interface ILogManager {
|
|
|
383
383
|
}
|
|
384
384
|
import { IKinotic as IKinotic5 } from "@kinotic-ai/core";
|
|
385
385
|
/**
|
|
386
|
-
* A single
|
|
387
|
-
* {@code org.kinotic.
|
|
386
|
+
* A single server node in the cluster, of the org, system or app server. Mirrors the server's
|
|
387
|
+
* {@code org.kinotic.system.api.model.cluster.KinoticNodeInfo}.
|
|
388
388
|
*/
|
|
389
389
|
declare class KinoticNodeInfo {
|
|
390
390
|
nodeId: string;
|
|
@@ -395,8 +395,8 @@ declare class KinoticNodeInfo {
|
|
|
395
395
|
version: string;
|
|
396
396
|
}
|
|
397
397
|
/**
|
|
398
|
-
* The
|
|
399
|
-
* {@code org.kinotic.
|
|
398
|
+
* The current topology and state of the cluster the org, system and app servers form. Mirrors the
|
|
399
|
+
* server's {@code org.kinotic.system.api.model.cluster.KinoticClusterInfo}.
|
|
400
400
|
*/
|
|
401
401
|
declare class KinoticClusterInfo {
|
|
402
402
|
localNodeId: string;
|
|
@@ -407,7 +407,7 @@ declare class KinoticClusterInfo {
|
|
|
407
407
|
active: boolean;
|
|
408
408
|
}
|
|
409
409
|
/**
|
|
410
|
-
* Queries the
|
|
410
|
+
* Queries the topology and state of the cluster the org, system and app servers form.
|
|
411
411
|
*/
|
|
412
412
|
interface IKinoticClusterInfoService {
|
|
413
413
|
/**
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// packages/system-api/src/index.ts
|
|
2
|
-
import { SYSTEM_API_ZONE as
|
|
2
|
+
import { SYSTEM_API_ZONE as SYSTEM_API_ZONE8 } from "@kinotic-ai/management-api";
|
|
3
3
|
|
|
4
4
|
// packages/system-api/src/api/model/workload/VmNode.ts
|
|
5
5
|
import { ReconcileState } from "@kinotic-ai/management-api";
|
|
@@ -145,9 +145,6 @@ class VmNodeOrchestrationServiceProxy {
|
|
|
145
145
|
return this.serviceProxy.invoke("deregisterNode", [nodeId]);
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
|
-
// packages/system-api/src/api/services/LogManager.ts
|
|
149
|
-
import { SYSTEM_API_ZONE as SYSTEM_API_ZONE5 } from "@kinotic-ai/management-api";
|
|
150
|
-
|
|
151
148
|
// packages/system-api/src/api/services/ILogManager.ts
|
|
152
149
|
var LogLevel;
|
|
153
150
|
((LogLevel2) => {
|
|
@@ -187,7 +184,7 @@ class TraceLogProperties {
|
|
|
187
184
|
class LogManager {
|
|
188
185
|
serviceProxy;
|
|
189
186
|
constructor(kinotic) {
|
|
190
|
-
this.serviceProxy = kinotic.serviceProxy(
|
|
187
|
+
this.serviceProxy = kinotic.serviceProxy("org.kinotic.core.api.log.LogManager");
|
|
191
188
|
}
|
|
192
189
|
loggers(nodeId) {
|
|
193
190
|
return this.serviceProxy.invoke("loggers", null, nodeId);
|
|
@@ -220,12 +217,12 @@ class LogManager {
|
|
|
220
217
|
}
|
|
221
218
|
|
|
222
219
|
// packages/system-api/src/api/services/IKinoticClusterInfoService.ts
|
|
223
|
-
import { SYSTEM_API_ZONE as
|
|
220
|
+
import { SYSTEM_API_ZONE as SYSTEM_API_ZONE5 } from "@kinotic-ai/management-api";
|
|
224
221
|
|
|
225
222
|
class KinoticClusterInfoService {
|
|
226
223
|
serviceProxy;
|
|
227
224
|
constructor(kinotic) {
|
|
228
|
-
this.serviceProxy = kinotic.serviceProxy(`${
|
|
225
|
+
this.serviceProxy = kinotic.serviceProxy(`${SYSTEM_API_ZONE5}~org.kinotic.system.api.services.KinoticClusterInfoService`);
|
|
229
226
|
}
|
|
230
227
|
getClusterInfo() {
|
|
231
228
|
return this.serviceProxy.invoke("getClusterInfo");
|
|
@@ -234,13 +231,13 @@ class KinoticClusterInfoService {
|
|
|
234
231
|
|
|
235
232
|
// packages/system-api/src/api/services/ISystemOrganizationService.ts
|
|
236
233
|
import {
|
|
237
|
-
SYSTEM_API_ZONE as
|
|
234
|
+
SYSTEM_API_ZONE as SYSTEM_API_ZONE6
|
|
238
235
|
} from "@kinotic-ai/management-api";
|
|
239
236
|
|
|
240
237
|
class SystemOrganizationService {
|
|
241
238
|
serviceProxy;
|
|
242
239
|
constructor(kinotic) {
|
|
243
|
-
this.serviceProxy = kinotic.serviceProxy(`${
|
|
240
|
+
this.serviceProxy = kinotic.serviceProxy(`${SYSTEM_API_ZONE6}~org.kinotic.system.api.services.SystemOrganizationService`);
|
|
244
241
|
}
|
|
245
242
|
findOrganizations(pageable) {
|
|
246
243
|
return this.serviceProxy.invoke("findOrganizations", [pageable]);
|
|
@@ -273,13 +270,13 @@ class SystemOrganizationService {
|
|
|
273
270
|
|
|
274
271
|
// packages/system-api/src/api/services/ISystemMemberService.ts
|
|
275
272
|
import {
|
|
276
|
-
SYSTEM_API_ZONE as
|
|
273
|
+
SYSTEM_API_ZONE as SYSTEM_API_ZONE7
|
|
277
274
|
} from "@kinotic-ai/management-api";
|
|
278
275
|
|
|
279
276
|
class SystemMemberService {
|
|
280
277
|
serviceProxy;
|
|
281
278
|
constructor(kinotic) {
|
|
282
|
-
this.serviceProxy = kinotic.serviceProxy(`${
|
|
279
|
+
this.serviceProxy = kinotic.serviceProxy(`${SYSTEM_API_ZONE7}~org.kinotic.system.api.services.SystemMemberService`);
|
|
283
280
|
}
|
|
284
281
|
findUsers(pageable) {
|
|
285
282
|
return this.serviceProxy.invoke("findUsers", [pageable]);
|
|
@@ -350,7 +347,7 @@ export {
|
|
|
350
347
|
SystemMemberService,
|
|
351
348
|
SystemApiPlugin,
|
|
352
349
|
SingleLoggerLevelsDescriptor,
|
|
353
|
-
|
|
350
|
+
SYSTEM_API_ZONE8 as SYSTEM_API_ZONE,
|
|
354
351
|
LoggersDescriptor,
|
|
355
352
|
LoggerLevelsDescriptor,
|
|
356
353
|
LogManager,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kinotic-ai/system-api",
|
|
3
|
-
"version": "5.0.0-beta.
|
|
3
|
+
"version": "5.0.0-beta.20",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Client API for the Kinotic platform's system plane: the workload and node orchestration services platform machines and operators use.",
|
|
6
6
|
"files": [
|
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"@kinotic-ai/core": "^5.0.0-beta.17",
|
|
42
|
-
"@kinotic-ai/management-api": "^5.0.0-beta.
|
|
42
|
+
"@kinotic-ai/management-api": "^5.0.0-beta.42"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@kinotic-ai/core": "5.0.0-beta.17",
|
|
46
|
-
"@kinotic-ai/management-api": "5.0.0-beta.
|
|
46
|
+
"@kinotic-ai/management-api": "5.0.0-beta.42",
|
|
47
47
|
"@types/bun": "^1.3.9",
|
|
48
48
|
"typescript": "^5.9.3"
|
|
49
49
|
}
|