@axinom/mosaic-messages 0.60.0-rc.0 → 0.60.0-rc.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/generated/config/payloads/sdu/sdu-service-messaging-settings.d.ts +18 -0
- package/dist/generated/config/payloads/sdu/sdu-service-messaging-settings.d.ts.map +1 -1
- package/dist/generated/config/payloads/sdu/sdu-service-messaging-settings.js +18 -0
- package/dist/generated/config/payloads/sdu/sdu-service-messaging-settings.js.map +1 -1
- package/dist/generated/schemas/payloads/sdu/commands/index.d.ts +54 -0
- package/dist/generated/schemas/payloads/sdu/commands/index.d.ts.map +1 -1
- package/dist/generated/schemas/payloads/sdu/commands/index.js +3 -1
- package/dist/generated/schemas/payloads/sdu/commands/index.js.map +1 -1
- package/dist/generated/schemas/payloads/sdu/commands/sdu-service-scale-service-deployment-command.json +62 -0
- package/dist/generated/schemas/payloads/sdu/events/index.d.ts +127 -0
- package/dist/generated/schemas/payloads/sdu/events/index.d.ts.map +1 -1
- package/dist/generated/schemas/payloads/sdu/events/index.js +5 -1
- package/dist/generated/schemas/payloads/sdu/events/index.js.map +1 -1
- package/dist/generated/schemas/payloads/sdu/events/sdu-service-scale-service-deployment-failed-event.json +89 -0
- package/dist/generated/schemas/payloads/sdu/events/sdu-service-scale-service-deployment-finished-event.json +56 -0
- package/dist/generated/types/payloads/sdu/commands/index.d.ts +3 -0
- package/dist/generated/types/payloads/sdu/commands/index.d.ts.map +1 -1
- package/dist/generated/types/payloads/sdu/commands/index.js +3 -0
- package/dist/generated/types/payloads/sdu/commands/index.js.map +1 -1
- package/dist/generated/types/payloads/sdu/commands/sdu-service-scale-service-deployment-command.d.ts +34 -0
- package/dist/generated/types/payloads/sdu/commands/sdu-service-scale-service-deployment-command.d.ts.map +1 -0
- package/dist/generated/types/payloads/sdu/commands/sdu-service-scale-service-deployment-command.js +3 -0
- package/dist/generated/types/payloads/sdu/commands/sdu-service-scale-service-deployment-command.js.map +1 -0
- package/dist/generated/types/payloads/sdu/events/index.d.ts +6 -0
- package/dist/generated/types/payloads/sdu/events/index.d.ts.map +1 -1
- package/dist/generated/types/payloads/sdu/events/index.js +6 -0
- package/dist/generated/types/payloads/sdu/events/index.js.map +1 -1
- package/dist/generated/types/payloads/sdu/events/sdu-service-scale-service-deployment-failed-event.d.ts +39 -0
- package/dist/generated/types/payloads/sdu/events/sdu-service-scale-service-deployment-failed-event.d.ts.map +1 -0
- package/dist/generated/types/payloads/sdu/events/sdu-service-scale-service-deployment-failed-event.js +3 -0
- package/dist/generated/types/payloads/sdu/events/sdu-service-scale-service-deployment-failed-event.js.map +1 -0
- package/dist/generated/types/payloads/sdu/events/sdu-service-scale-service-deployment-finished-event.d.ts +30 -0
- package/dist/generated/types/payloads/sdu/events/sdu-service-scale-service-deployment-finished-event.d.ts.map +1 -0
- package/dist/generated/types/payloads/sdu/events/sdu-service-scale-service-deployment-finished-event.js +3 -0
- package/dist/generated/types/payloads/sdu/events/sdu-service-scale-service-deployment-finished-event.js.map +1 -0
- package/package.json +3 -3
- package/src/generated/config/payloads/sdu/sdu-service-messaging-settings.ts +36 -0
- package/src/generated/schemas/payloads/sdu/commands/index.ts +2 -0
- package/src/generated/schemas/payloads/sdu/commands/sdu-service-scale-service-deployment-command.json +62 -0
- package/src/generated/schemas/payloads/sdu/events/index.ts +4 -0
- package/src/generated/schemas/payloads/sdu/events/sdu-service-scale-service-deployment-failed-event.json +89 -0
- package/src/generated/schemas/payloads/sdu/events/sdu-service-scale-service-deployment-finished-event.json +56 -0
- package/src/generated/types/payloads/sdu/commands/index.ts +3 -0
- package/src/generated/types/payloads/sdu/commands/sdu-service-scale-service-deployment-command.ts +33 -0
- package/src/generated/types/payloads/sdu/events/index.ts +6 -0
- package/src/generated/types/payloads/sdu/events/sdu-service-scale-service-deployment-failed-event.ts +38 -0
- package/src/generated/types/payloads/sdu/events/sdu-service-scale-service-deployment-finished-event.ts +29 -0
|
@@ -23,6 +23,7 @@ __exportStar(require("./sdu-secure-storage-create-command"), exports);
|
|
|
23
23
|
__exportStar(require("./sdu-secure-storage-delete-command"), exports);
|
|
24
24
|
__exportStar(require("./sdu-service-deployment-deploy-command"), exports);
|
|
25
25
|
__exportStar(require("./sdu-service-deployment-undeploy-command"), exports);
|
|
26
|
+
__exportStar(require("./sdu-service-scale-service-deployment-command"), exports);
|
|
26
27
|
__exportStar(require("./sdu-storage-create-command"), exports);
|
|
27
28
|
__exportStar(require("./sdu-storage-delete-command"), exports);
|
|
28
29
|
var SduCommandsSchemas;
|
|
@@ -35,6 +36,7 @@ var SduCommandsSchemas;
|
|
|
35
36
|
SduCommandsSchemas["SduSecureStorageDeleteCommand"] = "payloads/sdu/commands/sdu-secure-storage-delete-command.json";
|
|
36
37
|
SduCommandsSchemas["SduServiceDeploymentDeployCommand"] = "payloads/sdu/commands/sdu-service-deployment-deploy-command.json";
|
|
37
38
|
SduCommandsSchemas["SduServiceDeploymentUndeployCommand"] = "payloads/sdu/commands/sdu-service-deployment-undeploy-command.json";
|
|
39
|
+
SduCommandsSchemas["SduServiceScaleServiceDeploymentCommand"] = "payloads/sdu/commands/sdu-service-scale-service-deployment-command.json";
|
|
38
40
|
SduCommandsSchemas["SduStorageCreateCommand"] = "payloads/sdu/commands/sdu-storage-create-command.json";
|
|
39
41
|
SduCommandsSchemas["SduStorageDeleteCommand"] = "payloads/sdu/commands/sdu-storage-delete-command.json";
|
|
40
42
|
})(SduCommandsSchemas = exports.SduCommandsSchemas || (exports.SduCommandsSchemas = {}));
|
|
@@ -48,6 +50,7 @@ var SduCommandsTypes;
|
|
|
48
50
|
SduCommandsTypes["SduSecureStorageDeleteCommand"] = "SduSecureStorageDeleteCommand";
|
|
49
51
|
SduCommandsTypes["SduServiceDeploymentDeployCommand"] = "SduServiceDeploymentDeployCommand";
|
|
50
52
|
SduCommandsTypes["SduServiceDeploymentUndeployCommand"] = "SduServiceDeploymentUndeployCommand";
|
|
53
|
+
SduCommandsTypes["SduServiceScaleServiceDeploymentCommand"] = "SduServiceScaleServiceDeploymentCommand";
|
|
51
54
|
SduCommandsTypes["SduStorageCreateCommand"] = "SduStorageCreateCommand";
|
|
52
55
|
SduCommandsTypes["SduStorageDeleteCommand"] = "SduStorageDeleteCommand";
|
|
53
56
|
})(SduCommandsTypes = exports.SduCommandsTypes || (exports.SduCommandsTypes = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/sdu/commands/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,gEAA8C;AAC9C,2DAAyC;AACzC,gEAA8C;AAC9C,2DAAyC;AACzC,sEAAoD;AACpD,sEAAoD;AACpD,0EAAwD;AACxD,4EAA0D;AAC1D,+DAA6C;AAC7C,+DAA6C;AAE7C,IAAY,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/sdu/commands/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,gEAA8C;AAC9C,2DAAyC;AACzC,gEAA8C;AAC9C,2DAAyC;AACzC,sEAAoD;AACpD,sEAAoD;AACpD,0EAAwD;AACxD,4EAA0D;AAC1D,iFAA+D;AAC/D,+DAA6C;AAC7C,+DAA6C;AAE7C,IAAY,kBAYX;AAZD,WAAY,kBAAkB;IAC5B,yGAAmF,CAAA;IACnF,+FAAyE,CAAA;IACzE,yGAAmF,CAAA;IACnF,+FAAyE,CAAA;IACzE,oHAA8F,CAAA;IAC9F,oHAA8F,CAAA;IAC9F,4HAAsG,CAAA;IACtG,gIAA0G,CAAA;IAC1G,yIAAmH,CAAA;IACnH,uGAAiF,CAAA;IACjF,uGAAiF,CAAA;AACnF,CAAC,EAZW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAY7B;AAED,IAAY,gBAYX;AAZD,WAAY,gBAAgB;IAC1B,yEAAqD,CAAA;IACrD,+DAA2C,CAAA;IAC3C,yEAAqD,CAAA;IACrD,+DAA2C,CAAA;IAC3C,mFAA+D,CAAA;IAC/D,mFAA+D,CAAA;IAC/D,2FAAuE,CAAA;IACvE,+FAA2E,CAAA;IAC3E,uGAAmF,CAAA;IACnF,uEAAmD,CAAA;IACnD,uEAAmD,CAAA;AACrD,CAAC,EAZW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAY3B"}
|
package/dist/generated/types/payloads/sdu/commands/sdu-service-scale-service-deployment-command.d.ts
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SDU service scale service deployment
|
|
3
|
+
*/
|
|
4
|
+
export interface SduServiceScaleServiceDeploymentCommand {
|
|
5
|
+
/**
|
|
6
|
+
* A UUID.
|
|
7
|
+
*/
|
|
8
|
+
request_id: string;
|
|
9
|
+
/**
|
|
10
|
+
* A UUID.
|
|
11
|
+
*/
|
|
12
|
+
tenant_id: string;
|
|
13
|
+
/**
|
|
14
|
+
* A UUID.
|
|
15
|
+
*/
|
|
16
|
+
environment_id: string;
|
|
17
|
+
/**
|
|
18
|
+
* A UUID.
|
|
19
|
+
*/
|
|
20
|
+
service_definition_id: string;
|
|
21
|
+
/**
|
|
22
|
+
* A UUID.
|
|
23
|
+
*/
|
|
24
|
+
service_deployment_id: string;
|
|
25
|
+
/**
|
|
26
|
+
* A human readable ID for the service (i.e. media-service)
|
|
27
|
+
*/
|
|
28
|
+
service_id: string;
|
|
29
|
+
/**
|
|
30
|
+
* A non-negative integer that defines the number of replicas for the deployment.
|
|
31
|
+
*/
|
|
32
|
+
replica_count: number;
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=sdu-service-scale-service-deployment-command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sdu-service-scale-service-deployment-command.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/sdu/commands/sdu-service-scale-service-deployment-command.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,uCAAuC;IACtD;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;OAEG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;CACvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sdu-service-scale-service-deployment-command.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/sdu/commands/sdu-service-scale-service-deployment-command.ts"],"names":[],"mappings":""}
|
|
@@ -14,6 +14,8 @@ export * from './sdu-service-deployment-deploy-failed-event';
|
|
|
14
14
|
export * from './sdu-service-deployment-deploy-finished-event';
|
|
15
15
|
export * from './sdu-service-deployment-undeploy-failed-event';
|
|
16
16
|
export * from './sdu-service-deployment-undeploy-finished-event';
|
|
17
|
+
export * from './sdu-service-scale-service-deployment-failed-event';
|
|
18
|
+
export * from './sdu-service-scale-service-deployment-finished-event';
|
|
17
19
|
export * from './sdu-storage-create-failed-event';
|
|
18
20
|
export * from './sdu-storage-create-finished-event';
|
|
19
21
|
export * from './sdu-storage-delete-failed-event';
|
|
@@ -35,6 +37,8 @@ export declare enum SduEventsSchemas {
|
|
|
35
37
|
SduServiceDeploymentDeployFinishedEvent = "payloads/sdu/events/sdu-service-deployment-deploy-finished-event.json",
|
|
36
38
|
SduServiceDeploymentUndeployFailedEvent = "payloads/sdu/events/sdu-service-deployment-undeploy-failed-event.json",
|
|
37
39
|
SduServiceDeploymentUndeployFinishedEvent = "payloads/sdu/events/sdu-service-deployment-undeploy-finished-event.json",
|
|
40
|
+
SduServiceScaleServiceDeploymentFailedEvent = "payloads/sdu/events/sdu-service-scale-service-deployment-failed-event.json",
|
|
41
|
+
SduServiceScaleServiceDeploymentFinishedEvent = "payloads/sdu/events/sdu-service-scale-service-deployment-finished-event.json",
|
|
38
42
|
SduStorageCreateFailedEvent = "payloads/sdu/events/sdu-storage-create-failed-event.json",
|
|
39
43
|
SduStorageCreateFinishedEvent = "payloads/sdu/events/sdu-storage-create-finished-event.json",
|
|
40
44
|
SduStorageDeleteFailedEvent = "payloads/sdu/events/sdu-storage-delete-failed-event.json",
|
|
@@ -57,6 +61,8 @@ export declare enum SduEventsTypes {
|
|
|
57
61
|
SduServiceDeploymentDeployFinishedEvent = "SduServiceDeploymentDeployFinishedEvent",
|
|
58
62
|
SduServiceDeploymentUndeployFailedEvent = "SduServiceDeploymentUndeployFailedEvent",
|
|
59
63
|
SduServiceDeploymentUndeployFinishedEvent = "SduServiceDeploymentUndeployFinishedEvent",
|
|
64
|
+
SduServiceScaleServiceDeploymentFailedEvent = "SduServiceScaleServiceDeploymentFailedEvent",
|
|
65
|
+
SduServiceScaleServiceDeploymentFinishedEvent = "SduServiceScaleServiceDeploymentFinishedEvent",
|
|
60
66
|
SduStorageCreateFailedEvent = "SduStorageCreateFailedEvent",
|
|
61
67
|
SduStorageCreateFinishedEvent = "SduStorageCreateFinishedEvent",
|
|
62
68
|
SduStorageDeleteFailedEvent = "SduStorageDeleteFailedEvent",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/sdu/events/index.ts"],"names":[],"mappings":"AAAA,cAAc,oCAAoC,CAAC;AACnD,cAAc,sCAAsC,CAAC;AACrD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iCAAiC,CAAC;AAChD,cAAc,oCAAoC,CAAC;AACnD,cAAc,sCAAsC,CAAC;AACrD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iCAAiC,CAAC;AAChD,cAAc,0CAA0C,CAAC;AACzD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,0CAA0C,CAAC;AACzD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,gDAAgD,CAAC;AAC/D,cAAc,gDAAgD,CAAC;AAC/D,cAAc,kDAAkD,CAAC;AACjE,cAAc,mCAAmC,CAAC;AAClD,cAAc,qCAAqC,CAAC;AACpD,cAAc,mCAAmC,CAAC;AAClD,cAAc,qCAAqC,CAAC;AAEpD,oBAAY,gBAAgB;IAC1B,4BAA4B,8DAA8D;IAC1F,8BAA8B,gEAAgE;IAC9F,uBAAuB,yDAAyD;IAChF,yBAAyB,2DAA2D;IACpF,4BAA4B,8DAA8D;IAC1F,8BAA8B,gEAAgE;IAC9F,uBAAuB,yDAAyD;IAChF,yBAAyB,2DAA2D;IACpF,iCAAiC,oEAAoE;IACrG,mCAAmC,sEAAsE;IACzG,iCAAiC,oEAAoE;IACrG,mCAAmC,sEAAsE;IACzG,qCAAqC,wEAAwE;IAC7G,uCAAuC,0EAA0E;IACjH,uCAAuC,0EAA0E;IACjH,yCAAyC,4EAA4E;IACrH,2BAA2B,6DAA6D;IACxF,6BAA6B,+DAA+D;IAC5F,2BAA2B,6DAA6D;IACxF,6BAA6B,+DAA+D;CAC7F;AAED,oBAAY,cAAc;IACxB,4BAA4B,iCAAiC;IAC7D,8BAA8B,mCAAmC;IACjE,uBAAuB,4BAA4B;IACnD,yBAAyB,8BAA8B;IACvD,4BAA4B,iCAAiC;IAC7D,8BAA8B,mCAAmC;IACjE,uBAAuB,4BAA4B;IACnD,yBAAyB,8BAA8B;IACvD,iCAAiC,sCAAsC;IACvE,mCAAmC,wCAAwC;IAC3E,iCAAiC,sCAAsC;IACvE,mCAAmC,wCAAwC;IAC3E,qCAAqC,0CAA0C;IAC/E,uCAAuC,4CAA4C;IACnF,uCAAuC,4CAA4C;IACnF,yCAAyC,8CAA8C;IACvF,2BAA2B,gCAAgC;IAC3D,6BAA6B,kCAAkC;IAC/D,2BAA2B,gCAAgC;IAC3D,6BAA6B,kCAAkC;CAChE"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/sdu/events/index.ts"],"names":[],"mappings":"AAAA,cAAc,oCAAoC,CAAC;AACnD,cAAc,sCAAsC,CAAC;AACrD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iCAAiC,CAAC;AAChD,cAAc,oCAAoC,CAAC;AACnD,cAAc,sCAAsC,CAAC;AACrD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iCAAiC,CAAC;AAChD,cAAc,0CAA0C,CAAC;AACzD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,0CAA0C,CAAC;AACzD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,gDAAgD,CAAC;AAC/D,cAAc,gDAAgD,CAAC;AAC/D,cAAc,kDAAkD,CAAC;AACjE,cAAc,qDAAqD,CAAC;AACpE,cAAc,uDAAuD,CAAC;AACtE,cAAc,mCAAmC,CAAC;AAClD,cAAc,qCAAqC,CAAC;AACpD,cAAc,mCAAmC,CAAC;AAClD,cAAc,qCAAqC,CAAC;AAEpD,oBAAY,gBAAgB;IAC1B,4BAA4B,8DAA8D;IAC1F,8BAA8B,gEAAgE;IAC9F,uBAAuB,yDAAyD;IAChF,yBAAyB,2DAA2D;IACpF,4BAA4B,8DAA8D;IAC1F,8BAA8B,gEAAgE;IAC9F,uBAAuB,yDAAyD;IAChF,yBAAyB,2DAA2D;IACpF,iCAAiC,oEAAoE;IACrG,mCAAmC,sEAAsE;IACzG,iCAAiC,oEAAoE;IACrG,mCAAmC,sEAAsE;IACzG,qCAAqC,wEAAwE;IAC7G,uCAAuC,0EAA0E;IACjH,uCAAuC,0EAA0E;IACjH,yCAAyC,4EAA4E;IACrH,2CAA2C,+EAA+E;IAC1H,6CAA6C,iFAAiF;IAC9H,2BAA2B,6DAA6D;IACxF,6BAA6B,+DAA+D;IAC5F,2BAA2B,6DAA6D;IACxF,6BAA6B,+DAA+D;CAC7F;AAED,oBAAY,cAAc;IACxB,4BAA4B,iCAAiC;IAC7D,8BAA8B,mCAAmC;IACjE,uBAAuB,4BAA4B;IACnD,yBAAyB,8BAA8B;IACvD,4BAA4B,iCAAiC;IAC7D,8BAA8B,mCAAmC;IACjE,uBAAuB,4BAA4B;IACnD,yBAAyB,8BAA8B;IACvD,iCAAiC,sCAAsC;IACvE,mCAAmC,wCAAwC;IAC3E,iCAAiC,sCAAsC;IACvE,mCAAmC,wCAAwC;IAC3E,qCAAqC,0CAA0C;IAC/E,uCAAuC,4CAA4C;IACnF,uCAAuC,4CAA4C;IACnF,yCAAyC,8CAA8C;IACvF,2CAA2C,gDAAgD;IAC3F,6CAA6C,kDAAkD;IAC/F,2BAA2B,gCAAgC;IAC3D,6BAA6B,kCAAkC;IAC/D,2BAA2B,gCAAgC;IAC3D,6BAA6B,kCAAkC;CAChE"}
|
|
@@ -31,6 +31,8 @@ __exportStar(require("./sdu-service-deployment-deploy-failed-event"), exports);
|
|
|
31
31
|
__exportStar(require("./sdu-service-deployment-deploy-finished-event"), exports);
|
|
32
32
|
__exportStar(require("./sdu-service-deployment-undeploy-failed-event"), exports);
|
|
33
33
|
__exportStar(require("./sdu-service-deployment-undeploy-finished-event"), exports);
|
|
34
|
+
__exportStar(require("./sdu-service-scale-service-deployment-failed-event"), exports);
|
|
35
|
+
__exportStar(require("./sdu-service-scale-service-deployment-finished-event"), exports);
|
|
34
36
|
__exportStar(require("./sdu-storage-create-failed-event"), exports);
|
|
35
37
|
__exportStar(require("./sdu-storage-create-finished-event"), exports);
|
|
36
38
|
__exportStar(require("./sdu-storage-delete-failed-event"), exports);
|
|
@@ -53,6 +55,8 @@ var SduEventsSchemas;
|
|
|
53
55
|
SduEventsSchemas["SduServiceDeploymentDeployFinishedEvent"] = "payloads/sdu/events/sdu-service-deployment-deploy-finished-event.json";
|
|
54
56
|
SduEventsSchemas["SduServiceDeploymentUndeployFailedEvent"] = "payloads/sdu/events/sdu-service-deployment-undeploy-failed-event.json";
|
|
55
57
|
SduEventsSchemas["SduServiceDeploymentUndeployFinishedEvent"] = "payloads/sdu/events/sdu-service-deployment-undeploy-finished-event.json";
|
|
58
|
+
SduEventsSchemas["SduServiceScaleServiceDeploymentFailedEvent"] = "payloads/sdu/events/sdu-service-scale-service-deployment-failed-event.json";
|
|
59
|
+
SduEventsSchemas["SduServiceScaleServiceDeploymentFinishedEvent"] = "payloads/sdu/events/sdu-service-scale-service-deployment-finished-event.json";
|
|
56
60
|
SduEventsSchemas["SduStorageCreateFailedEvent"] = "payloads/sdu/events/sdu-storage-create-failed-event.json";
|
|
57
61
|
SduEventsSchemas["SduStorageCreateFinishedEvent"] = "payloads/sdu/events/sdu-storage-create-finished-event.json";
|
|
58
62
|
SduEventsSchemas["SduStorageDeleteFailedEvent"] = "payloads/sdu/events/sdu-storage-delete-failed-event.json";
|
|
@@ -76,6 +80,8 @@ var SduEventsTypes;
|
|
|
76
80
|
SduEventsTypes["SduServiceDeploymentDeployFinishedEvent"] = "SduServiceDeploymentDeployFinishedEvent";
|
|
77
81
|
SduEventsTypes["SduServiceDeploymentUndeployFailedEvent"] = "SduServiceDeploymentUndeployFailedEvent";
|
|
78
82
|
SduEventsTypes["SduServiceDeploymentUndeployFinishedEvent"] = "SduServiceDeploymentUndeployFinishedEvent";
|
|
83
|
+
SduEventsTypes["SduServiceScaleServiceDeploymentFailedEvent"] = "SduServiceScaleServiceDeploymentFailedEvent";
|
|
84
|
+
SduEventsTypes["SduServiceScaleServiceDeploymentFinishedEvent"] = "SduServiceScaleServiceDeploymentFinishedEvent";
|
|
79
85
|
SduEventsTypes["SduStorageCreateFailedEvent"] = "SduStorageCreateFailedEvent";
|
|
80
86
|
SduEventsTypes["SduStorageCreateFinishedEvent"] = "SduStorageCreateFinishedEvent";
|
|
81
87
|
SduEventsTypes["SduStorageDeleteFailedEvent"] = "SduStorageDeleteFailedEvent";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/sdu/events/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,qEAAmD;AACnD,uEAAqD;AACrD,gEAA8C;AAC9C,kEAAgD;AAChD,qEAAmD;AACnD,uEAAqD;AACrD,gEAA8C;AAC9C,kEAAgD;AAChD,2EAAyD;AACzD,6EAA2D;AAC3D,2EAAyD;AACzD,6EAA2D;AAC3D,+EAA6D;AAC7D,iFAA+D;AAC/D,iFAA+D;AAC/D,mFAAiE;AACjE,oEAAkD;AAClD,sEAAoD;AACpD,oEAAkD;AAClD,sEAAoD;AAEpD,IAAY,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/sdu/events/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,qEAAmD;AACnD,uEAAqD;AACrD,gEAA8C;AAC9C,kEAAgD;AAChD,qEAAmD;AACnD,uEAAqD;AACrD,gEAA8C;AAC9C,kEAAgD;AAChD,2EAAyD;AACzD,6EAA2D;AAC3D,2EAAyD;AACzD,6EAA2D;AAC3D,+EAA6D;AAC7D,iFAA+D;AAC/D,iFAA+D;AAC/D,mFAAiE;AACjE,sFAAoE;AACpE,wFAAsE;AACtE,oEAAkD;AAClD,sEAAoD;AACpD,oEAAkD;AAClD,sEAAoD;AAEpD,IAAY,gBAuBX;AAvBD,WAAY,gBAAgB;IAC1B,8GAA0F,CAAA;IAC1F,kHAA8F,CAAA;IAC9F,oGAAgF,CAAA;IAChF,wGAAoF,CAAA;IACpF,8GAA0F,CAAA;IAC1F,kHAA8F,CAAA;IAC9F,oGAAgF,CAAA;IAChF,wGAAoF,CAAA;IACpF,yHAAqG,CAAA;IACrG,6HAAyG,CAAA;IACzG,yHAAqG,CAAA;IACrG,6HAAyG,CAAA;IACzG,iIAA6G,CAAA;IAC7G,qIAAiH,CAAA;IACjH,qIAAiH,CAAA;IACjH,yIAAqH,CAAA;IACrH,8IAA0H,CAAA;IAC1H,kJAA8H,CAAA;IAC9H,4GAAwF,CAAA;IACxF,gHAA4F,CAAA;IAC5F,4GAAwF,CAAA;IACxF,gHAA4F,CAAA;AAC9F,CAAC,EAvBW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAuB3B;AAED,IAAY,cAuBX;AAvBD,WAAY,cAAc;IACxB,+EAA6D,CAAA;IAC7D,mFAAiE,CAAA;IACjE,qEAAmD,CAAA;IACnD,yEAAuD,CAAA;IACvD,+EAA6D,CAAA;IAC7D,mFAAiE,CAAA;IACjE,qEAAmD,CAAA;IACnD,yEAAuD,CAAA;IACvD,yFAAuE,CAAA;IACvE,6FAA2E,CAAA;IAC3E,yFAAuE,CAAA;IACvE,6FAA2E,CAAA;IAC3E,iGAA+E,CAAA;IAC/E,qGAAmF,CAAA;IACnF,qGAAmF,CAAA;IACnF,yGAAuF,CAAA;IACvF,6GAA2F,CAAA;IAC3F,iHAA+F,CAAA;IAC/F,6EAA2D,CAAA;IAC3D,iFAA+D,CAAA;IAC/D,6EAA2D,CAAA;IAC3D,iFAA+D,CAAA;AACjE,CAAC,EAvBW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAuBzB"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { PodLogs } from '../types/pod-logs';
|
|
2
|
+
/**
|
|
3
|
+
* SDU service scale service deployment failed event
|
|
4
|
+
*/
|
|
5
|
+
export interface SduServiceScaleServiceDeploymentFailedEvent {
|
|
6
|
+
/**
|
|
7
|
+
* A UUID.
|
|
8
|
+
*/
|
|
9
|
+
request_id: string;
|
|
10
|
+
/**
|
|
11
|
+
* A UUID.
|
|
12
|
+
*/
|
|
13
|
+
tenant_id: string;
|
|
14
|
+
/**
|
|
15
|
+
* A UUID.
|
|
16
|
+
*/
|
|
17
|
+
environment_id: string;
|
|
18
|
+
/**
|
|
19
|
+
* A UUID.
|
|
20
|
+
*/
|
|
21
|
+
service_definition_id: string;
|
|
22
|
+
/**
|
|
23
|
+
* A UUID.
|
|
24
|
+
*/
|
|
25
|
+
service_deployment_id: string;
|
|
26
|
+
/**
|
|
27
|
+
* A human readable ID for the service (i.e. media-service)
|
|
28
|
+
*/
|
|
29
|
+
service_id: string;
|
|
30
|
+
/**
|
|
31
|
+
* Error message during service scale up/down
|
|
32
|
+
*/
|
|
33
|
+
error_message: string;
|
|
34
|
+
/**
|
|
35
|
+
* Pod logs for the failed deployment
|
|
36
|
+
*/
|
|
37
|
+
pod_logs?: PodLogs[];
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=sdu-service-scale-service-deployment-failed-event.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sdu-service-scale-service-deployment-failed-event.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/sdu/events/sdu-service-scale-service-deployment-failed-event.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C;;GAEG;AACH,MAAM,WAAW,2CAA2C;IAC1D;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;OAEG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;CACtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sdu-service-scale-service-deployment-failed-event.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/sdu/events/sdu-service-scale-service-deployment-failed-event.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SDU service scale service deployment finished event
|
|
3
|
+
*/
|
|
4
|
+
export interface SduServiceScaleServiceDeploymentFinishedEvent {
|
|
5
|
+
/**
|
|
6
|
+
* A UUID.
|
|
7
|
+
*/
|
|
8
|
+
request_id: string;
|
|
9
|
+
/**
|
|
10
|
+
* A UUID.
|
|
11
|
+
*/
|
|
12
|
+
tenant_id: string;
|
|
13
|
+
/**
|
|
14
|
+
* A UUID.
|
|
15
|
+
*/
|
|
16
|
+
environment_id: string;
|
|
17
|
+
/**
|
|
18
|
+
* A UUID.
|
|
19
|
+
*/
|
|
20
|
+
service_definition_id: string;
|
|
21
|
+
/**
|
|
22
|
+
* A UUID.
|
|
23
|
+
*/
|
|
24
|
+
service_deployment_id: string;
|
|
25
|
+
/**
|
|
26
|
+
* A human readable ID for the service (i.e. media-service)
|
|
27
|
+
*/
|
|
28
|
+
service_id: string;
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=sdu-service-scale-service-deployment-finished-event.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sdu-service-scale-service-deployment-finished-event.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/sdu/events/sdu-service-scale-service-deployment-finished-event.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,6CAA6C;IAC5D;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;OAEG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sdu-service-scale-service-deployment-finished-event.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/sdu/events/sdu-service-scale-service-deployment-finished-event.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@axinom/mosaic-messages",
|
|
3
|
-
"version": "0.60.0-rc.
|
|
3
|
+
"version": "0.60.0-rc.2",
|
|
4
4
|
"description": "Shared types for Axinom Mosaic service messages",
|
|
5
5
|
"author": "Axinom",
|
|
6
6
|
"license": "PROPRIETARY",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"dev": "concurrently --names \"codegen,tsc\" \"yarn codegen:watch\" \"yarn build:compile:watch\""
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@axinom/mosaic-cli": "^0.49.0-rc.
|
|
32
|
+
"@axinom/mosaic-cli": "^0.49.0-rc.2",
|
|
33
33
|
"@axinom/mosaic-message-bus-abstractions": "^0.24.0",
|
|
34
34
|
"@types/glob": "^7.1.3",
|
|
35
35
|
"@types/node": "^18.11.18",
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"publishConfig": {
|
|
44
44
|
"access": "public"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "b268105fb427d813ef333c4ebc476aa47e991a5a"
|
|
47
47
|
}
|
|
@@ -121,6 +121,18 @@ export class SduServiceMessagingSettings implements MessagingSettings {
|
|
|
121
121
|
'command',
|
|
122
122
|
'service'
|
|
123
123
|
);
|
|
124
|
+
/**
|
|
125
|
+
* Defines the messaging settings for the command with message type
|
|
126
|
+
* "SduServiceScaleServiceDeployment" and aggregate type "service".
|
|
127
|
+
* The aggregate ID field must contain the value of the "environment ID" field.
|
|
128
|
+
*/
|
|
129
|
+
public static SduServiceScaleServiceDeployment = new SduServiceMessagingSettings(
|
|
130
|
+
'SduServiceScaleServiceDeployment',
|
|
131
|
+
'service_deployment:scale',
|
|
132
|
+
'service_deployment.scale',
|
|
133
|
+
'command',
|
|
134
|
+
'service'
|
|
135
|
+
);
|
|
124
136
|
/**
|
|
125
137
|
* Defines the messaging settings for the event with message type
|
|
126
138
|
* "SduStorageCreateFinished" and aggregate type "storage".
|
|
@@ -361,6 +373,30 @@ export class SduServiceMessagingSettings implements MessagingSettings {
|
|
|
361
373
|
'event',
|
|
362
374
|
'service'
|
|
363
375
|
);
|
|
376
|
+
/**
|
|
377
|
+
* Defines the messaging settings for the event with message type
|
|
378
|
+
* "SduServiceScaleServiceDeploymentFinished" and aggregate type "service".
|
|
379
|
+
* The aggregate ID field contains the value of the "environment ID" field.
|
|
380
|
+
*/
|
|
381
|
+
public static SduServiceScaleServiceDeploymentFinished = new SduServiceMessagingSettings(
|
|
382
|
+
'SduServiceScaleServiceDeploymentFinished',
|
|
383
|
+
'service_deployment:scale_finished',
|
|
384
|
+
'service_deployment.scale_finished',
|
|
385
|
+
'event',
|
|
386
|
+
'service'
|
|
387
|
+
);
|
|
388
|
+
/**
|
|
389
|
+
* Defines the messaging settings for the event with message type
|
|
390
|
+
* "SduServiceScaleServiceDeploymentFailed" and aggregate type "service".
|
|
391
|
+
* The aggregate ID field contains the value of the "environment ID" field.
|
|
392
|
+
*/
|
|
393
|
+
public static SduServiceScaleServiceDeploymentFailed = new SduServiceMessagingSettings(
|
|
394
|
+
'SduServiceScaleServiceDeploymentFailed',
|
|
395
|
+
'service_deployment:scale_failed',
|
|
396
|
+
'service_deployment.scale_failed',
|
|
397
|
+
'event',
|
|
398
|
+
'service'
|
|
399
|
+
);
|
|
364
400
|
|
|
365
401
|
public readonly serviceId = 'ax-sdu-service';
|
|
366
402
|
|
|
@@ -6,6 +6,7 @@ import * as SduSecureStorageCreateCommand from './sdu-secure-storage-create-comm
|
|
|
6
6
|
import * as SduSecureStorageDeleteCommand from './sdu-secure-storage-delete-command.json';
|
|
7
7
|
import * as SduServiceDeploymentDeployCommand from './sdu-service-deployment-deploy-command.json';
|
|
8
8
|
import * as SduServiceDeploymentUndeployCommand from './sdu-service-deployment-undeploy-command.json';
|
|
9
|
+
import * as SduServiceScaleServiceDeploymentCommand from './sdu-service-scale-service-deployment-command.json';
|
|
9
10
|
import * as SduStorageCreateCommand from './sdu-storage-create-command.json';
|
|
10
11
|
import * as SduStorageDeleteCommand from './sdu-storage-delete-command.json';
|
|
11
12
|
|
|
@@ -17,5 +18,6 @@ export const SduSecureStorageCreateCommandSchema = SduSecureStorageCreateCommand
|
|
|
17
18
|
export const SduSecureStorageDeleteCommandSchema = SduSecureStorageDeleteCommand;
|
|
18
19
|
export const SduServiceDeploymentDeployCommandSchema = SduServiceDeploymentDeployCommand;
|
|
19
20
|
export const SduServiceDeploymentUndeployCommandSchema = SduServiceDeploymentUndeployCommand;
|
|
21
|
+
export const SduServiceScaleServiceDeploymentCommandSchema = SduServiceScaleServiceDeploymentCommand;
|
|
20
22
|
export const SduStorageCreateCommandSchema = SduStorageCreateCommand;
|
|
21
23
|
export const SduStorageDeleteCommandSchema = SduStorageDeleteCommand;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"title": "sdu_service_scale_service_deployment_command",
|
|
5
|
+
"description": "SDU service scale service deployment",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"request_id",
|
|
9
|
+
"tenant_id",
|
|
10
|
+
"environment_id",
|
|
11
|
+
"service_definition_id",
|
|
12
|
+
"service_deployment_id",
|
|
13
|
+
"service_id",
|
|
14
|
+
"replica_count"
|
|
15
|
+
],
|
|
16
|
+
"properties": {
|
|
17
|
+
"request_id": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"minLength": 32,
|
|
20
|
+
"maxLength": 36,
|
|
21
|
+
"format": "uuid",
|
|
22
|
+
"description": "A UUID."
|
|
23
|
+
},
|
|
24
|
+
"tenant_id": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"minLength": 32,
|
|
27
|
+
"maxLength": 36,
|
|
28
|
+
"format": "uuid",
|
|
29
|
+
"description": "A UUID."
|
|
30
|
+
},
|
|
31
|
+
"environment_id": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"minLength": 32,
|
|
34
|
+
"maxLength": 36,
|
|
35
|
+
"format": "uuid",
|
|
36
|
+
"description": "A UUID."
|
|
37
|
+
},
|
|
38
|
+
"service_definition_id": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"minLength": 32,
|
|
41
|
+
"maxLength": 36,
|
|
42
|
+
"format": "uuid",
|
|
43
|
+
"description": "A UUID."
|
|
44
|
+
},
|
|
45
|
+
"service_deployment_id": {
|
|
46
|
+
"type": "string",
|
|
47
|
+
"minLength": 32,
|
|
48
|
+
"maxLength": 36,
|
|
49
|
+
"format": "uuid",
|
|
50
|
+
"description": "A UUID."
|
|
51
|
+
},
|
|
52
|
+
"service_id": {
|
|
53
|
+
"type": "string",
|
|
54
|
+
"description": "A human readable ID for the service (i.e. media-service)"
|
|
55
|
+
},
|
|
56
|
+
"replica_count": {
|
|
57
|
+
"type": "integer",
|
|
58
|
+
"minimum": 0,
|
|
59
|
+
"description": "A non-negative integer that defines the number of replicas for the deployment."
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
@@ -14,6 +14,8 @@ import * as SduServiceDeploymentDeployFailedEvent from './sdu-service-deployment
|
|
|
14
14
|
import * as SduServiceDeploymentDeployFinishedEvent from './sdu-service-deployment-deploy-finished-event.json';
|
|
15
15
|
import * as SduServiceDeploymentUndeployFailedEvent from './sdu-service-deployment-undeploy-failed-event.json';
|
|
16
16
|
import * as SduServiceDeploymentUndeployFinishedEvent from './sdu-service-deployment-undeploy-finished-event.json';
|
|
17
|
+
import * as SduServiceScaleServiceDeploymentFailedEvent from './sdu-service-scale-service-deployment-failed-event.json';
|
|
18
|
+
import * as SduServiceScaleServiceDeploymentFinishedEvent from './sdu-service-scale-service-deployment-finished-event.json';
|
|
17
19
|
import * as SduStorageCreateFailedEvent from './sdu-storage-create-failed-event.json';
|
|
18
20
|
import * as SduStorageCreateFinishedEvent from './sdu-storage-create-finished-event.json';
|
|
19
21
|
import * as SduStorageDeleteFailedEvent from './sdu-storage-delete-failed-event.json';
|
|
@@ -35,6 +37,8 @@ export const SduServiceDeploymentDeployFailedEventSchema = SduServiceDeploymentD
|
|
|
35
37
|
export const SduServiceDeploymentDeployFinishedEventSchema = SduServiceDeploymentDeployFinishedEvent;
|
|
36
38
|
export const SduServiceDeploymentUndeployFailedEventSchema = SduServiceDeploymentUndeployFailedEvent;
|
|
37
39
|
export const SduServiceDeploymentUndeployFinishedEventSchema = SduServiceDeploymentUndeployFinishedEvent;
|
|
40
|
+
export const SduServiceScaleServiceDeploymentFailedEventSchema = SduServiceScaleServiceDeploymentFailedEvent;
|
|
41
|
+
export const SduServiceScaleServiceDeploymentFinishedEventSchema = SduServiceScaleServiceDeploymentFinishedEvent;
|
|
38
42
|
export const SduStorageCreateFailedEventSchema = SduStorageCreateFailedEvent;
|
|
39
43
|
export const SduStorageCreateFinishedEventSchema = SduStorageCreateFinishedEvent;
|
|
40
44
|
export const SduStorageDeleteFailedEventSchema = SduStorageDeleteFailedEvent;
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"title": "sdu_service_scale_service_deployment_failed_event",
|
|
5
|
+
"description": "SDU service scale service deployment failed event",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"request_id",
|
|
9
|
+
"tenant_id",
|
|
10
|
+
"environment_id",
|
|
11
|
+
"service_definition_id",
|
|
12
|
+
"service_deployment_id",
|
|
13
|
+
"service_id",
|
|
14
|
+
"error_message"
|
|
15
|
+
],
|
|
16
|
+
"properties": {
|
|
17
|
+
"request_id": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"minLength": 32,
|
|
20
|
+
"maxLength": 36,
|
|
21
|
+
"format": "uuid",
|
|
22
|
+
"description": "A UUID."
|
|
23
|
+
},
|
|
24
|
+
"tenant_id": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"minLength": 32,
|
|
27
|
+
"maxLength": 36,
|
|
28
|
+
"format": "uuid",
|
|
29
|
+
"description": "A UUID."
|
|
30
|
+
},
|
|
31
|
+
"environment_id": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"minLength": 32,
|
|
34
|
+
"maxLength": 36,
|
|
35
|
+
"format": "uuid",
|
|
36
|
+
"description": "A UUID."
|
|
37
|
+
},
|
|
38
|
+
"service_definition_id": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"minLength": 32,
|
|
41
|
+
"maxLength": 36,
|
|
42
|
+
"format": "uuid",
|
|
43
|
+
"description": "A UUID."
|
|
44
|
+
},
|
|
45
|
+
"service_deployment_id": {
|
|
46
|
+
"type": "string",
|
|
47
|
+
"minLength": 32,
|
|
48
|
+
"maxLength": 36,
|
|
49
|
+
"format": "uuid",
|
|
50
|
+
"description": "A UUID."
|
|
51
|
+
},
|
|
52
|
+
"service_id": {
|
|
53
|
+
"type": "string",
|
|
54
|
+
"description": "A human readable ID for the service (i.e. media-service)"
|
|
55
|
+
},
|
|
56
|
+
"error_message": {
|
|
57
|
+
"type": "string",
|
|
58
|
+
"description": "Error message during service scale up/down"
|
|
59
|
+
},
|
|
60
|
+
"pod_logs": {
|
|
61
|
+
"type": "array",
|
|
62
|
+
"description": "Pod logs for the failed deployment",
|
|
63
|
+
"additionalItems": false,
|
|
64
|
+
"items": {
|
|
65
|
+
"type": "object",
|
|
66
|
+
"title": "pod_logs",
|
|
67
|
+
"additionalProperties": false,
|
|
68
|
+
"required": [
|
|
69
|
+
"pod_name",
|
|
70
|
+
"logs"
|
|
71
|
+
],
|
|
72
|
+
"properties": {
|
|
73
|
+
"pod_name": {
|
|
74
|
+
"type": "string",
|
|
75
|
+
"description": "Name of the pod"
|
|
76
|
+
},
|
|
77
|
+
"logs": {
|
|
78
|
+
"type": "array",
|
|
79
|
+
"description": "Logs of the container",
|
|
80
|
+
"additionalItems": false,
|
|
81
|
+
"items": {
|
|
82
|
+
"type": "string"
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"title": "sdu_service_scale_service_deployment_finished_event",
|
|
5
|
+
"description": "SDU service scale service deployment finished event",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"request_id",
|
|
9
|
+
"tenant_id",
|
|
10
|
+
"environment_id",
|
|
11
|
+
"service_definition_id",
|
|
12
|
+
"service_deployment_id",
|
|
13
|
+
"service_id"
|
|
14
|
+
],
|
|
15
|
+
"properties": {
|
|
16
|
+
"request_id": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"minLength": 32,
|
|
19
|
+
"maxLength": 36,
|
|
20
|
+
"format": "uuid",
|
|
21
|
+
"description": "A UUID."
|
|
22
|
+
},
|
|
23
|
+
"tenant_id": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"minLength": 32,
|
|
26
|
+
"maxLength": 36,
|
|
27
|
+
"format": "uuid",
|
|
28
|
+
"description": "A UUID."
|
|
29
|
+
},
|
|
30
|
+
"environment_id": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"minLength": 32,
|
|
33
|
+
"maxLength": 36,
|
|
34
|
+
"format": "uuid",
|
|
35
|
+
"description": "A UUID."
|
|
36
|
+
},
|
|
37
|
+
"service_definition_id": {
|
|
38
|
+
"type": "string",
|
|
39
|
+
"minLength": 32,
|
|
40
|
+
"maxLength": 36,
|
|
41
|
+
"format": "uuid",
|
|
42
|
+
"description": "A UUID."
|
|
43
|
+
},
|
|
44
|
+
"service_deployment_id": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"minLength": 32,
|
|
47
|
+
"maxLength": 36,
|
|
48
|
+
"format": "uuid",
|
|
49
|
+
"description": "A UUID."
|
|
50
|
+
},
|
|
51
|
+
"service_id": {
|
|
52
|
+
"type": "string",
|
|
53
|
+
"description": "A human readable ID for the service (i.e. media-service)"
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
@@ -6,6 +6,7 @@ export * from './sdu-secure-storage-create-command';
|
|
|
6
6
|
export * from './sdu-secure-storage-delete-command';
|
|
7
7
|
export * from './sdu-service-deployment-deploy-command';
|
|
8
8
|
export * from './sdu-service-deployment-undeploy-command';
|
|
9
|
+
export * from './sdu-service-scale-service-deployment-command';
|
|
9
10
|
export * from './sdu-storage-create-command';
|
|
10
11
|
export * from './sdu-storage-delete-command';
|
|
11
12
|
|
|
@@ -18,6 +19,7 @@ export enum SduCommandsSchemas {
|
|
|
18
19
|
SduSecureStorageDeleteCommand = 'payloads/sdu/commands/sdu-secure-storage-delete-command.json',
|
|
19
20
|
SduServiceDeploymentDeployCommand = 'payloads/sdu/commands/sdu-service-deployment-deploy-command.json',
|
|
20
21
|
SduServiceDeploymentUndeployCommand = 'payloads/sdu/commands/sdu-service-deployment-undeploy-command.json',
|
|
22
|
+
SduServiceScaleServiceDeploymentCommand = 'payloads/sdu/commands/sdu-service-scale-service-deployment-command.json',
|
|
21
23
|
SduStorageCreateCommand = 'payloads/sdu/commands/sdu-storage-create-command.json',
|
|
22
24
|
SduStorageDeleteCommand = 'payloads/sdu/commands/sdu-storage-delete-command.json'
|
|
23
25
|
}
|
|
@@ -31,6 +33,7 @@ export enum SduCommandsTypes {
|
|
|
31
33
|
SduSecureStorageDeleteCommand = 'SduSecureStorageDeleteCommand',
|
|
32
34
|
SduServiceDeploymentDeployCommand = 'SduServiceDeploymentDeployCommand',
|
|
33
35
|
SduServiceDeploymentUndeployCommand = 'SduServiceDeploymentUndeployCommand',
|
|
36
|
+
SduServiceScaleServiceDeploymentCommand = 'SduServiceScaleServiceDeploymentCommand',
|
|
34
37
|
SduStorageCreateCommand = 'SduStorageCreateCommand',
|
|
35
38
|
SduStorageDeleteCommand = 'SduStorageDeleteCommand'
|
|
36
39
|
}
|
package/src/generated/types/payloads/sdu/commands/sdu-service-scale-service-deployment-command.ts
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SDU service scale service deployment
|
|
3
|
+
*/
|
|
4
|
+
export interface SduServiceScaleServiceDeploymentCommand {
|
|
5
|
+
/**
|
|
6
|
+
* A UUID.
|
|
7
|
+
*/
|
|
8
|
+
request_id: string;
|
|
9
|
+
/**
|
|
10
|
+
* A UUID.
|
|
11
|
+
*/
|
|
12
|
+
tenant_id: string;
|
|
13
|
+
/**
|
|
14
|
+
* A UUID.
|
|
15
|
+
*/
|
|
16
|
+
environment_id: string;
|
|
17
|
+
/**
|
|
18
|
+
* A UUID.
|
|
19
|
+
*/
|
|
20
|
+
service_definition_id: string;
|
|
21
|
+
/**
|
|
22
|
+
* A UUID.
|
|
23
|
+
*/
|
|
24
|
+
service_deployment_id: string;
|
|
25
|
+
/**
|
|
26
|
+
* A human readable ID for the service (i.e. media-service)
|
|
27
|
+
*/
|
|
28
|
+
service_id: string;
|
|
29
|
+
/**
|
|
30
|
+
* A non-negative integer that defines the number of replicas for the deployment.
|
|
31
|
+
*/
|
|
32
|
+
replica_count: number;
|
|
33
|
+
}
|