GoogleCloudPlatform/oozie-to-airflow

Subworkflow conversion expects to be run in examples (0/2)

potiuk opened this issue · 0 comments

Describe the bug
Conversion of configuration with subworkflow does not work in "installed" version of o2a. It expects the sub-workflow to be in "examples" folder and when there are no sources it fails to find the subworkflow.

To Reproduce

Steps to reproduce the behavior:

  1. Install o2a with pip install o2a in a fresh virtualenv outside of the sources
  2. Run conversion o2a -i <YOUR_PATH>/oozie-to-airflow/examples/demo -o /tmp/out
  3. It fails trying to find sub-workflow and failing.

Expected behaviour
We should work out a way to pass information on where the subworkflows are when processing a workflow that has sub-workflow.