@bluealba/pae-bootstrap-lib 2.0.0 → 2.0.1-develop-1297

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.
Files changed (27) hide show
  1. package/dist/src/bootstrap/bootstrap-platform.d.ts +5 -2
  2. package/dist/src/bootstrap/bootstrap-platform.d.ts.map +1 -1
  3. package/dist/src/bootstrap/bootstrap-platform.js +60 -45
  4. package/dist/src/bootstrap/bootstrap-platform.js.map +1 -1
  5. package/dist/src/bootstrap/domain/bootstrap-sync-metadata.interface.d.ts +12 -0
  6. package/dist/src/bootstrap/domain/bootstrap-sync-metadata.interface.d.ts.map +1 -1
  7. package/dist/src/bootstrap/domain/domain-validation.test.js +500 -244
  8. package/dist/src/bootstrap/domain/domain-validation.test.js.map +1 -1
  9. package/dist/src/bootstrap/domain/index.d.ts +2 -0
  10. package/dist/src/bootstrap/domain/index.d.ts.map +1 -0
  11. package/dist/src/bootstrap/domain/index.js +18 -0
  12. package/dist/src/bootstrap/domain/index.js.map +1 -0
  13. package/dist/src/bootstrap/read-bootstrap-applications.d.ts.map +1 -1
  14. package/dist/src/bootstrap/read-bootstrap-applications.js +98 -3
  15. package/dist/src/bootstrap/read-bootstrap-applications.js.map +1 -1
  16. package/dist/src/bootstrap/run-bootstrap-sync.service.d.ts.map +1 -1
  17. package/dist/src/bootstrap/run-bootstrap-sync.service.js +3 -1
  18. package/dist/src/bootstrap/run-bootstrap-sync.service.js.map +1 -1
  19. package/dist/src/bootstrap/synchronizers/sync-feature-flags.d.ts +8 -0
  20. package/dist/src/bootstrap/synchronizers/sync-feature-flags.d.ts.map +1 -0
  21. package/dist/src/bootstrap/synchronizers/sync-feature-flags.js +67 -0
  22. package/dist/src/bootstrap/synchronizers/sync-feature-flags.js.map +1 -0
  23. package/dist/src/index.d.ts +1 -0
  24. package/dist/src/index.d.ts.map +1 -1
  25. package/dist/src/index.js +1 -0
  26. package/dist/src/index.js.map +1 -1
  27. package/package.json +2 -2
@@ -25,8 +25,11 @@ export type BootstrapOptions = {
25
25
  };
26
26
  /**
27
27
  * Reads the current application src/data folder assembles all the platform definitions
28
- * and calls PAE API's to synchronize.
29
- * This is the single-entry point to implement bootstrap projects without any code at all.
28
+ * and sends them to the gateway's /bootstrap/sync endpoint for synchronization.
29
+ *
30
+ * @deprecated The synchronization logic has been moved to the gateway service for centralization.
31
+ * This function now acts as a client that delegates to the gateway endpoint.
32
+ * The function signature remains unchanged for backward compatibility.
30
33
  */
31
34
  export declare const bootstrapPlatform: (options: BootstrapOptions) => Promise<void>;
32
35
  //# sourceMappingURL=bootstrap-platform.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bootstrap-platform.d.ts","sourceRoot":"","sources":["../../../src/bootstrap/bootstrap-platform.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,eAAe,EAAE,MAAM,4CAA4C,CAAC;AAE7E;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IAEnB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,CAAC,OAAO,EAAE,eAAe,EAAE,KAAK,eAAe,EAAE,CAAC;CACtE,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,GAAU,SAAS,gBAAgB,kBAqChE,CAAC"}
1
+ {"version":3,"file":"bootstrap-platform.d.ts","sourceRoot":"","sources":["../../../src/bootstrap/bootstrap-platform.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,4CAA4C,CAAC;AAG7E;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IAEnB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,CAAC,OAAO,EAAE,eAAe,EAAE,KAAK,eAAe,EAAE,CAAC;CACtE,CAAA;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,iBAAiB,GAAU,SAAS,gBAAgB,kBAuEhE,CAAC"}
@@ -8,68 +8,83 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
8
8
  step((generator = generator.apply(thisArg, _arguments || [])).next());
9
9
  });
10
10
  };
