mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-10-29 09:42:23 +00:00
tests(e2e): data quality (#19513)
* tests(e2e): data quality - use the data quality pipeline new schema with a list of service configurations * format
This commit is contained in:
parent
3267b71217
commit
e003a5f9ed
@ -139,14 +139,20 @@ class DataQualityConfigBuilder(BaseBuilder):
|
|||||||
|
|
||||||
def build(self) -> dict:
|
def build(self) -> dict:
|
||||||
"""build profiler config"""
|
"""build profiler config"""
|
||||||
del self.config["source"]["sourceConfig"]["config"]
|
self.config["source"]["sourceConfig"]["config"] = {
|
||||||
self.config["source"]["sourceConfig"] = {
|
"type": TestSuiteConfigType.TestSuite.value,
|
||||||
"config": {
|
"entityFullyQualifiedName": self.entity_fqn,
|
||||||
"type": TestSuiteConfigType.TestSuite.value,
|
|
||||||
"entityFullyQualifiedName": self.entity_fqn,
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
self.config["source"]["sourceConfig"]["config"]["serviceConnections"] = [
|
||||||
|
{
|
||||||
|
"serviceName": self.config["source"]["serviceName"],
|
||||||
|
"serviceConnection": self.config["source"]["serviceConnection"],
|
||||||
|
}
|
||||||
|
]
|
||||||
|
|
||||||
|
del self.config["source"]["serviceConnection"]
|
||||||
|
|
||||||
self.config["processor"] = {
|
self.config["processor"] = {
|
||||||
"type": "orm-test-runner",
|
"type": "orm-test-runner",
|
||||||
"config": {"testCases": self.test_case_defintions},
|
"config": {"testCases": self.test_case_defintions},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user