@onlineapps/conn-orch-registry 3.0.0 → 3.0.1
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 -5
- package/src/registryClient.js +7 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onlineapps/conn-orch-registry",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.1",
|
|
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": [
|
|
@@ -48,10 +48,6 @@
|
|
|
48
48
|
"@semantic-release/npm": "^11.0.3",
|
|
49
49
|
"@semantic-release/release-notes-generator": "^12.1.0",
|
|
50
50
|
"eslint": "^8.44.0",
|
|
51
|
-
"eslint-config-airbnb-base": "^15.0.0",
|
|
52
|
-
"eslint-config-prettier": "^10.1.5",
|
|
53
|
-
"eslint-plugin-import": "^2.30.1",
|
|
54
|
-
"eslint-plugin-prettier": "^5.4.0",
|
|
55
51
|
"ioredis": "^5.8.0",
|
|
56
52
|
"jest": "^29.6.1",
|
|
57
53
|
"semantic-release": "^22.0.12"
|
package/src/registryClient.js
CHANGED
|
@@ -715,10 +715,12 @@ class ServiceRegistryClient extends EventEmitter {
|
|
|
715
715
|
* Get basic service state for service discovery.
|
|
716
716
|
*
|
|
717
717
|
* Reads the projection the registry already maintains — the `<prefix>services`
|
|
718
|
-
* hash, one JSON summary per service name. **Not HTTP.**
|
|
719
|
-
*
|
|
720
|
-
*
|
|
721
|
-
*
|
|
718
|
+
* hash, one JSON summary per service name. **Not HTTP.** The owner decided that
|
|
719
|
+
* on 2026-09-02 (confirmation biz-discovery-redis-001). It is its own decision,
|
|
720
|
+
* not a reading of ADR 0005: that ADR
|
|
721
|
+
* (api/docs/biz/80-decisions/0005-no-http-in-biz-containers.md) bans an HTTP
|
|
722
|
+
* LISTENER in a biz container and is silent on outbound calls — this extends the
|
|
723
|
+
* same reasoning to the calls a biz container makes.
|
|
722
724
|
* Until then this method polled `GET /services`, which is what made every biz
|
|
723
725
|
* container an HTTP client of the registry ~142x a day.
|
|
724
726
|
*
|
|
@@ -743,7 +745,7 @@ class ServiceRegistryClient extends EventEmitter {
|
|
|
743
745
|
+ 'Expected/Fix: pass `redis` (a connected client exposing hGet) into the '
|
|
744
746
|
+ 'ServiceRegistryClient constructor; @onlineapps/service-wrapper does this '
|
|
745
747
|
+ 'from its own Redis configuration. Discovery reads the registry projection, '
|
|
746
|
-
+ 'never HTTP (
|
|
748
|
+
+ 'never HTTP (owner decision biz-discovery-redis-001, 2026-09-02).'
|
|
747
749
|
);
|
|
748
750
|
}
|
|
749
751
|
|