11
- var __rest = (this && this.__rest) || function (s, e) {
12
- var t = {};
13
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
14
- t[p] = s[p];
15
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
16
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
17
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
18
- t[p[i]] = s[p[i]];
19
- }
20
- return t;
21
- };
22
11
  var __importDefault = (this && this.__importDefault) || function (mod) {
23
12
  return (mod && mod.__esModule) ? mod : { "default": mod };
24
13
  };
25
14
  Object.defineProperty(exports, "__esModule", { value: true });
26
15
  exports.bootstrapPlatform = void 0;
27
16
  const read_bootstrap_applications_1 = require("./read-bootstrap-applications");
28
- const initialize_pae_client_1 = __importDefault(require("./initialize-pae-client"));
29
- const ramda_1 = require("ramda");
30
- const run_bootstrap_sync_service_1 = require("./run-bootstrap-sync.service");
31
17
  const pae_core_1 = require("@bluealba/pae-core");
32
- const fix_created_by_1 = __importDefault(require("./fix-created-by"));
18
+ const initialize_pae_client_1 = __importDefault(require("./initialize-pae-client"));
33
19
  /**
34
20
  * Reads the current application src/data folder assembles all the platform definitions
35
- * and calls PAE API's to synchronize.
36
- * This is the single-entry point to implement bootstrap projects without any code at all.
21
+ * and sends them to the gateway's /bootstrap/sync endpoint for synchronization.
22
+ *
23
+ * @deprecated The synchronization logic has been moved to the gateway service for centralization.
24
+ * This function now acts as a client that delegates to the gateway endpoint.
25
+ * The function signature remains unchanged for backward compatibility.
37
26
  */
38
27
  const bootstrapPlatform = (options) => __awaiter(void 0, void 0, void 0, function* () {
39
- var _a, _b;
28
+ var _a, _b, _c;
40
29
  if (!options.scopedTo) {
41
30
  throw new Error('No options.scopedTo was provider neither the env var SERVICE_ACCESS_NAME is present ! Set one to identify the bootstrap as author for creating/updating entities in the platform');
42
31
  }
32
+ console.log('[Bootstrap] Reading platform data from:', (_a = options.path) !== null && _a !== void 0 ? _a : process.cwd());
43
33
  // init PAE
44
34
  const pae = yield (0, initialize_pae_client_1.default)();
45
- // read all files
46
- const platform = (0, read_bootstrap_applications_1.readPlatformBootstrapFolder)((_a = options.path) !== null && _a !== void 0 ? _a : process.cwd(), options);
35
+ // Read all files from filesystem (maintains current logic)
36
+ const platform = (0, read_bootstrap_applications_1.readPlatformBootstrapFolder)((_b = options.path) !== null && _b !== void 0 ? _b : process.cwd(), options);
47
37
  const applications = Object.values(platform.applications);
48
- // REVIEWME: this is a temporal behavior for the moment when added the missing createdBy/updatedBy fields
49
- // it must be removed after all projects already run this once in 1.4.2
50
- yield (0, fix_created_by_1.default)(platform, pae, options.scopedTo);
51
- // sync
52
- yield (0, run_bootstrap_sync_service_1.runBootstrapSync)(pae, {
53
- syncConfig: {
54
- scopedTo: options.scopedTo,
55
- },
56
- sharedLibraries: platform.sharedLibraries,
57
- // TODO: refactor this. We should be passing the list of applications.
58
- // this way we will be synchronizing "apps" instead of individual entities. And we could create better logs.
59
- catalog: ((_b = options.transformModules) !== null && _b !== void 0 ? _b : ramda_1.identity)(applications.flatMap(app => app.modules)),
60
- modulesConfig: (applications.flatMap(app => app.modulesConfig) || [])
61
- .map(({ name, config }) => ({ moduleName: name, customProps: config })),
62
- applicationsAuthz: applications
63
- .filter(app => app.name !== pae_core_1.GLOBAL_APPLICATION_NAME)
64
- .map(
65
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
66
- (_a) => {
67
- var { modules, operations, roles, modulesConfig } = _a, others = __rest(_a, ["modules", "operations", "roles", "modulesConfig"]);
68
- return others;
69
- }),
70
- rolesAuthz: applications.flatMap(app => app.roles),
71
- operationsAuthz: applications.flatMap(app => app.operations)
72
- });
38
+ console.log(`[Bootstrap] Found ${applications.length} applications`);
39
+ console.log(`[Bootstrap] Found ${(_c = platform.sharedLibraries) === null || _c === void 0 ? void 0 : _c.length} shared libraries`);
40
+ // Handle transformModules option if provided (backward compatibility)
41
+ if (options.transformModules) {
42
+ console.warn('[DEPRECATED] transformModules option is deprecated and will be removed in a future version.');
43
+ const transformedModules = options.transformModules(applications.flatMap(app => app.modules));
44
+ // Rebuild applications with transformed modules
45
+ // Group modules by application name
46
+ const modulesByApp = new Map();
47
+ transformedModules.forEach(module => {
48
+ const appName = module.application || pae_core_1.GLOBAL_APPLICATION_NAME;
49
+ if (!modulesByApp.has(appName)) {
50
+ modulesByApp.set(appName, []);
51
+ }
52
+ modulesByApp.get(appName).push(module);
53
+ });
54
+ // Update platform.applications with transformed modules
55
+ modulesByApp.forEach((modules, appName) => {
56
+ if (platform.applications[appName]) {
57
+ platform.applications[appName].modules = modules;
58
+ }
59
+ });
60
+ }
61
+ // Get gateway URL from environment
62
+ const gatewayUrl = (0, pae_core_1.fromEnv)('GATEWAY_SERVICE_URL');
63
+ const url = `${gatewayUrl}/bootstrap/sync`;
64
+ console.log(`[Bootstrap] Sending data to gateway: ${url}`);
65
+ console.log(`[Bootstrap] Scoped to: ${options.scopedTo}`);
66
+ try {
67
+ const response = yield pae.invoke("/bootstrap/sync", {
68
+ method: 'POST',
69
+ headers: {
70
+ 'Content-Type': 'application/json',
71
+ 'x-bootstrap-scoped-to': options.scopedTo,
72
+ },
73
+ body: JSON.stringify(platform),
74
+ });
75
+ if (!response.ok) {
76
+ const errorText = yield response.text();
77
+ throw new Error(`Bootstrap sync failed with status ${response.status}: ${errorText}`);
78
+ }
79
+ console.log('[Bootstrap] Sync completed successfully');
80
+ }
81
+ catch (error) {
82
+ if (error instanceof Error) {
83
+ console.error('[Bootstrap] Sync failed:', error.message);
84
+ throw error;
85
+ }
86
+ throw new Error('Bootstrap sync failed with unknown error');
87
+ }
73
88
  });
