soajs.controller 4.2.38 → 4.2.39
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/README.md +1 -0
- package/mw/awareness/ha.js +1 -1
- package/mw/mt/index.js +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -38,6 +38,7 @@ Enabling CORS allows different domains to communicate with SOAJS via its gateway
|
|
|
38
38
|
More information on the Controller is available on the website section [Controller](https://soajsorg.atlassian.net/wiki/x/loAwb)
|
|
39
39
|
|
|
40
40
|
|
|
41
|
+
|
|
41
42
|
### License
|
|
42
43
|
*Copyright SOAJS All Rights Reserved.*
|
|
43
44
|
|
package/mw/awareness/ha.js
CHANGED
|
@@ -240,7 +240,7 @@ let ha = {
|
|
|
240
240
|
return cb(hostname);
|
|
241
241
|
} else {
|
|
242
242
|
if (process.env.SOAJS_DEPLOY_HA === 'kubernetes' && serviceName && version) {
|
|
243
|
-
serviceName += "-v" + version + "-service";
|
|
243
|
+
// serviceName += "-v" + version + "-service";
|
|
244
244
|
return cb(env + "-" + serviceName + "-v" + version + "-service");
|
|
245
245
|
} else {
|
|
246
246
|
lib.getHostFromAPI(serviceName, version, cb);
|
package/mw/mt/index.js
CHANGED
|
@@ -325,6 +325,7 @@ module.exports = (configuration) => {
|
|
|
325
325
|
injectObj.awareness.interConnect.push(item);
|
|
326
326
|
} else {
|
|
327
327
|
req.soajs.log.debug(serviceName + " interConnect failed to fetch latestVersion for [" + item.name + "]");
|
|
328
|
+
injectObj.awareness.interConnect.push(item);
|
|
328
329
|
}
|
|
329
330
|
return callback();
|
|
330
331
|
});
|