Shopify / pyoozie

Library for querying and scheduling with Apache Oozie
https://py-oozie.readthedocs.io
MIT License
11 stars 12 forks source link

Add workflow tag #35

Closed cfournie closed 7 years ago

cfournie commented 7 years ago

This PR adds a basic workflow-app tag that simply contains a start and end with no other work and validates the XML that is generated from it.

An alias is not added to the pyoozie package and a warning is issued if it is used because it is not yet finished.

Subsequent PRs will add functionality discussed in https://github.com/Shopify/pyoozie/pull/26, including:

  1. APIs to add a single action;
  2. APIs to add an action on error (allowing us to remove WorkflowBuilder);
  3. APIs to add multiple serial action (with actions on error); and then
  4. APIs to add multiple parallel actions (with actions on error).