airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AIRFLOW-3294) Add QuboleCheckOperator in integration docs
Date Mon, 05 Nov 2018 09:57:00 GMT

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

ASF GitHub Bot commented on AIRFLOW-3294:
-----------------------------------------

kaxil closed pull request #4129: [AIRFLOW-3294] Update connections form and integration docs
URL: https://github.com/apache/incubator-airflow/pull/4129
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/airflow/models.py b/airflow/models.py
index e2699a5303..2a52e7af55 100755
--- a/airflow/models.py
+++ b/airflow/models.py
@@ -665,6 +665,7 @@ class Connection(Base, LoggingMixin):
         ('segment', 'Segment',),
         ('azure_data_lake', 'Azure Data Lake'),
         ('cassandra', 'Cassandra',),
+        ('qubole', 'Qubole'),
     ]
 
     def __init__(
diff --git a/airflow/www/static/connection_form.js b/airflow/www/static/connection_form.js
index 902cf747e5..5a74813d5b 100644
--- a/airflow/www/static/connection_form.js
+++ b/airflow/www/static/connection_form.js
@@ -54,6 +54,13 @@
                 'login': 'Username',
             }
         },
+        qubole: {
+          hidden_fields: ['login', 'schema', 'port', 'extra'],
+          relabeling: {
+            'host': 'API Endpoint',
+            'password': 'Auth Token',
+          }
+        },
       }
       function connTypeChange(connectionType) {
         $("div.form-group").removeClass("hide");
diff --git a/airflow/www_rbac/static/js/connection_form.js b/airflow/www_rbac/static/js/connection_form.js
index e40f4df584..dabd1f7359 100644
--- a/airflow/www_rbac/static/js/connection_form.js
+++ b/airflow/www_rbac/static/js/connection_form.js
@@ -46,6 +46,13 @@ $(document).ready(function () {
         'login': 'Username',
       },
     },
+    qubole: {
+      hidden_fields: ['login', 'schema', 'port', 'extra'],
+      relabeling: {
+        'host': 'API Endpoint',
+        'password': 'Auth Token',
+      }
+    },
   };
 
   function connTypeChange(connectionType) {
diff --git a/docs/integration.rst b/docs/integration.rst
index cb05e94169..a0445409e7 100644
--- a/docs/integration.rst
+++ b/docs/integration.rst
@@ -1011,3 +1011,13 @@ QuboleFileSensor
 ''''''''''''''''
 
 .. autoclass:: airflow.contrib.sensors.qubole_sensor.QuboleFileSensor
+
+QuboleCheckOperator
+'''''''''''''''''''
+
+.. autoclass:: airflow.contrib.operators.qubole_check_operator.QuboleCheckOperator
+
+QuboleValueCheckOperator
+''''''''''''''''''''''''
+
+.. autoclass:: airflow.contrib.operators.qubole_check_operator.QuboleValueCheckOperator


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Add QuboleCheckOperator in integration docs
> -------------------------------------------
>
>                 Key: AIRFLOW-3294
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3294
>             Project: Apache Airflow
>          Issue Type: Improvement
>            Reporter: Sumit Maheshwari
>            Assignee: Sumit Maheshwari
>            Priority: Major
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message