This is an automated email from the ASF dual-hosted git repository.
amoghdesai pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 0538b17b03a Migrate teradata connection UI metadata to YAML (#63052)
0538b17b03a is described below
commit 0538b17b03a6fbaa03a29ceb46012f49ea757228
Author: Srabasti Banerjee <[email protected]>
AuthorDate: Wed Mar 11 03:53:55 2026 -0700
Migrate teradata connection UI metadata to YAML (#63052)
Co-authored-by: Amogh Desai <[email protected]>
---
providers/teradata/provider.yaml | 16 ++++++++++++++++
.../src/airflow/providers/teradata/get_provider_info.py | 13 +++++++++++++
2 files changed, 29 insertions(+)
diff --git a/providers/teradata/provider.yaml b/providers/teradata/provider.yaml
index c3f5d8c182c..f8ab1b070cd 100644
--- a/providers/teradata/provider.yaml
+++ b/providers/teradata/provider.yaml
@@ -126,6 +126,22 @@ transfers:
connection-types:
- hook-class-name: airflow.providers.teradata.hooks.teradata.TeradataHook
connection-type: teradata
+ ui-field-behaviour:
+ hidden-fields:
+ - port
+ relabeling:
+ host: Database Server URL
+ schema: Database Name
+ login: Username
+ placeholders:
+ extra: |
+ {
+ "tmode": "TERA",
+ "sslmode": "verify-ca",
+ "sslca": "/tmp/server-ca.pem"
+ }
+ login: "dbc"
+ password: "dbc"
triggers:
- integration-name: Teradata
diff --git
a/providers/teradata/src/airflow/providers/teradata/get_provider_info.py
b/providers/teradata/src/airflow/providers/teradata/get_provider_info.py
index fabfb0869cc..df5c4ea4b3d 100644
--- a/providers/teradata/src/airflow/providers/teradata/get_provider_info.py
+++ b/providers/teradata/src/airflow/providers/teradata/get_provider_info.py
@@ -99,6 +99,19 @@ def get_provider_info():
{
"hook-class-name":
"airflow.providers.teradata.hooks.teradata.TeradataHook",
"connection-type": "teradata",
+ "ui-field-behaviour": {
+ "hidden-fields": ["port"],
+ "relabeling": {
+ "host": "Database Server URL",
+ "schema": "Database Name",
+ "login": "Username",
+ },
+ "placeholders": {
+ "extra": '{\n "tmode": "TERA",\n "sslmode":
"verify-ca",\n "sslca": "/tmp/server-ca.pem"\n}\n',
+ "login": "dbc",
+ "password": "dbc",
+ },
+ },
}
],
"triggers": [