This is an automated email from the ASF dual-hosted git repository.
tnadeau pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ariatosca.git.
from 6dfe83e Merge pull request #227 from djay87/master
add 4046905 ARIA-438 : Support for storing the common TOSCA YAML files in
the resource storage
new 36276ee Merge pull request #229 from djay87/master
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
aria/__init__.py | 3 +-
aria/cli/commands/__init__.py | 1 +
aria/cli/commands/type_definitions.py | 136 ++++++++++++
aria/cli/core/aria.py | 11 +
aria/cli/env.py | 15 +-
aria/cli/main.py | 1 +
aria/exceptions.py | 24 +++
aria/modeling/models.py | 20 ++
aria/modeling/type_definition.py | 65 ++++++
aria/type_definition_manager.py | 225 ++++++++++++++++++++
tests/cli/test_type_definitions.py | 228 +++++++++++++++++++++
tests/cli/utils.py | 9 +
tests/fixtures.py | 14 ++
tests/helpers.py | 4 +
tests/mock/models.py | 14 ++
tests/modeling/test_models.py | 13 ++
.../TOSCA-Metadata/TOSCA.meta | 4 +
.../definitions/custom_types/type1.yaml | 12 ++
.../definitions/custom_types/type2.yaml | 12 ++
.../definitions/custom_types/type3.yaml | 12 ++
.../definitions/custom_types/type4.yaml | 12 ++
.../definitions/type_definitions_main.yaml | 23 +++
.../TOSCA-Metadata/TOSCA.meta | 4 +
.../definitions/custom_types/type1.yaml | 12 ++
.../definitions/custom_types/type2.yaml | 12 ++
.../definitions/custom_types/type3.yaml | 12 ++
.../definitions/custom_types/type4.yaml | 12 ++
.../definitions/type_definitions_main.yaml | 24 +++
.../TOSCA-Metadata/TOSCA.meta | 5 +
.../custom_inner_type/inner_type1.yaml | 17 ++
.../definitions/custom_types/type1.yaml | 12 ++
.../definitions/custom_types/type2.yaml | 12 ++
.../definitions/custom_types/type3.yaml | 12 ++
.../definitions/custom_types/type4.yaml | 15 ++
.../definitions/type_definitions_main.yaml | 24 +++
.../TOSCA-Metadata/TOSCA.meta | 4 +
.../definitions/custom_types/type1.yaml | 12 ++
.../definitions/custom_types/type2.yaml | 12 ++
.../definitions/custom_types/type3.yaml | 12 ++
.../definitions/custom_types/type4.yaml | 12 ++
.../definitions/type_definitions_main.yaml | 24 +++
.../TOSCA-Metadata/TOSCA.meta | 4 +
.../definitions/custom_types/type1.yaml | 12 ++
.../definitions/custom_types/type2.yaml | 12 ++
.../definitions/custom_types/type3.yaml | 12 ++
.../definitions/custom_types/type4.yaml | 12 ++
.../definitions/type_definitions_main.yaml | 24 +++
.../TOSCA-Metadata/TOSCA.meta | 4 +
.../definitions/custom_types/type1.yaml | 12 ++
.../definitions/custom_types/type2.yaml | 12 ++
.../definitions/custom_types/type3.yaml | 12 ++
.../definitions/custom_types/type4.yaml | 12 ++
.../definitions/type_definitions_main.yaml | 24 +++
tests/storage/test_model_storage.py | 2 +-
tests/test_type_definition_manager.py | 222 ++++++++++++++++++++
55 files changed, 1480 insertions(+), 3 deletions(-)
create mode 100644 aria/cli/commands/type_definitions.py
create mode 100644 aria/modeling/type_definition.py
create mode 100644 aria/type_definition_manager.py
create mode 100644 tests/cli/test_type_definitions.py
create mode 100644
tests/resources/type-definitions/invalid_type_definition_with_no_metadata/TOSCA-Metadata/TOSCA.meta
create mode 100644
tests/resources/type-definitions/invalid_type_definition_with_no_metadata/definitions/custom_types/type1.yaml
create mode 100644
tests/resources/type-definitions/invalid_type_definition_with_no_metadata/definitions/custom_types/type2.yaml
create mode 100644
tests/resources/type-definitions/invalid_type_definition_with_no_metadata/definitions/custom_types/type3.yaml
create mode 100644
tests/resources/type-definitions/invalid_type_definition_with_no_metadata/definitions/custom_types/type4.yaml
create mode 100644
tests/resources/type-definitions/invalid_type_definition_with_no_metadata/definitions/type_definitions_main.yaml
create mode 100644
tests/resources/type-definitions/invalid_type_definition_with_parsing_error/TOSCA-Metadata/TOSCA.meta
create mode 100644
tests/resources/type-definitions/invalid_type_definition_with_parsing_error/definitions/custom_types/type1.yaml
create mode 100644
tests/resources/type-definitions/invalid_type_definition_with_parsing_error/definitions/custom_types/type2.yaml
create mode 100644
tests/resources/type-definitions/invalid_type_definition_with_parsing_error/definitions/custom_types/type3.yaml
create mode 100644
tests/resources/type-definitions/invalid_type_definition_with_parsing_error/definitions/custom_types/type4.yaml
create mode 100644
tests/resources/type-definitions/invalid_type_definition_with_parsing_error/definitions/type_definitions_main.yaml
create mode 100644
tests/resources/type-definitions/invalid_type_definition_with_topology_template/TOSCA-Metadata/TOSCA.meta
create mode 100644
tests/resources/type-definitions/invalid_type_definition_with_topology_template/definitions/custom_types/custom_inner_type/inner_type1.yaml
create mode 100644
tests/resources/type-definitions/invalid_type_definition_with_topology_template/definitions/custom_types/type1.yaml
create mode 100644
tests/resources/type-definitions/invalid_type_definition_with_topology_template/definitions/custom_types/type2.yaml
create mode 100644
tests/resources/type-definitions/invalid_type_definition_with_topology_template/definitions/custom_types/type3.yaml
create mode 100644
tests/resources/type-definitions/invalid_type_definition_with_topology_template/definitions/custom_types/type4.yaml
create mode 100644
tests/resources/type-definitions/invalid_type_definition_with_topology_template/definitions/type_definitions_main.yaml
create mode 100644
tests/resources/type-definitions/valid_type_definition/TOSCA-Metadata/TOSCA.meta
create mode 100644
tests/resources/type-definitions/valid_type_definition/definitions/custom_types/type1.yaml
create mode 100644
tests/resources/type-definitions/valid_type_definition/definitions/custom_types/type2.yaml
create mode 100644
tests/resources/type-definitions/valid_type_definition/definitions/custom_types/type3.yaml
create mode 100644
tests/resources/type-definitions/valid_type_definition/definitions/custom_types/type4.yaml
create mode 100644
tests/resources/type-definitions/valid_type_definition/definitions/type_definitions_main.yaml
create mode 100644
tests/resources/type-definitions/valid_type_definition1/TOSCA-Metadata/TOSCA.meta
create mode 100644
tests/resources/type-definitions/valid_type_definition1/definitions/custom_types/type1.yaml
create mode 100644
tests/resources/type-definitions/valid_type_definition1/definitions/custom_types/type2.yaml
create mode 100644
tests/resources/type-definitions/valid_type_definition1/definitions/custom_types/type3.yaml
create mode 100644
tests/resources/type-definitions/valid_type_definition1/definitions/custom_types/type4.yaml
create mode 100644
tests/resources/type-definitions/valid_type_definition1/definitions/type_definitions_main.yaml
create mode 100644
tests/resources/type-definitions/valid_type_definition2/TOSCA-Metadata/TOSCA.meta
create mode 100644
tests/resources/type-definitions/valid_type_definition2/definitions/custom_types/type1.yaml
create mode 100644
tests/resources/type-definitions/valid_type_definition2/definitions/custom_types/type2.yaml
create mode 100644
tests/resources/type-definitions/valid_type_definition2/definitions/custom_types/type3.yaml
create mode 100644
tests/resources/type-definitions/valid_type_definition2/definitions/custom_types/type4.yaml
create mode 100644
tests/resources/type-definitions/valid_type_definition2/definitions/type_definitions_main.yaml
create mode 100644 tests/test_type_definition_manager.py
--
To stop receiving notification emails like this one, please contact
[email protected].