@finos/legend-extension-dsl-service 1.0.177 → 1.0.179
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/query/ServiceRegisterModal.d.ts.map +1 -1
- package/lib/components/query/ServiceRegisterModal.js +3 -1
- package/lib/components/query/ServiceRegisterModal.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/package.json +2 -2
- package/package.json +14 -14
- package/src/components/query/ServiceRegisterModal.tsx +3 -2
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ServiceRegisterModal.d.ts","sourceRoot":"","sources":["../../../src/components/query/ServiceRegisterModal.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAkCH,OAAO,EACL,KAAK,kBAAkB,EAKxB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAExE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAKrE,eAAO,MAAM,kBAAkB,cAClB,MAAM,GAAG,SAAS,UACrB,kBAAkB,EAAE,GAAG,SAAS,KACvC,MAMF,CAAC;AAEF,eAAO,MAAM,oBAAoB,WACvB;IACN,WAAW,EAAE,gBAAgB,CAAC;IAC9B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,iBAAiB,EAAE,iBAAiB,CAAC;CACtC;;
|
1
|
+
{"version":3,"file":"ServiceRegisterModal.d.ts","sourceRoot":"","sources":["../../../src/components/query/ServiceRegisterModal.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAkCH,OAAO,EACL,KAAK,kBAAkB,EAKxB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAExE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAKrE,eAAO,MAAM,kBAAkB,cAClB,MAAM,GAAG,SAAS,UACrB,kBAAkB,EAAE,GAAG,SAAS,KACvC,MAMF,CAAC;AAEF,eAAO,MAAM,oBAAoB,WACvB;IACN,WAAW,EAAE,gBAAgB,CAAC;IAC9B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,iBAAiB,EAAE,iBAAiB,CAAC;CACtC;;CAwRF,CAAC"}
|
@@ -74,10 +74,12 @@ export const ServiceRegisterModal = observer((props) => {
|
|
74
74
|
const darkMode = !editorStore.applicationStore.layoutService
|
75
75
|
.TEMPORARY__isLightColorThemeEnabled;
|
76
76
|
const registerService = editorStore.applicationStore.guardUnhandledError(async () => {
|
77
|
+
const projectInfo = editorStore.getProjectInfo();
|
77
78
|
if (registrationState.isInProgress ||
|
78
79
|
!servicePattern ||
|
79
80
|
!isServiceUrlPatternValid ||
|
80
81
|
!selectedEnvOption ||
|
82
|
+
!projectInfo ||
|
81
83
|
!queryBuilderState.executionContextState.mapping ||
|
82
84
|
!(queryBuilderState.executionContextState.runtimeValue instanceof
|
83
85
|
RuntimePointer)) {
|
@@ -89,7 +91,7 @@ export const ServiceRegisterModal = observer((props) => {
|
|
89
91
|
registrationState.setMessage(`Registering service...`);
|
90
92
|
const service = await createServiceElement('model::QueryService', servicePattern, owners.map((o) => o.value), queryBuilderState.buildQuery(), queryBuilderState.executionContextState.mapping.path, queryBuilderState.executionContextState.runtimeValue
|
91
93
|
.packageableRuntime.value.path, editorStore.graphManagerState);
|
92
|
-
const { groupId, artifactId, versionId } =
|
94
|
+
const { groupId, artifactId, versionId } = projectInfo;
|
93
95
|
const serviceRegistrationResult = await editorStore.graphManagerState.graphManager.registerService(service, editorStore.graphManagerState.graph, groupId, artifactId, resolveVersion(versionId), guaranteeNonNullable(serverConfig?.executionUrl), ServiceExecutionMode.SEMI_INTERACTIVE);
|
94
96
|
if (activateService) {
|
95
97
|
registrationState.setMessage(`Activating service...`);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ServiceRegisterModal.js","sourceRoot":"","sources":["../../../src/components/query/ServiceRegisterModal.tsx"],"names":[],"mappings":";AAAA;;;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AK,IAAmB,EAAE;QACxB,IACE,iBAAiB,CAAC,YAAY;YAC9B,CAAC,cAAc;YACf,CAAC,wBAAwB;YACzB,CAAC,iBAAiB;YAClB,CAAC,iBAAiB,CAAC,qBAAqB,CAAC,OAAO;YAChD,CAAC,CACC,iBAAiB,CAAC,qBAAqB,CAAC,YAAY;gBACpD,cAAc,CACf,EACD,CAAC;YACD,OAAO;QACT,CAAC;QACD,IAAI,CAAC;YACH,iBAAiB,CAAC,UAAU,EAAE,CAAC;YAC/B,MAAM,YAAY,GAAG,yBAAyB,CAAC,IAAI,CACjD,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,GAAG,KAAK,iBAAiB,CAAC,KAAK,CACnD,CAAC;YACF,iBAAiB,CAAC,UAAU,CAAC,wBAAwB,CAAC,CAAC;YACvD,MAAM,OAAO,GAAG,MAAM,oBAAoB,CACxC,qBAAqB,EACrB,cAAc,EACd,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,EAC1B,iBAAiB,CAAC,UAAU,EAAE,EAC9B,iBAAiB,CAAC,qBAAqB,CAAC,OAAO,CAAC,IAAI,EACpD,iBAAiB,CAAC,qBAAqB,CAAC,YAAY;iBACjD,kBAAkB,CAAC,KAAK,CAAC,IAAI,EAChC,WAAW,CAAC,iBAAiB,CAC9B,CAAC;YAEF,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,
|
1
|
+
{"version":3,"file":"ServiceRegisterModal.js","sourceRoot":"","sources":["../../../src/components/query/ServiceRegisterModal.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,oBAAoB,EACpB,oBAAoB,EACpB,QAAQ,EACR,IAAI,GACL,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AI,EACnB,KAAK,EAAE,MAAM,GACb,GACE,IACF,EACN,eAAK,SAAS,EAAC,+BAA+B,aAC5C,cAAK,SAAS,EAAC,sCAAsC,iCAE/C,EACN,cAAK,SAAS,EAAC,qDAAqD,YAClE,KAAC,mBAAmB,IAClB,OAAO,EAAE,UAAU,EACnB,QAAQ,EAAE,iBAAiB,EAC3B,KAAK,EAAE,iBAAiB,EACxB,QAAQ,EAAE,QAAQ,GAClB,GACE,IACF,EACN,cACE,SAAS,EAAC,kDAAkD,EAC5D,OAAO,EAAE,qBAAqB,YAE9B,eAAK,SAAS,EAAC,wCAAwC,aACrD,iBACE,SAAS,EAAE,IAAI,CACb,6CAA6C,EAC7C;4DACE,sDAAsD,EACpD,eAAe;yDAClB,CACF,EACD,QAAQ,EAAE,CAAC,CAAC,YAEX,eAAe,CAAC,CAAC,CAAC,KAAC,eAAe,KAAG,CAAC,CAAC,CAAC,KAAC,UAAU,KAAG,GAChD,EACT,cAAK,SAAS,EAAC,gDAAgD,oDAEzD,IACF,GACF,IACF,EACN,KAAC,YAAY,KAAG,IACC,IACb,EACR,eAAK,SAAS,EAAC,uBAAuB,aACpC,iBACE,SAAS,EAAC,eAAe,EACzB,OAAO,EAAE,eAAe,EACxB,QAAQ,EAAE,CAAC,iBAAiB,CAAC,aAAa,EAC1C,KAAK,EACH,CAAC,iBAAiB,CAAC,aAAa;gCAC9B,CAAC,CAAC,6DAA6D;gCAC/D,CAAC,CAAC,SAAS,iCAIR,EACT,iBAAQ,SAAS,EAAC,eAAe,EAAC,OAAO,EAAE,OAAO,sBAEzC,IACL,IACA,GACD,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
|
package/lib/index.css
CHANGED
package/lib/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@finos/legend-extension-dsl-service",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.179",
|
4
4
|
"description": "Legend extension for Service DSL",
|
5
5
|
"keywords": [
|
6
6
|
"legend",
|
@@ -68,7 +68,7 @@
|
|
68
68
|
"jest": "29.7.0",
|
69
69
|
"npm-run-all": "4.1.5",
|
70
70
|
"rimraf": "5.0.7",
|
71
|
-
"sass": "1.77.
|
71
|
+
"sass": "1.77.4",
|
72
72
|
"typescript": "5.4.5"
|
73
73
|
},
|
74
74
|
"peerDependencies": {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@finos/legend-extension-dsl-service",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.179",
|
4
4
|
"description": "Legend extension for Service DSL",
|
5
5
|
"keywords": [
|
6
6
|
"legend",
|
@@ -42,17 +42,17 @@
|
|
42
42
|
"test:watch": "jest --watch"
|
43
43
|
},
|
44
44
|
"dependencies": {
|
45
|
-
"@finos/legend-application": "15.1.
|
46
|
-
"@finos/legend-application-query": "13.
|
47
|
-
"@finos/legend-application-studio": "28.17.
|
48
|
-
"@finos/legend-art": "7.1.
|
49
|
-
"@finos/legend-graph": "31.10.
|
50
|
-
"@finos/legend-lego": "1.2.
|
51
|
-
"@finos/legend-query-builder": "4.14.
|
52
|
-
"@finos/legend-server-depot": "6.0.
|
53
|
-
"@finos/legend-server-sdlc": "5.3.
|
54
|
-
"@finos/legend-shared": "10.0.
|
55
|
-
"@finos/legend-storage": "3.0.
|
45
|
+
"@finos/legend-application": "15.1.7",
|
46
|
+
"@finos/legend-application-query": "13.5.1",
|
47
|
+
"@finos/legend-application-studio": "28.17.7",
|
48
|
+
"@finos/legend-art": "7.1.35",
|
49
|
+
"@finos/legend-graph": "31.10.3",
|
50
|
+
"@finos/legend-lego": "1.2.37",
|
51
|
+
"@finos/legend-query-builder": "4.14.46",
|
52
|
+
"@finos/legend-server-depot": "6.0.44",
|
53
|
+
"@finos/legend-server-sdlc": "5.3.15",
|
54
|
+
"@finos/legend-shared": "10.0.39",
|
55
|
+
"@finos/legend-storage": "3.0.89",
|
56
56
|
"@types/react": "18.3.3",
|
57
57
|
"mobx": "6.12.3",
|
58
58
|
"mobx-react-lite": "4.0.7",
|
@@ -61,14 +61,14 @@
|
|
61
61
|
"serializr": "3.0.2"
|
62
62
|
},
|
63
63
|
"devDependencies": {
|
64
|
-
"@finos/legend-dev-utils": "2.1.
|
64
|
+
"@finos/legend-dev-utils": "2.1.7",
|
65
65
|
"@jest/globals": "29.7.0",
|
66
66
|
"cross-env": "7.0.3",
|
67
67
|
"eslint": "8.57.0",
|
68
68
|
"jest": "29.7.0",
|
69
69
|
"npm-run-all": "4.1.5",
|
70
70
|
"rimraf": "5.0.7",
|
71
|
-
"sass": "1.77.
|
71
|
+
"sass": "1.77.4",
|
72
72
|
"typescript": "5.4.5"
|
73
73
|
},
|
74
74
|
"peerDependencies": {
|
@@ -142,11 +142,13 @@ export const ServiceRegisterModal = observer(
|
|
142
142
|
|
143
143
|
const registerService = editorStore.applicationStore.guardUnhandledError(
|
144
144
|
async (): Promise<void> => {
|
145
|
+
const projectInfo = editorStore.getProjectInfo();
|
145
146
|
if (
|
146
147
|
registrationState.isInProgress ||
|
147
148
|
!servicePattern ||
|
148
149
|
!isServiceUrlPatternValid ||
|
149
150
|
!selectedEnvOption ||
|
151
|
+
!projectInfo ||
|
150
152
|
!queryBuilderState.executionContextState.mapping ||
|
151
153
|
!(
|
152
154
|
queryBuilderState.executionContextState.runtimeValue instanceof
|
@@ -172,8 +174,7 @@ export const ServiceRegisterModal = observer(
|
|
172
174
|
editorStore.graphManagerState,
|
173
175
|
);
|
174
176
|
|
175
|
-
const { groupId, artifactId, versionId } =
|
176
|
-
editorStore.getProjectInfo();
|
177
|
+
const { groupId, artifactId, versionId } = projectInfo;
|
177
178
|
|
178
179
|
const serviceRegistrationResult =
|
179
180
|
await editorStore.graphManagerState.graphManager.registerService(
|