@finos/legend-extension-dsl-data-quality 1.0.60 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/{DSL_DataQuality_ClassElementDriver.d.ts → DSL_DataQuality_ElementDriver.d.ts} +17 -7
- package/lib/components/DSL_DataQuality_ElementDriver.d.ts.map +1 -0
- package/lib/components/{DSL_DataQuality_ClassElementDriver.js → DSL_DataQuality_ElementDriver.js} +70 -23
- package/lib/components/DSL_DataQuality_ElementDriver.js.map +1 -0
- package/lib/components/DSL_DataQuality_LegendStudioApplicationPlugin.d.ts.map +1 -1
- package/lib/components/DSL_DataQuality_LegendStudioApplicationPlugin.js +20 -39
- package/lib/components/DSL_DataQuality_LegendStudioApplicationPlugin.js.map +1 -1
- package/lib/components/{DSL_NewDataQualityClassValidationElement.d.ts → DSL_NewDataQualityValidationElement.d.ts} +2 -2
- package/lib/components/DSL_NewDataQualityValidationElement.d.ts.map +1 -0
- package/lib/components/DSL_NewDataQualityValidationElement.js +80 -0
- package/lib/components/DSL_NewDataQualityValidationElement.js.map +1 -0
- package/lib/components/DataQualityRelationTrialRuns.d.ts +22 -0
- package/lib/components/DataQualityRelationTrialRuns.d.ts.map +1 -0
- package/lib/components/DataQualityRelationTrialRuns.js +87 -0
- package/lib/components/DataQualityRelationTrialRuns.js.map +1 -0
- package/lib/components/{DSL_NewDataQualityServiceValidationElement.d.ts → DataQualityRelationValidationConfigurationEditor.d.ts} +2 -2
- package/lib/components/DataQualityRelationValidationConfigurationEditor.d.ts.map +1 -0
- package/lib/components/DataQualityRelationValidationConfigurationEditor.js +99 -0
- package/lib/components/DataQualityRelationValidationConfigurationEditor.js.map +1 -0
- package/lib/components/DataQualityRelationValidationEditor.d.ts +30 -0
- package/lib/components/DataQualityRelationValidationEditor.d.ts.map +1 -0
- package/lib/components/DataQualityRelationValidationEditor.js +89 -0
- package/lib/components/DataQualityRelationValidationEditor.js.map +1 -0
- package/lib/components/DataQualityResultPanel.d.ts.map +1 -1
- package/lib/components/DataQualityResultPanel.js +1 -1
- package/lib/components/DataQualityResultPanel.js.map +1 -1
- package/lib/components/DataQualityResultValues.d.ts +0 -2
- package/lib/components/DataQualityResultValues.d.ts.map +1 -1
- package/lib/components/DataQualityResultValues.js.map +1 -1
- package/lib/components/DataQualitySideBar.js +2 -2
- package/lib/components/DataQualitySideBar.js.map +1 -1
- package/lib/components/DataQualityValidationDetailPanel.d.ts +36 -0
- package/lib/components/DataQualityValidationDetailPanel.d.ts.map +1 -0
- package/lib/components/DataQualityValidationDetailPanel.js +39 -0
- package/lib/components/DataQualityValidationDetailPanel.js.map +1 -0
- package/lib/components/DataQualityValidationParametersEditor.d.ts +15 -0
- package/lib/components/DataQualityValidationParametersEditor.d.ts.map +1 -0
- package/lib/components/DataQualityValidationParametersEditor.js +129 -0
- package/lib/components/DataQualityValidationParametersEditor.js.map +1 -0
- package/lib/components/states/ConstraintState.d.ts +2 -0
- package/lib/components/states/ConstraintState.d.ts.map +1 -1
- package/lib/components/states/ConstraintState.js +2 -0
- package/lib/components/states/ConstraintState.js.map +1 -1
- package/lib/components/states/DataQualityClassValidationState.d.ts +2 -2
- package/lib/components/states/DataQualityClassValidationState.d.ts.map +1 -1
- package/lib/components/states/DataQualityClassValidationState.js +4 -4
- package/lib/components/states/DataQualityClassValidationState.js.map +1 -1
- package/lib/components/states/DataQualityRelationResultState.d.ts +46 -0
- package/lib/components/states/DataQualityRelationResultState.d.ts.map +1 -0
- package/lib/components/states/DataQualityRelationResultState.js +194 -0
- package/lib/components/states/DataQualityRelationResultState.js.map +1 -0
- package/lib/components/states/DataQualityRelationValidationConfigurationState.d.ts +73 -0
- package/lib/components/states/DataQualityRelationValidationConfigurationState.d.ts.map +1 -0
- package/lib/components/states/DataQualityRelationValidationConfigurationState.js +255 -0
- package/lib/components/states/DataQualityRelationValidationConfigurationState.js.map +1 -0
- package/lib/components/states/DataQualityRelationValidationLambdaEditorState.d.ts +32 -0
- package/lib/components/states/DataQualityRelationValidationLambdaEditorState.d.ts.map +1 -0
- package/lib/components/states/DataQualityRelationValidationLambdaEditorState.js +79 -0
- package/lib/components/states/DataQualityRelationValidationLambdaEditorState.js.map +1 -0
- package/lib/components/states/DataQualityRelationValidationState.d.ts +38 -0
- package/lib/components/states/DataQualityRelationValidationState.d.ts.map +1 -0
- package/lib/components/states/DataQualityRelationValidationState.js +119 -0
- package/lib/components/states/DataQualityRelationValidationState.js.map +1 -0
- package/lib/components/states/DataQualityResultState.d.ts.map +1 -1
- package/lib/components/states/DataQualityResultState.js +6 -3
- package/lib/components/states/DataQualityResultState.js.map +1 -1
- package/lib/components/states/DataQualityState.js +1 -1
- package/lib/components/states/DataQualityState.js.map +1 -1
- package/lib/graph/metamodel/DSL_DataQuality_HashUtils.d.ts +5 -1
- package/lib/graph/metamodel/DSL_DataQuality_HashUtils.d.ts.map +1 -1
- package/lib/graph/metamodel/DSL_DataQuality_HashUtils.js +4 -0
- package/lib/graph/metamodel/DSL_DataQuality_HashUtils.js.map +1 -1
- package/lib/graph/metamodel/DSL_DataQuality_PureGraphPlugin.d.ts.map +1 -1
- package/lib/graph/metamodel/DSL_DataQuality_PureGraphPlugin.js +2 -1
- package/lib/graph/metamodel/DSL_DataQuality_PureGraphPlugin.js.map +1 -1
- package/lib/graph/metamodel/pure/packageableElements/data-quality/DataQualityValidationConfiguration.d.ts +36 -3
- package/lib/graph/metamodel/pure/packageableElements/data-quality/DataQualityValidationConfiguration.d.ts.map +1 -1
- package/lib/graph/metamodel/pure/packageableElements/data-quality/DataQualityValidationConfiguration.js +58 -4
- package/lib/graph/metamodel/pure/packageableElements/data-quality/DataQualityValidationConfiguration.js.map +1 -1
- package/lib/graph-manager/DSL_DataQuality_GraphManagerHelper.d.ts +2 -1
- package/lib/graph-manager/DSL_DataQuality_GraphManagerHelper.d.ts.map +1 -1
- package/lib/graph-manager/DSL_DataQuality_GraphManagerHelper.js +2 -1
- package/lib/graph-manager/DSL_DataQuality_GraphManagerHelper.js.map +1 -1
- package/lib/graph-manager/DSL_DataQuality_GraphModifierHelper.d.ts +13 -2
- package/lib/graph-manager/DSL_DataQuality_GraphModifierHelper.d.ts.map +1 -1
- package/lib/graph-manager/DSL_DataQuality_GraphModifierHelper.js +36 -2
- package/lib/graph-manager/DSL_DataQuality_GraphModifierHelper.js.map +1 -1
- package/lib/graph-manager/DSL_DataQuality_PureGraphManagerPlugin.d.ts.map +1 -1
- package/lib/graph-manager/DSL_DataQuality_PureGraphManagerPlugin.js +5 -2
- package/lib/graph-manager/DSL_DataQuality_PureGraphManagerPlugin.js.map +1 -1
- package/lib/graph-manager/action/changeDetection/DSL_DataQuality_ObserverHelper.d.ts +5 -1
- package/lib/graph-manager/action/changeDetection/DSL_DataQuality_ObserverHelper.d.ts.map +1 -1
- package/lib/graph-manager/action/changeDetection/DSL_DataQuality_ObserverHelper.js +29 -2
- package/lib/graph-manager/action/changeDetection/DSL_DataQuality_ObserverHelper.js.map +1 -1
- package/lib/graph-manager/protocol/pure/DSL_DataQuality_PureGraphManagerExtension.d.ts +6 -5
- package/lib/graph-manager/protocol/pure/DSL_DataQuality_PureGraphManagerExtension.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/DSL_DataQuality_PureGraphManagerExtension.js.map +1 -1
- package/lib/graph-manager/protocol/pure/DSL_DataQuality_PureProtocolProcessorPlugin.d.ts +1 -1
- package/lib/graph-manager/protocol/pure/DSL_DataQuality_PureProtocolProcessorPlugin.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/DSL_DataQuality_PureProtocolProcessorPlugin.js +34 -40
- package/lib/graph-manager/protocol/pure/DSL_DataQuality_PureProtocolProcessorPlugin.js.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/V1_DSL_Data_Quality_PureGraphManagerExtension.d.ts +8 -6
- package/lib/graph-manager/protocol/pure/v1/V1_DSL_Data_Quality_PureGraphManagerExtension.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/V1_DSL_Data_Quality_PureGraphManagerExtension.js +19 -12
- package/lib/graph-manager/protocol/pure/v1/V1_DSL_Data_Quality_PureGraphManagerExtension.js.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/{V1_DataQualityConstraintsConfiguration.d.ts → V1_DataQualityValidationConfiguration.d.ts} +26 -4
- package/lib/graph-manager/protocol/pure/v1/V1_DataQualityValidationConfiguration.d.ts.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/{V1_DataQualityConstraintsConfiguration.js → V1_DataQualityValidationConfiguration.js} +49 -4
- package/lib/graph-manager/protocol/pure/v1/V1_DataQualityValidationConfiguration.js.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/transformation/V1_DSL_DataQuality_ValueSpecificationBuilderHelper.d.ts +7 -3
- package/lib/graph-manager/protocol/pure/v1/transformation/V1_DSL_DataQuality_ValueSpecificationBuilderHelper.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/transformation/V1_DSL_DataQuality_ValueSpecificationBuilderHelper.js +43 -3
- package/lib/graph-manager/protocol/pure/v1/transformation/V1_DSL_DataQuality_ValueSpecificationBuilderHelper.js.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/transformation/V1_DSL_DataQuality_ValueSpecificationTransformer.d.ts +6 -3
- package/lib/graph-manager/protocol/pure/v1/transformation/V1_DSL_DataQuality_ValueSpecificationTransformer.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/transformation/V1_DSL_DataQuality_ValueSpecificationTransformer.js +39 -2
- package/lib/graph-manager/protocol/pure/v1/transformation/V1_DSL_DataQuality_ValueSpecificationTransformer.js.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataQuality_ProtocolHelper.d.ts +5 -2
- package/lib/graph-manager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataQuality_ProtocolHelper.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataQuality_ProtocolHelper.js +27 -9
- package/lib/graph-manager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataQuality_ProtocolHelper.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/package.json +1 -1
- package/package.json +7 -7
- package/src/components/{DSL_DataQuality_ClassElementDriver.tsx → DSL_DataQuality_ElementDriver.tsx} +87 -18
- package/src/components/DSL_DataQuality_LegendStudioApplicationPlugin.tsx +33 -48
- package/src/components/DSL_NewDataQualityValidationElement.tsx +208 -0
- package/src/components/DataQualityRelationTrialRuns.tsx +288 -0
- package/src/components/DataQualityRelationValidationConfigurationEditor.tsx +364 -0
- package/src/components/DataQualityRelationValidationEditor.tsx +290 -0
- package/src/components/DataQualityResultPanel.tsx +1 -4
- package/src/components/DataQualityResultValues.tsx +1 -5
- package/src/components/DataQualitySideBar.tsx +2 -2
- package/src/components/DataQualityValidationDetailPanel.tsx +182 -0
- package/src/components/DataQualityValidationParametersEditor.tsx +355 -0
- package/src/components/states/ConstraintState.ts +2 -0
- package/src/components/states/DataQualityClassValidationState.ts +5 -5
- package/src/components/states/DataQualityRelationResultState.ts +274 -0
- package/src/components/states/DataQualityRelationValidationConfigurationState.ts +429 -0
- package/src/components/states/DataQualityRelationValidationLambdaEditorState.ts +138 -0
- package/src/components/states/DataQualityRelationValidationState.ts +180 -0
- package/src/components/states/DataQualityResultState.ts +6 -8
- package/src/components/states/DataQualityState.ts +1 -1
- package/src/graph/metamodel/DSL_DataQuality_HashUtils.ts +4 -0
- package/src/graph/metamodel/DSL_DataQuality_PureGraphPlugin.ts +2 -0
- package/src/graph/metamodel/pure/packageableElements/data-quality/DataQualityValidationConfiguration.ts +79 -3
- package/src/graph-manager/DSL_DataQuality_GraphManagerHelper.ts +13 -0
- package/src/graph-manager/DSL_DataQuality_GraphModifierHelper.ts +107 -0
- package/src/graph-manager/DSL_DataQuality_PureGraphManagerPlugin.ts +8 -0
- package/src/graph-manager/action/changeDetection/DSL_DataQuality_ObserverHelper.ts +54 -1
- package/src/graph-manager/protocol/pure/DSL_DataQuality_PureGraphManagerExtension.ts +5 -3
- package/src/graph-manager/protocol/pure/DSL_DataQuality_PureProtocolProcessorPlugin.ts +72 -81
- package/src/graph-manager/protocol/pure/v1/V1_DSL_Data_Quality_PureGraphManagerExtension.ts +20 -23
- package/src/graph-manager/protocol/pure/v1/{V1_DataQualityConstraintsConfiguration.ts → V1_DataQualityValidationConfiguration.ts} +63 -4
- package/src/graph-manager/protocol/pure/v1/transformation/V1_DSL_DataQuality_ValueSpecificationBuilderHelper.ts +116 -2
- package/src/graph-manager/protocol/pure/v1/transformation/V1_DSL_DataQuality_ValueSpecificationTransformer.ts +78 -1
- package/src/graph-manager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataQuality_ProtocolHelper.ts +55 -8
- package/style/_data-quality-relation-validation-builder.scss +454 -0
- package/style/index.scss +6 -0
- package/tsconfig.json +13 -6
- package/lib/components/DSL_DataQuality_ClassElementDriver.d.ts.map +0 -1
- package/lib/components/DSL_DataQuality_ClassElementDriver.js.map +0 -1
- package/lib/components/DSL_DataQuality_ServiceElementDriver.d.ts +0 -27
- package/lib/components/DSL_DataQuality_ServiceElementDriver.d.ts.map +0 -1
- package/lib/components/DSL_DataQuality_ServiceElementDriver.js +0 -41
- package/lib/components/DSL_DataQuality_ServiceElementDriver.js.map +0 -1
- package/lib/components/DSL_NewDataQualityClassValidationElement.d.ts.map +0 -1
- package/lib/components/DSL_NewDataQualityClassValidationElement.js +0 -64
- package/lib/components/DSL_NewDataQualityClassValidationElement.js.map +0 -1
- package/lib/components/DSL_NewDataQualityServiceValidationElement.d.ts.map +0 -1
- package/lib/components/DSL_NewDataQualityServiceValidationElement.js +0 -41
- package/lib/components/DSL_NewDataQualityServiceValidationElement.js.map +0 -1
- package/lib/graph-manager/protocol/pure/v1/V1_DataQualityConstraintsConfiguration.d.ts.map +0 -1
- package/lib/graph-manager/protocol/pure/v1/V1_DataQualityConstraintsConfiguration.js.map +0 -1
- package/src/components/DSL_DataQuality_ServiceElementDriver.tsx +0 -57
- package/src/components/DSL_NewDataQualityClassValidationElement.tsx +0 -156
- package/src/components/DSL_NewDataQualityServiceValidationElement.tsx +0 -74
@@ -166,7 +166,7 @@ export class DataQualityState extends ElementEditorState {
|
|
166
166
|
*fetchStructuralValidations() {
|
167
167
|
const packagePath = this.constraintsConfigurationElement.path;
|
168
168
|
const model = this.graphManagerState.graph;
|
169
|
-
const rootGraphFetchTree = (yield getDataQualityPureGraphManagerExtension(this.graphManagerState.graphManager).fetchStructuralValidations(model, packagePath));
|
169
|
+
const rootGraphFetchTree = (yield getDataQualityPureGraphManagerExtension(this.graphManagerState.graphManager).fetchStructuralValidations(model, packagePath, {}));
|
170
170
|
this.initializeStructuralValidationsGraphFetchTreeState(rootGraphFetchTree);
|
171
171
|
}
|
172
172
|
initializeFilterState(filterLambda) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DataQualityState.js","sourceRoot":"","sources":["../../../src/components/states/DataQualityState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAC1E,OAAO,EAQL,cAAc,EACd,YAAY,EACZ,WAAW,EACX,4BAA4B,EAC5B,8BAA8B,EAC9B,cAAc,EACd,2BAA2B,EAC3B,sBAAsB,EACtB,YAAY,EACZ,0BAA0B,EAC1B,mCAAmC,EACnC,cAAc,EACd,cAAc,EACd,gCAAgC,EAChC,kBAAkB,EAClB,yCAAyC,EACzC,uCAAuC,EACvC,4BAA4B,GAC7B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAGL,kBAAkB,GACnB,MAAM,kCAAkC,CAAC;AAE1C,OAAO,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AACrF,OAAO,EAEL,iCAAiC,GAClC,MAAM,0FAA0F,CAAC;AAClG,OAAO,EACL,yCAAyC,EACzC,uBAAuB,GACxB,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAEL,WAAW,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AAK,sBAAsB,CAAC,UAAU,EACrE,CAAC;YACD,MAAM,cAAc,GAAG,IAAI,cAAc,EAAE,CAAC;YAC5C,cAAc,CAAC,IAAI,GAAG,uCAAuC,CAAC;YAC9D,cAAc,CAAC,KAAK,GAAG;gBACrB,KAAK,EAAE,4BAA4B,CAAC,WAAW;gBAC/C,KAAK,EAAE,IAAI,CAAC,YAAY;aACzB,CAAC;YACF,UAAU,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QAClC,CAAC;QACD,OAAO,UAAU,CAAC;IACpB,CAAC;IAED,CAAC,0BAA0B;QACzB,MAAM,WAAW,GAAG,IAAI,CAAC,+BAA+B,CAAC,IAAI,CAAC;QAC9D,MAAM,KAAK,GAAG,IAAI,CAAC,iBAAiB,CAAC,KAAK,CAAC;QAC3C,MAAM,kBAAkB,GAAG,CAAC,MAAM,uCAAuC,CACvE,IAAI,CAAC,iBAAiB,CAAC,YAAY,CACpC,CAAC,0BAA0B,CAAC,KAAK,EAAE,WAAW,CAAC,CAAuB,CAAC;
|
1
|
+
{"version":3,"file":"DataQualityState.js","sourceRoot":"","sources":["../../../src/components/states/DataQualityState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAC1E,OAAO,EAQL,cAAc,EACd,YAAY,EACZ,WAAW,EACX,4BAA4B,EAC5B,8BAA8B,EAC9B,cAAc,EACd,2BAA2B,EAC3B,sBAAsB,EACtB,YAAY,EACZ,0BAA0B,EAC1B,mCAAmC,EACnC,cAAc,EACd,cAAc,EACd,gCAAgC,EAChC,kBAAkB,EAClB,yCAAyC,EACzC,uCAAuC,EACvC,4BAA4B,GAC7B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAGL,kBAAkB,GACnB,MAAM,kCAAkC,CAAC;AAE1C,OAAO,EAAE,8BAA8B,EAAE,MAAM,qC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IACd,CAAC;IAED,cAAc,CAAC,GAAW;QACxB,IAAI,CAAC,WAAW,GAAG,GAAG,CAAC;IACzB,CAAC;IAED,sBAAsB,CAAC,GAAY;QACjC,IAAI,CAAC,mBAAmB,GAAG,GAAG,CAAC;IACjC,CAAC;IACD,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,2BAA2B,CAAC,kBAAkB;YAC9C,IAAI,CAAC,8BAA8B;YACnC,IAAI,CAAC,4BAA4B,CAAC,WAAW;SAC9C,CAAC,CAAC;IACL,CAAC;CACF"}
|
@@ -16,6 +16,7 @@
|
|
16
16
|
export declare enum DATA_QUALITY_HASH_STRUCTURE {
|
17
17
|
DATA_QUALITY_CONSTRAINTS_CONFIGURATION = "DATA_QUALITY_CONSTRAINTS_CONFIGURATION",
|
18
18
|
DATA_QUALITY_SERVICE_VALIDATION_CONFIGURATION = "DATA_QUALITY_SERVICE_VALIDATION_CONFIGURATION",
|
19
|
+
DATA_QUALITY_RELATION_VALIDATION_CONFIGURATION = "DATA_QUALITY_RELATION_VALIDATION_CONFIGURATION",
|
19
20
|
DATA_QUALTIY_DATASPACE_EXECUTION_CONTEXT = "DATA_QUALITY_DATASPACE_EXECUTION_CONTEXT",
|
20
21
|
DATA_QUALITY_MAPPING_AND_RUNTIME_EXECUTION_CONTEXT = "DATA_QUALITY_MAPPING_AND_RUNTIME_EXECUTION_CONTEXT",
|
21
22
|
DATA_QUALITY_GRAPH_FETCH_STATE = "DATA_QUALITY_GRAPH_FETCH_STATE",
|
@@ -24,6 +25,9 @@ export declare enum DATA_QUALITY_HASH_STRUCTURE {
|
|
24
25
|
DATA_QUALITY_PROPERTY_GRAPH_FETCH_TREE = "DATA_QUALITY_PROPERTY_GRAPH_FETCH_TREE",
|
25
26
|
DATA_QUALITY_SUBTYPE_GRAPH_FETCH_TREE = "DATA_QUALITY_SUBTYPE_GRAPH_FETCH_TREE",
|
26
27
|
DATA_QUALITY_GRAPH_FETCH_TREE_NODE_DATA = "DATA_QUALITY_GRAPH_FETCH_TREE_NODE_DATA",
|
27
|
-
DATA_QUALITY_STATE = "DATA_QUALITY_STATE"
|
28
|
+
DATA_QUALITY_STATE = "DATA_QUALITY_STATE",
|
29
|
+
DATA_QUALITY_RELATION_VALIDATION = "DATA_QUALITY_RELATION_VALIDATION",
|
30
|
+
DATA_QUALITY_RELATION_FUNCTION_DEFINITION = "DATA_QUALITY_RELATION_FUNCTION_DEFINITION",
|
31
|
+
DATA_QUALITY_RELATION_VALIDATION_QUERY = "DATA_QUALITY_RELATION_VALIDATION_QUERY"
|
28
32
|
}
|
29
33
|
//# sourceMappingURL=DSL_DataQuality_HashUtils.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSL_DataQuality_HashUtils.d.ts","sourceRoot":"","sources":["../../../src/graph/metamodel/DSL_DataQuality_HashUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,2BAA2B;IACrC,sCAAsC,2CAA2C;IACjF,6CAA6C,kDAAkD;IAC/F,wCAAwC,6CAA6C;IACrF,kDAAkD,uDAAuD;IACzG,8BAA8B,mCAAmC;IACjE,6BAA6B,kCAAkC;IAC/D,kCAAkC,uCAAuC;IACzE,sCAAsC,2CAA2C;IACjF,qCAAqC,0CAA0C;IAC/E,uCAAuC,4CAA4C;IACnF,kBAAkB,uBAAuB;
|
1
|
+
{"version":3,"file":"DSL_DataQuality_HashUtils.d.ts","sourceRoot":"","sources":["../../../src/graph/metamodel/DSL_DataQuality_HashUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,2BAA2B;IACrC,sCAAsC,2CAA2C;IACjF,6CAA6C,kDAAkD;IAC/F,8CAA8C,mDAAmD;IACjG,wCAAwC,6CAA6C;IACrF,kDAAkD,uDAAuD;IACzG,8BAA8B,mCAAmC;IACjE,6BAA6B,kCAAkC;IAC/D,kCAAkC,uCAAuC;IACzE,sCAAsC,2CAA2C;IACjF,qCAAqC,0CAA0C;IAC/E,uCAAuC,4CAA4C;IACnF,kBAAkB,uBAAuB;IACzC,gCAAgC,qCAAqC;IACrE,yCAAyC,8CAA8C;IACvF,sCAAsC,2CAA2C;CAClF"}
|
@@ -17,6 +17,7 @@ export var DATA_QUALITY_HASH_STRUCTURE;
|
|
17
17
|
(function (DATA_QUALITY_HASH_STRUCTURE) {
|
18
18
|
DATA_QUALITY_HASH_STRUCTURE["DATA_QUALITY_CONSTRAINTS_CONFIGURATION"] = "DATA_QUALITY_CONSTRAINTS_CONFIGURATION";
|
19
19
|
DATA_QUALITY_HASH_STRUCTURE["DATA_QUALITY_SERVICE_VALIDATION_CONFIGURATION"] = "DATA_QUALITY_SERVICE_VALIDATION_CONFIGURATION";
|
20
|
+
DATA_QUALITY_HASH_STRUCTURE["DATA_QUALITY_RELATION_VALIDATION_CONFIGURATION"] = "DATA_QUALITY_RELATION_VALIDATION_CONFIGURATION";
|
20
21
|
DATA_QUALITY_HASH_STRUCTURE["DATA_QUALTIY_DATASPACE_EXECUTION_CONTEXT"] = "DATA_QUALITY_DATASPACE_EXECUTION_CONTEXT";
|
21
22
|
DATA_QUALITY_HASH_STRUCTURE["DATA_QUALITY_MAPPING_AND_RUNTIME_EXECUTION_CONTEXT"] = "DATA_QUALITY_MAPPING_AND_RUNTIME_EXECUTION_CONTEXT";
|
22
23
|
DATA_QUALITY_HASH_STRUCTURE["DATA_QUALITY_GRAPH_FETCH_STATE"] = "DATA_QUALITY_GRAPH_FETCH_STATE";
|
@@ -26,5 +27,8 @@ export var DATA_QUALITY_HASH_STRUCTURE;
|
|
26
27
|
DATA_QUALITY_HASH_STRUCTURE["DATA_QUALITY_SUBTYPE_GRAPH_FETCH_TREE"] = "DATA_QUALITY_SUBTYPE_GRAPH_FETCH_TREE";
|
27
28
|
DATA_QUALITY_HASH_STRUCTURE["DATA_QUALITY_GRAPH_FETCH_TREE_NODE_DATA"] = "DATA_QUALITY_GRAPH_FETCH_TREE_NODE_DATA";
|
28
29
|
DATA_QUALITY_HASH_STRUCTURE["DATA_QUALITY_STATE"] = "DATA_QUALITY_STATE";
|
30
|
+
DATA_QUALITY_HASH_STRUCTURE["DATA_QUALITY_RELATION_VALIDATION"] = "DATA_QUALITY_RELATION_VALIDATION";
|
31
|
+
DATA_QUALITY_HASH_STRUCTURE["DATA_QUALITY_RELATION_FUNCTION_DEFINITION"] = "DATA_QUALITY_RELATION_FUNCTION_DEFINITION";
|
32
|
+
DATA_QUALITY_HASH_STRUCTURE["DATA_QUALITY_RELATION_VALIDATION_QUERY"] = "DATA_QUALITY_RELATION_VALIDATION_QUERY";
|
29
33
|
})(DATA_QUALITY_HASH_STRUCTURE || (DATA_QUALITY_HASH_STRUCTURE = {}));
|
30
34
|
//# sourceMappingURL=DSL_DataQuality_HashUtils.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSL_DataQuality_HashUtils.js","sourceRoot":"","sources":["../../../src/graph/metamodel/DSL_DataQuality_HashUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,
|
1
|
+
{"version":3,"file":"DSL_DataQuality_HashUtils.js","sourceRoot":"","sources":["../../../src/graph/metamodel/DSL_DataQuality_HashUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,2BAgBX;AAhBD,WAAY,2BAA2B;IACrC,gHAAiF,CAAA;IACjF,8HAA+F,CAAA;IAC/F,gIAAiG,CAAA;IACjG,oHAAqF,CAAA;IACrF,wIAAyG,CAAA;IACzG,gGAAiE,CAAA;IACjE,8FAA+D,CAAA;IAC/D,wGAAyE,CAAA;IACzE,gHAAiF,CAAA;IACjF,8GAA+E,CAAA;IAC/E,kHAAmF,CAAA;IACnF,wEAAyC,CAAA;IACzC,oGAAqE,CAAA;IACrE,sHAAuF,CAAA;IACvF,gHAAiF,CAAA;AACnF,CAAC,EAhBW,2BAA2B,KAA3B,2BAA2B,QAgBtC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSL_DataQuality_PureGraphPlugin.d.ts","sourceRoot":"","sources":["../../../src/graph/metamodel/DSL_DataQuality_PureGraphPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,KAAK,kBAAkB,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;
|
1
|
+
{"version":3,"file":"DSL_DataQuality_PureGraphPlugin.d.ts","sourceRoot":"","sources":["../../../src/graph/metamodel/DSL_DataQuality_PureGraphPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,KAAK,kBAAkB,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAQ/E,qBAAa,+BAAgC,SAAQ,eAAe;;IAKzD,iCAAiC,IAAI,KAAK,CAAC,kBAAkB,CAAC,EAAE;CAO1E"}
|
@@ -16,7 +16,7 @@
|
|
16
16
|
import {} from '@finos/legend-shared';
|
17
17
|
import { PureGraphPlugin } from '@finos/legend-graph';
|
18
18
|
import packageJson from '../../../package.json';
|
19
|
-
import { DataQualityClassValidationsConfiguration, DataQualityServiceValidationConfiguration, } from './pure/packageableElements/data-quality/DataQualityValidationConfiguration.js';
|
19
|
+
import { DataQualityClassValidationsConfiguration, DataQualityServiceValidationConfiguration, DataQualityRelationValidationConfiguration, } from './pure/packageableElements/data-quality/DataQualityValidationConfiguration.js';
|
20
20
|
export class DSL_DataQuality_PureGraphPlugin extends PureGraphPlugin {
|
21
21
|
constructor() {
|
22
22
|
super(packageJson.extensions.pureGraphPlugin, packageJson.version);
|
@@ -25,6 +25,7 @@ export class DSL_DataQuality_PureGraphPlugin extends PureGraphPlugin {
|
|
25
25
|
return [
|
26
26
|
DataQualityClassValidationsConfiguration,
|
27
27
|
DataQualityServiceValidationConfiguration,
|
28
|
+
DataQualityRelationValidationConfiguration,
|
28
29
|
];
|
29
30
|
}
|
30
31
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSL_DataQuality_PureGraphPlugin.js","sourceRoot":"","sources":["../../../src/graph/metamodel/DSL_DataQuality_PureGraphPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAc,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAA2B,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC/E,OAAO,WAAW,MAAM,uBAAuB,CAAC;AAChD,OAAO,EACL,wCAAwC,EACxC,yCAAyC,
|
1
|
+
{"version":3,"file":"DSL_DataQuality_PureGraphPlugin.js","sourceRoot":"","sources":["../../../src/graph/metamodel/DSL_DataQuality_PureGraphPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAc,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAA2B,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC/E,OAAO,WAAW,MAAM,uBAAuB,CAAC;AAChD,OAAO,EACL,wCAAwC,EACxC,yCAAyC,EACzC,0CAA0C,GAC3C,MAAM,+EAA+E,CAAC;AAEvF,MAAM,OAAO,+BAAgC,SAAQ,eAAe;IAClE;QACE,KAAK,CAAC,WAAW,CAAC,UAAU,CAAC,eAAe,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IACrE,CAAC;IAEQ,iCAAiC;QACxC,OAAO;YACL,wCAAwC;YACxC,yCAAyC;YACzC,0CAA0C;SAC3C,CAAC;IACJ,CAAC;CACF"}
|
@@ -13,10 +13,20 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import { type PackageableElementVisitor, type GraphFetchTree, type Mapping, type PackageableElementReference, type PackageableRuntime, type RawLambda, PackageableElement } from '@finos/legend-graph';
|
16
|
+
import { type PackageableElementVisitor, type GraphFetchTree, type Mapping, type PackageableElementReference, type PackageableRuntime, type RawLambda, type ParameterValue, type RawVariableExpression, PackageableElement } from '@finos/legend-graph';
|
17
17
|
import { type Hashable } from '@finos/legend-shared';
|
18
18
|
import type { DataSpace } from '@finos/legend-extension-dsl-data-space/graph';
|
19
19
|
import type { DataQualityRootGraphFetchTree } from './DataQualityGraphFetchTree.js';
|
20
|
+
export declare enum RelationValidationType {
|
21
|
+
ROW_LEVEL = "ROW_LEVEL",
|
22
|
+
AGGREGATE = "AGGREGATE"
|
23
|
+
}
|
24
|
+
export interface DQExecuteInputOptions {
|
25
|
+
lambdaParameterValues?: ParameterValue[];
|
26
|
+
clientVersion?: string | undefined;
|
27
|
+
validationName?: string | undefined;
|
28
|
+
previewLimit?: number | undefined;
|
29
|
+
}
|
20
30
|
export declare abstract class DataQualityExecutionContext implements Hashable {
|
21
31
|
abstract get hashCode(): string;
|
22
32
|
}
|
@@ -30,18 +40,41 @@ export declare class MappingAndRuntimeDataQualityExecutionContext extends DataQu
|
|
30
40
|
runtime: PackageableElementReference<PackageableRuntime>;
|
31
41
|
get hashCode(): string;
|
32
42
|
}
|
33
|
-
export declare class
|
43
|
+
export declare abstract class DataQualityValidationConfiguration extends PackageableElement {
|
44
|
+
}
|
45
|
+
export declare class DataQualityClassValidationsConfiguration extends DataQualityValidationConfiguration implements Hashable {
|
34
46
|
context: DataQualityExecutionContext;
|
35
47
|
dataQualityRootGraphFetchTree: DataQualityRootGraphFetchTree | undefined;
|
36
48
|
filter?: RawLambda | undefined;
|
37
49
|
protected get _elementHashCode(): string;
|
38
50
|
accept_PackageableElementVisitor<T>(visitor: PackageableElementVisitor<T>): T;
|
39
51
|
}
|
40
|
-
export declare class DataQualityServiceValidationConfiguration extends
|
52
|
+
export declare class DataQualityServiceValidationConfiguration extends DataQualityValidationConfiguration implements Hashable {
|
41
53
|
serviceName: string | undefined;
|
42
54
|
contextName: string | undefined;
|
43
55
|
dataQualityRootGraphFetchTree: GraphFetchTree | undefined;
|
44
56
|
protected get _elementHashCode(): string;
|
45
57
|
accept_PackageableElementVisitor<T>(visitor: PackageableElementVisitor<T>): T;
|
46
58
|
}
|
59
|
+
export declare class DataQualityRelationQueryLambda implements Hashable {
|
60
|
+
body?: object | undefined;
|
61
|
+
parameters: RawVariableExpression[];
|
62
|
+
get hashCode(): string;
|
63
|
+
}
|
64
|
+
export declare class DataQualityRelationValidation implements Hashable {
|
65
|
+
readonly _UUID: string;
|
66
|
+
name: string;
|
67
|
+
description: string | undefined;
|
68
|
+
assertion: RawLambda;
|
69
|
+
type: RelationValidationType;
|
70
|
+
rowMapFunction: RawLambda | undefined;
|
71
|
+
constructor(name: string, assertion: RawLambda);
|
72
|
+
get hashCode(): string;
|
73
|
+
}
|
74
|
+
export declare class DataQualityRelationValidationConfiguration extends DataQualityValidationConfiguration implements Hashable {
|
75
|
+
query: DataQualityRelationQueryLambda;
|
76
|
+
validations: DataQualityRelationValidation[];
|
77
|
+
protected get _elementHashCode(): string;
|
78
|
+
accept_PackageableElementVisitor<T>(visitor: PackageableElementVisitor<T>): T;
|
79
|
+
}
|
47
80
|
//# sourceMappingURL=DataQualityValidationConfiguration.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DataQualityValidationConfiguration.d.ts","sourceRoot":"","sources":["../../../../../../src/graph/metamodel/pure/packageableElements/data-quality/DataQualityValidationConfiguration.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,yBAAyB,EAC9B,KAAK,cAAc,EACnB,KAAK,OAAO,EACZ,KAAK,2BAA2B,EAChC,KAAK,kBAAkB,EACvB,KAAK,SAAS,EACd,
|
1
|
+
{"version":3,"file":"DataQualityValidationConfiguration.d.ts","sourceRoot":"","sources":["../../../../../../src/graph/metamodel/pure/packageableElements/data-quality/DataQualityValidationConfiguration.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;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EAAE,yBAAyB,CAAC,CAAC,CAAC,GACpC,CAAC;CAGL"}
|
@@ -13,9 +13,14 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import { PackageableElement, } from '@finos/legend-graph';
|
17
|
-
import { hashArray } from '@finos/legend-shared';
|
16
|
+
import { PackageableElement, hashRawLambda, } from '@finos/legend-graph';
|
17
|
+
import { hashArray, uuid } from '@finos/legend-shared';
|
18
18
|
import { DATA_QUALITY_HASH_STRUCTURE } from '../../../DSL_DataQuality_HashUtils.js';
|
19
|
+
export var RelationValidationType;
|
20
|
+
(function (RelationValidationType) {
|
21
|
+
RelationValidationType["ROW_LEVEL"] = "ROW_LEVEL";
|
22
|
+
RelationValidationType["AGGREGATE"] = "AGGREGATE";
|
23
|
+
})(RelationValidationType || (RelationValidationType = {}));
|
19
24
|
export class DataQualityExecutionContext {
|
20
25
|
}
|
21
26
|
export class DataSpaceDataQualityExecutionContext extends DataQualityExecutionContext {
|
@@ -40,7 +45,9 @@ export class MappingAndRuntimeDataQualityExecutionContext extends DataQualityExe
|
|
40
45
|
]);
|
41
46
|
}
|
42
47
|
}
|
43
|
-
export class
|
48
|
+
export class DataQualityValidationConfiguration extends PackageableElement {
|
49
|
+
}
|
50
|
+
export class DataQualityClassValidationsConfiguration extends DataQualityValidationConfiguration {
|
44
51
|
context;
|
45
52
|
dataQualityRootGraphFetchTree;
|
46
53
|
filter;
|
@@ -56,7 +63,7 @@ export class DataQualityClassValidationsConfiguration extends PackageableElement
|
|
56
63
|
return visitor.visit_PackageableElement(this);
|
57
64
|
}
|
58
65
|
}
|
59
|
-
export class DataQualityServiceValidationConfiguration extends
|
66
|
+
export class DataQualityServiceValidationConfiguration extends DataQualityValidationConfiguration {
|
60
67
|
serviceName;
|
61
68
|
contextName;
|
62
69
|
dataQualityRootGraphFetchTree;
|
@@ -72,4 +79,51 @@ export class DataQualityServiceValidationConfiguration extends PackageableElemen
|
|
72
79
|
return visitor.visit_PackageableElement(this);
|
73
80
|
}
|
74
81
|
}
|
82
|
+
export class DataQualityRelationQueryLambda {
|
83
|
+
body;
|
84
|
+
parameters = [];
|
85
|
+
get hashCode() {
|
86
|
+
return hashArray([
|
87
|
+
DATA_QUALITY_HASH_STRUCTURE.DATA_QUALITY_RELATION_VALIDATION_QUERY,
|
88
|
+
hashArray(this.parameters),
|
89
|
+
hashRawLambda(undefined, this.body),
|
90
|
+
]);
|
91
|
+
}
|
92
|
+
}
|
93
|
+
export class DataQualityRelationValidation {
|
94
|
+
_UUID = uuid();
|
95
|
+
name;
|
96
|
+
description;
|
97
|
+
assertion;
|
98
|
+
type = RelationValidationType.ROW_LEVEL;
|
99
|
+
rowMapFunction;
|
100
|
+
constructor(name, assertion) {
|
101
|
+
this.name = name;
|
102
|
+
this.assertion = assertion;
|
103
|
+
}
|
104
|
+
get hashCode() {
|
105
|
+
return hashArray([
|
106
|
+
DATA_QUALITY_HASH_STRUCTURE.DATA_QUALITY_RELATION_VALIDATION,
|
107
|
+
this.name,
|
108
|
+
this.type,
|
109
|
+
this.description ?? '',
|
110
|
+
this.assertion,
|
111
|
+
this.rowMapFunction ?? '',
|
112
|
+
]);
|
113
|
+
}
|
114
|
+
}
|
115
|
+
export class DataQualityRelationValidationConfiguration extends DataQualityValidationConfiguration {
|
116
|
+
query;
|
117
|
+
validations = [];
|
118
|
+
get _elementHashCode() {
|
119
|
+
return hashArray([
|
120
|
+
DATA_QUALITY_HASH_STRUCTURE.DATA_QUALITY_RELATION_VALIDATION_CONFIGURATION,
|
121
|
+
this.query,
|
122
|
+
hashArray(this.validations),
|
123
|
+
]);
|
124
|
+
}
|
125
|
+
accept_PackageableElementVisitor(visitor) {
|
126
|
+
return visitor.visit_PackageableElement(this);
|
127
|
+
}
|
128
|
+
}
|
75
129
|
//# sourceMappingURL=DataQualityValidationConfiguration.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DataQualityValidationConfiguration.js","sourceRoot":"","sources":["../../../../../../src/graph/metamodel/pure/packageableElements/data-quality/DataQualityValidationConfiguration.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,
|
1
|
+
{"version":3,"file":"DataQualityValidationConfiguration.js","sourceRoot":"","sources":["../../../../../../src/graph/metamodel/pure/packageableElements/data-quality/DataQualityValidationConfiguration.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EASL,kBAAkB,EAClB,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAiB,SAAS,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AACtE,OAAO,EAAE,2BAA2B,EAAE,MAAM,uCAAuC,CAAC;AAIpF,MAAM,CAAN,IAAY,sBAGX;AAHD,WAAY,sBAAsB;IAChC,iDAAuB,CAAA;IACvB,iDAAuB,CAAA;AACzB,CAAC,EAHW,sBAAsB,KAAtB,sBAAsB,QAGjC;AAQD,MAAM,OAAgB,2BAA2B;CAEhD;AAED,MAAM,OAAO,oCAAqC,SAAQ,2BAA2B;IACnF,OAAO,CAAU;IACjB,SAAS,CAA0C;IAEnD,IAAa,QAAQ;QACnB,OAAO,SAAS,CAAC;YACf,2BAA2B,CAAC,wCAAwC;YACpE,IAAI,CAAC,OAAO;YACZ,IAAI,CAAC,SAAS,CAAC,qBAAqB,IAAI,EAAE;SAC3C,CAAC,CAAC;IACL,CAAC;CACF;AAED,MAAM,OAAO,4CAA6C,SAAQ,2BAA2B;IAC3F,OAAO,CAAwC;IAC/C,OAAO,CAAmD;IAE1D,IAAa,QAAQ;QACnB,OAAO,SAAS,CAAC;YACf,2BAA2B,CAAC,kDAAkD;YAC9E,IAAI,CAAC,OAAO,CAAC,qBAAqB,IAAI,EAAE;YACxC,IAAI,CAAC,OAAO,CAAC,qBAAqB,IAAI,EAAE;SACzC,CAAC,CAAC;IACL,CAAC;CACF;AAED,MAAM,OAAgB,kCAAmC,SAAQ,kBAAkB;CAAG;A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B,sBAAsB,CAAC,SAAS,CAAC;IAChE,cAAc,CAAwB;IAEtC,YAAY,IAAY,EAAE,SAAoB;QAC5C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC7B,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,2BAA2B,CAAC,gCAAgC;YAC5D,IAAI,CAAC,IAAI;YACT,IAAI,CAAC,IAAI;YACT,IAAI,CAAC,WAAW,IAAI,EAAE;YACtB,IAAI,CAAC,SAAS;YACd,IAAI,CAAC,cAAc,IAAI,EAAE;SAC1B,CAAC,CAAC;IACL,CAAC;CACF;AAED,MAAM,OAAO,0CACX,SAAQ,kCAAkC;IAG1C,KAAK,CAAkC;IACvC,WAAW,GAAoC,EAAE,CAAC;IAElD,IAAuB,gBAAgB;QACrC,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,OAAqC;QAErC,OAAO,OAAO,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAC;IAChD,CAAC;CACF"}
|
@@ -14,7 +14,8 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
import type { BasicModel } from '@finos/legend-graph';
|
17
|
-
import { DataQualityClassValidationsConfiguration, DataQualityServiceValidationConfiguration } from '../graph/metamodel/pure/packageableElements/data-quality/DataQualityValidationConfiguration.js';
|
17
|
+
import { DataQualityClassValidationsConfiguration, DataQualityServiceValidationConfiguration, DataQualityRelationValidationConfiguration } from '../graph/metamodel/pure/packageableElements/data-quality/DataQualityValidationConfiguration.js';
|
18
18
|
export declare const getOwnDataQualityClassValidationsConfiguration: (path: string, graph: BasicModel) => DataQualityClassValidationsConfiguration;
|
19
19
|
export declare const getOwnDataQualityServiceValidationsConfiguration: (path: string, graph: BasicModel) => DataQualityServiceValidationConfiguration;
|
20
|
+
export declare const getOwnDataQualityRelationValidationsConfiguration: (path: string, graph: BasicModel) => DataQualityRelationValidationConfiguration;
|
20
21
|
//# sourceMappingURL=DSL_DataQuality_GraphManagerHelper.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSL_DataQuality_GraphManagerHelper.d.ts","sourceRoot":"","sources":["../../src/graph-manager/DSL_DataQuality_GraphManagerHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEtD,OAAO,EACL,wCAAwC,EACxC,yCAAyC,
|
1
|
+
{"version":3,"file":"DSL_DataQuality_GraphManagerHelper.d.ts","sourceRoot":"","sources":["../../src/graph-manager/DSL_DataQuality_GraphManagerHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEtD,OAAO,EACL,wCAAwC,EACxC,yCAAyC,EACzC,0CAA0C,EAC3C,MAAM,gGAAgG,CAAC;AAExG,eAAO,MAAM,8CAA8C,SACnD,MAAM,SACL,UAAU,KAChB,wCAOA,CAAC;AAEJ,eAAO,MAAM,gDAAgD,SACrD,MAAM,SACL,UAAU,KAChB,yCAOA,CAAC;AAEJ,eAAO,MAAM,iDAAiD,SACtD,MAAM,SACL,UAAU,KAChB,0CAOA,CAAC"}
|
@@ -14,7 +14,8 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
import { guaranteeNonNullable } from '@finos/legend-shared';
|
17
|
-
import { DataQualityClassValidationsConfiguration, DataQualityServiceValidationConfiguration, } from '../graph/metamodel/pure/packageableElements/data-quality/DataQualityValidationConfiguration.js';
|
17
|
+
import { DataQualityClassValidationsConfiguration, DataQualityServiceValidationConfiguration, DataQualityRelationValidationConfiguration, } from '../graph/metamodel/pure/packageableElements/data-quality/DataQualityValidationConfiguration.js';
|
18
18
|
export const getOwnDataQualityClassValidationsConfiguration = (path, graph) => guaranteeNonNullable(graph.getOwnNullableExtensionElement(path, DataQualityClassValidationsConfiguration), `Can't find data quality class validation element on '${path}'`);
|
19
19
|
export const getOwnDataQualityServiceValidationsConfiguration = (path, graph) => guaranteeNonNullable(graph.getOwnNullableExtensionElement(path, DataQualityServiceValidationConfiguration), `Can't find data quality service validation element on '${path}'`);
|
20
|
+
export const getOwnDataQualityRelationValidationsConfiguration = (path, graph) => guaranteeNonNullable(graph.getOwnNullableExtensionElement(path, DataQualityRelationValidationConfiguration), `Can't find data quality tds validation element on '${path}'`);
|
20
21
|
//# sourceMappingURL=DSL_DataQuality_GraphManagerHelper.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSL_DataQuality_GraphManagerHelper.js","sourceRoot":"","sources":["../../src/graph-manager/DSL_DataQuality_GraphManagerHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EACL,wCAAwC,EACxC,yCAAyC,
|
1
|
+
{"version":3,"file":"DSL_DataQuality_GraphManagerHelper.js","sourceRoot":"","sources":["../../src/graph-manager/DSL_DataQuality_GraphManagerHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EACL,wCAAwC,EACxC,yCAAyC,EACzC,0CAA0C,GAC3C,MAAM,gGAAgG,CAAC;AAExG,MAAM,CAAC,MAAM,8CAA8C,GAAG,CAC5D,IAAY,EACZ,KAAiB,EACyB,EAAE,CAC5C,oBAAoB,CAClB,KAAK,CAAC,8BAA8B,CAClC,IAAI,EACJ,wCAAwC,CACzC,EACD,wDAAwD,IAAI,GAAG,CAChE,CAAC;AAEJ,MAAM,CAAC,MAAM,gDAAgD,GAAG,CAC9D,IAAY,EACZ,KAAiB,EAC0B,EAAE,CAC7C,oBAAoB,CAClB,KAAK,CAAC,8BAA8B,CAClC,IAAI,EACJ,yCAAyC,CAC1C,EACD,0DAA0D,IAAI,GAAG,CAClE,CAAC;AAEJ,MAAM,CAAC,MAAM,iDAAiD,GAAG,CAC/D,IAAY,EACZ,KAAiB,EAC2B,EAAE,CAC9C,oBAAoB,CAClB,KAAK,CAAC,8BAA8B,CAClC,IAAI,EACJ,0CAA0C,CAC3C,EACD,sDAAsD,IAAI,GAAG,CAC9D,CAAC"}
|
@@ -13,9 +13,9 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import { type DataQualityClassValidationsConfiguration, type DataQualityExecutionContext } from '../graph/metamodel/pure/packageableElements/data-quality/DataQualityValidationConfiguration.js';
|
16
|
+
import { type DataQualityClassValidationsConfiguration, type DataQualityExecutionContext, type DataQualityRelationValidation, type DataQualityRelationValidationConfiguration, type RelationValidationType } from '../graph/metamodel/pure/packageableElements/data-quality/DataQualityValidationConfiguration.js';
|
17
17
|
import { DataQualityRootGraphFetchTree } from '../graph/metamodel/pure/packageableElements/data-quality/DataQualityGraphFetchTree.js';
|
18
|
-
import { type GraphFetchTree, type PackageableElementReference, type PackageableRuntime, type RawLambda, type ObserverContext } from '@finos/legend-graph';
|
18
|
+
import { type GraphFetchTree, type PackageableElementReference, type PackageableRuntime, type RawLambda, type ObserverContext, type RawVariableExpression } from '@finos/legend-graph';
|
19
19
|
export declare const dataQualityClassValidation_setDataQualityGraphFetchTree: (element: DataQualityClassValidationsConfiguration, val: DataQualityRootGraphFetchTree | undefined) => void;
|
20
20
|
export declare const dataQualityClassValidation_setDataQualityContext: (element: DataQualityClassValidationsConfiguration, val: DataQualityExecutionContext) => void;
|
21
21
|
export declare const dataQualityClassValidation_setFilter: (element: DataQualityClassValidationsConfiguration, val: RawLambda | undefined) => void;
|
@@ -23,4 +23,15 @@ export declare const dataQualityClassValidation_setContextDataQualityContext: (e
|
|
23
23
|
export declare const dataQualityClassValidation_setRuntimeDataQualityContext: (element: DataQualityClassValidationsConfiguration, val: PackageableElementReference<PackageableRuntime>, observerContext: ObserverContext) => void;
|
24
24
|
export declare const graphFetchTree_removeAllSubTrees: (target: GraphFetchTree) => void;
|
25
25
|
export declare const dataQualityGraphFetchTree_removeConstraints: (target: GraphFetchTree) => void;
|
26
|
+
export declare const dataQualityRelationValidation_setAssertion: (_constraint: DataQualityRelationValidation, assertion: RawLambda) => void;
|
27
|
+
export declare const dataQualityRelationValidation_setName: (_constraint: DataQualityRelationValidation, name: string) => void;
|
28
|
+
export declare const dataQualityRelationValidation_setDescription: (_constraint: DataQualityRelationValidation, description: string) => void;
|
29
|
+
export declare const dataQualityRelationValidation_setType: (_constraint: DataQualityRelationValidation, type: RelationValidationType) => void;
|
30
|
+
export declare const dataQualityRelationValidation_setRowMapFunction: (_constraint: DataQualityRelationValidation, rowMapFunction: RawLambda) => void;
|
31
|
+
export declare const dataQualityRelationValidation_addValidation: (_relationValidation: DataQualityRelationValidationConfiguration, val: DataQualityRelationValidation) => void;
|
32
|
+
export declare const dataQualityRelationValidation_deleteValidation: (_relationValidation: DataQualityRelationValidationConfiguration, val: DataQualityRelationValidation) => void;
|
33
|
+
export declare const dataQualityRelationValidation_swapValidations: (_relationValidation: DataQualityRelationValidationConfiguration, sourceValidation: DataQualityRelationValidation, targetValidation: DataQualityRelationValidation) => void;
|
34
|
+
export declare const dataQualityRelationValidation_addParameter: (_parameters: RawVariableExpression[], val: RawVariableExpression) => void;
|
35
|
+
export declare const dataQualityRelationValidation_deleteParameter: (_parameters: RawVariableExpression[], val: RawVariableExpression) => void;
|
36
|
+
export declare const dataQualityRelationValidation_swapParameters: (_parameters: RawVariableExpression[], sourceParameter: RawVariableExpression, targetParameter: RawVariableExpression) => void;
|
26
37
|
//# sourceMappingURL=DSL_DataQuality_GraphModifierHelper.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSL_DataQuality_GraphModifierHelper.d.ts","sourceRoot":"","sources":["../../src/graph-manager/DSL_DataQuality_GraphModifierHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,KAAK,wCAAwC,EAC7C,KAAK,2BAA2B,
|
1
|
+
{"version":3,"file":"DSL_DataQuality_GraphModifierHelper.d.ts","sourceRoot":"","sources":["../../src/graph-manager/DSL_DataQuality_GraphModifierHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,KAAK,wCAAwC,EAC7C,KAAK,2BAA2B,EAChC,KAAK,6BAA6B,EAClC,KAAK,0CAA0C,EAC/C,KAAK,sBAAsB,EAG5B,MAAM,gGAAgG,CAAC;AACxG,OAAO,EAAE,6BAA6B,EAAE,MAAM,uFAAuF,CAAC;AACtI,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,2BAA2B,EAChC,KAAK,kBAAkB,EACvB,KAAK,SAAS,EACd,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAK3B,MAAM,qBAAqB,CAAC;AAS7B,eAAO,MAAM,uDAAuD,YAEvD,wCAAwC,OAC5C,6BAA6B,GAAG,SAAS,KAC7C,IAKJ,CAAC;AAEF,eAAO,MAAM,gDAAgD,YAEhD,wCAAwC,OAC5C,2BAA2B,KAC/B,IASJ,CAAC;AAEF,eAAO,MAAM,oCAAoC,YAEpC,wCAAwC,OAC5C,SAAS,GAAG,SAAS,KACzB,IAGJ,CAAC;AAEF,eAAO,MAAM,uDAAuD,YACxD,wCAAwC,OAAO,MAAM,KAAG,IAQnE,CAAC;AAEF,eAAO,MAAM,uDAAuD,YAEvD,wCAAwC,OAC5C,2BAA2B,CAAC,kBAAkB,CAAC,mBACnC,eAAe,KAC/B,IASJ,CAAC;AACF,eAAO,MAAM,gCAAgC,WAClC,cAAc,KAAG,IAG3B,CAAC;AACF,eAAO,MAAM,2CAA2C,WAC7C,cAAc,KAAG,IAK3B,CAAC;AAEF,eAAO,MAAM,0CAA0C,gBACvC,6BAA6B,aAAa,SAAS,KAAG,IAGrE,CAAC;AAEF,eAAO,MAAM,qCAAqC,gBAClC,6BAA6B,QAAQ,MAAM,KAAG,IAG7D,CAAC;AAEF,eAAO,MAAM,4CAA4C,gBACzC,6BAA6B,eAAe,MAAM,KAAG,IAGpE,CAAC;AAEF,eAAO,MAAM,qCAAqC,gBAEjC,6BAA6B,QACpC,sBAAsB,KAC3B,IAGJ,CAAC;AAEF,eAAO,MAAM,+CAA+C,gBAE3C,6BAA6B,kBAC1B,SAAS,KACxB,IAGJ,CAAC;AAEF,eAAO,MAAM,2CAA2C,wBAE/B,0CAA0C,OAC1D,6BAA6B,KACjC,IAMJ,CAAC;AAEF,eAAO,MAAM,8CAA8C,wBAElC,0CAA0C,OAC1D,6BAA6B,KACjC,IAMJ,CAAC;AAEF,eAAO,MAAM,6CAA6C,wBAEjC,0CAA0C,oBAC7C,6BAA6B,oBAC7B,6BAA6B,KAC9C,IAOJ,CAAC;AAEF,eAAO,MAAM,0CAA0C,gBACvC,qBAAqB,EAAE,OAAO,qBAAqB,KAAG,IAGrE,CAAC;AAEF,eAAO,MAAM,6CAA6C,gBAC1C,qBAAqB,EAAE,OAAO,qBAAqB,KAAG,IAGrE,CAAC;AAEF,eAAO,MAAM,4CAA4C,gBAExC,qBAAqB,EAAE,mBACnB,qBAAqB,mBACrB,qBAAqB,KACrC,IAOJ,CAAC"}
|
@@ -16,8 +16,9 @@
|
|
16
16
|
import { action } from 'mobx';
|
17
17
|
import { DataSpaceDataQualityExecutionContext, MappingAndRuntimeDataQualityExecutionContext, } from '../graph/metamodel/pure/packageableElements/data-quality/DataQualityValidationConfiguration.js';
|
18
18
|
import { DataQualityRootGraphFetchTree } from '../graph/metamodel/pure/packageableElements/data-quality/DataQualityGraphFetchTree.js';
|
19
|
-
import { observe_PackageableRuntime, observe_RawLambda, PackageableElementExplicitReference, } from '@finos/legend-graph';
|
20
|
-
import { observe_DataQualityRootGraphFetchTree, observe_DataSpaceDataQualityExecutionContext, observe_MappingAndRuntimeDataQualityExecutionContext, } from './action/changeDetection/DSL_DataQuality_ObserverHelper.js';
|
19
|
+
import { observe_PackageableRuntime, observe_RawLambda, PackageableElementExplicitReference, observe_RawVariableExpression, } from '@finos/legend-graph';
|
20
|
+
import { observe_DataQualityRootGraphFetchTree, observe_DataQualityRelationValidation, observe_DataSpaceDataQualityExecutionContext, observe_MappingAndRuntimeDataQualityExecutionContext, } from './action/changeDetection/DSL_DataQuality_ObserverHelper.js';
|
21
|
+
import { addUniqueEntry, deleteEntry, swapEntry } from '@finos/legend-shared';
|
21
22
|
export const dataQualityClassValidation_setDataQualityGraphFetchTree = action((element, val) => {
|
22
23
|
element.dataQualityRootGraphFetchTree = val
|
23
24
|
? observe_DataQualityRootGraphFetchTree(val)
|
@@ -54,4 +55,37 @@ export const dataQualityGraphFetchTree_removeConstraints = action((target) => {
|
|
54
55
|
target.constraints = [];
|
55
56
|
}
|
56
57
|
});
|
58
|
+
export const dataQualityRelationValidation_setAssertion = action((_constraint, assertion) => {
|
59
|
+
_constraint.assertion = observe_RawLambda(assertion);
|
60
|
+
});
|
61
|
+
export const dataQualityRelationValidation_setName = action((_constraint, name) => {
|
62
|
+
_constraint.name = name;
|
63
|
+
});
|
64
|
+
export const dataQualityRelationValidation_setDescription = action((_constraint, description) => {
|
65
|
+
_constraint.description = description;
|
66
|
+
});
|
67
|
+
export const dataQualityRelationValidation_setType = action((_constraint, type) => {
|
68
|
+
_constraint.type = type;
|
69
|
+
});
|
70
|
+
export const dataQualityRelationValidation_setRowMapFunction = action((_constraint, rowMapFunction) => {
|
71
|
+
_constraint.rowMapFunction = observe_RawLambda(rowMapFunction);
|
72
|
+
});
|
73
|
+
export const dataQualityRelationValidation_addValidation = action((_relationValidation, val) => {
|
74
|
+
addUniqueEntry(_relationValidation.validations, observe_DataQualityRelationValidation(val));
|
75
|
+
});
|
76
|
+
export const dataQualityRelationValidation_deleteValidation = action((_relationValidation, val) => {
|
77
|
+
deleteEntry(_relationValidation.validations, observe_DataQualityRelationValidation(val));
|
78
|
+
});
|
79
|
+
export const dataQualityRelationValidation_swapValidations = action((_relationValidation, sourceValidation, targetValidation) => {
|
80
|
+
swapEntry(_relationValidation.validations, sourceValidation, targetValidation);
|
81
|
+
});
|
82
|
+
export const dataQualityRelationValidation_addParameter = action((_parameters, val) => {
|
83
|
+
addUniqueEntry(_parameters, observe_RawVariableExpression(val));
|
84
|
+
});
|
85
|
+
export const dataQualityRelationValidation_deleteParameter = action((_parameters, val) => {
|
86
|
+
deleteEntry(_parameters, val);
|
87
|
+
});
|
88
|
+
export const dataQualityRelationValidation_swapParameters = action((_parameters, sourceParameter, targetParameter) => {
|
89
|
+
swapEntry(_parameters, observe_RawVariableExpression(sourceParameter), observe_RawVariableExpression(targetParameter));
|
90
|
+
});
|
57
91
|
//# sourceMappingURL=DSL_DataQuality_GraphModifierHelper.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSL_DataQuality_GraphModifierHelper.js","sourceRoot":"","sources":["../../src/graph-manager/DSL_DataQuality_GraphModifierHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,
|
1
|
+
{"version":3,"file":"DSL_DataQuality_GraphModifierHelper.js","sourceRoot":"","sources":["../../src/graph-manager/DSL_DataQuality_GraphModifierHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EAML,oCAAoC,EACpC,4CAA4C,GAC7C,MAAM,gGAAgG,CAAC;AACxG,OAAO,EAAE,6BAA6B,EAAE,MAAM,uFAAuF,CAAC;AACtI,OAAO,EAOL,0BAA0B,EAC1B,iBAAiB,EACjB,mCAAmC,EACnC,6BAA6B,GAC9B,MAA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;AAChC,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,4CAA4C,GAAG,MAAM,CAChE,CACE,WAAoC,EACpC,eAAsC,EACtC,eAAsC,EAChC,EAAE;IACR,SAAS,CACP,WAAW,EACX,6BAA6B,CAAC,eAAe,CAAC,EAC9C,6BAA6B,CAAC,eAAe,CAAC,CAC/C,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSL_DataQuality_PureGraphManagerPlugin.d.ts","sourceRoot":"","sources":["../../src/graph-manager/DSL_DataQuality_PureGraphManagerPlugin.ts"],"names":[],"mappings":"AAgBA,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,gCAAgC,EAGrC,sBAAsB,EACvB,MAAM,qBAAqB,CAAC;
|
1
|
+
{"version":3,"file":"DSL_DataQuality_PureGraphManagerPlugin.d.ts","sourceRoot":"","sources":["../../src/graph-manager/DSL_DataQuality_PureGraphManagerPlugin.ts"],"names":[],"mappings":"AAgBA,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,gCAAgC,EAGrC,sBAAsB,EACvB,MAAM,qBAAqB,CAAC;AAa7B,qBAAa,sCAAuC,SAAQ,sBAAsB;;IAKvE,wBAAwB,IAAI,eAAe,EAAE;IAuB7C,yCAAyC,IAAI,gCAAgC,EAAE;CAGzF"}
|
@@ -15,8 +15,8 @@
|
|
15
15
|
*/
|
16
16
|
import packageJson from '../../package.json';
|
17
17
|
import { PureGraphManagerPlugin, } from '@finos/legend-graph';
|
18
|
-
import { DataQualityClassValidationsConfiguration, DataQualityServiceValidationConfiguration, } from '../graph/metamodel/pure/packageableElements/data-quality/DataQualityValidationConfiguration.js';
|
19
|
-
import { observe_DataQualityConstraintsConfiguration, observe_DataQualityServiceValidationConfiguration, } from './action/changeDetection/DSL_DataQuality_ObserverHelper.js';
|
18
|
+
import { DataQualityClassValidationsConfiguration, DataQualityServiceValidationConfiguration, DataQualityRelationValidationConfiguration, } from '../graph/metamodel/pure/packageableElements/data-quality/DataQualityValidationConfiguration.js';
|
19
|
+
import { observe_DataQualityConstraintsConfiguration, observe_DataQualityServiceValidationConfiguration, observe_DataQualityRelationValidationConfiguration, } from './action/changeDetection/DSL_DataQuality_ObserverHelper.js';
|
20
20
|
import { DSL_DataQuality_buildGraphManagerExtension } from './protocol/pure/DSL_DataQuality_buildGraphManagerExtension.js';
|
21
21
|
export class DSL_DataQuality_PureGraphManagerPlugin extends PureGraphManagerPlugin {
|
22
22
|
constructor() {
|
@@ -31,6 +31,9 @@ export class DSL_DataQuality_PureGraphManagerPlugin extends PureGraphManagerPlug
|
|
31
31
|
if (element instanceof DataQualityServiceValidationConfiguration) {
|
32
32
|
return observe_DataQualityServiceValidationConfiguration(element);
|
33
33
|
}
|
34
|
+
if (element instanceof DataQualityRelationValidationConfiguration) {
|
35
|
+
return observe_DataQualityRelationValidationConfiguration(element, context);
|
36
|
+
}
|
34
37
|
return undefined;
|
35
38
|
},
|
36
39
|
];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSL_DataQuality_PureGraphManagerPlugin.js","sourceRoot":"","sources":["../../src/graph-manager/DSL_DataQuality_PureGraphManagerPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,WAAW,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAKL,sBAAsB,GACvB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,wCAAwC,EACxC,yCAAyC,
|
1
|
+
{"version":3,"file":"DSL_DataQuality_PureGraphManagerPlugin.js","sourceRoot":"","sources":["../../src/graph-manager/DSL_DataQuality_PureGraphManagerPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,WAAW,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAKL,sBAAsB,GACvB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,wCAAwC,EACxC,yCAAyC,EACzC,0CAA0C,GAC3C,MAAM,gGAAgG,CAAC;AACxG,OAAO,EACL,2CAA2C,EAC3C,iDAAiD,EACjD,kDAAkD,GACnD,MAAM,4DAA4D,CAAC;AACpE,OAAO,EAAE,0CAA0C,EAAE,MAAM,+DAA+D,CAAC;AAE3H,MAAM,OAAO,sCAAuC,SAAQ,sBAAsB;IAChF;QACE,KAAK,CAAC,WAAW,CAAC,UAAU,CAAC,sBAAsB,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAC5E,CAAC;IAEQ,wBAAwB;QAC/B,OAAO;YACL,CACE,OAA2B,EAC3B,OAAwB,EACQ,EAAE;gBAClC,IAAI,OAAO,YAAY,wCAAwC,EAAE,CAAC;oBAChE,OAAO,2CAA2C,CAAC,OAAO,CAAC,CAAC;gBAC9D,CAAC;gBACD,IAAI,OAAO,YAAY,yCAAyC,EAAE,CAAC;oBACjE,OAAO,iDAAiD,CAAC,OAAO,CAAC,CAAC;gBACpE,CAAC;gBACD,IAAI,OAAO,YAAY,0CAA0C,EAAE,CAAC;oBAClE,OAAO,kDAAkD,CACvD,OAAO,EACP,OAAO,CACR,CAAC;gBACJ,CAAC;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;IAEQ,yCAAyC;QAChD,OAAO,CAAC,0CAA0C,CAAC,CAAC;IACtD,CAAC;CACF"}
|
@@ -13,7 +13,8 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import { type
|
16
|
+
import { type ObserverContext } from '@finos/legend-graph';
|
17
|
+
import { type DataQualityClassValidationsConfiguration, type DataQualityServiceValidationConfiguration, type DataQualityRelationValidation, type DataQualityRelationValidationConfiguration, type DataQualityRelationQueryLambda, DataSpaceDataQualityExecutionContext, MappingAndRuntimeDataQualityExecutionContext } from '../../../graph/metamodel/pure/packageableElements/data-quality/DataQualityValidationConfiguration.js';
|
17
18
|
import { type DataQualityRootGraphFetchTree, DataQualityPropertyGraphFetchTree } from '../../../graph/metamodel/pure/packageableElements/data-quality/DataQualityGraphFetchTree.js';
|
18
19
|
export declare const observe_DataSpaceDataQualityExecutionContext: (metamodel: DataSpaceDataQualityExecutionContext) => DataSpaceDataQualityExecutionContext;
|
19
20
|
export declare const observe_MappingAndRuntimeDataQualityExecutionContext: (metamodel: MappingAndRuntimeDataQualityExecutionContext) => MappingAndRuntimeDataQualityExecutionContext;
|
@@ -21,4 +22,7 @@ export declare const observe_DataQualityPropertyGraphFetchTree: (metamodel: Data
|
|
21
22
|
export declare const observe_DataQualityRootGraphFetchTree: (metamodel: DataQualityRootGraphFetchTree) => DataQualityRootGraphFetchTree;
|
22
23
|
export declare const observe_DataQualityConstraintsConfiguration: (metamodel: DataQualityClassValidationsConfiguration) => DataQualityClassValidationsConfiguration;
|
23
24
|
export declare const observe_DataQualityServiceValidationConfiguration: (metamodel: DataQualityServiceValidationConfiguration) => DataQualityServiceValidationConfiguration;
|
25
|
+
export declare const observe_DataQualityRelationValidation: (metamodel: DataQualityRelationValidation) => DataQualityRelationValidation;
|
26
|
+
export declare const observe_DataQualityRelationQueryLambda: (metamodel: DataQualityRelationQueryLambda) => DataQualityRelationQueryLambda;
|
27
|
+
export declare const observe_DataQualityRelationValidationConfiguration: (metamodel: DataQualityRelationValidationConfiguration, context: ObserverContext) => DataQualityRelationValidationConfiguration;
|
24
28
|
//# sourceMappingURL=DSL_DataQuality_ObserverHelper.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSL_DataQuality_ObserverHelper.d.ts","sourceRoot":"","sources":["../../../../src/graph-manager/action/changeDetection/DSL_DataQuality_ObserverHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
1
|
+
{"version":3,"file":"DSL_DataQuality_ObserverHelper.d.ts","sourceRoot":"","sources":["../../../../src/graph-manager/action/changeDetection/DSL_DataQuality_ObserverHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,eAAe,EAQrB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACL,KAAK,wCAAwC,EAC7C,KAAK,yCAAyC,EAC9C,KAAK,6BAA6B,EAClC,KAAK,0CAA0C,EAC/C,KAAK,8BAA8B,EACnC,oCAAoC,EACpC,4CAA4C,EAC7C,MAAM,sGAAsG,CAAC;AAE9G,OAAO,EACL,KAAK,6BAA6B,EAClC,iCAAiC,EAClC,MAAM,6FAA6F,CAAC;AAErG,eAAO,MAAM,4CAA4C,2FAWxD,CAAC;AAEF,eAAO,MAAM,oDAAoD,2GAa9D,CAAC;AAEJ,eAAO,MAAM,yCAAyC,qFAiBrD,CAAC;AAEF,eAAO,MAAM,qCAAqC,6EAejD,CAAC;AACF,eAAO,MAAM,2CAA2C,mGAiCvD,CAAC;AAEF,eAAO,MAAM,iDAAiD,qGAiB7D,CAAC;AAEF,eAAO,MAAM,qCAAqC,6EAajD,CAAC;AAEF,eAAO,MAAM,sCAAsC,+EAOlD,CAAC;AAEF,eAAO,MAAM,kDAAkD,iIAsB5D,CAAC"}
|
@@ -13,8 +13,8 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import { observe_Abstract_PackageableElement, observe_Class, observe_PackageableElementReference, observe_PropertyReference, observe_RawLambda, skipObserved, } from '@finos/legend-graph';
|
17
|
-
import { makeObservable, observable, override } from 'mobx';
|
16
|
+
import { observe_Abstract_PackageableElement, observe_Class, observe_PackageableElementReference, observe_PropertyReference, observe_RawLambda, skipObserved, skipObservedWithContext, } from '@finos/legend-graph';
|
17
|
+
import { computed, makeObservable, observable, override } from 'mobx';
|
18
18
|
import { DataSpaceDataQualityExecutionContext, MappingAndRuntimeDataQualityExecutionContext, } from '../../../graph/metamodel/pure/packageableElements/data-quality/DataQualityValidationConfiguration.js';
|
19
19
|
import { observe_DataSpace } from '@finos/legend-extension-dsl-data-space/graph';
|
20
20
|
import { DataQualityPropertyGraphFetchTree, } from '../../../graph/metamodel/pure/packageableElements/data-quality/DataQualityGraphFetchTree.js';
|
@@ -95,4 +95,31 @@ export const observe_DataQualityServiceValidationConfiguration = skipObserved((m
|
|
95
95
|
});
|
96
96
|
return metamodel;
|
97
97
|
});
|
98
|
+
export const observe_DataQualityRelationValidation = skipObserved((metamodel) => {
|
99
|
+
makeObservable(metamodel, {
|
100
|
+
name: observable,
|
101
|
+
assertion: observable,
|
102
|
+
description: observable,
|
103
|
+
type: observable,
|
104
|
+
rowMapFunction: observable,
|
105
|
+
});
|
106
|
+
observe_RawLambda(metamodel.assertion);
|
107
|
+
return metamodel;
|
108
|
+
});
|
109
|
+
export const observe_DataQualityRelationQueryLambda = skipObserved((metamodel) => makeObservable(metamodel, {
|
110
|
+
body: observable.ref, // only observe the reference, the object itself is not observed
|
111
|
+
parameters: observable,
|
112
|
+
hashCode: computed,
|
113
|
+
}));
|
114
|
+
export const observe_DataQualityRelationValidationConfiguration = skipObservedWithContext((metamodel, context) => {
|
115
|
+
observe_Abstract_PackageableElement(metamodel);
|
116
|
+
makeObservable(metamodel, {
|
117
|
+
_elementHashCode: override,
|
118
|
+
query: observable,
|
119
|
+
validations: observable,
|
120
|
+
});
|
121
|
+
metamodel.validations.forEach((value) => observe_DataQualityRelationValidation(value));
|
122
|
+
observe_DataQualityRelationQueryLambda(metamodel.query);
|
123
|
+
return metamodel;
|
124
|
+
});
|
98
125
|
//# sourceMappingURL=DSL_DataQuality_ObserverHelper.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSL_DataQuality_ObserverHelper.js","sourceRoot":"","sources":["../../../../src/graph-manager/action/changeDetection/DSL_DataQuality_ObserverHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,
|
1
|
+
{"version":3,"file":"DSL_DataQuality_ObserverHelper.js","sourceRoot":"","sources":["../../../../src/graph-manager/action/changeDetection/DSL_DataQuality_ObserverHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;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