@finos/legend-application-query 13.7.1 → 13.7.3
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/application/LegendQueryApplicationConfig.d.ts +0 -1
- package/lib/application/LegendQueryApplicationConfig.d.ts.map +1 -1
- package/lib/application/LegendQueryApplicationConfig.js +0 -2
- package/lib/application/LegendQueryApplicationConfig.js.map +1 -1
- package/lib/components/Core_LegendQueryApplicationPlugin.d.ts +2 -3
- package/lib/components/Core_LegendQueryApplicationPlugin.d.ts.map +1 -1
- package/lib/components/Core_LegendQueryApplicationPlugin.js +4 -157
- package/lib/components/Core_LegendQueryApplicationPlugin.js.map +1 -1
- package/lib/components/QueryEditor.d.ts.map +1 -1
- package/lib/components/QueryEditor.js +2 -9
- package/lib/components/QueryEditor.js.map +1 -1
- package/lib/components/__test-utils__/QueryEditorComponentTestUtils.d.ts +2 -2
- package/lib/components/__test-utils__/QueryEditorComponentTestUtils.d.ts.map +1 -1
- package/lib/components/__test-utils__/QueryEditorComponentTestUtils.js +10 -38
- package/lib/components/__test-utils__/QueryEditorComponentTestUtils.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/package.json +1 -1
- package/lib/stores/LegendQueryApplicationPlugin.d.ts +3 -4
- package/lib/stores/LegendQueryApplicationPlugin.d.ts.map +1 -1
- package/lib/stores/LegendQueryApplicationPlugin.js +1 -0
- package/lib/stores/LegendQueryApplicationPlugin.js.map +1 -1
- package/lib/stores/QueryEditorStore.d.ts +2 -13
- package/lib/stores/QueryEditorStore.d.ts.map +1 -1
- package/lib/stores/QueryEditorStore.js +30 -135
- package/lib/stores/QueryEditorStore.js.map +1 -1
- package/lib/stores/data-space/DataSpaceQueryCreatorStore.d.ts +1 -2
- package/lib/stores/data-space/DataSpaceQueryCreatorStore.d.ts.map +1 -1
- package/lib/stores/data-space/DataSpaceQueryCreatorStore.js +12 -8
- package/lib/stores/data-space/DataSpaceQueryCreatorStore.js.map +1 -1
- package/lib/stores/data-space/DataSpaceQuerySetupState.d.ts +0 -1
- package/lib/stores/data-space/DataSpaceQuerySetupState.d.ts.map +1 -1
- package/lib/stores/data-space/DataSpaceQuerySetupState.js +0 -1
- package/lib/stores/data-space/DataSpaceQuerySetupState.js.map +1 -1
- package/lib/stores/data-space/DataSpaceTemplateQueryCreatorStore.d.ts +1 -3
- package/lib/stores/data-space/DataSpaceTemplateQueryCreatorStore.d.ts.map +1 -1
- package/lib/stores/data-space/DataSpaceTemplateQueryCreatorStore.js +24 -41
- package/lib/stores/data-space/DataSpaceTemplateQueryCreatorStore.js.map +1 -1
- package/package.json +9 -9
- package/src/application/LegendQueryApplicationConfig.ts +0 -3
- package/src/components/Core_LegendQueryApplicationPlugin.tsx +7 -281
- package/src/components/QueryEditor.tsx +1 -25
- package/src/components/__test-utils__/QueryEditorComponentTestUtils.tsx +24 -62
- package/src/stores/LegendQueryApplicationPlugin.tsx +5 -6
- package/src/stores/QueryEditorStore.ts +53 -254
- package/src/stores/data-space/DataSpaceQueryCreatorStore.ts +28 -17
- package/src/stores/data-space/DataSpaceQuerySetupState.ts +0 -1
- package/src/stores/data-space/DataSpaceTemplateQueryCreatorStore.ts +51 -73
@@ -34,7 +34,6 @@ declare class LegendQueryApplicationCoreOptions {
|
|
34
34
|
* See https://github.com/finos/legend-studio/issues/65
|
35
35
|
*/
|
36
36
|
TEMPORARY__serviceRegistrationConfig: ServiceRegistrationEnvironmentConfig[];
|
37
|
-
TEMPORARY__enableMinimalGraph: boolean;
|
38
37
|
/**
|
39
38
|
* Config specific to query builder
|
40
39
|
*/
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"LegendQueryApplicationConfig.d.ts","sourceRoot":"","sources":["../../src/application/LegendQueryApplicationConfig.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAIL,oBAAoB,EACpB,KAAK,WAAW,EAEjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,uBAAuB,EACvB,KAAK,mCAAmC,EACxC,KAAK,kCAAkC,EACxC,MAAM,2BAA2B,CAAC;AAQnC,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAEjE,qBAAa,oCAAoC;IAC/C,GAAG,EAAG,MAAM,CAAC;IACb,YAAY,EAAG,MAAM,CAAC;IACtB,KAAK,EAAE,MAAM,EAAE,CAAM;IACrB,aAAa,EAAG,MAAM,CAAC;IAEvB,MAAM,CAAC,QAAQ,CAAC,aAAa,6DAO3B;CACH;AAED,cAAM,iCAAiC;IACrC;;;;;;;;OAQG;IACH,oCAAoC,EAAE,oCAAoC,EAAE,CACvE;IAEL
|
1
|
+
{"version":3,"file":"LegendQueryApplicationConfig.d.ts","sourceRoot":"","sources":["../../src/application/LegendQueryApplicationConfig.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAIL,oBAAoB,EACpB,KAAK,WAAW,EAEjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,uBAAuB,EACvB,KAAK,mCAAmC,EACxC,KAAK,kCAAkC,EACxC,MAAM,2BAA2B,CAAC;AAQnC,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAEjE,qBAAa,oCAAoC;IAC/C,GAAG,EAAG,MAAM,CAAC;IACb,YAAY,EAAG,MAAM,CAAC;IACtB,KAAK,EAAE,MAAM,EAAE,CAAM;IACrB,aAAa,EAAG,MAAM,CAAC;IAEvB,MAAM,CAAC,QAAQ,CAAC,aAAa,6DAO3B;CACH;AAED,cAAM,iCAAiC;IACrC;;;;;;;;OAQG;IACH,oCAAoC,EAAE,oCAAoC,EAAE,CACvE;IAEL;;OAEG;IACH,kBAAkB,EAAE,kBAAkB,GAAG,SAAS,CAAC;IAEnD,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CASnC;IAEF,MAAM,CAAC,MAAM,CACX,UAAU,EAAE,WAAW,CAAC,iCAAiC,CAAC,GACzD,iCAAiC;CAGrC;AAED,KAAK,gDAAgD,GAAG;IACtD,mBAAmB,EAAE,MAAM,CAAC;IAC5B,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,MAAM,WAAW,uCACf,SAAQ,kCAAkC;IAC1C,KAAK,EAAE;QACL,GAAG,EAAE,MAAM,CAAC;KACb,CAAC;IACF,MAAM,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAC3C,MAAM,EAAE;QACN,GAAG,EAAE,MAAM,CAAC;QACZ,SAAS,EAAE,gDAAgD,EAAE,CAAC;KAC/D,CAAC;IACF,QAAQ,CAAC,EAAE;QACT,GAAG,EAAE,MAAM,CAAC;KACb,CAAC;CACH;AAED,qBAAa,4BAA6B,SAAQ,uBAAuB;IACvE,QAAQ,CAAC,OAAO,oCAA2C;IAE3D,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IACjC,QAAQ,CAAC,oBAAoB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnD,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,oBAAoB,EAAE,MAAM,CAAC;IACtC,QAAQ,CAAC,sBAAsB,CAAC,EAAE,MAAM,CAAC;IACzC,QAAQ,CAAC,eAAe,EAAE,gDAAgD,EAAE,CACvE;gBAGH,KAAK,EAAE,mCAAmC,CAAC,uCAAuC,CAAC;IA4D5E,+BAA+B,IAAI,MAAM;CAGnD"}
|
@@ -40,7 +40,6 @@ class LegendQueryApplicationCoreOptions {
|
|
40
40
|
* See https://github.com/finos/legend-studio/issues/65
|
41
41
|
*/
|
42
42
|
TEMPORARY__serviceRegistrationConfig = [];
|
43
|
-
TEMPORARY__enableMinimalGraph = false;
|
44
43
|
/**
|
45
44
|
* Config specific to query builder
|
46
45
|
*/
|
@@ -48,7 +47,6 @@ class LegendQueryApplicationCoreOptions {
|
|
48
47
|
static serialization = new SerializationFactory(createModelSchema(LegendQueryApplicationCoreOptions, {
|
49
48
|
TEMPORARY__serviceRegistrationConfig: list(object(ServiceRegistrationEnvironmentConfig)),
|
50
49
|
queryBuilderConfig: optional(usingModelSchema(QueryBuilderConfig.serialization.schema)),
|
51
|
-
TEMPORARY__enableMinimalGraph: optional(primitive()),
|
52
50
|
}));
|
53
51
|
static create(configData) {
|
54
52
|
return LegendQueryApplicationCoreOptions.serialization.fromJson(configData);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"LegendQueryApplicationConfig.js","sourceRoot":"","sources":["../../src/application/LegendQueryApplicationConfig.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,iBAAiB,EACjB,uBAAuB,EACvB,oBAAoB,EACpB,oBAAoB,EAEpB,gBAAgB,GACjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,uBAAuB,GAGxB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,iBAAiB,EACjB,SAAS,EACT,IAAI,EACJ,MAAM,EACN,QAAQ,GACT,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAEjE,MAAM,OAAO,oCAAoC;IAC/C,GAAG,CAAU;IACb,YAAY,CAAU;IACtB,KAAK,GAAa,EAAE,CAAC;IACrB,aAAa,CAAU;IAEvB,MAAM,CAAU,aAAa,GAAG,IAAI,oBAAoB,CACtD,iBAAiB,CAAC,oCAAoC,EAAE;QACtD,GAAG,EAAE,SAAS,EAAE;QAChB,YAAY,EAAE,SAAS,EAAE;QACzB,aAAa,EAAE,SAAS,EAAE;QAC1B,KAAK,EAAE,IAAI,CAAC,SAAS,EAAE,CAAC;KACzB,CAAC,CACH,CAAC;;AAGJ,MAAM,iCAAiC;IACrC;;;;;;;;OAQG;IACH,oCAAoC,GAClC,EAAE,CAAC;IAEL
|
1
|
+
{"version":3,"file":"LegendQueryApplicationConfig.js","sourceRoot":"","sources":["../../src/application/LegendQueryApplicationConfig.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH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AAK,CAAC,UAAU,CAAC,QAAQ,EAAE,GAAG,EAAE,CAAC;YACnC,IAAI,CAAC,sBAAsB,GAAG,uBAAuB,CAAC,kBAAkB,CACtE,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC,GAAG,CAC9B,CAAC;QACJ,CAAC;QACD,UAAU;QACV,IAAI,CAAC,OAAO,GAAG,iCAAiC,CAAC,MAAM,CACrD,KAAK,CAAC,UAAU,CAAC,UAAU,EAAE,IAAI,IAAI,EAAE,CACxC,CAAC;IACJ,CAAC;IAEQ,+BAA+B;QACtC,OAAO,cAAc,CAAC;IACxB,CAAC;CACF"}
|
@@ -13,9 +13,9 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import { type QuerySetupActionConfiguration
|
16
|
+
import { LegendQueryApplicationPlugin, type QuerySetupActionConfiguration } from '../stores/LegendQueryApplicationPlugin.js';
|
17
17
|
import { type ApplicationPageEntry, type LegendApplicationSetup } from '@finos/legend-application';
|
18
|
-
import { type QueryBuilderHeaderActionConfiguration, type QueryBuilderMenuActionConfiguration
|
18
|
+
import { type QueryBuilderHeaderActionConfiguration, type QueryBuilderMenuActionConfiguration } from '@finos/legend-query-builder';
|
19
19
|
export declare class Core_LegendQueryApplicationPlugin extends LegendQueryApplicationPlugin {
|
20
20
|
static NAME: string;
|
21
21
|
constructor();
|
@@ -26,6 +26,5 @@ export declare class Core_LegendQueryApplicationPlugin extends LegendQueryApplic
|
|
26
26
|
getExtraQueryBuilderHelpMenuActionConfigurations?(): QueryBuilderMenuActionConfiguration[];
|
27
27
|
getExtraQueryBuilderHeaderActionConfigurations?(): QueryBuilderHeaderActionConfiguration[];
|
28
28
|
getExtraQueryBuilderHeaderTitleConfigurations?(): QueryBuilderHeaderActionConfiguration;
|
29
|
-
getExtraQueryBuilderPropagateExecutionContextChangeHelper?(): QueryBuilderPropagateExecutionContextChangeHelper[];
|
30
29
|
}
|
31
30
|
//# sourceMappingURL=Core_LegendQueryApplicationPlugin.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Core_LegendQueryApplicationPlugin.d.ts","sourceRoot":"","sources":["../../src/components/Core_LegendQueryApplicationPlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,6BAA6B,
|
1
|
+
{"version":3,"file":"Core_LegendQueryApplicationPlugin.d.ts","sourceRoot":"","sources":["../../src/components/Core_LegendQueryApplicationPlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,4BAA4B,EAE5B,KAAK,6BAA6B,EACnC,MAAM,2CAA2C,CAAC;AA+BnD,OAAO,EAGL,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC5B,MAAM,2BAA2B,CAAC;AAUnC,OAAO,EAEL,KAAK,qCAAqC,EAC1C,KAAK,mCAAmC,EACzC,MAAM,6BAA6B,CAAC;AAoBrC,qBAAa,iCAAkC,SAAQ,4BAA4B;IACjF,MAAM,CAAC,IAAI,SAAiD;;IAMnD,yBAAyB,IAAI,sBAAsB,EAAE;IASrD,8BAA8B,IAAI,oBAAoB,EAAE;IA+BxD,sCAAsC,IAAI,6BAA6B,EAAE;IAyGlF,kDAAkD,CAAC,IAAI,mCAAmC,EAAE;IAuF5F,gDAAgD,CAAC,IAAI,mCAAmC,EAAE;IAiI1F,8CAA8C,CAAC,IAAI,qCAAqC,EAAE;IA0N1F,6CAA6C,CAAC,IAAI,qCAAqC;CAmDxF"}
|
@@ -27,20 +27,17 @@ import { setupPureLanguageService } from '@finos/legend-code-editor';
|
|
27
27
|
import { generateDataSpaceQueryCreatorRoute, generateDataSpaceQuerySetupRoute, } from '../__lib__/DSL_DataSpace_LegendQueryNavigation.js';
|
28
28
|
import { QUERY_BUILDER_SUPPORTED_GET_ALL_FUNCTIONS, } from '@finos/legend-query-builder';
|
29
29
|
import { ExistingQueryEditorStore, QueryBuilderActionConfig_QueryApplication, } from '../stores/QueryEditorStore.js';
|
30
|
-
import { DataSpaceQueryBuilderState,
|
31
|
-
import {
|
30
|
+
import { DataSpaceQueryBuilderState, generateDataSpaceTemplateQueryPromotionRoute, } from '@finos/legend-extension-dsl-data-space/application';
|
31
|
+
import { RuntimePointer } from '@finos/legend-graph';
|
32
32
|
import { LegendQueryTelemetryHelper } from '../__lib__/LegendQueryTelemetryHelper.js';
|
33
|
-
import {
|
34
|
-
import {
|
33
|
+
import { StoreProjectData } from '@finos/legend-server-depot';
|
34
|
+
import { buildUrl } from '@finos/legend-shared';
|
35
35
|
import { parseProjectIdentifier } from '@finos/legend-storage';
|
36
36
|
import { QueryEditorExistingQueryHeader } from './QueryEditor.js';
|
37
37
|
import { DataSpaceTemplateQueryCreatorStore } from '../stores/data-space/DataSpaceTemplateQueryCreatorStore.js';
|
38
38
|
import { createViewSDLCProjectHandler } from '../stores/data-space/DataSpaceQueryBuilderHelper.js';
|
39
39
|
import { DataSpaceQueryCreatorStore } from '../stores/data-space/DataSpaceQueryCreatorStore.js';
|
40
40
|
import { configureCodeEditorComponent } from '@finos/legend-lego/code-editor';
|
41
|
-
import { resolveUsableDataSpaceClasses, V1_DataSpace, V1_DataSpaceExecutionContext, } from '@finos/legend-extension-dsl-data-space/graph';
|
42
|
-
import { flowResult } from 'mobx';
|
43
|
-
import { LEGEND_QUERY_APP_EVENT } from '../__lib__/LegendQueryEvent.js';
|
44
41
|
export class Core_LegendQueryApplicationPlugin extends LegendQueryApplicationPlugin {
|
45
42
|
static NAME = packageJson.extensions.applicationQueryPlugin;
|
46
43
|
constructor() {
|
@@ -453,155 +450,5 @@ export class Core_LegendQueryApplicationPlugin extends LegendQueryApplicationPlu
|
|
453
450
|
},
|
454
451
|
};
|
455
452
|
}
|
456
|
-
getExtraQueryBuilderPropagateExecutionContextChangeHelper() {
|
457
|
-
return [
|
458
|
-
(queryBuilderState, isGraphBuildingNotRequired) => {
|
459
|
-
/**
|
460
|
-
* Propagation after changing the execution context:
|
461
|
-
* - The mapping will be updated to the mapping of the execution context
|
462
|
-
* - The runtime will be updated to the default runtime of the execution context
|
463
|
-
* - If no class is chosen, try to choose a compatible class
|
464
|
-
* - If the chosen class is compatible with the new selected execution context mapping, do nothing, otherwise, try to choose a compatible class
|
465
|
-
*/
|
466
|
-
const propagateExecutionContextChange = async () => {
|
467
|
-
const dataSpaceQueryBuilderState = guaranteeType(queryBuilderState, DataSpaceQueryBuilderState);
|
468
|
-
const mapping = dataSpaceQueryBuilderState.executionContext.mapping.value;
|
469
|
-
const mappingModelCoverageAnalysisResult = dataSpaceQueryBuilderState.dataSpaceAnalysisResult?.mappingToMappingCoverageResult?.get(mapping.path);
|
470
|
-
const editorStore = queryBuilderState.workflowState
|
471
|
-
.actionConfig.editorStore;
|
472
|
-
if (dataSpaceQueryBuilderState.dataSpaceAnalysisResult &&
|
473
|
-
mappingModelCoverageAnalysisResult) {
|
474
|
-
if (!isGraphBuildingNotRequired &&
|
475
|
-
dataSpaceQueryBuilderState.isLightGraphEnabled) {
|
476
|
-
const supportBuildMinimalGraph = editorStore.applicationStore.config.options
|
477
|
-
.TEMPORARY__enableMinimalGraph;
|
478
|
-
if (editorStore.enableMinialGraphForDataSpaceLoadingPerformance &&
|
479
|
-
supportBuildMinimalGraph) {
|
480
|
-
try {
|
481
|
-
const stopWatch = new StopWatch();
|
482
|
-
const graph = dataSpaceQueryBuilderState.graphManagerState.createNewGraph();
|
483
|
-
const graph_buildReport = createGraphBuilderReport();
|
484
|
-
const graphManager = guaranteeType(dataSpaceQueryBuilderState.graphManagerState.graphManager, V1_PureGraphManager);
|
485
|
-
// Create dummy mappings and runtimes
|
486
|
-
// TODO?: these stubbed mappings and runtimes are not really useful that useful, so either we should
|
487
|
-
// simplify the model here or potentially refactor the backend analytics endpoint to return these as model
|
488
|
-
const mappingModels = uniq(Array.from(dataSpaceQueryBuilderState.dataSpaceAnalysisResult.executionContextsIndex.values()).map((context) => context.mapping)).map((m) => {
|
489
|
-
const _mapping = new V1_Mapping();
|
490
|
-
const [packagePath, name] = resolvePackagePathAndElementName(m.path);
|
491
|
-
_mapping.package = packagePath;
|
492
|
-
_mapping.name = name;
|
493
|
-
return graphManager.elementProtocolToEntity(_mapping);
|
494
|
-
});
|
495
|
-
const runtimeModels = uniq(Array.from(dataSpaceQueryBuilderState.dataSpaceAnalysisResult.executionContextsIndex.values())
|
496
|
-
.map((context) => context.defaultRuntime)
|
497
|
-
.concat(Array.from(dataSpaceQueryBuilderState.dataSpaceAnalysisResult.executionContextsIndex.values()).flatMap((val) => val.compatibleRuntimes))).map((r) => {
|
498
|
-
const runtime = new V1_PackageableRuntime();
|
499
|
-
const [packagePath, name] = resolvePackagePathAndElementName(r.path);
|
500
|
-
runtime.package = packagePath;
|
501
|
-
runtime.name = name;
|
502
|
-
runtime.runtimeValue = new V1_EngineRuntime();
|
503
|
-
return graphManager.elementProtocolToEntity(runtime);
|
504
|
-
});
|
505
|
-
// The DataSpace entity is excluded from AnalyticsResult.Json to reduce the JSON size
|
506
|
-
// because all its information can be found in V1_DataSpaceAnalysisResult.
|
507
|
-
// Therefore, we are building a simple v1_DataSpace entity based on V1_DataSpaceAnalysisResult.
|
508
|
-
const dataspaceProtocol = new V1_DataSpace();
|
509
|
-
dataspaceProtocol.name =
|
510
|
-
dataSpaceQueryBuilderState.dataSpaceAnalysisResult.name;
|
511
|
-
dataspaceProtocol.package =
|
512
|
-
dataSpaceQueryBuilderState.dataSpaceAnalysisResult.package;
|
513
|
-
dataspaceProtocol.supportInfo =
|
514
|
-
dataSpaceQueryBuilderState.dataSpaceAnalysisResult.supportInfo;
|
515
|
-
dataspaceProtocol.executionContexts = Array.from(dataSpaceQueryBuilderState.dataSpaceAnalysisResult
|
516
|
-
.executionContextsIndex).map(([key, execContext]) => {
|
517
|
-
const contextProtocol = new V1_DataSpaceExecutionContext();
|
518
|
-
contextProtocol.name = execContext.name;
|
519
|
-
contextProtocol.title = execContext.title;
|
520
|
-
contextProtocol.description = execContext.description;
|
521
|
-
contextProtocol.mapping = new V1_PackageableElementPointer(PackageableElementPointerType.MAPPING, execContext.mapping.path);
|
522
|
-
contextProtocol.defaultRuntime =
|
523
|
-
new V1_PackageableElementPointer(PackageableElementPointerType.RUNTIME, execContext.defaultRuntime.path);
|
524
|
-
return contextProtocol;
|
525
|
-
});
|
526
|
-
dataspaceProtocol.defaultExecutionContext =
|
527
|
-
dataSpaceQueryBuilderState.dataSpaceAnalysisResult.defaultExecutionContext.name;
|
528
|
-
dataspaceProtocol.title =
|
529
|
-
dataSpaceQueryBuilderState.dataSpaceAnalysisResult.title;
|
530
|
-
dataspaceProtocol.description =
|
531
|
-
dataSpaceQueryBuilderState.dataSpaceAnalysisResult.description;
|
532
|
-
const dataspaceEntity = graphManager.elementProtocolToEntity(dataspaceProtocol);
|
533
|
-
const graphEntities = guaranteeNonNullable(mappingModelCoverageAnalysisResult.entities)
|
534
|
-
.concat(mappingModels)
|
535
|
-
.concat(runtimeModels)
|
536
|
-
.concat(dataspaceEntity)
|
537
|
-
// NOTE: if an element could be found in the graph already it means it comes from system
|
538
|
-
// so we could rid of it
|
539
|
-
.filter((el) => !graph.getNullableElement(el.path, false) &&
|
540
|
-
!el.path.startsWith('meta::'));
|
541
|
-
let option;
|
542
|
-
if (dataSpaceQueryBuilderState.dataSpaceRepo instanceof
|
543
|
-
DataSpacesDepotRepository) {
|
544
|
-
option = new LegendSDLC(dataSpaceQueryBuilderState.dataSpaceRepo.project.groupId, dataSpaceQueryBuilderState.dataSpaceRepo.project.artifactId, resolveVersion(dataSpaceQueryBuilderState.dataSpaceRepo.project
|
545
|
-
.versionId));
|
546
|
-
}
|
547
|
-
await dataSpaceQueryBuilderState.graphManagerState.graphManager.buildGraph(graph, graphEntities, ActionState.create(), option
|
548
|
-
? {
|
549
|
-
origin: option,
|
550
|
-
}
|
551
|
-
: {}, graph_buildReport);
|
552
|
-
dataSpaceQueryBuilderState.graphManagerState.graph = graph;
|
553
|
-
const dependency_buildReport = createGraphBuilderReport();
|
554
|
-
// report
|
555
|
-
stopWatch.record(GRAPH_MANAGER_EVENT.INITIALIZE_GRAPH__SUCCESS);
|
556
|
-
const graphBuilderReportData = {
|
557
|
-
timings: dataSpaceQueryBuilderState.applicationStore.timeService.finalizeTimingsRecord(stopWatch),
|
558
|
-
dependencies: dependency_buildReport,
|
559
|
-
dependenciesCount: dataSpaceQueryBuilderState.graphManagerState.graph
|
560
|
-
.dependencyManager.numberOfDependencies,
|
561
|
-
graph: graph_buildReport,
|
562
|
-
};
|
563
|
-
editorStore.logBuildGraphMetrics(graphBuilderReportData);
|
564
|
-
dataSpaceQueryBuilderState.applicationStore.logService.info(LogEvent.create(GRAPH_MANAGER_EVENT.INITIALIZE_GRAPH__SUCCESS), graphBuilderReportData);
|
565
|
-
}
|
566
|
-
catch (error) {
|
567
|
-
assertErrorThrown(error);
|
568
|
-
editorStore.applicationStore.logService.error(LogEvent.create(LEGEND_QUERY_APP_EVENT.GENERIC_FAILURE), error);
|
569
|
-
editorStore.graphManagerState.graph =
|
570
|
-
editorStore.graphManagerState.createNewGraph();
|
571
|
-
await flowResult(editorStore.buildFullGraph());
|
572
|
-
}
|
573
|
-
}
|
574
|
-
else {
|
575
|
-
editorStore.graphManagerState.graph =
|
576
|
-
editorStore.graphManagerState.createNewGraph();
|
577
|
-
await flowResult(editorStore.buildFullGraph());
|
578
|
-
}
|
579
|
-
}
|
580
|
-
dataSpaceQueryBuilderState.explorerState.mappingModelCoverageAnalysisResult =
|
581
|
-
mappingModelCoverageAnalysisResult;
|
582
|
-
}
|
583
|
-
const compatibleClasses = resolveUsableDataSpaceClasses(dataSpaceQueryBuilderState.dataSpace, mapping, dataSpaceQueryBuilderState.graphManagerState, dataSpaceQueryBuilderState);
|
584
|
-
dataSpaceQueryBuilderState.changeMapping(mapping);
|
585
|
-
dataSpaceQueryBuilderState.changeRuntime(new RuntimePointer(dataSpaceQueryBuilderState.executionContext.defaultRuntime));
|
586
|
-
// if there is no chosen class or the chosen one is not compatible
|
587
|
-
// with the mapping then pick a compatible class if possible
|
588
|
-
if (!dataSpaceQueryBuilderState.class ||
|
589
|
-
!compatibleClasses.includes(dataSpaceQueryBuilderState.class)) {
|
590
|
-
const possibleNewClass = getNullableFirstEntry(compatibleClasses);
|
591
|
-
if (possibleNewClass) {
|
592
|
-
dataSpaceQueryBuilderState.changeClass(possibleNewClass);
|
593
|
-
}
|
594
|
-
}
|
595
|
-
dataSpaceQueryBuilderState.explorerState.refreshTreeData();
|
596
|
-
};
|
597
|
-
if (queryBuilderState instanceof DataSpaceQueryBuilderState &&
|
598
|
-
queryBuilderState.workflowState.actionConfig instanceof
|
599
|
-
QueryBuilderActionConfig_QueryApplication) {
|
600
|
-
return propagateExecutionContextChange;
|
601
|
-
}
|
602
|
-
return undefined;
|
603
|
-
},
|
604
|
-
];
|
605
|
-
}
|
606
453
|
}
|
607
454
|
//# sourceMappingURL=Core_LegendQueryApplicationPlugin.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Core_LegendQueryApplicationPlugin.js","sourceRoot":"","sources":["../../src/components/Core_LegendQueryApplicationPlugin.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,4BAA4B,EAC5B,mBAAmB,GACpB,MAAM,2CAA2C,CAAC;AACnD,OAAO,WAAW,MAAM,oBAAoB,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAEnE,OAAO,EACL,iBAAiB,EACjB,MAAM,EACN,aAAa,EACb,SAAS,EACT,sBAAsB,EACtB,cAAc,EACd,gBAAgB,EAChB,WAAW,EACX,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACpB,QAAQ,EACR,SAAS,EACT,UAAU,EACV,YAAY,EACZ,UAAU,GACX,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,mCAAmC,EACnC,oCAAoC,EACpC,mCAAmC,EACnC,oCAAoC,EACpC,gCAAgC,EAChC,qCAAqC,EACrC,uCAAuC,EACv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F,CAAC;IACJ,CAAC"}
|
1
|
+
{"version":3,"file":"Core_LegendQueryApplicationPlugin.js","sourceRoot":"","sources":["../../src/components/Core_LegendQueryApplicationPlugin.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,4BAA4B,EAC5B,mBAAmB,GAEpB,MAAM,2CAA2C,CAAC;AACnD,OAAO,WAAW,MAAM,oBAAoB,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAEnE,OAAO,EACL,iBAAiB,EACjB,MAAM,EACN,aAAa,EACb,SAAS,EACT,sBAAsB,EACtB,cAAc,EACd,gBAAgB,EAChB,WAAW,EACX,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACpB,QAAQ,EACR,SAAS,EACT,UAAU,EACV,YAAY,EACZ,UAAU,GACX,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,mCAAmC,EACnC,oCAAoC,EACpC,mCAAmC,EACnC,oCAAoC,EACpC,gCAAgC,EAChC,qCAAqC,EACrC,uCAAuC,EACvC,0BAA0B,GAC3B,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,qBAAqB,EACrB,eAAe,GAGhB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AACvF,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AACrE,OAAO,EACL,kCAAkC,EAClC,gCAAgC,GACjC,MAAM,mDAAmD,CAAC;AAC3D,OAAO,EACL,yCAAyC,GAG1C,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,wBAAwB,EACxB,yCAAyC,GAC1C,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,0BAA0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AAW,CAAC;oBAC3D,MAAM,gBAAgB,GAAG,GAAoB,EAAE;wBAC7C,IAAI,WAAW,YAAY,wBAAwB,EAAE,CAAC;4BACpD,OAAO,CACL,KAAC,8BAA8B,IAC7B,iBAAiB,EAAE,iBAAiB,EACpC,mBAAmB,EAAE,WAAW,GAChC,CACH,CAAC;wBACJ,CAAC;6BAAM,IACL,WAAW,YAAY,kCAAkC,EACzD,CAAC;4BACD,OAAO,CACL,eAAK,SAAS,EAAC,iCAAiC,aAC9C,cAAK,SAAS,EAAC,6HAA6H,YACzI,WAAW,CAAC,kBAAkB,GAC3B,EACN,cAAK,SAAS,EAAC,6CAA6C,yBAEtD,IACF,CACP,CAAC;wBACJ,CAAC;wBACD,OAAO,CACL,cAAK,SAAS,EAAC,iCAAiC,YAC9C,cAAK,SAAS,EAAC,oIAAoI,8BAE7I,GACF,CACP,CAAC;oBACJ,CAAC,CAAC;oBACF,OAAO,CACL,cAAK,SAAS,EAAC,+BAA+B,YAC3C,gBAAgB,EAAE,GACf,CACP,CAAC;gBACJ,CAAC;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryEditor.d.ts","sourceRoot":"","sources":["../../src/components/QueryEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA2CH,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAiBzE,OAAO,EAKL,KAAK,iBAAiB,EACvB,MAAM,6BAA6B,CAAC;AAiMrC,eAAO,MAAM,8BAA8B,WACjC;IACN,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,mBAAmB,EAAE,wBAAwB,CAAC;CAC/C;;CAqHF,CAAC;AAoLF,eAAO,MAAM,WAAW;;
|
1
|
+
{"version":3,"file":"QueryEditor.d.ts","sourceRoot":"","sources":["../../src/components/QueryEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA2CH,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAiBzE,OAAO,EAKL,KAAK,iBAAiB,EACvB,MAAM,6BAA6B,CAAC;AAiMrC,eAAO,MAAM,8BAA8B,WACjC;IACN,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,mBAAmB,EAAE,wBAAwB,CAAC;CAC/C;;CAqHF,CAAC;AAoLF,eAAO,MAAM,WAAW;;CA8NtB,CAAC;AAqBH,eAAO,MAAM,mBAAmB;;CAuB9B,CAAC;AAEH,eAAO,MAAM,mBAAmB;;CAuB9B,CAAC;AAEH,eAAO,MAAM,mBAAmB;;CAqB9B,CAAC"}
|
@@ -204,9 +204,6 @@ export const QueryEditor = observer(() => {
|
|
204
204
|
// NOTE: this is temporary until we find a better home for these settings in query builder
|
205
205
|
const engineConfig = editorStore.graphManagerState.graphManager.TEMPORARY__getEngineConfig();
|
206
206
|
const toggleEngineClientRequestPayloadCompression = () => engineConfig.setUseClientRequestPayloadCompression(!engineConfig.useClientRequestPayloadCompression);
|
207
|
-
const toggleEnableMinialGraphForDataSpaceLoadingPerformance = () => {
|
208
|
-
editorStore.setEnableMinialGraphForDataSpaceLoadingPerformance(!editorStore.enableMinialGraphForDataSpaceLoadingPerformance);
|
209
|
-
};
|
210
207
|
const TEMPORARY__toggleLightDarkMode = () => {
|
211
208
|
applicationStore.layoutService.setColorTheme(applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled
|
212
209
|
? LEGEND_APPLICATION_COLOR_THEME.DEFAULT_DARK
|
@@ -222,16 +219,12 @@ export const QueryEditor = observer(() => {
|
|
222
219
|
useEffect(() => {
|
223
220
|
flowResult(editorStore.initialize()).catch(applicationStore.alertUnhandledError);
|
224
221
|
applicationStore.releaseNotesService.updateViewedVersion();
|
225
|
-
}, [
|
226
|
-
editorStore,
|
227
|
-
applicationStore,
|
228
|
-
editorStore.enableMinialGraphForDataSpaceLoadingPerformance,
|
229
|
-
]);
|
222
|
+
}, [editorStore, applicationStore]);
|
230
223
|
return (_jsxs("div", { className: "query-editor", children: [_jsxs("div", { className: "query-editor__logo-header", children: [_jsxs("div", { className: "query-editor__logo-header__combo", children: [_jsx("div", { className: "query-editor__logo-header__combo__menu", children: _jsx(ControlledDropdownMenu, { className: "query-editor__logo-header__combo__menu-item", menuProps: {
|
231
224
|
anchorOrigin: { vertical: 'top', horizontal: 'right' },
|
232
225
|
transformOrigin: { vertical: 'top', horizontal: 'left' },
|
233
226
|
elevation: 7,
|
234
|
-
}, content: _jsxs(MenuContent, { children: [_jsx(MenuContentItem, { onClick: goToQuerySetup, children: "Back to query setup" }), _jsx(MenuContentItem, { disabled: !appDocUrl, onClick: goToDocumentation, children: "Documentation" }), docLinks?.map((entry) => (_jsx(MenuContentItem, { onClick: () => goToDocLink(entry.url), children: entry.label }, entry.key))), _jsx(MenuContentDivider, {}), _jsx(MenuContentItem, { disabled: true, children: "Settings" }), _jsxs(MenuContentItem, { onClick: toggleEngineClientRequestPayloadCompression, children: [_jsx(MenuContentItemIcon, { children: engineConfig.useClientRequestPayloadCompression ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { children: "Compress request payload" })] })
|
227
|
+
}, content: _jsxs(MenuContent, { children: [_jsx(MenuContentItem, { onClick: goToQuerySetup, children: "Back to query setup" }), _jsx(MenuContentItem, { disabled: !appDocUrl, onClick: goToDocumentation, children: "Documentation" }), docLinks?.map((entry) => (_jsx(MenuContentItem, { onClick: () => goToDocLink(entry.url), children: entry.label }, entry.key))), _jsx(MenuContentDivider, {}), _jsx(MenuContentItem, { disabled: true, children: "Settings" }), _jsxs(MenuContentItem, { onClick: toggleEngineClientRequestPayloadCompression, children: [_jsx(MenuContentItemIcon, { children: engineConfig.useClientRequestPayloadCompression ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { children: "Compress request payload" })] })] }), children: _jsx(MenuIcon, {}) }) }), _jsx("div", { className: "query-editor__logo-header__combo__name", children: "Legend Query" })] }), _jsxs("div", { className: "query-editor__header__action__content", children: [!isLoadingEditor &&
|
235
228
|
!editorStore.queryBuilderState?.config
|
236
229
|
?.TEMPORARY__disableQueryBuilderChat &&
|
237
230
|
(editorStore.queryBuilderState instanceof
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryEditor.js","sourceRoot":"","sources":["../../src/components/QueryEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,MAAM,EACN,qBAAqB,EACrB,iBAAiB,EACjB,sBAAsB,EACtB,WAAW,EACX,eAAe,EACf,QAAQ,EACR,kBAAkB,EAClB,mBAAmB,EACnB,SAAS,EACT,oBAAoB,EACpB,KAAK,EACL,WAAW,EACX,SAAS,EACT,WAAW,EACX,UAAU,EACV,iBAAiB,EACjB,uBAAuB,EACvB,aAAa,EACb,IAAI,EACJ,kBAAkB,EAClB,SAAS,EACT,KAAK,EACL,gBAAgB,EAChB,mBAAmB,EACnB,UAAU,EACV,QAAQ,EACR,OAAO,GACR,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC7D,OAAO,EAIL,8BAA8B,EAC9B,gCAAgC,EAChC,uBAAuB,EACvB,gCAAgC,GACjC,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,0BAA0B,EAAE,MAAM,0CAA0C,CAAC;AACtF,OAAO,EAAE,wBAAwB,EAAE,MAAM,oDAAoD,CAAC;AAC9F,OAAO,EACL,8BAA8B,EAC9B,iBAAiB,EACjB,mBAAmB,EACnB,mBAAmB,GACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAC9D,OAAO,EACL,gCAAgC,EAChC,g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GAAG,EAAE;IAC/C,MAAM,MAAM,GAAG,SAAS,EAAiC,CAAC;IAC1D,MAAM,GAAG,GAAG,oBAAoB,CAC9B,MAAM,CAAC,gCAAgC,CAAC,GAAG,CAAC,CAC7C,CAAC;IACF,MAAM,WAAW,GAAG,oBAAoB,CACtC,MAAM,CAAC,gCAAgC,CAAC,YAAY,CAAC,CACtD,CAAC;IACF,MAAM,WAAW,GAAG,oBAAoB,CACtC,MAAM,CAAC,gCAAgC,CAAC,YAAY,CAAC,CACtD,CAAC;IAEF,OAAO,CACL,KAAC,gCAAgC,IAC/B,GAAG,EAAE,GAAG,EACR,WAAW,EAAE,WAAW,EACxB,WAAW,EAAE,WAAW,YAExB,KAAC,WAAW,KAAG,GACkB,CACpC,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
1
|
+
{"version":3,"file":"QueryEditor.js","sourceRoot":"","sources":["../../src/components/QueryEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,MAAM,EACN,qBAAqB,EACrB,iBAAiB,EACjB,sBAAsB,EACtB,WAAW,EACX,eAAe,EACf,QAAQ,EACR,kBAAkB,EAClB,mBAAmB,EACnB,SAAS,EACT,oBAAoB,EACpB,KAAK,EACL,WAAW,EACX,SAAS,EACT,WAAW,EACX,UAAU,EACV,iBAAiB,EACjB,uBAAuB,EACvB,aAAa,EACb,IAAI,EACJ,kBAAkB,EAClB,SAAS,EACT,KAAK,EACL,gBAAgB,EAChB,mBAAmB,EACnB,UAAU,EACV,QAAQ,EACR,OAAO,GACR,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC7D,OAAO,EAIL,8BAA8B,EAC9B,gCAAgC,EAChC,uBAAuB,EACvB,gCAAgC,GACjC,MAAM,qCAAqC,CAAC;AA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C/C,MAAM,MAAM,GAAG,SAAS,EAAiC,CAAC;IAC1D,MAAM,GAAG,GAAG,oBAAoB,CAC9B,MAAM,CAAC,gCAAgC,CAAC,GAAG,CAAC,CAC7C,CAAC;IACF,MAAM,WAAW,GAAG,oBAAoB,CACtC,MAAM,CAAC,gCAAgC,CAAC,YAAY,CAAC,CACtD,CAAC;IACF,MAAM,WAAW,GAAG,oBAAoB,CACtC,MAAM,CAAC,gCAAgC,CAAC,YAAY,CAAC,CACtD,CAAC;IAEF,OAAO,CACL,KAAC,gCAAgC,IAC/B,GAAG,EAAE,GAAG,EACR,WAAW,EAAE,WAAW,EACxB,WAAW,EAAE,WAAW,YAExB,KAAC,WAAW,KAAG,GACkB,CACpC,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
@@ -31,11 +31,11 @@ export declare const TEST__provideMockedQueryEditorStore: (customization?: {
|
|
31
31
|
extraPlugins?: AbstractPlugin[];
|
32
32
|
extraPresets?: AbstractPreset[];
|
33
33
|
}) => ExistingQueryEditorStore;
|
34
|
-
export declare const TEST__setUpQueryEditor: (MOCK__editorStore: ExistingQueryEditorStore, entities:
|
34
|
+
export declare const TEST__setUpQueryEditor: (MOCK__editorStore: ExistingQueryEditorStore, entities: Entity[], lambda: RawLambda, mappingPath: string, runtimePath: string, rawMappingModelCoverageAnalysisResult?: RawMappingModelCoverageAnalysisResult) => Promise<{
|
35
35
|
renderResult: RenderResult;
|
36
36
|
queryBuilderState: QueryBuilderState;
|
37
37
|
}>;
|
38
|
-
export declare const TEST__setUpDataSpaceExistingQueryEditor: (MOCK__editorStore: ExistingQueryEditorStore,
|
38
|
+
export declare const TEST__setUpDataSpaceExistingQueryEditor: (MOCK__editorStore: ExistingQueryEditorStore, v1_dataspaceAnalyticsResult: PlainObject<V1_DataSpaceAnalysisResult>, dataSpacePath: string, executionContext: string, lambda: RawLambda, mappingPath: string, entities: Entity[]) => Promise<{
|
39
39
|
renderResult: RenderResult;
|
40
40
|
queryBuilderState: QueryBuilderState;
|
41
41
|
}>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryEditorComponentTestUtils.d.ts","sourceRoot":"","sources":["../../../src/components/__test-utils__/QueryEditorComponentTestUtils.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,KAAK,YAAY,EAAmB,MAAM,wBAAwB,CAAC;AAC5E,OAAO,EACL,KAAK,WAAW,EAChB,KAAK,cAAc,EACnB,KAAK,cAAc,EAEpB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,qCAAqC,
|
1
|
+
{"version":3,"file":"QueryEditorComponentTestUtils.d.ts","sourceRoot":"","sources":["../../../src/components/__test-utils__/QueryEditorComponentTestUtils.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,KAAK,YAAY,EAAmB,MAAM,wBAAwB,CAAC;AAC5E,OAAO,EACL,KAAK,WAAW,EAChB,KAAK,cAAc,EACnB,KAAK,cAAc,EAEpB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,qCAAqC,EAG1C,SAAS,EAIV,MAAM,qBAAqB,CAAC;AAO7B,OAAO,EAAE,wBAAwB,EAAE,MAAM,+CAA+C,CAAC;AAEzF,OAAO,KAAK,EAAsB,MAAM,EAAE,MAAM,uBAAuB,CAAC;AACxE,OAAO,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AAC5E,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AACxF,OAAO,EACL,KAAK,iBAAiB,EAEvB,MAAM,6BAA6B,CAAC;AASrC,OAAO,EACL,KAAK,0BAA0B,EAEhC,MAAM,8CAA8C,CAAC;AAGtD,eAAO,MAAM,eAAe,gBAAgB,CAAC;AAE7C,eAAO,MAAM,mCAAmC,mBAAoB;IAClE,IAAI,CAAC,EAAE,wBAAwB,CAAC;IAChC,gBAAgB,CAAC,EAAE,2BAA2B,CAAC;IAC/C,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IACtC,aAAa,CAAC,EAAE,wBAAwB,CAAC;IACzC,YAAY,CAAC,EAAE,cAAc,EAAE,CAAC;IAChC,YAAY,CAAC,EAAE,cAAc,EAAE,CAAC;CACjC,KAAG,wBA8BH,CAAC;AAEF,eAAO,MAAM,sBAAsB,sBACd,wBAAwB,YACjC,MAAM,EAAE,UACV,SAAS,eACJ,MAAM,eACN,MAAM,0CACqB,qCAAqC,KAC5E,OAAO,CAAC;IACT,YAAY,EAAE,YAAY,CAAC;IAC3B,iBAAiB,EAAE,iBAAiB,CAAC;CACtC,CA0GA,CAAC;AAEF,eAAO,MAAM,uCAAuC,sBAC/B,wBAAwB,+BACd,WAAW,CAAC,0BAA0B,CAAC,iBACrD,MAAM,oBACH,MAAM,UAChB,SAAS,eACJ,MAAM,YACT,MAAM,EAAE,KACjB,OAAO,CAAC;IACT,YAAY,EAAE,YAAY,CAAC;IAC3B,iBAAiB,EAAE,iBAAiB,CAAC;CACtC,CA2IA,CAAC"}
|
@@ -17,7 +17,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
17
17
|
import { render, waitFor } from '@testing-library/react';
|
18
18
|
import { guaranteeNonNullable, } from '@finos/legend-shared';
|
19
19
|
import { createMock, createSpy } from '@finos/legend-shared/test';
|
20
|
-
import { Query, LightQuery, RawLambda,
|
20
|
+
import { Query, LightQuery, RawLambda, PackageableElementExplicitReference, QueryExplicitExecutionContext, QueryDataSpaceExecutionContext, } from '@finos/legend-graph';
|
21
21
|
import { DepotServerClient } from '@finos/legend-server-depot';
|
22
22
|
import { ApplicationStoreProvider, ApplicationStore, } from '@finos/legend-application';
|
23
23
|
import { TEST__getTestLegendQueryApplicationConfig } from '../../stores/__test-utils__/LegendQueryApplicationTestUtils.js';
|
@@ -92,23 +92,8 @@ export const TEST__setUpQueryEditor = async (MOCK__editorStore, entities, lambda
|
|
92
92
|
execContext.runtime = PackageableElementExplicitReference.create(graphManagerState.graph.getRuntime(runtimePath));
|
93
93
|
query.executionContext = execContext;
|
94
94
|
query.content = 'some content';
|
95
|
-
const execContextInfo = new QueryExplicitExecutionContextInfo();
|
96
|
-
execContextInfo.mapping = mappingPath;
|
97
|
-
execContextInfo.runtime = runtimePath;
|
98
|
-
const queryInfo = {
|
99
|
-
name: TEST_QUERY_NAME,
|
100
|
-
id: TEST_QUERY_ID,
|
101
|
-
versionId: '0.0.0',
|
102
|
-
groupId: 'test.group',
|
103
|
-
artifactId: 'test-artifact',
|
104
|
-
executionContext: execContextInfo,
|
105
|
-
content: 'some content',
|
106
|
-
isCurrentUserQuery: true,
|
107
|
-
};
|
108
95
|
createSpy(MOCK__editorStore.depotServerClient, 'getProject').mockResolvedValue(projectData);
|
109
|
-
createSpy(MOCK__editorStore.depotServerClient, 'getEntities').mockResolvedValue(entities);
|
110
96
|
createSpy(graphManagerState.graphManager, 'getLightQuery').mockResolvedValue(lightQuery);
|
111
|
-
createSpy(graphManagerState.graphManager, 'getQueryInfo').mockResolvedValue(queryInfo);
|
112
97
|
createSpy(graphManagerState.graphManager, 'pureCodeToLambda').mockResolvedValue(new RawLambda(lambda.parameters, lambda.body));
|
113
98
|
createSpy(graphManagerState.graphManager, 'getQuery').mockResolvedValue(query);
|
114
99
|
if (rawMappingModelCoverageAnalysisResult) {
|
@@ -123,11 +108,7 @@ export const TEST__setUpQueryEditor = async (MOCK__editorStore, entities, lambda
|
|
123
108
|
queryBuilderState: guaranteeNonNullable(MOCK__editorStore.queryBuilderState, `Query builder state should have been initialized`),
|
124
109
|
};
|
125
110
|
};
|
126
|
-
export const TEST__setUpDataSpaceExistingQueryEditor = async (MOCK__editorStore,
|
127
|
-
if (buildWithMinimalGraph) {
|
128
|
-
MOCK__editorStore.applicationStore.config.options.TEMPORARY__enableMinimalGraph =
|
129
|
-
true;
|
130
|
-
}
|
111
|
+
export const TEST__setUpDataSpaceExistingQueryEditor = async (MOCK__editorStore, v1_dataspaceAnalyticsResult, dataSpacePath, executionContext, lambda, mappingPath, entities) => {
|
131
112
|
const projectData = {
|
132
113
|
id: 'test-id',
|
133
114
|
groupId: 'test.group',
|
@@ -151,6 +132,7 @@ export const TEST__setUpDataSpaceExistingQueryEditor = async (MOCK__editorStore,
|
|
151
132
|
clientConfig: {},
|
152
133
|
});
|
153
134
|
await graphManagerState.initializeSystem();
|
135
|
+
await graphManagerState.graphManager.buildGraph(graphManagerState.graph, entities, graphManagerState.graphBuildState);
|
154
136
|
const query = new Query();
|
155
137
|
query.name = lightQuery.name;
|
156
138
|
query.id = lightQuery.id;
|
@@ -164,34 +146,24 @@ export const TEST__setUpDataSpaceExistingQueryEditor = async (MOCK__editorStore,
|
|
164
146
|
execContext.executionKey = executionContext;
|
165
147
|
query.executionContext = execContext;
|
166
148
|
query.content = 'some content';
|
167
|
-
const execContextInfo = new QueryDataSpaceExecutionContextInfo();
|
168
|
-
execContextInfo.dataSpacePath = dataSpacePath;
|
169
|
-
execContextInfo.executionKey = executionContext;
|
170
|
-
const queryInfo = {
|
171
|
-
name: TEST_QUERY_NAME,
|
172
|
-
id: TEST_QUERY_ID,
|
173
|
-
versionId: '0.0.0',
|
174
|
-
groupId: 'test.group',
|
175
|
-
artifactId: 'test-artifact',
|
176
|
-
executionContext: execContextInfo,
|
177
|
-
content: 'some content',
|
178
|
-
isCurrentUserQuery: true,
|
179
|
-
};
|
180
149
|
createSpy(MOCK__editorStore.depotServerClient, 'getProject').mockResolvedValue(projectData);
|
181
|
-
createSpy(MOCK__editorStore.depotServerClient, 'getEntities').mockResolvedValue(
|
150
|
+
createSpy(MOCK__editorStore.depotServerClient, 'getEntities').mockResolvedValue([]);
|
182
151
|
createSpy(MOCK__editorStore.depotServerClient, 'getIndexedDependencyEntities').mockResolvedValue(new Map());
|
183
152
|
createSpy(MOCK__editorStore.depotServerClient, 'getEntitiesByClassifier').mockResolvedValue([]);
|
184
|
-
createSpy(MOCK__editorStore.depotServerClient, 'getGenerationContentByPath').mockResolvedValue(JSON.stringify(V1_dataspaceAnalyticsResult));
|
185
153
|
createSpy(graphManagerState.graphManager, 'getLightQuery').mockResolvedValue(lightQuery);
|
186
154
|
createSpy(graphManagerState.graphManager, 'pureCodeToLambda').mockResolvedValue(new RawLambda(lambda.parameters, lambda.body));
|
187
155
|
createSpy(graphManagerState.graphManager, 'lambdaToPureCode').mockResolvedValue('');
|
188
156
|
createSpy(graphManagerState.graphManager, 'getQuery').mockResolvedValue(query);
|
189
|
-
createSpy(
|
157
|
+
createSpy(MOCK__editorStore.depotServerClient, 'getGenerationContentByPath').mockResolvedValue('');
|
190
158
|
createSpy(graphManagerState.graphManager, 'surveyDatasets').mockResolvedValue([]);
|
191
159
|
createSpy(graphManagerState.graphManager, 'checkDatasetEntitlements').mockResolvedValue([]);
|
192
160
|
const graphManagerExtension = DSL_DataSpace_getGraphManagerExtension(graphManagerState.graphManager);
|
193
|
-
const dataspaceAnalyticsResult = await graphManagerExtension.buildDataSpaceAnalytics(
|
161
|
+
const dataspaceAnalyticsResult = await graphManagerExtension.buildDataSpaceAnalytics(v1_dataspaceAnalyticsResult, graphManagerState.graphManager.pluginManager.getPureProtocolProcessorPlugins());
|
194
162
|
createSpy(graphManagerExtension, 'analyzeDataSpace').mockResolvedValue(dataspaceAnalyticsResult);
|
163
|
+
const mappingAnalyticsResult = dataspaceAnalyticsResult.mappingToMappingCoverageResult?.get(mappingPath);
|
164
|
+
if (mappingAnalyticsResult) {
|
165
|
+
createSpy(graphManagerState.graphManager, 'analyzeMappingModelCoverage').mockResolvedValue(mappingAnalyticsResult);
|
166
|
+
}
|
195
167
|
MOCK__editorStore.buildGraph = createMock();
|
196
168
|
graphManagerState.graphManager.initialize = createMock();
|
197
169
|
const renderResult = render(_jsx(ApplicationStoreProvider, { store: MOCK__editorStore.applicationStore, children: _jsx(TEST__BrowserEnvironmentProvider, { initialEntries: [generateExistingQueryEditorRoute(lightQuery.id)], children: _jsx(LegendQueryFrameworkProvider, { children: _jsx(Routes, { children: _jsx(Route, { path: LEGEND_QUERY_ROUTE_PATTERN.EDIT_EXISTING_QUERY, element: _jsx(ExistingQueryEditor, {}) }) }) }) }) }));
|