@finos/legend-application-query 13.4.20 → 13.5.0
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/__lib__/DSL_DataSpace_LegendQueryNavigation.d.ts +1 -1
- package/lib/__lib__/DSL_DataSpace_LegendQueryNavigation.d.ts.map +1 -1
- package/lib/__lib__/DSL_DataSpace_LegendQueryNavigation.js +4 -4
- package/lib/__lib__/DSL_DataSpace_LegendQueryNavigation.js.map +1 -1
- package/lib/__lib__/LegendQueryNavigation.d.ts +1 -0
- package/lib/__lib__/LegendQueryNavigation.d.ts.map +1 -1
- package/lib/__lib__/LegendQueryNavigation.js +1 -0
- package/lib/__lib__/LegendQueryNavigation.js.map +1 -1
- package/lib/components/Core_LegendQueryApplicationPlugin.d.ts.map +1 -1
- package/lib/components/Core_LegendQueryApplicationPlugin.js +20 -11
- package/lib/components/Core_LegendQueryApplicationPlugin.js.map +1 -1
- package/lib/components/LegendQueryWebApplication.d.ts.map +1 -1
- package/lib/components/LegendQueryWebApplication.js +15 -14
- package/lib/components/LegendQueryWebApplication.js.map +1 -1
- package/lib/components/QueryEditor.d.ts.map +1 -1
- package/lib/components/QueryEditor.js +2 -1
- package/lib/components/QueryEditor.js.map +1 -1
- package/lib/components/data-space/DataSpaceQueryCreator.d.ts.map +1 -1
- package/lib/components/data-space/DataSpaceQueryCreator.js +25 -8
- package/lib/components/data-space/DataSpaceQueryCreator.js.map +1 -1
- package/lib/components/data-space/DataSpaceQuerySetup.d.ts +0 -3
- package/lib/components/data-space/DataSpaceQuerySetup.d.ts.map +1 -1
- package/lib/components/data-space/DataSpaceQuerySetup.js +2 -12
- package/lib/components/data-space/DataSpaceQuerySetup.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/index.d.ts +2 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +2 -1
- package/lib/index.js.map +1 -1
- package/lib/package.json +4 -3
- package/lib/stores/QueryEditorStore.d.ts +3 -4
- package/lib/stores/QueryEditorStore.d.ts.map +1 -1
- package/lib/stores/QueryEditorStore.js +54 -62
- package/lib/stores/QueryEditorStore.js.map +1 -1
- package/lib/stores/data-space/DataSpaceQueryBuilderHelper.d.ts +23 -0
- package/lib/stores/data-space/DataSpaceQueryBuilderHelper.d.ts.map +1 -0
- package/lib/stores/data-space/DataSpaceQueryBuilderHelper.js +39 -0
- package/lib/stores/data-space/DataSpaceQueryBuilderHelper.js.map +1 -0
- package/lib/stores/data-space/DataSpaceQueryCreatorStore.d.ts +35 -12
- package/lib/stores/data-space/DataSpaceQueryCreatorStore.d.ts.map +1 -1
- package/lib/stores/data-space/DataSpaceQueryCreatorStore.js +189 -86
- package/lib/stores/data-space/DataSpaceQueryCreatorStore.js.map +1 -1
- package/lib/stores/data-space/DataSpaceQuerySetupState.d.ts +3 -20
- package/lib/stores/data-space/DataSpaceQuerySetupState.d.ts.map +1 -1
- package/lib/stores/data-space/DataSpaceQuerySetupState.js +8 -81
- package/lib/stores/data-space/DataSpaceQuerySetupState.js.map +1 -1
- package/lib/stores/data-space/DataSpaceTemplateQueryCreatorStore.d.ts.map +1 -1
- package/lib/stores/data-space/DataSpaceTemplateQueryCreatorStore.js +8 -8
- package/lib/stores/data-space/DataSpaceTemplateQueryCreatorStore.js.map +1 -1
- package/package.json +14 -13
- package/src/__lib__/DSL_DataSpace_LegendQueryNavigation.ts +6 -4
- package/src/__lib__/LegendQueryNavigation.ts +1 -0
- package/src/components/Core_LegendQueryApplicationPlugin.tsx +25 -17
- package/src/components/LegendQueryWebApplication.tsx +30 -27
- package/src/components/QueryEditor.tsx +2 -1
- package/src/components/data-space/DataSpaceQueryCreator.tsx +36 -18
- package/src/components/data-space/DataSpaceQuerySetup.tsx +2 -36
- package/src/index.ts +4 -2
- package/src/stores/QueryEditorStore.ts +109 -157
- package/src/stores/data-space/DataSpaceQueryBuilderHelper.ts +107 -0
- package/src/stores/data-space/DataSpaceQueryCreatorStore.ts +302 -173
- package/src/stores/data-space/DataSpaceQuerySetupState.ts +8 -156
- package/src/stores/data-space/DataSpaceTemplateQueryCreatorStore.ts +11 -19
- package/tsconfig.json +1 -0
@@ -15,106 +15,203 @@
|
|
15
15
|
*/
|
16
16
|
import { extractElementNameFromPath, RuntimePointer, PackageableElementExplicitReference, } from '@finos/legend-graph';
|
17
17
|
import { StoreProjectData, LATEST_VERSION_ALIAS, } from '@finos/legend-server-depot';
|
18
|
-
import { LogEvent, assertErrorThrown,
|
18
|
+
import { LogEvent, assertErrorThrown, assertTrue, guaranteeNonNullable, returnUndefOnError, uuid, } from '@finos/legend-shared';
|
19
19
|
import { QueryBuilderDataBrowserWorkflow, } from '@finos/legend-query-builder';
|
20
20
|
import { DSL_DataSpace_getGraphManagerExtension, getDataSpace, retrieveAnalyticsResultCache, } from '@finos/legend-extension-dsl-data-space/graph';
|
21
|
-
import { QueryBuilderActionConfig_QueryApplication, QueryEditorStore,
|
22
|
-
import {
|
23
|
-
import { generateDataSpaceQueryCreatorRoute } from '../../__lib__/DSL_DataSpace_LegendQueryNavigation.js';
|
21
|
+
import { QueryBuilderActionConfig_QueryApplication, QueryEditorStore, } from '../QueryEditorStore.js';
|
22
|
+
import { DataSpaceQueryBuilderState, createQueryClassTaggedValue, } from '@finos/legend-extension-dsl-data-space/application';
|
24
23
|
import { LegendQueryUserDataHelper } from '../../__lib__/LegendQueryUserDataHelper.js';
|
25
24
|
import { createVisitedDataSpaceId, hasDataSpaceInfoBeenVisited, createSimpleVisitedDataspace, } from '../../__lib__/LegendQueryUserDataSpaceHelper.js';
|
26
25
|
import { LEGEND_QUERY_APP_EVENT } from '../../__lib__/LegendQueryEvent.js';
|
26
|
+
import { action, computed, flow, flowResult, makeObservable, observable, } from 'mobx';
|
27
|
+
import { DataSpaceQuerySetupState } from './DataSpaceQuerySetupState.js';
|
28
|
+
import { createDataSpaceDepoRepo, createViewProjectHandler, createViewSDLCProjectHandler, } from './DataSpaceQueryBuilderHelper.js';
|
27
29
|
export class DataSpaceQueryCreatorStore extends QueryEditorStore {
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
dataSpacePath;
|
32
|
-
executionContext;
|
33
|
-
runtimePath;
|
34
|
-
classPath;
|
35
|
-
constructor(applicationStore, depotServerClient, groupId, artifactId, versionId, dataSpacePath, executionContext, runtimePath, executionKey) {
|
30
|
+
queryableDataSpace;
|
31
|
+
dataSpaceCache;
|
32
|
+
constructor(applicationStore, depotServerClient, queryableDataSpace) {
|
36
33
|
super(applicationStore, depotServerClient);
|
37
|
-
this
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
34
|
+
makeObservable(this, {
|
35
|
+
changeDataSpace: flow,
|
36
|
+
dataSpaceCache: observable,
|
37
|
+
queryableDataSpace: observable,
|
38
|
+
setDataSpaceCache: action,
|
39
|
+
setQueryableDataSpace: action,
|
40
|
+
canPersistToSavedQuery: computed,
|
41
|
+
});
|
42
|
+
this.queryableDataSpace = queryableDataSpace;
|
43
|
+
}
|
44
|
+
get canPersistToSavedQuery() {
|
45
|
+
return Boolean(this.queryableDataSpace);
|
46
|
+
}
|
47
|
+
get isViewProjectActionDisabled() {
|
48
|
+
return !this.queryableDataSpace;
|
44
49
|
}
|
45
50
|
getProjectInfo() {
|
46
|
-
return
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
+
return this.queryableDataSpace;
|
52
|
+
}
|
53
|
+
setDataSpaceCache(val) {
|
54
|
+
this.dataSpaceCache = val;
|
55
|
+
}
|
56
|
+
setQueryableDataSpace(val) {
|
57
|
+
this.queryableDataSpace = val;
|
58
|
+
}
|
59
|
+
reConfigureWithDataSpaceInfo(info) {
|
60
|
+
if (info.groupId &&
|
61
|
+
info.artifactId &&
|
62
|
+
info.versionId &&
|
63
|
+
info.defaultExecutionContext) {
|
64
|
+
this.queryableDataSpace = {
|
65
|
+
groupId: info.groupId,
|
66
|
+
artifactId: info.artifactId,
|
67
|
+
versionId: LATEST_VERSION_ALIAS,
|
68
|
+
dataSpacePath: info.path,
|
69
|
+
executionContext: info.defaultExecutionContext,
|
70
|
+
};
|
71
|
+
return true;
|
72
|
+
}
|
73
|
+
return false;
|
74
|
+
}
|
75
|
+
*initialize() {
|
76
|
+
if (!this.queryableDataSpace) {
|
77
|
+
const hydrated = (yield flowResult(this.redirectIfPossible()));
|
78
|
+
if (hydrated) {
|
79
|
+
this.setQueryableDataSpace({
|
80
|
+
groupId: hydrated.visited.groupId,
|
81
|
+
artifactId: hydrated.visited.artifactId,
|
82
|
+
versionId: hydrated.visited.versionId ?? LATEST_VERSION_ALIAS,
|
83
|
+
dataSpacePath: hydrated.visited.path,
|
84
|
+
executionContext: hydrated.entity.content
|
85
|
+
.defaultExecutionContext,
|
86
|
+
});
|
87
|
+
}
|
88
|
+
}
|
89
|
+
super.initialize();
|
51
90
|
}
|
52
91
|
async initializeQueryBuilderState() {
|
53
|
-
|
54
|
-
|
92
|
+
if (this.queryableDataSpace) {
|
93
|
+
return this.initializeQueryBuilderStateWithQueryableDataSpace(this.queryableDataSpace);
|
94
|
+
}
|
95
|
+
else {
|
96
|
+
const queryBuilderState = new DataSpaceQuerySetupState(this, this.applicationStore, this.graphManagerState, this.depotServerClient, (dataSpaceInfo) => {
|
97
|
+
if (dataSpaceInfo.defaultExecutionContext) {
|
98
|
+
this.changeDataSpace(dataSpaceInfo);
|
99
|
+
}
|
100
|
+
else {
|
101
|
+
this.applicationStore.notificationService.notifyWarning(`Can't switch data space: default execution context not specified`);
|
102
|
+
}
|
103
|
+
}, createViewProjectHandler(this.applicationStore), createViewSDLCProjectHandler(this.applicationStore, this.depotServerClient), this.applicationStore.config.options.queryBuilderConfig);
|
104
|
+
if (this.dataSpaceCache?.length) {
|
105
|
+
queryBuilderState.configureDataSpaceOptions(this.dataSpaceCache);
|
106
|
+
}
|
107
|
+
return queryBuilderState;
|
108
|
+
}
|
109
|
+
}
|
110
|
+
async redirectIfPossible() {
|
111
|
+
const visitedQueries = LegendQueryUserDataHelper.getRecentlyVisitedDataSpaces(this.applicationStore.userDataService);
|
112
|
+
let redirect = undefined;
|
113
|
+
for (let i = 0; i < visitedQueries.length; i++) {
|
114
|
+
const visited = visitedQueries[i];
|
115
|
+
if (visited) {
|
116
|
+
const hydrated = await this.hyrdateVisitedDataSpace(visited);
|
117
|
+
if (hydrated) {
|
118
|
+
redirect = hydrated;
|
119
|
+
break;
|
120
|
+
}
|
121
|
+
}
|
122
|
+
}
|
123
|
+
return redirect;
|
124
|
+
}
|
125
|
+
async hyrdateVisitedDataSpace(visited) {
|
126
|
+
try {
|
127
|
+
const entity = (await this.depotServerClient.getVersionEntity(visited.groupId, visited.artifactId, visited.versionId ?? LATEST_VERSION_ALIAS, visited.path));
|
128
|
+
const content = entity.content;
|
129
|
+
if (visited.execContext) {
|
130
|
+
const found = content.executionContexts.find((e) => e.name === visited.execContext);
|
131
|
+
if (!found) {
|
132
|
+
visited.execContext = undefined;
|
133
|
+
return {
|
134
|
+
visited,
|
135
|
+
entity,
|
136
|
+
};
|
137
|
+
}
|
138
|
+
}
|
139
|
+
return {
|
140
|
+
visited,
|
141
|
+
entity,
|
142
|
+
};
|
143
|
+
}
|
144
|
+
catch (error) {
|
145
|
+
assertErrorThrown(error);
|
146
|
+
LegendQueryUserDataHelper.removeRecentlyViewedDataSpace(this.applicationStore.userDataService, visited.id);
|
147
|
+
}
|
148
|
+
return undefined;
|
149
|
+
}
|
150
|
+
async initializeQueryBuilderStateWithQueryableDataSpace(queryableDataSpace) {
|
151
|
+
const dataSpace = getDataSpace(queryableDataSpace.dataSpacePath, this.graphManagerState.graph);
|
152
|
+
const executionContext = guaranteeNonNullable(dataSpace.executionContexts.find((context) => context.name === queryableDataSpace.executionContext), `Can't find execution context '${queryableDataSpace.executionContext}'`);
|
55
153
|
let dataSpaceAnalysisResult;
|
56
154
|
try {
|
57
|
-
const project = StoreProjectData.serialization.fromJson(await this.depotServerClient.getProject(
|
58
|
-
dataSpaceAnalysisResult = await DSL_DataSpace_getGraphManagerExtension(this.graphManagerState.graphManager).retrieveDataSpaceAnalysisFromCache(() => retrieveAnalyticsResultCache(project,
|
155
|
+
const project = StoreProjectData.serialization.fromJson(await this.depotServerClient.getProject(queryableDataSpace.groupId, queryableDataSpace.artifactId));
|
156
|
+
dataSpaceAnalysisResult = await DSL_DataSpace_getGraphManagerExtension(this.graphManagerState.graphManager).retrieveDataSpaceAnalysisFromCache(() => retrieveAnalyticsResultCache(project, queryableDataSpace.versionId, dataSpace.path, this.depotServerClient));
|
59
157
|
}
|
60
158
|
catch {
|
61
159
|
// do nothing
|
62
160
|
}
|
63
|
-
const projectInfo = new DataSpaceProjectInfo(this.groupId, this.artifactId, this.versionId, createViewProjectHandler(this.applicationStore), createViewSDLCProjectHandler(this.applicationStore, this.depotServerClient));
|
64
161
|
const sourceInfo = {
|
65
|
-
groupId:
|
66
|
-
artifactId:
|
67
|
-
versionId:
|
162
|
+
groupId: queryableDataSpace.groupId,
|
163
|
+
artifactId: queryableDataSpace.artifactId,
|
164
|
+
versionId: queryableDataSpace.versionId,
|
68
165
|
dataSpace: dataSpace.path,
|
69
166
|
};
|
70
167
|
const visitedDataSpaces = LegendQueryUserDataHelper.getRecentlyVisitedDataSpaces(this.applicationStore.userDataService);
|
71
|
-
const queryBuilderState = new DataSpaceQueryBuilderState(this.applicationStore, this.graphManagerState,
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
}, true, dataSpaceAnalysisResult, (ec) => {
|
80
|
-
// runtime should already be set
|
81
|
-
const runtimePointer = guaranteeType(queryBuilderState.executionContextState.runtimeValue, RuntimePointer);
|
82
|
-
this.applicationStore.navigationService.navigator.updateCurrentLocation(generateDataSpaceQueryCreatorRoute(this.groupId, this.artifactId, this.versionId, dataSpace.path, ec.name, runtimePointer.packageableRuntime.value ===
|
83
|
-
queryBuilderState.executionContext.defaultRuntime.value
|
84
|
-
? undefined
|
85
|
-
: runtimePointer.packageableRuntime.value.path, queryBuilderState.class?.path));
|
86
|
-
returnUndefOnError(() => LegendQueryUserDataHelper.updateVisitedDataSpaceExecContext(this.applicationStore.userDataService, this.groupId, this.artifactId, dataSpace.path, ec.name));
|
87
|
-
}, (runtimeValue) => {
|
88
|
-
const runtimePointer = guaranteeType(runtimeValue, RuntimePointer);
|
89
|
-
queryBuilderState.applicationStore.navigationService.navigator.updateCurrentLocation(generateDataSpaceQueryCreatorRoute(guaranteeNonNullable(queryBuilderState.projectInfo).groupId, guaranteeNonNullable(queryBuilderState.projectInfo).artifactId, guaranteeNonNullable(queryBuilderState.projectInfo).versionId, queryBuilderState.dataSpace.path, queryBuilderState.executionContext.name, runtimePointer.packageableRuntime.value ===
|
90
|
-
queryBuilderState.executionContext.defaultRuntime.value
|
91
|
-
? undefined
|
92
|
-
: runtimePointer.packageableRuntime.value.path, queryBuilderState.class?.path));
|
93
|
-
}, (_class) => {
|
94
|
-
// runtime should already be set
|
95
|
-
const runtimePointer = guaranteeType(queryBuilderState.executionContextState.runtimeValue, RuntimePointer);
|
96
|
-
queryBuilderState.applicationStore.navigationService.navigator.updateCurrentLocation(generateDataSpaceQueryCreatorRoute(guaranteeNonNullable(queryBuilderState.projectInfo).groupId, guaranteeNonNullable(queryBuilderState.projectInfo).artifactId, guaranteeNonNullable(queryBuilderState.projectInfo).versionId, queryBuilderState.dataSpace.path, queryBuilderState.executionContext.name, runtimePointer.packageableRuntime.value ===
|
97
|
-
queryBuilderState.executionContext.defaultRuntime.value
|
98
|
-
? undefined
|
99
|
-
: runtimePointer.packageableRuntime.value.path, _class.path));
|
100
|
-
}, projectInfo, this.applicationStore.config.options.queryBuilderConfig, sourceInfo, (dataSpaceInfo) => hasDataSpaceInfoBeenVisited(dataSpaceInfo, visitedDataSpaces));
|
168
|
+
const queryBuilderState = new DataSpaceQueryBuilderState(this.applicationStore, this.graphManagerState, QueryBuilderDataBrowserWorkflow.INSTANCE, new QueryBuilderActionConfig_QueryApplication(this), dataSpace, executionContext, createDataSpaceDepoRepo(this, queryableDataSpace.groupId, queryableDataSpace.artifactId, queryableDataSpace.versionId, (dataSpaceInfo) => hasDataSpaceInfoBeenVisited(dataSpaceInfo, visitedDataSpaces)), (dataSpaceInfo) => {
|
169
|
+
flowResult(this.changeDataSpace(dataSpaceInfo)).catch(this.applicationStore.alertUnhandledError);
|
170
|
+
}, dataSpaceAnalysisResult, (ec) => {
|
171
|
+
returnUndefOnError(() => LegendQueryUserDataHelper.updateVisitedDataSpaceExecContext(this.applicationStore.userDataService, queryableDataSpace.groupId, queryableDataSpace.artifactId, dataSpace.path, ec.name));
|
172
|
+
}, undefined, undefined, this.applicationStore.config.options.queryBuilderConfig, sourceInfo);
|
173
|
+
if (this.dataSpaceCache?.length) {
|
174
|
+
queryBuilderState.dataSpaceRepo.configureDataSpaceOptions(this.dataSpaceCache);
|
175
|
+
}
|
101
176
|
queryBuilderState.setExecutionContext(executionContext);
|
102
177
|
queryBuilderState.propagateExecutionContextChange(executionContext);
|
103
178
|
// set runtime if already chosen
|
104
|
-
if (
|
105
|
-
queryBuilderState.changeRuntime(new RuntimePointer(PackageableElementExplicitReference.create(this.graphManagerState.graph.getRuntime(
|
179
|
+
if (queryableDataSpace.runtimePath) {
|
180
|
+
queryBuilderState.changeRuntime(new RuntimePointer(PackageableElementExplicitReference.create(this.graphManagerState.graph.getRuntime(queryableDataSpace.runtimePath))));
|
106
181
|
}
|
107
182
|
// set class if already chosen
|
108
|
-
if (
|
109
|
-
queryBuilderState.changeClass(this.graphManagerState.graph.getClass(
|
183
|
+
if (queryableDataSpace.classPath) {
|
184
|
+
queryBuilderState.changeClass(this.graphManagerState.graph.getClass(queryableDataSpace.classPath));
|
110
185
|
}
|
111
186
|
// add to visited dataspaces
|
112
|
-
this.addVisitedDataSpace(
|
187
|
+
this.addVisitedDataSpace(queryableDataSpace);
|
113
188
|
return queryBuilderState;
|
114
189
|
}
|
115
|
-
|
190
|
+
*changeDataSpace(val) {
|
116
191
|
try {
|
117
|
-
|
192
|
+
assertTrue(this.reConfigureWithDataSpaceInfo(val), 'Dataspace selected does not contain valid inputs, groupId, artifactId, and version');
|
193
|
+
this.initState.inProgress();
|
194
|
+
if (this.queryBuilderState instanceof DataSpaceQueryBuilderState &&
|
195
|
+
this.queryBuilderState.dataSpaceRepo.dataSpaces?.length) {
|
196
|
+
this.setDataSpaceCache(this.queryBuilderState.dataSpaceRepo.dataSpaces);
|
197
|
+
}
|
198
|
+
this.graphManagerState.resetGraph();
|
199
|
+
yield flowResult(this.buildGraph());
|
200
|
+
this.queryBuilderState =
|
201
|
+
(yield this.initializeQueryBuilderState());
|
202
|
+
this.queryLoaderState.initialize(this.queryBuilderState);
|
203
|
+
this.initState.pass();
|
204
|
+
}
|
205
|
+
catch (error) {
|
206
|
+
assertErrorThrown(error);
|
207
|
+
this.applicationStore.notificationService.notify(`Unable to change dataspace: ${error.message}`);
|
208
|
+
this.onInitializeFailure();
|
209
|
+
this.initState.fail();
|
210
|
+
}
|
211
|
+
}
|
212
|
+
addVisitedDataSpace(queryableDataSpace) {
|
213
|
+
try {
|
214
|
+
LegendQueryUserDataHelper.addVisitedDatspace(this.applicationStore.userDataService, createSimpleVisitedDataspace(queryableDataSpace.groupId, queryableDataSpace.artifactId, queryableDataSpace.versionId, queryableDataSpace.dataSpacePath, queryableDataSpace.executionContext));
|
118
215
|
}
|
119
216
|
catch (error) {
|
120
217
|
assertErrorThrown(error);
|
@@ -122,25 +219,31 @@ export class DataSpaceQueryCreatorStore extends QueryEditorStore {
|
|
122
219
|
}
|
123
220
|
}
|
124
221
|
getPersistConfiguration(lambda, options) {
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
:
|
129
|
-
|
130
|
-
|
131
|
-
query
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
query.
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
222
|
+
const queryableDataSpace = this.queryableDataSpace;
|
223
|
+
if (queryableDataSpace) {
|
224
|
+
return {
|
225
|
+
defaultName: options?.update
|
226
|
+
? `${extractElementNameFromPath(queryableDataSpace.dataSpacePath)}`
|
227
|
+
: `New Query for ${extractElementNameFromPath(queryableDataSpace.dataSpacePath)}[${queryableDataSpace.executionContext}]`,
|
228
|
+
decorator: (query) => {
|
229
|
+
query.id = uuid();
|
230
|
+
query.groupId = queryableDataSpace.groupId;
|
231
|
+
query.artifactId = queryableDataSpace.artifactId;
|
232
|
+
query.versionId = queryableDataSpace.versionId;
|
233
|
+
if (this.queryBuilderState?.class) {
|
234
|
+
query.taggedValues = [
|
235
|
+
createQueryClassTaggedValue(this.queryBuilderState.class.path),
|
236
|
+
];
|
237
|
+
}
|
238
|
+
},
|
239
|
+
};
|
240
|
+
}
|
241
|
+
return undefined;
|
141
242
|
}
|
142
243
|
onInitializeFailure() {
|
143
|
-
|
244
|
+
if (this.queryableDataSpace) {
|
245
|
+
LegendQueryUserDataHelper.removeRecentlyViewedDataSpace(this.applicationStore.userDataService, createVisitedDataSpaceId(this.queryableDataSpace.groupId, this.queryableDataSpace.artifactId, this.queryableDataSpace.dataSpacePath));
|
246
|
+
}
|
144
247
|
}
|
145
248
|
}
|
146
249
|
//# sourceMappingURL=DataSpaceQueryCreatorStore.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DataSpaceQueryCreatorStore.js","sourceRoot":"","sources":["../../../src/stores/data-space/DataSpaceQueryCreatorStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,0BAA0B,EAC1B,cAAc,EACd,mCAAmC,
|
1
|
+
{"version":3,"file":"DataSpaceQueryCreatorStore.js","sourceRoot":"","sources":["../../../src/stores/data-space/DataSpaceQueryCreatorStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,0BAA0B,EAC1B,cAAc,EACd,mCAAmC,GAEpC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,gBAAgB,EAChB,oBAAoB,GACrB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,QAAQ,EACR,iBAAiB,EACjB,UAA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kBAAkB,CAAC,gBACrB,GAAG;gBACP,SAAS,EAAE,CAAC,KAAY,EAAQ,EAAE;oBAChC,KAAK,CAAC,EAAE,GAAG,IAAI,EAAE,CAAC;oBAClB,KAAK,CAAC,OAAO,GAAG,kBAAkB,CAAC,OAAO,CAAC;oBAC3C,KAAK,CAAC,UAAU,GAAG,kBAAkB,CAAC,UAAU,CAAC;oBACjD,KAAK,CAAC,SAAS,GAAG,kBAAkB,CAAC,SAAS,CAAC;oBAC/C,IAAI,IAAI,CAAC,iBAAiB,EAAE,KAAK,EAAE,CAAC;wBAClC,KAAK,CAAC,YAAY,GAAG;4BACnB,2BAA2B,CAAC,IAAI,CAAC,iBAAiB,CAAC,KAAK,CAAC,IAAI,CAAC;yBAC/D,CAAC;oBACJ,CAAC;gBACH,CAAC;aACF,CAAC;QACJ,CAAC;QACD,OAAO,SAAS,CAAC;IACnB,CAAC;IAEQ,mBAAmB;QAC1B,IAAI,IAAI,CAAC,kBAAkB,EAAE,CAAC;YAC5B,yBAAyB,CAAC,6BAA6B,CACrD,IAAI,CAAC,gBAAgB,CAAC,eAAe,EACrC,wBAAwB,CACtB,IAAI,CAAC,kBAAkB,CAAC,OAAO,EAC/B,IAAI,CAAC,kBAAkB,CAAC,UAAU,EAClC,IAAI,CAAC,kBAAkB,CAAC,aAAa,CACtC,CACF,CAAC;QACJ,CAAC;IACH,CAAC;CACF"}
|
@@ -14,19 +14,13 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
import { type DepotServerClient } from '@finos/legend-server-depot';
|
17
|
-
import type { GraphManagerState
|
17
|
+
import type { GraphManagerState } from '@finos/legend-graph';
|
18
18
|
import { type GenericLegendApplicationStore } from '@finos/legend-application';
|
19
19
|
import { type QueryBuilderConfig, QueryBuilderState } from '@finos/legend-query-builder';
|
20
|
-
import type { Entity, ProjectGAVCoordinates } from '@finos/legend-storage';
|
21
20
|
import { ActionState, type GeneratorFn } from '@finos/legend-shared';
|
22
21
|
import { type DataSpaceInfo } from '@finos/legend-extension-dsl-data-space/application';
|
23
|
-
import {
|
22
|
+
import { type QueryEditorStore } from '../QueryEditorStore.js';
|
24
23
|
import { DataSpaceAdvancedSearchState } from '@finos/legend-extension-dsl-data-space/application-query';
|
25
|
-
import type { VisitedDataspace } from '../../__lib__/LegendQueryUserDataSpaceHelper.js';
|
26
|
-
type DataSpaceVisitedEntity = {
|
27
|
-
visited: VisitedDataspace;
|
28
|
-
entity: Entity;
|
29
|
-
};
|
30
24
|
export declare class DataSpaceQuerySetupState extends QueryBuilderState {
|
31
25
|
editorStore: QueryEditorStore;
|
32
26
|
readonly depotServerClient: DepotServerClient;
|
@@ -41,20 +35,9 @@ export declare class DataSpaceQuerySetupState extends QueryBuilderState {
|
|
41
35
|
constructor(editorStore: QueryEditorStore, applicationStore: GenericLegendApplicationStore, graphManagerState: GraphManagerState, depotServerClient: DepotServerClient, onDataSpaceChange: (val: DataSpaceInfo) => void, viewProject: (groupId: string, artifactId: string, versionId: string, entityPath: string | undefined) => void, viewSDLCProject: (groupId: string, artifactId: string, entityPath: string | undefined) => Promise<void>, config: QueryBuilderConfig | undefined);
|
42
36
|
get isResultPanelHidden(): boolean;
|
43
37
|
get sideBarClassName(): string | undefined;
|
38
|
+
configureDataSpaceOptions(val: DataSpaceInfo[]): void;
|
44
39
|
showAdvancedSearchPanel(): void;
|
45
40
|
hideAdvancedSearchPanel(): void;
|
46
41
|
initializeDataSpaceSetup(): GeneratorFn<void>;
|
47
|
-
redirectIfPossible(): GeneratorFn<DataSpaceVisitedEntity | undefined>;
|
48
|
-
hyrdateVisitedDataSpace(visited: VisitedDataspace): GeneratorFn<DataSpaceVisitedEntity | undefined>;
|
49
42
|
}
|
50
|
-
export declare class DataSpaceQuerySetupStore extends QueryEditorStore {
|
51
|
-
get isViewProjectActionDisabled(): boolean;
|
52
|
-
getProjectInfo(): ProjectGAVCoordinates;
|
53
|
-
getPersistConfiguration(lambda: RawLambda, options?: {
|
54
|
-
update?: boolean | undefined;
|
55
|
-
}): QueryPersistConfiguration;
|
56
|
-
initializeQueryBuilderState(): Promise<QueryBuilderState>;
|
57
|
-
buildGraph(): GeneratorFn<void>;
|
58
|
-
}
|
59
|
-
export {};
|
60
43
|
//# sourceMappingURL=DataSpaceQuerySetupState.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DataSpaceQuerySetupState.d.ts","sourceRoot":"","sources":["../../../src/stores/data-space/DataSpaceQuerySetupState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,
|
1
|
+
{"version":3,"file":"DataSpaceQuerySetupState.d.ts","sourceRoot":"","sources":["../../../src/stores/data-space/DataSpaceQuerySetupState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,KAAK,iBAAiB,EAEvB,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EAAE,KAAK,6BAA6B,EAAE,MAAM,2BAA2B,CAAC;AAE/E,OAAO,EACL,KAAK,kBAAkB,EACvB,iBAAiB,EAElB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,WAAW,EAEX,KAAK,WAAW,EACjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAEL,KAAK,aAAa,EACnB,MAAM,oDAAoD,CAAC;AAE5D,OAAO,EAEL,KAAK,gBAAgB,EACtB,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAE,4BAA4B,EAAE,MAAM,0DAA0D,CAAC;AAExG,qBAAa,wBAAyB,SAAQ,iBAAiB;IAC7D,WAAW,EAAE,gBAAgB,CAAC;IAC9B,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IAC9C,QAAQ,CAAC,mBAAmB,cAAwB;IACpD,QAAQ,CAAC,iBAAiB,EAAE,CAAC,GAAG,EAAE,aAAa,KAAK,IAAI,CAAC;IACzD,QAAQ,CAAC,W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
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import { DepotScope,
|
16
|
+
import { DepotScope, } from '@finos/legend-server-depot';
|
17
17
|
import {} from '@finos/legend-application';
|
18
|
-
import { action, flow,
|
18
|
+
import { action, flow, makeObservable, observable } from 'mobx';
|
19
19
|
import { QueryBuilderState, QueryBuilderDataBrowserWorkflow, } from '@finos/legend-query-builder';
|
20
|
-
import { ActionState, assertErrorThrown,
|
20
|
+
import { ActionState, assertErrorThrown, } from '@finos/legend-shared';
|
21
21
|
import { extractDataSpaceInfo, } from '@finos/legend-extension-dsl-data-space/application';
|
22
22
|
import { DATA_SPACE_ELEMENT_CLASSIFIER_PATH } from '@finos/legend-extension-dsl-data-space/graph';
|
23
|
-
import { QueryBuilderActionConfig_QueryApplication,
|
24
|
-
import { generateDataSpaceQueryCreatorRoute } from '../../__lib__/DSL_DataSpace_LegendQueryNavigation.js';
|
23
|
+
import { QueryBuilderActionConfig_QueryApplication, } from '../QueryEditorStore.js';
|
25
24
|
import { renderDataSpaceQuerySetupSetupPanelContent } from '../../components/data-space/DataSpaceQuerySetup.js';
|
26
25
|
import { DataSpaceAdvancedSearchState } from '@finos/legend-extension-dsl-data-space/application-query';
|
27
|
-
import { LegendQueryUserDataHelper } from '../../__lib__/LegendQueryUserDataHelper.js';
|
28
26
|
export class DataSpaceQuerySetupState extends QueryBuilderState {
|
29
27
|
editorStore;
|
30
28
|
depotServerClient;
|
@@ -41,11 +39,10 @@ export class DataSpaceQuerySetupState extends QueryBuilderState {
|
|
41
39
|
makeObservable(this, {
|
42
40
|
dataSpaces: observable,
|
43
41
|
advancedSearchState: observable,
|
42
|
+
configureDataSpaceOptions: action,
|
44
43
|
showAdvancedSearchPanel: action,
|
45
44
|
hideAdvancedSearchPanel: action,
|
46
45
|
initializeDataSpaceSetup: flow,
|
47
|
-
redirectIfPossible: flow,
|
48
|
-
hyrdateVisitedDataSpace: flow,
|
49
46
|
});
|
50
47
|
this.editorStore = editorStore;
|
51
48
|
this.workflowState.updateActionConfig(new QueryBuilderActionConfig_QueryApplication(editorStore));
|
@@ -60,6 +57,9 @@ export class DataSpaceQuerySetupState extends QueryBuilderState {
|
|
60
57
|
get sideBarClassName() {
|
61
58
|
return 'query-builder__setup__data-space-setup';
|
62
59
|
}
|
60
|
+
configureDataSpaceOptions(val) {
|
61
|
+
this.dataSpaces = val;
|
62
|
+
}
|
63
63
|
showAdvancedSearchPanel() {
|
64
64
|
this.advancedSearchState = new DataSpaceAdvancedSearchState(this.applicationStore, this.graphManagerState, this.depotServerClient, {
|
65
65
|
viewProject: this.viewProject,
|
@@ -72,13 +72,6 @@ export class DataSpaceQuerySetupState extends QueryBuilderState {
|
|
72
72
|
*initializeDataSpaceSetup() {
|
73
73
|
this.loadDataSpacesState.inProgress();
|
74
74
|
try {
|
75
|
-
const hydrated = (yield flowResult(this.redirectIfPossible()));
|
76
|
-
if (hydrated) {
|
77
|
-
this.applicationStore.navigationService.navigator.goToLocation(generateDataSpaceQueryCreatorRoute(guaranteeNonNullable(hydrated.visited.groupId), guaranteeNonNullable(hydrated.visited.artifactId), hydrated.visited.versionId ?? LATEST_VERSION_ALIAS, hydrated.visited.path, hydrated.visited.execContext ??
|
78
|
-
hydrated.entity.content.defaultExecutionContext, undefined, undefined));
|
79
|
-
this.loadDataSpacesState.complete();
|
80
|
-
return;
|
81
|
-
}
|
82
75
|
this.dataSpaces = (yield this.depotServerClient.getEntitiesByClassifier(DATA_SPACE_ELEMENT_CLASSIFIER_PATH, {
|
83
76
|
scope: DepotScope.RELEASES,
|
84
77
|
})).map((storedEntity) => extractDataSpaceInfo(storedEntity, false));
|
@@ -90,71 +83,5 @@ export class DataSpaceQuerySetupState extends QueryBuilderState {
|
|
90
83
|
this.applicationStore.notificationService.notifyError(error);
|
91
84
|
}
|
92
85
|
}
|
93
|
-
*redirectIfPossible() {
|
94
|
-
const visitedQueries = LegendQueryUserDataHelper.getRecentlyVisitedDataSpaces(this.applicationStore.userDataService);
|
95
|
-
let redirect = undefined;
|
96
|
-
for (let i = 0; i < visitedQueries.length; i++) {
|
97
|
-
const visited = visitedQueries[i];
|
98
|
-
if (visited) {
|
99
|
-
const hydrated = (yield flowResult(this.hyrdateVisitedDataSpace(visited)));
|
100
|
-
if (hydrated) {
|
101
|
-
redirect = hydrated;
|
102
|
-
break;
|
103
|
-
}
|
104
|
-
}
|
105
|
-
}
|
106
|
-
return redirect;
|
107
|
-
}
|
108
|
-
*hyrdateVisitedDataSpace(visited) {
|
109
|
-
try {
|
110
|
-
const entity = (yield this.depotServerClient.getVersionEntity(visited.groupId, visited.artifactId, visited.versionId ?? LATEST_VERSION_ALIAS, visited.path));
|
111
|
-
const content = entity.content;
|
112
|
-
if (visited.execContext) {
|
113
|
-
const found = content.executionContexts.find((e) => e.name === visited.execContext);
|
114
|
-
if (!found) {
|
115
|
-
visited.execContext = undefined;
|
116
|
-
return {
|
117
|
-
visited,
|
118
|
-
entity,
|
119
|
-
};
|
120
|
-
}
|
121
|
-
}
|
122
|
-
return {
|
123
|
-
visited,
|
124
|
-
entity,
|
125
|
-
};
|
126
|
-
}
|
127
|
-
catch (error) {
|
128
|
-
assertErrorThrown(error);
|
129
|
-
LegendQueryUserDataHelper.removeRecentlyViewedDataSpace(this.applicationStore.userDataService, visited.id);
|
130
|
-
}
|
131
|
-
return undefined;
|
132
|
-
}
|
133
|
-
}
|
134
|
-
export class DataSpaceQuerySetupStore extends QueryEditorStore {
|
135
|
-
get isViewProjectActionDisabled() {
|
136
|
-
return true;
|
137
|
-
}
|
138
|
-
getProjectInfo() {
|
139
|
-
throw new UnsupportedOperationError();
|
140
|
-
}
|
141
|
-
getPersistConfiguration(lambda, options) {
|
142
|
-
throw new UnsupportedOperationError();
|
143
|
-
}
|
144
|
-
async initializeQueryBuilderState() {
|
145
|
-
const queryBuilderState = new DataSpaceQuerySetupState(this, this.applicationStore, this.graphManagerState, this.depotServerClient, (dataSpaceInfo) => {
|
146
|
-
if (dataSpaceInfo.defaultExecutionContext) {
|
147
|
-
this.applicationStore.navigationService.navigator.goToLocation(generateDataSpaceQueryCreatorRoute(guaranteeNonNullable(dataSpaceInfo.groupId), guaranteeNonNullable(dataSpaceInfo.artifactId), LATEST_VERSION_ALIAS, //always default to latest
|
148
|
-
dataSpaceInfo.path, dataSpaceInfo.defaultExecutionContext, undefined, undefined));
|
149
|
-
}
|
150
|
-
else {
|
151
|
-
this.applicationStore.notificationService.notifyWarning(`Can't switch data space: default execution context not specified`);
|
152
|
-
}
|
153
|
-
}, createViewProjectHandler(this.applicationStore), createViewSDLCProjectHandler(this.applicationStore, this.depotServerClient), this.applicationStore.config.options.queryBuilderConfig);
|
154
|
-
return queryBuilderState;
|
155
|
-
}
|
156
|
-
*buildGraph() {
|
157
|
-
// do nothing
|
158
|
-
}
|
159
86
|
}
|
160
87
|
//# sourceMappingURL=DataSpaceQuerySetupState.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DataSpaceQuerySetupState.js","sourceRoot":"","sources":["../../../src/stores/data-space/DataSpaceQuerySetupState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,UAAU,
|
1
|
+
{"version":3,"file":"DataSpaceQuerySetupState.js","sourceRoot":"","sources":["../../../src/stores/data-space/DataSpaceQuerySetupState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,UAAU,GAGX,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAsC,MAAM,2BAA2B,CAAC;AAC/E,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAChE,OAAO,EAEL,iBAAiB,EACjB,+BAA+B,GAChC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,WAAW,EACX,iBAAiB,GAElB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,oBAAoB,GAErB,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EAAE,kCAAk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ataSpaceTemplateQueryCreatorStore.d.ts","sourceRoot":"","sources":["../../../src/stores/data-space/DataSpaceTemplateQueryCreatorStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,KAAK,SAAS,EACf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,iBAAiB,EAEvB,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EACL,KAAK,iBAAiB,EAEvB,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AACnE,OAAO,EAEL,gBAAgB,
|
1
|
+
{"version":3,"file":"DataSpaceTemplateQueryCreatorStore.d.ts","sourceRoot":"","sources":["../../../src/stores/data-space/DataSpaceTemplateQueryCreatorStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,KAAK,SAAS,EACf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,iBAAiB,EAEvB,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EACL,KAAK,iBAAiB,EAEvB,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AACnE,OAAO,EAEL,gBAAgB,EAChB,KAAK,yBAAyB,EAC/B,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,4BAA4B,CAAC;AAc9E,qBAAa,kCAAmC,SAAQ,gBAAgB;IACtE,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IACjC,kBAAkB,CAAC,EAAE,MAAM,CAAC;gBAG1B,gBAAgB,EAAE,2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