Shopify / pyoozie

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

Add basic workflow generation #49

Closed cfournie closed 7 years ago

cfournie commented 7 years ago

This PR adds to the WorkflowApp class the ability to serialize to XML action and kill nodes using the oozie-workflow-0.5.xsd schema.

Implementation

This PR implements:

This PR also adjusts WorkflowApp to validate that:

This PR enables the ability to define collections of actions that can be executed serially/in parallel (https://github.com/Shopify/pyoozie/pull/50).

🎩 'd by starting a local Oozie 4.1.0 instance using docker-compose up -d and manipulating tests/pyoozie/test_interactive.py to specify different values.

Notes

This PR is one of several that are intended to add an API to define forking/joining workflows with error-handling prototyped in https://github.com/Shopify/pyoozie/pull/26.

cfournie commented 7 years ago

@honkfestival @prabcs @sabidib @solackerman any final comments?