74
89
  exports.bootstrapPlatform = bootstrapPlatform;
75
90
  //# sourceMappingURL=bootstrap-platform.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"bootstrap-platform.js","sourceRoot":"","sources":["../../../src/bootstrap/bootstrap-platform.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+EAA4E;AAC5E,oFAA0D;AAC1D,iCAAiC;AACjC,6EAAgE;AAChE,iDAA6D;AAC7D,sEAA4C;AA+B5C;;;;GAIG;AACI,MAAM,iBAAiB,GAAG,CAAO,OAAyB,EAAE,EAAE;;IACnE,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC;QACtB,MAAM,IAAI,KAAK,CAAC,kLAAkL,CAAC,CAAA;IACrM,CAAC;IAED,WAAW;IACX,MAAM,GAAG,GAAG,MAAM,IAAA,+BAAmB,GAAE,CAAC;IAExC,iBAAiB;IACjB,MAAM,QAAQ,GAAG,IAAA,yDAA2B,EAAC,MAAA,OAAO,CAAC,IAAI,mCAAI,OAAO,CAAC,GAAG,EAAE,EAAE,OAAO,CAAC,CAAC;IACrF,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC;IAE1D,yGAAyG;IACzG,uEAAuE;IACvE,MAAM,IAAA,wBAAY,EAAC,QAAQ,EAAE,GAAG,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAA;IAEnD,OAAO;IACP,MAAM,IAAA,6CAAgB,EAAC,GAAG,EAAE;QAC1B,UAAU,EAAE;YACV,QAAQ,EAAE,OAAO,CAAC,QAAQ;SAC3B;QACD,eAAe,EAAE,QAAQ,CAAC,eAAe;QACzC,sEAAsE;QACtE,8GAA8G;QAE9G,OAAO,EAAE,CAAC,MAAA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,CAAC,KAAK,CAAC,0BAA0B,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;YACzD,MAAM,KAAK,CAAC;QACd,CAAC;QACD,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;IAC9D,CAAC;AACH,CAAC,CAAA,CAAC;AAvEW,QAAA,iBAAiB,qBAuE5B"}
