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 6d69dd062f Add salesforce_default to List Connection (#24347)
6d69dd062f is described below

commit 6d69dd062f079a8fbf72563fd218017208bfe6c1
Author: ishiis <[email protected]>
AuthorDate: Tue Jun 14 03:25:58 2022 +0900

    Add salesforce_default to List Connection (#24347)
    
    * add salesforce_default to List Connection
    
    * add attributes to salesforce_default
---
 airflow/utils/db.py | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/airflow/utils/db.py b/airflow/utils/db.py
index e8790de823..bfebbbd68b 100644
--- a/airflow/utils/db.py
+++ b/airflow/utils/db.py
@@ -533,6 +533,16 @@ def create_default_connections(session: Session = 
NEW_SESSION):
         ),
         session,
     )
+    merge_conn(
+        Connection(
+            conn_id="salesforce_default",
+            conn_type="salesforce",
+            login="username",
+            password="password",
+            extra='{"security_token": "security_token"}',
+        ),
+        session,
+    )
     merge_conn(
         Connection(
             conn_id="segment_default",

Reply via email to