An apache airflow plugin for the Odahu Platform.
- Start a Odahu Cluster and authenticate using OAuth2. (Hit the cluster's base URL.) Copy the token to line 8 of ./dags/odahu_dag.py
- Install, Start and InitDB for Airflow
- Install the plugin defined in ./plugin/ to Airflow (or softlink/copy to $AIRFLOW_HOME/plugins)
- Copy or import ./dags/odahu_dag.py
- Create the Airflow connections:
odahu_model
id
: odahu_modeltype
: httphost
: edge.cluster-name.ailifecycle.orgschema
: https
odahu_api
id
: odahu_editype
: httphost
: odahu.cluster-name.ailifecycle.orgschema
: httpslogin
: ****password
: ****extra
: {"auth_url": "", "client_id": "", "client_secret": "****", "scope": "openid profile email offline_access groups"}
- Invoke
- We need a custom Airflow Connection - or maybe this one will work.