@finos/legend-extension-dsl-data-quality 1.0.0 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -34,6 +34,7 @@ export declare class DataQualityGraphFetchTreeNodeData implements TreeNodeData,
34
34
  constructor(editorStore: EditorStore, id: string, label: string, parentId: string | undefined, graphFetchTreeNode: DataQualityPropertyGraphFetchTree | DataQualityRootGraphFetchTree);
35
35
  setIsReadOnly(isReadOnly: boolean): void;
36
36
  setConstraintsForClass(_class: Class, constraintsToSelect: string[]): void;
37
+ setConstraints(constraints: ConstraintState[]): void;
37
38
  get type(): Type;
38
39
  get hashCode(): string;
39
40
  }
@@ -1 +1 @@
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,EACT,KAAK,UAAU,EAGf,KAAK,EAON,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,gCAAgC,EAGrC,KAAK,oCAAoC,EACzC,wCAAwC,EAEzC,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EACL,iCAAiC,EACjC,6BAA6B,EAC9B,MAAM,0FAA0F,CAAC;AAClG,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAOpE,qBAAa,iCACX,YAAW,YAAY,EAAE,QAAQ;IAEjC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC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,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,IAsLF,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,EACT,KAAK,UAAU,EAGf,KAAK,EAON,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,gCAAgC,EAGrC,KAAK,oCAAoC,EACzC,wCAAwC,EAEzC,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EACL,iCAAiC,EACjC,6BAA6B,EAC9B,MAAM,0FAA0F,CAAC;AAClG,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAOpE,qBAAa,iCACX,YAAW,YAAY,EAAE,QAAQ;IAEjC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,IAAI,EACT,iCAAiC,GACjC,6BAA6B,CAAC;IAClC,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,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M,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,IAsLF,CAAC"}
@@ -38,6 +38,7 @@ export class DataQualityGraphFetchTreeNodeData {
38
38
  constraints: observable,
39
39
  isReadOnly: observable,
40
40
  setConstraintsForClass: action,
41
+ setConstraints: action,
41
42
  setIsReadOnly: action,
42
43
  });
43
44
  this.id = id;
@@ -72,7 +73,7 @@ export class DataQualityGraphFetchTreeNodeData {
72
73
  const constraintState = index.get(key);
73
74
  constraintState?.setLambdaString(constraintState.extractLambdaString(grammarText));
74
75
  });
75
- this.constraints = constraints;
76
+ this.setConstraints(constraints);
76
77
  })
77
78
  .catch((error) => {
78
79
  assertErrorThrown(error);
@@ -80,6 +81,9 @@ export class DataQualityGraphFetchTreeNodeData {
80
81
  });
81
82
  }
82
83
  }
