airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Barry Hart (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AIRFLOW-1635) Allow creating Google Cloud Platform connection without requiring a JSON file
Date Wed, 27 Sep 2017 20:25:01 GMT

    [ https://issues.apache.org/jira/browse/AIRFLOW-1635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16183197#comment-16183197
] 

Barry Hart commented on AIRFLOW-1635:
-------------------------------------

As requested, I created a new PR (https://github.com/apache/incubator-airflow/pull/2640) to
replace the old one (https://github.com/apache/incubator-airflow/pull/2634), which was targeting
the wrong branch.

> Allow creating Google Cloud Platform connection without requiring a JSON file
> -----------------------------------------------------------------------------
>
>                 Key: AIRFLOW-1635
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1635
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: gcp
>    Affects Versions: 1.8.2
>            Reporter: Barry Hart
>            Assignee: Barry Hart
>             Fix For: 1.10.0
>
>         Attachments: AIRFLOW-1635.png
>
>
> Most connection types can be created purely from the Airflow UI. Google Cloud Platform
connections do not support this, because they require a JSON file to be present on disk. This
is awkward for users who only have UI access (i.e. no direct access to the server's file system)
because it requires coordination with a system administrator to add or update a connection.
> I propose that Airflow offer two ways to set up a Google cloud connection:
> * The current method of placing a file on disk and entering its path.
> * New method where the Airflow user/administrator pastes the JSON *contents* into the
Airflow UI. This will be a new field in the UI.
> If both a path and JSON data are provided, the path will take precedence. This is somewhat
arbitrary; typically only one field would contain a value.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message