We are tickled pink to announce the release of: tosca-parser 2.11.0: Parser for TOSCA Simple Profile in YAML. This release is part of the dalmatian release series. The source is available from: https://opendev.org/openstack/tosca-parser Download the package from: https://pypi.org/project/tosca-parser Please report issues through: https://bugs.launchpad.net/tosca-parser/+bugs For more details, please see below. Changes in tosca-parser 2.10.0..2.11.0 -------------------------------------- bfbe9b3 Support for updating tosca-parser with TOSCA1.3 1b9281a Move test samples to reduce setuptools warnings 5231982 Mock replacement for unit tests with external URL 8714783 Add TOSCA v1.3 to valid template version Diffstat (except docs and test files) ------------------------------------- .../csar_invalid_multilevel_imports_validation.zip | Bin .../data/CSAR/csar_multiple_deployment_flavour.zip | Bin .../data/CSAR/csar_relative_path_import_check.zip | Bin .../csar_root_level_yaml_and_tosca_metadata.zip | Bin .../csar_root_yaml_with_tosca_definition1_0.zip | Bin .../csar_valid_multilevel_imports_validation.zip | Bin .../data/CSAR/csar_wordpress_invalid_artifact.zip | Bin .../CSAR/csar_wordpress_invalid_artifact_multi.zip | Bin .../CSAR/csar_wordpress_invalid_import_path.zip | Bin .../CSAR/csar_wordpress_invalid_import_url.zip | Bin .../CSAR/csar_wordpress_invalid_script_path.zip | Bin .../CSAR/csar_wordpress_invalid_script_url.zip | Bin .../data/CSAR/csar_wordpress_valid_artifact.zip | Bin .../CSAR/csar_wordpress_valid_artifact_multi.zip | Bin .../csar_wordpress_with_url_import_and_script.zip | Bin 0 -> 5672 bytes .../data/CSAR/multi_level_imports_response.yaml | 0 .../data}/artifacts/logstash/configure_collectd.py | 0 .../artifacts/logstash/configure_elasticsearch.py | 0 .../data}/artifacts/logstash/configure_rsyslog.py | 0 .../data}/artifacts/mongodb/create_database.sh | 0 .../artifacts/mysql/mysql_database_configure.sh | 0 .../data}/artifacts/mysql/mysql_dbms_configure.sh | 0 .../data}/artifacts/mysql/mysql_dbms_install.sh | 0 .../data}/artifacts/mysql/mysql_dbms_start.sh | 0 .../data}/artifacts/webserver/webserver_install.sh | 0 .../data}/artifacts/webserver/webserver_start.sh | 0 .../artifacts/wordpress/wordpress_configure.sh | 0 .../data}/artifacts/wordpress/wordpress_install.sh | 0 .../containers/test_container_docker_mysql.yaml | 0 .../custom_types/compute_with_attribute_list.yaml | 0 .../compute_with_nested_atributes.yaml | 0 .../data/custom_types/container_cap_child.yaml | 0 .../custom_types/custom_cap_with_datatype.yaml | 0 .../custom_types/custom_nested_data_types.yaml | 0 .../custom_relationship_type_defs.yaml | 0 .../data/custom_types/db_with_list_param.yaml | 0 .../custom_types/invalid_template_version.yaml | 0 .../data/custom_types/nested_test_kibana.yaml | 0 .../data/custom_types/nested_test_wordpress.yaml | 0 .../custom_types}/paypalpizzastore_nodejs_app.yaml | 0 .../data/custom_types/template_version_1_3.yaml | 6 + .../test_custom_datatypes_in_current_template.yaml | 0 ...est_custom_datatypes_nested_datatype_error.yaml | 0 .../datatypes/test_custom_datatypes_positive.yaml | 0 .../test_custom_datatypes_value_error.yaml | 0 .../datatypes/test_datatype_portspec_add_req.yaml | 0 .../data/dsl_definitions/test_nested_dsl_def.yaml | 0 .../data/extensions}/tosca_helloworld_nfv.yaml | 0 .../functions/test_capabilties_inheritance.yaml | 0 .../data/functions/test_container_cap_child.yaml | 0 .../test_get_attribute_custom_data_type.yaml | 0 .../functions/test_get_attribute_host_keyword.yaml | 0 .../test_get_attribute_host_not_found.yaml | 0 ...test_get_attribute_illegal_host_in_outputs.yaml | 0 .../test_get_attribute_nested_data_types.yaml | 0 .../test_get_attribute_source_target_keywords.yaml | 0 .../test_get_attribute_unknown_attribute_name.yaml | 0 ...t_get_attribute_unknown_node_template_name.yaml | 0 .../functions/test_get_attribute_with_index.yaml | 0 .../test_get_attribute_with_index_error.yaml | 0 .../test_get_attribute_with_nested_params.yaml | 0 .../functions/test_get_implicit_attribute.yaml | 0 .../data/functions/test_get_prop_cap_bool.yaml | 0 .../data/functions/test_get_prop_cap_host.yaml | 0 .../test_get_property_source_target_keywords.yaml | 0 .../functions/test_get_property_with_host.yaml | 0 .../functions/test_invalid_function_signature.yaml | 0 .../test_unknown_capability_property.yaml | 0 .../functions/test_unknown_input_in_interface.yaml | 0 .../functions/test_unknown_input_in_property.yaml | 0 .../tosca_nested_property_names_indexes.yaml | 0 .../test_custom_interface_in_template.yaml | 0 .../test_custom_interface_invalid_operation.yaml | 0 .../test_custom_interface_notifications.yaml | 32 +++ .../test_custom_interface_operations.yaml | 29 +++ .../test_policies_without_required_property.yaml | 0 .../policies/test_tosca_nfv_multiple_policies.yaml | 0 .../policies/tosca_custom_policy_template.yaml | 0 .../relationship/test_custom_relationship.yaml | 0 .../test_custom_relationship_key_schema.yaml | 21 ++ .../repositories/test_repositories_definition.yaml | 2 +- .../tosca_repositories_test_definition.yaml | 0 .../data/test_capability_without_properties.yaml | 0 .../data/test_import_invalid_template_version.yaml | 0 .../data/test_multiple_validation_errors.yaml | 0 .../data/test_nodetype_without_relationship.yaml | 0 .../test_normative_type_properties_override.yaml | 0 .../data/test_tosca_custom_rel_with_script.yaml | 0 .../test_tosca_normative_type_by_shortname.yaml | 0 .../data/topology_template/databasesubsystem.yaml | 0 .../data/topology_template/definitions_1_2.yaml | 0 .../data/topology_template/queuingsubsystem.yaml | 0 .../topology_template/transactionsubsystem.yaml | 0 .../validate/queuingsubsystem_invalid_input.yaml | 0 .../validate/system_invalid_input.yaml | 0 .../test_example_app_substitution_mappings.yaml | 0 .../test_substitution_mappings_invalid_output.yaml | 0 .../test_substitution_mappings_valid_output.yaml | 0 .../data/tosca_single_instance_wordpress.yaml | 0 ...stance_wordpress_with_local_abspath_import.yaml | 0 ..._single_instance_wordpress_with_url_import.yaml | 2 +- .../data/tosca_test_get_operation_output.yaml | 0 toscaparser/dataentity.py | 31 ++- toscaparser/elements/constraints.py | 8 +- toscaparser/elements/grouptype.py | 2 + toscaparser/elements/tosca_type_validation.py | 3 +- toscaparser/entity_template.py | 18 ++ toscaparser/groups.py | 2 + toscaparser/nodetemplate.py | 35 ++- toscaparser/parameters.py | 7 +- toscaparser/properties.py | 7 +- .../csar_wordpress_with_url_import_and_script.zip | Bin 6046 -> 0 bytes .../CSAR/tosca_elk/Definitions/elasticsearch.yaml | 11 - .../data/CSAR/tosca_elk/Definitions/kibana.yaml | 16 -- .../data/CSAR/tosca_elk/Definitions/logstash.yaml | 25 -- .../data/CSAR/tosca_elk/Definitions/tosca_elk.yaml | 217 ----------------- .../data/CSAR/tosca_elk/Python/collectd/config.py | 25 -- .../Python/logstash/configure_collectd.py | 28 --- .../Python/logstash/configure_elasticsearch.py | 26 -- .../tosca_elk/Python/logstash/configure_rsyslog.py | 25 -- .../data/CSAR/tosca_elk/Scripts/collectd/create.sh | 5 - .../data/CSAR/tosca_elk/Scripts/collectd/start.sh | 4 - .../CSAR/tosca_elk/Scripts/elasticsearch/create.sh | 14 -- .../CSAR/tosca_elk/Scripts/elasticsearch/start.sh | 4 - .../data/CSAR/tosca_elk/Scripts/kibana/config.sh | 7 - .../data/CSAR/tosca_elk/Scripts/kibana/create.sh | 12 - .../data/CSAR/tosca_elk/Scripts/kibana/start.sh | 4 - .../data/CSAR/tosca_elk/Scripts/logstash/create.sh | 20 -- .../data/CSAR/tosca_elk/Scripts/logstash/start.sh | 4 - .../data/CSAR/tosca_elk/Scripts/mongodb/config.sh | 7 - .../data/CSAR/tosca_elk/Scripts/mongodb/create.sh | 14 -- .../tosca_elk/Scripts/mongodb/create_database.sh | 5 - .../data/CSAR/tosca_elk/Scripts/mongodb/start.sh | 5 - .../data/CSAR/tosca_elk/Scripts/nodejs/config.sh | 28 --- .../data/CSAR/tosca_elk/Scripts/nodejs/create.sh | 7 - .../data/CSAR/tosca_elk/Scripts/nodejs/start.sh | 3 - .../data/CSAR/tosca_elk/Scripts/rsyslog/config.sh | 30 --- .../data/CSAR/tosca_elk/Scripts/rsyslog/create.sh | 5 - .../data/CSAR/tosca_elk/Scripts/rsyslog/start.sh | 4 - .../data/CSAR/tosca_elk/TOSCA-Metadata/TOSCA.meta | 4 - .../tosca_single_instance_wordpress.yaml | 109 --------- .../tosca_single_instance_wordpress/README.txt | 22 -- .../Scripts/MYSQLDBMS/configure.sh | 5 - .../Scripts/MYSQLDBMS/install.sh | 9 - .../Scripts/MYSQLDBMS/start.sh | 2 - .../Scripts/MYSQLDatabase/configure.sh | 8 - .../Scripts/WebServer/install.sh | 5 - .../Scripts/WebServer/start.sh | 2 - .../Scripts/WordPress/configure.sh | 4 - .../Scripts/WordPress/install.sh | 5 - .../TOSCA-Metadata/TOSCA.meta | 5 - .../custom_types/paypalpizzastore_nodejs_app.yaml | 29 --- .../data/load_balancer/tosca_load_balancer.yaml | 75 ------ .../v1.0/network/tosca_one_server_one_network.yaml | 43 ---- .../network/tosca_one_server_three_networks.yaml | 64 ----- .../network/tosca_server_on_existing_network.yaml | 39 --- .../network/tosca_two_servers_one_network.yaml | 79 ------ .../tosca_blockstorage_with_attachment.yaml | 61 ----- ...sca_blockstorage_with_attachment_notation1.yaml | 87 ------- ...sca_blockstorage_with_attachment_notation2.yaml | 99 -------- ...blockstorage_with_custom_relationship_type.yaml | 64 ----- ...ca_blockstorage_with_relationship_template.yaml | 59 ----- ...osca_multiple_blockstorage_with_attachment.yaml | 93 ------- .../v1.0/storage/tosca_single_object_store.yaml | 17 -- .../v1.0/tosca_nodejs_mongodb_two_instances.yaml | 96 -------- .../spec_samples/v1.0/tosca_single_server.yaml | 32 --- .../{extensions/nfv => }/test_tosca_nfv_tpl.py | 7 +- toscaparser/tosca_template.py | 6 +- toscaparser/triggers.py | 7 +- 273 files changed, 653 insertions(+), 2080 deletions(-)