@onlineapps/conn-orch-registry 1.1.15 → 1.1.16

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/LICENSE CHANGED
File without changes
package/README.md CHANGED
File without changes
File without changes
File without changes
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onlineapps/conn-orch-registry",
3
- "version": "1.1.15",
3
+ "version": "1.1.16",
4
4
  "license": "MIT",
5
5
  "description": "Connector-registry-client provides the core communication mechanism for microservices in this environment. It enables them to interact with a services_registry to receive and fulfill tasks by submitting heartbeats or their API descriptions.",
6
6
  "keywords": [
package/src/config.js CHANGED
File without changes
package/src/events.js CHANGED
File without changes
package/src/index.js CHANGED
File without changes
File without changes
@@ -218,11 +218,14 @@ class ServiceRegistryClient extends EventEmitter {
218
218
 
219
219
  // Send registration message to registry
220
220
  await this.queueManager.channel.assertQueue(this.registryQueue, { durable: true });
221
+ console.log(`[RegistryClient] ${this.serviceName}: Sending registration message to queue: ${this.registryQueue}`);
222
+ console.log(`[RegistryClient] ${this.serviceName}: Message type: ${msg.type}, serviceName: ${msg.serviceName}, version: ${msg.version}`);
221
223
  this.queueManager.channel.sendToQueue(
222
224
  this.registryQueue,
223
225
  Buffer.from(JSON.stringify(msg)),
224
226
  { persistent: true }
225
227
  );
228
+ console.log(`[RegistryClient] ${this.serviceName}: ✓ Registration message sent, waiting for response...`);
226
229
 
227
230
  this.emit('registerSent', msg);
228
231
 
File without changes