@axinom/mosaic-messages 0.40.0-rc.5 → 0.40.0-rc.6
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 +7 -0
- package/dist/generated/config/payloads/hosting/hosting-service-multi-tenant-messaging-settings.d.ts.map +1 -0
- package/dist/generated/config/payloads/hosting/hosting-service-multi-tenant-messaging-settings.js +15 -0
- package/dist/generated/config/payloads/hosting/hosting-service-multi-tenant-messaging-settings.js.map +1 -0
- package/dist/generated/config/payloads/hosting/index.d.ts +1 -0
- package/dist/generated/config/payloads/hosting/index.d.ts.map +1 -1
- package/dist/generated/config/payloads/hosting/index.js +1 -0
- package/dist/generated/config/payloads/hosting/index.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-deleted-event.json +49 -0
- package/dist/generated/types/payloads/hosting/events/index.d.ts +5 -2
- 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-deleted-event.d.ts +27 -0
- package/dist/generated/types/payloads/hosting/events/object-storage-deleted-event.d.ts.map +1 -0
- package/dist/generated/types/payloads/hosting/events/object-storage-deleted-event.js +3 -0
- package/dist/generated/types/payloads/hosting/events/object-storage-deleted-event.js.map +1 -0
- package/dist/generated/types/payloads/hosting/index.d.ts +1 -0
- package/dist/generated/types/payloads/hosting/index.d.ts.map +1 -1
- package/dist/generated/types/payloads/hosting/index.js +1 -0
- package/dist/generated/types/payloads/hosting/index.js.map +1 -1
- package/dist/generated/types/payloads/hosting/types/index.d.ts +2 -0
- package/dist/generated/types/payloads/hosting/types/index.d.ts.map +1 -0
- package/dist/generated/types/payloads/hosting/types/index.js +18 -0
- package/dist/generated/types/payloads/hosting/types/index.js.map +1 -0
- package/dist/generated/types/payloads/hosting/types/provider-type.d.ts +5 -0
- package/dist/generated/types/payloads/hosting/types/provider-type.d.ts.map +1 -0
- package/dist/generated/types/payloads/hosting/types/provider-type.js +3 -0
- package/dist/generated/types/payloads/hosting/types/provider-type.js.map +1 -0
- package/package.json +4 -4
- package/src/generated/config/payloads/hosting/hosting-service-multi-tenant-messaging-settings.ts +25 -0
- package/src/generated/config/payloads/hosting/index.ts +2 -1
- package/src/generated/schemas/payloads/hosting/events/index.ts +3 -1
- package/src/generated/schemas/payloads/hosting/events/object-storage-deleted-event.json +49 -0
- package/src/generated/types/payloads/hosting/events/index.ts +5 -2
- package/src/generated/types/payloads/hosting/events/object-storage-deleted-event.ts +26 -0
- package/src/generated/types/payloads/hosting/index.ts +2 -1
- package/src/generated/types/payloads/hosting/types/index.ts +1 -0
- package/src/generated/types/payloads/hosting/types/provider-type.ts +4 -0
package/dist/generated/config/payloads/hosting/hosting-service-multi-tenant-messaging-settings.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { MultiTenantMessagingSettings } from '@axinom/mosaic-message-bus-abstractions';
|
|
2
|
+
export declare class HostingServiceMultiTenantMessagingSettings extends MultiTenantMessagingSettings {
|
|
3
|
+
static ObjectStorageDeleted: HostingServiceMultiTenantMessagingSettings;
|
|
4
|
+
private constructor();
|
|
5
|
+
toString: () => string;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=hosting-service-multi-tenant-messaging-settings.d.ts.map
|
|
@@ -0,0 +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"}
|
package/dist/generated/config/payloads/hosting/hosting-service-multi-tenant-messaging-settings.js
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.HostingServiceMultiTenantMessagingSettings = void 0;
|
|
4
|
+
const mosaic_message_bus_abstractions_1 = require("@axinom/mosaic-message-bus-abstractions");
|
|
5
|
+
class HostingServiceMultiTenantMessagingSettings extends mosaic_message_bus_abstractions_1.MultiTenantMessagingSettings {
|
|
6
|
+
constructor(messageType, queue, routingKey, action, aggregateType) {
|
|
7
|
+
super('ax-hosting-service', messageType, queue, routingKey, action, aggregateType);
|
|
8
|
+
this.toString = () => {
|
|
9
|
+
return this.messageType;
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
HostingServiceMultiTenantMessagingSettings.ObjectStorageDeleted = new HostingServiceMultiTenantMessagingSettings('ObjectStorageDeleted', 'object_storage:deleted', '*.*.object_storage.deleted', 'event', 'object-storage');
|
|
14
|
+
exports.HostingServiceMultiTenantMessagingSettings = HostingServiceMultiTenantMessagingSettings;
|
|
15
|
+
//# sourceMappingURL=hosting-service-multi-tenant-messaging-settings.js.map
|
|
@@ -0,0 +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;IAS1F,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;;AAhBa,+DAAoB,GAAG,IAAI,0CAA0C,CACjF,sBAAsB,EACtB,wBAAwB,EACxB,4BAA4B,EAC5B,OAAO,EACP,gBAAgB,CACf,AAN+B,CAM9B;AAPO,gGAA0C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/generated/config/payloads/hosting/index.ts"],"names":[],"mappings":"AAAA,cAAc,sCAAsC,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/generated/config/payloads/hosting/index.ts"],"names":[],"mappings":"AAAA,cAAc,sCAAsC,CAAC;AACrD,cAAc,mDAAmD,CAAC"}
|
|
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./hosting-service-messaging-settings"), exports);
|
|
18
|
+
__exportStar(require("./hosting-service-multi-tenant-messaging-settings"), exports);
|
|
18
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/generated/config/payloads/hosting/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uEAAqD"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/generated/config/payloads/hosting/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uEAAqD;AACrD,oFAAkE"}
|
|
@@ -98,4 +98,45 @@ export declare const HostingServiceEnableFinishedEventSchema: {
|
|
|
98
98
|
};
|
|
99
99
|
};
|
|
100
100
|
};
|
|
101
|
+
export declare const ObjectStorageDeletedEventSchema: {
|
|
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
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -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":"AAMA,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,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA4B,CAAC"}
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.HostingServiceEnableFinishedEventSchema = exports.HostingServiceEnableFailedEventSchema = exports.HostingServiceDisableFinishedEventSchema = exports.HostingServiceDisableFailedEventSchema = void 0;
|
|
3
|
+
exports.ObjectStorageDeletedEventSchema = 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 ObjectStorageDeletedEvent = require("./object-storage-deleted-event.json");
|
|
8
9
|
exports.HostingServiceDisableFailedEventSchema = HostingServiceDisableFailedEvent;
|
|
9
10
|
exports.HostingServiceDisableFinishedEventSchema = HostingServiceDisableFinishedEvent;
|
|
10
11
|
exports.HostingServiceEnableFailedEventSchema = HostingServiceEnableFailedEvent;
|
|
11
12
|
exports.HostingServiceEnableFinishedEventSchema = HostingServiceEnableFinishedEvent;
|
|
13
|
+
exports.ObjectStorageDeletedEventSchema = ObjectStorageDeletedEvent;
|
|
12
14
|
//# 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;
|
|
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"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"title": "object_storage_deleted_event",
|
|
5
|
+
"description": "Object Storage Deleted 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
|
+
}
|
|
@@ -2,16 +2,19 @@ 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-deleted-event';
|
|
5
6
|
export declare enum HostingEventsSchemas {
|
|
6
7
|
HostingServiceDisableFailedEvent = "payloads/hosting/events/hosting-service-disable-failed-event.json",
|
|
7
8
|
HostingServiceDisableFinishedEvent = "payloads/hosting/events/hosting-service-disable-finished-event.json",
|
|
8
9
|
HostingServiceEnableFailedEvent = "payloads/hosting/events/hosting-service-enable-failed-event.json",
|
|
9
|
-
HostingServiceEnableFinishedEvent = "payloads/hosting/events/hosting-service-enable-finished-event.json"
|
|
10
|
+
HostingServiceEnableFinishedEvent = "payloads/hosting/events/hosting-service-enable-finished-event.json",
|
|
11
|
+
ObjectStorageDeletedEvent = "payloads/hosting/events/object-storage-deleted-event.json"
|
|
10
12
|
}
|
|
11
13
|
export declare enum HostingEventsTypes {
|
|
12
14
|
HostingServiceDisableFailedEvent = "HostingServiceDisableFailedEvent",
|
|
13
15
|
HostingServiceDisableFinishedEvent = "HostingServiceDisableFinishedEvent",
|
|
14
16
|
HostingServiceEnableFailedEvent = "HostingServiceEnableFailedEvent",
|
|
15
|
-
HostingServiceEnableFinishedEvent = "HostingServiceEnableFinishedEvent"
|
|
17
|
+
HostingServiceEnableFinishedEvent = "HostingServiceEnableFinishedEvent",
|
|
18
|
+
ObjectStorageDeletedEvent = "ObjectStorageDeletedEvent"
|
|
16
19
|
}
|
|
17
20
|
//# 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;
|
|
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"}
|
|
@@ -19,12 +19,14 @@ __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-deleted-event"), exports);
|
|
22
23
|
var HostingEventsSchemas;
|
|
23
24
|
(function (HostingEventsSchemas) {
|
|
24
25
|
HostingEventsSchemas["HostingServiceDisableFailedEvent"] = "payloads/hosting/events/hosting-service-disable-failed-event.json";
|
|
25
26
|
HostingEventsSchemas["HostingServiceDisableFinishedEvent"] = "payloads/hosting/events/hosting-service-disable-finished-event.json";
|
|
26
27
|
HostingEventsSchemas["HostingServiceEnableFailedEvent"] = "payloads/hosting/events/hosting-service-enable-failed-event.json";
|
|
27
28
|
HostingEventsSchemas["HostingServiceEnableFinishedEvent"] = "payloads/hosting/events/hosting-service-enable-finished-event.json";
|
|
29
|
+
HostingEventsSchemas["ObjectStorageDeletedEvent"] = "payloads/hosting/events/object-storage-deleted-event.json";
|
|
28
30
|
})(HostingEventsSchemas = exports.HostingEventsSchemas || (exports.HostingEventsSchemas = {}));
|
|
29
31
|
var HostingEventsTypes;
|
|
30
32
|
(function (HostingEventsTypes) {
|
|
@@ -32,5 +34,6 @@ var HostingEventsTypes;
|
|
|
32
34
|
HostingEventsTypes["HostingServiceDisableFinishedEvent"] = "HostingServiceDisableFinishedEvent";
|
|
33
35
|
HostingEventsTypes["HostingServiceEnableFailedEvent"] = "HostingServiceEnableFailedEvent";
|
|
34
36
|
HostingEventsTypes["HostingServiceEnableFinishedEvent"] = "HostingServiceEnableFinishedEvent";
|
|
37
|
+
HostingEventsTypes["ObjectStorageDeletedEvent"] = "ObjectStorageDeletedEvent";
|
|
35
38
|
})(HostingEventsTypes = exports.HostingEventsTypes || (exports.HostingEventsTypes = {}));
|
|
36
39
|
//# 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;
|
|
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,oBAMX;AAND,WAAY,oBAAoB;IAC9B,8HAAsG,CAAA;IACtG,kIAA0G,CAAA;IAC1G,4HAAoG,CAAA;IACpG,gIAAwG,CAAA;IACxG,+GAAuF,CAAA;AACzF,CAAC,EANW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAM/B;AAED,IAAY,kBAMX;AAND,WAAY,kBAAkB;IAC5B,2FAAqE,CAAA;IACrE,+FAAyE,CAAA;IACzE,yFAAmE,CAAA;IACnE,6FAAuE,CAAA;IACvE,6EAAuD,CAAA;AACzD,CAAC,EANW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAM7B"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ProviderType } from '../types/provider-type';
|
|
2
|
+
/**
|
|
3
|
+
* Object Storage Deleted event schema
|
|
4
|
+
*/
|
|
5
|
+
export interface ObjectStorageDeletedEvent {
|
|
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-deleted-event.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"object-storage-deleted-event.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/hosting/events/object-storage-deleted-event.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC;;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-deleted-event.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/hosting/events/object-storage-deleted-event.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/generated/types/payloads/hosting/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/generated/types/payloads/hosting/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC"}
|
|
@@ -16,4 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./commands"), exports);
|
|
18
18
|
__exportStar(require("./events"), exports);
|
|
19
|
+
__exportStar(require("./types"), exports);
|
|
19
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/generated/types/payloads/hosting/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,2CAAyB"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/generated/types/payloads/hosting/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,2CAAyB;AACzB,0CAAwB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/hosting/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./provider-type"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/hosting/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provider-type.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/hosting/types/provider-type.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,OAAO,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provider-type.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/hosting/types/provider-type.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@axinom/mosaic-messages",
|
|
3
|
-
"version": "0.40.0-rc.
|
|
3
|
+
"version": "0.40.0-rc.6",
|
|
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.30.0-rc.
|
|
33
|
-
"@axinom/mosaic-message-bus-abstractions": "^0.11.0-rc.
|
|
32
|
+
"@axinom/mosaic-cli": "^0.30.0-rc.6",
|
|
33
|
+
"@axinom/mosaic-message-bus-abstractions": "^0.11.0-rc.6",
|
|
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": "f5079839099fb11e8c13e7a813a5565844525677"
|
|
47
47
|
}
|
package/src/generated/config/payloads/hosting/hosting-service-multi-tenant-messaging-settings.ts
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { MultiTenantMessagingSettings } from '@axinom/mosaic-message-bus-abstractions';
|
|
2
|
+
|
|
3
|
+
export class HostingServiceMultiTenantMessagingSettings extends MultiTenantMessagingSettings {
|
|
4
|
+
public static ObjectStorageDeleted = new HostingServiceMultiTenantMessagingSettings(
|
|
5
|
+
'ObjectStorageDeleted',
|
|
6
|
+
'object_storage:deleted',
|
|
7
|
+
'*.*.object_storage.deleted',
|
|
8
|
+
'event',
|
|
9
|
+
'object-storage'
|
|
10
|
+
);
|
|
11
|
+
|
|
12
|
+
private constructor(
|
|
13
|
+
messageType: string,
|
|
14
|
+
queue: string,
|
|
15
|
+
routingKey: string,
|
|
16
|
+
action: 'command' | 'event',
|
|
17
|
+
aggregateType: string,
|
|
18
|
+
) {
|
|
19
|
+
super('ax-hosting-service', messageType, queue, routingKey, action, aggregateType);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
public override toString = (): string => {
|
|
23
|
+
return this.messageType;
|
|
24
|
+
};
|
|
25
|
+
}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export * from './hosting-service-messaging-settings';
|
|
1
|
+
export * from './hosting-service-messaging-settings';
|
|
2
|
+
export * from './hosting-service-multi-tenant-messaging-settings';
|
|
@@ -2,8 +2,10 @@ 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 ObjectStorageDeletedEvent from './object-storage-deleted-event.json';
|
|
5
6
|
|
|
6
7
|
export const HostingServiceDisableFailedEventSchema = HostingServiceDisableFailedEvent;
|
|
7
8
|
export const HostingServiceDisableFinishedEventSchema = HostingServiceDisableFinishedEvent;
|
|
8
9
|
export const HostingServiceEnableFailedEventSchema = HostingServiceEnableFailedEvent;
|
|
9
|
-
export const HostingServiceEnableFinishedEventSchema = HostingServiceEnableFinishedEvent;
|
|
10
|
+
export const HostingServiceEnableFinishedEventSchema = HostingServiceEnableFinishedEvent;
|
|
11
|
+
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_deleted_event",
|
|
5
|
+
"description": "Object Storage Deleted 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
|
+
}
|
|
@@ -2,17 +2,20 @@ 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-deleted-event';
|
|
5
6
|
|
|
6
7
|
export 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
|
-
HostingServiceEnableFinishedEvent = 'payloads/hosting/events/hosting-service-enable-finished-event.json'
|
|
11
|
+
HostingServiceEnableFinishedEvent = 'payloads/hosting/events/hosting-service-enable-finished-event.json',
|
|
12
|
+
ObjectStorageDeletedEvent = 'payloads/hosting/events/object-storage-deleted-event.json'
|
|
11
13
|
}
|
|
12
14
|
|
|
13
15
|
export enum HostingEventsTypes {
|
|
14
16
|
HostingServiceDisableFailedEvent = 'HostingServiceDisableFailedEvent',
|
|
15
17
|
HostingServiceDisableFinishedEvent = 'HostingServiceDisableFinishedEvent',
|
|
16
18
|
HostingServiceEnableFailedEvent = 'HostingServiceEnableFailedEvent',
|
|
17
|
-
HostingServiceEnableFinishedEvent = 'HostingServiceEnableFinishedEvent'
|
|
19
|
+
HostingServiceEnableFinishedEvent = 'HostingServiceEnableFinishedEvent',
|
|
20
|
+
ObjectStorageDeletedEvent = 'ObjectStorageDeletedEvent'
|
|
18
21
|
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ProviderType } from '../types/provider-type';
|
|
2
|
+
/**
|
|
3
|
+
* Object Storage Deleted event schema
|
|
4
|
+
*/
|
|
5
|
+
export interface ObjectStorageDeletedEvent {
|
|
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
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './provider-type';
|