@onlineapps/conn-orch-registry 1.1.9 → 1.1.10
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 +1 -1
- package/src/registryClient.js +4 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onlineapps/conn-orch-registry",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.10",
|
|
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/registryClient.js
CHANGED
|
@@ -242,6 +242,10 @@ class ServiceRegistryClient extends EventEmitter {
|
|
|
242
242
|
* @returns {Promise<Object>} Registration result with success status
|
|
243
243
|
*/
|
|
244
244
|
async register(serviceInfo = {}) {
|
|
245
|
+
// DEBUG: Check validation proof status
|
|
246
|
+
console.log(`[RegistryClient] ${this.serviceName}: >>> REGISTER CALLED <<<`);
|
|
247
|
+
console.log(`[RegistryClient] ${this.serviceName}: this.validationProof =`, this.validationProof);
|
|
248
|
+
|
|
245
249
|
// Validate input
|
|
246
250
|
if (serviceInfo.endpoints && !Array.isArray(serviceInfo.endpoints)) {
|
|
247
251
|
throw new Error('endpoints must be an array');
|