@axinom/mosaic-messages 0.41.0-rc.1 → 0.41.0-rc.10
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/hosting/hosting-service-multi-tenant-messaging-settings.d.ts +1 -0
- package/dist/generated/config/payloads/hosting/hosting-service-multi-tenant-messaging-settings.d.ts.map +1 -1
- package/dist/generated/config/payloads/hosting/hosting-service-multi-tenant-messaging-settings.js +1 -0
- package/dist/generated/config/payloads/hosting/hosting-service-multi-tenant-messaging-settings.js.map +1 -1
- package/dist/generated/schemas/payloads/hosting/events/index.d.ts +41 -0
- package/dist/generated/schemas/payloads/hosting/events/index.d.ts.map +1 -1
- package/dist/generated/schemas/payloads/hosting/events/index.js +3 -1
- package/dist/generated/schemas/payloads/hosting/events/index.js.map +1 -1
- package/dist/generated/schemas/payloads/hosting/events/object-storage-credentials-regenerated-event.json +49 -0
- package/dist/generated/schemas/payloads/sdu/commands/index.d.ts +18 -0
- package/dist/generated/schemas/payloads/sdu/commands/index.d.ts.map +1 -1
- package/dist/generated/schemas/payloads/sdu/commands/sdu-service-deployment-deploy-command.json +9 -0
- package/dist/generated/schemas/payloads/sdu/commands/sdu-service-deployment-undeploy-command.json +9 -0
- package/dist/generated/types/payloads/hosting/events/index.d.ts +3 -0
- package/dist/generated/types/payloads/hosting/events/index.d.ts.map +1 -1
- package/dist/generated/types/payloads/hosting/events/index.js +3 -0
- package/dist/generated/types/payloads/hosting/events/index.js.map +1 -1
- package/dist/generated/types/payloads/hosting/events/object-storage-credentials-regenerated-event.d.ts +27 -0
- package/dist/generated/types/payloads/hosting/events/object-storage-credentials-regenerated-event.d.ts.map +1 -0
- package/dist/generated/types/payloads/hosting/events/object-storage-credentials-regenerated-event.js +3 -0
- package/dist/generated/types/payloads/hosting/events/object-storage-credentials-regenerated-event.js.map +1 -0
- package/dist/generated/types/payloads/sdu/commands/sdu-service-deployment-undeploy-command.d.ts +6 -0
- package/dist/generated/types/payloads/sdu/commands/sdu-service-deployment-undeploy-command.d.ts.map +1 -1
- package/dist/generated/types/payloads/sdu/types/k8s-config.d.ts +6 -0
- package/dist/generated/types/payloads/sdu/types/k8s-config.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/generated/config/payloads/hosting/hosting-service-multi-tenant-messaging-settings.ts +7 -0
- package/src/generated/schemas/payloads/hosting/events/index.ts +2 -0
- package/src/generated/schemas/payloads/hosting/events/object-storage-credentials-regenerated-event.json +49 -0
- package/src/generated/schemas/payloads/sdu/commands/sdu-service-deployment-deploy-command.json +9 -0
- package/src/generated/schemas/payloads/sdu/commands/sdu-service-deployment-undeploy-command.json +9 -0
- package/src/generated/types/payloads/hosting/events/index.ts +3 -0
- package/src/generated/types/payloads/hosting/events/object-storage-credentials-regenerated-event.ts +26 -0
- package/src/generated/types/payloads/sdu/commands/sdu-service-deployment-undeploy-command.ts +4 -0
- package/src/generated/types/payloads/sdu/types/k8s-config.ts +4 -0
package/dist/generated/config/payloads/hosting/hosting-service-multi-tenant-messaging-settings.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { MultiTenantMessagingSettings } from '@axinom/mosaic-message-bus-abstractions';
|
|
2
2
|
export declare class HostingServiceMultiTenantMessagingSettings extends MultiTenantMessagingSettings {
|
|
3
3
|
static ObjectStorageDeleted: HostingServiceMultiTenantMessagingSettings;
|
|
4
|
+
static ObjectStorageCredentialsRegenerated: HostingServiceMultiTenantMessagingSettings;
|
|
4
5
|
private constructor();
|
|
5
6
|
toString: () => string;
|
|
6
7
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hosting-service-multi-tenant-messaging-settings.d.ts","sourceRoot":"","sources":["../../../../../src/generated/config/payloads/hosting/hosting-service-multi-tenant-messaging-settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,yCAAyC,CAAC;AAEvF,qBAAa,0CAA2C,SAAQ,4BAA4B;IAC1F,OAAc,oBAAoB,6CAM9B;IAEJ,OAAO;IAUS,QAAQ,QAAO,MAAM,CAEnC;CACH"}
|
|
1
|
+
{"version":3,"file":"hosting-service-multi-tenant-messaging-settings.d.ts","sourceRoot":"","sources":["../../../../../src/generated/config/payloads/hosting/hosting-service-multi-tenant-messaging-settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,yCAAyC,CAAC;AAEvF,qBAAa,0CAA2C,SAAQ,4BAA4B;IAC1F,OAAc,oBAAoB,6CAM9B;IACJ,OAAc,mCAAmC,6CAM7C;IAEJ,OAAO;IAUS,QAAQ,QAAO,MAAM,CAEnC;CACH"}
|
package/dist/generated/config/payloads/hosting/hosting-service-multi-tenant-messaging-settings.js
CHANGED
|
@@ -11,5 +11,6 @@ class HostingServiceMultiTenantMessagingSettings extends mosaic_message_bus_abst
|
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
13
|
HostingServiceMultiTenantMessagingSettings.ObjectStorageDeleted = new HostingServiceMultiTenantMessagingSettings('ObjectStorageDeleted', 'object_storage:deleted', '*.*.object_storage.deleted', 'event', 'object-storage');
|
|
14
|
+
HostingServiceMultiTenantMessagingSettings.ObjectStorageCredentialsRegenerated = new HostingServiceMultiTenantMessagingSettings('ObjectStorageCredentialsRegenerated', 'object_storage:credentials_regenerated', '*.*.object_storage.credentials_regenerated', 'event', 'object-storage');
|
|
14
15
|
exports.HostingServiceMultiTenantMessagingSettings = HostingServiceMultiTenantMessagingSettings;
|
|
15
16
|
//# sourceMappingURL=hosting-service-multi-tenant-messaging-settings.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hosting-service-multi-tenant-messaging-settings.js","sourceRoot":"","sources":["../../../../../src/generated/config/payloads/hosting/hosting-service-multi-tenant-messaging-settings.ts"],"names":[],"mappings":";;;AAAA,6FAAuF;AAEvF,MAAa,0CAA2C,SAAQ,8DAA4B;
|
|
1
|
+
{"version":3,"file":"hosting-service-multi-tenant-messaging-settings.js","sourceRoot":"","sources":["../../../../../src/generated/config/payloads/hosting/hosting-service-multi-tenant-messaging-settings.ts"],"names":[],"mappings":";;;AAAA,6FAAuF;AAEvF,MAAa,0CAA2C,SAAQ,8DAA4B;IAgB1F,YACE,WAAmB,EACnB,KAAa,EACb,UAAkB,EAClB,MAA2B,EAC3B,aAAqB;QAErB,KAAK,CAAC,oBAAoB,EAAE,WAAW,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,aAAa,CAAC,CAAC;QAGrE,aAAQ,GAAG,GAAW,EAAE;YACtC,OAAO,IAAI,CAAC,WAAW,CAAC;QAC1B,CAAC,CAAC;IAJF,CAAC;;AAvBa,+DAAoB,GAAG,IAAI,0CAA0C,CACjF,sBAAsB,EACtB,wBAAwB,EACxB,4BAA4B,EAC5B,OAAO,EACP,gBAAgB,CACf,AAN+B,CAM9B;AACU,8EAAmC,GAAG,IAAI,0CAA0C,CAChG,qCAAqC,EACrC,wCAAwC,EACxC,4CAA4C,EAC5C,OAAO,EACP,gBAAgB,CACf,AAN8C,CAM7C;AAdO,gGAA0C"}
|
|
@@ -98,6 +98,47 @@ export declare const HostingServiceEnableFinishedEventSchema: {
|
|
|
98
98
|
};
|
|
99
99
|
};
|
|
100
100
|
};
|
|
101
|
+
export declare const ObjectStorageCredentialsRegeneratedEventSchema: {
|
|
102
|
+
$schema: string;
|
|
103
|
+
type: string;
|
|
104
|
+
title: string;
|
|
105
|
+
description: string;
|
|
106
|
+
additionalProperties: boolean;
|
|
107
|
+
required: string[];
|
|
108
|
+
properties: {
|
|
109
|
+
tenant_id: {
|
|
110
|
+
type: string;
|
|
111
|
+
minLength: number;
|
|
112
|
+
maxLength: number;
|
|
113
|
+
format: string;
|
|
114
|
+
description: string;
|
|
115
|
+
};
|
|
116
|
+
environment_id: {
|
|
117
|
+
type: string;
|
|
118
|
+
minLength: number;
|
|
119
|
+
maxLength: number;
|
|
120
|
+
format: string;
|
|
121
|
+
description: string;
|
|
122
|
+
};
|
|
123
|
+
object_storage_id: {
|
|
124
|
+
type: string;
|
|
125
|
+
minLength: number;
|
|
126
|
+
maxLength: number;
|
|
127
|
+
format: string;
|
|
128
|
+
description: string;
|
|
129
|
+
};
|
|
130
|
+
object_storage_name: {
|
|
131
|
+
type: string;
|
|
132
|
+
description: string;
|
|
133
|
+
};
|
|
134
|
+
provider_type: {
|
|
135
|
+
type: string;
|
|
136
|
+
title: string;
|
|
137
|
+
enum: string[];
|
|
138
|
+
description: string;
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
};
|
|
101
142
|
export declare const ObjectStorageDeletedEventSchema: {
|
|
102
143
|
$schema: string;
|
|
103
144
|
type: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/schemas/payloads/hosting/events/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/schemas/payloads/hosting/events/index.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmC,CAAC;AACvF,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;;;;;;;;;CAAqC,CAAC;AAC3F,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;CAAkC,CAAC;AACrF,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;;;;;CAAoC,CAAC;AACzF,eAAO,MAAM,8CAA8C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA2C,CAAC;AACvG,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA4B,CAAC"}
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ObjectStorageDeletedEventSchema = exports.HostingServiceEnableFinishedEventSchema = exports.HostingServiceEnableFailedEventSchema = exports.HostingServiceDisableFinishedEventSchema = exports.HostingServiceDisableFailedEventSchema = void 0;
|
|
3
|
+
exports.ObjectStorageDeletedEventSchema = exports.ObjectStorageCredentialsRegeneratedEventSchema = exports.HostingServiceEnableFinishedEventSchema = exports.HostingServiceEnableFailedEventSchema = exports.HostingServiceDisableFinishedEventSchema = exports.HostingServiceDisableFailedEventSchema = void 0;
|
|
4
4
|
const HostingServiceDisableFailedEvent = require("./hosting-service-disable-failed-event.json");
|
|
5
5
|
const HostingServiceDisableFinishedEvent = require("./hosting-service-disable-finished-event.json");
|
|
6
6
|
const HostingServiceEnableFailedEvent = require("./hosting-service-enable-failed-event.json");
|
|
7
7
|
const HostingServiceEnableFinishedEvent = require("./hosting-service-enable-finished-event.json");
|
|
8
|
+
const ObjectStorageCredentialsRegeneratedEvent = require("./object-storage-credentials-regenerated-event.json");
|
|
8
9
|
const ObjectStorageDeletedEvent = require("./object-storage-deleted-event.json");
|
|
9
10
|
exports.HostingServiceDisableFailedEventSchema = HostingServiceDisableFailedEvent;
|
|
10
11
|
exports.HostingServiceDisableFinishedEventSchema = HostingServiceDisableFinishedEvent;
|
|
11
12
|
exports.HostingServiceEnableFailedEventSchema = HostingServiceEnableFailedEvent;
|
|
12
13
|
exports.HostingServiceEnableFinishedEventSchema = HostingServiceEnableFinishedEvent;
|
|
14
|
+
exports.ObjectStorageCredentialsRegeneratedEventSchema = ObjectStorageCredentialsRegeneratedEvent;
|
|
13
15
|
exports.ObjectStorageDeletedEventSchema = ObjectStorageDeletedEvent;
|
|
14
16
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/generated/schemas/payloads/hosting/events/index.ts"],"names":[],"mappings":";;;AAAA,gGAAgG;AAChG,oGAAoG;AACpG,8FAA8F;AAC9F,kGAAkG;AAClG,iFAAiF;AAEpE,QAAA,sCAAsC,GAAG,gCAAgC,CAAC;AAC1E,QAAA,wCAAwC,GAAG,kCAAkC,CAAC;AAC9E,QAAA,qCAAqC,GAAG,+BAA+B,CAAC;AACxE,QAAA,uCAAuC,GAAG,iCAAiC,CAAC;AAC5E,QAAA,+BAA+B,GAAG,yBAAyB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/generated/schemas/payloads/hosting/events/index.ts"],"names":[],"mappings":";;;AAAA,gGAAgG;AAChG,oGAAoG;AACpG,8FAA8F;AAC9F,kGAAkG;AAClG,gHAAgH;AAChH,iFAAiF;AAEpE,QAAA,sCAAsC,GAAG,gCAAgC,CAAC;AAC1E,QAAA,wCAAwC,GAAG,kCAAkC,CAAC;AAC9E,QAAA,qCAAqC,GAAG,+BAA+B,CAAC;AACxE,QAAA,uCAAuC,GAAG,iCAAiC,CAAC;AAC5E,QAAA,8CAA8C,GAAG,wCAAwC,CAAC;AAC1F,QAAA,+BAA+B,GAAG,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"title": "object_storage_credentials_regenerated_event",
|
|
5
|
+
"description": "Object Storage Credentials Regenerated event schema",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"tenant_id",
|
|
9
|
+
"environment_id",
|
|
10
|
+
"object_storage_id",
|
|
11
|
+
"object_storage_name",
|
|
12
|
+
"provider_type"
|
|
13
|
+
],
|
|
14
|
+
"properties": {
|
|
15
|
+
"tenant_id": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"minLength": 32,
|
|
18
|
+
"maxLength": 36,
|
|
19
|
+
"format": "uuid",
|
|
20
|
+
"description": "A UUID."
|
|
21
|
+
},
|
|
22
|
+
"environment_id": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"minLength": 32,
|
|
25
|
+
"maxLength": 36,
|
|
26
|
+
"format": "uuid",
|
|
27
|
+
"description": "A UUID."
|
|
28
|
+
},
|
|
29
|
+
"object_storage_id": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"minLength": 32,
|
|
32
|
+
"maxLength": 36,
|
|
33
|
+
"format": "uuid",
|
|
34
|
+
"description": "A UUID."
|
|
35
|
+
},
|
|
36
|
+
"object_storage_name": {
|
|
37
|
+
"type": "string",
|
|
38
|
+
"description": "Object Storage name."
|
|
39
|
+
},
|
|
40
|
+
"provider_type": {
|
|
41
|
+
"type": "string",
|
|
42
|
+
"title": "provider_type",
|
|
43
|
+
"enum": [
|
|
44
|
+
"AZURE"
|
|
45
|
+
],
|
|
46
|
+
"description": "Provider type of the Object Storage"
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -444,6 +444,15 @@ export declare const SduServiceDeploymentDeployCommandSchema: {
|
|
|
444
444
|
};
|
|
445
445
|
};
|
|
446
446
|
};
|
|
447
|
+
custom_object_definitions: {
|
|
448
|
+
type: string;
|
|
449
|
+
additionalItems: boolean;
|
|
450
|
+
description: string;
|
|
451
|
+
items: {
|
|
452
|
+
type: string;
|
|
453
|
+
description: string;
|
|
454
|
+
};
|
|
455
|
+
};
|
|
447
456
|
};
|
|
448
457
|
};
|
|
449
458
|
};
|
|
@@ -513,6 +522,15 @@ export declare const SduServiceDeploymentUndeployCommandSchema: {
|
|
|
513
522
|
type: string;
|
|
514
523
|
description: string;
|
|
515
524
|
};
|
|
525
|
+
custom_object_definitions: {
|
|
526
|
+
type: string;
|
|
527
|
+
additionalItems: boolean;
|
|
528
|
+
description: string;
|
|
529
|
+
items: {
|
|
530
|
+
type: string;
|
|
531
|
+
description: string;
|
|
532
|
+
};
|
|
533
|
+
};
|
|
516
534
|
};
|
|
517
535
|
};
|
|
518
536
|
export declare const SduStorageCreateCommandSchema: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/schemas/payloads/sdu/commands/index.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA2B,CAAC;AACvE,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAsB,CAAC;AAC7D,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA2B,CAAC;AACvE,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAsB,CAAC;AAC7D,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAgC,CAAC;AACjF,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;CAAgC,CAAC;AACjF,eAAO,MAAM,uCAAuC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/schemas/payloads/sdu/commands/index.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA2B,CAAC;AACvE,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAsB,CAAC;AAC7D,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA2B,CAAC;AACvE,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAsB,CAAC;AAC7D,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAgC,CAAC;AACjF,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;CAAgC,CAAC;AACjF,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoC,CAAC;AACzF,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAsC,CAAC;AAC7F,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA0B,CAAC;AACrE,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA0B,CAAC"}
|
package/dist/generated/schemas/payloads/sdu/commands/sdu-service-deployment-deploy-command.json
CHANGED
|
@@ -169,6 +169,15 @@
|
|
|
169
169
|
"description": "Memory size"
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
|
+
},
|
|
173
|
+
"custom_object_definitions": {
|
|
174
|
+
"type": "array",
|
|
175
|
+
"additionalItems": false,
|
|
176
|
+
"description": "An array of custom object definitions to be created along with the service deployment",
|
|
177
|
+
"items": {
|
|
178
|
+
"type": "object",
|
|
179
|
+
"description": "A custom object definition to be created"
|
|
180
|
+
}
|
|
172
181
|
}
|
|
173
182
|
}
|
|
174
183
|
}
|
package/dist/generated/schemas/payloads/sdu/commands/sdu-service-deployment-undeploy-command.json
CHANGED
|
@@ -51,6 +51,15 @@
|
|
|
51
51
|
"service_id": {
|
|
52
52
|
"type": "string",
|
|
53
53
|
"description": "A human readable ID for the service (i.e. media-service)"
|
|
54
|
+
},
|
|
55
|
+
"custom_object_definitions": {
|
|
56
|
+
"type": "array",
|
|
57
|
+
"additionalItems": false,
|
|
58
|
+
"description": "An array of custom object definitions that needs to be cleaned-up with the service deployment",
|
|
59
|
+
"items": {
|
|
60
|
+
"type": "object",
|
|
61
|
+
"description": "A custom object definition to be deleted"
|
|
62
|
+
}
|
|
54
63
|
}
|
|
55
64
|
}
|
|
56
65
|
}
|
|
@@ -2,12 +2,14 @@ export * from './hosting-service-disable-failed-event';
|
|
|
2
2
|
export * from './hosting-service-disable-finished-event';
|
|
3
3
|
export * from './hosting-service-enable-failed-event';
|
|
4
4
|
export * from './hosting-service-enable-finished-event';
|
|
5
|
+
export * from './object-storage-credentials-regenerated-event';
|
|
5
6
|
export * from './object-storage-deleted-event';
|
|
6
7
|
export declare enum HostingEventsSchemas {
|
|
7
8
|
HostingServiceDisableFailedEvent = "payloads/hosting/events/hosting-service-disable-failed-event.json",
|
|
8
9
|
HostingServiceDisableFinishedEvent = "payloads/hosting/events/hosting-service-disable-finished-event.json",
|
|
9
10
|
HostingServiceEnableFailedEvent = "payloads/hosting/events/hosting-service-enable-failed-event.json",
|
|
10
11
|
HostingServiceEnableFinishedEvent = "payloads/hosting/events/hosting-service-enable-finished-event.json",
|
|
12
|
+
ObjectStorageCredentialsRegeneratedEvent = "payloads/hosting/events/object-storage-credentials-regenerated-event.json",
|
|
11
13
|
ObjectStorageDeletedEvent = "payloads/hosting/events/object-storage-deleted-event.json"
|
|
12
14
|
}
|
|
13
15
|
export declare enum HostingEventsTypes {
|
|
@@ -15,6 +17,7 @@ export declare enum HostingEventsTypes {
|
|
|
15
17
|
HostingServiceDisableFinishedEvent = "HostingServiceDisableFinishedEvent",
|
|
16
18
|
HostingServiceEnableFailedEvent = "HostingServiceEnableFailedEvent",
|
|
17
19
|
HostingServiceEnableFinishedEvent = "HostingServiceEnableFinishedEvent",
|
|
20
|
+
ObjectStorageCredentialsRegeneratedEvent = "ObjectStorageCredentialsRegeneratedEvent",
|
|
18
21
|
ObjectStorageDeletedEvent = "ObjectStorageDeletedEvent"
|
|
19
22
|
}
|
|
20
23
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/hosting/events/index.ts"],"names":[],"mappings":"AAAA,cAAc,wCAAwC,CAAC;AACvD,cAAc,0CAA0C,CAAC;AACzD,cAAc,uCAAuC,CAAC;AACtD,cAAc,yCAAyC,CAAC;AACxD,cAAc,gCAAgC,CAAC;AAE/C,oBAAY,oBAAoB;IAC9B,gCAAgC,sEAAsE;IACtG,kCAAkC,wEAAwE;IAC1G,+BAA+B,qEAAqE;IACpG,iCAAiC,uEAAuE;IACxG,yBAAyB,8DAA8D;CACxF;AAED,oBAAY,kBAAkB;IAC5B,gCAAgC,qCAAqC;IACrE,kCAAkC,uCAAuC;IACzE,+BAA+B,oCAAoC;IACnE,iCAAiC,sCAAsC;IACvE,yBAAyB,8BAA8B;CACxD"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/hosting/events/index.ts"],"names":[],"mappings":"AAAA,cAAc,wCAAwC,CAAC;AACvD,cAAc,0CAA0C,CAAC;AACzD,cAAc,uCAAuC,CAAC;AACtD,cAAc,yCAAyC,CAAC;AACxD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,gCAAgC,CAAC;AAE/C,oBAAY,oBAAoB;IAC9B,gCAAgC,sEAAsE;IACtG,kCAAkC,wEAAwE;IAC1G,+BAA+B,qEAAqE;IACpG,iCAAiC,uEAAuE;IACxG,wCAAwC,8EAA8E;IACtH,yBAAyB,8DAA8D;CACxF;AAED,oBAAY,kBAAkB;IAC5B,gCAAgC,qCAAqC;IACrE,kCAAkC,uCAAuC;IACzE,+BAA+B,oCAAoC;IACnE,iCAAiC,sCAAsC;IACvE,wCAAwC,6CAA6C;IACrF,yBAAyB,8BAA8B;CACxD"}
|
|
@@ -19,6 +19,7 @@ __exportStar(require("./hosting-service-disable-failed-event"), exports);
|
|
|
19
19
|
__exportStar(require("./hosting-service-disable-finished-event"), exports);
|
|
20
20
|
__exportStar(require("./hosting-service-enable-failed-event"), exports);
|
|
21
21
|
__exportStar(require("./hosting-service-enable-finished-event"), exports);
|
|
22
|
+
__exportStar(require("./object-storage-credentials-regenerated-event"), exports);
|
|
22
23
|
__exportStar(require("./object-storage-deleted-event"), exports);
|
|
23
24
|
var HostingEventsSchemas;
|
|
24
25
|
(function (HostingEventsSchemas) {
|
|
@@ -26,6 +27,7 @@ var HostingEventsSchemas;
|
|
|
26
27
|
HostingEventsSchemas["HostingServiceDisableFinishedEvent"] = "payloads/hosting/events/hosting-service-disable-finished-event.json";
|
|
27
28
|
HostingEventsSchemas["HostingServiceEnableFailedEvent"] = "payloads/hosting/events/hosting-service-enable-failed-event.json";
|
|
28
29
|
HostingEventsSchemas["HostingServiceEnableFinishedEvent"] = "payloads/hosting/events/hosting-service-enable-finished-event.json";
|
|
30
|
+
HostingEventsSchemas["ObjectStorageCredentialsRegeneratedEvent"] = "payloads/hosting/events/object-storage-credentials-regenerated-event.json";
|
|
29
31
|
HostingEventsSchemas["ObjectStorageDeletedEvent"] = "payloads/hosting/events/object-storage-deleted-event.json";
|
|
30
32
|
})(HostingEventsSchemas = exports.HostingEventsSchemas || (exports.HostingEventsSchemas = {}));
|
|
31
33
|
var HostingEventsTypes;
|
|
@@ -34,6 +36,7 @@ var HostingEventsTypes;
|
|
|
34
36
|
HostingEventsTypes["HostingServiceDisableFinishedEvent"] = "HostingServiceDisableFinishedEvent";
|
|
35
37
|
HostingEventsTypes["HostingServiceEnableFailedEvent"] = "HostingServiceEnableFailedEvent";
|
|
36
38
|
HostingEventsTypes["HostingServiceEnableFinishedEvent"] = "HostingServiceEnableFinishedEvent";
|
|
39
|
+
HostingEventsTypes["ObjectStorageCredentialsRegeneratedEvent"] = "ObjectStorageCredentialsRegeneratedEvent";
|
|
37
40
|
HostingEventsTypes["ObjectStorageDeletedEvent"] = "ObjectStorageDeletedEvent";
|
|
38
41
|
})(HostingEventsTypes = exports.HostingEventsTypes || (exports.HostingEventsTypes = {}));
|
|
39
42
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/hosting/events/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,yEAAuD;AACvD,2EAAyD;AACzD,wEAAsD;AACtD,0EAAwD;AACxD,iEAA+C;AAE/C,IAAY,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/hosting/events/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,yEAAuD;AACvD,2EAAyD;AACzD,wEAAsD;AACtD,0EAAwD;AACxD,iFAA+D;AAC/D,iEAA+C;AAE/C,IAAY,oBAOX;AAPD,WAAY,oBAAoB;IAC9B,8HAAsG,CAAA;IACtG,kIAA0G,CAAA;IAC1G,4HAAoG,CAAA;IACpG,gIAAwG,CAAA;IACxG,8IAAsH,CAAA;IACtH,+GAAuF,CAAA;AACzF,CAAC,EAPW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAO/B;AAED,IAAY,kBAOX;AAPD,WAAY,kBAAkB;IAC5B,2FAAqE,CAAA;IACrE,+FAAyE,CAAA;IACzE,yFAAmE,CAAA;IACnE,6FAAuE,CAAA;IACvE,2GAAqF,CAAA;IACrF,6EAAuD,CAAA;AACzD,CAAC,EAPW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAO7B"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ProviderType } from '../types/provider-type';
|
|
2
|
+
/**
|
|
3
|
+
* Object Storage Credentials Regenerated event schema
|
|
4
|
+
*/
|
|
5
|
+
export interface ObjectStorageCredentialsRegeneratedEvent {
|
|
6
|
+
/**
|
|
7
|
+
* A UUID.
|
|
8
|
+
*/
|
|
9
|
+
tenant_id: string;
|
|
10
|
+
/**
|
|
11
|
+
* A UUID.
|
|
12
|
+
*/
|
|
13
|
+
environment_id: string;
|
|
14
|
+
/**
|
|
15
|
+
* A UUID.
|
|
16
|
+
*/
|
|
17
|
+
object_storage_id: string;
|
|
18
|
+
/**
|
|
19
|
+
* Object Storage name.
|
|
20
|
+
*/
|
|
21
|
+
object_storage_name: string;
|
|
22
|
+
/**
|
|
23
|
+
* Provider type of the Object Storage
|
|
24
|
+
*/
|
|
25
|
+
provider_type: ProviderType;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=object-storage-credentials-regenerated-event.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"object-storage-credentials-regenerated-event.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/hosting/events/object-storage-credentials-regenerated-event.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD;;GAEG;AACH,MAAM,WAAW,wCAAwC;IACvD;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,aAAa,EAAE,YAAY,CAAC;CAC7B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"object-storage-credentials-regenerated-event.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/hosting/events/object-storage-credentials-regenerated-event.ts"],"names":[],"mappings":""}
|
package/dist/generated/types/payloads/sdu/commands/sdu-service-deployment-undeploy-command.d.ts
CHANGED
|
@@ -26,5 +26,11 @@ export interface SduServiceDeploymentUndeployCommand {
|
|
|
26
26
|
* A human readable ID for the service (i.e. media-service)
|
|
27
27
|
*/
|
|
28
28
|
service_id: string;
|
|
29
|
+
/**
|
|
30
|
+
* An array of custom object definitions that needs to be cleaned-up with the service deployment
|
|
31
|
+
*/
|
|
32
|
+
custom_object_definitions?: {
|
|
33
|
+
[name: string]: unknown;
|
|
34
|
+
}[];
|
|
29
35
|
}
|
|
30
36
|
//# sourceMappingURL=sdu-service-deployment-undeploy-command.d.ts.map
|
package/dist/generated/types/payloads/sdu/commands/sdu-service-deployment-undeploy-command.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdu-service-deployment-undeploy-command.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/sdu/commands/sdu-service-deployment-undeploy-command.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,mCAAmC;IAClD;;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;
|
|
1
|
+
{"version":3,"file":"sdu-service-deployment-undeploy-command.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/sdu/commands/sdu-service-deployment-undeploy-command.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,mCAAmC;IAClD;;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,yBAAyB,CAAC,EAAE;QAAE,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,EAAE,CAAC;CAC3D"}
|
|
@@ -28,5 +28,11 @@ export interface K8sConfig {
|
|
|
28
28
|
* Resource requests and limits object to specify CPU and Memory constraints for a pod
|
|
29
29
|
*/
|
|
30
30
|
resource_limits?: K8sResourceConfig;
|
|
31
|
+
/**
|
|
32
|
+
* An array of custom object definitions to be created along with the service deployment
|
|
33
|
+
*/
|
|
34
|
+
custom_object_definitions?: {
|
|
35
|
+
[name: string]: unknown;
|
|
36
|
+
}[];
|
|
31
37
|
}
|
|
32
38
|
//# sourceMappingURL=k8s-config.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"k8s-config.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/sdu/types/k8s-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,kBAAkB,EAAE,eAAe,EAAE,CAAC;IACtC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IACtC;;OAEG;IACH,eAAe,CAAC,EAAE,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"k8s-config.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/sdu/types/k8s-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,kBAAkB,EAAE,eAAe,EAAE,CAAC;IACtC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IACtC;;OAEG;IACH,eAAe,CAAC,EAAE,iBAAiB,CAAC;IACpC;;OAEG;IACH,yBAAyB,CAAC,EAAE;QAAE,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,EAAE,CAAC;CAC3D"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@axinom/mosaic-messages",
|
|
3
|
-
"version": "0.41.0-rc.
|
|
3
|
+
"version": "0.41.0-rc.10",
|
|
4
4
|
"description": "Shared types for Axinom Mosaic service messages",
|
|
5
5
|
"author": "Axinom",
|
|
6
6
|
"license": "PROPRIETARY",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"dev": "concurrently --names \"codegen,tsc\" \"yarn codegen:watch\" \"yarn build:compile:watch\""
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@axinom/mosaic-cli": "^0.31.0-rc.
|
|
33
|
-
"@axinom/mosaic-message-bus-abstractions": "^0.12.0-rc.
|
|
32
|
+
"@axinom/mosaic-cli": "^0.31.0-rc.10",
|
|
33
|
+
"@axinom/mosaic-message-bus-abstractions": "^0.12.0-rc.10",
|
|
34
34
|
"@types/glob": "^7.1.3",
|
|
35
35
|
"@types/node": "^18.11.18",
|
|
36
36
|
"concurrently": "^5.3.0",
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"publishConfig": {
|
|
44
44
|
"access": "public"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "000d8df0cfce2adb29cb1ab63572d1b15f38826c"
|
|
47
47
|
}
|
package/src/generated/config/payloads/hosting/hosting-service-multi-tenant-messaging-settings.ts
CHANGED
|
@@ -8,6 +8,13 @@ export class HostingServiceMultiTenantMessagingSettings extends MultiTenantMessa
|
|
|
8
8
|
'event',
|
|
9
9
|
'object-storage'
|
|
10
10
|
);
|
|
11
|
+
public static ObjectStorageCredentialsRegenerated = new HostingServiceMultiTenantMessagingSettings(
|
|
12
|
+
'ObjectStorageCredentialsRegenerated',
|
|
13
|
+
'object_storage:credentials_regenerated',
|
|
14
|
+
'*.*.object_storage.credentials_regenerated',
|
|
15
|
+
'event',
|
|
16
|
+
'object-storage'
|
|
17
|
+
);
|
|
11
18
|
|
|
12
19
|
private constructor(
|
|
13
20
|
messageType: string,
|
|
@@ -2,10 +2,12 @@ import * as HostingServiceDisableFailedEvent from './hosting-service-disable-fai
|
|
|
2
2
|
import * as HostingServiceDisableFinishedEvent from './hosting-service-disable-finished-event.json';
|
|
3
3
|
import * as HostingServiceEnableFailedEvent from './hosting-service-enable-failed-event.json';
|
|
4
4
|
import * as HostingServiceEnableFinishedEvent from './hosting-service-enable-finished-event.json';
|
|
5
|
+
import * as ObjectStorageCredentialsRegeneratedEvent from './object-storage-credentials-regenerated-event.json';
|
|
5
6
|
import * as ObjectStorageDeletedEvent from './object-storage-deleted-event.json';
|
|
6
7
|
|
|
7
8
|
export const HostingServiceDisableFailedEventSchema = HostingServiceDisableFailedEvent;
|
|
8
9
|
export const HostingServiceDisableFinishedEventSchema = HostingServiceDisableFinishedEvent;
|
|
9
10
|
export const HostingServiceEnableFailedEventSchema = HostingServiceEnableFailedEvent;
|
|
10
11
|
export const HostingServiceEnableFinishedEventSchema = HostingServiceEnableFinishedEvent;
|
|
12
|
+
export const ObjectStorageCredentialsRegeneratedEventSchema = ObjectStorageCredentialsRegeneratedEvent;
|
|
11
13
|
export const ObjectStorageDeletedEventSchema = ObjectStorageDeletedEvent;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"title": "object_storage_credentials_regenerated_event",
|
|
5
|
+
"description": "Object Storage Credentials Regenerated event schema",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"tenant_id",
|
|
9
|
+
"environment_id",
|
|
10
|
+
"object_storage_id",
|
|
11
|
+
"object_storage_name",
|
|
12
|
+
"provider_type"
|
|
13
|
+
],
|
|
14
|
+
"properties": {
|
|
15
|
+
"tenant_id": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"minLength": 32,
|
|
18
|
+
"maxLength": 36,
|
|
19
|
+
"format": "uuid",
|
|
20
|
+
"description": "A UUID."
|
|
21
|
+
},
|
|
22
|
+
"environment_id": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"minLength": 32,
|
|
25
|
+
"maxLength": 36,
|
|
26
|
+
"format": "uuid",
|
|
27
|
+
"description": "A UUID."
|
|
28
|
+
},
|
|
29
|
+
"object_storage_id": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"minLength": 32,
|
|
32
|
+
"maxLength": 36,
|
|
33
|
+
"format": "uuid",
|
|
34
|
+
"description": "A UUID."
|
|
35
|
+
},
|
|
36
|
+
"object_storage_name": {
|
|
37
|
+
"type": "string",
|
|
38
|
+
"description": "Object Storage name."
|
|
39
|
+
},
|
|
40
|
+
"provider_type": {
|
|
41
|
+
"type": "string",
|
|
42
|
+
"title": "provider_type",
|
|
43
|
+
"enum": [
|
|
44
|
+
"AZURE"
|
|
45
|
+
],
|
|
46
|
+
"description": "Provider type of the Object Storage"
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
package/src/generated/schemas/payloads/sdu/commands/sdu-service-deployment-deploy-command.json
CHANGED
|
@@ -169,6 +169,15 @@
|
|
|
169
169
|
"description": "Memory size"
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
|
+
},
|
|
173
|
+
"custom_object_definitions": {
|
|
174
|
+
"type": "array",
|
|
175
|
+
"additionalItems": false,
|
|
176
|
+
"description": "An array of custom object definitions to be created along with the service deployment",
|
|
177
|
+
"items": {
|
|
178
|
+
"type": "object",
|
|
179
|
+
"description": "A custom object definition to be created"
|
|
180
|
+
}
|
|
172
181
|
}
|
|
173
182
|
}
|
|
174
183
|
}
|
package/src/generated/schemas/payloads/sdu/commands/sdu-service-deployment-undeploy-command.json
CHANGED
|
@@ -51,6 +51,15 @@
|
|
|
51
51
|
"service_id": {
|
|
52
52
|
"type": "string",
|
|
53
53
|
"description": "A human readable ID for the service (i.e. media-service)"
|
|
54
|
+
},
|
|
55
|
+
"custom_object_definitions": {
|
|
56
|
+
"type": "array",
|
|
57
|
+
"additionalItems": false,
|
|
58
|
+
"description": "An array of custom object definitions that needs to be cleaned-up with the service deployment",
|
|
59
|
+
"items": {
|
|
60
|
+
"type": "object",
|
|
61
|
+
"description": "A custom object definition to be deleted"
|
|
62
|
+
}
|
|
54
63
|
}
|
|
55
64
|
}
|
|
56
65
|
}
|
|
@@ -2,6 +2,7 @@ export * from './hosting-service-disable-failed-event';
|
|
|
2
2
|
export * from './hosting-service-disable-finished-event';
|
|
3
3
|
export * from './hosting-service-enable-failed-event';
|
|
4
4
|
export * from './hosting-service-enable-finished-event';
|
|
5
|
+
export * from './object-storage-credentials-regenerated-event';
|
|
5
6
|
export * from './object-storage-deleted-event';
|
|
6
7
|
|
|
7
8
|
export enum HostingEventsSchemas {
|
|
@@ -9,6 +10,7 @@ export enum HostingEventsSchemas {
|
|
|
9
10
|
HostingServiceDisableFinishedEvent = 'payloads/hosting/events/hosting-service-disable-finished-event.json',
|
|
10
11
|
HostingServiceEnableFailedEvent = 'payloads/hosting/events/hosting-service-enable-failed-event.json',
|
|
11
12
|
HostingServiceEnableFinishedEvent = 'payloads/hosting/events/hosting-service-enable-finished-event.json',
|
|
13
|
+
ObjectStorageCredentialsRegeneratedEvent = 'payloads/hosting/events/object-storage-credentials-regenerated-event.json',
|
|
12
14
|
ObjectStorageDeletedEvent = 'payloads/hosting/events/object-storage-deleted-event.json'
|
|
13
15
|
}
|
|
14
16
|
|
|
@@ -17,5 +19,6 @@ export enum HostingEventsTypes {
|
|
|
17
19
|
HostingServiceDisableFinishedEvent = 'HostingServiceDisableFinishedEvent',
|
|
18
20
|
HostingServiceEnableFailedEvent = 'HostingServiceEnableFailedEvent',
|
|
19
21
|
HostingServiceEnableFinishedEvent = 'HostingServiceEnableFinishedEvent',
|
|
22
|
+
ObjectStorageCredentialsRegeneratedEvent = 'ObjectStorageCredentialsRegeneratedEvent',
|
|
20
23
|
ObjectStorageDeletedEvent = 'ObjectStorageDeletedEvent'
|
|
21
24
|
}
|
package/src/generated/types/payloads/hosting/events/object-storage-credentials-regenerated-event.ts
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ProviderType } from '../types/provider-type';
|
|
2
|
+
/**
|
|
3
|
+
* Object Storage Credentials Regenerated event schema
|
|
4
|
+
*/
|
|
5
|
+
export interface ObjectStorageCredentialsRegeneratedEvent {
|
|
6
|
+
/**
|
|
7
|
+
* A UUID.
|
|
8
|
+
*/
|
|
9
|
+
tenant_id: string;
|
|
10
|
+
/**
|
|
11
|
+
* A UUID.
|
|
12
|
+
*/
|
|
13
|
+
environment_id: string;
|
|
14
|
+
/**
|
|
15
|
+
* A UUID.
|
|
16
|
+
*/
|
|
17
|
+
object_storage_id: string;
|
|
18
|
+
/**
|
|
19
|
+
* Object Storage name.
|
|
20
|
+
*/
|
|
21
|
+
object_storage_name: string;
|
|
22
|
+
/**
|
|
23
|
+
* Provider type of the Object Storage
|
|
24
|
+
*/
|
|
25
|
+
provider_type: ProviderType;
|
|
26
|
+
}
|
package/src/generated/types/payloads/sdu/commands/sdu-service-deployment-undeploy-command.ts
CHANGED
|
@@ -26,4 +26,8 @@ export interface SduServiceDeploymentUndeployCommand {
|
|
|
26
26
|
* A human readable ID for the service (i.e. media-service)
|
|
27
27
|
*/
|
|
28
28
|
service_id: string;
|
|
29
|
+
/**
|
|
30
|
+
* An array of custom object definitions that needs to be cleaned-up with the service deployment
|
|
31
|
+
*/
|
|
32
|
+
custom_object_definitions?: { [name: string]: unknown }[];
|
|
29
33
|
}
|
|
@@ -28,4 +28,8 @@ export interface K8sConfig {
|
|
|
28
28
|
* Resource requests and limits object to specify CPU and Memory constraints for a pod
|
|
29
29
|
*/
|
|
30
30
|
resource_limits?: K8sResourceConfig;
|
|
31
|
+
/**
|
|
32
|
+
* An array of custom object definitions to be created along with the service deployment
|
|
33
|
+
*/
|
|
34
|
+
custom_object_definitions?: { [name: string]: unknown }[];
|
|
31
35
|
}
|