Airflow
Integration with Airflow.
Last updated
Integration with Airflow.
Last updated
{
"description": "Trigger Airflow DAG run on success job execution",
"is_active": true,
"method": "POST",
"url": "https://${{variables.airflow_url}}/api/v1/dags/${{variables.airflow_dag_id}}/dagRuns",
"header": {
"Authorization": "Basic ${{secrets.airflow_base64_token}}"
},
"body": {
"conf": {
"schema": "${{erathos.schema_name}}",
"table": "${{erathos.table_name}}"
},
"note": "triggered on Erathos platform by ${{erathos.triggered_by}}"
},
"rules": [
{
"variable_name": "STATUS",
"operation": "EQUAL",
"value": "FINISHED"
},
],
"jobs": [
"<ERATHOS_JOB1_ID>",
"<ERATHOS_JOB2_ID>",
...
"<ERATHOS_JOBN_ID>"
]
}