@finos/legend-extension-dsl-data-space 10.3.3 → 10.3.5
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/query-builder/QueryDataSpaceUtil.d.ts.map +1 -1
- package/lib/components/query-builder/QueryDataSpaceUtil.js +2 -2
- package/lib/components/query-builder/QueryDataSpaceUtil.js.map +1 -1
- package/lib/graph/DSL_DataSpace_MetaModelConst.d.ts +0 -2
- package/lib/graph/DSL_DataSpace_MetaModelConst.d.ts.map +1 -1
- package/lib/graph/DSL_DataSpace_MetaModelConst.js +0 -2
- package/lib/graph/DSL_DataSpace_MetaModelConst.js.map +1 -1
- package/lib/graph-manager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.d.ts +2 -5
- package/lib/graph-manager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.js.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.d.ts +2 -5
- package/lib/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.js +14 -5
- package/lib/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.js.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.d.ts +1 -1
- package/lib/graph-manager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/package.json +1 -1
- package/lib/stores/query-builder/DataSpaceQueryBuilderState.d.ts +2 -1
- package/lib/stores/query-builder/DataSpaceQueryBuilderState.d.ts.map +1 -1
- package/lib/stores/query-builder/DataSpaceQueryBuilderState.js +7 -1
- package/lib/stores/query-builder/DataSpaceQueryBuilderState.js.map +1 -1
- package/lib/stores/shared/DataSpaceUtils.d.ts.map +1 -1
- package/lib/stores/shared/DataSpaceUtils.js +2 -2
- package/lib/stores/shared/DataSpaceUtils.js.map +1 -1
- package/package.json +5 -5
- package/src/components/query-builder/QueryDataSpaceUtil.ts +4 -3
- package/src/graph/DSL_DataSpace_MetaModelConst.ts +0 -2
- package/src/graph-manager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.ts +2 -4
- package/src/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.ts +23 -20
- package/src/graph-manager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.ts +1 -1
- package/src/stores/query-builder/DataSpaceQueryBuilderState.ts +9 -0
- package/src/stores/shared/DataSpaceUtils.ts +3 -4
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryDataSpaceUtil.d.ts","sourceRoot":"","sources":["../../../src/components/query-builder/QueryDataSpaceUtil.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,
|
1
|
+
{"version":3,"file":"QueryDataSpaceUtil.d.ts","sourceRoot":"","sources":["../../../src/components/query-builder/QueryDataSpaceUtil.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,KAAK,KAAK,EACX,MAAM,qBAAqB,CAAC;AAG7B,eAAO,MAAM,qBAAqB,UAAW,KAAK,KAAG,MAAM,GAAG,SAQ7D,CAAC;AAEF,eAAO,MAAM,gBAAgB,UAAW,KAAK,KAAG,OACT,CAAC"}
|
@@ -13,8 +13,8 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import { isValidFullPath } from '@finos/legend-graph';
|
17
|
-
import {
|
16
|
+
import { QUERY_PROFILE_PATH, isValidFullPath, } from '@finos/legend-graph';
|
17
|
+
import { QUERY_PROFILE_TAG_DATA_SPACE } from '../../graph/DSL_DataSpace_MetaModelConst.js';
|
18
18
|
export const getDataSpaceQueryInfo = (query) => {
|
19
19
|
const dataSpaceTaggedValue = query.taggedValues?.find((taggedValue) => taggedValue.profile === QUERY_PROFILE_PATH &&
|
20
20
|
taggedValue.tag === QUERY_PROFILE_TAG_DATA_SPACE &&
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryDataSpaceUtil.js","sourceRoot":"","sources":["../../../src/components/query-builder/QueryDataSpaceUtil.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,
|
1
|
+
{"version":3,"file":"QueryDataSpaceUtil.js","sourceRoot":"","sources":["../../../src/components/query-builder/QueryDataSpaceUtil.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,kBAAkB,EAClB,eAAe,GAEhB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,4BAA4B,EAAE,MAAM,6CAA6C,CAAC;AAE3F,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,KAAY,EAAsB,EAAE;IACxE,MAAM,oBAAoB,GAAG,KAAK,CAAC,YAAY,EAAE,IAAI,CACnD,CAAC,WAAW,EAAE,EAAE,CACd,WAAW,CAAC,OAAO,KAAK,kBAAkB;QAC1C,WAAW,CAAC,GAAG,KAAK,4BAA4B;QAChD,eAAe,CAAC,WAAW,CAAC,KAAK,CAAC,CACrC,CAAC;IACF,OAAO,oBAAoB,EAAE,KAAK,CAAC;AACrC,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,KAAY,EAAW,EAAE,CACxD,OAAO,CAAC,qBAAqB,CAAC,KAAK,CAAC,CAAC,CAAC"}
|
@@ -13,7 +13,5 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
export declare const QUERY_PROFILE_PATH = "meta::pure::profiles::query";
|
17
16
|
export declare const QUERY_PROFILE_TAG_DATA_SPACE = "dataSpace";
|
18
|
-
export declare const QUERY_PROFILE_TAG_CLASS = "class";
|
19
17
|
//# sourceMappingURL=DSL_DataSpace_MetaModelConst.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSL_DataSpace_MetaModelConst.d.ts","sourceRoot":"","sources":["../../src/graph/DSL_DataSpace_MetaModelConst.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,eAAO,MAAM,
|
1
|
+
{"version":3,"file":"DSL_DataSpace_MetaModelConst.d.ts","sourceRoot":"","sources":["../../src/graph/DSL_DataSpace_MetaModelConst.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,eAAO,MAAM,4BAA4B,cAAc,CAAC"}
|
@@ -15,7 +15,5 @@
|
|
15
15
|
*/
|
16
16
|
// NOTE: these are non-compilable profile and tag that we come up with for query
|
17
17
|
// to store extra metadata
|
18
|
-
export const QUERY_PROFILE_PATH = 'meta::pure::profiles::query';
|
19
18
|
export const QUERY_PROFILE_TAG_DATA_SPACE = 'dataSpace';
|
20
|
-
export const QUERY_PROFILE_TAG_CLASS = 'class';
|
21
19
|
//# sourceMappingURL=DSL_DataSpace_MetaModelConst.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSL_DataSpace_MetaModelConst.js","sourceRoot":"","sources":["../../src/graph/DSL_DataSpace_MetaModelConst.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,gFAAgF;AAChF,0BAA0B;AAC1B,MAAM,CAAC,MAAM,
|
1
|
+
{"version":3,"file":"DSL_DataSpace_MetaModelConst.js","sourceRoot":"","sources":["../../src/graph/DSL_DataSpace_MetaModelConst.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,gFAAgF;AAChF,0BAA0B;AAC1B,MAAM,CAAC,MAAM,4BAA4B,GAAG,WAAW,CAAC"}
|
@@ -13,19 +13,16 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import { type AbstractPureGraphManager, type
|
16
|
+
import { type AbstractPureGraphManager, AbstractPureGraphManagerExtension, type QueryInfo } from '@finos/legend-graph';
|
17
17
|
import type { Entity } from '@finos/legend-storage';
|
18
18
|
import { type ActionState, type PlainObject } from '@finos/legend-shared';
|
19
19
|
import type { DataSpaceAnalysisResult } from '../../action/analytics/DataSpaceAnalysis.js';
|
20
20
|
export declare abstract class DSL_DataSpace_PureGraphManagerExtension extends AbstractPureGraphManagerExtension {
|
21
21
|
abstract analyzeDataSpace(dataSpacePath: string, entitiesRetriever: () => Promise<Entity[]>, cacheRetriever?: () => Promise<PlainObject<DataSpaceAnalysisResult>>, actionState?: ActionState): Promise<DataSpaceAnalysisResult>;
|
22
22
|
abstract retrieveDataSpaceAnalysisFromCache(cacheRetriever: () => Promise<PlainObject<DataSpaceAnalysisResult>>, actionState?: ActionState): Promise<DataSpaceAnalysisResult | undefined>;
|
23
|
-
abstract addNewExecutableToDataSpaceEntity(dataSpaceEntity: Entity, executable: {
|
23
|
+
abstract addNewExecutableToDataSpaceEntity(dataSpaceEntity: Entity, currentQuery: QueryInfo, executable: {
|
24
24
|
id: string;
|
25
25
|
title: string;
|
26
|
-
mapping: string;
|
27
|
-
runtime: string;
|
28
|
-
query: RawLambda;
|
29
26
|
description?: string;
|
30
27
|
}): Promise<Entity>;
|
31
28
|
abstract IsTemplateQueryIdValid(dataSpaceEntity: Entity, id: string): boolean;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSL_DataSpace_PureGraphManagerExtension.d.ts","sourceRoot":"","sources":["../../../../src/graph-manager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,wBAAwB,EAC7B,KAAK,SAAS,
|
1
|
+
{"version":3,"file":"DSL_DataSpace_PureGraphManagerExtension.d.ts","sourceRoot":"","sources":["../../../../src/graph-manager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,wBAAwB,EAC7B,iCAAiC,EACjC,KAAK,SAAS,EACf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAEL,KAAK,WAAW,EAChB,KAAK,WAAW,EACjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AAE3F,8BAAsB,uCAAwC,SAAQ,iCAAiC;IACrG,QAAQ,CAAC,gBAAgB,CACvB,aAAa,EAAE,MAAM,EACrB,iBAAiB,EAAE,MAAM,OAAO,CAAC,MAAM,EAAE,CAAC,EAC1C,cAAc,CAAC,EAAE,MAAM,OAAO,CAAC,WAAW,CAAC,uBAAuB,CAAC,CAAC,EACpE,WAAW,CAAC,EAAE,WAAW,GACxB,OAAO,CAAC,uBAAuB,CAAC;IAEnC,QAAQ,CAAC,kCAAkC,CACzC,cAAc,EAAE,MAAM,OAAO,CAAC,WAAW,CAAC,uBAAuB,CAAC,CAAC,EACnE,WAAW,CAAC,EAAE,WAAW,GACxB,OAAO,CAAC,uBAAuB,GAAG,SAAS,CAAC;IAE/C,QAAQ,CAAC,iCAAiC,CACxC,eAAe,EAAE,MAAM,EACvB,YAAY,EAAE,SAAS,EACvB,UAAU,EAAE;QACV,EAAE,EAAE,MAAM,CAAC;QACX,KAAK,EAAE,MAAM,CAAC;QACd,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB,GACA,OAAO,CAAC,MAAM,CAAC;IAElB,QAAQ,CAAC,sBAAsB,CAAC,eAAe,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,OAAO;CAC9E;AAED,eAAO,MAAM,sCAAsC,iBACnC,wBAAwB,KACrC,uCAO2C,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSL_DataSpace_PureGraphManagerExtension.js","sourceRoot":"","sources":["../../../../src/graph-manager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,
|
1
|
+
{"version":3,"file":"DSL_DataSpace_PureGraphManagerExtension.js","sourceRoot":"","sources":["../../../../src/graph-manager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,iCAAiC,GAElC,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACL,oBAAoB,GAGrB,MAAM,sBAAsB,CAAC;AAG9B,MAAM,OAAgB,uCAAwC,SAAQ,iCAAiC;CAwBtG;AAED,MAAM,CAAC,MAAM,sCAAsC,GAAG,CACpD,YAAsC,EACG,EAAE,CAC3C,oBAAoB,CAClB,YAAY,CAAC,UAAU,CAAC,IAAI,CAC1B,CAAC,SAAS,EAAE,EAAE,CACZ,SAAS,YAAY,uCAAuC,CAC/D,EACD,wDAAwD,CACd,CAAC"}
|
@@ -13,7 +13,7 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import { type AbstractPureGraphManager, type
|
16
|
+
import { type AbstractPureGraphManager, V1_PureGraphManager, type QueryInfo } from '@finos/legend-graph';
|
17
17
|
import type { Entity } from '@finos/legend-storage';
|
18
18
|
import { ActionState, type PlainObject } from '@finos/legend-shared';
|
19
19
|
import { V1_DataSpace } from '../../../../graph-manager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.js';
|
@@ -25,12 +25,9 @@ export declare class V1_DSL_DataSpace_PureGraphManagerExtension extends DSL_Data
|
|
25
25
|
getSupportedProtocolVersion(): string;
|
26
26
|
getDataSpaceProtocolFromEntity(dataSpaceEntity: Entity): V1_DataSpace;
|
27
27
|
IsTemplateQueryIdValid(dataSpaceEntity: Entity, id: string): boolean;
|
28
|
-
addNewExecutableToDataSpaceEntity(dataSpaceEntity: Entity, executable: {
|
28
|
+
addNewExecutableToDataSpaceEntity(dataSpaceEntity: Entity, currentQuery: QueryInfo, executable: {
|
29
29
|
id: string;
|
30
30
|
title: string;
|
31
|
-
mapping: string;
|
32
|
-
runtime: string;
|
33
|
-
query: RawLambda;
|
34
31
|
description?: string;
|
35
32
|
}): Promise<Entity>;
|
36
33
|
analyzeDataSpace(dataSpacePath: string, entitiesRetriever: () => Promise<Entity[]>, cacheRetriever?: () => Promise<PlainObject<DataSpaceAnalysisResult>>, actionState?: ActionState): Promise<DataSpaceAnalysisResult>;
|
package/lib/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"V1_DSL_DataSpace_PureGraphManagerExtension.d.ts","sourceRoot":"","sources":["../../../../../src/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,wBAAwB,
|
1
|
+
{"version":3,"file":"V1_DSL_DataSpace_PureGraphManagerExtension.d.ts","sourceRoot":"","sources":["../../../../../src/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,wBAAwB,EAG7B,mBAAmB,EAcnB,KAAK,SAAS,EAEf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EACL,WAAW,EASX,KAAK,WAAW,EACjB,MAAM,sBAAsB,CAAC;AAK9B,OAAO,EACL,YAAY,EAIb,MAAM,8GAA8G,CAAC;AACtH,OAAO,EACL,uBAAuB,EAkBxB,MAAM,gDAAgD,CAAC;AACxD,OAAO,EAAE,uCAAuC,EAAE,MAAM,+CAA+C,CAAC;AAiBxG,qBAAa,0CAA2C,SAAQ,uCAAuC;IAC7F,YAAY,EAAE,mBAAmB,CAAC;gBAE9B,YAAY,EAAE,wBAAwB;IAKlD,2BAA2B,IAAI,MAAM;IAIrC,8BAA8B,CAAC,eAAe,EAAE,MAAM,GAAG,YAAY;IAUrE,sBAAsB,CAAC,eAAe,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,OAAO;IAS9D,iCAAiC,CACrC,eAAe,EAAE,MAAM,EACvB,YAAY,EAAE,SAAS,EACvB,UAAU,EAAE;QACV,EAAE,EAAE,MAAM,CAAC;QACX,KAAK,EAAE,MAAM,CAAC;QACd,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB,GACA,OAAO,CAAC,MAAM,CAAC;IAiCZ,gBAAgB,CACpB,aAAa,EAAE,MAAM,EACrB,iBAAiB,EAAE,MAAM,OAAO,CAAC,MAAM,EAAE,CAAC,EAC1C,cAAc,CAAC,EAAE,MAAM,OAAO,CAAC,WAAW,CAAC,uBAAuB,CAAC,CAAC,EACpE,WAAW,CAAC,EAAE,WAAW,GACxB,OAAO,CAAC,uBAAuB,CAAC;IAqC7B,kCAAkC,CACtC,cAAc,EAAE,MAAM,OAAO,CAAC,WAAW,CAAC,uBAAuB,CAAC,CAAC,EACnE,WAAW,CAAC,EAAE,WAAW,GACxB,OAAO,CAAC,uBAAuB,GAAG,SAAS,CAAC;YAajC,+BAA+B;YAoB/B,uBAAuB;CAgZtC"}
|
@@ -13,7 +13,7 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import { PureModel, V1_PureGraphManager, PureClientVersion, CoreModel, SystemModel, V1_Mapping, resolvePackagePathAndElementName, V1_PureModelContextType, V1_PackageableRuntime, V1_EngineRuntime, V1_Class, GRAPH_MANAGER_EVENT, V1_buildDatasetSpecification, V1_buildModelCoverageAnalysisResult, V1_deserializePackageableElement,
|
16
|
+
import { PureModel, V1_PureGraphManager, PureClientVersion, CoreModel, SystemModel, V1_Mapping, resolvePackagePathAndElementName, V1_PureModelContextType, V1_PackageableRuntime, V1_EngineRuntime, V1_Class, GRAPH_MANAGER_EVENT, V1_buildDatasetSpecification, V1_buildModelCoverageAnalysisResult, V1_deserializePackageableElement, QueryDataSpaceExecutionContextInfo, } from '@finos/legend-graph';
|
17
17
|
import { ActionState, assertErrorThrown, filterByType, guaranteeNonEmptyString, guaranteeNonNullable, guaranteeType, isNonNullable, LogEvent, uniq, } from '@finos/legend-shared';
|
18
18
|
import { DataSpaceSupportCombinedInfo, DataSpaceSupportEmail, } from '../../../../graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js';
|
19
19
|
import { V1_DataSpace, V1_DataSpaceSupportCombinedInfo, V1_DataSpaceSupportEmail, V1_DataSpaceTemplateExecutable, } from '../../../../graph-manager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.js';
|
@@ -41,15 +41,24 @@ export class V1_DSL_DataSpace_PureGraphManagerExtension extends DSL_DataSpace_Pu
|
|
41
41
|
.map((et) => et.id)
|
42
42
|
.includes(id);
|
43
43
|
}
|
44
|
-
async addNewExecutableToDataSpaceEntity(dataSpaceEntity, executable) {
|
44
|
+
async addNewExecutableToDataSpaceEntity(dataSpaceEntity, currentQuery, executable) {
|
45
|
+
const content = currentQuery.content;
|
46
|
+
const rawLambda = await this.graphManager.engine.transformCodeToLambda(content);
|
45
47
|
const dataSpaceProtocol = this.getDataSpaceProtocolFromEntity(dataSpaceEntity);
|
46
48
|
const dataSpaceTemplateExecutable = new V1_DataSpaceTemplateExecutable();
|
47
49
|
dataSpaceTemplateExecutable.id = executable.id;
|
48
50
|
dataSpaceTemplateExecutable.title = executable.title;
|
49
51
|
dataSpaceTemplateExecutable.description = executable.description;
|
50
|
-
|
51
|
-
|
52
|
-
|
52
|
+
const execContext = currentQuery.executionContext;
|
53
|
+
if (execContext instanceof QueryDataSpaceExecutionContextInfo) {
|
54
|
+
dataSpaceTemplateExecutable.executionContextKey =
|
55
|
+
execContext.executionKey;
|
56
|
+
}
|
57
|
+
else if (currentQuery.mapping && currentQuery.runtime) {
|
58
|
+
dataSpaceTemplateExecutable.executionContextKey = guaranteeNonNullable(dataSpaceProtocol.executionContexts.filter((ec) => ec.mapping.path === currentQuery.mapping &&
|
59
|
+
ec.defaultRuntime.path === currentQuery.runtime)[0]?.name, 'can`t find a corresponding executatin key based on query`s mapping and runtime in dataspace');
|
60
|
+
}
|
61
|
+
dataSpaceTemplateExecutable.query = rawLambda;
|
53
62
|
dataSpaceProtocol.executables = dataSpaceProtocol.executables
|
54
63
|
? [...dataSpaceProtocol.executables, dataSpaceTemplateExecutable]
|
55
64
|
: [dataSpaceTemplateExecutable];
|
package/lib/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"V1_DSL_DataSpace_PureGraphManagerExtension.js","sourceRoot":"","sources":["../../../../../src/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAIL,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,SAAS,EACT,WAAW,EACX,UAAU,EACV,gCAAgC,EAChC,uBAAuB,EACvB,qBAAqB,EACrB,gBAAgB,EAChB,QAAQ,EACR,mBAAmB,EACnB,4BAA4B,EAC5B,mCAAmC,EACnC,gCAAgC,EAChC,qBAAqB,EACrB,iCAAiC,GAClC,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,YAAY,EACZ,uBAAuB,EACvB,oBAAoB,EACpB,aAAa,EACb,aAAa,EACb,QAAQ,EACR,IAAI,GAEL,MAAM,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MAAM,SAAS,GAAG,IAAI,4BAA4B,EAAE,CAAC;gBACrD,SAAS,CAAC,OAAO,GAAG,kBAAkB,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,CACvD,CAAC,SAAS,EAAE,EAAE;oBACZ,MAAM,MAAM,GAAG,IAAI,kCAAkC,EAAE,CAAC;oBACxD,MAAM,CAAC,IAAI,GAAG,SAAS,CAAC,IAAI,CAAC;oBAC7B,MAAM,CAAC,IAAI,GAAG,SAAS,CAAC,IAAI,CAAC;oBAC7B,MAAM,CAAC,cAAc,GAAG,SAAS,CAAC,cAAc,CAAC;oBACjD,MAAM,CAAC,aAAa,GAAG,SAAS,CAAC,aAAa,CAAC;oBAC/C,IACE,SAAS,CAAC,aAAa,EAAE,QAAQ,CAC/B,uCAAuC,CACxC,EACD;wBACA,MAAM,CAAC,aAAa,GAAG,SAAS,CAAC,aAAa;6BAC3C,SAAS,CACR,CAAC,EACD,SAAS,CAAC,aAAa,CAAC,OAAO,CAC7B,uCAAuC,CACxC,CACF;6BACA,IAAI,EAAE,CAAC;wBACV,MAAM,CAAC,YAAY,GAAG,SAAS,CAAC,aAAa;6BAC1C,SAAS,CACR,SAAS,CAAC,aAAa,CAAC,OAAO,CAC7B,uCAAuC,CACxC,GAAG,uCAAuC,CAAC,MAAM,CACnD;6BACA,IAAI,EAAE,CAAC;qBACX;oBACD,OAAO,MAAM,CAAC;gBAChB,CAAC,CACF,CAAC;gBACF,UAAU,CAAC,MAAM,GAAG,SAAS,CAAC;aAC/B;YACD,OAAO,UAAU,CAAC;QACpB,CAAC,CACF,CAAC;QAEF,OAAO,MAAM,CAAC;IAChB,CAAC;CACF"}
|
1
|
+
{"version":3,"file":"V1_DSL_DataSpace_PureGraphManagerExtension.js","sourceRoot":"","sources":["../../../../../src/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,SAAS,EACT,mBAAm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ACxC,CACF;6BACA,IAAI,EAAE,CAAC;wBACV,MAAM,CAAC,YAAY,GAAG,SAAS,CAAC,aAAa;6BAC1C,SAAS,CACR,SAAS,CAAC,aAAa,CAAC,OAAO,CAC7B,uCAAuC,CACxC,GAAG,uCAAuC,CAAC,MAAM,CACnD;6BACA,IAAI,EAAE,CAAC;qBACX;oBACD,OAAO,MAAM,CAAC;gBAChB,CAAC,CACF,CAAC;gBACF,UAAU,CAAC,MAAM,GAAG,SAAS,CAAC;aAC/B;YACD,OAAO,UAAU,CAAC;QACpB,CAAC,CACF,CAAC;QAEF,OAAO,MAAM,CAAC;IAChB,CAAC;CACF"}
|
@@ -41,7 +41,7 @@ export declare class V1_DataSpacePackageableElementExecutable extends V1_DataSpa
|
|
41
41
|
export declare class V1_DataSpaceTemplateExecutable extends V1_DataSpaceExecutable implements Hashable {
|
42
42
|
id: string;
|
43
43
|
query: V1_RawLambda;
|
44
|
-
executionContextKey?: string;
|
44
|
+
executionContextKey?: string | undefined;
|
45
45
|
get hashCode(): string;
|
46
46
|
}
|
47
47
|
export declare class V1_DataSpaceDiagram implements Hashable {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"V1_DSL_DataSpace_DataSpace.d.ts","sourceRoot":"","sources":["../../../../../../../../src/graph-manager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhE,OAAO,EACL,KAAK,YAAY,EACjB,KAAK,4BAA4B,EACjC,KAAK,4BAA4B,EACjC,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,qBAAqB,EACrB,KAAK,uBAAuB,EAC7B,MAAM,qBAAqB,CAAC;AAE7B,qBAAa,4BAA6B,YAAW,QAAQ;IAC3D,IAAI,EAAG,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,OAAO,EAAG,4BAA4B,CAAC;IACvC,cAAc,EAAG,4BAA4B,CAAC;IAC9C,QAAQ,EAAE,uBAAuB,GAAG,SAAS,CAAC;IAE9C,IAAI,QAAQ,IAAI,MAAM,CAUrB;CACF;AAED,qBAAa,0BAA2B,YAAW,QAAQ;IACzD,IAAI,EAAG,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAE9B,IAAI,QAAQ,IAAI,MAAM,CAMrB;CACF;AAED,8BAAsB,sBAAuB,YAAW,QAAQ;IAC9D,KAAK,EAAG,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAEjC,IAAI,QAAQ,IAAI,MAAM,CAMrB;CACF;AAED,qBAAa,wCACX,SAAQ,sBACR,YAAW,QAAQ;IAEnB,UAAU,EAAG,4BAA4B,CAAC;IAE1C,IAAa,QAAQ,IAAI,MAAM,CAO9B;CACF;AAED,qBAAa,8BACX,SAAQ,sBACR,YAAW,QAAQ;IAEnB,EAAE,EAAG,MAAM,CAAC;IACZ,KAAK,EAAG,YAAY,CAAC;IACrB,mBAAmB,CAAC,EAAE,MAAM,CAAC;
|
1
|
+
{"version":3,"file":"V1_DSL_DataSpace_DataSpace.d.ts","sourceRoot":"","sources":["../../../../../../../../src/graph-manager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhE,OAAO,EACL,KAAK,YAAY,EACjB,KAAK,4BAA4B,EACjC,KAAK,4BAA4B,EACjC,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,qBAAqB,EACrB,KAAK,uBAAuB,EAC7B,MAAM,qBAAqB,CAAC;AAE7B,qBAAa,4BAA6B,YAA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IAAI,MAAM,CAAC;CACjC;AAED,qBAAa,wBACX,SAAQ,uBACR,YAAW,QAAQ;IAEnB,OAAO,EAAG,MAAM,CAAC;IAEjB,IAAI,QAAQ,IAAI,MAAM,CAMrB;CACF;AAED,qBAAa,+BACX,SAAQ,uBACR,YAAW,QAAQ;IAEnB,MAAM,CAAC,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;IAC9B,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAEhC,IAAI,QAAQ,IAAI,MAAM,CASrB;CACF;AAED,qBAAa,YAAa,SAAQ,qBAAsB,YAAW,QAAQ;IACzE,WAAW,EAAE,gBAAgB,EAAE,CAAM;IACrC,YAAY,EAAE,cAAc,EAAE,CAAM;IACpC,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,iBAAiB,EAAG,4BAA4B,EAAE,CAAC;IACnD,uBAAuB,EAAG,MAAM,CAAC;IACjC,QAAQ,CAAC,EAAE,0BAA0B,EAAE,GAAG,SAAS,CAAC;IACpD,WAAW,CAAC,EAAE,sBAAsB,EAAE,GAAG,SAAS,CAAC;IACnD,QAAQ,CAAC,EAAE,mBAAmB,EAAE,GAAG,SAAS,CAAC;IAC7C,WAAW,CAAC,EAAE,uBAAuB,GAAG,SAAS,CAAC;IAElD,IAAa,QAAQ,IAAI,MAAM,CAc9B;IAED,gCAAgC,CAAC,CAAC,EAChC,OAAO,EAAE,4BAA4B,CAAC,CAAC,CAAC,GACvC,CAAC;CAGL"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"V1_DSL_DataSpace_DataSpace.js","sourceRoot":"","sources":["../../../../../../../../src/graph-manager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace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C,yCAAyC;YACnE,IAAI,CAAC,KAAK;YACV,IAAI,CAAC,WAAW,IAAI,EAAE;YACtB,IAAI,CAAC,UAAU,CAAC,IAAI;SACrB,CAAC,CAAC;IACL,CAAC;CACF;AAED,MAAM,OAAO,8BACX,SAAQ,sBAAsB;IAG9B,EAAE,CAAU;IACZ,KAAK,CAAgB;IACrB,mBAAmB,
|
1
|
+
{"version":3,"file":"V1_DSL_DataSpace_DataSpace.js","sourceRoot":"","sources":["../../../../../../../../src/graph-manager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,yBAAyB,EAAE,MAAM,uDAAuD,CAAC;AAClG,OAAO,EAML,qBAAqB,GAEtB,MAAM,qBAAqB,CAAC;AAE7B,MAAM,OAAO,4BAA4B;IACvC,IAAI,CAAU;IACd,KAAK,CAAsB;IAC3B,WAAW,CAAsB;IACjC,OAAO,CAAgC;IACvC,cAAc,CAAgC;IAC9C,QAAQ,CAAsC;IAE9C,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,yBAAyB,CAAC,4BAA4B;YACtD,IAAI,CAAC,IAAI;YACT,IAAI,CAAC,KAAK,IAAI,EAAE;YAChB,IAAI,CAAC,WAAW,IAAI,EAAE;YACtB,IAAI,CAAC,OAAO,CAAC,IAAI;YACjB,IAAI,CAAC,cAAc,CAAC,IAAI;YACxB,IAAI,CAAC,QAAQ,IAAI,EAAE;SACpB,CAAC,CAAC;IACL,CAAC;CACF;AAED,MAAM,OAAO,0BAA0B;IACrC,IAAI,CAAU;IACd,OAAO,CAAuB;IAE9B,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,yBAAyB,CAAC,0BAA0B;YACpD,IAAI,CAAC,IAAI;YACT,IAAI,CAAC,OAAO,IAAI,EAAE;SACnB,CAAC,CAAC;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;YAC9B,SAAS,CAAC,IAAI,CAAC,WAAW,IAAI,EAAE,CAAC;YACjC,SAAS,CAAC,IAAI,CAAC,QAAQ,IAAI,EAAE,CAAC;YAC9B,IAAI,CAAC,WAAW,IAAI,EAAE;SACvB,CAAC,CAAC;IACL,CAAC;IAED,gCAAgC,CAC9B,OAAwC;QAExC,OAAO,OAAO,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAC;IAChD,CAAC;CACF"}
|
package/lib/index.css
CHANGED
package/lib/package.json
CHANGED
@@ -15,7 +15,7 @@
|
|
15
15
|
*/
|
16
16
|
import { type GenericLegendApplicationStore } from '@finos/legend-application';
|
17
17
|
import { type QueryBuilderConfig, QueryBuilderState, type QuerySDLC } from '@finos/legend-query-builder';
|
18
|
-
import { type GraphManagerState, type Runtime, Class, type Mapping } from '@finos/legend-graph';
|
18
|
+
import { type GraphManagerState, type QueryExecutionContext, type Runtime, Class, type Mapping } from '@finos/legend-graph';
|
19
19
|
import { type DepotServerClient } from '@finos/legend-server-depot';
|
20
20
|
import { type GeneratorFn, ActionState } from '@finos/legend-shared';
|
21
21
|
import { DataSpace, type DataSpaceExecutionContext } from '../../graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js';
|
@@ -56,6 +56,7 @@ export declare class DataSpaceQueryBuilderState extends QueryBuilderState {
|
|
56
56
|
isTemplateQueryDialogOpen: boolean;
|
57
57
|
constructor(applicationStore: GenericLegendApplicationStore, graphManagerState: GraphManagerState, depotServerClient: DepotServerClient, dataSpace: DataSpace, executionContext: DataSpaceExecutionContext, onDataSpaceChange: (val: DataSpaceInfo) => void, isAdvancedDataSpaceSearchEnabled: boolean, dataSpaceAnalysisResult?: DataSpaceAnalysisResult | undefined, onExecutionContextChange?: ((val: DataSpaceExecutionContext) => void) | undefined, onRuntimeChange?: ((val: Runtime) => void) | undefined, onClassChange?: ((val: Class) => void) | undefined, projectInfo?: DataSpaceProjectInfo | undefined, config?: QueryBuilderConfig | undefined, sourceInfo?: QuerySDLC | undefined);
|
58
58
|
get sideBarClassName(): string | undefined;
|
59
|
+
getQueryExecutionContext(): QueryExecutionContext;
|
59
60
|
setTemplateQueryDialogOpen(val: boolean): void;
|
60
61
|
showAdvancedSearchPanel(): void;
|
61
62
|
hideAdvancedSearchPanel(): void;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DataSpaceQueryBuilderState.d.ts","sourceRoot":"","sources":["../../../src/stores/query-builder/DataSpaceQueryBuilderState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,KAAK,6BAA6B,EAAE,MAAM,2BAA2B,CAAC;AAC/E,OAAO,EACL,KAAK,kBAAkB,EACvB,iBAAiB,EACjB,KAAK,SAAS,EACf,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,KAAK,iBAAiB,EAGtB,KAAK,OAAO,EACZ,KAAK,EACL,KAAK,OAAO,
|
1
|
+
{"version":3,"file":"DataSpaceQueryBuilderState.d.ts","sourceRoot":"","sources":["../../../src/stores/query-builder/DataSpaceQueryBuilderState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,KAAK,6BAA6B,EAAE,MAAM,2BAA2B,CAAC;AAC/E,OAAO,EACL,KAAK,kBAAkB,EACvB,iBAAiB,EACjB,KAAK,SAAS,EACf,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,KAAK,iBAAiB,EAGtB,KAAK,qBAAqB,EAC1B,KAAK,OAAO,EACZ,KAAK,EACL,KAAK,OAAO,EAIb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAGL,KAAK,iBAAiB,EAEvB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,KAAK,WAAW,EAChB,WAAW,EAKZ,MAAM,sBAAsB,CAAC;AAG9B,OAAO,EACL,SAAS,EACT,KAAK,yBAAyB,EAC/B,MAAM,2FAA2F,CAAC;AAEnG,OAAO,EAAE,4BAA4B,EAAE,MAA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AK,IAAI,CAAC,GAC1C,SAAS,EACb,eAAe,CAAC,EAAE,CAAC,CAAC,GAAG,EAAE,OAAO,KAAK,IAAI,CAAC,GAAG,SAAS,EACtD,aAAa,CAAC,EAAE,CAAC,CAAC,GAAG,EAAE,KAAK,KAAK,IAAI,CAAC,GAAG,SAAS,EAClD,WAAW,CAAC,EAAE,oBAAoB,GAAG,SAAS,EAC9C,MAAM,CAAC,EAAE,kBAAkB,GAAG,SAAS,EACvC,UAAU,CAAC,EAAE,SAAS,GAAG,SAAS;IA8BpC,IAAa,gBAAgB,IAAI,MAAM,GAAG,SAAS,CAIlD;IAEQ,wBAAwB,IAAI,qBAAqB;IAO1D,0BAA0B,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAI9C,uBAAuB,IAAI,IAAI;IAwB/B,uBAAuB,IAAI,IAAI;IAI/B,mBAAmB,CAAC,GAAG,EAAE,yBAAyB,GAAG,IAAI;IAIzD,sBAAsB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAIzC,cAAc,IAAI,WAAW,CAAC,IAAI,CAAC;IAwCpC;;;;;;OAMG;IACH,+BAA+B,CAC7B,gBAAgB,EAAE,yBAAyB,GAC1C,IAAI;CA2BR"}
|
@@ -15,7 +15,7 @@
|
|
15
15
|
*/
|
16
16
|
import {} from '@finos/legend-application';
|
17
17
|
import { QueryBuilderState, } from '@finos/legend-query-builder';
|
18
|
-
import { getMappingCompatibleClasses, RuntimePointer, Class, getDescendantsOfPackage, Package, } from '@finos/legend-graph';
|
18
|
+
import { getMappingCompatibleClasses, RuntimePointer, Class, getDescendantsOfPackage, Package, QueryDataSpaceExecutionContext, } from '@finos/legend-graph';
|
19
19
|
import { DepotScope, SNAPSHOT_VERSION_ALIAS, } from '@finos/legend-server-depot';
|
20
20
|
import { ActionState, assertErrorThrown, getNullableFirstEntry, filterByType, uniq, } from '@finos/legend-shared';
|
21
21
|
import { action, flow, makeObservable, observable } from 'mobx';
|
@@ -100,6 +100,12 @@ export class DataSpaceQueryBuilderState extends QueryBuilderState {
|
|
100
100
|
? 'query-builder__setup__data-space--with-runtime'
|
101
101
|
: 'query-builder__setup__data-space';
|
102
102
|
}
|
103
|
+
getQueryExecutionContext() {
|
104
|
+
const queryExeContext = new QueryDataSpaceExecutionContext();
|
105
|
+
queryExeContext.dataSpacePath = this.dataSpace.path;
|
106
|
+
queryExeContext.executionKey = this.executionContext.name;
|
107
|
+
return queryExeContext;
|
108
|
+
}
|
103
109
|
setTemplateQueryDialogOpen(val) {
|
104
110
|
this.isTemplateQueryDialogOpen = val;
|
105
111
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DataSpaceQueryBuilderState.js","sourceRoot":"","sources":["../../../src/stores/query-builder/DataSpaceQueryBuilderState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAsC,MAAM,2BAA2B,CAAC;AAC/E,OAAO,EAEL,iBAAiB,GAElB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAEL,2BAA2B,EAC3B,cAAc,
|
1
|
+
{"version":3,"file":"DataSpaceQueryBuilderState.js","sourceRoot":"","sources":["../../../src/stores/query-builder/DataSpaceQueryBuilderState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAsC,MAAM,2BAA2B,CAAC;AAC/E,OAAO,EAEL,iBAAiB,GAElB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAEL,2BAA2B,EAC3B,cAAc,EAGd,KAAK,EAEL,uBAAuB,EACvB,OAAO,EACP,8BAA8B,GAC/B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,UAAU,EACV,sBAAsB,GAGvB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAEL,WAAW,EACX,iBAAiB,EACjB,qBAAqB,EACrB,YAAY,EACZ,IAAI,GACL,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,cAAc,EAAE,UAAU,E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ExE,MAAM,iBAAiB,GAAG,6BAA6B,CACrD,IAAI,CAAC,SAAS,EACd,OAAO,EACP,IAAI,CAAC,iBAAiB,CACvB,CAAC;QACF,kEAAkE;QAClE,4DAA4D;QAC5D,IAAI,CAAC,IAAI,CAAC,KAAK,IAAI,CAAC,iBAAiB,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE;YAC1D,MAAM,gBAAgB,GAAG,qBAAqB,CAAC,iBAAiB,CAAC,CAAC;YAClE,IAAI,gBAAgB,EAAE;gBACpB,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,CAAC;aACpC;SACF;IACH,CAAC;CACF"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DataSpaceUtils.d.ts","sourceRoot":"","sources":["../../../src/stores/shared/DataSpaceUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,
|
1
|
+
{"version":3,"file":"DataSpaceUtils.d.ts","sourceRoot":"","sources":["../../../src/stores/shared/DataSpaceUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,gBAAgB,EACjB,MAAM,qBAAqB,CAAC;AAG7B,eAAO,MAAM,+BAA+B,kBAC3B,MAAM,KACpB,gBAMF,CAAC;AACF,eAAO,MAAM,2BAA2B,cAC3B,MAAM,KAChB,gBAMF,CAAC"}
|
@@ -13,8 +13,8 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import { QueryTaggedValue } from '@finos/legend-graph';
|
17
|
-
import {
|
16
|
+
import { QUERY_PROFILE_PATH, QUERY_PROFILE_TAG_CLASS, QueryTaggedValue, } from '@finos/legend-graph';
|
17
|
+
import { QUERY_PROFILE_TAG_DATA_SPACE } from '../../graph/DSL_DataSpace_MetaModelConst.js';
|
18
18
|
export const createQueryDataSpaceTaggedValue = (dataSpacePath) => {
|
19
19
|
const taggedValue = new QueryTaggedValue();
|
20
20
|
taggedValue.profile = QUERY_PROFILE_PATH;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DataSpaceUtils.js","sourceRoot":"","sources":["../../../src/stores/shared/DataSpaceUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,
|
1
|
+
{"version":3,"file":"DataSpaceUtils.js","sourceRoot":"","sources":["../../../src/stores/shared/DataSpaceUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,kBAAkB,EAClB,uBAAuB,EACvB,gBAAgB,GACjB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,4BAA4B,EAAE,MAAM,6CAA6C,CAAC;AAE3F,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAC7C,aAAqB,EACH,EAAE;IACpB,MAAM,WAAW,GAAG,IAAI,gBAAgB,EAAE,CAAC;IAC3C,WAAW,CAAC,OAAO,GAAG,kBAAkB,CAAC;IACzC,WAAW,CAAC,GAAG,GAAG,4BAA4B,CAAC;IAC/C,WAAW,CAAC,KAAK,GAAG,aAAa,CAAC;IAClC,OAAO,WAAW,CAAC;AACrB,CAAC,CAAC;AACF,MAAM,CAAC,MAAM,2BAA2B,GAAG,CACzC,SAAiB,EACC,EAAE;IACpB,MAAM,WAAW,GAAG,IAAI,gBAAgB,EAAE,CAAC;IAC3C,WAAW,CAAC,OAAO,GAAG,kBAAkB,CAAC;IACzC,WAAW,CAAC,GAAG,GAAG,uBAAuB,CAAC;IAC1C,WAAW,CAAC,KAAK,GAAG,SAAS,CAAC;IAC9B,OAAO,WAAW,CAAC;AACrB,CAAC,CAAC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@finos/legend-extension-dsl-data-space",
|
3
|
-
"version": "10.3.
|
3
|
+
"version": "10.3.5",
|
4
4
|
"description": "Legend extension for Data Space DSL",
|
5
5
|
"keywords": [
|
6
6
|
"legend",
|
@@ -45,10 +45,10 @@
|
|
45
45
|
"dependencies": {
|
46
46
|
"@finos/legend-application": "15.0.75",
|
47
47
|
"@finos/legend-art": "7.1.27",
|
48
|
-
"@finos/legend-extension-dsl-diagram": "8.0.
|
49
|
-
"@finos/legend-graph": "31.9.
|
50
|
-
"@finos/legend-lego": "1.2.
|
51
|
-
"@finos/legend-query-builder": "4.14.
|
48
|
+
"@finos/legend-extension-dsl-diagram": "8.0.161",
|
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",
|
@@ -14,11 +14,12 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
|
17
|
-
import { isValidFullPath, type Query } from '@finos/legend-graph';
|
18
17
|
import {
|
19
18
|
QUERY_PROFILE_PATH,
|
20
|
-
|
21
|
-
|
19
|
+
isValidFullPath,
|
20
|
+
type Query,
|
21
|
+
} from '@finos/legend-graph';
|
22
|
+
import { QUERY_PROFILE_TAG_DATA_SPACE } from '../../graph/DSL_DataSpace_MetaModelConst.js';
|
22
23
|
|
23
24
|
export const getDataSpaceQueryInfo = (query: Query): string | undefined => {
|
24
25
|
const dataSpaceTaggedValue = query.taggedValues?.find(
|
@@ -16,6 +16,4 @@
|
|
16
16
|
|
17
17
|
// NOTE: these are non-compilable profile and tag that we come up with for query
|
18
18
|
// to store extra metadata
|
19
|
-
export const QUERY_PROFILE_PATH = 'meta::pure::profiles::query';
|
20
19
|
export const QUERY_PROFILE_TAG_DATA_SPACE = 'dataSpace';
|
21
|
-
export const QUERY_PROFILE_TAG_CLASS = 'class';
|
@@ -16,8 +16,8 @@
|
|
16
16
|
|
17
17
|
import {
|
18
18
|
type AbstractPureGraphManager,
|
19
|
-
type RawLambda,
|
20
19
|
AbstractPureGraphManagerExtension,
|
20
|
+
type QueryInfo,
|
21
21
|
} from '@finos/legend-graph';
|
22
22
|
import type { Entity } from '@finos/legend-storage';
|
23
23
|
import {
|
@@ -42,12 +42,10 @@ export abstract class DSL_DataSpace_PureGraphManagerExtension extends AbstractPu
|
|
42
42
|
|
43
43
|
abstract addNewExecutableToDataSpaceEntity(
|
44
44
|
dataSpaceEntity: Entity,
|
45
|
+
currentQuery: QueryInfo,
|
45
46
|
executable: {
|
46
47
|
id: string;
|
47
48
|
title: string;
|
48
|
-
mapping: string;
|
49
|
-
runtime: string;
|
50
|
-
query: RawLambda;
|
51
49
|
description?: string;
|
52
50
|
},
|
53
51
|
): Promise<Entity>;
|
@@ -17,7 +17,6 @@
|
|
17
17
|
import {
|
18
18
|
type AbstractPureGraphManager,
|
19
19
|
type PureProtocolProcessorPlugin,
|
20
|
-
type RawLambda,
|
21
20
|
PureModel,
|
22
21
|
V1_PureGraphManager,
|
23
22
|
PureClientVersion,
|
@@ -33,8 +32,8 @@ import {
|
|
33
32
|
V1_buildDatasetSpecification,
|
34
33
|
V1_buildModelCoverageAnalysisResult,
|
35
34
|
V1_deserializePackageableElement,
|
36
|
-
|
37
|
-
|
35
|
+
type QueryInfo,
|
36
|
+
QueryDataSpaceExecutionContextInfo,
|
38
37
|
} from '@finos/legend-graph';
|
39
38
|
import type { Entity } from '@finos/legend-storage';
|
40
39
|
import {
|
@@ -129,35 +128,39 @@ export class V1_DSL_DataSpace_PureGraphManagerExtension extends DSL_DataSpace_Pu
|
|
129
128
|
|
130
129
|
async addNewExecutableToDataSpaceEntity(
|
131
130
|
dataSpaceEntity: Entity,
|
131
|
+
currentQuery: QueryInfo,
|
132
132
|
executable: {
|
133
133
|
id: string;
|
134
134
|
title: string;
|
135
|
-
mapping: string;
|
136
|
-
runtime: string;
|
137
|
-
query: RawLambda;
|
138
135
|
description?: string;
|
139
136
|
},
|
140
137
|
): Promise<Entity> {
|
138
|
+
const content = currentQuery.content;
|
139
|
+
const rawLambda =
|
140
|
+
await this.graphManager.engine.transformCodeToLambda(content);
|
141
141
|
const dataSpaceProtocol =
|
142
142
|
this.getDataSpaceProtocolFromEntity(dataSpaceEntity);
|
143
143
|
const dataSpaceTemplateExecutable = new V1_DataSpaceTemplateExecutable();
|
144
144
|
dataSpaceTemplateExecutable.id = executable.id;
|
145
145
|
dataSpaceTemplateExecutable.title = executable.title;
|
146
146
|
dataSpaceTemplateExecutable.description = executable.description;
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
147
|
+
const execContext = currentQuery.executionContext;
|
148
|
+
|
149
|
+
if (execContext instanceof QueryDataSpaceExecutionContextInfo) {
|
150
|
+
dataSpaceTemplateExecutable.executionContextKey =
|
151
|
+
execContext.executionKey;
|
152
|
+
} else if (currentQuery.mapping && currentQuery.runtime) {
|
153
|
+
dataSpaceTemplateExecutable.executionContextKey = guaranteeNonNullable(
|
154
|
+
dataSpaceProtocol.executionContexts.filter(
|
155
|
+
(ec) =>
|
156
|
+
ec.mapping.path === currentQuery.mapping &&
|
157
|
+
ec.defaultRuntime.path === currentQuery.runtime,
|
158
|
+
)[0]?.name,
|
159
|
+
'can`t find a corresponding executatin key based on query`s mapping and runtime in dataspace',
|
160
|
+
);
|
161
|
+
}
|
162
|
+
|
163
|
+
dataSpaceTemplateExecutable.query = rawLambda;
|
161
164
|
dataSpaceProtocol.executables = dataSpaceProtocol.executables
|
162
165
|
? [...dataSpaceProtocol.executables, dataSpaceTemplateExecutable]
|
163
166
|
: [dataSpaceTemplateExecutable];
|
@@ -24,11 +24,13 @@ import {
|
|
24
24
|
type GraphManagerState,
|
25
25
|
getMappingCompatibleClasses,
|
26
26
|
RuntimePointer,
|
27
|
+
type QueryExecutionContext,
|
27
28
|
type Runtime,
|
28
29
|
Class,
|
29
30
|
type Mapping,
|
30
31
|
getDescendantsOfPackage,
|
31
32
|
Package,
|
33
|
+
QueryDataSpaceExecutionContext,
|
32
34
|
} from '@finos/legend-graph';
|
33
35
|
import {
|
34
36
|
DepotScope,
|
@@ -199,6 +201,13 @@ export class DataSpaceQueryBuilderState extends QueryBuilderState {
|
|
199
201
|
: 'query-builder__setup__data-space';
|
200
202
|
}
|
201
203
|
|
204
|
+
override getQueryExecutionContext(): QueryExecutionContext {
|
205
|
+
const queryExeContext = new QueryDataSpaceExecutionContext();
|
206
|
+
queryExeContext.dataSpacePath = this.dataSpace.path;
|
207
|
+
queryExeContext.executionKey = this.executionContext.name;
|
208
|
+
return queryExeContext;
|
209
|
+
}
|
210
|
+
|
202
211
|
setTemplateQueryDialogOpen(val: boolean): void {
|
203
212
|
this.isTemplateQueryDialogOpen = val;
|
204
213
|
}
|
@@ -14,12 +14,12 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
|
17
|
-
import { QueryTaggedValue } from '@finos/legend-graph';
|
18
17
|
import {
|
19
18
|
QUERY_PROFILE_PATH,
|
20
19
|
QUERY_PROFILE_TAG_CLASS,
|
21
|
-
|
22
|
-
} from '
|
20
|
+
QueryTaggedValue,
|
21
|
+
} from '@finos/legend-graph';
|
22
|
+
import { QUERY_PROFILE_TAG_DATA_SPACE } from '../../graph/DSL_DataSpace_MetaModelConst.js';
|
23
23
|
|
24
24
|
export const createQueryDataSpaceTaggedValue = (
|
25
25
|
dataSpacePath: string,
|
@@ -30,7 +30,6 @@ export const createQueryDataSpaceTaggedValue = (
|
|
30
30
|
taggedValue.value = dataSpacePath;
|
31
31
|
return taggedValue;
|
32
32
|
};
|
33
|
-
|
34
33
|
export const createQueryClassTaggedValue = (
|
35
34
|
classPath: string,
|
36
35
|
): QueryTaggedValue => {
|