@onlineapps/service-wrapper 2.3.3 → 2.3.4

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.3",
3
+ "version": "2.3.4",
4
4
  "description": "Thin orchestration layer for microservices - delegates all infrastructure concerns to specialized connectors",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -31,9 +31,9 @@
31
31
  "@onlineapps/conn-infra-mq": "1.1.69",
32
32
  "@onlineapps/conn-orch-api-mapper": "1.0.31",
33
33
  "@onlineapps/conn-orch-cookbook": "2.0.38",
34
- "@onlineapps/conn-orch-orchestrator": "1.0.106",
34
+ "@onlineapps/conn-orch-orchestrator": "1.0.107",
35
35
  "@onlineapps/conn-orch-registry": "1.1.55",
36
- "@onlineapps/conn-orch-validator": "2.0.32",
36
+ "@onlineapps/conn-orch-validator": "2.0.33",
37
37
  "@onlineapps/monitoring-core": "1.0.21",
38
38
  "@onlineapps/service-common": "1.0.18",
39
39
  "@onlineapps/runtime-config": "1.0.2"
@@ -1426,8 +1426,7 @@ class ServiceWrapper {
1426
1426
  */
1427
1427
  async _startWorkflowInitListener() {
1428
1428
  if (!this.mqClient) {
1429
- this.logger?.warn('Cannot start workflow.init listener: MQ client not initialized');
1430
- return;
1429
+ throw new Error('[ServiceWrapper] Cannot start workflow.init listener MQ client not initialized. Queue infrastructure is required.');
1431
1430
  }
1432
1431
 
1433
1432
  const queueName = 'workflow.init';
@@ -1459,8 +1458,7 @@ class ServiceWrapper {
1459
1458
  */
1460
1459
  async _startWorkflowControlListener() {
1461
1460
  if (!this.mqClient) {
1462
- this.logger?.warn('Cannot start workflow.control listener: MQ client not initialized');
1463
- return;
1461
+ throw new Error('[ServiceWrapper] Cannot start workflow.control listener MQ client not initialized. Queue infrastructure is required.');
1464
1462
  }
1465
1463
 
1466
1464
  const queueName = 'workflow.control';
@@ -1491,8 +1489,7 @@ class ServiceWrapper {
1491
1489
  */
1492
1490
  async _startServiceWorkflowListener() {
1493
1491
  if (!this.mqClient) {
1494
- this.logger?.warn('Cannot start service workflow listener: MQ client not initialized');
1495
- return;
1492
+ throw new Error('[ServiceWrapper] Cannot start service workflow listener MQ client not initialized. Queue infrastructure is required.');
1496
1493
  }
1497
1494
 
1498
1495
  const serviceName = this.config.service?.name || 'unnamed-service';