@mimik/configuration 5.0.12 → 5.0.13

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
@@ -98,6 +98,7 @@ The following environement variables are being used for the configuration:
98
98
  | MIT_AUDIENCE | audience of mIT | | dependencies.mIT.audience | [2]
99
99
  | REGISTRATION_SET | swicht to enable user of registration | on | registration.set | can be `on` or `off`
100
100
  | REGISTRATION_RETRY | retry time for registering to mIT | 3000 | registration.retry | in milliseconds
101
+ | REGISTRATION_AFTER_POSTOPS_SET | switch to set the registration of execution the postOps | off | registratiom.afterPostOpsSet | can be `on` or `off`
101
102
  | `$_URL`.toUpperCase() | cluster information | self | dependencies.`(SERVER_TYPE)`.url | should not be used
102
103
  | `${configuration.serverSettings.type}_AUDIENCE`.toUpperCase() | cluster information | | dependencies.`(SERVER_TYPE)`.audience | [2], but should not be used
103
104
 
package/index.js CHANGED
@@ -88,6 +88,7 @@ const {
88
88
  DEFAULT_TOPIC_SET,
89
89
  DEFAULT_REGISTRATION_SET,
90
90
  DEFAULT_REGISTRATION_RETRY,
91
+ DEFAULT_REGISTRATION_AFTER_POSTOPS_SET,
91
92
  DEFAULT_REQUEST_TIMEOUT,
92
93
  DEFAULT_SERVER_PUBLIC_PROTOCOL,
93
94
  DEFAULT_SERVER_PUBLIC_DOMAIN_NAME,
@@ -471,6 +472,7 @@ const configuration = {
471
472
  registration: {
472
473
  set: process.env.REGISTRATION_SET || DEFAULT_REGISTRATION_SET,
473
474
  retry: parseInt(process.env.REGISTRATION_RETRY, 10) || DEFAULT_REGISTRATION_RETRY,
475
+ afterPostOpsSet: process.env.REGISTRATION_AFTER_POSTOPS_SET || DEFAULT_REGISTRATION_AFTER_POSTOPS_SET,
474
476
  },
475
477
  };
476
478
 
@@ -568,6 +570,7 @@ configuration.locationProvider = setupLocationProvider();
568
570
  * | MIT_AUDIENCE | audience of mIT | | dependencies.mIT.audience | [2]
569
571
  * | REGISTRATION_SET | swicht to enable user of registration | on | registration.set | can be `on` or `off`
570
572
  * | REGISTRATION_RETRY | retry time for registering to mIT | 3000 | registration.retry | in milliseconds
573
+ * | REGISTRATION_AFTER_POSTOPS_SET | switch to set the registration of execution the postOps | off | registratiom.afterPostOpsSet | can be `on` or `off`
571
574
  * | `${configuration.serverSettings.type}_URL`.toUpperCase() | cluster information | self | dependencies.`(SERVER_TYPE)`.url | should not be used
572
575
  * | `${configuration.serverSettings.type}_AUDIENCE`.toUpperCase() | cluster information | | dependencies.`(SERVER_TYPE)`.audience | [2], but should not be used
573
576
  *
package/lib/common.js CHANGED
@@ -81,6 +81,7 @@ const DEFAULT_CLUSTER_MANAGEMENT = SET_OFF;
81
81
  const DEFAULT_CACHE_SET = SET_OFF;
82
82
  const DEFAULT_TOPIC_SET = SET_OFF;
83
83
  const DEFAULT_REGISTRATION_SET = SET_ON;
84
+ const DEFAULT_REGISTRATION_AFTER_POSTOPS_SET = SET_OFF;
84
85
  const DEFAULT_INTERCEPT_ERROR = SET_ON;
85
86
 
86
87
  const DEFAULT_REGISTRATION_RETRY = 3000; // in ms
@@ -168,6 +169,7 @@ module.exports = {
168
169
  DEFAULT_TOPIC_SET,
169
170
  DEFAULT_REGISTRATION_SET,
170
171
  DEFAULT_REGISTRATION_RETRY,
172
+ DEFAULT_REGISTRATION_AFTER_POSTOPS_SET,
171
173
  DEFAULT_REQUEST_TIMEOUT,
172
174
  DEFAULT_SERVER_PUBLIC_PROTOCOL,
173
175
  DEFAULT_SERVER_PUBLIC_DOMAIN_NAME,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mimik/configuration",
3
- "version": "5.0.12",
3
+ "version": "5.0.13",
4
4
  "description": "Common configuration for mimik services",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -30,7 +30,7 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "@mimik/request-helper": "^1.7.10",
33
- "@mimik/sumologic-winston-logger": "^1.6.20",
33
+ "@mimik/sumologic-winston-logger": "^1.6.21",
34
34
  "@mimik/user-filters": "^1.3.7",
35
35
  "ip": "2.0.1",
36
36
  "lodash.includes": "4.3.0",
@@ -40,7 +40,7 @@
40
40
  "lodash.isundefined": "3.0.1",
41
41
  "lodash.split": "4.4.2",
42
42
  "lodash.trim": "4.5.1",
43
- "uuid": "9.0.1"
43
+ "uuid": "10.0.0"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@mimik/eslint-plugin-dependencies": "^2.4.6",
@@ -49,8 +49,8 @@
49
49
  "eslint-config-airbnb": "19.0.4",
50
50
  "eslint-plugin-import": "2.29.1",
51
51
  "eslint-plugin-jsx-a11y": "6.8.0",
52
- "eslint-plugin-react": "7.34.0",
53
- "eslint-plugin-react-hooks": "4.6.0",
52
+ "eslint-plugin-react": "7.34.2",
53
+ "eslint-plugin-react-hooks": "4.6.2",
54
54
  "husky": "9.0.11",
55
55
  "jsdoc-to-markdown": "8.0.1"
56
56
  }