84
+ setConstraints(constraints) {
85
+ this.constraints = constraints;
86
+ }
83
87
  get type() {
84
88
  if (this.tree instanceof DataQualityPropertyGraphFetchTree) {
85
89
  return this.tree.property.value.genericType.value.rawType;
@@ -1 +1 @@
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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C,EAAE,EAAE,CAC3B,CAAC;QACF,iGAAiG;QACjG,IACE,wBAAwB;YACxB,IAAI,CAAC,IAAI,YAAY,KAAK;YAC1B,wBAAwB,CAAC,WAAW,CAAC,MAAM,KAAK,CAAC,EACjD,CAAC;YACD,wBAAwB,CAAC,sBAAsB,CAAC,IAAI,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;YAC/D,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,wBAAwB,CAAC,EAAE,EAAE,wBAAwB,CAAC,CAAC;QAC5E,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,KAAK,EACL,KAAK,CACN,CAAC;YACF,cAAc,CAAC,QAAQ,CAAC,OAAO,EAAE,gBAAgB,CAAC,EAAE,CAAC,CAAC;QACxD,CAAC;QACD,6EAA6E;QAC7E,IACE,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,C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AAC,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"}
@@ -13,7 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { type AbstractPureGraphManager, type RawExecutionPlan, type ExecutionResult, type PureModel, type RootGraphFetchTree, type V1_PureModelContext, PureClientVersion, V1_PureGraphManager } from '@finos/legend-graph';
16
+ import { type AbstractPureGraphManager, type ExecutionResult, type PureModel, type RawExecutionPlan, type RootGraphFetchTree, type V1_PureModelContext, PureClientVersion, V1_PureGraphManager } from '@finos/legend-graph';
17
17
  import { SerializationFactory } from '@finos/legend-shared';
18
18
  import { DSL_DataQuality_PureGraphManagerExtension } from '../DSL_DataQuality_PureGraphManagerExtension.js';
19
19
  export declare class V1_DQExecuteInput {
@@ -29,6 +29,8 @@ export declare class V1_DSL_Data_Quality_PureGraphManagerExtension extends DSL_D
29
29
  constructor(graphManager: AbstractPureGraphManager);
30
30
  getSupportedProtocolVersion(): string;
31
31
  private buildPureModelSDLCPointer;
32
+ private executeValidation;
33
+ private runValidationAndReturnString;
32
34
  createExecutionInput(graph: PureModel, packagePath: string, clientVersion: string | undefined, previewLimit: number | undefined, dqExecuteInput: V1_DQExecuteInput): V1_DQExecuteInput;
33
35
  generatePlan: (graph: PureModel, packagePath: string) => Promise<RawExecutionPlan>;
34
36
  execute: (graph: PureModel, packagePath: string, previewLimit: number) => Promise<ExecutionResult>;
@@ -1 +1 @@
1
- {"version":3,"file":"V1_DSL_Data_Quality_PureGraphManagerExtension.d.ts","sourceRoot":"","sources":["../../../../../src/graph-manager/protocol/pure/v1/V1_DSL_Data_Quality_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL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CAAC,kBAAkB,CAAC,CAwC5B;CACH"}
1
+ {"version":3,"file":"V1_DSL_Data_Quality_PureGraphManagerExtension.d.ts","sourceRoot":"","sources":["../../../../../src/graph-manager/protocol/pure/v1/V1_DSL_Data_Quality_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,wBAAwB,EAC7B,KAAK,eAAe,EAEpB,KAAK,SAAS,EACd,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EAEvB,KAAK,mBAAmB,EAGxB,iBAAiB,EAQjB,mBAAmB,EAIpB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAML,oBAAoB,EAErB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,yCAAyC,EAAE,MAAM,iDAAiD,CAAC;AAY5G,qBAAa,iBAAiB;IAC5B,aAAa,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,KAAK,EAAG,mBAAmB,CAAC;IAC5B,WAAW,EAAG,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,GAAG,SAAS,CAAC;IAE/B,MAAM,CAAC,QAAQ,CAAC,aAAa,0CAO3B;CACH;AAED,qBAAa,6CAA8C,SAAQ,yCAAyC;IAClG,YAAY,EAAE,mBAAmB,CAAC;IAC1C,MAAM,CAAC,QAAQ,CAAC,oBAAoB,4BAA4B;gBAEpD,YAAY,EAAE,wBAAwB;IAKlD,2BAA2B,IAAI,MAAM;IAIrC,OAAO,CAAC,yBAAyB;IAkBjC,OAAO,CAAC,iBAAiB,CAmBvB;YAEY,4BAA4B;IAa1C,oBAAoB,CAClB,KAAK,EAAE,SAAS,EAChB,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,MAAM,GAAG,SAAS,EACjC,YAAY,EAAE,MAAM,GAAG,SAAS,EAChC,cAAc,EAAE,iBAAiB,GAChC,iBAAiB;IAUpB,YAAY,UACH,SAAS,eACH,MAAM,KAClB,OAAO,CAAC,gBAAgB,CAAC,CAsB1B;IAEF,OAAO,UACE,SAAS,eACH,MAAM,gBACL,MAAM,KACnB,OAAO,CAAC,eAAe,CAAC,CAiCzB;IAEF,4BAA4B,UACnB,SAAS,eACH,MAAM,KAClB,OAAO,CAAC;QAAE,IAAI,EAAE,gBAAgB,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CA0BnD;IAEF,0BAA0B,UACjB,SAAS,eACH,MAAM,KAClB,OAAO,CAAC,kBAAkB,CAAC,CAwC5B;CACH"}
@@ -13,11 +13,11 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { LegendSDLC, PureClientVersion, V1_GraphBuilderContextBuilder, V1_LegendSDLC, V1_ProcessingContext, V1_Protocol, V1_PureGraphManager, V1_PureModelContextPointer, V1_pureModelContextPropSchema, } from '@finos/legend-graph';
16
+ import { LegendSDLC, PureClientVersion, V1_buildExecutionError, V1_buildExecutionResult, V1_ExecutionError, V1_GraphBuilderContextBuilder, V1_LegendSDLC, V1_ProcessingContext, V1_Protocol, V1_PureGraphManager, V1_PureModelContextPointer, V1_pureModelContextPropSchema, V1_serializeExecutionResult, } from '@finos/legend-graph';
17
17
  import { createModelSchema, optional, primitive } from 'serializr';
18
- import { guaranteeType, SerializationFactory, UnsupportedOperationError, } from '@finos/legend-shared';
18
+ import { assertErrorThrown, guaranteeType, NetworkClientError, returnUndefOnError, SerializationFactory, UnsupportedOperationError, } from '@finos/legend-shared';
19
19
  import { DSL_DataQuality_PureGraphManagerExtension } from '../DSL_DataQuality_PureGraphManagerExtension.js';
20
- import { V1_transformRootGraphFetchTreeToDataQualityRootGraphFetchTree, V1_buildDataQualityGraphFetchTree, } from './transformation/V1_ValueSpecificationBuilderHelper.js';
20
+ import { V1_buildDataQualityGraphFetchTree, V1_transformRootGraphFetchTreeToDataQualityRootGraphFetchTree, } from './transformation/V1_ValueSpecificationBuilderHelper.js';
21
21
  const DQ_GENERATE_EXECUTION_PLAN = 'generate execution plan';
22
22
  const DQ_EXECUTE_PLAN = 'execute plan';
23
23
  const DQ_DEBUG_EXECUTION_PLAN = 'debug execution plan';
@@ -51,6 +51,17 @@ export class V1_DSL_Data_Quality_PureGraphManagerExtension extends DSL_DataQuali
51
51
  }
52
52
  throw new UnsupportedOperationError('Unsupported graph origin');
53
53
  }
54
+ executeValidation = (input, options) => {
55
+ const engineServerClient = this.graphManager.engine.getEngineServerClient();
56
+ return engineServerClient.postWithTracing(engineServerClient.getTraceData(DQ_EXECUTE_PLAN), `${engineServerClient._pure()}/dataquality/execute`, input, {}, undefined, undefined, { enableCompression: true }, {
57
+ skipProcessing: Boolean(options?.returnAsResponse),
58
+ });
59
+ };
60
+ async runValidationAndReturnString(input) {
61
+ return (await this.executeValidation(V1_DQExecuteInput.serialization.toJson(input), {
62
+ returnAsResponse: true,
63
+ })).text();
64
+ }
54
65
  createExecutionInput(graph, packagePath, clientVersion, previewLimit, dqExecuteInput) {
55
66
  dqExecuteInput.clientVersion = clientVersion;
56
67
  dqExecuteInput.model = graph.origin
@@ -68,9 +79,19 @@ export class V1_DSL_Data_Quality_PureGraphManagerExtension extends DSL_DataQuali
68
79
  };
69
80
  execute = async (graph, packagePath, previewLimit) => {
70
81
  const input = this.createExecutionInput(graph, packagePath, V1_DSL_Data_Quality_PureGraphManagerExtension.DEV_PROTOCOL_VERSION, previewLimit, new V1_DQExecuteInput());
71
- const serializedInput = V1_DQExecuteInput.serialization.toJson(input);
72
- const engineServerClient = this.graphManager.engine.getEngineServerClient();
73
- return engineServerClient.postWithTracing(engineServerClient.getTraceData(DQ_EXECUTE_PLAN), `${engineServerClient._pure()}/dataquality/execute`, serializedInput, {}, undefined, undefined, { enableCompression: true });
82
+ try {
83
+ const validationResultInText = await this.runValidationAndReturnString(input);
84
+ const rawExecutionResult = returnUndefOnError(() => this.graphManager.engine.parseExecutionResults(validationResultInText, undefined)) ?? validationResultInText;
85
+ const v1_executionResult = V1_serializeExecutionResult(rawExecutionResult);
86
+ return V1_buildExecutionResult(v1_executionResult);
87
+ }
88
+ catch (error) {
89
+ assertErrorThrown(error);
90
+ if (error instanceof NetworkClientError) {
91
+ throw V1_buildExecutionError(V1_ExecutionError.serialization.fromJson(error.payload));
92
+ }
93
+ throw error;
94
+ }
74
95
  };
75
96
  debugExecutionPlanGeneration = async (graph, packagePath) => {
76
97
  const input = this.createExecutionInput(graph, packagePath, V1_DSL_Data_Quality_PureGraphManagerExtension.DEV_PROTOCOL_VERSION, undefined, new V1_DQExecuteInput());
@@ -1 +1 @@
1
- {"version":3,"file":"V1_DSL_Data_Quality_PureGraphManagerExtension.js","sourceRoot":"","sources":["../../../../../src/graph-manager/protocol/pure/v1/V1_DSL_Data_Quality_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EASL,UAAU,EACV,iBAAiB,EACjB,6BAA6B,EAC7B,aAAa,EACb,oBAAoB,EACpB,WAAW,EACX,mBAAmB,EACnB,0BAA0B,EAC1B,6BAA6B,GAC9B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,iBAAiB,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACnE,OAAO,EACL,aAAa,EACb,oBAAoB,EACpB,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,yCAAyC,EAAE,MAAM,iDAAiD,CAAC;AAC5G,OAAO,EACL,6DAA6D,EAC7D,iCAAiC,GAClC,MAAM,wDAAwD,CAAC;AAGhE,MAAM,0BAA0B,GAAG,yBAAyB,CAAC;AAC7D,MAAM,eAAe,GAAG,cAAc,CAAC;AACvC,MAAM,uBAAuB,GAAG,sBAAsB,CAAC;AACvD,MAAM,2BAA2B,GAAG,6BAA6B,CAAC;AAElE,MAAM,OAAO,iBAAiB;IAC5B,aAAa,CAAqB;IAClC,KAAK,CAAuB;IAC5B,WAAW,CAAU;IACrB,UAAU,CAAqB;IAE/B,MAAM,CAAU,aAAa,GAAG,IAAI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,iBAAiB,CAAC,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QACtE,MAAM,qBAAqB,GACzB,MAAM,kBAAkB,CAAC,eAAe,CACtC,kBAAkB,CAAC,YAAY,CAAC,2BAA2B,CAAC,EAC5D,GAAG,kBAAkB,CAAC,KAAK,EAAE,+BAA+B,EAC5D,eAAe,EACf,EAAE,EACF,SAAS,EACT,SAAS,EACT,EAAE,iBAAiB,EAAE,IAAI,EAAE,CAC5B,CAAC;QAEJ,MAAM,gCAAgC,GACpC,6DAA6D,CAC3D,qBAAqB,CACtB,CAAC;QACJ,MAAM,OAAO,GAAG,IAAI,6BAA6B,CAC/C,KAAK,EACL,KAAK,EACL,IAAI,CAAC,YAAY,CAAC,sBAAsB,EACxC,IAAI,CAAC,YAAY,CAAC,UAAU,CAC7B,CAAC,KAAK,EAAE,CAAC;QACV,OAAO,iCAAiC,CACtC,gCAAgC,EAChC,OAAO,EACP,SAAS,EACT,EAAE,EACF,IAAI,oBAAoB,CAAC,EAAE,CAAC,EAC5B,IAAI,CAC4B,CAAC;IACrC,CAAC,CAAC"}
1
+ {"version":3,"file":"V1_DSL_Data_Quality_PureGraphManagerExtension.js","sourceRoot":"","sources":["../../../../../src/graph-manager/protocol/pure/v1/V1_DSL_Data_Quality_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAUL,UAAU,EACV,iBAAiB,EACjB,sBAAsB,EACtB,uBAAuB,EACvB,iBAAiB,EACjB,6BAA6B,EAC7B,aAAa,EACb,oBAAoB,EACpB,WAAW,EACX,mBAAmB,EACnB,0BAA0B,EAC1B,6BAA6B,EAC7B,2BAA2B,GAC5B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,iBAAiB,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACnE,OAAO,EAEL,iBAAiB,EACjB,aAAa,EACb,kBAAkB,EAClB,kBAAkB,EAClB,oBAAoB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MAAM,KAAK,GAAG,IAAI,CAAC,oBAAoB,CACrC,KAAK,EACL,WAAW,EACX,6CAA6C,CAAC,oBAAoB,EAClE,SAAS,EACT,IAAI,iBAAiB,EAAE,CACxB,CAAC;QAEF,MAAM,eAAe,GAAG,iBAAiB,CAAC,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QACtE,MAAM,qBAAqB,GACzB,MAAM,kBAAkB,CAAC,eAAe,CACtC,kBAAkB,CAAC,YAAY,CAAC,2BAA2B,CAAC,EAC5D,GAAG,kBAAkB,CAAC,KAAK,EAAE,+BAA+B,EAC5D,eAAe,EACf,EAAE,EACF,SAAS,EACT,SAAS,EACT,EAAE,iBAAiB,EAAE,IAAI,EAAE,CAC5B,CAAC;QAEJ,MAAM,gCAAgC,GACpC,6DAA6D,CAC3D,qBAAqB,CACtB,CAAC;QACJ,MAAM,OAAO,GAAG,IAAI,6BAA6B,CAC/C,KAAK,EACL,KAAK,EACL,IAAI,CAAC,YAAY,CAAC,sBAAsB,EACxC,IAAI,CAAC,YAAY,CAAC,UAAU,CAC7B,CAAC,KAAK,EAAE,CAAC;QACV,OAAO,iCAAiC,CACtC,gCAAgC,EAChC,OAAO,EACP,SAAS,EACT,EAAE,EACF,IAAI,oBAAoB,CAAC,EAAE,CAAC,EAC5B,IAAI,CAC4B,CAAC;IACrC,CAAC,CAAC"}
package/lib/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /** @license @finos/legend-extension-dsl-data-quality v1.0.0
1
+ /** @license @finos/legend-extension-dsl-data-quality v1.0.2
2
2
  * Copyright (c) 2020-present, Goldman Sachs
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-extension-dsl-data-quality",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Legend extension for Data Quality",
5
5
  "keywords": [
6
6
  "legend",
@@ -53,7 +53,7 @@
53
53
  "@finos/legend-storage": "workspace:*",
54
54
  "@types/react": "18.3.3",
55
55
  "@types/react-dom": "18.3.0",
56
- "mobx": "6.12.3",
56
+ "mobx": "6.13.0",
57
57
  "mobx-react-lite": "4.0.7",
58
58
  "react": "18.3.1",
59
59
  "react-dnd": "16.0.1",
@@ -67,9 +67,9 @@
67
67
  "eslint": "8.57.0",
68
68
  "jest": "29.7.0",
69
69
  "npm-run-all": "4.1.5",
70
- "rimraf": "5.0.7",
71
- "sass": "1.77.4",
72
- "typescript": "5.4.5"
70
+ "rimraf": "6.0.0",
71
+ "sass": "1.77.7",
72
+ "typescript": "5.5.3"
73
73
  },
74
74
  "peerDependencies": {
75
75
  "react": "^18.0.0"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-extension-dsl-data-quality",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Legend extension for Data Quality",
5
5
  "keywords": [
6
6
  "legend",
@@ -42,18 +42,18 @@
42
42
  "test:watch": "jest --watch"
43
43
  },
44
44
  "dependencies": {
45
- "@finos/legend-application": "15.1.13",
46
- "@finos/legend-application-studio": "28.17.17",
47
- "@finos/legend-art": "7.1.41",
48
- "@finos/legend-extension-dsl-data-space": "10.3.34",
49
- "@finos/legend-graph": "31.10.8",
50
- "@finos/legend-lego": "1.2.44",
51
- "@finos/legend-query-builder": "4.14.56",
52
- "@finos/legend-shared": "10.0.43",
53
- "@finos/legend-storage": "3.0.93",
45
+ "@finos/legend-application": "15.1.15",
46
+ "@finos/legend-application-studio": "28.18.0",
47
+ "@finos/legend-art": "7.1.43",
48
+ "@finos/legend-extension-dsl-data-space": "10.3.36",
49
+ "@finos/legend-graph": "31.10.10",
50
+ "@finos/legend-lego": "1.2.46",
51
+ "@finos/legend-query-builder": "4.14.58",
52
+ "@finos/legend-shared": "10.0.45",
53
+ "@finos/legend-storage": "3.0.95",
54
54
  "@types/react": "18.3.3",
55
55
  "@types/react-dom": "18.3.0",
56
- "mobx": "6.12.3",
56
+ "mobx": "6.13.0",
57
57
  "mobx-react-lite": "4.0.7",
58
58
  "react": "18.3.1",
59
59
  "react-dnd": "16.0.1",
@@ -61,15 +61,15 @@
61
61
  "serializr": "3.0.2"
62
62
  },
63
63
  "devDependencies": {
64
- "@finos/legend-dev-utils": "2.1.11",
64
+ "@finos/legend-dev-utils": "2.1.13",
65
65
  "@jest/globals": "29.7.0",
66
66
  "cross-env": "7.0.3",
67
67
  "eslint": "8.57.0",
68
68
  "jest": "29.7.0",
69
69
  "npm-run-all": "4.1.5",
70
- "rimraf": "5.0.7",
71
- "sass": "1.77.4",
72
- "typescript": "5.4.5"
70
+ "rimraf": "6.0.0",
71
+ "sass": "1.77.7",
72
+ "typescript": "5.5.3"
73
73
  },
74
74
  "peerDependencies": {
75
75
  "react": "^18.0.0"
@@ -90,6 +90,7 @@ export class DataQualityGraphFetchTreeNodeData
90
90
  constraints: observable,
91
91
  isReadOnly: observable,
92
92
  setConstraintsForClass: action,
93
+ setConstraints: action,
93
94
  setIsReadOnly: action,
94
95
  });
95
96
 
@@ -139,7 +140,7 @@ export class DataQualityGraphFetchTreeNodeData
139
140
  constraintState.extractLambdaString(grammarText),
140
141
  );
141
142
  });
142
- this.constraints = constraints;
143
+ this.setConstraints(constraints);
143
144
  })
144
145
  .catch((error) => {
145
146
  assertErrorThrown(error);
@@ -151,6 +152,10 @@ export class DataQualityGraphFetchTreeNodeData
151
152
  }
152
153
  }
153
154
 
155
+ setConstraints(constraints: ConstraintState[]) {
156
+ this.constraints = constraints;
157
+ }
158
+
154
159
  get type(): Type {
155
160
  if (this.tree instanceof DataQualityPropertyGraphFetchTree) {
156
161
  return this.tree.property.value.genericType.value.rawType;
@@ -16,15 +16,19 @@
16
16
 
17
17
  import {
18
18
  type AbstractPureGraphManager,
19
- type RawExecutionPlan,
20
19
  type ExecutionResult,
20
+ type GraphDataOrigin,
21
21
  type PureModel,
22
+ type RawExecutionPlan,
22
23
  type RootGraphFetchTree,
23
- type GraphDataOrigin,
24
- type V1_RootGraphFetchTree,
24
+ type V1_ExecutionResult,
25
25
  type V1_PureModelContext,
26
+ type V1_RootGraphFetchTree,
26
27
  LegendSDLC,
27
28
  PureClientVersion,
29
+ V1_buildExecutionError,
30
+ V1_buildExecutionResult,
31
+ V1_ExecutionError,
28
32
  V1_GraphBuilderContextBuilder,
29
33
  V1_LegendSDLC,
30
34
  V1_ProcessingContext,
@@ -32,17 +36,22 @@ import {
32
36
  V1_PureGraphManager,
33
37
  V1_PureModelContextPointer,
34
38
  V1_pureModelContextPropSchema,
39
+ V1_serializeExecutionResult,
35
40
  } from '@finos/legend-graph';
36
41
  import { createModelSchema, optional, primitive } from 'serializr';
37
42
  import {
43
+ type PlainObject,
44
+ assertErrorThrown,
38
45
  guaranteeType,
46
+ NetworkClientError,
47
+ returnUndefOnError,
39
48
  SerializationFactory,
40
49
  UnsupportedOperationError,
41
50
  } from '@finos/legend-shared';
42
51
  import { DSL_DataQuality_PureGraphManagerExtension } from '../DSL_DataQuality_PureGraphManagerExtension.js';
43
52
  import {
44
- V1_transformRootGraphFetchTreeToDataQualityRootGraphFetchTree,
45
53
  V1_buildDataQualityGraphFetchTree,
54
+ V1_transformRootGraphFetchTreeToDataQualityRootGraphFetchTree,
46
55
  } from './transformation/V1_ValueSpecificationBuilderHelper.js';
47
56
  import type { DataQualityRootGraphFetchTree } from '../../../../graph/metamodel/pure/packageableElements/data-quality/DataQualityGraphFetchTree.js';
48
57
 
@@ -98,6 +107,40 @@ export class V1_DSL_Data_Quality_PureGraphManagerExtension extends DSL_DataQuali
98
107
  throw new UnsupportedOperationError('Unsupported graph origin');
99
108
  }
100
109
 
110
+ private executeValidation = (
111
+ input: PlainObject<V1_DQExecuteInput>,
112
+ options?: {
113
+ returnAsResponse?: boolean;
114
+ },
115
+ ): Promise<PlainObject<V1_ExecutionResult> | Response> => {
116
+ const engineServerClient = this.graphManager.engine.getEngineServerClient();
117
+ return engineServerClient.postWithTracing(
118
+ engineServerClient.getTraceData(DQ_EXECUTE_PLAN),
119
+ `${engineServerClient._pure()}/dataquality/execute`,
120
+ input,
121
+ {},
122
+ undefined,
123
+ undefined,
124
+ { enableCompression: true },
125
+ {
126
+ skipProcessing: Boolean(options?.returnAsResponse),
127
+ },
128
+ );
129
+ };
130
+
131
+ private async runValidationAndReturnString(
132
+ input: V1_DQExecuteInput,
133
+ ): Promise<string> {
134
+ return (
135
+ (await this.executeValidation(
136
+ V1_DQExecuteInput.serialization.toJson(input),
137
+ {
138
+ returnAsResponse: true,
139
+ },
140
+ )) as Response
141
+ ).text();
142
+ }
143
+
101
144
  createExecutionInput(
102
145
  graph: PureModel,
103
146
  packagePath: string,
@@ -154,18 +197,30 @@ export class V1_DSL_Data_Quality_PureGraphManagerExtension extends DSL_DataQuali
154
197
  new V1_DQExecuteInput(),
155
198
  );
156
199
 
157
- const serializedInput = V1_DQExecuteInput.serialization.toJson(input);
158
- const engineServerClient = this.graphManager.engine.getEngineServerClient();
159
-
160
- return engineServerClient.postWithTracing(
161
- engineServerClient.getTraceData(DQ_EXECUTE_PLAN),
162
- `${engineServerClient._pure()}/dataquality/execute`,
163
- serializedInput,
164
- {},
165
- undefined,
166
- undefined,
167
- { enableCompression: true },
168
- );
200
+ try {
201
+ const validationResultInText =
202
+ await this.runValidationAndReturnString(input);
203
+ const rawExecutionResult =
204
+ returnUndefOnError(() =>
205
+ this.graphManager.engine.parseExecutionResults(
206
+ validationResultInText,
207
+ undefined,
208
+ ),
209
+ ) ?? validationResultInText;
210
+ const v1_executionResult =
211
+ V1_serializeExecutionResult(rawExecutionResult);
212
+ return V1_buildExecutionResult(v1_executionResult);
213
+ } catch (error) {
214
+ assertErrorThrown(error);
215
+ if (error instanceof NetworkClientError) {
216
+ throw V1_buildExecutionError(
217
+ V1_ExecutionError.serialization.fromJson(
218
+ error.payload as PlainObject<V1_ExecutionError>,
219
+ ),
220
+ );
221
+ }
222
+ throw error;
223
+ }
169
224
  };
170
225
 
171
226
  debugExecutionPlanGeneration = async (
package/tsconfig.json CHANGED
@@ -132,6 +132,6 @@
132
132
  "src/**/*.json"
133
133
  ],
134
134
  "exclude": [
135
- "lib"
135
+ "/home/runner/work/legend-studio/legend-studio/packages/legend-extension-dsl-data-quality/lib"
136
136
  ]
137
137
  }