@finos/legend-extension-dsl-data-space 10.4.1 → 10.4.3
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 +3 -4
- 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 +6 -20
- 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 +0 -1
- package/lib/graph-manager/index.d.ts.map +1 -1
- package/lib/graph-manager/index.js +0 -1
- package/lib/graph-manager/index.js.map +1 -1
- package/lib/graph-manager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.d.ts +2 -6
- 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 +3 -15
- 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 +48 -185
- 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 +11 -5
- package/lib/stores/query-builder/DataSpaceQueryBuilderState.d.ts.map +1 -1
- package/lib/stores/query-builder/DataSpaceQueryBuilderState.js +30 -19
- package/lib/stores/query-builder/DataSpaceQueryBuilderState.js.map +1 -1
- package/package.json +8 -8
- package/src/components/DSL_DataSpace_LegendApplicationPlugin.tsx +8 -6
- package/src/components/query-builder/DataSpaceQueryBuilder.tsx +9 -40
- package/src/components/query-builder/DataSpaceQueryBuilderTemplateQueryPanelContent.tsx +1 -1
- package/src/graph-manager/index.ts +0 -4
- package/src/graph-manager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.ts +1 -19
- package/src/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.ts +79 -359
- package/src/stores/query-builder/DataSpaceQueryBuilderState.ts +40 -32
@@ -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,EACvB,cAAc,GACf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAGL,UAAU,EACV,sBAAsB,GACvB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAEL,WAAW,EACX,iBAAiB,EACjB,YAAY,EACZ,qBAAqB,GACtB,MAAM,sBAAsB,CAAC;AAC9B,OAAO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,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.4.
|
3
|
+
"version": "10.4.3",
|
4
4
|
"description": "Legend extension for Data Space DSL",
|
5
5
|
"keywords": [
|
6
6
|
"legend",
|
@@ -43,13 +43,13 @@
|
|
43
43
|
"test:watch": "jest --watch"
|
44
44
|
},
|
45
45
|
"dependencies": {
|
46
|
-
"@finos/legend-application": "16.0.
|
47
|
-
"@finos/legend-art": "7.1.
|
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.
|
46
|
+
"@finos/legend-application": "16.0.8",
|
47
|
+
"@finos/legend-art": "7.1.66",
|
48
|
+
"@finos/legend-code-editor": "2.0.13",
|
49
|
+
"@finos/legend-extension-dsl-diagram": "8.1.28",
|
50
|
+
"@finos/legend-graph": "31.10.47",
|
51
|
+
"@finos/legend-lego": "2.0.15",
|
52
|
+
"@finos/legend-query-builder": "4.15.12",
|
53
53
|
"@finos/legend-server-depot": "6.0.66",
|
54
54
|
"@finos/legend-server-sdlc": "5.3.35",
|
55
55
|
"@finos/legend-shared": "10.0.59",
|
@@ -15,11 +15,11 @@
|
|
15
15
|
*/
|
16
16
|
|
17
17
|
import {
|
18
|
+
LegendApplicationPlugin,
|
18
19
|
type LegendApplicationSetup,
|
19
20
|
type LegendApplicationPluginManager,
|
20
|
-
type KeyedCommandConfigEntry,
|
21
21
|
collectKeyedCommandConfigEntriesFromConfig,
|
22
|
-
|
22
|
+
type KeyedCommandConfigEntry,
|
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 {
|
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: (
|
179
179
|
templateQuery: CuratedTemplateQuery,
|
180
180
|
queryBuilderState: QueryBuilderState,
|
181
|
-
):
|
181
|
+
): void => {
|
182
182
|
if (queryBuilderState instanceof DataSpaceQueryBuilderState) {
|
183
183
|
if (
|
184
184
|
queryBuilderState.executionContext.name !==
|
@@ -190,7 +190,9 @@ export class DSL_DataSpace_LegendApplicationPlugin
|
|
190
190
|
);
|
191
191
|
if (executionContext) {
|
192
192
|
queryBuilderState.setExecutionContext(executionContext);
|
193
|
-
|
193
|
+
queryBuilderState.propagateExecutionContextChange(
|
194
|
+
executionContext,
|
195
|
+
);
|
194
196
|
queryBuilderState.initializeWithQuery(templateQuery.query);
|
195
197
|
queryBuilderState.onExecutionContextChange?.(executionContext);
|
196
198
|
}
|
@@ -45,7 +45,6 @@ import {
|
|
45
45
|
} from '@finos/legend-query-builder';
|
46
46
|
import {
|
47
47
|
type Runtime,
|
48
|
-
type PackageableRuntime,
|
49
48
|
getMappingCompatibleRuntimes,
|
50
49
|
PackageableElementExplicitReference,
|
51
50
|
RuntimePointer,
|
@@ -90,25 +89,6 @@ export const formatDataSpaceOptionLabel = (
|
|
90
89
|
</div>
|
91
90
|
);
|
92
91
|
|
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
|
-
|
112
92
|
export type ExecutionContextOption = {
|
113
93
|
label: string;
|
114
94
|
value: DataSpaceExecutionContext;
|
@@ -172,9 +152,7 @@ const DataSpaceQueryBuilderSetupPanelContent = observer(
|
|
172
152
|
},
|
173
153
|
};
|
174
154
|
const onDataSpaceOptionChange = (option: DataSpaceOption): void => {
|
175
|
-
queryBuilderState
|
176
|
-
.onDataSpaceChange(option.value)
|
177
|
-
.catch(queryBuilderState.applicationStore.alertUnhandledError);
|
155
|
+
queryBuilderState.onDataSpaceChange(option.value);
|
178
156
|
};
|
179
157
|
|
180
158
|
const openDataSpaceAdvancedSearch = (): void => {
|
@@ -192,30 +170,22 @@ const DataSpaceQueryBuilderSetupPanelContent = observer(
|
|
192
170
|
const selectedExecutionContextOption = buildExecutionContextOption(
|
193
171
|
queryBuilderState.executionContext,
|
194
172
|
);
|
195
|
-
|
196
|
-
const onExecutionContextOptionChange = async (
|
173
|
+
const onExecutionContextOptionChange = (
|
197
174
|
option: ExecutionContextOption,
|
198
|
-
):
|
175
|
+
): void => {
|
199
176
|
if (option.value === queryBuilderState.executionContext) {
|
200
177
|
return;
|
201
178
|
}
|
202
|
-
const currentMapping =
|
203
|
-
queryBuilderState.executionContext.mapping.value.path;
|
204
179
|
queryBuilderState.setExecutionContext(option.value);
|
205
|
-
|
206
|
-
currentMapping === option.value.mapping.value.path,
|
207
|
-
);
|
180
|
+
queryBuilderState.propagateExecutionContextChange(option.value);
|
208
181
|
queryBuilderState.onExecutionContextChange?.(option.value);
|
209
182
|
};
|
210
183
|
|
211
|
-
const handleExecutionContextOptionChange = (
|
212
|
-
option: ExecutionContextOption,
|
213
|
-
): void => {
|
214
|
-
flowResult(onExecutionContextOptionChange(option));
|
215
|
-
};
|
216
|
-
|
217
184
|
// runtime
|
218
|
-
const runtimeOptions =
|
185
|
+
const runtimeOptions = getMappingCompatibleRuntimes(
|
186
|
+
queryBuilderState.executionContext.mapping.value,
|
187
|
+
queryBuilderState.graphManagerState.usableRuntimes,
|
188
|
+
)
|
219
189
|
.map(
|
220
190
|
(rt) =>
|
221
191
|
new RuntimePointer(PackageableElementExplicitReference.create(rt)),
|
@@ -250,7 +220,6 @@ const DataSpaceQueryBuilderSetupPanelContent = observer(
|
|
250
220
|
queryBuilderState.dataSpace,
|
251
221
|
queryBuilderState.executionContext.mapping.value,
|
252
222
|
queryBuilderState.graphManagerState,
|
253
|
-
queryBuilderState,
|
254
223
|
);
|
255
224
|
|
256
225
|
useEffect(() => {
|
@@ -404,7 +373,7 @@ const DataSpaceQueryBuilderSetupPanelContent = observer(
|
|
404
373
|
(executionContextOptions.length === 1 &&
|
405
374
|
Boolean(selectedExecutionContextOption))
|
406
375
|
}
|
407
|
-
onChange={
|
376
|
+
onChange={onExecutionContextOptionChange}
|
408
377
|
value={selectedExecutionContextOption}
|
409
378
|
darkMode={
|
410
379
|
!applicationStore.layoutService
|
@@ -70,7 +70,7 @@ const DataSpaceTemplateQueryDialog = observer(
|
|
70
70
|
executionContext.name !== queryBuilderState.executionContext.name
|
71
71
|
) {
|
72
72
|
queryBuilderState.setExecutionContext(executionContext);
|
73
|
-
|
73
|
+
queryBuilderState.propagateExecutionContextChange(executionContext);
|
74
74
|
queryBuilderState.initializeWithQuery(query);
|
75
75
|
queryBuilderState.onExecutionContextChange?.(executionContext);
|
76
76
|
} else {
|
@@ -39,7 +39,3 @@ 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,10 +19,8 @@ import {
|
|
19
19
|
type PureProtocolProcessorPlugin,
|
20
20
|
AbstractPureGraphManagerExtension,
|
21
21
|
type QueryInfo,
|
22
|
-
type PureModel,
|
23
|
-
type GraphManagerOperationReport,
|
24
22
|
} from '@finos/legend-graph';
|
25
|
-
import type { Entity
|
23
|
+
import type { Entity } from '@finos/legend-storage';
|
26
24
|
import {
|
27
25
|
guaranteeNonNullable,
|
28
26
|
type ActionState,
|
@@ -44,22 +42,6 @@ export abstract class DSL_DataSpace_PureGraphManagerExtension extends AbstractPu
|
|
44
42
|
actionState?: ActionState,
|
45
43
|
): Promise<DataSpaceAnalysisResult | undefined>;
|
46
44
|
|
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
|
-
|
63
45
|
abstract addNewExecutableToDataSpaceEntity(
|
64
46
|
dataSpaceEntity: Entity,
|
65
47
|
currentQuery: QueryInfo,
|