Skip to content

Commit

Permalink
Small updates in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-kotliar committed Aug 12, 2020
1 parent 8842722 commit 6a8125a
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docs/readme/how_to_use.md
Expand Up @@ -93,7 +93,15 @@ The most convenient way to **manually execute** DAG is to trigger it in **Airflo
Alternatively, DAGs can be triggered through the **Airflow CLI** with the JSON input paramerers file.

```sh
airflow trigger_dag --conf "{\"job\":$(cat ./bam-bedgraph-bigwig.json)}" bam-bedgraph-bigwig
$ airflow trigger_dag --conf "{\"job\":$(cat ./bam-bedgraph-bigwig.json)}" bam-bedgraph-bigwig
```

## Posting pipeline execution progress and results

To make CWL-Airflow **post workflow executions progress and results** `process_report` connection should be added. Parameters can be adjusted based on the current needs.

```sh
$ airflow connections --add --conn_id process_report --conn_type http --conn_host localhost --conn_port 3070 --conn_extra "{\"endpoint\":\"/airflow/\"}"
```

## Using an API
Expand Down

0 comments on commit 6a8125a

Please sign in to comment.