Fixes Tableau - added env with default value (#4408)

This commit is contained in:
Ayush Shah 2022-04-23 21:53:13 +05:30 committed by GitHub
parent 200e4f723f
commit 4d2bde4fe7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -60,7 +60,8 @@
"env": {
"title": "Tableau Environment",
"description": "Tableau Environment Name",
"type": "string"
"type": "string",
"default": "tableau_prod"
},
"dbServiceName": {
"description": "Database Service Name in order to create a lineage",
@ -72,5 +73,5 @@
}
},
"additionalProperties": false,
"required": ["hostPort", "apiVersion", "siteName"]
"required": ["hostPort", "apiVersion", "siteName", "env"]
}

View File

@ -221,6 +221,7 @@ class OMetaServiceTest(TestCase):
"hostPort": "http://random:1234",
"siteName": "openmetadata",
"apiVersion": "3.15",
"env": "tableau_prod",
}
},
"sourceConfig": {"config": {"topicFilterPattern": {}}},