@onlineapps/service-wrapper 2.3.7 → 2.3.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onlineapps/service-wrapper",
3
- "version": "2.3.7",
3
+ "version": "2.3.8",
4
4
  "description": "Thin orchestration layer for microservices - delegates all infrastructure concerns to specialized connectors",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -29,9 +29,9 @@
29
29
  "@onlineapps/conn-base-monitoring": "1.0.10",
30
30
  "@onlineapps/conn-infra-error-handler": "1.0.9",
31
31
  "@onlineapps/conn-infra-mq": "1.1.69",
32
- "@onlineapps/conn-orch-api-mapper": "1.0.32",
32
+ "@onlineapps/conn-orch-api-mapper": "1.0.33",
33
33
  "@onlineapps/conn-orch-cookbook": "2.0.38",
34
- "@onlineapps/conn-orch-orchestrator": "1.0.108",
34
+ "@onlineapps/conn-orch-orchestrator": "1.0.109",
35
35
  "@onlineapps/conn-orch-registry": "1.1.55",
36
36
  "@onlineapps/conn-orch-validator": "2.0.33",
37
37
  "@onlineapps/monitoring-core": "1.0.21",
@@ -483,7 +483,7 @@ class ServiceWrapper {
483
483
 
484
484
  async initialize() {
485
485
  if (this.isInitialized) {
486
- // Logger might not be initialized yet, use console as fallback
486
+ // INTENTIONAL FALLBACK: bootstrap logger see docs/standards/FALLBACKS_INVENTORY.md §5.1
487
487
  (this.logger || console).warn('ServiceWrapper already initialized');
488
488
  return;
489
489
  }
@@ -822,6 +822,7 @@ class ServiceWrapper {
822
822
  prefetch: this.config.wrapper?.mq?.prefetch || 10,
823
823
  durable: true,
824
824
  noAck: false,
825
+ // INTENTIONAL FALLBACK: bootstrap logger — see docs/standards/FALLBACKS_INVENTORY.md §5.1
825
826
  logger: this.logger || console,
826
827
  ...healthCheckConfig
827
828
  });
@@ -921,8 +922,9 @@ class ServiceWrapper {
921
922
  specificationEndpoint: specificationEndpoint,
922
923
  registryQueue: 'registry.register', // Use correct queue name
923
924
  registryUrl: registryUrl,
924
- logger: this.logger || console, // Use console as fallback if logger not yet initialized
925
- validationProof: this.validationProof // Inject validation proof
925
+ // INTENTIONAL FALLBACK: bootstrap logger see docs/standards/FALLBACKS_INVENTORY.md §5.1
926
+ logger: this.logger || console,
927
+ validationProof: this.validationProof
926
928
  });
927
929
 
928
930
  // Initialize registry client connection
@@ -1978,8 +1980,7 @@ class ServiceWrapper {
1978
1980
  const serviceVersion = this.config.service?.version;
1979
1981
  const serviceUrl = this.config.service?.url;
1980
1982
 
1981
- // Validation runs in FÁZE 0.2 (before monitoring init in FÁZE 0.5+).
1982
- // console is the correct bootstrap logger at this stage.
1983
+ // INTENTIONAL FALLBACK: bootstrap logger see docs/standards/FALLBACKS_INVENTORY.md §5.1
1983
1984
  const validationLogger = this.logger || console;
1984
1985
  const orchestrator = this._injectedValidationOrchestrator || new ValidationOrchestrator({
1985
1986
  serviceRoot: this.serviceRoot,
@@ -2227,6 +2228,7 @@ class ServiceWrapper {
2227
2228
 
2228
2229
  this.logger?.info('[ServiceWrapper] Checking validation proof...');
2229
2230
 
2231
+ // INTENTIONAL FALLBACK: bootstrap logger — see docs/standards/FALLBACKS_INVENTORY.md §5.1
2230
2232
  const revalidationLogger = this.logger || console;
2231
2233
  const orchestrator = this._injectedValidationOrchestrator || new ValidationOrchestrator({
2232
2234
  serviceRoot: this.serviceRoot,