ARIA-254 Scaling capabilities and policies 143/head
authorTal Liron <tal.liron@gmail.com>
Thu, 1 Jun 2017 19:17:17 +0000 (14:17 -0500)
committerTal Liron <tal.liron@gmail.com>
Mon, 10 Jul 2017 08:59:08 +0000 (11:59 +0300)
commit208965586997f2335ec242547dd0ee39bd9beb42
treeb0f6bcd8c92f33f744c10c54f7eeca112ef8be26
parenta93a5dfafffdf3babe25a51993be651cdae3af65
ARIA-254 Scaling capabilities and policies

* New aria.Scaling policy (and "scaling" role)
* NodeTemplate model no longer stores scaling values (default_instances,
etc.) but instead fetches them from applicable scaling capabilities and
policies
* Some code cleanup
41 files changed:
aria/cli/commands/workflows.py
aria/cli/execution_logging.py
aria/core.py
aria/modeling/orchestration.py
aria/modeling/relationship.py
aria/modeling/service_instance.py
aria/modeling/service_template.py
aria/modeling/types.py
aria/orchestrator/workflow_runner.py
aria/orchestrator/workflows/executor/celery.py
aria/orchestrator/workflows/executor/process.py
aria/orchestrator/workflows/executor/thread.py
aria/parser/presentation/presentation.py
aria/storage/core.py
extensions/aria_extension_tosca/profiles/aria-1.0/aria-1.0.yaml
extensions/aria_extension_tosca/profiles/tosca-simple-1.0/capabilities.yaml
extensions/aria_extension_tosca/simple_v1_0/assignments.py
extensions/aria_extension_tosca/simple_v1_0/data_types.py
extensions/aria_extension_tosca/simple_v1_0/definitions.py
extensions/aria_extension_tosca/simple_v1_0/filters.py
extensions/aria_extension_tosca/simple_v1_0/misc.py
extensions/aria_extension_tosca/simple_v1_0/modeling/__init__.py
extensions/aria_extension_tosca/simple_v1_0/modeling/artifacts.py
extensions/aria_extension_tosca/simple_v1_0/modeling/capabilities.py
extensions/aria_extension_tosca/simple_v1_0/modeling/interfaces.py
extensions/aria_extension_tosca/simple_v1_0/modeling/parameters.py
extensions/aria_extension_tosca/simple_v1_0/presentation/extensible.py
extensions/aria_extension_tosca/simple_v1_0/presentation/field_validators.py
extensions/aria_extension_tosca/simple_v1_0/presentation/types.py
extensions/aria_extension_tosca/simple_v1_0/presenter.py
extensions/aria_extension_tosca/simple_v1_0/templates.py
extensions/aria_extension_tosca/simple_v1_0/types.py
tests/end2end/test_hello_world.py
tests/end2end/test_nodecellar.py
tests/mock/models.py
tests/modeling/test_mixins.py
tests/modeling/test_models.py
tests/orchestrator/context/test_operation.py
tests/resources/service-templates/tosca-simple-1.0/node-cellar/node-cellar.yaml
tests/resources/service-templates/tosca-simple-1.0/node-cellar/types/nodejs.yaml
tests/resources/service-templates/tosca-simple-1.0/node-cellar/types/openstack.yaml