@finos/legend-extension-dsl-data-space 10.3.85 → 10.4.0
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/DSL_DataSpace_LegendApplicationPlugin.d.ts +1 -1
- package/lib/components/DSL_DataSpace_LegendApplicationPlugin.d.ts.map +1 -1
- package/lib/components/DSL_DataSpace_LegendApplicationPlugin.js +4 -3
- package/lib/components/DSL_DataSpace_LegendApplicationPlugin.js.map +1 -1
- package/lib/components/query-builder/DataSpaceQueryBuilder.d.ts.map +1 -1
- package/lib/components/query-builder/DataSpaceQueryBuilder.js +20 -6
- package/lib/components/query-builder/DataSpaceQueryBuilder.js.map +1 -1
- package/lib/components/query-builder/DataSpaceQueryBuilderTemplateQueryPanelContent.js +1 -1
- package/lib/components/query-builder/DataSpaceQueryBuilderTemplateQueryPanelContent.js.map +1 -1
- package/lib/graph-manager/index.d.ts +1 -0
- package/lib/graph-manager/index.d.ts.map +1 -1
- package/lib/graph-manager/index.js +1 -0
- package/lib/graph-manager/index.js.map +1 -1
- package/lib/graph-manager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.d.ts +6 -2
- 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 +15 -3
- 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 +185 -48
- package/lib/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/package.json +1 -1
- package/lib/stores/query-builder/DataSpaceQueryBuilderState.d.ts +5 -11
- package/lib/stores/query-builder/DataSpaceQueryBuilderState.d.ts.map +1 -1
- package/lib/stores/query-builder/DataSpaceQueryBuilderState.js +19 -30
- package/lib/stores/query-builder/DataSpaceQueryBuilderState.js.map +1 -1
- package/package.json +7 -7
- package/src/components/DSL_DataSpace_LegendApplicationPlugin.tsx +6 -8
- package/src/components/query-builder/DataSpaceQueryBuilder.tsx +40 -9
- package/src/components/query-builder/DataSpaceQueryBuilderTemplateQueryPanelContent.tsx +1 -1
- package/src/graph-manager/index.ts +4 -0
- package/src/graph-manager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.ts +19 -1
- package/src/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.ts +359 -79
- package/src/stores/query-builder/DataSpaceQueryBuilderState.ts +32 -40
@@ -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,EAKL,iBAAiB,GAElB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAOL,2BAA2B,EAC3B,OAAO,EACP,8BAA8B,EAC9B,uBAAuB,
|
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,EAKL,iBAAiB,GAElB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAOL,2BAA2B,EAC3B,OAAO,EACP,8BAA8B,EAC9B,uBAAuB,GACxB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAGL,UAAU,EACV,sBAAsB,GACvB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAEL,WAAW,EACX,iBAAiB,EACjB,YAAY,GACb,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,IAAI,E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WAAW,IAAI,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,MAAM,GAAG,CAAC;gBACjE,CAAC,CAAE,CAAC,MAAM,oDAAoD,CAC1D,IAAI,CAAC,SAAS,EACd,IAAI,CAAC,SAAS,CAAC,WAAW,EAC1B,IAAI,CAAC,iBAAiB,CACvB,CAAyC;gBAC5C,CAAC,CAAC,IAAI,CAAC,uBAAuB,EAAE,WAAW,CAAC,MAAM,CAC9C,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,IAAI,KAAK,SAAS,CAC9B,CAAC;IACV,CAAC;CACF"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@finos/legend-extension-dsl-data-space",
|
3
|
-
"version": "10.
|
3
|
+
"version": "10.4.0",
|
4
4
|
"description": "Legend extension for Data Space DSL",
|
5
5
|
"keywords": [
|
6
6
|
"legend",
|
@@ -45,12 +45,12 @@
|
|
45
45
|
"dependencies": {
|
46
46
|
"@finos/legend-application": "16.0.6",
|
47
47
|
"@finos/legend-art": "7.1.64",
|
48
|
-
"@finos/legend-code-editor": "2.0.
|
49
|
-
"@finos/legend-extension-dsl-diagram": "8.1.
|
50
|
-
"@finos/legend-graph": "31.10.
|
51
|
-
"@finos/legend-lego": "2.0.
|
52
|
-
"@finos/legend-query-builder": "4.15.
|
53
|
-
"@finos/legend-server-depot": "6.0.
|
48
|
+
"@finos/legend-code-editor": "2.0.10",
|
49
|
+
"@finos/legend-extension-dsl-diagram": "8.1.25",
|
50
|
+
"@finos/legend-graph": "31.10.44",
|
51
|
+
"@finos/legend-lego": "2.0.12",
|
52
|
+
"@finos/legend-query-builder": "4.15.9",
|
53
|
+
"@finos/legend-server-depot": "6.0.65",
|
54
54
|
"@finos/legend-server-sdlc": "5.3.34",
|
55
55
|
"@finos/legend-shared": "10.0.58",
|
56
56
|
"@finos/legend-storage": "3.0.108",
|
@@ -15,11 +15,11 @@
|
|
15
15
|
*/
|
16
16
|
|
17
17
|
import {
|
18
|
-
LegendApplicationPlugin,
|
19
18
|
type LegendApplicationSetup,
|
20
19
|
type LegendApplicationPluginManager,
|
21
|
-
collectKeyedCommandConfigEntriesFromConfig,
|
22
20
|
type KeyedCommandConfigEntry,
|
21
|
+
collectKeyedCommandConfigEntriesFromConfig,
|
22
|
+
LegendApplicationPlugin,
|
23
23
|
} from '@finos/legend-application';
|
24
24
|
import packageJson from '../../package.json' with { type: 'json' };
|
25
25
|
import type {
|
@@ -32,7 +32,7 @@ import type {
|
|
32
32
|
} from '@finos/legend-query-builder';
|
33
33
|
import { DataSpaceQueryBuilderState } from '../stores/query-builder/DataSpaceQueryBuilderState.js';
|
34
34
|
import { DSL_DATA_SPACE_LEGEND_APPLICATION_COMMAND_CONFIG } from '../__lib__/DSL_DataSpace_LegendApplicationCommand.js';
|
35
|
-
import type
|
35
|
+
import { type QuerySearchSpecification } from '@finos/legend-graph';
|
36
36
|
import { configureDataGridComponent } from '@finos/legend-lego/data-grid';
|
37
37
|
import { DataSpaceExecutableTemplate } from '../graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js';
|
38
38
|
import { filterByType } from '@finos/legend-shared';
|
@@ -175,10 +175,10 @@ export class DSL_DataSpace_LegendApplicationPlugin
|
|
175
175
|
}
|
176
176
|
return [];
|
177
177
|
},
|
178
|
-
loadCuratedTemplateQuery: (
|
178
|
+
loadCuratedTemplateQuery: async (
|
179
179
|
templateQuery: CuratedTemplateQuery,
|
180
180
|
queryBuilderState: QueryBuilderState,
|
181
|
-
): void => {
|
181
|
+
): Promise<void> => {
|
182
182
|
if (queryBuilderState instanceof DataSpaceQueryBuilderState) {
|
183
183
|
if (
|
184
184
|
queryBuilderState.executionContext.name !==
|
@@ -190,9 +190,7 @@ export class DSL_DataSpace_LegendApplicationPlugin
|
|
190
190
|
);
|
191
191
|
if (executionContext) {
|
192
192
|
queryBuilderState.setExecutionContext(executionContext);
|
193
|
-
queryBuilderState.propagateExecutionContextChange(
|
194
|
-
executionContext,
|
195
|
-
);
|
193
|
+
await queryBuilderState.propagateExecutionContextChange();
|
196
194
|
queryBuilderState.initializeWithQuery(templateQuery.query);
|
197
195
|
queryBuilderState.onExecutionContextChange?.(executionContext);
|
198
196
|
}
|
@@ -45,6 +45,7 @@ import {
|
|
45
45
|
} from '@finos/legend-query-builder';
|
46
46
|
import {
|
47
47
|
type Runtime,
|
48
|
+
type PackageableRuntime,
|
48
49
|
getMappingCompatibleRuntimes,
|
49
50
|
PackageableElementExplicitReference,
|
50
51
|
RuntimePointer,
|
@@ -89,6 +90,25 @@ export const formatDataSpaceOptionLabel = (
|
|
89
90
|
</div>
|
90
91
|
);
|
91
92
|
|
93
|
+
const resolveExecutionContextRuntimes = (
|
94
|
+
queryBuilderState: DataSpaceQueryBuilderState,
|
95
|
+
): PackageableRuntime[] => {
|
96
|
+
if (queryBuilderState.dataSpaceAnalysisResult) {
|
97
|
+
const executionContext = Array.from(
|
98
|
+
queryBuilderState.dataSpaceAnalysisResult.executionContextsIndex.values(),
|
99
|
+
).find(
|
100
|
+
(e) =>
|
101
|
+
e.mapping.path ===
|
102
|
+
queryBuilderState.executionContext.mapping.value.path,
|
103
|
+
);
|
104
|
+
return guaranteeNonNullable(executionContext).compatibleRuntimes;
|
105
|
+
}
|
106
|
+
return getMappingCompatibleRuntimes(
|
107
|
+
queryBuilderState.executionContext.mapping.value,
|
108
|
+
queryBuilderState.graphManagerState.usableRuntimes,
|
109
|
+
);
|
110
|
+
};
|
111
|
+
|
92
112
|
export type ExecutionContextOption = {
|
93
113
|
label: string;
|
94
114
|
value: DataSpaceExecutionContext;
|
@@ -152,7 +172,9 @@ const DataSpaceQueryBuilderSetupPanelContent = observer(
|
|
152
172
|
},
|
153
173
|
};
|
154
174
|
const onDataSpaceOptionChange = (option: DataSpaceOption): void => {
|
155
|
-
queryBuilderState
|
175
|
+
queryBuilderState
|
176
|
+
.onDataSpaceChange(option.value)
|
177
|
+
.catch(queryBuilderState.applicationStore.alertUnhandledError);
|
156
178
|
};
|
157
179
|
|
158
180
|
const openDataSpaceAdvancedSearch = (): void => {
|
@@ -170,22 +192,30 @@ const DataSpaceQueryBuilderSetupPanelContent = observer(
|
|
170
192
|
const selectedExecutionContextOption = buildExecutionContextOption(
|
171
193
|
queryBuilderState.executionContext,
|
172
194
|
);
|
173
|
-
|
195
|
+
|
196
|
+
const onExecutionContextOptionChange = async (
|
174
197
|
option: ExecutionContextOption,
|
175
|
-
): void => {
|
198
|
+
): Promise<void> => {
|
176
199
|
if (option.value === queryBuilderState.executionContext) {
|
177
200
|
return;
|
178
201
|
}
|
202
|
+
const currentMapping =
|
203
|
+
queryBuilderState.executionContext.mapping.value.path;
|
179
204
|
queryBuilderState.setExecutionContext(option.value);
|
180
|
-
queryBuilderState.propagateExecutionContextChange(
|
205
|
+
await queryBuilderState.propagateExecutionContextChange(
|
206
|
+
currentMapping === option.value.mapping.value.path,
|
207
|
+
);
|
181
208
|
queryBuilderState.onExecutionContextChange?.(option.value);
|
182
209
|
};
|
183
210
|
|
211
|
+
const handleExecutionContextOptionChange = (
|
212
|
+
option: ExecutionContextOption,
|
213
|
+
): void => {
|
214
|
+
flowResult(onExecutionContextOptionChange(option));
|
215
|
+
};
|
216
|
+
|
184
217
|
// runtime
|
185
|
-
const runtimeOptions =
|
186
|
-
queryBuilderState.executionContext.mapping.value,
|
187
|
-
queryBuilderState.graphManagerState.usableRuntimes,
|
188
|
-
)
|
218
|
+
const runtimeOptions = resolveExecutionContextRuntimes(queryBuilderState)
|
189
219
|
.map(
|
190
220
|
(rt) =>
|
191
221
|
new RuntimePointer(PackageableElementExplicitReference.create(rt)),
|
@@ -220,6 +250,7 @@ const DataSpaceQueryBuilderSetupPanelContent = observer(
|
|
220
250
|
queryBuilderState.dataSpace,
|
221
251
|
queryBuilderState.executionContext.mapping.value,
|
222
252
|
queryBuilderState.graphManagerState,
|
253
|
+
queryBuilderState,
|
223
254
|
);
|
224
255
|
|
225
256
|
useEffect(() => {
|
@@ -373,7 +404,7 @@ const DataSpaceQueryBuilderSetupPanelContent = observer(
|
|
373
404
|
(executionContextOptions.length === 1 &&
|
374
405
|
Boolean(selectedExecutionContextOption))
|
375
406
|
}
|
376
|
-
onChange={
|
407
|
+
onChange={handleExecutionContextOptionChange}
|
377
408
|
value={selectedExecutionContextOption}
|
378
409
|
darkMode={
|
379
410
|
!applicationStore.layoutService
|
@@ -70,7 +70,7 @@ const DataSpaceTemplateQueryDialog = observer(
|
|
70
70
|
executionContext.name !== queryBuilderState.executionContext.name
|
71
71
|
) {
|
72
72
|
queryBuilderState.setExecutionContext(executionContext);
|
73
|
-
queryBuilderState.propagateExecutionContextChange(
|
73
|
+
await queryBuilderState.propagateExecutionContextChange();
|
74
74
|
queryBuilderState.initializeWithQuery(query);
|
75
75
|
queryBuilderState.onExecutionContextChange?.(executionContext);
|
76
76
|
} else {
|
@@ -39,3 +39,7 @@ export * from '../stores/shared/DataSpaceInfo.js';
|
|
39
39
|
export * from '../stores/query-builder/DataSpaceQueryBuilderState.js';
|
40
40
|
|
41
41
|
export { observe_DataSpace } from '../graph-manager/action/changeDetection/DSL_DataSpace_ObserverHelper.js';
|
42
|
+
export {
|
43
|
+
V1_DataSpaceExecutionContext,
|
44
|
+
V1_DataSpace,
|
45
|
+
} from '../graph-manager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.js';
|
@@ -19,8 +19,10 @@ import {
|
|
19
19
|
type PureProtocolProcessorPlugin,
|
20
20
|
AbstractPureGraphManagerExtension,
|
21
21
|
type QueryInfo,
|
22
|
+
type PureModel,
|
23
|
+
type GraphManagerOperationReport,
|
22
24
|
} from '@finos/legend-graph';
|
23
|
-
import type { Entity } from '@finos/legend-storage';
|
25
|
+
import type { Entity, ProjectGAVCoordinates } from '@finos/legend-storage';
|
24
26
|
import {
|
25
27
|
guaranteeNonNullable,
|
26
28
|
type ActionState,
|
@@ -42,6 +44,22 @@ export abstract class DSL_DataSpace_PureGraphManagerExtension extends AbstractPu
|
|
42
44
|
actionState?: ActionState,
|
43
45
|
): Promise<DataSpaceAnalysisResult | undefined>;
|
44
46
|
|
47
|
+
abstract analyzeDataSpaceCoverage(
|
48
|
+
dataSpacePath: string,
|
49
|
+
entitiesRetriever: () => Promise<Entity[]>,
|
50
|
+
entitiesWithClassifierRetriever: () => Promise<
|
51
|
+
[PlainObject<Entity>[], PlainObject<Entity>[]]
|
52
|
+
>,
|
53
|
+
cacheRetriever?: () => Promise<PlainObject<DataSpaceAnalysisResult>>,
|
54
|
+
actionState?: ActionState,
|
55
|
+
graphReport?: GraphManagerOperationReport | undefined,
|
56
|
+
pureGraph?: PureModel | undefined,
|
57
|
+
executionContext?: string | undefined,
|
58
|
+
mappingPath?: string | undefined,
|
59
|
+
projectInfo?: ProjectGAVCoordinates,
|
60
|
+
templateQueryId?: string,
|
61
|
+
): Promise<DataSpaceAnalysisResult>;
|
62
|
+
|
45
63
|
abstract addNewExecutableToDataSpaceEntity(
|
46
64
|
dataSpaceEntity: Entity,
|
47
65
|
currentQuery: QueryInfo,
|