@onlineapps/conn-orch-registry 4.0.1 → 4.0.2

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 CHANGED
@@ -116,11 +116,11 @@ Both are refused at construction, by value, naming the fix.
116
116
 
117
117
  `amqpUrl` carries the broker credential, so no error message and no log line of this
118
118
  package renders it as given: the URL passes through `redactUrl` from
119
- `@onlineapps/mq-client-core`, which drops the userinfo (`user:password@`) and keeps
119
+ `@onlineapps/logger-contract`, which drops the userinfo (`user:password@`) and keeps
120
120
  scheme, host, port and vhost. The connection itself uses the URL you passed — the
121
121
  redaction applies only to what gets written out. (The helper was a local copy until
122
- d.446b, from the days when that package masked the password alone; one concern, one
123
- rail.)
122
+ d.446b and then an import from `@onlineapps/mq-client-core` until d.455, kdy se
123
+ implementace přestěhovala do core vrstvy; one concern, one rail.)
124
124
 
125
125
  ## 📬 Delivery of registry messages
126
126
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onlineapps/conn-orch-registry",
3
- "version": "4.0.1",
3
+ "version": "4.0.2",
4
4
  "license": "MIT",
5
5
  "description": "conn-orch-registry 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": [
@@ -36,8 +36,8 @@
36
36
  "access": "public"
37
37
  },
38
38
  "dependencies": {
39
- "@onlineapps/logger-contract": "1.1.0",
40
- "@onlineapps/mq-client-core": "3.0.1",
39
+ "@onlineapps/logger-contract": "1.3.0",
40
+ "@onlineapps/mq-client-core": "3.1.0",
41
41
  "uuid": "^9.0.1"
42
42
  },
43
43
  "devDependencies": {
@@ -34,8 +34,8 @@
34
34
  */
35
35
 
36
36
  const BaseClient = require('@onlineapps/mq-client-core');
37
- const { queueConfig, redactUrl } = require('@onlineapps/mq-client-core');
38
- const { assertLogger } = require('@onlineapps/logger-contract');
37
+ const { queueConfig } = require('@onlineapps/mq-client-core');
38
+ const { assertLogger, redactUrl } = require('@onlineapps/logger-contract');
39
39
 
40
40
  /**
41
41
  * Queue manager for the microservice connector.
@@ -64,8 +64,10 @@ class QueueManager {
64
64
  this.amqpUrl = amqpUrl;
65
65
  // The URL carries the broker credential, so nothing that reaches a message or
66
66
  // a log line uses `this.amqpUrl` — only this redacted form. The redactor is
67
- // the platform's one (`@onlineapps/mq-client-core`, d.448); a local copy stood
68
- // here until d.446b, from the days when that package masked the password alone.
67
+ // the platform's one; a local copy stood here until d.446b, from the days when
68
+ // no shared package declared one. Od d.455 ho vlastní
69
+ // `@onlineapps/logger-contract` (vrstva L1), ne `@onlineapps/mq-client-core`.
70
+ // @see node_modules/@onlineapps/logger-contract/src/redactUrl.js
69
71
  this.safeAmqpUrl = redactUrl(amqpUrl);
70
72
  this.serviceName = serviceName;
71
73
  this.client = new BaseClient({