@finos/legend-extension-dsl-data-quality 1.0.22 → 1.0.24
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/states/DataQualityResultState.d.ts.map +1 -1
- package/lib/components/states/DataQualityResultState.js +1 -2
- package/lib/components/states/DataQualityResultState.js.map +1 -1
- package/lib/components/utils/DataQualityGraphFetchTreeUtil.d.ts.map +1 -1
- package/lib/components/utils/DataQualityGraphFetchTreeUtil.js +10 -32
- package/lib/components/utils/DataQualityGraphFetchTreeUtil.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/package.json +1 -1
- package/package.json +4 -4
- package/src/components/states/DataQualityResultState.ts +1 -3
- package/src/components/utils/DataQualityGraphFetchTreeUtil.ts +21 -56
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DataQualityResultState.d.ts","sourceRoot":"","sources":["../../../src/components/states/DataQualityResultState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,EACL,kBAAkB,EAGnB,MAAM,6BAA6B,CAAC;AAErC,OAAO,EACL,KAAK,WAAW,EAChB,WAAW,EAIZ,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAEL,KAAK,eAAe,
|
1
|
+
{"version":3,"file":"DataQualityResultState.d.ts","sourceRoot":"","sources":["../../../src/components/states/DataQualityResultState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,EACL,kBAAkB,EAGnB,MAAM,6BAA6B,CAAC;AAErC,OAAO,EACL,KAAK,WAAW,EAChB,WAAW,EAIZ,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAEL,KAAK,eAAe,EAErB,MAAM,qBAAqB,CAAC;AAG7B,eAAO,MAAM,aAAa,OAAO,CAAC;AAClC,qBAAa,sBAAsB;IACjC,QAAQ,CAAC,gBAAgB,EAAE,gBAAgB,CAAC;IAC5C,QAAQ,CAAC,kBAAkB,EAAE,kBAAkB,CAAC;IAEhD,YAAY,SAAiB;IAC7B,eAAe,cAAwB;IACvC,cAAc,UAAS;IACvB,gBAAgB,UAAS;IACzB,eAAe,CAAC,EAAE,eAAe,GAAG,SAAS,CAAC;IAC9C,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,eAAe,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,SAAS,CAAa;IAClE,wBAAwB,UAAS;gBAErB,gBAAgB,EAAE,gBAAgB;IA0B9C,iBAAiB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAIrC,kBAAkB,CAAC,GAAG,EAAE,eAAe,GAAG,SAAS,GAAG,IAAI;IAI1D,oBAAoB,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI;IAInD,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAIlC,kBAAkB,CAAC,OAAO,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,SAAS,GAAG,IAAI;IAIvE,IAAI,oBAAoB,IAAI,OAAO,CAKlC;IAEA,QAAQ,IAAI,WAAW,CAAC,IAAI,CAAC;IAyC7B,WAAW,IAAI,WAAW,CAAC,IAAI,CAAC;IAiBhC,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,WAAW,CAAC,IAAI,CAAC;CAsDjD"}
|
@@ -83,8 +83,7 @@ export class DataQualityResultState {
|
|
83
83
|
const stopWatch = new StopWatch();
|
84
84
|
promise = getDataQualityPureGraphManagerExtension(this.dataQualityState.graphManagerState.graphManager).execute(model, packagePath, this.previewLimit);
|
85
85
|
this.setQueryRunPromise(promise);
|
86
|
-
const result = (yield promise)
|
87
|
-
.executionResult;
|
86
|
+
const result = (yield promise);
|
88
87
|
if (this.queryRunPromise === promise) {
|
89
88
|
this.setExecutionResult(result);
|
90
89
|
this.latestRunHashCode = currentHashCode;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DataQualityResultState.js","sourceRoot":"","sources":["../../../src/components/states/DataQualityResultState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EACnB,2BAA2B,GAC5B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAChE,OAAO,EAEL,WAAW,EACX,iBAAiB,EACjB,QAAQ,EACR,SAAS,GACV,MAAM,sBAAsB,CAAC;AAC9B,OAAO,
|
1
|
+
{"version":3,"file":"DataQualityResultState.js","sourceRoot":"","sources":["../../../src/components/states/DataQualityResultState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EACnB,2BAA2B,GAC5B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAChE,OAAO,EAEL,WAAW,EACX,iBAAiB,EACjB,QAAQ,EACR,SAAS,GACV,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAGL,mBAAmB,GACpB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,uCAAuC,EAAE,MAAM,gFAAgF,CAAC;AAEzI,MAAM,CAAC,MAAM,aAAa,GAAG,IAAI,CAAC;AAClC,MAAM,OAAO,sBAAsB;IACxB,gBAAgB,CAAmB;IACnC,kBAAkB,CAAqB;IAEhD,YAAY,GAAG,aAAa,CAAC;IAC7B,eAAe,GAAG,WAAW,CAAC,MAAM,EAAE,CAAC;IACvC,cAAc,GAAG,KAAK,CAAC;IACvB,gBAAgB,GAAG,KAAK,CAAC;IACzB,eAAe,CAA+B;IAC9C,iBAAiB,CAAsB;IACvC,iBAAiB,CAAs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AAE,OAAO,GAAG,SAAS,CAAC;IAC7B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,EAAE,MAAM,EAAE,CAAM;IAC3B,WAAW,EAAE,eAAe,EAAE,CAAM;gBAGlC,WAAW,EAAE,WAAW,EACxB,EAAE,EAAE,MAAM,EACV,KAAK,EAAE,MAAM,EACb,QAAQ,EAAE,MAAM,GAAG,SAAS,EAC5B,kBAAkB,EACd,iCAAiC,GACjC,6BAA6B;IAoBnC,aAAa,CAAC,UAAU,EAAE,OAAO;IAIjC,sBAAsB,CAAC,MAAM,EAAE,KAAK,EAAE,mBAAmB,EAAE,MAAM,EAAE;IA6CnE,cAAc,CAAC,WAAW,EAAE,eAAe,EAAE;IAI7C,IAAI,IAAI,IAAI,IAAI,CAWf;IAED,IAAI,QAAQ,IAAI,MAAM,CASrB;CACF;AAED,MAAM,WAAW,6BACf,SAAQ,QAAQ,CAAC,iCAAiC,CAAC;IACnD,IAAI,EAAE,6BAA6B,CAAC;CACrC;AAED,eAAO,MAAM,gCAAgC,iBAC7B,MAAM,GAAG,SAAS,cACpB,MAAM,GAAG,SAAS,KAC7B,MAGC,CAAC;AA6CL,eAAO,MAAM,qBAAqB,aACtB,6BAA6B,QACjC,iCAAiC,KACtC,IAGF,CAAC;AAEF,eAAO,MAAM,4BAA4B,aAC7B,gBAAgB,gBACZ,MAAM,GAAG,SAAS,WACvB,IAAI,GAAG,SAAS,KACxB,MAGC,CAAC;
|
1
|
+
{"version":3,"file":"DataQualityGraphFetchTreeUtil.d.ts","sourceRoot":"","sources":["../../../src/components/utils/DataQualityGraphFetchTreeUtil.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EACL,KAAK,QAAQ,EAQd,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,IAAI,EAC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AAM,WAAW,6BACf,SAAQ,QAAQ,CAAC,iCAAiC,CAAC;IACnD,IAAI,EAAE,6BAA6B,CAAC;CACrC;AAED,eAAO,MAAM,gCAAgC,iBAC7B,MAAM,GAAG,SAAS,cACpB,MAAM,GAAG,SAAS,KAC7B,MAGC,CAAC;AA6CL,eAAO,MAAM,qBAAqB,aACtB,6BAA6B,QACjC,iCAAiC,KACtC,IAGF,CAAC;AAEF,eAAO,MAAM,4BAA4B,aAC7B,gBAAgB,gBACZ,MAAM,GAAG,SAAS,WACvB,IAAI,GAAG,SAAS,KACxB,MAGC,CAAC;AAkFL,eAAO,MAAM,uBAAuB,gBACrB,WAAW,QAClB,6BAA6B,eACtB,OAAO,gCACF,OAAO,cACb,OAAO,KAClB,6BA8BF,CAAC;AAEF,eAAO,MAAM,yBAAyB,aAC1B,6BAA6B,KACtC,OAA8C,CAAC;AAElD,eAAO,MAAM,6BAA6B,aAC9B,6BAA6B,KACtC,OAAwC,CAAC;AAE5C,eAAO,MAAM,qBAAqB,aACtB,6BAA6B,QACjC,iCAAiC,cAC3B,UAAU,iBACP,OAAO,KACrB,IAUF,CAAC;AAEF,eAAO,MAAM,2BAA2B,aAC5B,6BAA6B,oBACrB,QAAQ,CAAC,gCAAgC,CAAC,QAExD,wCAAwC,GACxC,oCAAoC,oBACtB,gBAAgB,KACjC,IA2JF,CAAC"}
|
@@ -151,9 +151,7 @@ const buildGraphFetchSubTree = (editorStore, tree, parentNode, nodes, fetchConst
|
|
151
151
|
const parentNodeId = parentNode?.id;
|
152
152
|
const node = new DataQualityGraphFetchTreeNodeData(editorStore, generateGraphFetchTreeNodeID(property, parentNodeId, subType), property.name, parentNodeId, tree);
|
153
153
|
node.setIsReadOnly(isReadOnly);
|
154
|
-
if (node.type instanceof Class &&
|
155
|
-
fetchConstraints &&
|
156
|
-
tree.constraints.length) {
|
154
|
+
if (node.type instanceof Class && fetchConstraints && !isReadOnly) {
|
157
155
|
node.setConstraintsForClass(node.type, tree.constraints);
|
158
156
|
}
|
159
157
|
tree.subTrees.forEach((subTree) => {
|
@@ -167,9 +165,7 @@ const buildRootGraphFetchSubTree = (editorStore, tree, parentNode, nodes, fetchC
|
|
167
165
|
const parentNodeId = parentNode?.id;
|
168
166
|
const node = new DataQualityGraphFetchTreeNodeData(editorStore, generateRootGraphFetchTreeNodeID(parentNodeId, tree.class.valueForSerialization ?? ''), tree.class.value.name, parentNodeId, tree);
|
169
167
|
node.setIsReadOnly(isReadonly);
|
170
|
-
if (node.type instanceof Class &&
|
171
|
-
fetchConstraints &&
|
172
|
-
tree.constraints.length) {
|
168
|
+
if (node.type instanceof Class && fetchConstraints && !isReadonly) {
|
173
169
|
node.setConstraintsForClass(node.type, tree.constraints);
|
174
170
|
}
|
175
171
|
tree.subTrees.forEach((subTree) => {
|
@@ -278,32 +274,19 @@ export const addQueryBuilderPropertyNode = (treeData, explorerTreeData, node, da
|
|
278
274
|
}
|
279
275
|
// construct the query builder graph fetch subtree from the starting point
|
280
276
|
if (newSubTree) {
|
281
|
-
|
282
|
-
treeData.nodes.set(childNode.id, childNode);
|
283
|
-
if (parentNode) {
|
284
|
-
addUniqueEntry(parentNode.childrenIds, childNode.id);
|
285
|
-
graphFetchTree_addSubTree(parentNode.tree, childNode.tree, dataQualityState.dataQualityQueryBuilderState.observerContext);
|
286
|
-
}
|
287
|
-
else {
|
288
|
-
//this case arises when we reach upto rootNode
|
277
|
+
if (!parentNode) {
|
289
278
|
let rootNode = treeData.nodes.get(rootNodeId);
|
290
|
-
//check if root node exists in actual tree made
|
291
279
|
if (!rootNode) {
|
292
|
-
rootNode = buildRootGraphFetchSubTree(editorStore, treeData.tree, undefined, treeData.nodes,
|
280
|
+
rootNode = buildRootGraphFetchSubTree(editorStore, treeData.tree, undefined, treeData.nodes, true, false);
|
293
281
|
addUniqueEntry(treeData.rootIds, rootNode.id);
|
294
282
|
treeData.nodes.set(rootNode.id, rootNode);
|
295
283
|
}
|
296
|
-
|
297
|
-
graphFetchTree_addSubTree(treeData.tree, childNode.tree, dataQualityState.dataQualityQueryBuilderState.observerContext);
|
284
|
+
parentNode = rootNode;
|
298
285
|
}
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
node.type instanceof Class &&
|
304
|
-
nodeToShowConstraintsFor.constraints.length === 0) {
|
305
|
-
nodeToShowConstraintsFor.setConstraintsForClass(node.type, []);
|
306
|
-
treeData.nodes.set(nodeToShowConstraintsFor.id, nodeToShowConstraintsFor);
|
286
|
+
const childNode = buildGraphFetchSubTree(editorStore, newSubTree, parentNode, treeData.nodes, true, false);
|
287
|
+
treeData.nodes.set(childNode.id, childNode);
|
288
|
+
addUniqueEntry(parentNode.childrenIds, childNode.id);
|
289
|
+
graphFetchTree_addSubTree(parentNode.tree, childNode.tree, dataQualityState.dataQualityQueryBuilderState.observerContext);
|
307
290
|
}
|
308
291
|
}
|
309
292
|
else {
|
@@ -311,14 +294,9 @@ export const addQueryBuilderPropertyNode = (treeData, explorerTreeData, node, da
|
|
311
294
|
let rootNodeFromTree = treeData.nodes.get(rootNodeId);
|
312
295
|
//check if root node already exists in data quality root graph fetch tree
|
313
296
|
if (!rootNodeFromTree) {
|
314
|
-
rootNodeFromTree = buildRootGraphFetchSubTree(editorStore, treeData.tree, undefined, treeData.nodes,
|
297
|
+
rootNodeFromTree = buildRootGraphFetchSubTree(editorStore, treeData.tree, undefined, treeData.nodes, true, false);
|
315
298
|
addUniqueEntry(treeData.rootIds, rootNodeFromTree.id);
|
316
299
|
}
|
317
|
-
//making sure root node is class type and constraints is fetch for first time
|
318
|
-
if (node.type instanceof Class &&
|
319
|
-
rootNodeFromTree.constraints.length === 0) {
|
320
|
-
rootNodeFromTree.setConstraintsForClass(node.type, []);
|
321
|
-
}
|
322
300
|
treeData.nodes.set(rootNodeFromTree.id, rootNodeFromTree);
|
323
301
|
}
|
324
302
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DataQualityGraphFetchTreeUtil.js","sourceRoot":"","sources":["../../../src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,IAAI,CAAC,IAAI,YAAY,KAAK;YAC1B,gBAAgB,CAAC,WAAW,CAAC,MAAM,KAAK,CAAC,EACzC,CAAC;YACD,gBAAgB,CAAC,sBAAsB,CAAC,IAAI,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;QACzD,CAAC;QACD,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,gBAAgB,CAAC,EAAE,EAAE,gBAAgB,CAAC,CAAC;IAC5D,CAAC;AACH,CAAC,CAAC"}
|
1
|
+
{"version":3,"file":"DataQualityGraphFetchTreeUtil.js","sourceRoot":"","sources":["../../../src/components/utils/DataQualityGraphFetchTreeUtil.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAoC,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAEL,cAAc,EACd,iBAAiB,EACjB,UAAU,EACV,WAAW,EACX,SAAS,EACT,QAAQ,EACR,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EAML,KAAK,EACL,mBAAmB,EACnB,mCAAmC,EACnC,yBAAyB,EACzB,sBAAsB,EACtB,mBAAmB,EACnB,eAAe,GAChB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,yBAAyB,EACzB,4BAA4B,EAE5B,wCAAwC,EACxC,uCAAuC,GACxC,MAAM,6BAA6B,CAAC;AAErC,OAAO,EACL,iCAAiC,EACjC,6BAA6B,GAC9B,MAAM,0FAA0F,CAAC;AAClG,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAE/D,OAAO,EAAE,2BAA2B,EAAE,MAAM,oDAAoD,CAAC;AACjG,OAAO,EACL,2CAA2C,EAC3C,gCAAgC,GACjC,MAAM,4DAA4D,CAAC;AAEpE,MAAM,OAAO,iCAAiC;IAGnC,EAAE,CAAS;IACX,KAAK,CAAS;IAC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AC,QAAQ,CAAC,EAAE,EAAE,QAAQ,CAAC,CAAC;gBAC5C,CAAC;gBACD,UAAU,GAAG,QAAQ,CAAC;YACxB,CAAC;YAED,MAAM,SAAS,GAAG,sBAAsB,CACtC,WAAW,EACX,UAAU,EACV,UAAU,EACV,QAAQ,CAAC,KAAK,EACd,IAAI,EACJ,KAAK,CACN,CAAC;YACF,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,SAAS,CAAC,EAAE,EAAE,SAAS,CAAC,CAAC;YAC5C,cAAc,CAAC,UAAU,CAAC,WAAW,EAAE,SAAS,CAAC,EAAE,CAAC,CAAC;YACrD,yBAAyB,CACvB,UAAU,CAAC,IAAI,EACf,SAAS,CAAC,IAAI,EACd,gBAAgB,CAAC,4BAA4B,CAAC,eAAe,CAC9D,CAAC;QACJ,CAAC;IACH,CAAC;SAAM,CAAC;QACN,4CAA4C;QAC5C,IAAI,gBAAgB,GAAG,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;QACtD,yEAAyE;QACzE,IAAI,CAAC,gBAAgB,EAAE,CAAC;YACtB,gBAAgB,GAAG,0BAA0B,CAC3C,WAAW,EACX,QAAQ,CAAC,IAAI,EACb,SAAS,EACT,QAAQ,CAAC,KAAK,EACd,IAAI,EACJ,KAAK,CACN,CAAC;YACF,cAAc,CAAC,QAAQ,CAAC,OAAO,EAAE,gBAAgB,CAAC,EAAE,CAAC,CAAC;QACxD,CAAC;QACD,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,gBAAgB,CAAC,EAAE,EAAE,gBAAgB,CAAC,CAAC;IAC5D,CAAC;AACH,CAAC,CAAC"}
|
package/lib/index.css
CHANGED
package/lib/package.json
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@finos/legend-extension-dsl-data-quality",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.24",
|
4
4
|
"description": "Legend extension for Data Quality",
|
5
5
|
"keywords": [
|
6
6
|
"legend",
|
@@ -43,12 +43,12 @@
|
|
43
43
|
},
|
44
44
|
"dependencies": {
|
45
45
|
"@finos/legend-application": "15.1.24",
|
46
|
-
"@finos/legend-application-studio": "28.18.
|
46
|
+
"@finos/legend-application-studio": "28.18.21",
|
47
47
|
"@finos/legend-art": "7.1.51",
|
48
|
-
"@finos/legend-extension-dsl-data-space": "10.3.
|
48
|
+
"@finos/legend-extension-dsl-data-space": "10.3.57",
|
49
49
|
"@finos/legend-graph": "31.10.23",
|
50
50
|
"@finos/legend-lego": "1.2.60",
|
51
|
-
"@finos/legend-query-builder": "4.14.
|
51
|
+
"@finos/legend-query-builder": "4.14.79",
|
52
52
|
"@finos/legend-shared": "10.0.52",
|
53
53
|
"@finos/legend-storage": "3.0.102",
|
54
54
|
"@types/react": "18.3.3",
|
@@ -31,7 +31,6 @@ import {
|
|
31
31
|
import {
|
32
32
|
type RawExecutionPlan,
|
33
33
|
type ExecutionResult,
|
34
|
-
type ExecutionResultWithMetadata,
|
35
34
|
GRAPH_MANAGER_EVENT,
|
36
35
|
} from '@finos/legend-graph';
|
37
36
|
import { getDataQualityPureGraphManagerExtension } from '../../graph-manager/protocol/pure/DSL_DataQuality_PureGraphManagerExtension.js';
|
@@ -120,8 +119,7 @@ export class DataQualityResultState {
|
|
120
119
|
).execute(model, packagePath, this.previewLimit);
|
121
120
|
|
122
121
|
this.setQueryRunPromise(promise);
|
123
|
-
const result = (
|
124
|
-
.executionResult;
|
122
|
+
const result = (yield promise) as ExecutionResult;
|
125
123
|
|
126
124
|
if (this.queryRunPromise === promise) {
|
127
125
|
this.setExecutionResult(result);
|
@@ -278,11 +278,7 @@ const buildGraphFetchSubTree = (
|
|
278
278
|
tree,
|
279
279
|
);
|
280
280
|
node.setIsReadOnly(isReadOnly);
|
281
|
-
if (
|
282
|
-
node.type instanceof Class &&
|
283
|
-
fetchConstraints &&
|
284
|
-
tree.constraints.length
|
285
|
-
) {
|
281
|
+
if (node.type instanceof Class && fetchConstraints && !isReadOnly) {
|
286
282
|
node.setConstraintsForClass(node.type, tree.constraints);
|
287
283
|
}
|
288
284
|
tree.subTrees.forEach((subTree) => {
|
@@ -320,11 +316,7 @@ const buildRootGraphFetchSubTree = (
|
|
320
316
|
tree,
|
321
317
|
);
|
322
318
|
node.setIsReadOnly(isReadonly);
|
323
|
-
if (
|
324
|
-
node.type instanceof Class &&
|
325
|
-
fetchConstraints &&
|
326
|
-
tree.constraints.length
|
327
|
-
) {
|
319
|
+
if (node.type instanceof Class && fetchConstraints && !isReadonly) {
|
328
320
|
node.setConstraintsForClass(node.type, tree.constraints);
|
329
321
|
}
|
330
322
|
tree.subTrees.forEach((subTree) => {
|
@@ -517,58 +509,38 @@ export const addQueryBuilderPropertyNode = (
|
|
517
509
|
|
518
510
|
// construct the query builder graph fetch subtree from the starting point
|
519
511
|
if (newSubTree) {
|
520
|
-
|
521
|
-
editorStore,
|
522
|
-
newSubTree,
|
523
|
-
parentNode,
|
524
|
-
treeData.nodes,
|
525
|
-
false,
|
526
|
-
false,
|
527
|
-
);
|
528
|
-
treeData.nodes.set(childNode.id, childNode);
|
529
|
-
if (parentNode) {
|
530
|
-
addUniqueEntry(parentNode.childrenIds, childNode.id);
|
531
|
-
graphFetchTree_addSubTree(
|
532
|
-
parentNode.tree,
|
533
|
-
childNode.tree,
|
534
|
-
dataQualityState.dataQualityQueryBuilderState.observerContext,
|
535
|
-
);
|
536
|
-
} else {
|
537
|
-
//this case arises when we reach upto rootNode
|
512
|
+
if (!parentNode) {
|
538
513
|
let rootNode = treeData.nodes.get(rootNodeId);
|
539
|
-
//check if root node exists in actual tree made
|
540
514
|
if (!rootNode) {
|
541
515
|
rootNode = buildRootGraphFetchSubTree(
|
542
516
|
editorStore,
|
543
517
|
treeData.tree,
|
544
518
|
undefined,
|
545
519
|
treeData.nodes,
|
546
|
-
|
520
|
+
true,
|
547
521
|
false,
|
548
522
|
);
|
549
523
|
addUniqueEntry(treeData.rootIds, rootNode.id);
|
550
524
|
treeData.nodes.set(rootNode.id, rootNode);
|
551
525
|
}
|
552
|
-
|
553
|
-
graphFetchTree_addSubTree(
|
554
|
-
treeData.tree,
|
555
|
-
childNode.tree,
|
556
|
-
dataQualityState.dataQualityQueryBuilderState.observerContext,
|
557
|
-
);
|
526
|
+
parentNode = rootNode;
|
558
527
|
}
|
559
|
-
}
|
560
528
|
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
529
|
+
const childNode = buildGraphFetchSubTree(
|
530
|
+
editorStore,
|
531
|
+
newSubTree,
|
532
|
+
parentNode,
|
533
|
+
treeData.nodes,
|
534
|
+
true,
|
535
|
+
false,
|
536
|
+
);
|
537
|
+
treeData.nodes.set(childNode.id, childNode);
|
538
|
+
addUniqueEntry(parentNode.childrenIds, childNode.id);
|
539
|
+
graphFetchTree_addSubTree(
|
540
|
+
parentNode.tree,
|
541
|
+
childNode.tree,
|
542
|
+
dataQualityState.dataQualityQueryBuilderState.observerContext,
|
543
|
+
);
|
572
544
|
}
|
573
545
|
} else {
|
574
546
|
//this case arises when root node is dragged
|
@@ -580,18 +552,11 @@ export const addQueryBuilderPropertyNode = (
|
|
580
552
|
treeData.tree,
|
581
553
|
undefined,
|
582
554
|
treeData.nodes,
|
583
|
-
|
555
|
+
true,
|
584
556
|
false,
|
585
557
|
);
|
586
558
|
addUniqueEntry(treeData.rootIds, rootNodeFromTree.id);
|
587
559
|
}
|
588
|
-
//making sure root node is class type and constraints is fetch for first time
|
589
|
-
if (
|
590
|
-
node.type instanceof Class &&
|
591
|
-
rootNodeFromTree.constraints.length === 0
|
592
|
-
) {
|
593
|
-
rootNodeFromTree.setConstraintsForClass(node.type, []);
|
594
|
-
}
|
595
560
|
treeData.nodes.set(rootNodeFromTree.id, rootNodeFromTree);
|
596
561
|
}
|
597
562
|
};
|