ARIA-163 Update node state for empty tasks 117/head
authormax-orlov <maxim@gigaspaces.com>
Sun, 30 Apr 2017 13:05:27 +0000 (16:05 +0300)
committermax-orlov <maxim@gigaspaces.com>
Thu, 4 May 2017 14:35:56 +0000 (17:35 +0300)
commit8ca3ff297b71e270eccdd9a2e6b8bf468ccdab5d
tree166b32e481b1783e178eb7fc125d71527101b5bf
parent08785262e21b14c3c124c6d6a8217b8faac1c5f7
ARIA-163 Update node state for empty tasks

Additional changes:
 * removed `for_node` and `for_relationship` from the api OperationTask.
 * api based OperationTask could also have an empty implementation.
 * each core task wields its own executor.
 * Reordered some of the helper functions for creating tasks.
 * intoduced 2 new executors: StubTaskExecutor (for stub tasks) and EmptyOperationExecutor (for empty tasks)
34 files changed:
aria/logger.py
aria/orchestrator/workflows/api/task.py
aria/orchestrator/workflows/builtin/execute_operation.py
aria/orchestrator/workflows/builtin/heal.py
aria/orchestrator/workflows/builtin/install.py
aria/orchestrator/workflows/builtin/start.py
aria/orchestrator/workflows/builtin/stop.py
aria/orchestrator/workflows/builtin/uninstall.py
aria/orchestrator/workflows/builtin/utils.py [deleted file]
aria/orchestrator/workflows/builtin/workflows.py
aria/orchestrator/workflows/core/engine.py
aria/orchestrator/workflows/core/events_handler.py
aria/orchestrator/workflows/core/task.py
aria/orchestrator/workflows/core/translation.py
aria/orchestrator/workflows/events_logging.py
aria/orchestrator/workflows/executor/base.py
aria/orchestrator/workflows/executor/dry.py
extensions/aria_extension_tosca/profiles/tosca-simple-1.0/interfaces.yaml
tests/end2end/test_hello_world.py
tests/end2end/testenv.py
tests/orchestrator/context/test_operation.py
tests/orchestrator/context/test_serialize.py
tests/orchestrator/context/test_toolbelt.py
tests/orchestrator/execution_plugin/test_local.py
tests/orchestrator/execution_plugin/test_ssh.py
tests/orchestrator/workflows/api/test_task.py
tests/orchestrator/workflows/core/test_engine.py
tests/orchestrator/workflows/core/test_events.py
tests/orchestrator/workflows/core/test_task.py
tests/orchestrator/workflows/core/test_task_graph_into_execution_graph.py
tests/orchestrator/workflows/executor/test_process_executor_concurrent_modifications.py
tests/orchestrator/workflows/executor/test_process_executor_extension.py
tests/orchestrator/workflows/executor/test_process_executor_tracked_changes.py
tests/resources/service-templates/tosca-simple-1.0/node-cellar/workflows.py