ARIA-3 Create an api for building workflows 12/head
authorRan Ziv <ran@gigaspaces.com>
Fri, 21 Oct 2016 10:21:25 +0000 (13:21 +0300)
committermxmrlv <mxmrlv@gmail.com>
Mon, 7 Nov 2016 16:07:43 +0000 (18:07 +0200)
commit8947f72cb744a9b9fe79c80ebd2f2ef7fbb68251
treed3f88237d65361ad8d5a2239d8f68b005031d9b4
parent47eaf04f01763501077cce644c2dcc6b97bb993c
ARIA-3 Create an api for building workflows

ARIA-4 Create an API for the task graph
ARIA-5 Adapt workflow API uses to modified API

An API for creating workflows. Users can build graphs of tasks and
set depenedencies in between tasks to execute them in a specific
order.

Additional changes:
- Remodeling for engine and user tasks.
- Remodeling for Operation into Task in the storage.
- Mminimal reorganization of a few test modules, so they are now
  using the same file system hierarchy as the modules which they test.
55 files changed:
.travis.yml
aria/.pylintrc
aria/__init__.py
aria/cli/commands.py
aria/context/__init__.py [new file with mode: 0644]
aria/context/operation.py [new file with mode: 0644]
aria/context/workflow.py [moved from aria/contexts.py with 66% similarity]
aria/decorators.py
aria/events/builtin_event_handler.py
aria/events/workflow_engine_event_handler.py
aria/logger.py
aria/storage/models.py
aria/tools/lru_cache.py
aria/workflows/api/__init__.py
aria/workflows/api/task.py [new file with mode: 0644]
aria/workflows/api/task_graph.py [new file with mode: 0644]
aria/workflows/api/tasks_graph.py [deleted file]
aria/workflows/builtin/execute_operation.py
aria/workflows/builtin/heal.py
aria/workflows/builtin/install.py
aria/workflows/builtin/uninstall.py
aria/workflows/builtin/workflows.py
aria/workflows/core/__init__.py
aria/workflows/core/engine.py
aria/workflows/core/task.py [new file with mode: 0644]
aria/workflows/core/tasks.py [deleted file]
aria/workflows/core/translation.py
aria/workflows/exceptions.py
aria/workflows/executor/blocking.py
aria/workflows/executor/celery.py
aria/workflows/executor/multiprocess.py
aria/workflows/executor/thread.py
requirements.txt
setup.py
tests/.pylintrc
tests/mock/__init__.py [new file with mode: 0644]
tests/mock/context.py [new file with mode: 0644]
tests/mock/models.py [new file with mode: 0644]
tests/mock/operations.py [new file with mode: 0644]
tests/test_logger.py
tests/workflows/__init__.py
tests/workflows/api/__init__.py [new file with mode: 0644]
tests/workflows/api/test_task.py [new file with mode: 0644]
tests/workflows/api/test_task_graph.py [new file with mode: 0644]
tests/workflows/builtin/__init__.py [new file with mode: 0644]
tests/workflows/builtin/test_execute_operation.py [new file with mode: 0644]
tests/workflows/builtin/test_heal.py [new file with mode: 0644]
tests/workflows/builtin/test_install.py [new file with mode: 0644]
tests/workflows/builtin/test_uninstall.py [new file with mode: 0644]
tests/workflows/core/__init__.py [new file with mode: 0644]
tests/workflows/core/test_executor.py [moved from tests/workflows/test_executor.py with 89% similarity]
tests/workflows/core/test_task_graph_into_exececution_graph.py [new file with mode: 0644]
tests/workflows/test_engine.py
tests/workflows/test_task_graph_into_exececution_graph.py [deleted file]
tox.ini