@finos/legend-extension-dsl-data-space 10.1.89 → 10.1.90
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/DataSpaceQuickStart.d.ts.map +1 -1
- package/lib/components/DataSpaceQuickStart.js +3 -1
- package/lib/components/DataSpaceQuickStart.js.map +1 -1
- package/lib/graph/DSL_DataSpace_HashUtils.d.ts +2 -0
- package/lib/graph/DSL_DataSpace_HashUtils.d.ts.map +1 -1
- package/lib/graph/DSL_DataSpace_HashUtils.js +2 -0
- package/lib/graph/DSL_DataSpace_HashUtils.js.map +1 -1
- package/lib/graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.d.ts +10 -2
- package/lib/graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.d.ts.map +1 -1
- package/lib/graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js +23 -1
- package/lib/graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js.map +1 -1
- package/lib/graph-manager/action/analytics/DataSpaceAnalysis.d.ts +4 -1
- package/lib/graph-manager/action/analytics/DataSpaceAnalysis.d.ts.map +1 -1
- package/lib/graph-manager/action/analytics/DataSpaceAnalysis.js +3 -0
- package/lib/graph-manager/action/analytics/DataSpaceAnalysis.js.map +1 -1
- package/lib/graph-manager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.d.ts +1 -1
- package/lib/graph-manager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.js +47 -13
- package/lib/graph-manager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.js.map +1 -1
- 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 +12 -4
- package/lib/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.js.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.d.ts +4 -1
- package/lib/graph-manager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.js +11 -1
- package/lib/graph-manager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.js.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.d.ts +10 -2
- 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 +23 -1
- package/lib/graph-manager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.js.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataSpace_ProtocolHelper.d.ts +2 -1
- package/lib/graph-manager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataSpace_ProtocolHelper.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataSpace_ProtocolHelper.js +32 -6
- package/lib/graph-manager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataSpace_ProtocolHelper.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/package.json +1 -1
- package/package.json +7 -7
- package/src/components/DataSpaceQuickStart.tsx +5 -3
- package/src/graph/DSL_DataSpace_HashUtils.ts +2 -0
- package/src/graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.ts +36 -3
- package/src/graph-manager/action/analytics/DataSpaceAnalysis.ts +5 -1
- package/src/graph-manager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.ts +84 -29
- package/src/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.ts +12 -1
- package/src/graph-manager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.ts +22 -2
- package/src/graph-manager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.ts +36 -3
- package/src/graph-manager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataSpace_ProtocolHelper.ts +61 -7
@@ -156,8 +156,16 @@ export class V1_DataSpaceDiagramAnalysisResult {
|
|
156
156
|
export class V1_DataSpaceExecutableInfo {
|
157
157
|
query;
|
158
158
|
}
|
159
|
+
const V1_DATA_SPACE_TEMPLATE_EXECUTABLE_INFO_TYPE = 'templateExecutableInfo';
|
159
160
|
const V1_DATA_SPACE_SERVICE_EXECUTABLE_INFO_TYPE = 'service';
|
160
161
|
const V1_DATA_SPACE_MULTI_EXECUTION_SERVICE_EXECUTABLE_INFO_TYPE = 'multiExecutionService';
|
162
|
+
export class V1_DataSpaceTemplateExecutableInfo extends V1_DataSpaceExecutableInfo {
|
163
|
+
executionContextKey;
|
164
|
+
}
|
165
|
+
const V1_DataSpaceTemplateExecutableInfoModelSchema = (plugins) => createModelSchema(V1_DataSpaceTemplateExecutableInfo, {
|
166
|
+
_type: usingConstantValueSchema(V1_DATA_SPACE_TEMPLATE_EXECUTABLE_INFO_TYPE),
|
167
|
+
executionContextKey: primitive(),
|
168
|
+
});
|
161
169
|
export class V1_DataSpaceServiceExecutableInfo extends V1_DataSpaceExecutableInfo {
|
162
170
|
pattern;
|
163
171
|
mapping;
|
@@ -195,6 +203,8 @@ const V1_dataSpaceMultiExecutionServiceExecutableInfoModelSchema = (plugins) =>
|
|
195
203
|
});
|
196
204
|
const V1_deserializeDataSpaceExecutableInfo = (plugins, json) => {
|
197
205
|
switch (json._type) {
|
206
|
+
case V1_DATA_SPACE_TEMPLATE_EXECUTABLE_INFO_TYPE:
|
207
|
+
return deserialize(V1_DataSpaceTemplateExecutableInfoModelSchema(plugins), json);
|
198
208
|
case V1_DATA_SPACE_SERVICE_EXECUTABLE_INFO_TYPE:
|
199
209
|
return deserialize(V1_dataSpaceServiceExecutableInfoModelSchema(plugins), json);
|
200
210
|
case V1_DATA_SPACE_MULTI_EXECUTION_SERVICE_EXECUTABLE_INFO_TYPE:
|
@@ -241,7 +251,7 @@ export class V1_DataSpaceExecutableAnalysisResult {
|
|
241
251
|
result;
|
242
252
|
}
|
243
253
|
const V1_dataSpaceExecutableAnalysisResultModelSchema = (plugins) => createModelSchema(V1_DataSpaceExecutableAnalysisResult, {
|
244
|
-
executable: primitive(),
|
254
|
+
executable: optional(primitive()),
|
245
255
|
description: optional(primitive()),
|
246
256
|
info: optionalCustom(() => SKIP, (val) => V1_deserializeDataSpaceExecutableInfo(plugins, val)),
|
247
257
|
result: custom(() => SKIP, V1_deserializeDataSpaceExecutableResult),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"V1_DataSpaceAnalysis.js","sourceRoot":"","sources":["../../../../../../../src/graph-manager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,0BAA0B,EAG1B,kCAAkC,EAClC,iCAAiC,EACjC,qCAAqC,GACtC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,oBAAoB,EACpB,cAAc,EAEd,yBAAyB,EACzB,oBAAoB,EACpB,wBAAwB,EACxB,QAAQ,EACR,aAAa,EACb,8BAA8B,EAC9B,gBAAgB,GACjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,iBAAiB,EACjB,MAAM,EACN,WAAW,EACX,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,SAAS,EACT,IAAI,GAEL,MAAM,WAAW,CAAC;AAEnB,OAAO,EAAE,yBAAyB,EAAE,MAAM,sEAAsE,CAAC;AAEjH,MAAM,2BAA2B;IAC/B,OAAO,CAAU;IACjB,GAAG,CAAU;IACb,KAAK,CAAU;IAEf,MAAM,CAAU,aAAa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AG,CACzE,CAAC;KACL;AACH,CAAC,CAAC;AAEF,MAAM,OAAO,oCAAoC;IAC/C,KAAK,CAAU;IACf,WAAW,CAAsB;IACjC,UAAU,CAAU;IACpB,IAAI,CAA0C;IAC9C,MAAM,CAAgC;CACvC;AAED,MAAM,+CAA+C,GAAG,CACtD,OAAsC,EACa,EAAE,CACrD,iBAAiB,CAAC,oCAAoC,EAAE;IACtD,UAAU,EAAE,SAAS,EAAE;
|
1
|
+
{"version":3,"file":"V1_DataSpaceAnalysis.js","sourceRoot":"","sources":["../../../../../../../src/graph-manager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,0BAA0B,EAG1B,kCAAkC,EAClC,iCAAiC,EACjC,qCAAqC,GACtC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,oBAAoB,EACpB,cAAc,EAEd,yBAAyB,EACzB,oBAAoB,EACpB,wBAAwB,EACxB,QAAQ,EACR,aAAa,EACb,8BAA8B,EAC9B,gBAAgB,GACjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,iBAAiB,EACjB,MAAM,EACN,WAAW,EACX,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,SAAS,EACT,IAAI,GAEL,MAAM,WAAW,CAAC;AAEnB,OAAO,EAAE,yBAAyB,EAAE,MAAM,sEAAsE,CAAC;AAEjH,MAAM,2BAA2B;IAC/B,OAAO,CAAU;IACjB,GAAG,CAAU;IACb,KAAK,CAAU;IAEf,MAAM,CAAU,aAAa,GAAG,IAAI,oBAAoB,CACtD,iBAAiB,CAAC,2BAA2B,EAAE;QAC7C,OAAO,EAAE,SAAS,EAAE;QACpB,GAAG,EAAE,SAAS,EAAE;QAChB,KAAK,EAAE,SAAS,EAAE;KACnB,CAAC,CACH,CAAC;;AAGJ,MAAM,0BAA0B;IAC9B,OAAO,CAAU;IACjB,KAAK,CAAU;IAEf,MAAM,CAAU,a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CAAC,IAAI,CAAC,gBAAgB,CAAC,EAAE;QACjE,MAAM,cAAc,GAAG,IAAI,CAAC,gBAAgB;aACzC,GAAG,CAAC,CAAC,eAAe,EAAE,EAAE;YACvB,IAAI,QAAQ,CAAC,eAAe,CAAC,EAAE;gBAC7B,MAAM,qBAAqB,GAAG,IAAI,iCAAiC,EAAE,CAAC;gBACtE,qBAAqB,CAAC,KAAK,GAAG,EAAE,CAAC;gBACjC,qBAAqB,CAAC,OAAO,GAAG,eAAe,CAAC;gBAChD,OAAO,qBAAqB,CAAC;aAC9B;YACD,OAAO,SAAS,CAAC;QACnB,CAAC,CAAC;aACD,MAAM,CAAC,aAAa,CAAC,CAAC;QACzB,MAAM,CAAC,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC;KAC1D;IACD,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC"}
|
@@ -14,7 +14,7 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
import { type Hashable } from '@finos/legend-shared';
|
17
|
-
import {
|
17
|
+
import { type V1_RawLambda, type V1_PackageableElementPointer, type V1_PackageableElementVisitor, type V1_StereotypePtr, type V1_TaggedValue, V1_PackageableElement } from '@finos/legend-graph';
|
18
18
|
export declare class V1_DataSpaceExecutionContext implements Hashable {
|
19
19
|
name: string;
|
20
20
|
title?: string | undefined;
|
@@ -28,12 +28,20 @@ export declare class V1_DataSpaceElementPointer implements Hashable {
|
|
28
28
|
exclude?: boolean | undefined;
|
29
29
|
get hashCode(): string;
|
30
30
|
}
|
31
|
-
export declare class V1_DataSpaceExecutable implements Hashable {
|
31
|
+
export declare abstract class V1_DataSpaceExecutable implements Hashable {
|
32
32
|
title: string;
|
33
33
|
description?: string | undefined;
|
34
|
+
get hashCode(): string;
|
35
|
+
}
|
36
|
+
export declare class V1_DataSpacePackageableElementExecutable extends V1_DataSpaceExecutable implements Hashable {
|
34
37
|
executable: V1_PackageableElementPointer;
|
35
38
|
get hashCode(): string;
|
36
39
|
}
|
40
|
+
export declare class V1_DataSpaceTemplateExecutable extends V1_DataSpaceExecutable implements Hashable {
|
41
|
+
query: V1_RawLambda;
|
42
|
+
executionContextKey?: string;
|
43
|
+
get hashCode(): string;
|
44
|
+
}
|
37
45
|
export declare class V1_DataSpaceDiagram implements Hashable {
|
38
46
|
title: string;
|
39
47
|
description?: string | undefined;
|
@@ -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,
|
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,EACtB,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;IAE9C,IAAI,QAAQ,IAAI,MAAM,CASrB;CACF;AAED,qBAAa,0BAA2B,YAAW,QAAQ;IACzD,IA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AG,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"}
|
@@ -47,16 +47,38 @@ export class V1_DataSpaceElementPointer {
|
|
47
47
|
export class V1_DataSpaceExecutable {
|
48
48
|
title;
|
49
49
|
description;
|
50
|
-
executable;
|
51
50
|
get hashCode() {
|
52
51
|
return hashArray([
|
53
52
|
DATA_SPACE_HASH_STRUCTURE.DATA_SPACE_EXECUTABLE,
|
54
53
|
this.title,
|
55
54
|
this.description ?? '',
|
55
|
+
]);
|
56
|
+
}
|
57
|
+
}
|
58
|
+
export class V1_DataSpacePackageableElementExecutable extends V1_DataSpaceExecutable {
|
59
|
+
executable;
|
60
|
+
get hashCode() {
|
61
|
+
return hashArray([
|
62
|
+
DATA_SPACE_HASH_STRUCTURE.DATA_SPACE_PACKAGEABLE_ELEMENT_EXECUTABLE,
|
63
|
+
this.title,
|
64
|
+
this.description ?? '',
|
56
65
|
this.executable.path,
|
57
66
|
]);
|
58
67
|
}
|
59
68
|
}
|
69
|
+
export class V1_DataSpaceTemplateExecutable extends V1_DataSpaceExecutable {
|
70
|
+
query;
|
71
|
+
executionContextKey;
|
72
|
+
get hashCode() {
|
73
|
+
return hashArray([
|
74
|
+
DATA_SPACE_HASH_STRUCTURE.DATA_SPACE_TEMPLATE_EXECUTABLE,
|
75
|
+
this.title,
|
76
|
+
this.description ?? '',
|
77
|
+
this.query,
|
78
|
+
this.executionContextKey ?? '',
|
79
|
+
]);
|
80
|
+
}
|
81
|
+
}
|
60
82
|
export class V1_DataSpaceDiagram {
|
61
83
|
title;
|
62
84
|
description;
|
@@ -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.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,yBAAyB,EAAE,MAAM,uDAAuD,CAAC;AAClG,OAAO,
|
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,GACtB,MAAM,qBAAqB,CAAC;AAE7B,MAAM,OAAO,4BAA4B;IACvC,IAAI,CAAU;IACd,KAAK,CAAsB;IAC3B,WAAW,CAAsB;IACjC,OAAO,CAAgC;IACvC,cAAc,CAAgC;IAE9C,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,yBAAyB,CAAC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qC;IAC7C,WAAW,CAAuC;IAElD,IAAa,QAAQ;QACnB,OAAO,SAAS,CAAC;YACf,yBAAyB,CAAC,UAAU;YACpC,SAAS,CAAC,IAAI,CAAC,WAAW,CAAC;YAC3B,SAAS,CAAC,IAAI,CAAC,YAAY,CAAC;YAC5B,IAAI,CAAC,KAAK,IAAI,EAAE;YAChB,IAAI,CAAC,WAAW,IAAI,EAAE;YACtB,SAAS,CAAC,IAAI,CAAC,iBAAiB,CAAC;YACjC,IAAI,CAAC,uBAAuB;YAC5B,SAAS,CAAC,IAAI,CAAC,QAAQ,IAAI,EAAE,CAAC;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"}
|
@@ -14,10 +14,11 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
import { type PlainObject } from '@finos/legend-shared';
|
17
|
-
import { type V1_DataSpaceSupportInfo, V1_DataSpace } from '../../model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.js';
|
17
|
+
import { type V1_DataSpaceSupportInfo, type V1_DataSpaceExecutable, V1_DataSpace } from '../../model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.js';
|
18
18
|
import { V1_MappingIncludeDataSpace } from '../../model/packageableElements/mapping/V1_DSL_DataSpace_MappingIncludeDataSpace.js';
|
19
19
|
export declare const V1_DATA_SPACE_ELEMENT_PROTOCOL_TYPE = "dataSpace";
|
20
20
|
export declare const V1_deserializeSupportInfo: (json: PlainObject<V1_DataSpaceSupportInfo> | undefined) => V1_DataSpaceSupportInfo | undefined;
|
21
|
+
export declare const V1_deserializeDataspaceExecutable: (json: PlainObject<V1_DataSpaceExecutable>) => V1_DataSpaceSupportInfo;
|
21
22
|
export declare const V1_serializeDataSpace: (protocol: V1_DataSpace) => PlainObject<V1_DataSpace>;
|
22
23
|
export declare const V1_deserializeDataSpace: (json: PlainObject<V1_DataSpace>) => V1_DataSpace;
|
23
24
|
export declare const V1_MAPPING_INCLUDE_DATASPACE_TYPE = "mappingIncludeDataSpace";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"V1_DSL_DataSpace_ProtocolHelper.d.ts","sourceRoot":"","sources":["../../../../../../../src/graph-manager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataSpace_ProtocolHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
1
|
+
{"version":3,"file":"V1_DSL_DataSpace_ProtocolHelper.d.ts","sourceRoot":"","sources":["../../../../../../../src/graph-manager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataSpace_ProtocolHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAoBH,OAAO,EACL,KAAK,WAAW,EAQjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC3B,YAAY,EAQb,MAAM,yEAAyE,CAAC;AACjF,OAAO,EAAE,0BAA0B,EAAE,MAAM,qFAAqF,CAAC;AAEjI,eAAO,MAAM,mCAAmC,cAAc,CAAC;AAqD/D,eAAO,MAAM,yBAAyB,SAC9B,YAAY,uBAAuB,CAAC,GAAG,SAAS,KACrD,uBAAuB,GAAG,SAe5B,CAAC;AAkDF,eAAO,MAAM,iCAAiC,SACtC,YAAY,sBAAsB,CAAC,KACxC,uBAWF,CAAC;AAuCF,eAAO,MAAM,qBAAqB,aACtB,YAAY,KACrB,YAAY,YAAY,CAAiD,CAAC;AAE7E,eAAO,MAAM,uBAAuB,SAC5B,YAAY,YAAY,CAAC,KAC9B,YA+BF,CAAC;AAGF,eAAO,MAAM,iCAAiC,4BAA4B,CAAC;AAU3E,eAAO,MAAM,0BAA0B,aAC3B,0BAA0B,KACnC,YAAY,0BAA0B,CACmB,CAAC;AAE7D,eAAO,MAAM,4BAA4B,SACjC,YAAY,0BAA0B,CAAC,KAC5C,0BACuD,CAAC"}
|
@@ -14,13 +14,15 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
import { createModelSchema, custom, deserialize, list, object, optional, primitive, serialize, SKIP, } from 'serializr';
|
17
|
-
import { V1_stereotypePtrModelSchema, V1_taggedValueModelSchema, V1_packageableElementPointerModelSchema, V1_PackageableElementPointer, } from '@finos/legend-graph';
|
17
|
+
import { V1_stereotypePtrModelSchema, V1_taggedValueModelSchema, V1_packageableElementPointerModelSchema, V1_PackageableElementPointer, V1_rawLambdaModelSchema, } from '@finos/legend-graph';
|
18
18
|
import { UnsupportedOperationError, usingConstantValueSchema, usingModelSchema, optionalCustomListWithSchema, customListWithSchema, isString, isNonNullable, } from '@finos/legend-shared';
|
19
|
-
import { V1_DataSpace, V1_DataSpaceExecutionContext, V1_DataSpaceSupportEmail, V1_DataSpaceSupportCombinedInfo,
|
19
|
+
import { V1_DataSpace, V1_DataSpaceExecutionContext, V1_DataSpaceSupportEmail, V1_DataSpaceSupportCombinedInfo, V1_DataSpaceDiagram, V1_DataSpaceElementPointer, V1_DataSpaceTemplateExecutable, V1_DataSpacePackageableElementExecutable, } from '../../model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.js';
|
20
20
|
import { V1_MappingIncludeDataSpace } from '../../model/packageableElements/mapping/V1_DSL_DataSpace_MappingIncludeDataSpace.js';
|
21
21
|
export const V1_DATA_SPACE_ELEMENT_PROTOCOL_TYPE = 'dataSpace';
|
22
22
|
const V1_DATA_SPACE_SUPPORT_EMAIL_TYPE = 'email';
|
23
23
|
const V1_DATA_SPACE_SUPPORT_COMBINED_INFO_TYPE = 'combined';
|
24
|
+
const V1_DATA_SPACE_PACKAGEABLE_ELEMENT_EXECUTABLE = 'dataSpacePackageableElementExecutable';
|
25
|
+
const V1_DATA_SPACE_TEMPLATE_EXECUTABLE = 'dataSpaceTemplateExecutable';
|
24
26
|
const V1_dataSpaceExecutionContextModelSchema = createModelSchema(V1_DataSpaceExecutionContext, {
|
25
27
|
defaultRuntime: usingModelSchema(V1_packageableElementPointerModelSchema),
|
26
28
|
description: optional(primitive()),
|
@@ -71,13 +73,37 @@ const V1_dataSpaceElementPointerModelSchema = createModelSchema(V1_DataSpaceElem
|
|
71
73
|
exclude: optional(primitive()),
|
72
74
|
path: primitive(),
|
73
75
|
});
|
74
|
-
const
|
75
|
-
|
76
|
-
_type: usingConstantValueSchema(V1_PACKAGEABLEELEMENT_EXECUTABLE),
|
76
|
+
const V1_dataSpacePackageableElementExecutableModelSchema = createModelSchema(V1_DataSpacePackageableElementExecutable, {
|
77
|
+
_type: usingConstantValueSchema(V1_DATA_SPACE_PACKAGEABLE_ELEMENT_EXECUTABLE),
|
77
78
|
description: optional(primitive()),
|
79
|
+
title: primitive(),
|
78
80
|
executable: usingModelSchema(V1_packageableElementPointerModelSchema),
|
81
|
+
});
|
82
|
+
const V1_dataSpaceTemplateExecutableModelSchema = createModelSchema(V1_DataSpaceTemplateExecutable, {
|
83
|
+
_type: usingConstantValueSchema(V1_DATA_SPACE_TEMPLATE_EXECUTABLE),
|
84
|
+
description: optional(primitive()),
|
79
85
|
title: primitive(),
|
86
|
+
query: usingModelSchema(V1_rawLambdaModelSchema),
|
87
|
+
executionContextKey: optional(primitive()),
|
80
88
|
});
|
89
|
+
const V1_serializeDataspaceExecutable = (protocol) => {
|
90
|
+
if (protocol instanceof V1_DataSpaceTemplateExecutable) {
|
91
|
+
return serialize(V1_dataSpaceTemplateExecutableModelSchema, protocol);
|
92
|
+
}
|
93
|
+
else if (protocol instanceof V1_DataSpacePackageableElementExecutable) {
|
94
|
+
return serialize(V1_dataSpacePackageableElementExecutableModelSchema, protocol);
|
95
|
+
}
|
96
|
+
throw new UnsupportedOperationError(`Can't serialize data space executable`, protocol);
|
97
|
+
};
|
98
|
+
export const V1_deserializeDataspaceExecutable = (json) => {
|
99
|
+
switch (json._type) {
|
100
|
+
case V1_DATA_SPACE_TEMPLATE_EXECUTABLE:
|
101
|
+
return deserialize(V1_dataSpaceTemplateExecutableModelSchema, json);
|
102
|
+
case V1_DATA_SPACE_PACKAGEABLE_ELEMENT_EXECUTABLE:
|
103
|
+
default:
|
104
|
+
return deserialize(V1_dataSpacePackageableElementExecutableModelSchema, json);
|
105
|
+
}
|
106
|
+
};
|
81
107
|
const V1_dataSpaceDiagramModelSchema = createModelSchema(V1_DataSpaceDiagram, {
|
82
108
|
description: optional(primitive()),
|
83
109
|
diagram: usingModelSchema(V1_packageableElementPointerModelSchema),
|
@@ -89,7 +115,7 @@ const V1_dataSpaceModelSchema = createModelSchema(V1_DataSpace, {
|
|
89
115
|
description: optional(primitive()),
|
90
116
|
diagrams: list(object(V1_dataSpaceDiagramModelSchema)),
|
91
117
|
elements: optionalCustomListWithSchema(V1_dataSpaceElementPointerModelSchema),
|
92
|
-
executables: list(
|
118
|
+
executables: list(custom((val) => V1_serializeDataspaceExecutable(val), (val) => V1_deserializeDataspaceExecutable(val))),
|
93
119
|
executionContexts: list(object(V1_dataSpaceExecutionContextModelSchema)),
|
94
120
|
featuredDiagrams: optionalCustomListWithSchema(V1_packageableElementPointerModelSchema),
|
95
121
|
name: primitive(),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"V1_DSL_DataSpace_ProtocolHelper.js","sourceRoot":"","sources":["../../../../../../../src/graph-manager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataSpace_ProtocolHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,iBAAiB,EACjB,MAAM,EACN,WAAW,EACX,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,SAAS,EACT,SAAS,EACT,IAAI,GACL,MAAM,WAAW,CAAC;AACnB,OAAO,EACL,2BAA2B,EAC3B,yBAAyB,EACzB,uCAAuC,EACvC,4BAA4B,
|
1
|
+
{"version":3,"file":"V1_DSL_DataSpace_ProtocolHelper.js","sourceRoot":"","sources":["../../../../../../../src/graph-manager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataSpace_ProtocolHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,iBAAiB,EACjB,MAAM,EACN,WAAW,EACX,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,SAAS,EACT,SAAS,EACT,IAAI,GACL,MAAM,WAAW,CAAC;AACnB,OAAO,EACL,2BAA2B,EAC3B,yBAAyB,EACzB,uCAAuC,EACvC,4BAA4B,EAC5B,uBAAuB,GACxB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,yBAAyB,EACzB,wBAAwB,EACxB,gBAAgB,EAChB,4BAA4B,EAC5B,oBAAoB,EACpB,QAAQ,EACR,aAAa,GACd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAGL,YAAY,EACZ,4BAA4B,EAC5B,wBAAwB,EACxB,+BAA+B,EAC/B,mBAAmB,EACnB,0BAA0B,EAC1B,8BAA8B,EAC9B,wCAAwC,GACzC,MAAM,yEAAyE,CAAC;AACjF,OAAO,EAAE,0BAA0B,EAAE,MAAM,qFAAqF,CAAC;AAEjI,MAAM,CAAC,MAAM,mCAAmC,GAAG,WAAW,CAAC;AAC/D,MAAM,gCAAgC,GAAG,OAAO,CAAC;AACjD,MAAM,wCAAwC,GAAG,UAAU,CAAC;AAC5D,MAAM,4CAA4C,GAChD,uCAAuC,CAAC;AAC1C,MAAM,iCAAiC,GAAG,6BAA6B,CAAC;AAExE,MAAM,uCAAuC,GAAG,iBAAiB,CAC/D,4BAA4B,EAC5B;IACE,cAAc,EAAE,gBAAgB,CAAC,uCAAuC,CAAC;IACzE,WAAW,EAAE,QAAQ,CAAC,SAAS,EAAE,CAAC;IAClC,OAAO,EAAE,gBAAgB,CAAC,uCAAuC,CAAC;IAClE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,CAAC,QAAQ;gBAChB,SAAS,CAAC,QAAQ,KAAK,SAAS;oBAC9B,CAAC,CAAC,SAAS,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC;oBACrC,CAAC,CAAC,QAAQ,CAAC;SAChB;KACF;IACD,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC;AAEF,kBAAkB;AAClB,MAAM,CAAC,MAAM,iCAAiC,GAAG,yBAAyB,CAAC;AAE3E,MAAM,qCAAqC,GAAG,iBAAiB,CAC7D,0BAA0B,EAC1B;IACE,KAAK,EAAE,wBAAwB,CAAC,iCAAiC,CAAC;IAClE,iBAAiB,EAAE,SAAS,EAAE;CAC/B,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAAG,CACxC,QAAoC,EACK,EAAE,CAC3C,SAAS,CAAC,qCAAqC,EAAE,QAAQ,CAAC,CAAC;AAE7D,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAC1C,IAA6C,EACjB,EAAE,CAC9B,WAAW,CAAC,qCAAqC,EAAE,IAAI,CAAC,CAAC"}
|
package/lib/index.css
CHANGED
package/lib/package.json
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@finos/legend-extension-dsl-data-space",
|
3
|
-
"version": "10.1.
|
3
|
+
"version": "10.1.90",
|
4
4
|
"description": "Legend extension for Data Space DSL",
|
5
5
|
"keywords": [
|
6
6
|
"legend",
|
@@ -45,13 +45,13 @@
|
|
45
45
|
},
|
46
46
|
"dependencies": {
|
47
47
|
"@finos/legend-application": "15.0.71",
|
48
|
-
"@finos/legend-application-query": "13.2.
|
49
|
-
"@finos/legend-application-studio": "28.16.
|
48
|
+
"@finos/legend-application-query": "13.2.15",
|
49
|
+
"@finos/legend-application-studio": "28.16.2",
|
50
50
|
"@finos/legend-art": "7.1.23",
|
51
|
-
"@finos/legend-extension-dsl-diagram": "8.0.
|
52
|
-
"@finos/legend-graph": "31.9.
|
53
|
-
"@finos/legend-lego": "1.2.
|
54
|
-
"@finos/legend-query-builder": "4.14.
|
51
|
+
"@finos/legend-extension-dsl-diagram": "8.0.146",
|
52
|
+
"@finos/legend-graph": "31.9.2",
|
53
|
+
"@finos/legend-lego": "1.2.15",
|
54
|
+
"@finos/legend-query-builder": "4.14.15",
|
55
55
|
"@finos/legend-server-depot": "6.0.36",
|
56
56
|
"@finos/legend-shared": "10.0.32",
|
57
57
|
"@finos/legend-storage": "3.0.82",
|
@@ -121,9 +121,11 @@ const DataSpaceExecutableTDSResultView = observer(
|
|
121
121
|
executableAnalysisResult.info instanceof
|
122
122
|
DataSpaceMultiExecutionServiceExecutableInfo
|
123
123
|
) {
|
124
|
-
|
125
|
-
|
126
|
-
|
124
|
+
if (executableAnalysisResult.executable) {
|
125
|
+
dataSpaceViewerState.openServiceQuery(
|
126
|
+
executableAnalysisResult.executable,
|
127
|
+
);
|
128
|
+
}
|
127
129
|
}
|
128
130
|
};
|
129
131
|
const columnSpecifications = tdsResult.columns;
|
@@ -19,6 +19,8 @@ export enum DATA_SPACE_HASH_STRUCTURE {
|
|
19
19
|
DATA_SPACE_EXECUTION_CONTEXT = 'DATA_SPACE_EXECUTION_CONTEXT',
|
20
20
|
DATA_SPACE_ELEMENT_POINTER = 'DATA_SPACE_ELEMENT_POINTER',
|
21
21
|
DATA_SPACE_EXECUTABLE = 'DATA_SPACE_EXECUTABLE',
|
22
|
+
DATA_SPACE_PACKAGEABLE_ELEMENT_EXECUTABLE = 'DATA_SPACE_PACKAGEABLE_ELEMENT_EXECUTABLE',
|
23
|
+
DATA_SPACE_TEMPLATE_EXECUTABLE = 'DATA_SPACE_TEMPLATE_EXECUTABLE',
|
22
24
|
DATA_SPACE_DIAGRAM = 'DATA_SPACE_DIAGRAM',
|
23
25
|
DATA_SPACE_SUPPORT_COMBINED_INFO = 'DATA_SPACE_SUPPORT_COMBINED_INFO',
|
24
26
|
DATA_SPACE_SUPPORT_EMAIL = 'DATA_SPACE_SUPPORT_EMAIL',
|
package/src/graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.ts
CHANGED
@@ -16,7 +16,6 @@
|
|
16
16
|
|
17
17
|
import { hashArray, type Hashable } from '@finos/legend-shared';
|
18
18
|
import {
|
19
|
-
PackageableElement,
|
20
19
|
type PackageableElementReference,
|
21
20
|
type Mapping,
|
22
21
|
type PackageableRuntime,
|
@@ -25,6 +24,8 @@ import {
|
|
25
24
|
type Enumeration,
|
26
25
|
type Association,
|
27
26
|
type Package,
|
27
|
+
type RawLambda,
|
28
|
+
PackageableElement,
|
28
29
|
} from '@finos/legend-graph';
|
29
30
|
import { DATA_SPACE_HASH_STRUCTURE } from '../../../../../DSL_DataSpace_HashUtils.js';
|
30
31
|
import type { Diagram } from '@finos/legend-extension-dsl-diagram/graph';
|
@@ -63,21 +64,53 @@ export class DataSpaceElementPointer implements Hashable {
|
|
63
64
|
}
|
64
65
|
}
|
65
66
|
|
66
|
-
export class DataSpaceExecutable implements Hashable {
|
67
|
+
export abstract class DataSpaceExecutable implements Hashable {
|
67
68
|
title!: string;
|
68
69
|
description?: string | undefined;
|
69
|
-
executable!: PackageableElementReference<PackageableElement>;
|
70
70
|
|
71
71
|
get hashCode(): string {
|
72
72
|
return hashArray([
|
73
73
|
DATA_SPACE_HASH_STRUCTURE.DATA_SPACE_EXECUTABLE,
|
74
74
|
this.title,
|
75
75
|
this.description ?? '',
|
76
|
+
]);
|
77
|
+
}
|
78
|
+
}
|
79
|
+
|
80
|
+
export class DataSpacePackageableElementExecutable
|
81
|
+
extends DataSpaceExecutable
|
82
|
+
implements Hashable
|
83
|
+
{
|
84
|
+
executable!: PackageableElementReference<PackageableElement>;
|
85
|
+
|
86
|
+
override get hashCode(): string {
|
87
|
+
return hashArray([
|
88
|
+
DATA_SPACE_HASH_STRUCTURE.DATA_SPACE_PACKAGEABLE_ELEMENT_EXECUTABLE,
|
89
|
+
this.title,
|
90
|
+
this.description ?? '',
|
76
91
|
this.executable.valueForSerialization ?? '',
|
77
92
|
]);
|
78
93
|
}
|
79
94
|
}
|
80
95
|
|
96
|
+
export class DataSpaceExecutableTemplate
|
97
|
+
extends DataSpaceExecutable
|
98
|
+
implements Hashable
|
99
|
+
{
|
100
|
+
query!: RawLambda;
|
101
|
+
executionContextKey?: string;
|
102
|
+
|
103
|
+
override get hashCode(): string {
|
104
|
+
return hashArray([
|
105
|
+
DATA_SPACE_HASH_STRUCTURE.DATA_SPACE_TEMPLATE_EXECUTABLE,
|
106
|
+
this.title,
|
107
|
+
this.description ?? '',
|
108
|
+
this.query,
|
109
|
+
this.executionContextKey ?? '',
|
110
|
+
]);
|
111
|
+
}
|
112
|
+
}
|
113
|
+
|
81
114
|
export class DataSpaceDiagram implements Hashable {
|
82
115
|
title!: string;
|
83
116
|
description?: string | undefined;
|
@@ -129,6 +129,10 @@ export abstract class DataSpaceExecutableInfo {
|
|
129
129
|
query!: string;
|
130
130
|
}
|
131
131
|
|
132
|
+
export class DataSpaceTemplateExecutableInfo extends DataSpaceExecutableInfo {
|
133
|
+
executionContextKey!: string;
|
134
|
+
}
|
135
|
+
|
132
136
|
export class DataSpaceServiceExecutableInfo extends DataSpaceExecutableInfo {
|
133
137
|
pattern!: string;
|
134
138
|
mapping?: string | undefined;
|
@@ -173,7 +177,7 @@ export class DataSpaceExecutableAnalysisResult {
|
|
173
177
|
|
174
178
|
title!: string;
|
175
179
|
description?: string | undefined;
|
176
|
-
executable
|
180
|
+
executable?: string;
|
177
181
|
info?: DataSpaceExecutableInfo | undefined;
|
178
182
|
result!: DataSpaceExecutableResult;
|
179
183
|
}
|
@@ -20,10 +20,11 @@ import {
|
|
20
20
|
V1_DataSpace,
|
21
21
|
V1_DataSpaceDiagram,
|
22
22
|
V1_DataSpaceElementPointer,
|
23
|
-
V1_DataSpaceExecutable,
|
24
23
|
V1_DataSpaceExecutionContext,
|
24
|
+
V1_DataSpacePackageableElementExecutable,
|
25
25
|
V1_DataSpaceSupportCombinedInfo,
|
26
26
|
V1_DataSpaceSupportEmail,
|
27
|
+
V1_DataSpaceTemplateExecutable,
|
27
28
|
} from './v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.js';
|
28
29
|
import {
|
29
30
|
type PlainObject,
|
@@ -45,14 +46,15 @@ import {
|
|
45
46
|
import { V1_resolveDataSpace } from './v1/transformation/pureGraph/V1_DSL_DataSpace_GraphBuilderHelper.js';
|
46
47
|
import { getOwnDataSpace } from '../../DSL_DataSpace_GraphManagerHelper.js';
|
47
48
|
import {
|
49
|
+
type DataSpaceElement,
|
48
50
|
DataSpace,
|
49
|
-
DataSpaceExecutable,
|
50
51
|
DataSpaceExecutionContext,
|
51
52
|
DataSpaceSupportCombinedInfo,
|
52
53
|
DataSpaceSupportEmail,
|
53
|
-
type DataSpaceElement,
|
54
54
|
DataSpaceDiagram,
|
55
55
|
DataSpaceElementPointer,
|
56
|
+
DataSpaceExecutableTemplate,
|
57
|
+
DataSpacePackageableElementExecutable,
|
56
58
|
} from '../../../graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js';
|
57
59
|
import {
|
58
60
|
type PackageableElement,
|
@@ -65,6 +67,17 @@ import {
|
|
65
67
|
type V1_PackageableElement,
|
66
68
|
type V1_PureModelContextData,
|
67
69
|
type V1_TaggedValue,
|
70
|
+
type Mapping,
|
71
|
+
type MappingInclude,
|
72
|
+
type PackageableElementReference,
|
73
|
+
type V1_MappingInclude,
|
74
|
+
type DSL_Mapping_PureProtocolProcessorPlugin_Extension,
|
75
|
+
type V1_MappingIncludeBuilder,
|
76
|
+
type V1_MappingIncludeTransformer,
|
77
|
+
type V1_MappingIncludeProtocolSerializer,
|
78
|
+
type V1_MappingIncludeProtocolDeserializer,
|
79
|
+
type V1_MappingIncludeIdentifierBuilder,
|
80
|
+
type V1_RawLambda,
|
68
81
|
V1_taggedValueModelSchema,
|
69
82
|
PackageableElementExplicitReference,
|
70
83
|
V1_PackageableElementPointer,
|
@@ -79,17 +92,9 @@ import {
|
|
79
92
|
Class,
|
80
93
|
Enumeration,
|
81
94
|
Association,
|
82
|
-
type Mapping,
|
83
|
-
type MappingInclude,
|
84
|
-
type PackageableElementReference,
|
85
95
|
Package,
|
86
|
-
|
87
|
-
|
88
|
-
type V1_MappingIncludeBuilder,
|
89
|
-
type V1_MappingIncludeTransformer,
|
90
|
-
type V1_MappingIncludeProtocolSerializer,
|
91
|
-
type V1_MappingIncludeProtocolDeserializer,
|
92
|
-
type V1_MappingIncludeIdentifierBuilder,
|
96
|
+
V1_RawValueSpecificationTransformer,
|
97
|
+
V1_buildRawLambdaWithResolvedPaths,
|
93
98
|
} from '@finos/legend-graph';
|
94
99
|
import { V1_resolveDiagram } from '@finos/legend-extension-dsl-diagram/graph';
|
95
100
|
import { V1_MappingIncludeDataSpace } from './v1/model/packageableElements/mapping/V1_DSL_DataSpace_MappingIncludeDataSpace.js';
|
@@ -206,14 +211,41 @@ export class DSL_DataSpace_PureProtocolProcessorPlugin
|
|
206
211
|
if (elementProtocol.executables) {
|
207
212
|
element.executables = elementProtocol.executables.map(
|
208
213
|
(executableProtocol) => {
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
executableProtocol.
|
214
|
-
|
215
|
-
|
216
|
-
|
214
|
+
if (
|
215
|
+
executableProtocol instanceof V1_DataSpaceTemplateExecutable
|
216
|
+
) {
|
217
|
+
const executable = new DataSpaceExecutableTemplate();
|
218
|
+
executable.title = executableProtocol.title;
|
219
|
+
executable.description = executableProtocol.description;
|
220
|
+
executable.query = V1_buildRawLambdaWithResolvedPaths(
|
221
|
+
executableProtocol.query.parameters,
|
222
|
+
executableProtocol.query.body,
|
223
|
+
context,
|
224
|
+
);
|
225
|
+
if (executableProtocol.executionContextKey) {
|
226
|
+
executable.executionContextKey =
|
227
|
+
executableProtocol.executionContextKey;
|
228
|
+
}
|
229
|
+
return executable;
|
230
|
+
} else if (
|
231
|
+
executableProtocol instanceof
|
232
|
+
V1_DataSpacePackageableElementExecutable
|
233
|
+
) {
|
234
|
+
const executable =
|
235
|
+
new DataSpacePackageableElementExecutable();
|
236
|
+
executable.title = executableProtocol.title;
|
237
|
+
executable.description = executableProtocol.description;
|
238
|
+
executable.executable = context.resolveElement(
|
239
|
+
executableProtocol.executable.path,
|
240
|
+
false,
|
241
|
+
);
|
242
|
+
return executable;
|
243
|
+
} else {
|
244
|
+
throw new UnsupportedOperationError(
|
245
|
+
`Can't build data space executable`,
|
246
|
+
executableProtocol,
|
247
|
+
);
|
248
|
+
}
|
217
249
|
},
|
218
250
|
);
|
219
251
|
}
|
@@ -353,14 +385,37 @@ export class DSL_DataSpace_PureProtocolProcessorPlugin
|
|
353
385
|
return elementPointer;
|
354
386
|
});
|
355
387
|
protocol.executables = metamodel.executables?.map((executable) => {
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
388
|
+
if (executable instanceof DataSpaceExecutableTemplate) {
|
389
|
+
const executableProtocol = new V1_DataSpaceTemplateExecutable();
|
390
|
+
executableProtocol.title = executable.title;
|
391
|
+
executableProtocol.description = executable.description;
|
392
|
+
if (executable.executionContextKey) {
|
393
|
+
executableProtocol.executionContextKey =
|
394
|
+
executable.executionContextKey;
|
395
|
+
}
|
396
|
+
executableProtocol.query =
|
397
|
+
executable.query.accept_RawValueSpecificationVisitor(
|
398
|
+
new V1_RawValueSpecificationTransformer(context),
|
399
|
+
) as V1_RawLambda;
|
400
|
+
return executableProtocol;
|
401
|
+
} else if (
|
402
|
+
executable instanceof DataSpacePackageableElementExecutable
|
403
|
+
) {
|
404
|
+
const executableProtocol =
|
405
|
+
new V1_DataSpacePackageableElementExecutable();
|
406
|
+
executableProtocol.title = executable.title;
|
407
|
+
executableProtocol.description = executable.description;
|
408
|
+
executableProtocol.executable = new V1_PackageableElementPointer(
|
409
|
+
undefined,
|
410
|
+
executable.executable.valueForSerialization ?? '',
|
411
|
+
);
|
412
|
+
return executableProtocol;
|
413
|
+
} else {
|
414
|
+
throw new UnsupportedOperationError(
|
415
|
+
`Can't transform data space executable`,
|
416
|
+
executable,
|
417
|
+
);
|
418
|
+
}
|
364
419
|
});
|
365
420
|
protocol.diagrams = metamodel.diagrams?.map((diagram) => {
|
366
421
|
const diagramProtocol = new V1_DataSpaceDiagram();
|