Shopify / pyoozie

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

Deprecate builders, replace with calls to tag.xml() #27

Closed cfournie closed 7 years ago

cfournie commented 7 years ago

This PR begins to remove the builder pattern from XML construction in a step towards adding a scoping interface for workflow construction (as demonstrated in https://github.com/Shopify/pyoozie/pull/26). Specifically, this PR:

Subsequent PRs will:

  1. Remove CoordinatorBuilder and its tests;
  2. Add WorkflowApp with an implementation sufficient to replace WorkflowBuilder (based upon the interface prototyped in https://github.com/Shopify/pyoozie/pull/26);
  3. Remove WorkflowBuilder and its tests;
  4. Extend WorkflowApp to support multiple actions and forks/joins.