Repository: incubator-airflow
Updated Branches:
  refs/heads/v1-9-test f4437be95 -> 540e045b9


[AIRFLOW-1636] Add AWS and EMR connection type

aws and emr connection types are not specified in models, so when you
update them the type gets cleared.  Since default ones are included
ootb, they should be added to the model as valid options.

Closes #2626 from dalupus/airflow-1636


Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/540e045b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/540e045b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/540e045b

Branch: refs/heads/v1-9-test
Commit: 540e045b9101e7ac1d3f4717fafeaf69fe80075c
Parents: f4437be
Author: Michael Crawford <[email protected]>
Authored: Mon Sep 25 11:21:55 2017 -0700
Committer: Chris Riccomini <[email protected]>
Committed: Mon Sep 25 11:23:29 2017 -0700

----------------------------------------------------------------------
 airflow/models.py | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/540e045b/airflow/models.py
----------------------------------------------------------------------
diff --git a/airflow/models.py b/airflow/models.py
index 26ea798..32b7d7e 100755
--- a/airflow/models.py
+++ b/airflow/models.py
@@ -552,6 +552,8 @@ class Connection(Base, LoggingMixin):
         ('redis', 'Redis',),
         ('wasb', 'Azure Blob Storage'),
         ('databricks', 'Databricks',),
+        ('aws', 'Amazon Web Services',),
+        ('emr', 'Elastic MapReduce',),
     ]
 
     def __init__(

Reply via email to