@@ -5,6 +5,16 @@ import { CreateApplicationDTO } from "@bluealba/pae-core/dist/src/authorization/
5
5
  import { CreateRoleDTO } from "@bluealba/pae-core/dist/src/authorization/dto/create-role.dto";
6
6
  import { UpdateModuleUIConfigDTO } from "@bluealba/pae-core/dist/src/catalog/dto/update-module-ui-config.dto";
7
7
  import { BootstrapOptions } from "../bootstrap-platform";
8
+ export interface BootstrapFeatureFlag {
9
+ name: string;
10
+ description?: string;
11
+ enabled?: boolean;
12
+ constraints?: Array<{
13
+ contextName: string;
14
+ operator: string;
15
+ values?: string[];
16
+ }>;
17
+ }
8
18
  export interface OperationAuthzBootstrap extends Omit<CreateOperationDTO, 'applicationName'>, Partial<Pick<CreateOperationDTO, 'applicationName'>> {
9
19
  roles?: string[];
10
20
  }
@@ -17,6 +27,7 @@ export interface BootstrapSyncMetadata {
17
27
  scopedTo: BootstrapOptions['scopedTo'];
18
28
  };
19
29
  sharedLibraries?: CreateSharedLibraryDTO[];
30
+ featureFlags?: BootstrapFeatureFlag[];
20
31
  catalog?: BootstrapModule[];
21
32
  applicationsAuthz?: CreateApplicationDTO[];
22
33
  rolesAuthz?: CreateRoleDTO[];
@@ -32,6 +43,7 @@ export type BootstrapApplication = CreateApplicationDTO & {
32
43
  };
33
44
  export type BootstrapPlatform = {
34
45
  sharedLibraries: CreateSharedLibraryDTO[];
46
+ featureFlags?: BootstrapFeatureFlag[];
35
47
  applications: Record<string, BootstrapApplication>;
36
48
  };
37
49
  //# sourceMappingURL=bootstrap-sync-metadata.interface.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bootstrap-sync-metadata.interface.d.ts","sourceRoot":"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AE,eAAe,EAAE,CAAC;IAC3B,UAAU,EAAE,kBAAkB,EAAE,CAAC;IACjC,KAAK,EAAE,aAAa,EAAE,CAAC;IACvB,aAAa,EAAE,YAAY,EAAE,CAAC;CAC/B,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,eAAe,EAAE,sBAAsB,EAAE,CAAC;IAC1C,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,oBAAoB,CAAC,CAAC;CACpD,CAAA"}
1
+ {"version":3,"file":"bootstrap-sync-metadata.interface.d.ts","sourceRoot":"","sources":["../../../../src/bootstrap/domain/bootstrap-sync-metadata.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,oEAAoE,CAAC;AACxG,OAAO,EAAE,sBAAsB,EAAE,MAAM,wEAAwE,CAAC;AAChH,OAAO,EAAE,oBAAoB,EAAkB,MAAM,oBAAoB,CAAC;AAC1E,OAAO,EAAE,oBAAoB,EAAE,MAAM,sEAAsE,CAAC;AAC5G,OAAO,EAAE,aAAa,EAAE,MAAM,+DAA+D,CAAC;AAC9F,OAAO,EAAE,uBAAuB,EAAE,MAAM,qEAAqE,CAAC;AAC9G,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAEzD,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,KAAK,CAAC;QAClB,WAAW,EAAE,MAAM,CAAC;QACpB,QAAQ,EAAE,MAAM,CAAC;QACjB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;KACnB,CAAC,CAAC;CACJ;AAED,MAAM,WAAW,uBAAwB,SACvC,IAAI,CAAC,kBAAkB,EAAE,iBAAiB,CAAC,EAC3C,OAAO,CAAC,IAAI,CAAC,kBAAkB,EAAE,iBAAiB,CAAC,CAAC;IACpD,KAAK,CAAC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