@kumori/aurora-backend-handler 1.0.95 → 1.0.96
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.
|
@@ -304,7 +304,8 @@ export const handleSecretEvent = (
|
|
|
304
304
|
eventData: any,
|
|
305
305
|
parentParts: { [entity: string]: string },
|
|
306
306
|
tenantsMap: Map<string, Tenant>,
|
|
307
|
-
secretsMap: Map<string, any
|
|
307
|
+
secretsMap: Map<string, any>,
|
|
308
|
+
hasRequestingServices: boolean = false,
|
|
308
309
|
): HandleResourceEventResult => {
|
|
309
310
|
return handleResourceEvent({
|
|
310
311
|
kind: "secret",
|
|
@@ -312,7 +313,7 @@ export const handleSecretEvent = (
|
|
|
312
313
|
parentParts,
|
|
313
314
|
tenantsMap,
|
|
314
315
|
secretsMap,
|
|
315
|
-
hasRequestingServices
|
|
316
|
+
hasRequestingServices
|
|
316
317
|
});
|
|
317
318
|
};
|
|
318
319
|
|
|
@@ -322,7 +323,8 @@ export const handleSecretEvent = (
|
|
|
322
323
|
export const handleCertificateEvent = (
|
|
323
324
|
eventData: any,
|
|
324
325
|
parentParts: { [entity: string]: string },
|
|
325
|
-
tenantsMap: Map<string, Tenant
|
|
326
|
+
tenantsMap: Map<string, Tenant>,
|
|
327
|
+
hasRequestingServices: boolean = false,
|
|
326
328
|
): HandleResourceEventResult => {
|
|
327
329
|
return handleResourceEvent({
|
|
328
330
|
kind: "certificate",
|
|
@@ -330,7 +332,7 @@ export const handleCertificateEvent = (
|
|
|
330
332
|
parentParts,
|
|
331
333
|
tenantsMap,
|
|
332
334
|
secretsMap: new Map(),
|
|
333
|
-
hasRequestingServices
|
|
335
|
+
hasRequestingServices
|
|
334
336
|
});
|
|
335
337
|
};
|
|
336
338
|
|
|
@@ -340,7 +342,8 @@ export const handleCertificateEvent = (
|
|
|
340
342
|
export const handleCAEvent = (
|
|
341
343
|
eventData: any,
|
|
342
344
|
parentParts: { [entity: string]: string },
|
|
343
|
-
tenantsMap: Map<string, Tenant
|
|
345
|
+
tenantsMap: Map<string, Tenant>,
|
|
346
|
+
hasRequestingServices: boolean = false,
|
|
344
347
|
): HandleResourceEventResult => {
|
|
345
348
|
return handleResourceEvent({
|
|
346
349
|
kind: "ca",
|
|
@@ -348,7 +351,7 @@ export const handleCAEvent = (
|
|
|
348
351
|
parentParts,
|
|
349
352
|
tenantsMap,
|
|
350
353
|
secretsMap: new Map(),
|
|
351
|
-
hasRequestingServices
|
|
354
|
+
hasRequestingServices
|
|
352
355
|
});
|
|
353
356
|
};
|
|
354
357
|
|
package/package.json
CHANGED
package/websocket-manager.ts
CHANGED
|
@@ -902,6 +902,7 @@ const handleEvent = async (message: WSMessage) => {
|
|
|
902
902
|
parentParts,
|
|
903
903
|
tenantsMap,
|
|
904
904
|
secretsMap,
|
|
905
|
+
hasRequestingServices,
|
|
905
906
|
);
|
|
906
907
|
secretResult.secretsToStore.forEach(({ key, value }) =>
|
|
907
908
|
secretsMap.set(key, value),
|
|
@@ -919,6 +920,7 @@ const handleEvent = async (message: WSMessage) => {
|
|
|
919
920
|
eventData,
|
|
920
921
|
parentParts,
|
|
921
922
|
tenantsMap,
|
|
923
|
+
hasRequestingServices,
|
|
922
924
|
);
|
|
923
925
|
processResourceResult(
|
|
924
926
|
certificateResult,
|
|
@@ -929,12 +931,13 @@ const handleEvent = async (message: WSMessage) => {
|
|
|
929
931
|
break;
|
|
930
932
|
|
|
931
933
|
case "ca":
|
|
932
|
-
const caResult = handleCAEvent(eventData, parentParts, tenantsMap);
|
|
934
|
+
const caResult = handleCAEvent(eventData, parentParts, tenantsMap, hasRequestingServices,);
|
|
933
935
|
processResourceResult(
|
|
934
936
|
caResult,
|
|
935
937
|
tenantsMap,
|
|
936
938
|
pendingDomains,
|
|
937
939
|
eventHelper,
|
|
940
|
+
|
|
938
941
|
);
|
|
939
942
|
break;
|
|
940
943
|
|