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 84db9d2cd67 Migrate arangodb connection UI metadata to YAML (#62745)
84db9d2cd67 is described below

commit 84db9d2cd6765cb818a655ebaebdb48930d5462f
Author: Ying-Fang (James) Jaw <[email protected]>
AuthorDate: Wed Mar 11 05:53:37 2026 -0500

    Migrate arangodb connection UI metadata to YAML (#62745)
    
    Co-authored-by: Amogh Desai <[email protected]>
---
 providers/arangodb/provider.yaml                          | 15 +++++++++++++++
 .../src/airflow/providers/arangodb/get_provider_info.py   | 15 +++++++++++++++
 2 files changed, 30 insertions(+)

diff --git a/providers/arangodb/provider.yaml b/providers/arangodb/provider.yaml
index acfe34f3321..273896bbcf8 100644
--- a/providers/arangodb/provider.yaml
+++ b/providers/arangodb/provider.yaml
@@ -79,3 +79,18 @@ sensors:
 connection-types:
   - hook-class-name: airflow.providers.arangodb.hooks.arangodb.ArangoDBHook
     connection-type: arangodb
+    ui-field-behaviour:
+      hidden-fields:
+        - port
+        - extra
+      relabeling:
+        host: ArangoDB Host URL or comma separated list of URLs (coordinators 
in a cluster)
+        schema: ArangoDB Database
+        login: ArangoDB Username
+        password: ArangoDB Password
+      placeholders:
+        host: eg."http://127.0.0.1:8529"; or 
"http://127.0.0.1:8529,http://127.0.0.1:8530";
+          (coordinators in a cluster)
+        schema: _system
+        login: root
+        password: password
diff --git 
a/providers/arangodb/src/airflow/providers/arangodb/get_provider_info.py 
b/providers/arangodb/src/airflow/providers/arangodb/get_provider_info.py
index cc2db8995e2..5d90c271243 100644
--- a/providers/arangodb/src/airflow/providers/arangodb/get_provider_info.py
+++ b/providers/arangodb/src/airflow/providers/arangodb/get_provider_info.py
@@ -53,6 +53,21 @@ def get_provider_info():
             {
                 "hook-class-name": 
"airflow.providers.arangodb.hooks.arangodb.ArangoDBHook",
                 "connection-type": "arangodb",
+                "ui-field-behaviour": {
+                    "hidden-fields": ["port", "extra"],
+                    "relabeling": {
+                        "host": "ArangoDB Host URL or comma separated list of 
URLs (coordinators in a cluster)",
+                        "schema": "ArangoDB Database",
+                        "login": "ArangoDB Username",
+                        "password": "ArangoDB Password",
+                    },
+                    "placeholders": {
+                        "host": 'eg."http://127.0.0.1:8529"; or 
"http://127.0.0.1:8529,http://127.0.0.1:8530"; (coordinators in a cluster)',
+                        "schema": "_system",
+                        "login": "root",
+                        "password": "password",
+                    },
+                },
             }
         ],
     }

Reply via email to