@finos/legend-extension-dsl-service 1.0.160 → 1.0.162
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/studio/QueryProductionizerStore.d.ts.map +1 -1
- package/lib/stores/studio/QueryProductionizerStore.js +10 -2
- package/lib/stores/studio/QueryProductionizerStore.js.map +1 -1
- package/package.json +6 -6
- package/src/stores/studio/QueryProductionizerStore.ts +11 -3
package/lib/index.css
CHANGED
package/lib/package.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryProductionizerStore.d.ts","sourceRoot":"","sources":["../../../src/stores/studio/QueryProductionizerStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AASH,OAAO,EACL,KAAK,4BAA4B,EACjC,KAAK,0BAA0B,EAIhC,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,KAAK,UAAU,EACf,KAAK,SAAS,EACd,iBAAiB,EAUjB,OAAO,EAEP,SAAS,
|
1
|
+
{"version":3,"file":"QueryProductionizerStore.d.ts","sourceRoot":"","sources":["../../../src/stores/studio/QueryProductionizerStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AASH,OAAO,EACL,KAAK,4BAA4B,EACjC,KAAK,0BAA0B,EAIhC,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,KAAK,UAAU,EACf,KAAK,SAAS,EACd,iBAAiB,EAUjB,OAAO,EAEP,SAAS,EAEV,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,iBAAiB,EACtB,gBAAgB,EAIjB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,KAAK,gBAAgB,EACrB,OAAO,EACP,SAAS,EAMT,IAAI,EACL,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,KAAK,WAAW,EAEhB,WAAW,EAKZ,MAAM,sBAAsB,CAAC;AAwB9B,eAAO,MAAM,oBAAoB,gBAClB,MAAM,kBACH,MAAM,iBACP,MAA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D,gBAAgB,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAInC,cAAc,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAIjC,iBAAiB,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAIpC,gBAAgB,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,IAAI;IAIrC,iBAAiB,IAAI,IAAI;IASzB,mBAAmB,IAAI,IAAI;IAM3B,IAAI,oBAAoB,IAAI,OAAO,CAIlC;IAED,IAAI,kBAAkB,IAAI,OAAO,CAEhC;IAED,IAAI,wBAAwB,IAAI,OAAO,CAEtC;IAEA,UAAU,CAAC,OAAO,EAAE,MAAM,GAAG,SAAS,GAAG,WAAW,CAAC,IAAI,CAAC;IAuD1D,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,WAAW,CAAC,IAAI,EAAE,CAAC;IAY9C,WAAW,CAAC,KAAK,EAAE,UAAU,GAAG,WAAW,CAAC,IAAI,CAAC;IA6CjD,WAAW,CAAC,UAAU,EAAE,MAAM,GAAG,WAAW,CAAC,IAAI,CAAC;IAoBlD,YAAY,CAAC,UAAU,EAAE,MAAM,GAAG,WAAW,CAAC,IAAI,CAAC;IAqBnD,aAAa,CAAC,OAAO,EAAE,OAAO,GAAG,WAAW,CAAC,IAAI,CAAC;IAkD7C,kBAAkB,IAAI,OAAO,CAAC,IAAI,CAAC;CAuS1C"}
|
@@ -15,7 +15,7 @@
|
|
15
15
|
*/
|
16
16
|
import { ActionAlertActionType, ActionAlertType, DEFAULT_TYPEAHEAD_SEARCH_LIMIT, DEFAULT_TYPEAHEAD_SEARCH_MINIMUM_SEARCH_LENGTH, DEFAULT_TAB_SIZE, } from '@finos/legend-application';
|
17
17
|
import { LEGEND_STUDIO_APP_EVENT, generateEditorRoute, fetchProjectConfigurationStatus, } from '@finos/legend-application-studio';
|
18
|
-
import { GraphManagerState, QuerySearchSpecification, isValidFullPath, validate_ServicePattern, resolvePackagePathAndElementName, PureSingleExecution, stub_ElementhWithPackagePath, PackageableRuntime, PackageableElementExplicitReference, RuntimePointer, Service, Mapping, RawLambda, } from '@finos/legend-graph';
|
18
|
+
import { GraphManagerState, QuerySearchSpecification, isValidFullPath, validate_ServicePattern, resolvePackagePathAndElementName, PureSingleExecution, stub_ElementhWithPackagePath, PackageableRuntime, PackageableElementExplicitReference, RuntimePointer, Service, Mapping, RawLambda, QueryExplicitExecutionContextInfo, } from '@finos/legend-graph';
|
19
19
|
import { StoreProjectData, ProjectDependencyCoordinates, resolveVersion, ProjectVersionEntities, } from '@finos/legend-server-depot';
|
20
20
|
import { Project, Workspace, WorkspaceType, ProjectConfiguration, ProjectDependency, UpdateProjectConfigurationCommand, EntityChangeType, User, } from '@finos/legend-server-sdlc';
|
21
21
|
import { ActionState, assertErrorThrown, uuid, LogEvent, guaranteeNonNullable, } from '@finos/legend-shared';
|
@@ -309,7 +309,15 @@ export class QueryProductionizerStore {
|
|
309
309
|
prompt: 'Please do not close the application',
|
310
310
|
showLoading: true,
|
311
311
|
});
|
312
|
-
|
312
|
+
let mapping = this.currentQueryInfo.mapping;
|
313
|
+
let runtime = this.currentQueryInfo.runtime;
|
314
|
+
const execContext = this.currentQueryInfo.executionContext;
|
315
|
+
if (execContext instanceof QueryExplicitExecutionContextInfo) {
|
316
|
+
mapping = execContext.mapping;
|
317
|
+
runtime = execContext.runtime;
|
318
|
+
}
|
319
|
+
// TODO handle dataspace
|
320
|
+
const serviceEntity = await createServiceEntity(this.servicePath, this.servicePattern, this.serviceOwners, this.currentQueryInfo.content, guaranteeNonNullable(mapping, 'Unable to resolve mapping for service'), guaranteeNonNullable(runtime, 'Unable to resolve runtime for service'), this.graphManagerState);
|
313
321
|
const projectData = await Promise.all([
|
314
322
|
this.sdlcServerClient.getEntities(project.projectId, undefined),
|
315
323
|
this.sdlcServerClient.getConfiguration(project.projectId, undefined),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryProductionizerStore.js","sourceRoot":"","sources":["../../../src/stores/studio/QueryPro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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,kBAAkB,CAAC,IAAI,EAAE,CAAC;SAChC;IACH,CAAC;CACF"}
|
1
|
+
{"version":3,"file":"QueryProductionizerStore.js","sourceRoot":"","sources":["../../../src/stores/studio/QueryProductionizerStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,qBAAqB,EACrB,eAAe,EACf,8BAA8B,EAC9B,8CAA8C,EAC9C,gBAAgB,GACjB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAGL,uBAAuB,EACvB,mBAAmB,EACnB,+BAA+B,GAChC,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAGL,iBAAiB,EACjB,wBAAwB,EACxB,eAAe,EACf,uBAAuB,EACvB,gCAAgC,EAChC,mBAAmB,EACnB,4BAA4B,EAC5B,kBAAkB,EAClB,mCAAmC,EACnC,cAAc,EACd,OAAO,EACP,OAAO,EACP,SAAS,EACT,iCAAiC,GAClC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,gBAAgB,EAChB,4BAA4B,EAC5B,cAAc,EACd,sBAAsB,GACvB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAEL,OAAO,EACP,SAAS,EACT,aAAa,EACb,oBAAoB,EACpB,iBAAiB,EACjB,iCAAiC,EACjC,gBAAgB,EAChB,IAAI,GACL,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAGL,WAAW,EACX,iBAAiB,EACjB,IAAI,EACJ,QAAQ,EACR,oBAAoB,GACrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAe,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAC5E,OAAO,EACL,MAAM,EACN,QAAQ,EACR,IAAI,EACJ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ACpD,OAAO,EAAE,sJAAsJ;oBAC/J,MAAM,EAAE,0DAA0D;oBAClE,IAAI,EAAE,eAAe,CAAC,QAAQ;oBAC9B,OAAO,EAAE;wBACP;4BACE,KAAK,EAAE,SAAS;4BAChB,IAAI,EAAE,qBAAqB,CAAC,oBAAoB;4BAChD,OAAO,EAAE,GAAS,EAAE;gCAClB,cAAc,EAAE,CAAC,KAAK,CACpB,IAAI,CAAC,gBAAgB,CAAC,mBAAmB,CAC1C,CAAC;4BACJ,CAAC;yBACF;wBACD;4BACE,KAAK,EAAE,OAAO;4BACd,IAAI,EAAE,qBAAqB,CAAC,OAAO;4BACnC,OAAO,EAAE,GAAS,EAAE;gCAClB,IAAI,CAAC,kBAAkB,CAAC,IAAI,EAAE,CAAC;4BACjC,CAAC;4BACD,OAAO,EAAE,IAAI;yBACd;qBACF;iBACF,CAAC,CAAC;aACJ;iBAAM;gBACL,MAAM,cAAc,EAAE,CAAC;aACxB;YAED,IAAI,CAAC,kBAAkB,CAAC,IAAI,EAAE,CAAC;SAChC;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,kBAAkB,CAAC,IAAI,EAAE,CAAC;SAChC;IACH,CAAC;CACF"}
|
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.162",
|
4
4
|
"description": "Legend extension for Service DSL",
|
5
5
|
"keywords": [
|
6
6
|
"legend",
|
@@ -43,12 +43,12 @@
|
|
43
43
|
},
|
44
44
|
"dependencies": {
|
45
45
|
"@finos/legend-application": "15.0.75",
|
46
|
-
"@finos/legend-application-query": "13.4.
|
47
|
-
"@finos/legend-application-studio": "28.16.
|
46
|
+
"@finos/legend-application-query": "13.4.6",
|
47
|
+
"@finos/legend-application-studio": "28.16.17",
|
48
48
|
"@finos/legend-art": "7.1.27",
|
49
|
-
"@finos/legend-graph": "31.9.
|
50
|
-
"@finos/legend-lego": "1.2.
|
51
|
-
"@finos/legend-query-builder": "4.14.
|
49
|
+
"@finos/legend-graph": "31.9.13",
|
50
|
+
"@finos/legend-lego": "1.2.27",
|
51
|
+
"@finos/legend-query-builder": "4.14.29",
|
52
52
|
"@finos/legend-server-depot": "6.0.39",
|
53
53
|
"@finos/legend-server-sdlc": "5.3.10",
|
54
54
|
"@finos/legend-shared": "10.0.34",
|
@@ -44,6 +44,7 @@ import {
|
|
44
44
|
Service,
|
45
45
|
Mapping,
|
46
46
|
RawLambda,
|
47
|
+
QueryExplicitExecutionContextInfo,
|
47
48
|
} from '@finos/legend-graph';
|
48
49
|
import {
|
49
50
|
type DepotServerClient,
|
@@ -530,13 +531,21 @@ export class QueryProductionizerStore {
|
|
530
531
|
prompt: 'Please do not close the application',
|
531
532
|
showLoading: true,
|
532
533
|
});
|
534
|
+
let mapping = this.currentQueryInfo.mapping;
|
535
|
+
let runtime = this.currentQueryInfo.runtime;
|
536
|
+
const execContext = this.currentQueryInfo.executionContext;
|
537
|
+
if (execContext instanceof QueryExplicitExecutionContextInfo) {
|
538
|
+
mapping = execContext.mapping;
|
539
|
+
runtime = execContext.runtime;
|
540
|
+
}
|
541
|
+
// TODO handle dataspace
|
533
542
|
const serviceEntity = await createServiceEntity(
|
534
543
|
this.servicePath,
|
535
544
|
this.servicePattern,
|
536
545
|
this.serviceOwners,
|
537
546
|
this.currentQueryInfo.content,
|
538
|
-
|
539
|
-
|
547
|
+
guaranteeNonNullable(mapping, 'Unable to resolve mapping for service'),
|
548
|
+
guaranteeNonNullable(runtime, 'Unable to resolve runtime for service'),
|
540
549
|
this.graphManagerState,
|
541
550
|
);
|
542
551
|
const projectData = await Promise.all([
|
@@ -547,7 +556,6 @@ export class QueryProductionizerStore {
|
|
547
556
|
projectData[0] as unknown as Entity[],
|
548
557
|
ProjectConfiguration.serialization.fromJson(projectData[1]),
|
549
558
|
];
|
550
|
-
|
551
559
|
// 2. auto-configure the project
|
552
560
|
// here, the goal is to identify and add the query's project as a dependency
|
553
561
|
const dependenciesToAdd: ProjectDependency[] = [];
|