@kapeta/local-cluster-service 0.33.9 → 0.34.0
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/CHANGELOG.md
CHANGED
@@ -1,3 +1,17 @@
|
|
1
|
+
# [0.34.0](https://github.com/kapetacom/local-cluster-service/compare/v0.33.10...v0.34.0) (2024-01-20)
|
2
|
+
|
3
|
+
|
4
|
+
### Features
|
5
|
+
|
6
|
+
* Bumped several core libraries to support new kaplang version ([84fec09](https://github.com/kapetacom/local-cluster-service/commit/84fec0916a66fbd3e1ad9a0b720dd185445a4f85))
|
7
|
+
|
8
|
+
## [0.33.10](https://github.com/kapetacom/local-cluster-service/compare/v0.33.9...v0.33.10) (2024-01-11)
|
9
|
+
|
10
|
+
|
11
|
+
### Bug Fixes
|
12
|
+
|
13
|
+
* dont use underscores in fullName ([536498c](https://github.com/kapetacom/local-cluster-service/commit/536498c50a525538034c60506216fda90e6dfca4))
|
14
|
+
|
1
15
|
## [0.33.9](https://github.com/kapetacom/local-cluster-service/compare/v0.33.8...v0.33.9) (2024-01-11)
|
2
16
|
|
3
17
|
|
@@ -102,6 +102,7 @@ class OperatorManager {
|
|
102
102
|
throw new Error('Unknown resource port type : ' + resourceType + '#' + portType);
|
103
103
|
}
|
104
104
|
const dbName = name + '_' + fromServiceId.replace(/[^a-z0-9]/gi, '');
|
105
|
+
const safeName = dbName.replace('_', '-');
|
105
106
|
return {
|
106
107
|
host: environment === 'docker' ? 'host.docker.internal' : '127.0.0.1',
|
107
108
|
port: portInfo.hostPort,
|
@@ -109,7 +110,7 @@ class OperatorManager {
|
|
109
110
|
protocol: portInfo.protocol,
|
110
111
|
options: {
|
111
112
|
// expose as fullName since that is not operator specific, but unique
|
112
|
-
fullName:
|
113
|
+
fullName: safeName,
|
113
114
|
dbName,
|
114
115
|
},
|
115
116
|
credentials,
|
@@ -102,6 +102,7 @@ class OperatorManager {
|
|
102
102
|
throw new Error('Unknown resource port type : ' + resourceType + '#' + portType);
|
103
103
|
}
|
104
104
|
const dbName = name + '_' + fromServiceId.replace(/[^a-z0-9]/gi, '');
|
105
|
+
const safeName = dbName.replace('_', '-');
|
105
106
|
return {
|
106
107
|
host: environment === 'docker' ? 'host.docker.internal' : '127.0.0.1',
|
107
108
|
port: portInfo.hostPort,
|
@@ -109,7 +110,7 @@ class OperatorManager {
|
|
109
110
|
protocol: portInfo.protocol,
|
110
111
|
options: {
|
111
112
|
// expose as fullName since that is not operator specific, but unique
|
112
|
-
fullName:
|
113
|
+
fullName: safeName,
|
113
114
|
dbName,
|
114
115
|
},
|
115
116
|
credentials,
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@kapeta/local-cluster-service",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.34.0",
|
4
4
|
"description": "Manages configuration, ports and service discovery for locally running Kapeta systems",
|
5
5
|
"type": "commonjs",
|
6
6
|
"exports": {
|
@@ -51,12 +51,16 @@
|
|
51
51
|
"@kapeta/local-cluster-config": ">= 0.3.0 <2",
|
52
52
|
"@kapeta/nodejs-api-client": ">=0.1.3 <2",
|
53
53
|
"@kapeta/nodejs-process": "<2",
|
54
|
-
"@kapeta/nodejs-registry-utils": ">=0.
|
54
|
+
"@kapeta/nodejs-registry-utils": ">=0.9.4 <2",
|
55
55
|
"@kapeta/nodejs-utils": "<2",
|
56
|
-
"@kapeta/
|
57
|
-
"@kapeta/
|
58
|
-
"@kapeta/
|
59
|
-
"@
|
56
|
+
"@kapeta/sdk-config": "^2.0.0",
|
57
|
+
"@kapeta/web-microfrontend": "^1",
|
58
|
+
"@kapeta/kaplang-core": "^1.9",
|
59
|
+
"@kapeta/schemas": "^2.0.0",
|
60
|
+
"@kapeta/ui-web-components": "^3.0.1",
|
61
|
+
"@kapeta/ui-web-plan-editor": "^2.0.0",
|
62
|
+
"@kapeta/ui-web-types": "^1.2.0",
|
63
|
+
"@sentry/node": "^7.94.1",
|
60
64
|
"@types/dockerode": "^3.3.19",
|
61
65
|
"@types/stream-json": "^1.7.3",
|
62
66
|
"async-lock": "^1.4.0",
|
package/src/operatorManager.ts
CHANGED
@@ -145,6 +145,7 @@ class OperatorManager {
|
|
145
145
|
}
|
146
146
|
|
147
147
|
const dbName = name + '_' + fromServiceId.replace(/[^a-z0-9]/gi, '');
|
148
|
+
const safeName = dbName.replace('_', '-');
|
148
149
|
|
149
150
|
return {
|
150
151
|
host: environment === 'docker' ? 'host.docker.internal' : '127.0.0.1',
|
@@ -153,7 +154,7 @@ class OperatorManager {
|
|
153
154
|
protocol: portInfo.protocol,
|
154
155
|
options: {
|
155
156
|
// expose as fullName since that is not operator specific, but unique
|
156
|
-
fullName:
|
157
|
+
fullName: safeName,
|
157
158
|
dbName,
|
158
159
|
},
|
159
160
|
credentials,
|