@onlineapps/infrastructure-tools 1.0.6 → 1.0.7

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 (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.js +14 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onlineapps/infrastructure-tools",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "Infrastructure orchestration utilities for OA Drive infrastructure services (health tracking, queue initialization, service discovery)",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
package/src/index.js CHANGED
@@ -11,7 +11,11 @@
11
11
  */
12
12
 
13
13
  // Re-export infrastructure readiness utilities from service-common (no duplication)
14
- const { waitForInfrastructureReady, waitForHealthCheckQueueReady } = require('@onlineapps/service-common');
14
+ const { waitForInfrastructureReady, waitForHealthCheckQueueReady, sendMonitoringFailFallbackEmail } = require('@onlineapps/service-common');
15
+
16
+ // Re-export MQ client core utilities
17
+ const BaseClient = require('@onlineapps/mq-client-core');
18
+ const queueConfig = require('@onlineapps/mq-client-core/src/config/queueConfig');
15
19
 
16
20
  const { initInfrastructureQueues } = require('./orchestration/initInfrastructureQueues');
17
21
  const {
@@ -23,10 +27,17 @@ const { createLogger } = require('./utils/logger');
23
27
  const { sendQueueMismatchAlert } = require('./monitoring/queueMismatchReporter');
24
28
 
25
29
  module.exports = {
26
- // Orchestration utilities
27
- // waitForInfrastructureReady and waitForHealthCheckQueueReady are re-exported from @onlineapps/service-common
30
+ // MQ Client Core (re-exported for convenience)
31
+ BaseClient,
32
+ MQClient: BaseClient, // Alias for compatibility
33
+ queueConfig,
34
+
35
+ // Service Common utilities (re-exported for convenience)
28
36
  waitForInfrastructureReady,
29
37
  waitForHealthCheckQueueReady,
38
+ sendMonitoringFailFallbackEmail,
39
+
40
+ // Orchestration utilities
30
41
  initInfrastructureQueues,
31
42
 
32
43
  // Health tracking utilities