ARIA-139 Support attributes 118/head
authorTal Liron <tal.liron@gmail.com>
Thu, 20 Apr 2017 01:07:33 +0000 (20:07 -0500)
committerTal Liron <tal.liron@gmail.com>
Thu, 11 May 2017 16:31:02 +0000 (11:31 -0500)
commit60ea3ebb21e762d36115db26563a93dd3cb72003
tree0bcd73c70554b5e0f7da2e5a131835d6c5423d1d
parent2ee06b8a6abe79f429458c7dbc5f9e1c31aec589
ARIA-139 Support attributes

* Fully implement attribute support in parser
* New intrinsic function evaluation mechanism
* Implemented more intrinsic functions, including get_attribute
* Fix to one-on-one relationship back population
* Fixes to TOSCA use case examples
* Indirectly related: re-enabled node_filter mechanism and reworked
filter constraints in order to make them serializable
* utils/type is much more robust now and consolidates all conversions
and names
* Moved dsl_specification to new utils/specification (because utils/type
uses it)
45 files changed:
aria/core.py
aria/modeling/contraints.py [new file with mode: 0644]
aria/modeling/functions.py
aria/modeling/mixins.py
aria/modeling/relationship.py
aria/modeling/service_common.py
aria/modeling/service_instance.py
aria/modeling/service_template.py
aria/modeling/utils.py
aria/orchestrator/execution_plugin/instantiation.py
aria/parser/__init__.py
aria/parser/consumption/__init__.py
aria/parser/consumption/modeling.py
aria/parser/presentation/fields.py
aria/parser/presentation/presentation.py
aria/parser/presentation/utils.py
aria/parser/specification.py
aria/parser/validation/issue.py
aria/utils/caching.py
aria/utils/formatting.py
aria/utils/specification.py [new file with mode: 0644]
aria/utils/type.py
examples/tosca-simple-1.0/use-cases/block-storage-1/block-storage-1.yaml
examples/tosca-simple-1.0/use-cases/block-storage-2/block-storage-2.yaml
examples/tosca-simple-1.0/use-cases/block-storage-3/block-storage-3.yaml
examples/tosca-simple-1.0/use-cases/block-storage-4/block-storage-4.yaml
examples/tosca-simple-1.0/use-cases/block-storage-5/block-storage-5.yaml
examples/tosca-simple-1.0/use-cases/block-storage-6/block-storage-6.yaml
examples/tosca-simple-1.0/use-cases/multi-tier-1/multi-tier-1.yaml
extensions/aria_extension_tosca/simple_v1_0/__init__.py
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/constraints.py [new file with mode: 0644]
extensions/aria_extension_tosca/simple_v1_0/modeling/data_types.py
extensions/aria_extension_tosca/simple_v1_0/modeling/functions.py [moved from extensions/aria_extension_tosca/simple_v1_0/functions.py with 63% similarity]
extensions/aria_extension_tosca/simple_v1_0/modeling/properties.py
extensions/aria_extension_tosca/simple_v1_0/presentation/field_validators.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/resources/service-templates/tosca-simple-1.0/node-cellar/node-cellar.yaml