You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2023/07/24 22:03:55 UTC

[airflow] branch main updated: Remove atlas configuration definition (#32776)

This is an automated email from the ASF dual-hosted git repository.

potiuk 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 fd4af0b5c3 Remove atlas configuration definition (#32776)
fd4af0b5c3 is described below

commit fd4af0b5c385d876ac59d327a90c6e6bfb312469
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Tue Jul 25 00:03:47 2023 +0200

    Remove atlas configuration definition (#32776)
    
    Atlas does not have its own provider, the only thing we have with
    atlas extra is an extra dependency to atlasclient. Abd we also had
    the atlas configuration for some reason that even the eldest don't
    know. With hard-coded defaults, we are still keeping backwards
    compatibility if someone used those values. However we should
    remove it from "core" configuration because it has absolutely no
    meaning for Airflow. Users are free to define their own sections
    and variables following Airflow schema and this squarely fits into
    this category.
---
 airflow/config_templates/config.yml | 34 ----------------------------------
 tests/core/test_configuration.py    |  1 -
 2 files changed, 35 deletions(-)

diff --git a/airflow/config_templates/config.yml b/airflow/config_templates/config.yml
index f87b000aad..47f21ee736 100644
--- a/airflow/config_templates/config.yml
+++ b/airflow/config_templates/config.yml
@@ -1289,40 +1289,6 @@ openlineage:
       example: ~
       type: boolean
       version_added: ~
-atlas:
-  description: ~
-  options:
-    sasl_enabled:
-      description: ~
-      version_added: ~
-      type: string
-      example: ~
-      default: "False"
-    host:
-      description: ~
-      version_added: ~
-      type: string
-      example: ~
-      default: ""
-    port:
-      description: ~
-      version_added: ~
-      type: string
-      example: ~
-      default: "21000"
-    username:
-      description: ~
-      version_added: ~
-      type: string
-      example: ~
-      default: ""
-    password:
-      description: ~
-      version_added: ~
-      type: string
-      sensitive: true
-      example: ~
-      default: ""
 operators:
   description: ~
   options:
diff --git a/tests/core/test_configuration.py b/tests/core/test_configuration.py
index 91102003a5..a6229dc07c 100644
--- a/tests/core/test_configuration.py
+++ b/tests/core/test_configuration.py
@@ -1600,7 +1600,6 @@ def test_sensitive_values():
     sensitive_values = {
         ("database", "sql_alchemy_conn"),
         ("core", "fernet_key"),
-        ("atlas", "password"),
         ("smtp", "smtp_password"),
         ("webserver", "secret_key"),
         ("secrets", "backend_kwargs"),