Skip to content

Symphony ILS in Airflow

Jeremy Nelson edited this page Nov 12, 2021 · 7 revisions

Airflow Connection

To use Symphony's Web Services in Airflow, we need to set-up an Airflow HTTP Connection.

For example, setting a connection for Stanford Symphony's web services development server, the following fields need to be set:

  • Conn Id: stanford_symphony_connection
  • Conn Type: HTTP
  • Host: https://symws-dev.stanford.edu/symws/ (note the trailing slash)

NOTE the login and password fields are not used in the Connection but need to set as Airflow Variables that are used to create the body for the POST request.

Airflow Variables

The Symphony login task requires to two Airflow Variables to be set (for the Symphony development server):

  • symphony_app_id: SINOPIA_DEV for development
  • stanford_symphony_login: (found in shared_configs)
  • stanford_symphony_password: (found in shared_configs)
Clone this wiki locally