@finos/legend-extension-dsl-data-quality 1.0.61 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (178) hide show
  1. package/lib/components/{DSL_DataQuality_ClassElementDriver.d.ts → DSL_DataQuality_ElementDriver.d.ts} +17 -7
  2. package/lib/components/DSL_DataQuality_ElementDriver.d.ts.map +1 -0
  3. package/lib/components/{DSL_DataQuality_ClassElementDriver.js → DSL_DataQuality_ElementDriver.js} +70 -23
  4. package/lib/components/DSL_DataQuality_ElementDriver.js.map +1 -0
  5. package/lib/components/DSL_DataQuality_LegendStudioApplicationPlugin.d.ts.map +1 -1
  6. package/lib/components/DSL_DataQuality_LegendStudioApplicationPlugin.js +20 -39
  7. package/lib/components/DSL_DataQuality_LegendStudioApplicationPlugin.js.map +1 -1
  8. package/lib/components/{DSL_NewDataQualityClassValidationElement.d.ts → DSL_NewDataQualityValidationElement.d.ts} +2 -2
  9. package/lib/components/DSL_NewDataQualityValidationElement.d.ts.map +1 -0
  10. package/lib/components/DSL_NewDataQualityValidationElement.js +80 -0
  11. package/lib/components/DSL_NewDataQualityValidationElement.js.map +1 -0
  12. package/lib/components/DataQualityRelationTrialRuns.d.ts +22 -0
  13. package/lib/components/DataQualityRelationTrialRuns.d.ts.map +1 -0
  14. package/lib/components/DataQualityRelationTrialRuns.js +87 -0
  15. package/lib/components/DataQualityRelationTrialRuns.js.map +1 -0
  16. package/lib/components/{DSL_NewDataQualityServiceValidationElement.d.ts → DataQualityRelationValidationConfigurationEditor.d.ts} +2 -2
  17. package/lib/components/DataQualityRelationValidationConfigurationEditor.d.ts.map +1 -0
  18. package/lib/components/DataQualityRelationValidationConfigurationEditor.js +99 -0
  19. package/lib/components/DataQualityRelationValidationConfigurationEditor.js.map +1 -0
  20. package/lib/components/DataQualityRelationValidationEditor.d.ts +30 -0
  21. package/lib/components/DataQualityRelationValidationEditor.d.ts.map +1 -0
  22. package/lib/components/DataQualityRelationValidationEditor.js +89 -0
  23. package/lib/components/DataQualityRelationValidationEditor.js.map +1 -0
  24. package/lib/components/DataQualityResultPanel.d.ts.map +1 -1
  25. package/lib/components/DataQualityResultPanel.js +1 -1
  26. package/lib/components/DataQualityResultPanel.js.map +1 -1
  27. package/lib/components/DataQualityResultValues.d.ts +0 -2
  28. package/lib/components/DataQualityResultValues.d.ts.map +1 -1
  29. package/lib/components/DataQualityResultValues.js.map +1 -1
  30. package/lib/components/DataQualitySideBar.js +2 -2
  31. package/lib/components/DataQualitySideBar.js.map +1 -1
  32. package/lib/components/DataQualityValidationDetailPanel.d.ts +36 -0
  33. package/lib/components/DataQualityValidationDetailPanel.d.ts.map +1 -0
  34. package/lib/components/DataQualityValidationDetailPanel.js +39 -0
  35. package/lib/components/DataQualityValidationDetailPanel.js.map +1 -0
  36. package/lib/components/DataQualityValidationParametersEditor.d.ts +15 -0
  37. package/lib/components/DataQualityValidationParametersEditor.d.ts.map +1 -0
  38. package/lib/components/DataQualityValidationParametersEditor.js +129 -0
  39. package/lib/components/DataQualityValidationParametersEditor.js.map +1 -0
  40. package/lib/components/states/ConstraintState.d.ts +2 -0
  41. package/lib/components/states/ConstraintState.d.ts.map +1 -1
  42. package/lib/components/states/ConstraintState.js +2 -0
  43. package/lib/components/states/ConstraintState.js.map +1 -1
  44. package/lib/components/states/DataQualityClassValidationState.d.ts +2 -2
  45. package/lib/components/states/DataQualityClassValidationState.d.ts.map +1 -1
  46. package/lib/components/states/DataQualityClassValidationState.js +4 -4
  47. package/lib/components/states/DataQualityClassValidationState.js.map +1 -1
  48. package/lib/components/states/DataQualityRelationResultState.d.ts +46 -0
  49. package/lib/components/states/DataQualityRelationResultState.d.ts.map +1 -0
  50. package/lib/components/states/DataQualityRelationResultState.js +194 -0
  51. package/lib/components/states/DataQualityRelationResultState.js.map +1 -0
  52. package/lib/components/states/DataQualityRelationValidationConfigurationState.d.ts +73 -0
  53. package/lib/components/states/DataQualityRelationValidationConfigurationState.d.ts.map +1 -0
  54. package/lib/components/states/DataQualityRelationValidationConfigurationState.js +255 -0
  55. package/lib/components/states/DataQualityRelationValidationConfigurationState.js.map +1 -0
  56. package/lib/components/states/DataQualityRelationValidationLambdaEditorState.d.ts +32 -0
  57. package/lib/components/states/DataQualityRelationValidationLambdaEditorState.d.ts.map +1 -0
  58. package/lib/components/states/DataQualityRelationValidationLambdaEditorState.js +79 -0
  59. package/lib/components/states/DataQualityRelationValidationLambdaEditorState.js.map +1 -0
  60. package/lib/components/states/DataQualityRelationValidationState.d.ts +38 -0
  61. package/lib/components/states/DataQualityRelationValidationState.d.ts.map +1 -0
  62. package/lib/components/states/DataQualityRelationValidationState.js +119 -0
  63. package/lib/components/states/DataQualityRelationValidationState.js.map +1 -0
  64. package/lib/components/states/DataQualityResultState.d.ts.map +1 -1
  65. package/lib/components/states/DataQualityResultState.js +6 -3
  66. package/lib/components/states/DataQualityResultState.js.map +1 -1
  67. package/lib/components/states/DataQualityState.js +1 -1
  68. package/lib/components/states/DataQualityState.js.map +1 -1
  69. package/lib/graph/metamodel/DSL_DataQuality_HashUtils.d.ts +5 -1
  70. package/lib/graph/metamodel/DSL_DataQuality_HashUtils.d.ts.map +1 -1
  71. package/lib/graph/metamodel/DSL_DataQuality_HashUtils.js +4 -0
  72. package/lib/graph/metamodel/DSL_DataQuality_HashUtils.js.map +1 -1
  73. package/lib/graph/metamodel/DSL_DataQuality_PureGraphPlugin.d.ts.map +1 -1
  74. package/lib/graph/metamodel/DSL_DataQuality_PureGraphPlugin.js +2 -1
  75. package/lib/graph/metamodel/DSL_DataQuality_PureGraphPlugin.js.map +1 -1
  76. package/lib/graph/metamodel/pure/packageableElements/data-quality/DataQualityValidationConfiguration.d.ts +36 -3
  77. package/lib/graph/metamodel/pure/packageableElements/data-quality/DataQualityValidationConfiguration.d.ts.map +1 -1
  78. package/lib/graph/metamodel/pure/packageableElements/data-quality/DataQualityValidationConfiguration.js +58 -4
  79. package/lib/graph/metamodel/pure/packageableElements/data-quality/DataQualityValidationConfiguration.js.map +1 -1
  80. package/lib/graph-manager/DSL_DataQuality_GraphManagerHelper.d.ts +2 -1
  81. package/lib/graph-manager/DSL_DataQuality_GraphManagerHelper.d.ts.map +1 -1
  82. package/lib/graph-manager/DSL_DataQuality_GraphManagerHelper.js +2 -1
  83. package/lib/graph-manager/DSL_DataQuality_GraphManagerHelper.js.map +1 -1
  84. package/lib/graph-manager/DSL_DataQuality_GraphModifierHelper.d.ts +13 -2
  85. package/lib/graph-manager/DSL_DataQuality_GraphModifierHelper.d.ts.map +1 -1
  86. package/lib/graph-manager/DSL_DataQuality_GraphModifierHelper.js +36 -2
  87. package/lib/graph-manager/DSL_DataQuality_GraphModifierHelper.js.map +1 -1
  88. package/lib/graph-manager/DSL_DataQuality_PureGraphManagerPlugin.d.ts.map +1 -1
  89. package/lib/graph-manager/DSL_DataQuality_PureGraphManagerPlugin.js +5 -2
  90. package/lib/graph-manager/DSL_DataQuality_PureGraphManagerPlugin.js.map +1 -1
  91. package/lib/graph-manager/action/changeDetection/DSL_DataQuality_ObserverHelper.d.ts +5 -1
  92. package/lib/graph-manager/action/changeDetection/DSL_DataQuality_ObserverHelper.d.ts.map +1 -1
  93. package/lib/graph-manager/action/changeDetection/DSL_DataQuality_ObserverHelper.js +29 -2
  94. package/lib/graph-manager/action/changeDetection/DSL_DataQuality_ObserverHelper.js.map +1 -1
  95. package/lib/graph-manager/protocol/pure/DSL_DataQuality_PureGraphManagerExtension.d.ts +6 -5
  96. package/lib/graph-manager/protocol/pure/DSL_DataQuality_PureGraphManagerExtension.d.ts.map +1 -1
  97. package/lib/graph-manager/protocol/pure/DSL_DataQuality_PureGraphManagerExtension.js.map +1 -1
  98. package/lib/graph-manager/protocol/pure/DSL_DataQuality_PureProtocolProcessorPlugin.d.ts +1 -1
  99. package/lib/graph-manager/protocol/pure/DSL_DataQuality_PureProtocolProcessorPlugin.d.ts.map +1 -1
  100. package/lib/graph-manager/protocol/pure/DSL_DataQuality_PureProtocolProcessorPlugin.js +34 -40
  101. package/lib/graph-manager/protocol/pure/DSL_DataQuality_PureProtocolProcessorPlugin.js.map +1 -1
  102. package/lib/graph-manager/protocol/pure/v1/V1_DSL_Data_Quality_PureGraphManagerExtension.d.ts +8 -6
  103. package/lib/graph-manager/protocol/pure/v1/V1_DSL_Data_Quality_PureGraphManagerExtension.d.ts.map +1 -1
  104. package/lib/graph-manager/protocol/pure/v1/V1_DSL_Data_Quality_PureGraphManagerExtension.js +19 -12
  105. package/lib/graph-manager/protocol/pure/v1/V1_DSL_Data_Quality_PureGraphManagerExtension.js.map +1 -1
  106. package/lib/graph-manager/protocol/pure/v1/{V1_DataQualityConstraintsConfiguration.d.ts → V1_DataQualityValidationConfiguration.d.ts} +26 -4
  107. package/lib/graph-manager/protocol/pure/v1/V1_DataQualityValidationConfiguration.d.ts.map +1 -0
  108. package/lib/graph-manager/protocol/pure/v1/{V1_DataQualityConstraintsConfiguration.js → V1_DataQualityValidationConfiguration.js} +49 -4
  109. package/lib/graph-manager/protocol/pure/v1/V1_DataQualityValidationConfiguration.js.map +1 -0
  110. package/lib/graph-manager/protocol/pure/v1/transformation/V1_DSL_DataQuality_ValueSpecificationBuilderHelper.d.ts +7 -3
  111. package/lib/graph-manager/protocol/pure/v1/transformation/V1_DSL_DataQuality_ValueSpecificationBuilderHelper.d.ts.map +1 -1
  112. package/lib/graph-manager/protocol/pure/v1/transformation/V1_DSL_DataQuality_ValueSpecificationBuilderHelper.js +43 -3
  113. package/lib/graph-manager/protocol/pure/v1/transformation/V1_DSL_DataQuality_ValueSpecificationBuilderHelper.js.map +1 -1
  114. package/lib/graph-manager/protocol/pure/v1/transformation/V1_DSL_DataQuality_ValueSpecificationTransformer.d.ts +6 -3
  115. package/lib/graph-manager/protocol/pure/v1/transformation/V1_DSL_DataQuality_ValueSpecificationTransformer.d.ts.map +1 -1
  116. package/lib/graph-manager/protocol/pure/v1/transformation/V1_DSL_DataQuality_ValueSpecificationTransformer.js +39 -2
  117. package/lib/graph-manager/protocol/pure/v1/transformation/V1_DSL_DataQuality_ValueSpecificationTransformer.js.map +1 -1
  118. package/lib/graph-manager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataQuality_ProtocolHelper.d.ts +5 -2
  119. package/lib/graph-manager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataQuality_ProtocolHelper.d.ts.map +1 -1
  120. package/lib/graph-manager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataQuality_ProtocolHelper.js +27 -9
  121. package/lib/graph-manager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataQuality_ProtocolHelper.js.map +1 -1
  122. package/lib/index.css +2 -2
  123. package/lib/index.css.map +1 -1
  124. package/lib/package.json +1 -1
  125. package/package.json +7 -7
  126. package/src/components/{DSL_DataQuality_ClassElementDriver.tsx → DSL_DataQuality_ElementDriver.tsx} +87 -18
  127. package/src/components/DSL_DataQuality_LegendStudioApplicationPlugin.tsx +33 -48
  128. package/src/components/DSL_NewDataQualityValidationElement.tsx +208 -0
  129. package/src/components/DataQualityRelationTrialRuns.tsx +288 -0
  130. package/src/components/DataQualityRelationValidationConfigurationEditor.tsx +364 -0
  131. package/src/components/DataQualityRelationValidationEditor.tsx +290 -0
  132. package/src/components/DataQualityResultPanel.tsx +1 -4
  133. package/src/components/DataQualityResultValues.tsx +1 -5
  134. package/src/components/DataQualitySideBar.tsx +2 -2
  135. package/src/components/DataQualityValidationDetailPanel.tsx +182 -0
  136. package/src/components/DataQualityValidationParametersEditor.tsx +355 -0
  137. package/src/components/states/ConstraintState.ts +2 -0
  138. package/src/components/states/DataQualityClassValidationState.ts +5 -5
  139. package/src/components/states/DataQualityRelationResultState.ts +274 -0
  140. package/src/components/states/DataQualityRelationValidationConfigurationState.ts +429 -0
  141. package/src/components/states/DataQualityRelationValidationLambdaEditorState.ts +138 -0
  142. package/src/components/states/DataQualityRelationValidationState.ts +180 -0
  143. package/src/components/states/DataQualityResultState.ts +6 -8
  144. package/src/components/states/DataQualityState.ts +1 -1
  145. package/src/graph/metamodel/DSL_DataQuality_HashUtils.ts +4 -0
  146. package/src/graph/metamodel/DSL_DataQuality_PureGraphPlugin.ts +2 -0
  147. package/src/graph/metamodel/pure/packageableElements/data-quality/DataQualityValidationConfiguration.ts +79 -3
  148. package/src/graph-manager/DSL_DataQuality_GraphManagerHelper.ts +13 -0
  149. package/src/graph-manager/DSL_DataQuality_GraphModifierHelper.ts +107 -0
  150. package/src/graph-manager/DSL_DataQuality_PureGraphManagerPlugin.ts +8 -0
  151. package/src/graph-manager/action/changeDetection/DSL_DataQuality_ObserverHelper.ts +54 -1
  152. package/src/graph-manager/protocol/pure/DSL_DataQuality_PureGraphManagerExtension.ts +5 -3
  153. package/src/graph-manager/protocol/pure/DSL_DataQuality_PureProtocolProcessorPlugin.ts +72 -81
  154. package/src/graph-manager/protocol/pure/v1/V1_DSL_Data_Quality_PureGraphManagerExtension.ts +20 -23
  155. package/src/graph-manager/protocol/pure/v1/{V1_DataQualityConstraintsConfiguration.ts → V1_DataQualityValidationConfiguration.ts} +63 -4
  156. package/src/graph-manager/protocol/pure/v1/transformation/V1_DSL_DataQuality_ValueSpecificationBuilderHelper.ts +116 -2
  157. package/src/graph-manager/protocol/pure/v1/transformation/V1_DSL_DataQuality_ValueSpecificationTransformer.ts +78 -1
  158. package/src/graph-manager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataQuality_ProtocolHelper.ts +55 -8
  159. package/style/_data-quality-relation-validation-builder.scss +454 -0
  160. package/style/index.scss +6 -0
  161. package/tsconfig.json +13 -6
  162. package/lib/components/DSL_DataQuality_ClassElementDriver.d.ts.map +0 -1
  163. package/lib/components/DSL_DataQuality_ClassElementDriver.js.map +0 -1
  164. package/lib/components/DSL_DataQuality_ServiceElementDriver.d.ts +0 -27
  165. package/lib/components/DSL_DataQuality_ServiceElementDriver.d.ts.map +0 -1
  166. package/lib/components/DSL_DataQuality_ServiceElementDriver.js +0 -41
  167. package/lib/components/DSL_DataQuality_ServiceElementDriver.js.map +0 -1
  168. package/lib/components/DSL_NewDataQualityClassValidationElement.d.ts.map +0 -1
  169. package/lib/components/DSL_NewDataQualityClassValidationElement.js +0 -64
  170. package/lib/components/DSL_NewDataQualityClassValidationElement.js.map +0 -1
  171. package/lib/components/DSL_NewDataQualityServiceValidationElement.d.ts.map +0 -1
  172. package/lib/components/DSL_NewDataQualityServiceValidationElement.js +0 -41
  173. package/lib/components/DSL_NewDataQualityServiceValidationElement.js.map +0 -1
  174. package/lib/graph-manager/protocol/pure/v1/V1_DataQualityConstraintsConfiguration.d.ts.map +0 -1
  175. package/lib/graph-manager/protocol/pure/v1/V1_DataQualityConstraintsConfiguration.js.map +0 -1
  176. package/src/components/DSL_DataQuality_ServiceElementDriver.tsx +0 -57
  177. package/src/components/DSL_NewDataQualityClassValidationElement.tsx +0 -156
  178. package/src/components/DSL_NewDataQualityServiceValidationElement.tsx +0 -74
