@finos/legend-extension-dsl-data-space 10.3.86 → 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
@@ -13,14 +13,15 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import { PureModel, V1_PureGraphManager, PureClientVersion, CoreModel, SystemModel, V1_Mapping, resolvePackagePathAndElementName, V1_PureModelContextType, V1_PackageableRuntime, V1_EngineRuntime, V1_Class, GRAPH_MANAGER_EVENT, V1_buildDatasetSpecification, V1_buildModelCoverageAnalysisResult, V1_deserializePackageableElement, QueryDataSpaceExecutionContextInfo, V1_RemoteEngine, } from '@finos/legend-graph';
|
16
|
+
import { PureModel, V1_PureGraphManager, PureClientVersion, CoreModel, SystemModel, V1_Mapping, resolvePackagePathAndElementName, V1_PureModelContextType, V1_PackageableRuntime, V1_EngineRuntime, V1_Class, GRAPH_MANAGER_EVENT, V1_buildDatasetSpecification, V1_buildModelCoverageAnalysisResult, V1_deserializePackageableElement, QueryDataSpaceExecutionContextInfo, V1_RemoteEngine, LegendSDLC, PackageableElementPointerType, V1_PackageableElementPointer, V1_ConcreteFunctionDefinition, V1_buildFunctionInfoAnalysis, } from '@finos/legend-graph';
|
17
17
|
import { ActionState, assertErrorThrown, filterByType, guaranteeNonEmptyString, guaranteeNonNullable, guaranteeType, isNonNullable, LogEvent, uniq, } from '@finos/legend-shared';
|
18
18
|
import { DataSpaceSupportCombinedInfo, DataSpaceSupportEmail, } from '../../../../graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js';
|
19
|
-
import { V1_DataSpace, V1_DataSpaceSupportCombinedInfo, V1_DataSpaceSupportEmail, V1_DataSpaceTemplateExecutable, } from '../../../../graph-manager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.js';
|
19
|
+
import { V1_DataSpace, V1_DataSpaceExecutionContext, V1_DataSpaceSupportCombinedInfo, V1_DataSpaceSupportEmail, V1_DataSpaceTemplateExecutable, } from '../../../../graph-manager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.js';
|
20
20
|
import { DataSpaceAnalysisResult, DataSpaceDiagramAnalysisResult, NormalizedDataSpaceDocumentationEntry, DataSpaceExecutableAnalysisResult, DataSpaceExecutableTDSResultColumn, DataSpaceExecutableTDSResult, DataSpaceExecutionContextAnalysisResult, DataSpaceServiceExecutableInfo, DataSpaceStereotypeInfo, DataSpaceTaggedValueInfo, DataSpaceClassDocumentationEntry, DataSpacePropertyDocumentationEntry, DataSpaceEnumerationDocumentationEntry, DataSpaceBasicDocumentationEntry, DataSpaceAssociationDocumentationEntry, DataSpaceMultiExecutionServiceExecutableInfo, DataSpaceMultiExecutionServiceKeyedExecutableInfo, DataSpaceTemplateExecutableInfo, DataSpaceFunctionPointerExecutableInfo, DataSpaceExecutionContextRuntimeMetadata, } from '../../../action/analytics/DataSpaceAnalysis.js';
|
21
21
|
import { DSL_DataSpace_PureGraphManagerExtension } from '../DSL_DataSpace_PureGraphManagerExtension.js';
|
22
22
|
import { V1_DataSpaceAssociationDocumentationEntry, V1_DataSpaceClassDocumentationEntry, V1_DataSpaceEnumerationDocumentationEntry, V1_DataSpaceExecutableTDSResult, V1_DataSpaceServiceExecutableInfo, V1_deserializeDataSpaceAnalysisResult, V1_DataSpaceMultiExecutionServiceExecutableInfo, V1_DataSpaceTemplateExecutableInfo, V1_DataSpaceFunctionPointerExecutableInfo, } from './engine/analytics/V1_DataSpaceAnalysis.js';
|
23
23
|
import { getDiagram } from '@finos/legend-extension-dsl-diagram/graph';
|
24
|
+
import { resolveVersion } from '@finos/legend-server-depot';
|
24
25
|
const ANALYZE_DATA_SPACE_TRACE = 'analyze data space';
|
25
26
|
const TEMPORARY__TDS_SAMPLE_VALUES__DELIMETER = '-- e.g.';
|
26
27
|
export class V1_DSL_DataSpace_PureGraphManagerExtension extends DSL_DataSpace_PureGraphManagerExtension {
|
@@ -89,6 +90,52 @@ export class V1_DSL_DataSpace_PureGraphManagerExtension extends DSL_DataSpace_Pu
|
|
89
90
|
}
|
90
91
|
return this.buildDataSpaceAnalytics(analysisResult, this.graphManager.pluginManager.getPureProtocolProcessorPlugins());
|
91
92
|
}
|
93
|
+
retrieveExecutionContextFromTemplateQueryId(dataSpaceAnalysisResult, templateQueryId, plugins) {
|
94
|
+
const analysisResult = V1_deserializeDataSpaceAnalysisResult(dataSpaceAnalysisResult, plugins);
|
95
|
+
let execContext = undefined;
|
96
|
+
const info = analysisResult.executables.find((ex) => ex.info?.id === templateQueryId)?.info;
|
97
|
+
if (info) {
|
98
|
+
execContext =
|
99
|
+
info.executionContextKey ?? analysisResult.defaultExecutionContext;
|
100
|
+
}
|
101
|
+
return execContext;
|
102
|
+
}
|
103
|
+
async analyzeDataSpaceCoverage(dataSpacePath, entitiesRetriever, entitiesWithClassifierRetriever, cacheRetriever, actionState, graphReport, pureGraph, executionContext, mappingPath, projectInfo, templateQueryId) {
|
104
|
+
const cacheResult = cacheRetriever
|
105
|
+
? await this.fetchDataSpaceAnalysisFromCache(cacheRetriever, actionState)
|
106
|
+
: undefined;
|
107
|
+
const engineClient = guaranteeType(this.graphManager.engine, V1_RemoteEngine, 'analyzeDataSpaceCoverage is only supported by remote engine').getEngineServerClient();
|
108
|
+
let analysisResult;
|
109
|
+
let cachedAnalysisResult;
|
110
|
+
if (cacheResult) {
|
111
|
+
cachedAnalysisResult = V1_deserializeDataSpaceAnalysisResult(cacheResult, this.graphManager.pluginManager.getPureProtocolProcessorPlugins());
|
112
|
+
}
|
113
|
+
if (cacheResult &&
|
114
|
+
cachedAnalysisResult?.executionContexts.every((e) => e.mappingModelCoverageAnalysisResult?.model !== undefined ||
|
115
|
+
cachedAnalysisResult.mappingToMappingCoverageResult?.get(e.mapping)
|
116
|
+
?.model !== undefined)) {
|
117
|
+
analysisResult = cacheResult;
|
118
|
+
}
|
119
|
+
else {
|
120
|
+
actionState?.setMessage('Fetching project entities and dependencies...');
|
121
|
+
const entities = await entitiesRetriever();
|
122
|
+
actionState?.setMessage('Analyzing data space...');
|
123
|
+
analysisResult = await engineClient.postWithTracing(engineClient.getTraceData(ANALYZE_DATA_SPACE_TRACE), `${engineClient._pure()}/analytics/dataSpace/coverage`, {
|
124
|
+
clientVersion: V1_PureGraphManager.DEV_PROTOCOL_VERSION,
|
125
|
+
dataSpace: dataSpacePath,
|
126
|
+
model: {
|
127
|
+
_type: V1_PureModelContextType.DATA,
|
128
|
+
elements: entities.map((entity) => entity.content),
|
129
|
+
},
|
130
|
+
}, {}, undefined, undefined, { enableCompression: true });
|
131
|
+
}
|
132
|
+
const plugins = this.graphManager.pluginManager.getPureProtocolProcessorPlugins();
|
133
|
+
return this.buildDataSpaceAnalytics(analysisResult, plugins, graphReport, pureGraph, executionContext
|
134
|
+
? executionContext
|
135
|
+
: templateQueryId
|
136
|
+
? this.retrieveExecutionContextFromTemplateQueryId(analysisResult, templateQueryId, plugins)
|
137
|
+
: undefined, mappingPath, projectInfo, entitiesWithClassifierRetriever);
|
138
|
+
}
|
92
139
|
async retrieveDataSpaceAnalysisFromCache(cacheRetriever, actionState) {
|
93
140
|
const cacheResult = await this.fetchDataSpaceAnalysisFromCache(cacheRetriever, actionState);
|
94
141
|
return cacheResult
|
@@ -107,8 +154,31 @@ export class V1_DSL_DataSpace_PureGraphManagerExtension extends DSL_DataSpace_Pu
|
|
107
154
|
}
|
108
155
|
return cacheResult;
|
109
156
|
}
|
110
|
-
|
111
|
-
|
157
|
+
// build function analysis info by fetching functions within this project from metadata when building minimal graph
|
158
|
+
async processFunctionForMinimalGraph(entitiesWithClassifierRetriever, graph, dataSpaceAnalysisResult, plugins) {
|
159
|
+
const [functionEntities, dependencyFunctionEntities] = await entitiesWithClassifierRetriever();
|
160
|
+
const functionProtocols = functionEntities.map((func) => guaranteeType(V1_deserializePackageableElement(func.entity.content, plugins), V1_ConcreteFunctionDefinition));
|
161
|
+
const dependencyFunctionProtocols = dependencyFunctionEntities.map((func) => guaranteeType(V1_deserializePackageableElement(func.entity.content, plugins), V1_ConcreteFunctionDefinition));
|
162
|
+
const functionInfos = V1_buildFunctionInfoAnalysis(functionProtocols, graph);
|
163
|
+
const dependencyFunctionInfos = V1_buildFunctionInfoAnalysis(dependencyFunctionProtocols, graph);
|
164
|
+
if (functionInfos.length > 0) {
|
165
|
+
const functionInfoMap = new Map();
|
166
|
+
functionInfos.forEach((funcInfo) => {
|
167
|
+
functionInfoMap.set(funcInfo.functionPath, funcInfo);
|
168
|
+
});
|
169
|
+
dataSpaceAnalysisResult.functionInfos = functionInfoMap;
|
170
|
+
}
|
171
|
+
if (dependencyFunctionInfos.length > 0) {
|
172
|
+
const dependencyFunctionInfoMap = new Map();
|
173
|
+
functionInfos.forEach((funcInfo) => {
|
174
|
+
dependencyFunctionInfoMap.set(funcInfo.functionPath, funcInfo);
|
175
|
+
});
|
176
|
+
dataSpaceAnalysisResult.dependencyFunctionInfos =
|
177
|
+
dependencyFunctionInfoMap;
|
178
|
+
}
|
179
|
+
}
|
180
|
+
async buildDataSpaceAnalytics(analytics, plugins, graphReport, pureGraph, executionContext, mappingPath, projectInfo, entitiesWithClassifierRetriever) {
|
181
|
+
const analysisResult = V1_deserializeDataSpaceAnalysisResult(analytics, plugins);
|
112
182
|
const result = new DataSpaceAnalysisResult();
|
113
183
|
result.name = analysisResult.name;
|
114
184
|
result.package = analysisResult.package;
|
@@ -148,12 +218,21 @@ export class V1_DSL_DataSpace_PureGraphManagerExtension extends DSL_DataSpace_Pu
|
|
148
218
|
}
|
149
219
|
// NOTE: we will relax the check and not throw here for unknown support info type
|
150
220
|
}
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
221
|
+
let graphEntities;
|
222
|
+
let graph;
|
223
|
+
let minialGraph = false;
|
224
|
+
if (pureGraph) {
|
225
|
+
graph = pureGraph;
|
226
|
+
}
|
227
|
+
else {
|
228
|
+
// create an empty graph
|
229
|
+
const extensionElementClasses = this.graphManager.pluginManager.getPureGraphPlugins();
|
230
|
+
const systemModel = new SystemModel(extensionElementClasses);
|
231
|
+
const coreModel = new CoreModel(extensionElementClasses);
|
232
|
+
await this.graphManager.buildSystem(coreModel, systemModel, ActionState.create(), {});
|
233
|
+
systemModel.initializeAutoImports();
|
234
|
+
graph = new PureModel(coreModel, systemModel, this.graphManager.pluginManager.getPureGraphPlugins());
|
235
|
+
}
|
157
236
|
// Create dummy mappings and runtimes
|
158
237
|
// TODO?: these stubbed mappings and runtimes are not really useful that useful, so either we should
|
159
238
|
// simplify the model here or potentially refactor the backend analytics endpoint to return these as model
|
@@ -174,47 +253,105 @@ export class V1_DSL_DataSpace_PureGraphManagerExtension extends DSL_DataSpace_Pu
|
|
174
253
|
runtime.runtimeValue = new V1_EngineRuntime();
|
175
254
|
return runtime;
|
176
255
|
});
|
177
|
-
//
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
256
|
+
// The DataSpace entity is excluded from AnalyticsResult.Json to reduce the JSON size
|
257
|
+
// because all its information can be found in V1_DataSpaceAnalysisResult.
|
258
|
+
// Therefore, we are building a simple v1_DataSpace entity based on V1_DataSpaceAnalysisResult.
|
259
|
+
const dataspaceEntity = new V1_DataSpace();
|
260
|
+
dataspaceEntity.name = analysisResult.name;
|
261
|
+
dataspaceEntity.package = analysisResult.package;
|
262
|
+
dataspaceEntity.supportInfo = analysisResult.supportInfo;
|
263
|
+
dataspaceEntity.executionContexts = analysisResult.executionContexts.map((execContext) => {
|
264
|
+
const contextProtocol = new V1_DataSpaceExecutionContext();
|
265
|
+
contextProtocol.name = execContext.name;
|
266
|
+
contextProtocol.title = execContext.title;
|
267
|
+
contextProtocol.description = execContext.description;
|
268
|
+
contextProtocol.mapping = new V1_PackageableElementPointer(PackageableElementPointerType.MAPPING, execContext.mapping);
|
269
|
+
contextProtocol.defaultRuntime = new V1_PackageableElementPointer(PackageableElementPointerType.RUNTIME, execContext.defaultRuntime);
|
270
|
+
return contextProtocol;
|
271
|
+
});
|
272
|
+
dataspaceEntity.defaultExecutionContext =
|
273
|
+
analysisResult.defaultExecutionContext;
|
274
|
+
dataspaceEntity.title = analysisResult.title;
|
275
|
+
dataspaceEntity.description = analysisResult.description;
|
276
|
+
const resolvedMappingPath = mappingPath ??
|
277
|
+
analysisResult.executionContexts.find((value) => value.name ===
|
278
|
+
(executionContext ?? analysisResult.defaultExecutionContext))?.mapping;
|
279
|
+
let pmcd;
|
280
|
+
if (resolvedMappingPath) {
|
281
|
+
const mappingModelCoverageAnalysisResult = analysisResult.mappingToMappingCoverageResult?.get(resolvedMappingPath);
|
282
|
+
pmcd = mappingModelCoverageAnalysisResult?.model;
|
283
|
+
}
|
284
|
+
if (pmcd && projectInfo) {
|
285
|
+
graphEntities = pmcd.elements
|
286
|
+
.concat(mappingModels)
|
287
|
+
.concat(runtimeModels)
|
288
|
+
.concat(dataspaceEntity)
|
289
|
+
// NOTE: if an element could be found in the graph already it means it comes from system
|
290
|
+
// so we could rid of it
|
291
|
+
.filter((el) => !graph.getNullableElement(el.path, false))
|
292
|
+
.map((el) => this.graphManager.elementProtocolToEntity(el));
|
293
|
+
await this.graphManager.buildGraph(graph, graphEntities, ActionState.create(), {
|
294
|
+
origin: new LegendSDLC(projectInfo.groupId, projectInfo.artifactId, resolveVersion(projectInfo.versionId)),
|
295
|
+
}, graphReport);
|
296
|
+
if (entitiesWithClassifierRetriever) {
|
297
|
+
try {
|
298
|
+
await this.processFunctionForMinimalGraph(entitiesWithClassifierRetriever, graph, result, plugins);
|
299
|
+
}
|
300
|
+
catch {
|
301
|
+
//do nothing
|
302
|
+
}
|
188
303
|
}
|
189
|
-
|
190
|
-
}
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
304
|
+
minialGraph = true;
|
305
|
+
}
|
306
|
+
else {
|
307
|
+
const elements = analysisResult.model.elements
|
308
|
+
// NOTE: this is a temporary hack to fix a problem with data space analytics
|
309
|
+
// where the classes for properties are not properly surveyed
|
310
|
+
// We need to wait for the actual fix in backend to be merged and released
|
311
|
+
// See https://github.com/finos/legend-engine/pull/836
|
312
|
+
.concat(uniq(analysisResult.model.elements.flatMap((element) => {
|
313
|
+
if (element instanceof V1_Class) {
|
314
|
+
return element.derivedProperties
|
315
|
+
.map((prop) => prop.returnType)
|
316
|
+
.concat(element.properties.map((prop) => prop.type));
|
317
|
+
}
|
318
|
+
return [];
|
319
|
+
}))
|
320
|
+
// make sure to not include types already returned by the analysis
|
321
|
+
.filter((path) => !analysisResult.model.elements
|
322
|
+
.map((el) => el.path)
|
323
|
+
.includes(path))
|
324
|
+
.map((path) => {
|
325
|
+
const [pkgPath, name] = resolvePackagePathAndElementName(path);
|
326
|
+
if (!pkgPath) {
|
327
|
+
// exclude package-less elements (i.e. primitive types)
|
328
|
+
return undefined;
|
329
|
+
}
|
330
|
+
const _class = new V1_Class();
|
331
|
+
_class.name = name;
|
332
|
+
_class.package = pkgPath;
|
333
|
+
return _class;
|
334
|
+
})
|
335
|
+
.filter(isNonNullable))
|
336
|
+
.concat(mappingModels)
|
337
|
+
.concat(runtimeModels);
|
338
|
+
const alreadyContainsDataspace = elements.find((e) => e.path === dataspaceEntity.path);
|
339
|
+
let allElements = elements;
|
340
|
+
if (!alreadyContainsDataspace) {
|
341
|
+
allElements = elements.concat(dataspaceEntity);
|
200
342
|
}
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
.
|
208
|
-
|
209
|
-
// NOTE: if an element could be found in the graph already it means it comes from system
|
210
|
-
// so we could rid of it
|
211
|
-
.filter((el) => !graph.getNullableElement(el.path, false))
|
212
|
-
.map((el) => this.graphManager.elementProtocolToEntity(el));
|
213
|
-
await this.graphManager.buildGraph(graph, graphEntities, ActionState.create());
|
343
|
+
// prepare the model context data
|
344
|
+
graphEntities = allElements
|
345
|
+
// NOTE: if an element could be found in the graph already it means it comes from system
|
346
|
+
// so we could rid of it
|
347
|
+
.filter((el) => !graph.getNullableElement(el.path, false))
|
348
|
+
.map((el) => this.graphManager.elementProtocolToEntity(el));
|
349
|
+
await this.graphManager.buildGraph(graph, graphEntities, ActionState.create());
|
350
|
+
}
|
214
351
|
const mappingToMappingCoverageResult = new Map();
|
215
352
|
if (analysisResult.mappingToMappingCoverageResult) {
|
216
353
|
Array.from(analysisResult.mappingToMappingCoverageResult).forEach(([key, value]) => {
|
217
|
-
mappingToMappingCoverageResult.set(key, V1_buildModelCoverageAnalysisResult(value, graph.getMapping(key)));
|
354
|
+
mappingToMappingCoverageResult.set(key, V1_buildModelCoverageAnalysisResult(value, this.graphManager, graph.getMapping(key)));
|
218
355
|
});
|
219
356
|
}
|
220
357
|
// execution context
|
@@ -241,7 +378,7 @@ export class V1_DSL_DataSpace_PureGraphManagerExtension extends DSL_DataSpace_Pu
|
|
241
378
|
}
|
242
379
|
// for handling deprecated mappingModelCoverageAnalysisResult
|
243
380
|
if (context.mappingModelCoverageAnalysisResult) {
|
244
|
-
mappingToMappingCoverageResult.set(context.mapping, V1_buildModelCoverageAnalysisResult(context.mappingModelCoverageAnalysisResult, contextAnalysisResult.mapping));
|
381
|
+
mappingToMappingCoverageResult.set(context.mapping, V1_buildModelCoverageAnalysisResult(context.mappingModelCoverageAnalysisResult, this.graphManager, contextAnalysisResult.mapping));
|
245
382
|
}
|
246
383
|
contextAnalysisResult.compatibleRuntimes = context.compatibleRuntimes.map((runtime) => graph.getRuntime(runtime));
|
247
384
|
contextAnalysisResult.datasets = context.datasets.map((dataset) => V1_buildDatasetSpecification(dataset, plugins));
|
@@ -307,7 +444,7 @@ export class V1_DSL_DataSpace_PureGraphManagerExtension extends DSL_DataSpace_Pu
|
|
307
444
|
return entries;
|
308
445
|
});
|
309
446
|
// diagrams
|
310
|
-
result.diagrams = analysisResult.diagrams.map((diagramProtocol) => {
|
447
|
+
result.diagrams = (minialGraph ? [] : analysisResult.diagrams).map((diagramProtocol) => {
|
311
448
|
const diagram = new DataSpaceDiagramAnalysisResult();
|
312
449
|
diagram.title = diagramProtocol.title;
|
313
450
|
diagram.description = diagramProtocol.description;
|
package/lib/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"V1_DSL_DataSpace_PureGraphManagerExtension.js","sourceRoot":"","sources":["../../../../../src/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAKL,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,SAAS,EACT,WAAW,EACX,UAAU,EACV,gCAAgC,EAChC,uBAAuB,EACvB,qBAAqB,EACrB,gBAAgB,EAChB,QAAQ,EACR,mBAAmB,EACnB,4BAA4B,EAC5B,mCAAmC,EACnC,gCAAgC,EAChC,kCAAkC,EAClC,eAAe,GAChB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAEL,WAAW,EACX,iBAAiB,EACjB,YAAY,EACZ,uBAAuB,EACvB,oBAAoB,EACpB,aAAa,EACb,aAAa,EACb,QAAQ,EACR,IAAI,GACL,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,4BAA4B,EAC5B,qBAAqB,GACtB,MAAM,iGAAiG,CAAC;AACzG,OAAO,EACL,YAAY,EACZ,+BA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AC,MAAM,CACnD;6BACA,IAAI,EAAE,CAAC;oBACZ,CAAC;oBACD,OAAO,MAAM,CAAC;gBAChB,CAAC,CACF,CAAC;gBACF,UAAU,CAAC,MAAM,GAAG,SAAS,CAAC;YAChC,CAAC;YACD,OAAO,UAAU,CAAC;QACpB,CAAC,CACF,CAAC;QAEF,MAAM,CAAC,8BAA8B,GAAG,8BAA8B,CAAC;QAEvE,OAAO,MAAM,CAAC;IAChB,CAAC;CACF"}
|
1
|
+
{"version":3,"file":"V1_DSL_DataSpace_PureGraphManagerExtension.js","sourceRoot":"","sources":["../../../../../src/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAOL,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,SAAS,EACT,WAAW,EACX,UAAU,EACV,gCAAgC,EAChC,uBAAuB,EACvB,qBAAqB,EACrB,gBAAgB,EAChB,QAAQ,EACR,mBAAmB,EACnB,4BAA4B,EAC5B,mCAAmC,EACnC,gCAAgC,EAChC,kCAAkC,EAClC,eAAe,EACf,UAAU,EACV,6BAA6B,EAC7B,4BAA4B,EAC5B,6BAA6B,EAC7B,4BAA4B,GAC7B,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAEL,WAAW,EACX,iBAAiB,EACjB,YAAY,EACZ,uBAAuB,EACvB,oBAAoB,EACpB,aAAa,EACb,aAAa,EACb,QAAQ,EACR,IAAI,GACL,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,4BAA4B,EAC5B,qBAAqB,GACtB,MAAM,iGAAiG,CAAC;AACzG,OAAO,EACL,YAAY,EACZ,4BAA4B,EAC5B,+BAA+B,EAC/B,wBAAwB,EACxB,8BAA8B,GAC/B,MAAM,8GAA8G,CAAC;AACtH,OAAO,EACL,uBAAuB,EACvB,8BAA8B,EAC9B,qCAAqC,EACrC,iCAAiC,EACjC,kCAAkC,EAClC,4BAA4B,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GAAG,SAAS,CAAC,IAAI,CAAC;oBAC7B,MAAM,CAAC,IAAI,GAAG,SAAS,CAAC,IAAI,CAAC;oBAC7B,MAAM,CAAC,cAAc,GAAG,SAAS,CAAC,cAAc,CAAC;oBACjD,MAAM,CAAC,aAAa,GAAG,SAAS,CAAC,aAAa,CAAC;oBAC/C,IACE,SAAS,CAAC,aAAa,EAAE,QAAQ,CAC/B,uCAAuC,CACxC,EACD,CAAC;wBACD,MAAM,CAAC,aAAa,GAAG,SAAS,CAAC,aAAa;6BAC3C,SAAS,CACR,CAAC,EACD,SAAS,CAAC,aAAa,CAAC,OAAO,CAC7B,uCAAuC,CACxC,CACF;6BACA,IAAI,EAAE,CAAC;wBACV,MAAM,CAAC,YAAY,GAAG,SAAS,CAAC,aAAa;6BAC1C,SAAS,CACR,SAAS,CAAC,aAAa,CAAC,OAAO,CAC7B,uCAAuC,CACxC,GAAG,uCAAuC,CAAC,MAAM,CACnD;6BACA,IAAI,EAAE,CAAC;oBACZ,CAAC;oBACD,OAAO,MAAM,CAAC;gBAChB,CAAC,CACF,CAAC;gBACF,UAAU,CAAC,MAAM,GAAG,SAAS,CAAC;YAChC,CAAC;YACD,OAAO,UAAU,CAAC;QACpB,CAAC,CACF,CAAC;QAEF,MAAM,CAAC,8BAA8B,GAAG,8BAA8B,CAAC;QAEvE,OAAO,MAAM,CAAC;IAChB,CAAC;CACF"}
|
package/lib/index.css
CHANGED
package/lib/package.json
CHANGED
@@ -23,7 +23,7 @@ import { DataSpaceAdvancedSearchState } from '../query/DataSpaceAdvancedSearchSt
|
|
23
23
|
import { type DataSpaceAnalysisResult, type DataSpaceExecutableAnalysisResult } from '../../graph-manager/action/analytics/DataSpaceAnalysis.js';
|
24
24
|
import { type DataSpaceInfo } from '../shared/DataSpaceInfo.js';
|
25
25
|
import type { ProjectGAVCoordinates } from '@finos/legend-storage';
|
26
|
-
export declare const resolveUsableDataSpaceClasses: (dataSpace: DataSpace, mapping: Mapping, graphManagerState: GraphManagerState) => Class[];
|
26
|
+
export declare const resolveUsableDataSpaceClasses: (dataSpace: DataSpace, mapping: Mapping, graphManagerState: GraphManagerState, queryBuilderState?: DataSpaceQueryBuilderState) => Class[];
|
27
27
|
export interface DataSpaceQuerySDLC extends QuerySDLC {
|
28
28
|
groupId: string;
|
29
29
|
artifactId: string;
|
@@ -63,7 +63,7 @@ export declare class DataSpacesDepotRepository extends DataSpacesBuilderRepoisto
|
|
63
63
|
loadDataSpaces(): GeneratorFn<void>;
|
64
64
|
}
|
65
65
|
export declare class DataSpaceQueryBuilderState extends QueryBuilderState {
|
66
|
-
readonly onDataSpaceChange: (val: DataSpaceInfo) => void
|
66
|
+
readonly onDataSpaceChange: (val: DataSpaceInfo) => Promise<void>;
|
67
67
|
readonly onExecutionContextChange?: ((val: DataSpaceExecutionContext) => void) | undefined;
|
68
68
|
readonly onRuntimeChange?: ((val: Runtime) => void) | undefined;
|
69
69
|
readonly onClassChange?: ((val: Class) => void) | undefined;
|
@@ -74,21 +74,15 @@ export declare class DataSpaceQueryBuilderState extends QueryBuilderState {
|
|
74
74
|
executionContext: DataSpaceExecutionContext;
|
75
75
|
showRuntimeSelector: boolean;
|
76
76
|
isTemplateQueryDialogOpen: boolean;
|
77
|
+
isLightGraphEnabled: boolean;
|
77
78
|
displayedTemplateQueries: DataSpaceExecutableAnalysisResult[] | undefined;
|
78
|
-
constructor(applicationStore: GenericLegendApplicationStore, graphManagerState: GraphManagerState, workflow: QueryBuilderWorkflowState, actionConfig: QueryBuilderActionConfig, dataSpace: DataSpace, executionContext: DataSpaceExecutionContext, dataSpaceRepo: DataSpacesBuilderRepoistory | undefined, onDataSpaceChange: (val: DataSpaceInfo) => void
|
79
|
+
constructor(applicationStore: GenericLegendApplicationStore, graphManagerState: GraphManagerState, workflow: QueryBuilderWorkflowState, actionConfig: QueryBuilderActionConfig, dataSpace: DataSpace, executionContext: DataSpaceExecutionContext, isLightGraphEnabled: boolean, dataSpaceRepo: DataSpacesBuilderRepoistory | undefined, onDataSpaceChange: (val: DataSpaceInfo) => Promise<void>, dataSpaceAnalysisResult?: DataSpaceAnalysisResult | undefined, onExecutionContextChange?: ((val: DataSpaceExecutionContext) => void) | undefined, onRuntimeChange?: ((val: Runtime) => void) | undefined, onClassChange?: ((val: Class) => void) | undefined, config?: QueryBuilderConfig | undefined, sourceInfo?: QuerySDLC | undefined);
|
79
80
|
get sideBarClassName(): string | undefined;
|
80
81
|
getQueryExecutionContext(): QueryExecutionContext;
|
81
82
|
setTemplateQueryDialogOpen(val: boolean): void;
|
82
83
|
setExecutionContext(val: DataSpaceExecutionContext): void;
|
83
84
|
setShowRuntimeSelector(val: boolean): void;
|
84
|
-
|
85
|
-
* Propagation after changing the execution context:
|
86
|
-
* - The mapping will be updated to the mapping of the execution context
|
87
|
-
* - The runtime will be updated to the default runtime of the execution context
|
88
|
-
* - If no class is chosen, try to choose a compatible class
|
89
|
-
* - If the chosen class is compatible with the new selected execution context mapping, do nothing, otherwise, try to choose a compatible class
|
90
|
-
*/
|
91
|
-
propagateExecutionContextChange(executionContext: DataSpaceExecutionContext): void;
|
85
|
+
setIsLightGraphEnabled(val: boolean): void;
|
92
86
|
buildFunctionAnalysisInfo(): QueryBuilderExtraFunctionAnalysisInfo | undefined;
|
93
87
|
intialize(): GeneratorFn<void>;
|
94
88
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DataSpaceQueryBuilderState.d.ts","sourceRoot":"","sources":["../../../src/stores/query-builder/DataSpaceQueryBuilderState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,KAAK,6BAA6B,EAAE,MAAM,2BAA2B,CAAC;AAC/E,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,SAAS,EACd,KAAK,yBAAyB,EAC9B,KAAK,wBAAwB,EAC7B,iBAAiB,EACjB,KAAK,qCAAqC,EAC3C,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,KAAK,KAAK,EACV,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,OAAO,EACZ,KAAK,OAAO,
|
1
|
+
{"version":3,"file":"DataSpaceQueryBuilderState.d.ts","sourceRoot":"","sources":["../../../src/stores/query-builder/DataSpaceQueryBuilderState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,KAAK,6BAA6B,EAAE,MAAM,2BAA2B,CAAC;AAC/E,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,SAAS,EACd,KAAK,yBAAyB,EAC9B,KAAK,wBAAwB,EAC7B,iBAAiB,EACjB,KAAK,qCAAqC,EAC3C,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,KAAK,KAAK,EACV,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,OAAO,EACZ,KAAK,OAAO,EAMb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,iBAAiB,EAIvB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,KAAK,WAAW,EAChB,WAAW,EAGZ,MAAM,sBAAsB,CAAC;AAG9B,OAAO,EAEL,KAAK,yBAAyB,EAC9B,SAAS,EACV,MAAM,2FAA2F,CAAC;AAEnG,OAAO,EAAE,4BAA4B,EAAE,MAAM,0CAA0C,CAAC;AACxF,OAAO,EACL,KAAK,uBAAuB,EAC5B,KAAK,iCAAiC,EAEvC,MAAM,2DAA2D,CAAC;AACnE,OAAO,EACL,KAAK,aAAa,EAEnB,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAiBnE,eAAO,MAAM,6BAA6B,cAC7B,SAAS,WACX,OAAO,qBACG,iBAAiB,sBAChB,0BAA0B,KAC7C,KAAK,EA2CP,CAAC;AAEF,MAAM,WAAW,kBAAmB,SAAQ,SAAS;IACnD,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAA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EAAE,CAAC,CAAC,GAAG,EAAE,KAAK,KAAK,IAAI,CAAC,GAAG,SAAS,EAClD,MAAM,CAAC,EAAE,kBAAkB,GAAG,SAAS,EACvC,UAAU,CAAC,EAAE,SAAS,GAAG,SAAS;IAiCpC,IAAa,gBAAgB,IAAI,MAAM,GAAG,SAAS,CAIlD;IAEQ,wBAAwB,IAAI,qBAAqB;IAO1D,0BAA0B,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAI9C,mBAAmB,CAAC,GAAG,EAAE,yBAAyB,GAAG,IAAI;IAIzD,sBAAsB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAI1C,sBAAsB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAIjC,yBAAyB,IAC9B,qCAAqC,GACrC,SAAS;IAwBZ,SAAS,IAAI,WAAW,CAAC,IAAI,CAAC;CAYhC"}
|
@@ -15,9 +15,9 @@
|
|
15
15
|
*/
|
16
16
|
import {} from '@finos/legend-application';
|
17
17
|
import { QueryBuilderState, } from '@finos/legend-query-builder';
|
18
|
-
import { getMappingCompatibleClasses, Package, QueryDataSpaceExecutionContext, elementBelongsToPackage,
|
18
|
+
import { getMappingCompatibleClasses, Package, QueryDataSpaceExecutionContext, elementBelongsToPackage, } from '@finos/legend-graph';
|
19
19
|
import { DepotScope, SNAPSHOT_VERSION_ALIAS, } from '@finos/legend-server-depot';
|
20
|
-
import { ActionState, assertErrorThrown, filterByType,
|
20
|
+
import { ActionState, assertErrorThrown, filterByType, } from '@finos/legend-shared';
|
21
21
|
import { action, flow, makeObservable, observable } from 'mobx';
|
22
22
|
import { renderDataSpaceQueryBuilderSetupPanelContent } from '../../components/query-builder/DataSpaceQueryBuilder.js';
|
23
23
|
import { DataSpace, } from '../../graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js';
|
@@ -36,8 +36,17 @@ const matchesDataElement = (_class, element) => {
|
|
36
36
|
}
|
37
37
|
return false;
|
38
38
|
};
|
39
|
-
export const resolveUsableDataSpaceClasses = (dataSpace, mapping, graphManagerState) => {
|
40
|
-
|
39
|
+
export const resolveUsableDataSpaceClasses = (dataSpace, mapping, graphManagerState, queryBuilderState) => {
|
40
|
+
let compatibleClasses = getMappingCompatibleClasses(mapping, graphManagerState.usableClasses);
|
41
|
+
const mappingModelCoverageAnalysisResult = queryBuilderState?.dataSpaceAnalysisResult?.mappingToMappingCoverageResult?.get(mapping.path);
|
42
|
+
if (
|
43
|
+
// This check is to make sure that we have `info` field present in `MappedEntity` which
|
44
|
+
// contains information about the mapped class path
|
45
|
+
mappingModelCoverageAnalysisResult?.mappedEntities.some((m) => m.info !== undefined)) {
|
46
|
+
const compatibleClassPaths = mappingModelCoverageAnalysisResult.mappedEntities.map((e) => e.info?.classPath);
|
47
|
+
const uniqueCompatibleClasses = compatibleClassPaths.filter((val, index) => compatibleClassPaths.indexOf(val) === index);
|
48
|
+
compatibleClasses = graphManagerState.graph.classes.filter((c) => uniqueCompatibleClasses.includes(c.path));
|
49
|
+
}
|
41
50
|
if (dataSpace.elements?.length) {
|
42
51
|
const elements = dataSpace.elements;
|
43
52
|
return compatibleClasses.filter((_class) => {
|
@@ -193,17 +202,20 @@ export class DataSpaceQueryBuilderState extends QueryBuilderState {
|
|
193
202
|
executionContext;
|
194
203
|
showRuntimeSelector = false;
|
195
204
|
isTemplateQueryDialogOpen = false;
|
205
|
+
isLightGraphEnabled;
|
196
206
|
displayedTemplateQueries;
|
197
|
-
constructor(applicationStore, graphManagerState, workflow, actionConfig, dataSpace, executionContext, dataSpaceRepo, onDataSpaceChange, dataSpaceAnalysisResult, onExecutionContextChange, onRuntimeChange, onClassChange, config, sourceInfo) {
|
207
|
+
constructor(applicationStore, graphManagerState, workflow, actionConfig, dataSpace, executionContext, isLightGraphEnabled, dataSpaceRepo, onDataSpaceChange, dataSpaceAnalysisResult, onExecutionContextChange, onRuntimeChange, onClassChange, config, sourceInfo) {
|
198
208
|
super(applicationStore, graphManagerState, workflow, config, sourceInfo);
|
199
209
|
makeObservable(this, {
|
200
210
|
executionContext: observable,
|
201
211
|
showRuntimeSelector: observable,
|
202
212
|
isTemplateQueryDialogOpen: observable,
|
213
|
+
isLightGraphEnabled: observable,
|
203
214
|
displayedTemplateQueries: observable,
|
204
215
|
setExecutionContext: action,
|
205
216
|
setShowRuntimeSelector: action,
|
206
217
|
setTemplateQueryDialogOpen: action,
|
218
|
+
setIsLightGraphEnabled: action,
|
207
219
|
intialize: flow,
|
208
220
|
});
|
209
221
|
this.dataSpace = dataSpace;
|
@@ -238,31 +250,8 @@ export class DataSpaceQueryBuilderState extends QueryBuilderState {
|
|
238
250
|
setShowRuntimeSelector(val) {
|
239
251
|
this.showRuntimeSelector = val;
|
240
252
|
}
|
241
|
-
|
242
|
-
|
243
|
-
* - The mapping will be updated to the mapping of the execution context
|
244
|
-
* - The runtime will be updated to the default runtime of the execution context
|
245
|
-
* - If no class is chosen, try to choose a compatible class
|
246
|
-
* - If the chosen class is compatible with the new selected execution context mapping, do nothing, otherwise, try to choose a compatible class
|
247
|
-
*/
|
248
|
-
propagateExecutionContextChange(executionContext) {
|
249
|
-
const mapping = executionContext.mapping.value;
|
250
|
-
this.changeMapping(mapping);
|
251
|
-
const mappingModelCoverageAnalysisResult = this.dataSpaceAnalysisResult?.mappingToMappingCoverageResult?.get(mapping.path);
|
252
|
-
if (mappingModelCoverageAnalysisResult) {
|
253
|
-
this.explorerState.mappingModelCoverageAnalysisResult =
|
254
|
-
mappingModelCoverageAnalysisResult;
|
255
|
-
}
|
256
|
-
this.changeRuntime(new RuntimePointer(executionContext.defaultRuntime));
|
257
|
-
const compatibleClasses = resolveUsableDataSpaceClasses(this.dataSpace, mapping, this.graphManagerState);
|
258
|
-
// if there is no chosen class or the chosen one is not compatible
|
259
|
-
// with the mapping then pick a compatible class if possible
|
260
|
-
if (!this.class || !compatibleClasses.includes(this.class)) {
|
261
|
-
const possibleNewClass = getNullableFirstEntry(compatibleClasses);
|
262
|
-
if (possibleNewClass) {
|
263
|
-
this.changeClass(possibleNewClass);
|
264
|
-
}
|
265
|
-
}
|
253
|
+
setIsLightGraphEnabled(val) {
|
254
|
+
this.isLightGraphEnabled = val;
|
266
255
|
}
|
267
256
|
buildFunctionAnalysisInfo() {
|
268
257
|
let functionInfoMap = new Map();
|