@axinom/mosaic-messages 0.35.0-rc.0 → 0.35.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/admin/admin-service-messaging-settings.d.ts +2 -0
- package/dist/generated/config/payloads/admin/admin-service-messaging-settings.d.ts.map +1 -1
- package/dist/generated/config/payloads/admin/admin-service-messaging-settings.js +7 -5
- package/dist/generated/config/payloads/admin/admin-service-messaging-settings.js.map +1 -1
- package/dist/generated/config/payloads/ax-auth/ax-auth-messaging-settings.d.ts +2 -0
- package/dist/generated/config/payloads/ax-auth/ax-auth-messaging-settings.d.ts.map +1 -1
- package/dist/generated/config/payloads/ax-auth/ax-auth-messaging-settings.js +15 -13
- package/dist/generated/config/payloads/ax-auth/ax-auth-messaging-settings.js.map +1 -1
- package/dist/generated/config/payloads/billing/billing-service-messaging-settings.d.ts +2 -0
- package/dist/generated/config/payloads/billing/billing-service-messaging-settings.d.ts.map +1 -1
- package/dist/generated/config/payloads/billing/billing-service-messaging-settings.js +9 -7
- package/dist/generated/config/payloads/billing/billing-service-messaging-settings.js.map +1 -1
- package/dist/generated/config/payloads/billing/billing-service-multi-tenant-messaging-settings.d.ts +2 -0
- package/dist/generated/config/payloads/billing/billing-service-multi-tenant-messaging-settings.d.ts.map +1 -1
- package/dist/generated/config/payloads/billing/billing-service-multi-tenant-messaging-settings.js +7 -5
- package/dist/generated/config/payloads/billing/billing-service-multi-tenant-messaging-settings.js.map +1 -1
- package/dist/generated/config/payloads/channel/channel-service-messaging-settings.d.ts +2 -0
- package/dist/generated/config/payloads/channel/channel-service-messaging-settings.d.ts.map +1 -1
- package/dist/generated/config/payloads/channel/channel-service-messaging-settings.js +9 -7
- package/dist/generated/config/payloads/channel/channel-service-messaging-settings.js.map +1 -1
- package/dist/generated/config/payloads/channel/channel-service-multi-tenant-messaging-settings.d.ts +2 -0
- package/dist/generated/config/payloads/channel/channel-service-multi-tenant-messaging-settings.d.ts.map +1 -1
- package/dist/generated/config/payloads/channel/channel-service-multi-tenant-messaging-settings.js +8 -6
- package/dist/generated/config/payloads/channel/channel-service-multi-tenant-messaging-settings.js.map +1 -1
- package/dist/generated/config/payloads/hosting/hosting-service-messaging-settings.d.ts +2 -0
- package/dist/generated/config/payloads/hosting/hosting-service-messaging-settings.d.ts.map +1 -1
- package/dist/generated/config/payloads/hosting/hosting-service-messaging-settings.js +12 -10
- package/dist/generated/config/payloads/hosting/hosting-service-messaging-settings.js.map +1 -1
- package/dist/generated/config/payloads/id/id-service-messaging-settings.d.ts +2 -0
- package/dist/generated/config/payloads/id/id-service-messaging-settings.d.ts.map +1 -1
- package/dist/generated/config/payloads/id/id-service-messaging-settings.js +9 -7
- package/dist/generated/config/payloads/id/id-service-messaging-settings.js.map +1 -1
- package/dist/generated/config/payloads/id/id-service-multi-tenant-messaging-settings.d.ts +2 -0
- package/dist/generated/config/payloads/id/id-service-multi-tenant-messaging-settings.d.ts.map +1 -1
- package/dist/generated/config/payloads/id/id-service-multi-tenant-messaging-settings.js +13 -11
- package/dist/generated/config/payloads/id/id-service-multi-tenant-messaging-settings.js.map +1 -1
- package/dist/generated/config/payloads/image/image-service-messaging-settings.d.ts +2 -0
- package/dist/generated/config/payloads/image/image-service-messaging-settings.d.ts.map +1 -1
- package/dist/generated/config/payloads/image/image-service-messaging-settings.js +9 -7
- package/dist/generated/config/payloads/image/image-service-messaging-settings.js.map +1 -1
- package/dist/generated/config/payloads/image/image-service-multi-tenant-messaging-settings.d.ts +2 -0
- package/dist/generated/config/payloads/image/image-service-multi-tenant-messaging-settings.d.ts.map +1 -1
- package/dist/generated/config/payloads/image/image-service-multi-tenant-messaging-settings.js +13 -11
- package/dist/generated/config/payloads/image/image-service-multi-tenant-messaging-settings.js.map +1 -1
- package/dist/generated/config/payloads/localization/localization-service-messaging-settings.d.ts +2 -0
- package/dist/generated/config/payloads/localization/localization-service-messaging-settings.d.ts.map +1 -1
- package/dist/generated/config/payloads/localization/localization-service-messaging-settings.js +9 -7
- package/dist/generated/config/payloads/localization/localization-service-messaging-settings.js.map +1 -1
- package/dist/generated/config/payloads/localization/localization-service-multi-tenant-messaging-settings.d.ts +2 -0
- package/dist/generated/config/payloads/localization/localization-service-multi-tenant-messaging-settings.d.ts.map +1 -1
- package/dist/generated/config/payloads/localization/localization-service-multi-tenant-messaging-settings.js +15 -13
- package/dist/generated/config/payloads/localization/localization-service-multi-tenant-messaging-settings.js.map +1 -1
- package/dist/generated/config/payloads/micro-frontend/micro-frontend-messaging-settings.d.ts +2 -0
- package/dist/generated/config/payloads/micro-frontend/micro-frontend-messaging-settings.d.ts.map +1 -1
- package/dist/generated/config/payloads/micro-frontend/micro-frontend-messaging-settings.js +15 -13
- package/dist/generated/config/payloads/micro-frontend/micro-frontend-messaging-settings.js.map +1 -1
- package/dist/generated/config/payloads/monetization-grants/monetization-grants-service-messaging-settings.d.ts +2 -0
- package/dist/generated/config/payloads/monetization-grants/monetization-grants-service-messaging-settings.d.ts.map +1 -1
- package/dist/generated/config/payloads/monetization-grants/monetization-grants-service-messaging-settings.js +9 -7
- package/dist/generated/config/payloads/monetization-grants/monetization-grants-service-messaging-settings.js.map +1 -1
- package/dist/generated/config/payloads/monetization-grants/monetization-grants-service-multi-tenant-messaging-settings.d.ts +4 -2
- package/dist/generated/config/payloads/monetization-grants/monetization-grants-service-multi-tenant-messaging-settings.d.ts.map +1 -1
- package/dist/generated/config/payloads/monetization-grants/monetization-grants-service-multi-tenant-messaging-settings.js +9 -7
- package/dist/generated/config/payloads/monetization-grants/monetization-grants-service-multi-tenant-messaging-settings.js.map +1 -1
- package/dist/generated/config/payloads/personalization/personalization-service-messaging-settings.d.ts +2 -0
- package/dist/generated/config/payloads/personalization/personalization-service-messaging-settings.d.ts.map +1 -1
- package/dist/generated/config/payloads/personalization/personalization-service-messaging-settings.js +9 -7
- package/dist/generated/config/payloads/personalization/personalization-service-messaging-settings.js.map +1 -1
- package/dist/generated/config/payloads/portal-service/portal-service-messaging-settings.d.ts +2 -0
- package/dist/generated/config/payloads/portal-service/portal-service-messaging-settings.d.ts.map +1 -1
- package/dist/generated/config/payloads/portal-service/portal-service-messaging-settings.js +9 -7
- package/dist/generated/config/payloads/portal-service/portal-service-messaging-settings.js.map +1 -1
- package/dist/generated/config/payloads/sdu/sdu-service-messaging-settings.d.ts +2 -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 +33 -31
- package/dist/generated/config/payloads/sdu/sdu-service-messaging-settings.js.map +1 -1
- package/dist/generated/config/payloads/subscription-monetization/subscription-monetization-service-messaging-settings.d.ts +2 -0
- package/dist/generated/config/payloads/subscription-monetization/subscription-monetization-service-messaging-settings.d.ts.map +1 -1
- package/dist/generated/config/payloads/subscription-monetization/subscription-monetization-service-messaging-settings.js +9 -7
- package/dist/generated/config/payloads/subscription-monetization/subscription-monetization-service-messaging-settings.js.map +1 -1
- package/dist/generated/config/payloads/subscription-monetization/subscription-monetization-service-multi-tenant-messaging-settings.d.ts +2 -0
- package/dist/generated/config/payloads/subscription-monetization/subscription-monetization-service-multi-tenant-messaging-settings.d.ts.map +1 -1
- package/dist/generated/config/payloads/subscription-monetization/subscription-monetization-service-multi-tenant-messaging-settings.js +5 -3
- package/dist/generated/config/payloads/subscription-monetization/subscription-monetization-service-multi-tenant-messaging-settings.js.map +1 -1
- package/dist/generated/config/payloads/user/user-service-messaging-settings.d.ts +2 -0
- package/dist/generated/config/payloads/user/user-service-messaging-settings.d.ts.map +1 -1
- package/dist/generated/config/payloads/user/user-service-messaging-settings.js +11 -9
- package/dist/generated/config/payloads/user/user-service-messaging-settings.js.map +1 -1
- package/dist/generated/config/payloads/video/video-service-messaging-settings.d.ts +2 -0
- package/dist/generated/config/payloads/video/video-service-messaging-settings.d.ts.map +1 -1
- package/dist/generated/config/payloads/video/video-service-messaging-settings.js +10 -8
- package/dist/generated/config/payloads/video/video-service-messaging-settings.js.map +1 -1
- package/dist/generated/config/payloads/video/video-service-multi-tenant-messaging-settings.d.ts +2 -0
- package/dist/generated/config/payloads/video/video-service-multi-tenant-messaging-settings.d.ts.map +1 -1
- package/dist/generated/config/payloads/video/video-service-multi-tenant-messaging-settings.js +18 -16
- package/dist/generated/config/payloads/video/video-service-multi-tenant-messaging-settings.js.map +1 -1
- package/package.json +4 -4
- package/src/generated/config/payloads/admin/admin-service-messaging-settings.ts +14 -4
- package/src/generated/config/payloads/ax-auth/ax-auth-messaging-settings.ts +38 -12
- package/src/generated/config/payloads/billing/billing-service-messaging-settings.ts +20 -6
- package/src/generated/config/payloads/billing/billing-service-multi-tenant-messaging-settings.ts +12 -4
- package/src/generated/config/payloads/channel/channel-service-messaging-settings.ts +22 -8
- package/src/generated/config/payloads/channel/channel-service-multi-tenant-messaging-settings.ts +15 -5
- package/src/generated/config/payloads/hosting/hosting-service-messaging-settings.ts +29 -9
- package/src/generated/config/payloads/id/id-service-messaging-settings.ts +20 -6
- package/src/generated/config/payloads/id/id-service-multi-tenant-messaging-settings.ts +30 -10
- package/src/generated/config/payloads/image/image-service-messaging-settings.ts +20 -6
- package/src/generated/config/payloads/image/image-service-multi-tenant-messaging-settings.ts +30 -10
- package/src/generated/config/payloads/localization/localization-service-messaging-settings.ts +20 -6
- package/src/generated/config/payloads/localization/localization-service-multi-tenant-messaging-settings.ts +36 -12
- package/src/generated/config/payloads/micro-frontend/micro-frontend-messaging-settings.ts +38 -12
- package/src/generated/config/payloads/monetization-grants/monetization-grants-service-messaging-settings.ts +20 -6
- package/src/generated/config/payloads/monetization-grants/monetization-grants-service-multi-tenant-messaging-settings.ts +26 -14
- package/src/generated/config/payloads/personalization/personalization-service-messaging-settings.ts +20 -6
- package/src/generated/config/payloads/portal-service/portal-service-messaging-settings.ts +20 -6
- package/src/generated/config/payloads/sdu/sdu-service-messaging-settings.ts +92 -30
- package/src/generated/config/payloads/subscription-monetization/subscription-monetization-service-messaging-settings.ts +20 -6
- package/src/generated/config/payloads/subscription-monetization/subscription-monetization-service-multi-tenant-messaging-settings.ts +6 -2
- package/src/generated/config/payloads/user/user-service-messaging-settings.ts +26 -8
- package/src/generated/config/payloads/video/video-service-messaging-settings.ts +23 -7
- package/src/generated/config/payloads/video/video-service-multi-tenant-messaging-settings.ts +45 -15
|
@@ -4,22 +4,30 @@ export class AdminServiceMessagingSettings implements MessagingSettings {
|
|
|
4
4
|
public static ExecuteAsyncWrapperStep = new AdminServiceMessagingSettings(
|
|
5
5
|
'ExecuteAsyncWrapperStep',
|
|
6
6
|
'async_wrapper_step:execute',
|
|
7
|
-
'async_wrapper_step.execute'
|
|
7
|
+
'async_wrapper_step.execute',
|
|
8
|
+
'command',
|
|
9
|
+
'step'
|
|
8
10
|
);
|
|
9
11
|
public static ExecuteAsyncWrapperStepFinished = new AdminServiceMessagingSettings(
|
|
10
12
|
'ExecuteAsyncWrapperStepFinished',
|
|
11
13
|
'async_wrapper_step:execute_finished',
|
|
12
|
-
'async_wrapper_step.execute_finished'
|
|
14
|
+
'async_wrapper_step.execute_finished',
|
|
15
|
+
'event',
|
|
16
|
+
'step'
|
|
13
17
|
);
|
|
14
18
|
public static ExecuteAsyncWrapperStepFailed = new AdminServiceMessagingSettings(
|
|
15
19
|
'ExecuteAsyncWrapperStepFailed',
|
|
16
20
|
'async_wrapper_step:execute_failed',
|
|
17
|
-
'async_wrapper_step.execute_failed'
|
|
21
|
+
'async_wrapper_step.execute_failed',
|
|
22
|
+
'event',
|
|
23
|
+
'step'
|
|
18
24
|
);
|
|
19
25
|
public static EnvironmentCreated = new AdminServiceMessagingSettings(
|
|
20
26
|
'EnvironmentCreated',
|
|
21
27
|
'environment:created',
|
|
22
|
-
'environment.created'
|
|
28
|
+
'environment.created',
|
|
29
|
+
'event',
|
|
30
|
+
'environment'
|
|
23
31
|
);
|
|
24
32
|
|
|
25
33
|
public readonly serviceId = 'ax-id-service';
|
|
@@ -28,6 +36,8 @@ export class AdminServiceMessagingSettings implements MessagingSettings {
|
|
|
28
36
|
public readonly messageType: string,
|
|
29
37
|
public readonly queue: string,
|
|
30
38
|
public readonly routingKey: string,
|
|
39
|
+
public readonly action: 'command' | 'event',
|
|
40
|
+
public readonly aggregateType: string,
|
|
31
41
|
) {
|
|
32
42
|
|
|
33
43
|
}
|
|
@@ -4,62 +4,86 @@ export class AxAuthMessagingSettings implements MessagingSettings {
|
|
|
4
4
|
public static AxAuthServiceEnable = new AxAuthMessagingSettings(
|
|
5
5
|
'AxAuthServiceEnable',
|
|
6
6
|
'service:enable',
|
|
7
|
-
'ax_auth_service.enable'
|
|
7
|
+
'ax_auth_service.enable',
|
|
8
|
+
'command',
|
|
9
|
+
'environment'
|
|
8
10
|
);
|
|
9
11
|
public static AxAuthServiceDisable = new AxAuthMessagingSettings(
|
|
10
12
|
'AxAuthServiceDisable',
|
|
11
13
|
'service:disable',
|
|
12
|
-
'ax_auth_service.disable'
|
|
14
|
+
'ax_auth_service.disable',
|
|
15
|
+
'command',
|
|
16
|
+
'environment'
|
|
13
17
|
);
|
|
14
18
|
public static AxAuthCreateUser = new AxAuthMessagingSettings(
|
|
15
19
|
'AxAuthCreateUser',
|
|
16
20
|
'user:create',
|
|
17
|
-
'user.create'
|
|
21
|
+
'user.create',
|
|
22
|
+
'command',
|
|
23
|
+
'user'
|
|
18
24
|
);
|
|
19
25
|
public static UpdateOAuthRegistration = new AxAuthMessagingSettings(
|
|
20
26
|
'UpdateOAuthRegistration',
|
|
21
27
|
'oauth_registration:update',
|
|
22
|
-
'oauth_registration.update'
|
|
28
|
+
'oauth_registration.update',
|
|
29
|
+
'command',
|
|
30
|
+
'user'
|
|
23
31
|
);
|
|
24
32
|
public static AxAuthServiceEnableFinished = new AxAuthMessagingSettings(
|
|
25
33
|
'AxAuthServiceEnableFinished',
|
|
26
34
|
'ax_auth_service:enable_finished',
|
|
27
|
-
'ax_auth_service.enable_finished'
|
|
35
|
+
'ax_auth_service.enable_finished',
|
|
36
|
+
'event',
|
|
37
|
+
'environment'
|
|
28
38
|
);
|
|
29
39
|
public static AxAuthServiceEnableFailed = new AxAuthMessagingSettings(
|
|
30
40
|
'AxAuthServiceEnableFailed',
|
|
31
41
|
'ax_auth_service:enable_failed',
|
|
32
|
-
'ax_auth_service.enable_failed'
|
|
42
|
+
'ax_auth_service.enable_failed',
|
|
43
|
+
'event',
|
|
44
|
+
'environment'
|
|
33
45
|
);
|
|
34
46
|
public static AxAuthServiceDisableFinished = new AxAuthMessagingSettings(
|
|
35
47
|
'AxAuthServiceDisableFinished',
|
|
36
48
|
'ax_auth_service:disable_finished',
|
|
37
|
-
'ax_auth_service.disable_finished'
|
|
49
|
+
'ax_auth_service.disable_finished',
|
|
50
|
+
'event',
|
|
51
|
+
'environment'
|
|
38
52
|
);
|
|
39
53
|
public static AxAuthServiceDisableFailed = new AxAuthMessagingSettings(
|
|
40
54
|
'AxAuthServiceDisableFailed',
|
|
41
55
|
'ax_auth_service:disable_failed',
|
|
42
|
-
'ax_auth_service.disable_failed'
|
|
56
|
+
'ax_auth_service.disable_failed',
|
|
57
|
+
'event',
|
|
58
|
+
'environment'
|
|
43
59
|
);
|
|
44
60
|
public static AxAuthCreateUserFinished = new AxAuthMessagingSettings(
|
|
45
61
|
'AxAuthCreateUserFinished',
|
|
46
62
|
'ax_auth_user:create_finished',
|
|
47
|
-
'ax_auth_user.create_finished'
|
|
63
|
+
'ax_auth_user.create_finished',
|
|
64
|
+
'event',
|
|
65
|
+
'user'
|
|
48
66
|
);
|
|
49
67
|
public static AxAuthCreateUserFailed = new AxAuthMessagingSettings(
|
|
50
68
|
'AxAuthCreateUserFailed',
|
|
51
69
|
'ax_auth_user:create_failed',
|
|
52
|
-
'ax_auth_user.create_failed'
|
|
70
|
+
'ax_auth_user.create_failed',
|
|
71
|
+
'event',
|
|
72
|
+
'user'
|
|
53
73
|
);
|
|
54
74
|
public static UpdateOAuthRegistrationFinished = new AxAuthMessagingSettings(
|
|
55
75
|
'UpdateOAuthRegistrationFinished',
|
|
56
76
|
'oauth_registration:update_finished',
|
|
57
|
-
'oauth_registration.update_finished'
|
|
77
|
+
'oauth_registration.update_finished',
|
|
78
|
+
'event',
|
|
79
|
+
'user'
|
|
58
80
|
);
|
|
59
81
|
public static UpdateOAuthRegistrationFailed = new AxAuthMessagingSettings(
|
|
60
82
|
'UpdateOAuthRegistrationFailed',
|
|
61
83
|
'oauth_registration:update_failed',
|
|
62
|
-
'oauth_registration.update_failed'
|
|
84
|
+
'oauth_registration.update_failed',
|
|
85
|
+
'event',
|
|
86
|
+
'user'
|
|
63
87
|
);
|
|
64
88
|
|
|
65
89
|
public readonly serviceId = 'ax-auth-service';
|
|
@@ -68,6 +92,8 @@ export class AxAuthMessagingSettings implements MessagingSettings {
|
|
|
68
92
|
public readonly messageType: string,
|
|
69
93
|
public readonly queue: string,
|
|
70
94
|
public readonly routingKey: string,
|
|
95
|
+
public readonly action: 'command' | 'event',
|
|
96
|
+
public readonly aggregateType: string,
|
|
71
97
|
) {
|
|
72
98
|
|
|
73
99
|
}
|
|
@@ -4,32 +4,44 @@ export class BillingServiceMessagingSettings implements MessagingSettings {
|
|
|
4
4
|
public static BillingServiceEnable = new BillingServiceMessagingSettings(
|
|
5
5
|
'BillingServiceEnable',
|
|
6
6
|
'service:enable',
|
|
7
|
-
'billing_service.enable'
|
|
7
|
+
'billing_service.enable',
|
|
8
|
+
'command',
|
|
9
|
+
'environment'
|
|
8
10
|
);
|
|
9
11
|
public static BillingServiceDisable = new BillingServiceMessagingSettings(
|
|
10
12
|
'BillingServiceDisable',
|
|
11
13
|
'service:disable',
|
|
12
|
-
'billing_service.disable'
|
|
14
|
+
'billing_service.disable',
|
|
15
|
+
'command',
|
|
16
|
+
'environment'
|
|
13
17
|
);
|
|
14
18
|
public static BillingServiceEnableFinished = new BillingServiceMessagingSettings(
|
|
15
19
|
'BillingServiceEnableFinished',
|
|
16
20
|
'billing_service:enable_finished',
|
|
17
|
-
'billing_service.enable_finished'
|
|
21
|
+
'billing_service.enable_finished',
|
|
22
|
+
'event',
|
|
23
|
+
'environment'
|
|
18
24
|
);
|
|
19
25
|
public static BillingServiceEnableFailed = new BillingServiceMessagingSettings(
|
|
20
26
|
'BillingServiceEnableFailed',
|
|
21
27
|
'billing_service:enable_failed',
|
|
22
|
-
'billing_service.enable_failed'
|
|
28
|
+
'billing_service.enable_failed',
|
|
29
|
+
'event',
|
|
30
|
+
'environment'
|
|
23
31
|
);
|
|
24
32
|
public static BillingServiceDisableFinished = new BillingServiceMessagingSettings(
|
|
25
33
|
'BillingServiceDisableFinished',
|
|
26
34
|
'billing_service:disable_finished',
|
|
27
|
-
'billing_service.disable_finished'
|
|
35
|
+
'billing_service.disable_finished',
|
|
36
|
+
'event',
|
|
37
|
+
'environment'
|
|
28
38
|
);
|
|
29
39
|
public static BillingServiceDisableFailed = new BillingServiceMessagingSettings(
|
|
30
40
|
'BillingServiceDisableFailed',
|
|
31
41
|
'billing_service:disable_failed',
|
|
32
|
-
'billing_service.disable_failed'
|
|
42
|
+
'billing_service.disable_failed',
|
|
43
|
+
'event',
|
|
44
|
+
'environment'
|
|
33
45
|
);
|
|
34
46
|
|
|
35
47
|
public readonly serviceId = 'ax-billing-service';
|
|
@@ -38,6 +50,8 @@ export class BillingServiceMessagingSettings implements MessagingSettings {
|
|
|
38
50
|
public readonly messageType: string,
|
|
39
51
|
public readonly queue: string,
|
|
40
52
|
public readonly routingKey: string,
|
|
53
|
+
public readonly action: 'command' | 'event',
|
|
54
|
+
public readonly aggregateType: string,
|
|
41
55
|
) {
|
|
42
56
|
|
|
43
57
|
}
|
package/src/generated/config/payloads/billing/billing-service-multi-tenant-messaging-settings.ts
CHANGED
|
@@ -4,25 +4,33 @@ export class BillingServiceMultiTenantMessagingSettings extends MultiTenantMessa
|
|
|
4
4
|
public static PaymentProviderEnabled = new BillingServiceMultiTenantMessagingSettings(
|
|
5
5
|
'PaymentProviderEnabled',
|
|
6
6
|
'payment_provider:enabled',
|
|
7
|
-
'*.*.payment_provider.enabled'
|
|
7
|
+
'*.*.payment_provider.enabled',
|
|
8
|
+
'event',
|
|
9
|
+
'payment-provider'
|
|
8
10
|
);
|
|
9
11
|
public static PaymentProviderDisabled = new BillingServiceMultiTenantMessagingSettings(
|
|
10
12
|
'PaymentProviderDisabled',
|
|
11
13
|
'payment_provider:disabled',
|
|
12
|
-
'*.*.payment_provider.disabled'
|
|
14
|
+
'*.*.payment_provider.disabled',
|
|
15
|
+
'event',
|
|
16
|
+
'payment-provider'
|
|
13
17
|
);
|
|
14
18
|
public static PaymentProviderChanged = new BillingServiceMultiTenantMessagingSettings(
|
|
15
19
|
'PaymentProviderChanged',
|
|
16
20
|
'payment_provider:changed',
|
|
17
|
-
'*.*.payment_provider.changed'
|
|
21
|
+
'*.*.payment_provider.changed',
|
|
22
|
+
'event',
|
|
23
|
+
'payment-provider'
|
|
18
24
|
);
|
|
19
25
|
|
|
20
26
|
private constructor(
|
|
21
27
|
public readonly messageType: string,
|
|
22
28
|
public readonly queue: string,
|
|
23
29
|
public readonly routingKey: string,
|
|
30
|
+
public readonly action: 'command' | 'event',
|
|
31
|
+
public readonly aggregateType: string,
|
|
24
32
|
) {
|
|
25
|
-
super('ax-billing-service', messageType, queue, routingKey);
|
|
33
|
+
super('ax-billing-service', messageType, queue, routingKey, action, aggregateType);
|
|
26
34
|
}
|
|
27
35
|
|
|
28
36
|
public toString = (): string => {
|
|
@@ -3,33 +3,45 @@ import { MessagingSettings } from '@axinom/mosaic-message-bus-abstractions';
|
|
|
3
3
|
export class ChannelServiceMessagingSettings implements MessagingSettings {
|
|
4
4
|
public static ChannelServiceEnable = new ChannelServiceMessagingSettings(
|
|
5
5
|
'ChannelServiceEnable',
|
|
6
|
-
'
|
|
7
|
-
'channel_service.enable'
|
|
6
|
+
'inbox',
|
|
7
|
+
'channel_service.enable',
|
|
8
|
+
'command',
|
|
9
|
+
'environment'
|
|
8
10
|
);
|
|
9
11
|
public static ChannelServiceDisable = new ChannelServiceMessagingSettings(
|
|
10
12
|
'ChannelServiceDisable',
|
|
11
|
-
'
|
|
12
|
-
'channel_service.disable'
|
|
13
|
+
'inbox',
|
|
14
|
+
'channel_service.disable',
|
|
15
|
+
'command',
|
|
16
|
+
'environment'
|
|
13
17
|
);
|
|
14
18
|
public static ChannelServiceEnableFinished = new ChannelServiceMessagingSettings(
|
|
15
19
|
'ChannelServiceEnableFinished',
|
|
16
20
|
'channel_service:enable_finished',
|
|
17
|
-
'channel_service.enable_finished'
|
|
21
|
+
'channel_service.enable_finished',
|
|
22
|
+
'event',
|
|
23
|
+
'environment'
|
|
18
24
|
);
|
|
19
25
|
public static ChannelServiceEnableFailed = new ChannelServiceMessagingSettings(
|
|
20
26
|
'ChannelServiceEnableFailed',
|
|
21
27
|
'channel_service:enable_failed',
|
|
22
|
-
'channel_service.enable_failed'
|
|
28
|
+
'channel_service.enable_failed',
|
|
29
|
+
'event',
|
|
30
|
+
'environment'
|
|
23
31
|
);
|
|
24
32
|
public static ChannelServiceDisableFinished = new ChannelServiceMessagingSettings(
|
|
25
33
|
'ChannelServiceDisableFinished',
|
|
26
34
|
'channel_service:disable_finished',
|
|
27
|
-
'channel_service.disable_finished'
|
|
35
|
+
'channel_service.disable_finished',
|
|
36
|
+
'event',
|
|
37
|
+
'environment'
|
|
28
38
|
);
|
|
29
39
|
public static ChannelServiceDisableFailed = new ChannelServiceMessagingSettings(
|
|
30
40
|
'ChannelServiceDisableFailed',
|
|
31
41
|
'channel_service:disable_failed',
|
|
32
|
-
'channel_service.disable_failed'
|
|
42
|
+
'channel_service.disable_failed',
|
|
43
|
+
'event',
|
|
44
|
+
'environment'
|
|
33
45
|
);
|
|
34
46
|
|
|
35
47
|
public readonly serviceId = 'ax-channel-service';
|
|
@@ -38,6 +50,8 @@ export class ChannelServiceMessagingSettings implements MessagingSettings {
|
|
|
38
50
|
public readonly messageType: string,
|
|
39
51
|
public readonly queue: string,
|
|
40
52
|
public readonly routingKey: string,
|
|
53
|
+
public readonly action: 'command' | 'event',
|
|
54
|
+
public readonly aggregateType: string,
|
|
41
55
|
) {
|
|
42
56
|
|
|
43
57
|
}
|
package/src/generated/config/payloads/channel/channel-service-multi-tenant-messaging-settings.ts
CHANGED
|
@@ -4,30 +4,40 @@ export class ChannelServiceMultiTenantMessagingSettings extends MultiTenantMessa
|
|
|
4
4
|
public static ChannelPublished = new ChannelServiceMultiTenantMessagingSettings(
|
|
5
5
|
'ChannelPublished',
|
|
6
6
|
'channel:published',
|
|
7
|
-
'*.*.channel.published'
|
|
7
|
+
'*.*.channel.published',
|
|
8
|
+
'event',
|
|
9
|
+
'channel'
|
|
8
10
|
);
|
|
9
11
|
public static ChannelUnpublished = new ChannelServiceMultiTenantMessagingSettings(
|
|
10
12
|
'ChannelUnpublished',
|
|
11
13
|
'channel:unpublished',
|
|
12
|
-
'*.*.channel.unpublished'
|
|
14
|
+
'*.*.channel.unpublished',
|
|
15
|
+
'event',
|
|
16
|
+
'channel'
|
|
13
17
|
);
|
|
14
18
|
public static PlaylistPublished = new ChannelServiceMultiTenantMessagingSettings(
|
|
15
19
|
'PlaylistPublished',
|
|
16
20
|
'playlist:published',
|
|
17
|
-
'*.*.playlist.published'
|
|
21
|
+
'*.*.playlist.published',
|
|
22
|
+
'event',
|
|
23
|
+
'playlist'
|
|
18
24
|
);
|
|
19
25
|
public static PlaylistUnpublished = new ChannelServiceMultiTenantMessagingSettings(
|
|
20
26
|
'PlaylistUnpublished',
|
|
21
27
|
'playlist:unpublished',
|
|
22
|
-
'*.*.playlist.unpublished'
|
|
28
|
+
'*.*.playlist.unpublished',
|
|
29
|
+
'event',
|
|
30
|
+
'playlist'
|
|
23
31
|
);
|
|
24
32
|
|
|
25
33
|
private constructor(
|
|
26
34
|
public readonly messageType: string,
|
|
27
35
|
public readonly queue: string,
|
|
28
36
|
public readonly routingKey: string,
|
|
37
|
+
public readonly action: 'command' | 'event',
|
|
38
|
+
public readonly aggregateType: string,
|
|
29
39
|
) {
|
|
30
|
-
super('ax-channel-service', messageType, queue, routingKey);
|
|
40
|
+
super('ax-channel-service', messageType, queue, routingKey, action, aggregateType);
|
|
31
41
|
}
|
|
32
42
|
|
|
33
43
|
public toString = (): string => {
|
|
@@ -4,47 +4,65 @@ export class HostingServiceMessagingSettings implements MessagingSettings {
|
|
|
4
4
|
public static HostingServiceEnable = new HostingServiceMessagingSettings(
|
|
5
5
|
'HostingServiceEnable',
|
|
6
6
|
'service:enable',
|
|
7
|
-
'hosting_service.enable'
|
|
7
|
+
'hosting_service.enable',
|
|
8
|
+
'command',
|
|
9
|
+
'environment'
|
|
8
10
|
);
|
|
9
11
|
public static HostingServiceDisable = new HostingServiceMessagingSettings(
|
|
10
12
|
'HostingServiceDisable',
|
|
11
13
|
'service:disable',
|
|
12
|
-
'hosting_service.disable'
|
|
14
|
+
'hosting_service.disable',
|
|
15
|
+
'command',
|
|
16
|
+
'environment'
|
|
13
17
|
);
|
|
14
18
|
public static EnsureServiceResourcesExist = new HostingServiceMessagingSettings(
|
|
15
19
|
'EnsureServiceResourcesExist',
|
|
16
20
|
'ensure_service_resources_exist_command:start',
|
|
17
|
-
'ensure_service_resources_exist_command.start'
|
|
21
|
+
'ensure_service_resources_exist_command.start',
|
|
22
|
+
'command',
|
|
23
|
+
'resource'
|
|
18
24
|
);
|
|
19
25
|
public static DeployServiceStart = new HostingServiceMessagingSettings(
|
|
20
26
|
'DeployServiceStart',
|
|
21
27
|
'hosting_service_deploy_service:start',
|
|
22
|
-
'hosting_service_deploy_service.start'
|
|
28
|
+
'hosting_service_deploy_service.start',
|
|
29
|
+
'command',
|
|
30
|
+
'service'
|
|
23
31
|
);
|
|
24
32
|
public static UndeployServiceStart = new HostingServiceMessagingSettings(
|
|
25
33
|
'UndeployServiceStart',
|
|
26
34
|
'hosting_service_undeploy_service:start',
|
|
27
|
-
'hosting_service_undeploy_service.start'
|
|
35
|
+
'hosting_service_undeploy_service.start',
|
|
36
|
+
'command',
|
|
37
|
+
'service'
|
|
28
38
|
);
|
|
29
39
|
public static HostingServiceEnableFinished = new HostingServiceMessagingSettings(
|
|
30
40
|
'HostingServiceEnableFinished',
|
|
31
41
|
'hosting_service:enable_finished',
|
|
32
|
-
'hosting_service.enable_finished'
|
|
42
|
+
'hosting_service.enable_finished',
|
|
43
|
+
'event',
|
|
44
|
+
'environment'
|
|
33
45
|
);
|
|
34
46
|
public static HostingServiceEnableFailed = new HostingServiceMessagingSettings(
|
|
35
47
|
'HostingServiceEnableFailed',
|
|
36
48
|
'hosting_service:enable_failed',
|
|
37
|
-
'hosting_service.enable_failed'
|
|
49
|
+
'hosting_service.enable_failed',
|
|
50
|
+
'event',
|
|
51
|
+
'environment'
|
|
38
52
|
);
|
|
39
53
|
public static HostingServiceDisableFinished = new HostingServiceMessagingSettings(
|
|
40
54
|
'HostingServiceDisableFinished',
|
|
41
55
|
'hosting_service:disable_finished',
|
|
42
|
-
'hosting_service.disable_finished'
|
|
56
|
+
'hosting_service.disable_finished',
|
|
57
|
+
'event',
|
|
58
|
+
'environment'
|
|
43
59
|
);
|
|
44
60
|
public static HostingServiceDisableFailed = new HostingServiceMessagingSettings(
|
|
45
61
|
'HostingServiceDisableFailed',
|
|
46
62
|
'hosting_service:disable_failed',
|
|
47
|
-
'hosting_service.disable_failed'
|
|
63
|
+
'hosting_service.disable_failed',
|
|
64
|
+
'event',
|
|
65
|
+
'environment'
|
|
48
66
|
);
|
|
49
67
|
|
|
50
68
|
public readonly serviceId = 'ax-hosting-service';
|
|
@@ -53,6 +71,8 @@ export class HostingServiceMessagingSettings implements MessagingSettings {
|
|
|
53
71
|
public readonly messageType: string,
|
|
54
72
|
public readonly queue: string,
|
|
55
73
|
public readonly routingKey: string,
|
|
74
|
+
public readonly action: 'command' | 'event',
|
|
75
|
+
public readonly aggregateType: string,
|
|
56
76
|
) {
|
|
57
77
|
|
|
58
78
|
}
|
|
@@ -4,32 +4,44 @@ export class IdServiceMessagingSettings implements MessagingSettings {
|
|
|
4
4
|
public static IdServiceEnable = new IdServiceMessagingSettings(
|
|
5
5
|
'IdServiceEnable',
|
|
6
6
|
'service:enable',
|
|
7
|
-
'id_service.enable'
|
|
7
|
+
'id_service.enable',
|
|
8
|
+
'command',
|
|
9
|
+
'environment'
|
|
8
10
|
);
|
|
9
11
|
public static IdServiceDisable = new IdServiceMessagingSettings(
|
|
10
12
|
'IdServiceDisable',
|
|
11
13
|
'service:disable',
|
|
12
|
-
'id_service.disable'
|
|
14
|
+
'id_service.disable',
|
|
15
|
+
'command',
|
|
16
|
+
'environment'
|
|
13
17
|
);
|
|
14
18
|
public static IdServiceEnableFinished = new IdServiceMessagingSettings(
|
|
15
19
|
'IdServiceEnableFinished',
|
|
16
20
|
'id_service:enable_finished',
|
|
17
|
-
'id_service.enable_finished'
|
|
21
|
+
'id_service.enable_finished',
|
|
22
|
+
'event',
|
|
23
|
+
'environment'
|
|
18
24
|
);
|
|
19
25
|
public static IdServiceEnableFailed = new IdServiceMessagingSettings(
|
|
20
26
|
'IdServiceEnableFailed',
|
|
21
27
|
'id_service:enable_failed',
|
|
22
|
-
'id_service.enable_failed'
|
|
28
|
+
'id_service.enable_failed',
|
|
29
|
+
'event',
|
|
30
|
+
'environment'
|
|
23
31
|
);
|
|
24
32
|
public static IdServiceDisableFinished = new IdServiceMessagingSettings(
|
|
25
33
|
'IdServiceDisableFinished',
|
|
26
34
|
'id_service:disable_finished',
|
|
27
|
-
'id_service.disable_finished'
|
|
35
|
+
'id_service.disable_finished',
|
|
36
|
+
'event',
|
|
37
|
+
'environment'
|
|
28
38
|
);
|
|
29
39
|
public static IdServiceDisableFailed = new IdServiceMessagingSettings(
|
|
30
40
|
'IdServiceDisableFailed',
|
|
31
41
|
'id_service:disable_failed',
|
|
32
|
-
'id_service.disable_failed'
|
|
42
|
+
'id_service.disable_failed',
|
|
43
|
+
'event',
|
|
44
|
+
'environment'
|
|
33
45
|
);
|
|
34
46
|
|
|
35
47
|
public readonly serviceId = 'ax-id-service';
|
|
@@ -38,6 +50,8 @@ export class IdServiceMessagingSettings implements MessagingSettings {
|
|
|
38
50
|
public readonly messageType: string,
|
|
39
51
|
public readonly queue: string,
|
|
40
52
|
public readonly routingKey: string,
|
|
53
|
+
public readonly action: 'command' | 'event',
|
|
54
|
+
public readonly aggregateType: string,
|
|
41
55
|
) {
|
|
42
56
|
|
|
43
57
|
}
|
|
@@ -4,55 +4,75 @@ export class IdServiceMultiTenantMessagingSettings extends MultiTenantMessagingS
|
|
|
4
4
|
public static SynchronizePermissions = new IdServiceMultiTenantMessagingSettings(
|
|
5
5
|
'SynchronizePermissions',
|
|
6
6
|
'permissions:synchronize',
|
|
7
|
-
'*.*.permissions.synchronize'
|
|
7
|
+
'*.*.permissions.synchronize',
|
|
8
|
+
'command',
|
|
9
|
+
'permission'
|
|
8
10
|
);
|
|
9
11
|
public static DeleteUser = new IdServiceMultiTenantMessagingSettings(
|
|
10
12
|
'DeleteUser',
|
|
11
13
|
'user:delete',
|
|
12
|
-
'*.*.user.delete'
|
|
14
|
+
'*.*.user.delete',
|
|
15
|
+
'command',
|
|
16
|
+
'user'
|
|
13
17
|
);
|
|
14
18
|
public static DeleteServiceAccount = new IdServiceMultiTenantMessagingSettings(
|
|
15
19
|
'DeleteServiceAccount',
|
|
16
20
|
'service_account:delete',
|
|
17
|
-
'*.*.service_account.delete'
|
|
21
|
+
'*.*.service_account.delete',
|
|
22
|
+
'command',
|
|
23
|
+
'service-account'
|
|
18
24
|
);
|
|
19
25
|
public static DeleteUserRole = new IdServiceMultiTenantMessagingSettings(
|
|
20
26
|
'DeleteUserRole',
|
|
21
27
|
'user_role:delete',
|
|
22
|
-
'*.*.user_role.delete'
|
|
28
|
+
'*.*.user_role.delete',
|
|
29
|
+
'command',
|
|
30
|
+
'user-role'
|
|
23
31
|
);
|
|
24
32
|
public static SynchronizePermissionsFinished = new IdServiceMultiTenantMessagingSettings(
|
|
25
33
|
'SynchronizePermissionsFinished',
|
|
26
34
|
'permissions:synchronize_finished',
|
|
27
|
-
'*.*.permissions.synchronize_finished'
|
|
35
|
+
'*.*.permissions.synchronize_finished',
|
|
36
|
+
'event',
|
|
37
|
+
'permission'
|
|
28
38
|
);
|
|
29
39
|
public static SynchronizePermissionsFailed = new IdServiceMultiTenantMessagingSettings(
|
|
30
40
|
'SynchronizePermissionsFailed',
|
|
31
41
|
'permissions:synchronize_failed',
|
|
32
|
-
'*.*.permissions.synchronize_failed'
|
|
42
|
+
'*.*.permissions.synchronize_failed',
|
|
43
|
+
'event',
|
|
44
|
+
'permission'
|
|
33
45
|
);
|
|
34
46
|
public static UserDeleted = new IdServiceMultiTenantMessagingSettings(
|
|
35
47
|
'UserDeleted',
|
|
36
48
|
'management_user:deleted',
|
|
37
|
-
'*.*.management_user.deleted'
|
|
49
|
+
'*.*.management_user.deleted',
|
|
50
|
+
'event',
|
|
51
|
+
'user'
|
|
38
52
|
);
|
|
39
53
|
public static UserRoleDeleted = new IdServiceMultiTenantMessagingSettings(
|
|
40
54
|
'UserRoleDeleted',
|
|
41
55
|
'management_user_role:deleted',
|
|
42
|
-
'*.*.management_user_role.deleted'
|
|
56
|
+
'*.*.management_user_role.deleted',
|
|
57
|
+
'event',
|
|
58
|
+
'user-role'
|
|
43
59
|
);
|
|
44
60
|
public static ServiceAccountDeleted = new IdServiceMultiTenantMessagingSettings(
|
|
45
61
|
'ServiceAccountDeleted',
|
|
46
62
|
'service_account:deleted',
|
|
47
|
-
'*.*.service_account.deleted'
|
|
63
|
+
'*.*.service_account.deleted',
|
|
64
|
+
'event',
|
|
65
|
+
'service-account'
|
|
48
66
|
);
|
|
49
67
|
|
|
50
68
|
private constructor(
|
|
51
69
|
public readonly messageType: string,
|
|
52
70
|
public readonly queue: string,
|
|
53
71
|
public readonly routingKey: string,
|
|
72
|
+
public readonly action: 'command' | 'event',
|
|
73
|
+
public readonly aggregateType: string,
|
|
54
74
|
) {
|
|
55
|
-
super('ax-id-service', messageType, queue, routingKey);
|
|
75
|
+
super('ax-id-service', messageType, queue, routingKey, action, aggregateType);
|
|
56
76
|
}
|
|
57
77
|
|
|
58
78
|
public toString = (): string => {
|
|
@@ -4,32 +4,44 @@ export class ImageServiceMessagingSettings implements MessagingSettings {
|
|
|
4
4
|
public static ImageServiceEnable = new ImageServiceMessagingSettings(
|
|
5
5
|
'ImageServiceEnable',
|
|
6
6
|
'service:enable',
|
|
7
|
-
'image_service.enable'
|
|
7
|
+
'image_service.enable',
|
|
8
|
+
'command',
|
|
9
|
+
'environment'
|
|
8
10
|
);
|
|
9
11
|
public static ImageServiceDisable = new ImageServiceMessagingSettings(
|
|
10
12
|
'ImageServiceDisable',
|
|
11
13
|
'service:disable',
|
|
12
|
-
'image_service.disable'
|
|
14
|
+
'image_service.disable',
|
|
15
|
+
'command',
|
|
16
|
+
'environment'
|
|
13
17
|
);
|
|
14
18
|
public static ImageServiceEnableFinished = new ImageServiceMessagingSettings(
|
|
15
19
|
'ImageServiceEnableFinished',
|
|
16
20
|
'image_service:enable_finished',
|
|
17
|
-
'image_service.enable_finished'
|
|
21
|
+
'image_service.enable_finished',
|
|
22
|
+
'event',
|
|
23
|
+
'environment'
|
|
18
24
|
);
|
|
19
25
|
public static ImageServiceEnableFailed = new ImageServiceMessagingSettings(
|
|
20
26
|
'ImageServiceEnableFailed',
|
|
21
27
|
'image_service:enable_failed',
|
|
22
|
-
'image_service.enable_failed'
|
|
28
|
+
'image_service.enable_failed',
|
|
29
|
+
'event',
|
|
30
|
+
'environment'
|
|
23
31
|
);
|
|
24
32
|
public static ImageServiceDisableFinished = new ImageServiceMessagingSettings(
|
|
25
33
|
'ImageServiceDisableFinished',
|
|
26
34
|
'image_service:disable_finished',
|
|
27
|
-
'image_service.disable_finished'
|
|
35
|
+
'image_service.disable_finished',
|
|
36
|
+
'event',
|
|
37
|
+
'environment'
|
|
28
38
|
);
|
|
29
39
|
public static ImageServiceDisableFailed = new ImageServiceMessagingSettings(
|
|
30
40
|
'ImageServiceDisableFailed',
|
|
31
41
|
'image_service:disable_failed',
|
|
32
|
-
'image_service.disable_failed'
|
|
42
|
+
'image_service.disable_failed',
|
|
43
|
+
'event',
|
|
44
|
+
'environment'
|
|
33
45
|
);
|
|
34
46
|
|
|
35
47
|
public readonly serviceId = 'ax-image-service';
|
|
@@ -38,6 +50,8 @@ export class ImageServiceMessagingSettings implements MessagingSettings {
|
|
|
38
50
|
public readonly messageType: string,
|
|
39
51
|
public readonly queue: string,
|
|
40
52
|
public readonly routingKey: string,
|
|
53
|
+
public readonly action: 'command' | 'event',
|
|
54
|
+
public readonly aggregateType: string,
|
|
41
55
|
) {
|
|
42
56
|
|
|
43
57
|
}
|