@finos/legend-extension-dsl-data-space-studio 0.1.3 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/index.css +1 -1
- package/lib/package.json +1 -1
- package/lib/stores/DataSpaceTemplateQueryPromotionReviewerStore.d.ts.map +1 -1
- package/lib/stores/DataSpaceTemplateQueryPromotionReviewerStore.js +5 -7
- package/lib/stores/DataSpaceTemplateQueryPromotionReviewerStore.js.map +1 -1
- package/package.json +3 -3
- package/src/stores/DataSpaceTemplateQueryPromotionReviewerStore.ts +7 -8
package/lib/index.css
CHANGED
package/lib/package.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DataSpaceTemplateQueryPromotionReviewerStore.d.ts","sourceRoot":"","sources":["../../src/stores/DataSpaceTemplateQueryPromotionReviewerStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,UAAU,EACf,KAAK,SAAS,
|
1
|
+
{"version":3,"file":"DataSpaceTemplateQueryPromotionReviewerStore.d.ts","sourceRoot":"","sources":["../../src/stores/DataSpaceTemplateQueryPromotionReviewerStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,UAAU,EACf,KAAK,SAAS,EACd,iBAAiB,EAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,iBAAiB,EACtB,gBAAgB,EAIjB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,WAAW,EAIX,KAAK,WAAW,EAEjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EACL,KAAK,0BAA0B,EAI/B,KAAK,4BAA4B,EACjC,WAAW,EAEZ,MAAM,kCAAkC,CAAC;AAc1C,OAAO,EACL,KAAK,gBAAgB,EAErB,OAAO,EAEP,SAAS,EACT,oBAAoB,EAErB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAGL,KAAK,u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G,EAAE,MAAM,GAAG,IAAI;IAIxC,2BAA2B,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAI9C,IAAI,oBAAoB,IAAI,OAAO,CAIlC;IAED,IAAI,sBAAsB,IAAI,OAAO,CAQpC;IAEA,UAAU,CACT,OAAO,EAAE,MAAM,GAAG,SAAS,EAC3B,aAAa,EAAE,MAAM,GACpB,WAAW,CAAC,IAAI,CAAC;IAsGnB,SAAS,CAAC,KAAK,EAAE,UAAU,GAAG,WAAW,CAAC,IAAI,CAAC;IA2C/C,WAAW,CAAC,OAAO,EAAE,OAAO,GAAG,WAAW,CAAC,IAAI,CAAC;IA+BhD,sBAAsB,IAAI,WAAW,CAAC,IAAI,CAAC;CAiQ7C"}
|
@@ -14,7 +14,7 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
import { GraphManagerState, } from '@finos/legend-graph';
|
17
|
-
import { StoreProjectData, ProjectDependencyCoordinates, ProjectVersionEntities, } from '@finos/legend-server-depot';
|
17
|
+
import { StoreProjectData, ProjectDependencyCoordinates, ProjectVersionEntities, MASTER_SNAPSHOT_ALIAS, } from '@finos/legend-server-depot';
|
18
18
|
import { ActionState, assertErrorThrown, guaranteeNonNullable, LogEvent, } from '@finos/legend-shared';
|
19
19
|
import {} from '@finos/legend-storage';
|
20
20
|
import { fetchProjectConfigurationStatus, generateEditorRoute, LEGEND_STUDIO_APP_EVENT, EditorStore, generateReviewRoute, } from '@finos/legend-application-studio';
|
@@ -143,7 +143,7 @@ export class DataSpaceTemplateQueryPromotionReviewerStore {
|
|
143
143
|
if (this.currentQuery) {
|
144
144
|
this.currentQueryProject = StoreProjectData.serialization.fromJson((yield this.depotServerClient.getProject(this.currentQuery.groupId, this.currentQuery.artifactId)));
|
145
145
|
const projectData = (yield Promise.all([
|
146
|
-
this.depotServerClient.getVersionEntities(this.currentQuery.groupId, this.currentQuery.artifactId,
|
146
|
+
this.depotServerClient.getVersionEntities(this.currentQuery.groupId, this.currentQuery.artifactId, MASTER_SNAPSHOT_ALIAS),
|
147
147
|
this.sdlcServerClient.getConfiguration(this.currentQueryProject.projectId, undefined),
|
148
148
|
]));
|
149
149
|
const [currentProjectEntities, currentProjectConfiguration] = [
|
@@ -182,7 +182,8 @@ export class DataSpaceTemplateQueryPromotionReviewerStore {
|
|
182
182
|
this.currentQueryInfo =
|
183
183
|
(yield this.graphManagerState.graphManager.getQueryInfo(query.id));
|
184
184
|
this.currentQueryProject = StoreProjectData.serialization.fromJson((yield this.depotServerClient.getProject(this.currentQuery.groupId, this.currentQuery.artifactId)));
|
185
|
-
|
185
|
+
const updatedQueryName = query.name.replace(/[^a-zA-Z0-9]/g, '');
|
186
|
+
this.setWorkspaceName(`${DEFAULT_WORKSPACE_NAME_PREFIX}-${updatedQueryName}`);
|
186
187
|
this.applicationStore.navigationService.navigator.updateCurrentLocation(generateDataSpaceTemplateQueryPromotionRoute(this.currentQuery.groupId, this.currentQuery.artifactId, this.currentQuery.versionId, this.dataSpacePath, query.id));
|
187
188
|
const currentProject = Project.serialization.fromJson((yield this.sdlcServerClient.getProject(this.currentQueryProject.projectId)));
|
188
189
|
yield flowResult(this.loadProject(currentProject));
|
@@ -238,12 +239,9 @@ export class DataSpaceTemplateQueryPromotionReviewerStore {
|
|
238
239
|
showLoading: true,
|
239
240
|
});
|
240
241
|
// update datasapce entity
|
241
|
-
const updatedDataSpaceEntity = (yield this.graphManagerExtension.addNewExecutableToDataSpaceEntity(this.dataSpaceEntity, {
|
242
|
+
const updatedDataSpaceEntity = (yield this.graphManagerExtension.addNewExecutableToDataSpaceEntity(this.dataSpaceEntity, this.currentQueryInfo, {
|
242
243
|
id: this.templateQueryId,
|
243
244
|
title: this.templateQueryTitle,
|
244
|
-
mapping: guaranteeNonNullable(this.currentQueryInfo).mapping,
|
245
|
-
runtime: guaranteeNonNullable(this.currentQueryInfo).runtime,
|
246
|
-
query: (yield this.graphManagerState.graphManager.pureCodeToLambda(this.currentQueryInfo.content)),
|
247
245
|
description: this.templateQueryDescription,
|
248
246
|
}));
|
249
247
|
guaranteeNonNullable(this.currentProjectEntities.filter((entity) => entity.path === this.dataSpacePath &&
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DataSpaceTemplateQueryPromotionReviewerStore.js","sourceRoot":"","sources":["../../src/stores/DataSpaceTemplateQueryPromotionReviewerStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAIL,iBAAiB,GAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,gBAAgB,EAChB,4BAA4B,EAC5B,sBAAsB,GACvB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,oBAAoB,EACpB,QAAQ,GAGT,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAe,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAEL,+BAA+B,EAC/B,mBAAmB,EACnB,uBAAuB,EAEvB,WAAW,EACX,mBAAmB,GACpB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,gBAAgB,EAChB,eAAe,EACf,qBAAqB,GACtB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,cAAc,EACd,UAAU,EACV,QAAQ,EACR,MAAM,EACN,IAAI,EACJ,UAAU,GACX,MAAM,MAAM,CAAC;AACd,OAAO,EAGL,OAAO,EACP,aAAa,EACb,SAAS,EACT,oBAAoB,EACpB,gBAAgB,GACjB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,kCAAkC,EAClC,sCAAsC,GAEvC,MAAM,8CAA8C,CAAC;AACtD,OAAO,EAAE,4CAA4C,EAAE,MAAM,oDAAoD,CAAC;AAElH,MAAM,qCAAqC,GAAG,CAC5C,iBAAoC,EACN,EAAE,CAChC,IAAI,4BAA4B,CAC9B,oBAAoB,CAAC,iBAAiB,CAAC,OAAO,CAAC,EAC/C,oBAAoB,CAAC,iBAAiB,CAAC,UAAU,CAAC,EAClD,iBAAiB,CAAC,SA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,OAAO,EAAE,IAAI;yBACd;qBACF;iBACF,CAAC,CAAC;aACJ;iBAAM;gBACL,MAAM,cAAc,EAAE,CAAC;aACxB;YAED,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC;SAC1B;QAAC,OAAO,KAAK,EAAE;YACd,iBAAiB,CAAC,KAAK,CAAC,CAAC;YACzB,IAAI,CAAC,gBAAgB,CAAC,YAAY,CAAC,gBAAgB,CAAC,SAAS,CAAC,CAAC;YAC/D,IAAI,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;YAC7D,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC;SAC1B;IACH,CAAC;CACF"}
|
1
|
+
{"version":3,"file":"DataSpaceTemplateQueryPromotionReviewerStore.js","sourceRoot":"","sources":["../../src/stores/DataSpaceTemplateQueryPromotionReviewerStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,iBAAiB,GAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,gBAAgB,EAChB,4BAA4B,EAC5B,sBAAsB,EACtB,qBAAqB,GACtB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,oBAAoB,EACpB,QAAQ,GAGT,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAe,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAEL,+BAA+B,EAC/B,mBAAmB,EACnB,uBAAuB,EAEvB,WAAW,EACX,mBAAmB,GACpB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,gBAAgB,EAChB,eAAe,EACf,qBAAqB,GACtB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,cAAc,EACd,UAAU,EACV,QAAQ,EACR,MAAM,EACN,IAAI,EACJ,UAAU,GACX,MAAM,MAAM,CAAC;AACd,OAAO,EAGL,OAAO,EACP,aAAa,EACb,SAAS,EACT,oBAAoB,EACpB,g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KAAK,EAAE,OAAO;4BACd,IAAI,EAAE,qBAAqB,CAAC,OAAO;4BACnC,OAAO,EAAE,GAAS,EAAE;gCAClB,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC;4BAC3B,CAAC;4BACD,OAAO,EAAE,IAAI;yBACd;qBACF;iBACF,CAAC,CAAC;aACJ;iBAAM;gBACL,MAAM,cAAc,EAAE,CAAC;aACxB;YAED,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC;SAC1B;QAAC,OAAO,KAAK,EAAE;YACd,iBAAiB,CAAC,KAAK,CAAC,CAAC;YACzB,IAAI,CAAC,gBAAgB,CAAC,YAAY,CAAC,gBAAgB,CAAC,SAAS,CAAC,CAAC;YAC/D,IAAI,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;YAC7D,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC;SAC1B;IACH,CAAC;CACF"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@finos/legend-extension-dsl-data-space-studio",
|
3
|
-
"version": "0.1.
|
3
|
+
"version": "0.1.5",
|
4
4
|
"description": "Legend extension for Data Space DSL - Studio",
|
5
5
|
"keywords": [
|
6
6
|
"legend",
|
@@ -43,9 +43,9 @@
|
|
43
43
|
},
|
44
44
|
"dependencies": {
|
45
45
|
"@finos/legend-application": "15.0.75",
|
46
|
-
"@finos/legend-application-studio": "28.16.
|
46
|
+
"@finos/legend-application-studio": "28.16.17",
|
47
47
|
"@finos/legend-art": "7.1.27",
|
48
|
-
"@finos/legend-extension-dsl-data-space": "10.3.
|
48
|
+
"@finos/legend-extension-dsl-data-space": "10.3.5",
|
49
49
|
"@finos/legend-server-depot": "6.0.39",
|
50
50
|
"@finos/legend-server-sdlc": "5.3.10",
|
51
51
|
"@finos/legend-shared": "10.0.34",
|
@@ -17,7 +17,6 @@
|
|
17
17
|
import {
|
18
18
|
type LightQuery,
|
19
19
|
type QueryInfo,
|
20
|
-
type RawLambda,
|
21
20
|
GraphManagerState,
|
22
21
|
} from '@finos/legend-graph';
|
23
22
|
import {
|
@@ -25,6 +24,7 @@ import {
|
|
25
24
|
StoreProjectData,
|
26
25
|
ProjectDependencyCoordinates,
|
27
26
|
ProjectVersionEntities,
|
27
|
+
MASTER_SNAPSHOT_ALIAS,
|
28
28
|
} from '@finos/legend-server-depot';
|
29
29
|
import {
|
30
30
|
ActionState,
|
@@ -245,7 +245,7 @@ export class DataSpaceTemplateQueryPromotionReviewerStore {
|
|
245
245
|
this.depotServerClient.getVersionEntities(
|
246
246
|
this.currentQuery.groupId,
|
247
247
|
this.currentQuery.artifactId,
|
248
|
-
|
248
|
+
MASTER_SNAPSHOT_ALIAS,
|
249
249
|
),
|
250
250
|
this.sdlcServerClient.getConfiguration(
|
251
251
|
this.currentQueryProject.projectId,
|
@@ -314,7 +314,10 @@ export class DataSpaceTemplateQueryPromotionReviewerStore {
|
|
314
314
|
this.currentQuery.artifactId,
|
315
315
|
)) as PlainObject<StoreProjectData>,
|
316
316
|
);
|
317
|
-
|
317
|
+
const updatedQueryName = query.name.replace(/[^a-zA-Z0-9]/g, '');
|
318
|
+
this.setWorkspaceName(
|
319
|
+
`${DEFAULT_WORKSPACE_NAME_PREFIX}-${updatedQueryName}`,
|
320
|
+
);
|
318
321
|
this.applicationStore.navigationService.navigator.updateCurrentLocation(
|
319
322
|
generateDataSpaceTemplateQueryPromotionRoute(
|
320
323
|
this.currentQuery.groupId,
|
@@ -400,14 +403,10 @@ export class DataSpaceTemplateQueryPromotionReviewerStore {
|
|
400
403
|
const updatedDataSpaceEntity =
|
401
404
|
(yield this.graphManagerExtension.addNewExecutableToDataSpaceEntity(
|
402
405
|
this.dataSpaceEntity,
|
406
|
+
this.currentQueryInfo,
|
403
407
|
{
|
404
408
|
id: this.templateQueryId,
|
405
409
|
title: this.templateQueryTitle,
|
406
|
-
mapping: guaranteeNonNullable(this.currentQueryInfo).mapping,
|
407
|
-
runtime: guaranteeNonNullable(this.currentQueryInfo).runtime,
|
408
|
-
query: (yield this.graphManagerState.graphManager.pureCodeToLambda(
|
409
|
-
this.currentQueryInfo.content,
|
410
|
-
)) as RawLambda,
|
411
410
|
description: this.templateQueryDescription,
|
412
411
|
},
|
413
412
|
)) as Entity;
|