@@ -13,15 +13,16 @@
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 ParameterValue, AbstractPureGraphManagerExtension } from '@finos/legend-graph';
16
+ import { type AbstractPureGraphManager, type RawExecutionPlan, type ExecutionResult, type PureModel, type RootGraphFetchTree, AbstractPureGraphManagerExtension } from '@finos/legend-graph';
17
+ import type { DQExecuteInputOptions } from '../../../graph/metamodel/pure/packageableElements/data-quality/DataQualityValidationConfiguration.js';
17
18
  export declare abstract class DSL_DataQuality_PureGraphManagerExtension extends AbstractPureGraphManagerExtension {
18
- abstract generatePlan(graph: PureModel, packagePath: string): Promise<RawExecutionPlan>;
19
- abstract execute(graph: PureModel, lambdaParameterValues: ParameterValue[], packagePath: string, previewLimit: number): Promise<ExecutionResult>;
20
- abstract debugExecutionPlanGeneration(graph: PureModel, packagePath: string): Promise<{
19
+ abstract generatePlan(graph: PureModel, packagePath: string, options: DQExecuteInputOptions): Promise<RawExecutionPlan>;
20
+ abstract execute(graph: PureModel, packagePath: string, options: DQExecuteInputOptions): Promise<ExecutionResult>;
21
+ abstract debugExecutionPlanGeneration(graph: PureModel, packagePath: string, options: DQExecuteInputOptions): Promise<{
21
22
  plan: RawExecutionPlan;
22
23
  debug: string;
23
24
  }>;
24
- abstract fetchStructuralValidations(graph: PureModel, packagePath: string): Promise<RootGraphFetchTree>;
25
+ abstract fetchStructuralValidations(graph: PureModel, packagePath: string, options: DQExecuteInputOptions): Promise<RootGraphFetchTree>;
25
26
  }
26
27
  export declare const getDataQualityPureGraphManagerExtension: (graphManager: AbstractPureGraphManager) => DSL_DataQuality_PureGraphManagerExtension;
27
28
  //# sourceMappingURL=DSL_DataQuality_PureGraphManagerExtension.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DSL_DataQuality_PureGraphManagerExtension.d.ts","sourceRoot":"","sources":["../../../../src/graph-manager/protocol/pure/DSL_DataQuality_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,wBAAwB,EAC7B,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,SAAS,EACd,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,iCAAiC,EAClC,MAAM,qBAAqB,CAAC;AAG7B,8BAAsB,yCAA0C,SAAQ,iCAAiC;IACvG,QAAQ,CAAC,YAAY,CACnB,KAAK,EAAE,SAAS,EAChB,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC,gBAAgB,CAAC;IAE5B,QAAQ,CAAC,OAAO,CACd,KAAK,EAAE,SAAS,EAChB,qBAAqB,EAAE,cAAc,EAAE,EACvC,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,MAAM,GACnB,OAAO,CAAC,eAAe,CAAC;IAE3B,QAAQ,CAAC,4BAA4B,CACnC,KAAK,EAAE,SAAS,EAChB,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC;QAAE,IAAI,EAAE,gBAAgB,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;IAErD,QAAQ,CAAC,0BAA0B,CACjC,KAAK,EAAE,SAAS,EAChB,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC,kBAAkB,CAAC;CAC/B;AAED,eAAO,MAAM,uCAAuC,iBACpC,wBAAwB,KACrC,yCAOA,CAAC"}
1
+ {"version":3,"file":"DSL_DataQuality_PureGraphManagerExtension.d.ts","sourceRoot":"","sources":["../../../../src/graph-manager/protocol/pure/DSL_DataQuality_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,wBAAwB,EAC7B,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,SAAS,EACd,KAAK,kBAAkB,EACvB,iCAAiC,EAClC,MAAM,qBAAqB,CAAC;AAE7B,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sGAAsG,CAAC;AAElJ,8BAAsB,yCAA0C,SAAQ,iCAAiC;IACvG,QAAQ,CAAC,YAAY,CACnB,KAAK,EAAE,SAAS,EAChB,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,qBAAqB,GAC7B,OAAO,CAAC,gBAAgB,CAAC;IAE5B,QAAQ,CAAC,OAAO,CACd,KAAK,EAAE,SAAS,EAChB,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,qBAAqB,GAC7B,OAAO,CAAC,eAAe,CAAC;IAE3B,QAAQ,CAAC,4BAA4B,CACnC,KAAK,EAAE,SAAS,EAChB,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,qBAAqB,GAC7B,OAAO,CAAC;QAAE,IAAI,EAAE,gBAAgB,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;IAErD,QAAQ,CAAC,0BAA0B,CACjC,KAAK,EAAE,SAAS,EAChB,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,qBAAqB,GAC7B,OAAO,CAAC,kBAAkB,CAAC;CAC/B;AAED,eAAO,MAAM,uCAAuC,iBACpC,wBAAwB,KACrC,yCAOA,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DSL_DataQuality_PureGraphManagerExtension.js","sourceRoot":"","sources":["../../../../src/graph-manager/protocol/pure/DSL_DataQuality_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAOL,iCAAiC,GAClC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAE5D,MAAM,OAAgB,yCAA0C,SAAQ,iCAAiC;CAsBxG;AAED,MAAM,CAAC,MAAM,uCAAuC,GAAG,CACrD,YAAsC,EACK,EAAE,CAC7C,oBAAoB,CAClB,YAAY,CAAC,UAAU,CAAC,IAAI,CAC1B,CAAC,SAAS,EAAE,EAAE,CACZ,SAAS,YAAY,yCAAyC,CACjE,EACD,sDAAsD,CACvD,CAAC"}
1
+ {"version":3,"file":"DSL_DataQuality_PureGraphManagerExtension.js","sourceRoot":"","sources":["../../../../src/graph-manager/protocol/pure/DSL_DataQuality_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAML,iCAAiC,GAClC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAG5D,MAAM,OAAgB,yCAA0C,SAAQ,iCAAiC;CAwBxG;AAED,MAAM,CAAC,MAAM,uCAAuC,GAAG,CACrD,YAAsC,EACK,EAAE,CAC7C,oBAAoB,CAClB,YAAY,CAAC,UAAU,CAAC,IAAI,CAC1B,CAAC,SAAS,EAAE,EAAE,CACZ,SAAS,YAAY,yCAAyC,CACjE,EACD,sDAAsD,CACvD,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 V1_ElementProtocolClassifierPathGetter, type V1_ElementProtocolDeserializer, type V1_ElementProtocolSerializer, type V1_ElementTransformer, type V1_PackageableElement, V1_ElementBuilder, PureProtocolProcessorPlugin, type V1_GraphFetchSerializer, type V1_GraphFetchDeserializer } from '@finos/legend-graph';
16
+ import { type V1_ElementProtocolClassifierPathGetter, type V1_ElementProtocolDeserializer, type V1_ElementProtocolSerializer, type V1_ElementTransformer, type V1_PackageableElement, type V1_GraphFetchSerializer, type V1_GraphFetchDeserializer, V1_ElementBuilder, PureProtocolProcessorPlugin } from '@finos/legend-graph';
17
17
  export declare class DSL_DataQuality_PureProtocolProcessorPlugin extends PureProtocolProcessorPlugin {
18
18
  constructor();
19
19
  V1_getExtraElementBuilders(): V1_ElementBuilder<V1_PackageableElement>[];
@@ -1 +1 @@
1
- {"version":3,"file":"DSL_DataQuality_PureProtocolProcessorPlugin.d.ts","sourceRoot":"","sources":["../../../../src/graph-manager/protocol/pure/DSL_DataQuality_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAiCH,OAAO,EACL,KAAK,sCAAsC,EAC3C,KAAK,8BAA8B,EACnC,KAAK,4BAA4B,EACjC,KAAK,qBAAqB,EAG1B,KAAK,qBAAqB,EAO1B,iBAAiB,EAEjB,2BAA2B,EAC3B,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC/B,MAAM,qBAAqB,CAAC;AAc7B,qBAAa,2CAA4C,SAAQ,2BAA2B;;IAQjF,0BAA0B,IAAI,iBAAiB,CAAC,qBAAqB,CAAC,EAAE;IA+HxE,uCAAuC,IAAI,sCAAsC,EAAE;IAWnF,qCAAqC,IAAI,4BAA4B,EAAE;IAiBvE,wCAAwC,IAAI,uBAAuB,EAAE;IAmBrE,0CAA0C,IAAI,yBAAyB,EAAE;IAoBzE,uCAAuC,IAAI,8BAA8B,EAAE;IAiB3E,8BAA8B,IAAI,qBAAqB,EAAE;CAiCnE"}
1
+ {"version":3,"file":"DSL_DataQuality_PureProtocolProcessorPlugin.d.ts","sourceRoot":"","sources":["../../../../src/graph-manager/protocol/pure/DSL_DataQuality_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAoCH,OAAO,EACL,KAAK,sCAAsC,EAC3C,KAAK,8BAA8B,EACnC,KAAK,4BAA4B,EACjC,KAAK,qBAAqB,EAG1B,KAAK,qBAAqB,EAG1B,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAE9B,iBAAiB,EACjB,2BAA2B,EAC5B,MAAM,qBAAqB,CAAC;AAa7B,qBAAa,2CAA4C,SAAQ,2BAA2B;;IAQjF,0BAA0B,IAAI,iBAAiB,CAAC,qBAAqB,CAAC,EAAE;IA2HxE,uCAAuC,IAAI,sCAAsC,EAAE;IAWnF,qCAAqC,IAAI,4BAA4B,EAAE;IAsBvE,wCAAwC,IAAI,uBAAuB,EAAE;IAmBrE,0CAA0C,IAAI,yBAAyB,EAAE;IAoBzE,uCAAuC,IAAI,8BAA8B,EAAE;IAoB3E,8BAA8B,IAAI,qBAAqB,EAAE;CAsBnE"}
@@ -15,14 +15,13 @@
15
15
  */
16
16
  import packageJson from '../../../../package.json';
17
17
  import { assertType } from '@finos/legend-shared';
18
- import { V1_DataQualityClassValidationsConfiguration, V1_DataQualityServiceValidationsConfiguration, } from './v1/V1_DataQualityConstraintsConfiguration.js';
19
- import { DataQualityClassValidationsConfiguration, DataQualityServiceValidationConfiguration, } from '../../../graph/metamodel/pure/packageableElements/data-quality/DataQualityValidationConfiguration.js';
20
- import { getOwnDataQualityClassValidationsConfiguration, getOwnDataQualityServiceValidationsConfiguration, } from '../../DSL_DataQuality_GraphManagerHelper.js';
21
- import { V1_DATA_QUALITY_PROTOCOL_TYPE, V1_DATA_QUALITY_SERVICE_PROTOCOL_TYPE, V1_deserializeDataQualityClassValidation, V1_deserializeDataQualityServiceValidation, V1_serializeDataQualityClassValidation, V1_serializeDataQualityServiceValidation, } from './v1/transformation/pureProtocol/V1_DSL_DataQuality_ProtocolHelper.js';
22
- import { V1_transformDataQualityExecutionContext, V1_transformDataQualityGraphFetchTree, } from './v1/transformation/V1_DSL_DataQuality_ValueSpecificationTransformer.js';
23
- import { V1_buildDataQualityExecutionContext, V1_buildDataQualityGraphFetchTree, } from './v1/transformation/V1_DSL_DataQuality_ValueSpecificationBuilderHelper.js';
18
+ import { V1_DataQualityClassValidationsConfiguration, V1_DataQualityServiceValidationsConfiguration, V1_DataQualityRelationValidationsConfiguration, V1_DataQualityValidationsConfiguration, } from './v1/V1_DataQualityValidationConfiguration.js';
19
+ import { DataQualityClassValidationsConfiguration, DataQualityServiceValidationConfiguration, DataQualityRelationValidationConfiguration, } from '../../../graph/metamodel/pure/packageableElements/data-quality/DataQualityValidationConfiguration.js';
20
+ import { V1_DATA_QUALITY_PROTOCOL_TYPE, V1_DATA_QUALITY_SERVICE_PROTOCOL_TYPE, V1_DATA_QUALITY_RELATION_PROTOCOL_TYPE, V1_deserializeDataQualityClassValidation, V1_deserializeDataQualityServiceValidation, V1_deserializeDataQualityRelationValidation, V1_serializeDataQualityClassValidation, V1_serializeDataQualityServiceValidation, V1_serializeDataQualityRelationValidation, } from './v1/transformation/pureProtocol/V1_DSL_DataQuality_ProtocolHelper.js';
21
+ import { V1_transformDataQualityClassValidationConfiguration, V1_transformDataQualityRelationValidationConfiguration, } from './v1/transformation/V1_DSL_DataQuality_ValueSpecificationTransformer.js';
22
+ import { V1_buildDataQualityClassValidationConfiguration, V1_buildDataQualityRelationValidationConfiguration, V1_buildDataQualityServiceValidationConfiguration, } from './v1/transformation/V1_DSL_DataQuality_ValueSpecificationBuilderHelper.js';
24
23
  import { V1_DataQualityRootGraphFetchTree } from './v1/model/graphFetch/V1_DataQualityRootGraphFetchTree.js';
25
- import { V1_buildFullPath, V1_buildRawLambdaWithResolvedPaths, V1_initPackageableElement, V1_transformRawLambda, V1_ElementBuilder, V1_ProcessingContext, PureProtocolProcessorPlugin, } from '@finos/legend-graph';
24
+ import { V1_buildFullPath, V1_ElementBuilder, PureProtocolProcessorPlugin, } from '@finos/legend-graph';
26
25
  import { V1_DataQualityPropertyGraphFetchTree } from './v1/model/graphFetch/V1_DataQualityPropertyGraphFetchTree.js';
27
26
  import { deserialize, serialize } from 'serializr';
28
27
  import { V1_DATA_QUALITY_PROPERTY_GRAPH_FETCH_TREE_TYPE, V1_DATA_QUALTIY_ROOT_GRAPH_FETCH_TREE_TYPE, V1_propertyGraphFetchTreeModelSchema, V1_rootGraphFetchTreeModelSchema, } from './v1/transformation/V1_DSL_DataQuality_ValueSpecificationSerializer.js';
@@ -45,21 +44,26 @@ export class DSL_DataQuality_PureProtocolProcessorPlugin extends PureProtocolPro
45
44
  },
46
45
  secondPass: (elementProtocol, context) => {
47
46
  assertType(elementProtocol, V1_DataQualityClassValidationsConfiguration);
47
+ V1_buildDataQualityClassValidationConfiguration(elementProtocol, context);
48
+ },
49
+ }),
50
+ new V1_ElementBuilder({
51
+ elementClassName: V1_DATA_QUALITY_RELATION_PROTOCOL_TYPE,
52
+ _class: V1_DataQualityRelationValidationsConfiguration,
53
+ firstPass: (elementProtocol, context) => {
54
+ assertType(elementProtocol, V1_DataQualityRelationValidationsConfiguration);
55
+ const element = new DataQualityRelationValidationConfiguration(elementProtocol.name);
48
56
  const path = V1_buildFullPath(elementProtocol.package, elementProtocol.name);
49
- const element = getOwnDataQualityClassValidationsConfiguration(path, context.currentSubGraph);
50
- element.context = V1_buildDataQualityExecutionContext(elementProtocol.context, context);
51
- element.dataQualityRootGraphFetchTree =
52
- elementProtocol.dataQualityRootGraphFetchTree
53
- ? V1_buildDataQualityGraphFetchTree(elementProtocol.dataQualityRootGraphFetchTree, context, undefined, [], new V1_ProcessingContext(''), true)
54
- : undefined;
55
- element.filter = elementProtocol.filter
56
- ? V1_buildRawLambdaWithResolvedPaths(elementProtocol.filter.parameters, elementProtocol.filter.body, context)
57
- : undefined;
57
+ context.currentSubGraph.setOwnElementInExtension(path, element, DataQualityRelationValidationConfiguration);
58
+ return element;
59
+ },
60
+ secondPass: (elementProtocol, context) => {
61
+ assertType(elementProtocol, V1_DataQualityRelationValidationsConfiguration);
62
+ V1_buildDataQualityRelationValidationConfiguration(elementProtocol, context);
58
63
  },
59
64
  }),
60
- //TODO handle service validations
61
65
  new V1_ElementBuilder({
62
- elementClassName: 'dataQualityServiceValidations',
66
+ elementClassName: V1_DATA_QUALITY_SERVICE_PROTOCOL_TYPE,
63
67
  _class: V1_DataQualityServiceValidationsConfiguration,
64
68
  firstPass: (elementProtocol, context) => {
65
69
  assertType(elementProtocol, V1_DataQualityServiceValidationsConfiguration);
@@ -70,14 +74,7 @@ export class DSL_DataQuality_PureProtocolProcessorPlugin extends PureProtocolPro
70
74
  },
71
75
  secondPass: (elementProtocol, context) => {
72
76
  assertType(elementProtocol, V1_DataQualityServiceValidationsConfiguration);
73
- const path = V1_buildFullPath(elementProtocol.package, elementProtocol.name);
74
- const element = getOwnDataQualityServiceValidationsConfiguration(path, context.currentSubGraph);
75
- element.contextName = elementProtocol.contextName;
76
- element.serviceName = elementProtocol.serviceName;
77
- element.dataQualityRootGraphFetchTree =
78
- elementProtocol.dataQualityRootGraphFetchTree
79
- ? V1_buildDataQualityGraphFetchTree(elementProtocol.dataQualityRootGraphFetchTree, context, undefined, [], new V1_ProcessingContext(''), true)
80
- : undefined;
77
+ V1_buildDataQualityServiceValidationConfiguration(elementProtocol, context);
81
78
  },
82
79
  }),
83
80
  ];
@@ -85,7 +82,7 @@ export class DSL_DataQuality_PureProtocolProcessorPlugin extends PureProtocolPro
85
82
  V1_getExtraElementClassifierPathGetters() {
86
83
  return [
87
84
  (protocol) => {
88
- if (protocol instanceof V1_DataQualityClassValidationsConfiguration) {
85
+ if (protocol instanceof V1_DataQualityValidationsConfiguration) {
89
86
  return DATA_QUALITY_CLASSIFIER_PATH;
90
87
  }
91
88
  return undefined;
@@ -101,6 +98,9 @@ export class DSL_DataQuality_PureProtocolProcessorPlugin extends PureProtocolPro
101
98
  if (protocol instanceof V1_DataQualityServiceValidationsConfiguration) {
102
99
  return V1_serializeDataQualityServiceValidation(protocol, plugins);
103
100
  }
101
+ if (protocol instanceof V1_DataQualityRelationValidationsConfiguration) {
102
+ return V1_serializeDataQualityRelationValidation(protocol, plugins);
103
+ }
104
104
  return undefined;
105
105
  },
106
106
  ];
@@ -140,6 +140,9 @@ export class DSL_DataQuality_PureProtocolProcessorPlugin extends PureProtocolPro
140
140
  if (json._type === V1_DATA_QUALITY_SERVICE_PROTOCOL_TYPE) {
141
141
  return V1_deserializeDataQualityServiceValidation(json, plugins);
142
142
  }
143
+ if (json._type === V1_DATA_QUALITY_RELATION_PROTOCOL_TYPE) {
144
+ return V1_deserializeDataQualityRelationValidation(json, plugins);
145
+ }
143
146
  return undefined;
144
147
  },
145
148
  ];
@@ -148,19 +151,10 @@ export class DSL_DataQuality_PureProtocolProcessorPlugin extends PureProtocolPro
148
151
  return [
149
152
  (metamodel, context) => {
150
153
  if (metamodel instanceof DataQualityClassValidationsConfiguration) {
151
- const protocol = new V1_DataQualityClassValidationsConfiguration();
152
- V1_initPackageableElement(protocol, metamodel);
153
- protocol.name = metamodel.name;
154
- protocol.package = metamodel.package?.path ?? '';
155
- protocol.dataQualityRootGraphFetchTree =
156
- metamodel.dataQualityRootGraphFetchTree
157
- ? V1_transformDataQualityGraphFetchTree(metamodel.dataQualityRootGraphFetchTree, [], new Map(), false, false)
158
- : undefined;
159
- protocol.context = V1_transformDataQualityExecutionContext(metamodel.context);
160
- protocol.filter = metamodel.filter
161
- ? V1_transformRawLambda(metamodel.filter, context)
162
- : undefined;
163
- return protocol;
154
+ return V1_transformDataQualityClassValidationConfiguration(metamodel, context);
155
+ }
156
+ if (metamodel instanceof DataQualityRelationValidationConfiguration) {
157
+ return V1_transformDataQualityRelationValidationConfiguration(metamodel, context);
164
158
  }
165
159
  return undefined;
166
160
  },
@@ -1 +1 @@
1
- {"version":3,"file":"DSL_DataQuality_PureProtocolProcessorPlugin.js","sourceRoot":"","sources":["../../../../src/graph-manager/protocol/pure/DSL_DataQuality_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;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CAAC,CAAC,qBAAqB,CAAC,SAAS,CAAC,MAAM,EAAE,OAAO,CAAC;wBAClD,CAAC,CAAC,SAAS,CAAC;oBACd,OAAO,QAAQ,CAAC;gBAClB,CAAC;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;CACF"}
1
+ {"version":3,"file":"DSL_DataQuality_PureProtocolProcessorPlugin.js","sourceRoot":"","sources":["../../../../src/graph-manager/protocol/pure/DSL_DataQuality_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAoB,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACpE,OAAO,EACL,2CAA2C,EAC3C,6CAA6C,EAC7C,8CAA8C,EAC9C,sCAAsC,GACvC,MAAM,+CAA+C,CAAC;AACvD,OAAO,EACL,wCAAwC,EACxC,yCAAyC,EACzC,0CAA0C,GAC3C,MAAM,sGAAsG,CAAC;AAC9G,OAAO,EACL,6BAA6B,EAC7B,qCAAqC,EACrC,sCAAsC,EACtC,wCAAwC,EACxC,0CAA0C,EAC1C,2CAA2C,EAC3C,sCAAsC,EACtC,wCAAwC,EACxC,yCAAyC,GAC1C,MAAM,uEAAuE,CAAC;AAC/E,OAAO,EACL,mDAAmD,EACnD,sDAAsD,GACvD,MAAM,yEAAyE,CAAC;AACjF,OAAO,EACL,+CAA+C,EAC/C,kDAAkD,EAClD,iDAAiD,GAClD,MAAM,2EAA2E,CAAC;AACnF,OAAO,EAAE,gCAAgC,EAAE,MAAM,2DAA2D,CAAC;AAC7G,OAAO,EAYL,gBAAgB,EAChB,iBAAiB,EACjB,2BAA2B,GAC5B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,oCAAoC,EAAE,MAAM,+DAA+D,CAAC;AACrH,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACnD,OAAO,EACL,8CAA8C,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CAAC,gCAAgC,CAAC,OAAO,CAAC,EAAE,IAAI,CAAC,CAAC;gBACtE,CAAC;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;IAEQ,uCAAuC;QAC9C,OAAO;YACL,CACE,IAAwC,EACxC,OAAsC,EACH,EAAE;gBACrC,IAAI,IAAI,CAAC,KAAK,KAAK,6BAA6B,EAAE,CAAC;oBACjD,OAAO,wCAAwC,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;gBACjE,CAAC;gBACD,IAAI,IAAI,CAAC,KAAK,KAAK,qCAAqC,EAAE,CAAC;oBACzD,OAAO,0CAA0C,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;gBACnE,CAAC;gBACD,IAAI,IAAI,CAAC,KAAK,KAAK,sCAAsC,EAAE,CAAC;oBAC1D,OAAO,2CAA2C,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;gBACpE,CAAC;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;IAEQ,8BAA8B;QACrC,OAAO;YACL,CACE,SAA6B,EAC7B,OAAmC,EACA,EAAE;gBACrC,IAAI,SAAS,YAAY,wCAAwC,EAAE,CAAC;oBAClE,OAAO,mDAAmD,CACxD,SAAS,EACT,OAAO,CACR,CAAC;gBACJ,CAAC;gBACD,IAAI,SAAS,YAAY,0CAA0C,EAAE,CAAC;oBACpE,OAAO,sDAAsD,CAC3D,SAAS,EACT,OAAO,CACR,CAAC;gBACJ,CAAC;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;CACF"}
@@ -13,15 +13,17 @@
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 ExecutionResult, type PureModel, type RawExecutionPlan, type RootGraphFetchTree, type V1_PureModelContext, type ParameterValue, type V1_ParameterValue, PureClientVersion, V1_PureGraphManager } from '@finos/legend-graph';
16
+ import { type AbstractPureGraphManager, type ExecutionResult, type PureModel, type RawExecutionPlan, type RootGraphFetchTree, type V1_PureModelContext, type V1_ParameterValue, 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
+ import type { DQExecuteInputOptions } from '../../../../graph/metamodel/pure/packageableElements/data-quality/DataQualityValidationConfiguration.js';
19
20
  export declare class V1_DQExecuteInput {
20
21
  clientVersion: string | undefined;
21
22
  model: V1_PureModelContext;
22
23
  lambdaParameterValues: V1_ParameterValue[];
23
24
  packagePath: string;
24
25
  queryLimit: number | undefined;
26
+ validationName: string | undefined;
25
27
  static readonly serialization: SerializationFactory<V1_DQExecuteInput>;
26
28
  }
27
29
  export declare class V1_DSL_Data_Quality_PureGraphManagerExtension extends DSL_DataQuality_PureGraphManagerExtension {
@@ -32,13 +34,13 @@ export declare class V1_DSL_Data_Quality_PureGraphManagerExtension extends DSL_D
32
34
  private buildPureModelSDLCPointer;
33
35
  private executeValidation;
34
36
  private runValidationAndReturnString;
35
- createExecutionInput(graph: PureModel, lambdaParameterValues: ParameterValue[], packagePath: string, clientVersion: string | undefined, previewLimit: number | undefined, dqExecuteInput: V1_DQExecuteInput): V1_DQExecuteInput;
36
- generatePlan: (graph: PureModel, packagePath: string) => Promise<RawExecutionPlan>;
37
- execute: (graph: PureModel, lambdaParameterValues: ParameterValue[], packagePath: string, previewLimit: number) => Promise<ExecutionResult>;
38
- debugExecutionPlanGeneration: (graph: PureModel, packagePath: string) => Promise<{
37
+ createExecutionInput(graph: PureModel, packagePath: string, dqExecuteInput: V1_DQExecuteInput, options: DQExecuteInputOptions): V1_DQExecuteInput;
38
+ generatePlan: (graph: PureModel, packagePath: string, options: DQExecuteInputOptions) => Promise<RawExecutionPlan>;
39
+ execute: (graph: PureModel, packagePath: string, options: DQExecuteInputOptions) => Promise<ExecutionResult>;
40
+ debugExecutionPlanGeneration: (graph: PureModel, packagePath: string, options: DQExecuteInputOptions) => Promise<{
39
41
  plan: RawExecutionPlan;
40
42
  debug: string;
41
43
  }>;
42
- fetchStructuralValidations: (graph: PureModel, packagePath: string) => Promise<RootGraphFetchTree>;
44
+ fetchStructuralValidations: (graph: PureModel, packagePath: string, options: DQExecuteInputOptions) => Promise<RootGraphFetchTree>;
43
45
  }
44
46
  //# sourceMappingURL=V1_DSL_Data_Quality_PureGraphManagerExtension.d.ts.map
@@ -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,KAAK,wBAAwB,EAC7B,KAAK,eAAe,EAEpB,KAAK,SAAS,EACd,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EAEvB,KAAK,mBAAmB,EAExB,KAAK,cAAc,EACnB,KAAK,iBAAiB,EAEtB,iBAAiB,EAQjB,mBAAmB,EAOpB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAML,oBAAoB,EAGrB,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,qBAAqB,EAAE,iBAAiB,EAAE,CAAM;IAChD,WAAW,EAAG,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,GAAG,SAAS,CAAC;IAE/B,MAAM,CAAC,QAAQ,CAAC,aAAa,0CAQ3B;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,CAwBvB;YAEY,4BAA4B;IAa1C,oBAAoB,CAClB,KAAK,EAAE,SAAS,EAChB,qBAAqB,EAAE,cAAc,EAAE,EACvC,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,MAAM,GAAG,SAAS,EACjC,YAAY,EAAE,MAAM,GAAG,SAAS,EAChC,cAAc,EAAE,iBAAiB,GAChC,iBAAiB;IAapB,YAAY,UACH,SAAS,eACH,MAAM,KAClB,OAAO,CAAC,gBAAgB,CAAC,CA4B1B;IAEF,OAAO,UACE,SAAS,yBACO,cAAc,EAAE,eAC1B,MAAM,gBACL,MAAM,KACnB,OAAO,CAAC,eAAe,CAAC,CAkCzB;IAEF,4BAA4B,UACnB,SAAS,eACH,MAAM,KAClB,OAAO,CAAC;QAAE,IAAI,EAAE,gBAAgB,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAgCnD;IAEF,0BAA0B,UACjB,SAAS,eACH,MAAM,KAClB,OAAO,CAAC,kBAAkB,CAAC,CA8C5B;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,EAExB,KAAK,iBAAiB,EAEtB,iBAAiB,EAQjB,mBAAmB,EAOpB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAML,oBAAoB,EAGrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,yCAAyC,EAAE,MAAM,iDAAiD,CAAC;AAM5G,O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= [];
29
29
  packagePath;
30
30
  queryLimit;
31
+ validationName;
31
32
  static serialization = new SerializationFactory(createModelSchema(V1_DQExecuteInput, {
32
33
  clientVersion: optional(primitive()),
33
34
  model: V1_pureModelContextPropSchema,
34
35
  lambdaParameterValues: customListWithSchema(V1_parameterValueModelSchema),
35
36
  packagePath: primitive(),
36
37
  queryLimit: optional(primitive()),
38
+ validationName: optional(primitive()),
37
39
  }));
38
40
  }
39
41
  export class V1_DSL_Data_Quality_PureGraphManagerExtension extends DSL_DataQuality_PureGraphManagerExtension {
@@ -65,25 +67,30 @@ export class V1_DSL_Data_Quality_PureGraphManagerExtension extends DSL_DataQuali
65
67
  returnAsResponse: true,
66
68
  })).text();
67
69
  }
68
- createExecutionInput(graph, lambdaParameterValues, packagePath, clientVersion, previewLimit, dqExecuteInput) {
69
- dqExecuteInput.clientVersion = clientVersion;
70
+ createExecutionInput(graph, packagePath, dqExecuteInput, options) {
71
+ dqExecuteInput.clientVersion =
72
+ options.clientVersion ??
73
+ V1_DSL_Data_Quality_PureGraphManagerExtension.DEV_PROTOCOL_VERSION;
70
74
  dqExecuteInput.model = graph.origin
71
75
  ? this.buildPureModelSDLCPointer(graph.origin, undefined)
72
76
  : this.graphManager.getFullGraphModelData(graph);
73
- dqExecuteInput.lambdaParameterValues = lambdaParameterValues.map(V1_transformParameterValue);
77
+ dqExecuteInput.lambdaParameterValues = options.lambdaParameterValues
78
+ ? options.lambdaParameterValues.map(V1_transformParameterValue)
79
+ : [];
74
80
  dqExecuteInput.packagePath = packagePath;
75
- dqExecuteInput.queryLimit = previewLimit;
81
+ dqExecuteInput.queryLimit = options.previewLimit;
82
+ dqExecuteInput.validationName = options.validationName;
76
83
  return dqExecuteInput;
77
84
  }
78
- generatePlan = async (graph, packagePath) => {
79
- const input = this.createExecutionInput(graph, [], packagePath, V1_DSL_Data_Quality_PureGraphManagerExtension.DEV_PROTOCOL_VERSION, undefined, new V1_DQExecuteInput());
85
+ generatePlan = async (graph, packagePath, options) => {
86
+ const input = this.createExecutionInput(graph, packagePath, new V1_DQExecuteInput(), options);
80
87
  const serializedInput = V1_DQExecuteInput.serialization.toJson(input);
81
88
  // TODO: improve abstraction so that we do not need to access the engine server client directly
82
89
  const engineServerClient = guaranteeType(this.graphManager.engine, V1_RemoteEngine, 'generatePlan is only supported by remote engine').getEngineServerClient();
83
90
  return engineServerClient.postWithTracing(engineServerClient.getTraceData(DQ_GENERATE_EXECUTION_PLAN), `${engineServerClient._pure()}/dataquality/generatePlan`, serializedInput, {}, undefined, undefined, { enableCompression: true });
84
91
  };
85
- execute = async (graph, lambdaParameterValues, packagePath, previewLimit) => {
86
- const input = this.createExecutionInput(graph, lambdaParameterValues, packagePath, V1_DSL_Data_Quality_PureGraphManagerExtension.DEV_PROTOCOL_VERSION, previewLimit, new V1_DQExecuteInput());
92
+ execute = async (graph, packagePath, options) => {
93
+ const input = this.createExecutionInput(graph, packagePath, new V1_DQExecuteInput(), options);
87
94
  try {
88
95
  const validationResultInText = await this.runValidationAndReturnString(input);
89
96
  const rawExecutionResult = returnUndefOnError(() => this.graphManager.engine.parseExecutionResults(validationResultInText, undefined)) ?? validationResultInText;
@@ -98,8 +105,8 @@ export class V1_DSL_Data_Quality_PureGraphManagerExtension extends DSL_DataQuali
98
105
  throw error;
99
106
  }
100
107
  };
101
- debugExecutionPlanGeneration = async (graph, packagePath) => {
102
- const input = this.createExecutionInput(graph, [], packagePath, V1_DSL_Data_Quality_PureGraphManagerExtension.DEV_PROTOCOL_VERSION, undefined, new V1_DQExecuteInput());
108
+ debugExecutionPlanGeneration = async (graph, packagePath, options) => {
109
+ const input = this.createExecutionInput(graph, packagePath, new V1_DQExecuteInput(), options);
103
110
  const serializedInput = V1_DQExecuteInput.serialization.toJson(input);
104
111
  // TODO: improve abstraction so that we do not need to access the engine server client directly
105
112
  const engineServerClient = guaranteeType(this.graphManager.engine, V1_RemoteEngine, 'debugExecutionPlanGeneration is only supported by remote engine').getEngineServerClient();
@@ -109,10 +116,10 @@ export class V1_DSL_Data_Quality_PureGraphManagerExtension extends DSL_DataQuali
109
116
  debug: result.debug.join('\n'),
110
117
  };
111
118
  };
112
- fetchStructuralValidations = async (graph, packagePath) => {
119
+ fetchStructuralValidations = async (graph, packagePath, options) => {
113
120
  // TODO: improve abstraction so that we do not need to access the engine server client directly
114
121
  const engineServerClient = guaranteeType(this.graphManager.engine, V1_RemoteEngine, 'fetchStructuralValidations is only supported by remote engine').getEngineServerClient();
115
- const input = this.createExecutionInput(graph, [], packagePath, V1_DSL_Data_Quality_PureGraphManagerExtension.DEV_PROTOCOL_VERSION, undefined, new V1_DQExecuteInput());
122
+ const input = this.createExecutionInput(graph, packagePath, new V1_DQExecuteInput(), options);
116
123
  const serializedInput = V1_DQExecuteInput.serialization.toJson(input);
117
124
  const V1_rootGraphFetchTree = await engineServerClient.postWithTracing(engineServerClient.getTraceData(DQ_FETCH_PROPERTY_PATH_TREE), `${engineServerClient._pure()}/dataquality/propertyPathTree`, serializedInput, {}, undefined, undefined, { enableCompression: true });
118
125
  const V1_dataQualityRootGraphFetchTree = V1_transformRootGraphFetchTreeToDataQualityRootGraphFetchTree(V1_rootGraphFetchTree);
@@ -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,EAYL,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,EAC3B,4BAA4B,EAC5B,0BAA0B,EAC1B,eAAe,GAChB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,iBAAiB,EAAE,QAAQ,EAAE,SAAS,EAAE,MAA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,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,EAWL,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,EAC3B,4BAA4B,EAC5B,0BAA0B,EAC1B,eAAe,GAChB,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,EACpB,yBAAyB,EACzB,oBAAoB,GACrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,yCAAyC,EAAE,MAAM,iDAAiD,CAAC;AAC5G,OAAO,EACL,iCAAiC,EACjC,6DAA6D,GAC9D,MAAM,wEAAwE,CAAC;AAIhF,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,qBAAqB,GAAwB,EAAE,CAAC;IACh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,EAAE;QAC/B,+FAA+F;QAC/F,MAAM,kBAAkB,GAAG,aAAa,CACtC,IAAI,CAAC,YAAY,CAAC,MAAM,EACxB,eAAe,EACf,+DAA+D,CAChE,CAAC,qBAAqB,EAAE,CAAC;QAC1B,MAAM,KAAK,GAAG,IAAI,CAAC,oBAAoB,CACrC,KAAK,EACL,WAAW,EACX,IAAI,iBAAiB,EAAE,EACvB,OAAO,CACR,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"}
@@ -13,9 +13,10 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { type V1_PackageableElementVisitor, type V1_PackageableElementPointer, type V1_RawLambda, type V1_TaggedValue, type V1_StereotypePtr, V1_PackageableElement } from '@finos/legend-graph';
16
+ import { type V1_PackageableElementPointer, type V1_PackageableElementVisitor, type V1_RawLambda, type V1_StereotypePtr, type V1_TaggedValue, type V1_RawVariable, V1_PackageableElement } from '@finos/legend-graph';
17
17
  import { type Hashable } from '@finos/legend-shared';
18
18
  import { type V1_DataQualityRootGraphFetchTree } from './model/graphFetch/V1_DataQualityRootGraphFetchTree.js';
19
+ import { RelationValidationType } from '../../../../graph/metamodel/pure/packageableElements/data-quality/DataQualityValidationConfiguration.js';
19
20
  export declare abstract class V1_DataQualityExecutionContext implements Hashable {
20
21
  abstract get hashCode(): string;
21
22
  }
@@ -29,7 +30,17 @@ export declare class V1_MappingAndRuntimeDataQualityExecutionContext extends V1_
29
30
  runtime: V1_PackageableElementPointer;
30
31
  get hashCode(): string;
31
32
  }
32
- export declare class V1_DataQualityClassValidationsConfiguration extends V1_PackageableElement implements Hashable {
33
+ export declare class V1_DataQualityRelationValidation implements Hashable {
34
+ name: string;
35
+ description: string | undefined;
36
+ assertion: V1_RawLambda;
37
+ type: RelationValidationType;
38
+ rowMapFunction: V1_RawLambda | undefined;
39
+ get hashCode(): string;
40
+ }
41
+ export declare abstract class V1_DataQualityValidationsConfiguration extends V1_PackageableElement {
42
+ }
43
+ export declare class V1_DataQualityClassValidationsConfiguration extends V1_DataQualityValidationsConfiguration implements Hashable {
33
44
  context: V1_DataQualityExecutionContext;
34
45
  dataQualityRootGraphFetchTree: V1_DataQualityRootGraphFetchTree | undefined;
35
46
  filter?: V1_RawLambda | undefined;
@@ -38,11 +49,22 @@ export declare class V1_DataQualityClassValidationsConfiguration extends V1_Pack
38
49
  get hashCode(): string;
39
50
  accept_PackageableElementVisitor<T>(visitor: V1_PackageableElementVisitor<T>): T;
40
51
  }
41
- export declare class V1_DataQualityServiceValidationsConfiguration extends V1_PackageableElement implements Hashable {
52
+ export declare class V1_DataQualityServiceValidationsConfiguration extends V1_DataQualityValidationsConfiguration implements Hashable {
42
53
  contextName?: string | undefined;
43
54
  serviceName?: string | undefined;
44
55
  dataQualityRootGraphFetchTree?: V1_DataQualityRootGraphFetchTree | undefined;
45
56
  get hashCode(): string;
46
57
  accept_PackageableElementVisitor<T>(visitor: V1_PackageableElementVisitor<T>): T;
47
58
  }
48
- //# sourceMappingURL=V1_DataQualityConstraintsConfiguration.d.ts.map
59
+ export declare class V1_DataQualityRelationQueryLambda implements Hashable {
60
+ body?: object | undefined;
61
+ parameters: V1_RawVariable[];
62
+ get hashCode(): string;
63
+ }
64
+ export declare class V1_DataQualityRelationValidationsConfiguration extends V1_DataQualityValidationsConfiguration implements Hashable {
65
+ query: V1_DataQualityRelationQueryLambda;
66
+ validations: V1_DataQualityRelationValidation[];
67
+ get hashCode(): string;
68
+ accept_PackageableElementVisitor<T>(visitor: V1_PackageableElementVisitor<T>): T;
69
+ }
70
+ //# sourceMappingURL=V1_DataQualityValidationConfiguration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"V1_DataQualityValidationConfiguration.d.ts","sourceRoot":"","sources":["../../../../../src/graph-manager/protocol/pure/v1/V1_DataQualityValidationConfiguration.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,4BAA4B,EACjC,KAAK,4BAA4B,EACjC,KAAK,YAAY,EACjB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,cAAc,EAEnB,qBAAqB,EACtB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,QAAQ,EAAa,MAAM,sBAAsB,CAAC;AAEhE,OAAO,EAAE,KAAK,gCAAgC,EAAE,MAAM,wDAAwD,CAAC;AAC/G,OAAO,EAAE,sBAAsB,EAAE,MAAM,yGAAyG,CAAC;AAEjJ,8BAAsB,8BAA+B,YAAW,QAAQ;IACtE,QAAQ,KAAK,QAAQ,IAAI,MAAM,CAAC;CACjC;AAED,qBAAa,uCAAwC,SAAQ,8BAA8B;IACzF,OAAO,EAAG,MAAM,CAAC;IACjB,SAAS,EAAG,4BAA4B,CAAC;IAEzC,IAAa,QAAQ,IAAI,MAAM,CAM9B;CACF;AAED,qBAAa,+CAAgD,SAAQ,8BAA8B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C,IAAI,QAAQ,IAAI,MAAM,CAMrB;CACF;AAED,qBAAa,8CACX,SAAQ,sCACR,YAAW,QAAQ;IAEnB,KAAK,EAAG,iCAAiC,CAAC;IAC1C,WAAW,EAAE,gCAAgC,EAAE,CAAM;IAErD,IAAa,QAAQ,IAAI,MAAM,CAM9B;IAED,gCAAgC,CAAC,CAAC,EAChC,OAAO,EAAE,4BAA4B,CAAC,CAAC,CAAC,GACvC,CAAC;CAGL"}
@@ -13,10 +13,11 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { V1_PackageableElement, } from '@finos/legend-graph';
16
+ import { hashRawLambda, V1_PackageableElement, } from '@finos/legend-graph';
17
17
  import { hashArray } from '@finos/legend-shared';
18
18
  import { DATA_QUALITY_HASH_STRUCTURE } from '../../../../graph/metamodel/DSL_DataQuality_HashUtils.js';
19
19
  import {} from './model/graphFetch/V1_DataQualityRootGraphFetchTree.js';
20
+ import { RelationValidationType } from '../../../../graph/metamodel/pure/packageableElements/data-quality/DataQualityValidationConfiguration.js';
20
21
  export class V1_DataQualityExecutionContext {
21
22
  }
22
23
  export class V1_DataSpaceDataQualityExecutionContext extends V1_DataQualityExecutionContext {
@@ -41,7 +42,26 @@ export class V1_MappingAndRuntimeDataQualityExecutionContext extends V1_DataQual
41
42
  ]);
42
43
  }
43
44
  }
44
- export class V1_DataQualityClassValidationsConfiguration extends V1_PackageableElement {
45
+ export class V1_DataQualityRelationValidation {
46
+ name;
47
+ description;
48
+ assertion;
49
+ type = RelationValidationType.ROW_LEVEL;
50
+ rowMapFunction;
51
+ get hashCode() {
52
+ return hashArray([
53
+ DATA_QUALITY_HASH_STRUCTURE.DATA_QUALITY_RELATION_VALIDATION,
54
+ this.name,
55
+ this.type,
56
+ this.description ?? '',
57
+ this.assertion,
58
+ this.rowMapFunction ?? '',
59
+ ]);
60
+ }
61
+ }
62
+ export class V1_DataQualityValidationsConfiguration extends V1_PackageableElement {
63
+ }
64
+ export class V1_DataQualityClassValidationsConfiguration extends V1_DataQualityValidationsConfiguration {
45
65
  context;
46
66
  dataQualityRootGraphFetchTree;
47
67
  filter;
@@ -59,7 +79,7 @@ export class V1_DataQualityClassValidationsConfiguration extends V1_PackageableE
59
79
  return visitor.visit_PackageableElement(this);
60
80
  }
61
81
  }
62
- export class V1_DataQualityServiceValidationsConfiguration extends V1_PackageableElement {
82
+ export class V1_DataQualityServiceValidationsConfiguration extends V1_DataQualityValidationsConfiguration {
63
83
  contextName;
64
84
  serviceName;
65
85
  dataQualityRootGraphFetchTree;
@@ -75,4 +95,29 @@ export class V1_DataQualityServiceValidationsConfiguration extends V1_Packageabl
75
95
  return visitor.visit_PackageableElement(this);
76
96
  }
77
97
  }
78
- //# sourceMappingURL=V1_DataQualityConstraintsConfiguration.js.map
98
+ export class V1_DataQualityRelationQueryLambda {
99
+ body;
100
+ parameters = [];
101
+ get hashCode() {
102
+ return hashArray([
103
+ DATA_QUALITY_HASH_STRUCTURE.DATA_QUALITY_RELATION_VALIDATION_QUERY,
104
+ hashArray(this.parameters),
105
+ hashRawLambda(undefined, this.body),
106
+ ]);
107
+ }
108
+ }
109
+ export class V1_DataQualityRelationValidationsConfiguration extends V1_DataQualityValidationsConfiguration {
110
+ query;
111
+ validations = [];
112
+ get hashCode() {
113
+ return hashArray([
114
+ DATA_QUALITY_HASH_STRUCTURE.DATA_QUALITY_RELATION_VALIDATION_CONFIGURATION,
115
+ this.query,
116
+ hashArray(this.validations),
117
+ ]);
118
+ }
119
+ accept_PackageableElementVisitor(visitor) {
120
+ return visitor.visit_PackageableElement(this);
121
+ }
122
+ }
123
+ //# sourceMappingURL=V1_DataQualityValidationConfiguration.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"V1_DataQualityValidationConfiguration.js","sourceRoot":"","sources":["../../../../../src/graph-manager/protocol/pure/v1/V1_DataQualityValidationConfiguration.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAOL,aAAa,E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CAAC;IAErD,IAAa,QAAQ;QACnB,OAAO,SAAS,CAAC;YACf,2BAA2B,CAAC,8CAA8C;YAC1E,IAAI,CAAC,KAAK;YACV,SAAS,CAAC,IAAI,CAAC,WAAW,CAAC;SAC5B,CAAC,CAAC;IACL,CAAC;IAED,gCAAgC,CAC9B,OAAwC;QAExC,OAAO,OAAO,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAC;IAChD,CAAC;CACF"}
@@ -14,11 +14,15 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { V1_DataQualityRootGraphFetchTree } from '../model/graphFetch/V1_DataQualityRootGraphFetchTree.js';
17
- import { type V1_DataQualityExecutionContext } from '../V1_DataQualityConstraintsConfiguration.js';
18
- import { type DataQualityExecutionContext } from '../../../../../graph/metamodel/pure/packageableElements/data-quality/DataQualityValidationConfiguration.js';
19
- import { type V1_GraphBuilderContext, type Class, type GraphFetchTree, type V1_GraphFetchTree, type V1_ProcessingContext, type V1_RootGraphFetchTree } from '@finos/legend-graph';
17
+ import { type V1_DataQualityExecutionContext, type V1_DataQualityClassValidationsConfiguration, type V1_DataQualityRelationValidation, type V1_DataQualityRelationValidationsConfiguration, type V1_DataQualityServiceValidationsConfiguration } from '../V1_DataQualityValidationConfiguration.js';
18
+ import { type DataQualityExecutionContext, DataQualityRelationValidation } from '../../../../../graph/metamodel/pure/packageableElements/data-quality/DataQualityValidationConfiguration.js';
19
+ import { type V1_GraphBuilderContext, type Class, type GraphFetchTree, type V1_GraphFetchTree, type V1_RootGraphFetchTree, V1_ProcessingContext } from '@finos/legend-graph';
20
20
  export declare function V1_buildDataQualityExecutionContext(dataQualityExecutionContext: V1_DataQualityExecutionContext, graphContext: V1_GraphBuilderContext): DataQualityExecutionContext;
21
21
  export declare function V1_buildGraphFetchTree(graphFetchTree: V1_GraphFetchTree, context: V1_GraphBuilderContext, parentClass: Class | undefined, openVariables: string[], processingContext: V1_ProcessingContext, canResolveLocalProperty?: boolean | undefined): GraphFetchTree;
22
22
  export declare function V1_buildDataQualityGraphFetchTree(graphFetchTree: V1_GraphFetchTree, context: V1_GraphBuilderContext, parentClass: Class | undefined, openVariables: string[], processingContext: V1_ProcessingContext, canResolveLocalProperty?: boolean | undefined): GraphFetchTree;
23
+ export declare function V1_buildDataQualityRelationValidation(validation: V1_DataQualityRelationValidation, context: V1_GraphBuilderContext): DataQualityRelationValidation;
23
24
  export declare function V1_transformRootGraphFetchTreeToDataQualityRootGraphFetchTree(rootGraphFetchTree: V1_RootGraphFetchTree): V1_DataQualityRootGraphFetchTree;
25
+ export declare function V1_buildDataQualityClassValidationConfiguration(elementProtocol: V1_DataQualityClassValidationsConfiguration, context: V1_GraphBuilderContext): void;
26
+ export declare function V1_buildDataQualityRelationValidationConfiguration(elementProtocol: V1_DataQualityRelationValidationsConfiguration, context: V1_GraphBuilderContext): void;
27
+ export declare function V1_buildDataQualityServiceValidationConfiguration(elementProtocol: V1_DataQualityServiceValidationsConfiguration, context: V1_GraphBuilderContext): void;
24
28
  //# sourceMappingURL=V1_DSL_DataQuality_ValueSpecificationBuilderHelper.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"V1_DSL_DataQuality_ValueSpecificationBuilderHelper.d.ts","sourceRoot":"","sources":["../../../../../../src/graph-manager/protocol/pure/v1/transformation/V1_DSL_DataQuality_ValueSpecificationBuilderHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAOH,OAAO,EAAE,gCAAgC,EAAE,MAAM,yDAAyD,CAAC;AAK3G,OAAO,EACL,KAAK,8BAA8B,EAGpC,MAAM,8CAA8C,CAAC;AACtD,OAAO,EACL,KAAK,2BAA2B,EAGjC,MAAM,4GAA4G,CAAC;AACpH,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,KAAK,EACV,KAAK,cAAc,EAMnB,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EAEzB,KAAK,qBAAqB,EAG3B,MAAM,qBAAqB,CAAC;AAG7B,wBAAgB,mCAAmC,CACjD,2BAA2B,EAAE,8BAA8B,EAC3D,YAAY,EAAE,sBAAsB,GACnC,2BAA2B,CAkC7B;AAED,wBAAgB,sBAAsB,CACpC,cAAc,EAAE,iBAAiB,EACjC,OAAO,EAAE,sBAAsB,EAC/B,WAAW,EAAE,KAAK,GAAG,SAAS,EAC9B,aAAa,EAAE,MAAM,EAAE,EACvB,iBAAiB,EAAE,oBAAoB,EACvC,uBAAuB,CAAC,EAAE,OAAO,GAAG,SAAS,GAC5C,cAAc,CAwBhB;AAED,wBAAgB,iCAAiC,CAC/C,cAAc,EAAE,iBAAiB,EACjC,OAAO,EAAE,sBAAsB,EAC/B,WAAW,EAAE,KAAK,GAAG,SAAS,EAC9B,aAAa,EAAE,MAAM,EAAE,EACvB,iBAAiB,EAAE,oBAAoB,EACvC,uBAAuB,CAAC,EAAE,OAAO,GAAG,SAAS,GAC5C,cAAc,CAahB;AAkED,wBAAgB,6DAA6D,CAC3E,kBAAkB,EAAE,qBAAqB,GACxC,gCAAgC,CAUlC"}
1
+ {"version":3,"file":"V1_DSL_DataQuality_ValueSpecificationBuilderHelper.d.ts","sourceRoot":"","sources":["../../../../../../src/graph-manager/protocol/pure/v1/transformation/V1_DSL_DataQuality_ValueSpecificationBuilderHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAOH,OAAO,EAAE,gCAAgC,EAAE,MAAM,yDAAyD,CAAC;AAK3G,OAAO,EACL,KAAK,8BAA8B,EACnC,KAAK,2CAA2C,EAChD,KAAK,gCAAgC,EACrC,KAAK,8CAA8C,EACnD,KAAK,6CAA6C,EAGnD,MAAM,6CAA6C,CAAC;AACrD,OAAO,EACL,KAAK,2BAA2B,EAEhC,6BAA6B,EAG9B,MAAM,4GAA4G,CAAC;AACpH,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,KAAK,EACV,KAAK,cAAc,EAMnB,KAAK,iBAAiB,EAEtB,KAAK,qBAAqB,EAC1B,oBAAoB,EAMrB,MAAM,qBAAq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