summaryrefslogtreecommitdiffstats
path: root/nfvparser/toscaparser/tests/data
diff options
context:
space:
mode:
authorshangxdy <shang.xiaodong@zte.com.cn>2018-02-12 11:26:28 +0800
committershangxdy <shang.xiaodong@zte.com.cn>2018-02-12 11:29:16 +0800
commit331fe622c8b4612b0e1d57f46403ffabae46a12f (patch)
treefeb8277316dc183f7d17c27275518de9fab9a39e /nfvparser/toscaparser/tests/data
parent1439e90a82088097c76ff6c01ac66ab8e27258fd (diff)
Add license info to all test files
Issue-ID: MODELING-62 Change-Id: I8f680489c9a0afe19a5ad36acf5d966e30fdf93e Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
Diffstat (limited to 'nfvparser/toscaparser/tests/data')
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/collectd.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/elasticsearch.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/kibana.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/logstash.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/paypalpizzastore_nodejs_app.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/rsyslog.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/tosca_elk.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_elk/README.txt13
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/collectd/create.sh12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/collectd/start.sh12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/elasticsearch/create.sh12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/elasticsearch/start.sh12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/kibana/config.sh12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/kibana/create.sh12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/kibana/start.sh12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/logstash/create.sh12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/logstash/start.sh12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/mongodb/config.sh12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/mongodb/create.sh12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/mongodb/create_database.sh12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/mongodb/start.sh12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/nodejs/config.sh12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/nodejs/create.sh12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/nodejs/start.sh12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/rsyslog/config.sh11
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/rsyslog/create.sh12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/rsyslog/start.sh12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_elk/TOSCA-Metadata/TOSCA.meta2
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Definitions/tosca_single_instance_wordpress.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Definitions/wordpress.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/README.txt12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/MYSQLDBMS/configure.sh12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/MYSQLDBMS/install.sh11
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/MYSQLDBMS/start.sh12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/MYSQLDatabase/configure.sh12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/WebServer/install.sh12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/WebServer/start.sh12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/WordPress/configure.sh12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/WordPress/install.sh12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/TOSCA-Metadata/TOSCA.meta2
-rw-r--r--nfvparser/toscaparser/tests/data/containers/test_container_docker_mysql.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/custom_types/collectd.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/custom_types/compute_with_attribute_list.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/custom_types/compute_with_nested_atributes.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/custom_types/compute_with_prop.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/custom_types/container_cap_child.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/custom_types/custom_cap.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/custom_types/custom_caps_def.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/custom_types/custom_interface.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/custom_types/custom_relationship_type_defs.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/custom_types/db_with_list_param.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/custom_types/elasticsearch.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/custom_types/imported_sample.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/custom_types/kibana.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/custom_types/logstash.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/custom_types/nested_rsyslog.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/custom_types/nested_test_kibana.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/custom_types/nested_test_wordpress.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/custom_types/node_with_cap.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/custom_types/paypalpizzastore_nodejs_app.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/custom_types/rsyslog.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/custom_types/wordpress.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/custom_types/wordpress.yml12
-rw-r--r--nfvparser/toscaparser/tests/data/datatypes/custom_datatype_def.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/datatypes/test_custom_datatypes_in_current_template.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/datatypes/test_custom_datatypes_nested_datatype_error.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/datatypes/test_custom_datatypes_positive.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/datatypes/test_custom_datatypes_value_error.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/datatypes/test_datatype_portspec_add_req.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/dsl_definitions/test_nested_dsl_def.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/functions/test_capabilties_inheritance.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/functions/test_concat.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/functions/test_concat_invalid.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/functions/test_container_cap_child.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/functions/test_get_attribute_host_keyword.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/functions/test_get_attribute_host_not_found.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/functions/test_get_attribute_illegal_host_in_outputs.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/functions/test_get_attribute_source_target_keywords.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/functions/test_get_attribute_unknown_attribute_name.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/functions/test_get_attribute_unknown_node_template_name.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/functions/test_get_attribute_with_index.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/functions/test_get_attribute_with_index_error.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/functions/test_get_attribute_with_nested_params.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/functions/test_get_implicit_attribute.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/functions/test_get_prop_cap_bool.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/functions/test_get_prop_cap_host.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/functions/test_get_property_source_target_keywords.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/functions/test_get_property_with_host.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/functions/test_invalid_function_signature.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/functions/test_token.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/functions/test_token_invalid.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/functions/test_unknown_capability_property.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/functions/test_unknown_input_in_interface.yaml11
-rw-r--r--nfvparser/toscaparser/tests/data/functions/test_unknown_input_in_property.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/functions/tosca_nested_property_names_indexes.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/groups/definitions.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/groups/tosca_group_template.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/interfaces/test_custom_interface_in_template.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/interfaces/test_custom_interface_invalid_operation.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/load_balancer/tosca_load_balancer.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/node_filter/test_node_filter.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/policies/custom_definitions.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/policies/tacker_defs.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/policies/tacker_nfv_defs.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/policies/test_tosca_nfv_multiple_policies.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/policies/tosca_policy_template.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/relationship/test_custom_relationship.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/repositories/test_repositories_definition.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/repositories/tosca_repositories_test_definition.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/requirements/test_requirements.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/test_attributes_inheritance.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/test_available_rel_tpls.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/test_containers.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/test_credential_datatype.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/test_custom_capabilty.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/test_custom_caps_def.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/test_custom_relationships.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/test_endpoint_on_compute.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/test_instance_nested_imports.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/test_invalid_input_defaults.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/test_invalid_section_names.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/test_invalid_template_version.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/test_multiple_validation_errors.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/test_no_inputs_in_template.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/test_no_outputs_in_template.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/test_node_filter.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/test_normative_type_properties_override.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/test_repositories_definition.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/test_requirements.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/test_tosca_custom_rel_with_script.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/test_tosca_normative_type_by_shortname.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/test_tosca_top_level_error1.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/test_tosca_top_level_error2.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/topology_template/databasesubsystem.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/topology_template/definitions.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/topology_template/queuingsubsystem.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/topology_template/system.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/topology_template/transactionsubsystem.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/topology_template/validate/queuingsubsystem_invalid_input.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/topology_template/validate/system_invalid_input.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/topology_template/validate/system_invalid_missing_output.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/topology_template/validate/system_invalid_unknown_output.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/topology_template/validate/test_example_app_substitution_mappings.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/topology_template/validate/test_substitution_mappings_invalid_output.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/topology_template/validate/test_substitution_mappings_valid_output.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/topology_template/validate/transactionsubsystem_invalid_missing_output.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/topology_template/validate/transactionsubsystem_invalid_unknown_output.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/tosca_elk.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/tosca_helloworld.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/tosca_helloworld_with_version_1_1.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/tosca_imports_validation.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/tosca_load_balancer.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/tosca_repositories_test_definition.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/tosca_single_instance_wordpress.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/tosca_single_instance_wordpress_with_local_abspath_import.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/tosca_single_instance_wordpress_with_url_import.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/tosca_test_get_operation_output.yaml12
157 files changed, 1860 insertions, 2 deletions
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/collectd.yaml b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/collectd.yaml
index 1ac0935..8d6cf6b 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/collectd.yaml
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/collectd.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/elasticsearch.yaml b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/elasticsearch.yaml
index 4a1770f..09648df 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/elasticsearch.yaml
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/elasticsearch.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/kibana.yaml b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/kibana.yaml
index 3a4351c..aef6d63 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/kibana.yaml
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/kibana.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/logstash.yaml b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/logstash.yaml
index 8495954..b7630a0 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/logstash.yaml
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/logstash.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/paypalpizzastore_nodejs_app.yaml b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/paypalpizzastore_nodejs_app.yaml
index cdabeae..7ba6b57 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/paypalpizzastore_nodejs_app.yaml
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/paypalpizzastore_nodejs_app.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/rsyslog.yaml b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/rsyslog.yaml
index 4614ee7..580ea2e 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/rsyslog.yaml
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/rsyslog.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/tosca_elk.yaml b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/tosca_elk.yaml
index 932f131..9875c19 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/tosca_elk.yaml
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/tosca_elk.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/README.txt b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/README.txt
index 382c9b0..3653499 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/README.txt
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/README.txt
@@ -1,3 +1,16 @@
+
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
README:
This TOSCA simple profile deploys nodejs, mongodb, elasticsearch, logstash and kibana each on a separate server with monitoring enabled for nodejs server where a sample nodejs application is running. The syslog and collectd are installed on a nodejs server.
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/collectd/create.sh b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/collectd/create.sh
index a483b88..d93774b 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/collectd/create.sh
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/collectd/create.sh
@@ -1,4 +1,16 @@
#!/bin/bash
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
# This script install collectd for monitoring data
apt-get update
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/collectd/start.sh b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/collectd/start.sh
index 7e8e033..89c1782 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/collectd/start.sh
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/collectd/start.sh
@@ -1,4 +1,16 @@
#!/bin/bash
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
# This script starts collectd as a service in init.d
service collectd stop
service collectd start
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/elasticsearch/create.sh b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/elasticsearch/create.sh
index c34126c..9bc7c3d 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/elasticsearch/create.sh
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/elasticsearch/create.sh
@@ -1,4 +1,16 @@
#!/bin/bash
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
# This script installs java and elasticsearch
apt-get update
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/elasticsearch/start.sh b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/elasticsearch/start.sh
index bbc0347..c9e4f47 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/elasticsearch/start.sh
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/elasticsearch/start.sh
@@ -1,4 +1,16 @@
#!/bin/bash
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
# This script starts elasticsearch as a service in init.d
service elasticsearch stop
service elasticsearch start
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/kibana/config.sh b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/kibana/config.sh
index f28215a..f2cb379 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/kibana/config.sh
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/kibana/config.sh
@@ -1,4 +1,16 @@
#!/bin/bash
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
# This script configures kibana to connect to the elasticsearch server
# to access data and to export the app url on port 5601:
# The environment variable elasticsearch_ip and kibana_ip are expected
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/kibana/create.sh b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/kibana/create.sh
index 41914b1..fe92a83 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/kibana/create.sh
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/kibana/create.sh
@@ -1,4 +1,16 @@
#!/bin/bash
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
# This script installs kibana and sets it up to run as a service in init.d
cd /opt
wget https://download.elastic.co/kibana/kibana/kibana-4.1.0-linux-x64.tar.gz
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/kibana/start.sh b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/kibana/start.sh
index 5149bb3..543886b 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/kibana/start.sh
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/kibana/start.sh
@@ -1,4 +1,16 @@
#!/bin/bash
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
# This script starts kibana as a service in init.d
service kibana4 stop
service kibana4 start
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/logstash/create.sh b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/logstash/create.sh
index 77cc8fd..e414879 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/logstash/create.sh
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/logstash/create.sh
@@ -1,4 +1,16 @@
#!/bin/bash
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
# This script installs java, logstash and the contrib package for logstash
# install java as prereq
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/logstash/start.sh b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/logstash/start.sh
index a73cf61..3851844 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/logstash/start.sh
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/logstash/start.sh
@@ -1,4 +1,16 @@
#!/bin/bash
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
# Run logstash as service in init.d
service logstash stop
service logstash start
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/mongodb/config.sh b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/mongodb/config.sh
index 78f484e..457c24c 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/mongodb/config.sh
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/mongodb/config.sh
@@ -1,4 +1,16 @@
#!/bin/bash
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
# Edit the file /etc/mongod.conf, update with real IP of Mongo server
# This script configures the mongodb server to export its service on
# the server IP
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/mongodb/create.sh b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/mongodb/create.sh
index d84c275..e4d51e9 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/mongodb/create.sh
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/mongodb/create.sh
@@ -1,4 +1,16 @@
#!/bin/bash
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
# This script installs mongodb
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/mongodb/create_database.sh b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/mongodb/create_database.sh
index 16f1358..07e5b16 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/mongodb/create_database.sh
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/mongodb/create_database.sh
@@ -1,4 +1,16 @@
#!/bin/bash
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
echo "conn = new Mongo();" > setup.js
echo "db = conn.getDB('paypal_pizza');" >> setup.js
echo "db.about.insert({'name': 'PayPal Pizza Store'});" >> setup.js
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/mongodb/start.sh b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/mongodb/start.sh
index ac200a5..bca4c68 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/mongodb/start.sh
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/mongodb/start.sh
@@ -1,4 +1,16 @@
#!/bin/bash
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
# This script starts mongodb
service mongod stop
rm /var/lib/mongodb/mongod.lock
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/nodejs/config.sh b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/nodejs/config.sh
index 1e149a2..f000a19 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/nodejs/config.sh
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/nodejs/config.sh
@@ -1,4 +1,16 @@
#!/bin/bash
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
# This script installs an app for nodejs: the app intended is the paypal app
# and it is configured to connect to the mongodb server
# The environment variables github_url and mongodb_ip are expected to be set up
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/nodejs/create.sh b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/nodejs/create.sh
index 04fd6c6..21e1669 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/nodejs/create.sh
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/nodejs/create.sh
@@ -1,4 +1,16 @@
#!/bin/bash
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
# This script installs nodejs and the prereq
add-apt-repository ppa:chris-lea/node.js
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/nodejs/start.sh b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/nodejs/start.sh
index 6939cb7..4b0b42f 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/nodejs/start.sh
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/nodejs/start.sh
@@ -1,3 +1,15 @@
#!/bin/bash
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
# This script starts the nodejs application
start nodeapp
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/rsyslog/config.sh b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/rsyslog/config.sh
index 630767d..3072ccc 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/rsyslog/config.sh
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/rsyslog/config.sh
@@ -1,4 +1,15 @@
#!/bin/bash
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
# This script configures the output for rsyslogd to send logs to the
# logstash server port 2514 using the RELP protocol
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/rsyslog/create.sh b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/rsyslog/create.sh
index affdd6e..c3538f8 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/rsyslog/create.sh
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/rsyslog/create.sh
@@ -1,4 +1,16 @@
#!/bin/bash
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
# This script installs rsyslog and the library for RELP
apt-get update
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/rsyslog/start.sh b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/rsyslog/start.sh
index 3de82d1..c389d1c 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/rsyslog/start.sh
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/rsyslog/start.sh
@@ -1,4 +1,16 @@
#!/bin/bash
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
# This script starts rsyslogd as a service in init.d
service rsyslog stop
service rsyslog start
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/TOSCA-Metadata/TOSCA.meta b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/TOSCA-Metadata/TOSCA.meta
index feb3d4f..db12107 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/TOSCA-Metadata/TOSCA.meta
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/TOSCA-Metadata/TOSCA.meta
@@ -1,4 +1,4 @@
TOSCA-Meta-File-Version: 1.0
CSAR-Version: 1.1
-Created-By: OASIS TOSCA TC
+Created-By: OASIS TOSCA TC, Licensed under the Apache License, Version 2.0 (the "License")
Entry-Definitions: Definitions/tosca_elk.yaml \ No newline at end of file
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Definitions/tosca_single_instance_wordpress.yaml b/nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Definitions/tosca_single_instance_wordpress.yaml
index 1dd195a..051460b 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Definitions/tosca_single_instance_wordpress.yaml
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Definitions/tosca_single_instance_wordpress.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Definitions/wordpress.yaml b/nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Definitions/wordpress.yaml
index 5899ed9..57b0691 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Definitions/wordpress.yaml
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Definitions/wordpress.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
node_types:
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/README.txt b/nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/README.txt
index e882ff6..778cdd9 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/README.txt
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/README.txt
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
README:
This CSAR contains all definitions that are required for deploying WordPress
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/MYSQLDBMS/configure.sh b/nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/MYSQLDBMS/configure.sh
index d4ef6b4..532267e 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/MYSQLDBMS/configure.sh
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/MYSQLDBMS/configure.sh
@@ -1,4 +1,16 @@
#!/bin/sh
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
sed --regexp-extended "s/(port\s*=\s*)[0-9]*/\1$db_port/g" </etc/mysql/my.cnf >/tmp/my.cnf
mv -f /tmp/my.cnf /etc/mysql/my.cnf
/etc/init.d/mysql stop
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/MYSQLDBMS/install.sh b/nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/MYSQLDBMS/install.sh
index 38628b9..913521a 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/MYSQLDBMS/install.sh
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/MYSQLDBMS/install.sh
@@ -1,4 +1,15 @@
#!/bin/bash
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
#This script installs mysql server
apt-get update
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/MYSQLDBMS/start.sh b/nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/MYSQLDBMS/start.sh
index 3378670..ec29188 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/MYSQLDBMS/start.sh
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/MYSQLDBMS/start.sh
@@ -1,2 +1,14 @@
#!/bin/sh
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
/etc/init.d/mysql start \ No newline at end of file
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/MYSQLDatabase/configure.sh b/nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/MYSQLDatabase/configure.sh
index 092136a..f2379da 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/MYSQLDatabase/configure.sh
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/MYSQLDatabase/configure.sh
@@ -1,4 +1,16 @@
#!/bin/sh
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
cat << EOF | mysql -u root --password=$db_root_password
CREATE DATABASE $db_name;
GRANT ALL PRIVILEGES ON $db_name.* TO "$db_user"@"localhost"
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/WebServer/install.sh b/nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/WebServer/install.sh
index 4ca9b4e..cf52d95 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/WebServer/install.sh
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/WebServer/install.sh
@@ -1,4 +1,16 @@
#!/bin/sh
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
#This script installs apache web server
apt-get update
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/WebServer/start.sh b/nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/WebServer/start.sh
index e962ca5..6ab6480 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/WebServer/start.sh
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/WebServer/start.sh
@@ -1,2 +1,14 @@
#!/bin/sh
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
service apache2 start \ No newline at end of file
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/WordPress/configure.sh b/nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/WordPress/configure.sh
index 5598b4f..59385df 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/WordPress/configure.sh
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/WordPress/configure.sh
@@ -1,4 +1,16 @@
#!/bin/sh
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
ln -s /usr/share/wordpress /var/www/html/wordpress
gzip -d /usr/share/doc/wordpress/examples/setup-mysql.gz
echo $wp_db_password | bash /usr/share/doc/wordpress/examples/setup-mysql -e $wp_db_name -u $wp_db_user localhost \ No newline at end of file
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/WordPress/install.sh b/nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/WordPress/install.sh
index 1320443..9e81f87 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/WordPress/install.sh
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/WordPress/install.sh
@@ -1,4 +1,16 @@
#!/bin/sh
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
#This script installs wordpress
apt-get update
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/TOSCA-Metadata/TOSCA.meta b/nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/TOSCA-Metadata/TOSCA.meta
index 5208113..05c9b8f 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/TOSCA-Metadata/TOSCA.meta
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/TOSCA-Metadata/TOSCA.meta
@@ -1,5 +1,5 @@
TOSCA-Meta-File-Version: 1.0
CSAR-Version: 1.1
-Created-By: OASIS TOSCA TC
+Created-By: OASIS TOSCA TC, Licensed under the Apache License, Version 2.0 (the "License")
Entry-Definitions: Definitions/tosca_single_instance_wordpress.yaml
Content-Type: application/vnd.oasis.tosca.definitions.yaml
diff --git a/nfvparser/toscaparser/tests/data/containers/test_container_docker_mysql.yaml b/nfvparser/toscaparser/tests/data/containers/test_container_docker_mysql.yaml
index 3fd4466..9575a07 100644
--- a/nfvparser/toscaparser/tests/data/containers/test_container_docker_mysql.yaml
+++ b/nfvparser/toscaparser/tests/data/containers/test_container_docker_mysql.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/custom_types/collectd.yaml b/nfvparser/toscaparser/tests/data/custom_types/collectd.yaml
index 1ac0935..8d6cf6b 100644
--- a/nfvparser/toscaparser/tests/data/custom_types/collectd.yaml
+++ b/nfvparser/toscaparser/tests/data/custom_types/collectd.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/custom_types/compute_with_attribute_list.yaml b/nfvparser/toscaparser/tests/data/custom_types/compute_with_attribute_list.yaml
index 3487433..74f9621 100644
--- a/nfvparser/toscaparser/tests/data/custom_types/compute_with_attribute_list.yaml
+++ b/nfvparser/toscaparser/tests/data/custom_types/compute_with_attribute_list.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: Compute node type with a list attribute
diff --git a/nfvparser/toscaparser/tests/data/custom_types/compute_with_nested_atributes.yaml b/nfvparser/toscaparser/tests/data/custom_types/compute_with_nested_atributes.yaml
index 909a297..ccc6fea 100644
--- a/nfvparser/toscaparser/tests/data/custom_types/compute_with_nested_atributes.yaml
+++ b/nfvparser/toscaparser/tests/data/custom_types/compute_with_nested_atributes.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: Compute node type with capability with an attribute of type list
diff --git a/nfvparser/toscaparser/tests/data/custom_types/compute_with_prop.yaml b/nfvparser/toscaparser/tests/data/custom_types/compute_with_prop.yaml
index 93a82af..f5b2034 100644
--- a/nfvparser/toscaparser/tests/data/custom_types/compute_with_prop.yaml
+++ b/nfvparser/toscaparser/tests/data/custom_types/compute_with_prop.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/custom_types/container_cap_child.yaml b/nfvparser/toscaparser/tests/data/custom_types/container_cap_child.yaml
index 1df09dd..6d0d62f 100644
--- a/nfvparser/toscaparser/tests/data/custom_types/container_cap_child.yaml
+++ b/nfvparser/toscaparser/tests/data/custom_types/container_cap_child.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/custom_types/custom_cap.yaml b/nfvparser/toscaparser/tests/data/custom_types/custom_cap.yaml
index 018bcf6..a583bab 100644
--- a/nfvparser/toscaparser/tests/data/custom_types/custom_cap.yaml
+++ b/nfvparser/toscaparser/tests/data/custom_types/custom_cap.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
capability_types:
diff --git a/nfvparser/toscaparser/tests/data/custom_types/custom_caps_def.yaml b/nfvparser/toscaparser/tests/data/custom_types/custom_caps_def.yaml
index 337c38f..5a5b554 100644
--- a/nfvparser/toscaparser/tests/data/custom_types/custom_caps_def.yaml
+++ b/nfvparser/toscaparser/tests/data/custom_types/custom_caps_def.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/custom_types/custom_interface.yaml b/nfvparser/toscaparser/tests/data/custom_types/custom_interface.yaml
index 2d9bec4..df0d930 100644
--- a/nfvparser/toscaparser/tests/data/custom_types/custom_interface.yaml
+++ b/nfvparser/toscaparser/tests/data/custom_types/custom_interface.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/custom_types/custom_relationship_type_defs.yaml b/nfvparser/toscaparser/tests/data/custom_types/custom_relationship_type_defs.yaml
index cf5c2b4..fc3dd9e 100644
--- a/nfvparser/toscaparser/tests/data/custom_types/custom_relationship_type_defs.yaml
+++ b/nfvparser/toscaparser/tests/data/custom_types/custom_relationship_type_defs.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
node_types:
tosca.nodes.HACompute:
derived_from: tosca.nodes.Compute
diff --git a/nfvparser/toscaparser/tests/data/custom_types/db_with_list_param.yaml b/nfvparser/toscaparser/tests/data/custom_types/db_with_list_param.yaml
index 57ce279..d8969e1 100644
--- a/nfvparser/toscaparser/tests/data/custom_types/db_with_list_param.yaml
+++ b/nfvparser/toscaparser/tests/data/custom_types/db_with_list_param.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
node_types:
diff --git a/nfvparser/toscaparser/tests/data/custom_types/elasticsearch.yaml b/nfvparser/toscaparser/tests/data/custom_types/elasticsearch.yaml
index b140a32..676ae22 100644
--- a/nfvparser/toscaparser/tests/data/custom_types/elasticsearch.yaml
+++ b/nfvparser/toscaparser/tests/data/custom_types/elasticsearch.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/custom_types/imported_sample.yaml b/nfvparser/toscaparser/tests/data/custom_types/imported_sample.yaml
index c8e4532..06377f7 100644
--- a/nfvparser/toscaparser/tests/data/custom_types/imported_sample.yaml
+++ b/nfvparser/toscaparser/tests/data/custom_types/imported_sample.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca1_definitions_version: tosca_simple_yaml_1_0
tosca_definitions_version: tosca_simple_yaml_1_10
diff --git a/nfvparser/toscaparser/tests/data/custom_types/kibana.yaml b/nfvparser/toscaparser/tests/data/custom_types/kibana.yaml
index 5701e69..fdc3d7b 100644
--- a/nfvparser/toscaparser/tests/data/custom_types/kibana.yaml
+++ b/nfvparser/toscaparser/tests/data/custom_types/kibana.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/custom_types/logstash.yaml b/nfvparser/toscaparser/tests/data/custom_types/logstash.yaml
index cf60521..624f064 100644
--- a/nfvparser/toscaparser/tests/data/custom_types/logstash.yaml
+++ b/nfvparser/toscaparser/tests/data/custom_types/logstash.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/custom_types/nested_rsyslog.yaml b/nfvparser/toscaparser/tests/data/custom_types/nested_rsyslog.yaml
index 8c04171..17bdaac 100644
--- a/nfvparser/toscaparser/tests/data/custom_types/nested_rsyslog.yaml
+++ b/nfvparser/toscaparser/tests/data/custom_types/nested_rsyslog.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/custom_types/nested_test_kibana.yaml b/nfvparser/toscaparser/tests/data/custom_types/nested_test_kibana.yaml
index c8675c6..ca37dcb 100644
--- a/nfvparser/toscaparser/tests/data/custom_types/nested_test_kibana.yaml
+++ b/nfvparser/toscaparser/tests/data/custom_types/nested_test_kibana.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
imports:
- custom_types/kibana.yaml
diff --git a/nfvparser/toscaparser/tests/data/custom_types/nested_test_wordpress.yaml b/nfvparser/toscaparser/tests/data/custom_types/nested_test_wordpress.yaml
index 4df277d..19f5f6f 100644
--- a/nfvparser/toscaparser/tests/data/custom_types/nested_test_wordpress.yaml
+++ b/nfvparser/toscaparser/tests/data/custom_types/nested_test_wordpress.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
imports:
- test_prefix_defs:
diff --git a/nfvparser/toscaparser/tests/data/custom_types/node_with_cap.yaml b/nfvparser/toscaparser/tests/data/custom_types/node_with_cap.yaml
index 332f830..bc87dda 100644
--- a/nfvparser/toscaparser/tests/data/custom_types/node_with_cap.yaml
+++ b/nfvparser/toscaparser/tests/data/custom_types/node_with_cap.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/custom_types/paypalpizzastore_nodejs_app.yaml b/nfvparser/toscaparser/tests/data/custom_types/paypalpizzastore_nodejs_app.yaml
index cdabeae..7ba6b57 100644
--- a/nfvparser/toscaparser/tests/data/custom_types/paypalpizzastore_nodejs_app.yaml
+++ b/nfvparser/toscaparser/tests/data/custom_types/paypalpizzastore_nodejs_app.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/custom_types/rsyslog.yaml b/nfvparser/toscaparser/tests/data/custom_types/rsyslog.yaml
index 4614ee7..580ea2e 100644
--- a/nfvparser/toscaparser/tests/data/custom_types/rsyslog.yaml
+++ b/nfvparser/toscaparser/tests/data/custom_types/rsyslog.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/custom_types/wordpress.yaml b/nfvparser/toscaparser/tests/data/custom_types/wordpress.yaml
index 5899ed9..57b0691 100644
--- a/nfvparser/toscaparser/tests/data/custom_types/wordpress.yaml
+++ b/nfvparser/toscaparser/tests/data/custom_types/wordpress.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
node_types:
diff --git a/nfvparser/toscaparser/tests/data/custom_types/wordpress.yml b/nfvparser/toscaparser/tests/data/custom_types/wordpress.yml
index 5899ed9..57b0691 100644
--- a/nfvparser/toscaparser/tests/data/custom_types/wordpress.yml
+++ b/nfvparser/toscaparser/tests/data/custom_types/wordpress.yml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
node_types:
diff --git a/nfvparser/toscaparser/tests/data/datatypes/custom_datatype_def.yaml b/nfvparser/toscaparser/tests/data/datatypes/custom_datatype_def.yaml
index b1fb402..adecd7c 100644
--- a/nfvparser/toscaparser/tests/data/datatypes/custom_datatype_def.yaml
+++ b/nfvparser/toscaparser/tests/data/datatypes/custom_datatype_def.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/datatypes/test_custom_datatypes_in_current_template.yaml b/nfvparser/toscaparser/tests/data/datatypes/test_custom_datatypes_in_current_template.yaml
index befa198..e8cb0a1 100644
--- a/nfvparser/toscaparser/tests/data/datatypes/test_custom_datatypes_in_current_template.yaml
+++ b/nfvparser/toscaparser/tests/data/datatypes/test_custom_datatypes_in_current_template.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/datatypes/test_custom_datatypes_nested_datatype_error.yaml b/nfvparser/toscaparser/tests/data/datatypes/test_custom_datatypes_nested_datatype_error.yaml
index b28f499..c7d4712 100644
--- a/nfvparser/toscaparser/tests/data/datatypes/test_custom_datatypes_nested_datatype_error.yaml
+++ b/nfvparser/toscaparser/tests/data/datatypes/test_custom_datatypes_nested_datatype_error.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/datatypes/test_custom_datatypes_positive.yaml b/nfvparser/toscaparser/tests/data/datatypes/test_custom_datatypes_positive.yaml
index f1762f4..b5c9c5a 100644
--- a/nfvparser/toscaparser/tests/data/datatypes/test_custom_datatypes_positive.yaml
+++ b/nfvparser/toscaparser/tests/data/datatypes/test_custom_datatypes_positive.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/datatypes/test_custom_datatypes_value_error.yaml b/nfvparser/toscaparser/tests/data/datatypes/test_custom_datatypes_value_error.yaml
index 31cf681..4e684cd 100644
--- a/nfvparser/toscaparser/tests/data/datatypes/test_custom_datatypes_value_error.yaml
+++ b/nfvparser/toscaparser/tests/data/datatypes/test_custom_datatypes_value_error.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/datatypes/test_datatype_portspec_add_req.yaml b/nfvparser/toscaparser/tests/data/datatypes/test_datatype_portspec_add_req.yaml
index f944927..8981ed6 100644
--- a/nfvparser/toscaparser/tests/data/datatypes/test_datatype_portspec_add_req.yaml
+++ b/nfvparser/toscaparser/tests/data/datatypes/test_datatype_portspec_add_req.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: TOSCA test PortSpec Additional Requirement clauses
diff --git a/nfvparser/toscaparser/tests/data/dsl_definitions/test_nested_dsl_def.yaml b/nfvparser/toscaparser/tests/data/dsl_definitions/test_nested_dsl_def.yaml
index 6155595..4bdb39d 100644
--- a/nfvparser/toscaparser/tests/data/dsl_definitions/test_nested_dsl_def.yaml
+++ b/nfvparser/toscaparser/tests/data/dsl_definitions/test_nested_dsl_def.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: Test template demonstrating usage of nested dsl_definitions value.
diff --git a/nfvparser/toscaparser/tests/data/functions/test_capabilties_inheritance.yaml b/nfvparser/toscaparser/tests/data/functions/test_capabilties_inheritance.yaml
index f0bec84..376e32b 100644
--- a/nfvparser/toscaparser/tests/data/functions/test_capabilties_inheritance.yaml
+++ b/nfvparser/toscaparser/tests/data/functions/test_capabilties_inheritance.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: TOSCA simple profile to test the attribute inheritance
diff --git a/nfvparser/toscaparser/tests/data/functions/test_concat.yaml b/nfvparser/toscaparser/tests/data/functions/test_concat.yaml
index 22fcfb4..abb761a 100644
--- a/nfvparser/toscaparser/tests/data/functions/test_concat.yaml
+++ b/nfvparser/toscaparser/tests/data/functions/test_concat.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: Template for deploying a single server with concat function.
diff --git a/nfvparser/toscaparser/tests/data/functions/test_concat_invalid.yaml b/nfvparser/toscaparser/tests/data/functions/test_concat_invalid.yaml
index 7c7b0aa..b841079 100644
--- a/nfvparser/toscaparser/tests/data/functions/test_concat_invalid.yaml
+++ b/nfvparser/toscaparser/tests/data/functions/test_concat_invalid.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: Template for deploying a single server with invalid concat function.
diff --git a/nfvparser/toscaparser/tests/data/functions/test_container_cap_child.yaml b/nfvparser/toscaparser/tests/data/functions/test_container_cap_child.yaml
index 84118c8..b7f8044 100644
--- a/nfvparser/toscaparser/tests/data/functions/test_container_cap_child.yaml
+++ b/nfvparser/toscaparser/tests/data/functions/test_container_cap_child.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/functions/test_get_attribute_host_keyword.yaml b/nfvparser/toscaparser/tests/data/functions/test_get_attribute_host_keyword.yaml
index 90ffbe2..a40353b 100644
--- a/nfvparser/toscaparser/tests/data/functions/test_get_attribute_host_keyword.yaml
+++ b/nfvparser/toscaparser/tests/data/functions/test_get_attribute_host_keyword.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/functions/test_get_attribute_host_not_found.yaml b/nfvparser/toscaparser/tests/data/functions/test_get_attribute_host_not_found.yaml
index 69679ff..0bd8f59 100644
--- a/nfvparser/toscaparser/tests/data/functions/test_get_attribute_host_not_found.yaml
+++ b/nfvparser/toscaparser/tests/data/functions/test_get_attribute_host_not_found.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/functions/test_get_attribute_illegal_host_in_outputs.yaml b/nfvparser/toscaparser/tests/data/functions/test_get_attribute_illegal_host_in_outputs.yaml
index 6c7d9bb..2f5ce93 100644
--- a/nfvparser/toscaparser/tests/data/functions/test_get_attribute_illegal_host_in_outputs.yaml
+++ b/nfvparser/toscaparser/tests/data/functions/test_get_attribute_illegal_host_in_outputs.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/functions/test_get_attribute_source_target_keywords.yaml b/nfvparser/toscaparser/tests/data/functions/test_get_attribute_source_target_keywords.yaml
index 047387f..ec004c6 100644
--- a/nfvparser/toscaparser/tests/data/functions/test_get_attribute_source_target_keywords.yaml
+++ b/nfvparser/toscaparser/tests/data/functions/test_get_attribute_source_target_keywords.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/functions/test_get_attribute_unknown_attribute_name.yaml b/nfvparser/toscaparser/tests/data/functions/test_get_attribute_unknown_attribute_name.yaml
index 0570c7c..5e2a79b 100644
--- a/nfvparser/toscaparser/tests/data/functions/test_get_attribute_unknown_attribute_name.yaml
+++ b/nfvparser/toscaparser/tests/data/functions/test_get_attribute_unknown_attribute_name.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/functions/test_get_attribute_unknown_node_template_name.yaml b/nfvparser/toscaparser/tests/data/functions/test_get_attribute_unknown_node_template_name.yaml
index 34c1c33..cb2f53c 100644
--- a/nfvparser/toscaparser/tests/data/functions/test_get_attribute_unknown_node_template_name.yaml
+++ b/nfvparser/toscaparser/tests/data/functions/test_get_attribute_unknown_node_template_name.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/functions/test_get_attribute_with_index.yaml b/nfvparser/toscaparser/tests/data/functions/test_get_attribute_with_index.yaml
index 5766490..ebf89de 100644
--- a/nfvparser/toscaparser/tests/data/functions/test_get_attribute_with_index.yaml
+++ b/nfvparser/toscaparser/tests/data/functions/test_get_attribute_with_index.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/functions/test_get_attribute_with_index_error.yaml b/nfvparser/toscaparser/tests/data/functions/test_get_attribute_with_index_error.yaml
index 7511999..2bfe5a9 100644
--- a/nfvparser/toscaparser/tests/data/functions/test_get_attribute_with_index_error.yaml
+++ b/nfvparser/toscaparser/tests/data/functions/test_get_attribute_with_index_error.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/functions/test_get_attribute_with_nested_params.yaml b/nfvparser/toscaparser/tests/data/functions/test_get_attribute_with_nested_params.yaml
index 79e632c..4b5ce60 100644
--- a/nfvparser/toscaparser/tests/data/functions/test_get_attribute_with_nested_params.yaml
+++ b/nfvparser/toscaparser/tests/data/functions/test_get_attribute_with_nested_params.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/functions/test_get_implicit_attribute.yaml b/nfvparser/toscaparser/tests/data/functions/test_get_implicit_attribute.yaml
index a269005..2810fa5 100644
--- a/nfvparser/toscaparser/tests/data/functions/test_get_implicit_attribute.yaml
+++ b/nfvparser/toscaparser/tests/data/functions/test_get_implicit_attribute.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/functions/test_get_prop_cap_bool.yaml b/nfvparser/toscaparser/tests/data/functions/test_get_prop_cap_bool.yaml
index d9c4c1c..eeb3f25 100644
--- a/nfvparser/toscaparser/tests/data/functions/test_get_prop_cap_bool.yaml
+++ b/nfvparser/toscaparser/tests/data/functions/test_get_prop_cap_bool.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: TOSCA test for boolean properties
diff --git a/nfvparser/toscaparser/tests/data/functions/test_get_prop_cap_host.yaml b/nfvparser/toscaparser/tests/data/functions/test_get_prop_cap_host.yaml
index 7fcb4a7..e623093 100644
--- a/nfvparser/toscaparser/tests/data/functions/test_get_prop_cap_host.yaml
+++ b/nfvparser/toscaparser/tests/data/functions/test_get_prop_cap_host.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: TOSCA test for the IM
diff --git a/nfvparser/toscaparser/tests/data/functions/test_get_property_source_target_keywords.yaml b/nfvparser/toscaparser/tests/data/functions/test_get_property_source_target_keywords.yaml
index c460257..83e4b06 100644
--- a/nfvparser/toscaparser/tests/data/functions/test_get_property_source_target_keywords.yaml
+++ b/nfvparser/toscaparser/tests/data/functions/test_get_property_source_target_keywords.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/functions/test_get_property_with_host.yaml b/nfvparser/toscaparser/tests/data/functions/test_get_property_with_host.yaml
index 1ca69ca..27535c9 100644
--- a/nfvparser/toscaparser/tests/data/functions/test_get_property_with_host.yaml
+++ b/nfvparser/toscaparser/tests/data/functions/test_get_property_with_host.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/functions/test_invalid_function_signature.yaml b/nfvparser/toscaparser/tests/data/functions/test_invalid_function_signature.yaml
index dde8427..50aec6a 100644
--- a/nfvparser/toscaparser/tests/data/functions/test_invalid_function_signature.yaml
+++ b/nfvparser/toscaparser/tests/data/functions/test_invalid_function_signature.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/functions/test_token.yaml b/nfvparser/toscaparser/tests/data/functions/test_token.yaml
index 495a930..5e0210f 100644
--- a/nfvparser/toscaparser/tests/data/functions/test_token.yaml
+++ b/nfvparser/toscaparser/tests/data/functions/test_token.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: Template for deploying a single server with token function.
diff --git a/nfvparser/toscaparser/tests/data/functions/test_token_invalid.yaml b/nfvparser/toscaparser/tests/data/functions/test_token_invalid.yaml
index 35ae2ff..d6b0aa8 100644
--- a/nfvparser/toscaparser/tests/data/functions/test_token_invalid.yaml
+++ b/nfvparser/toscaparser/tests/data/functions/test_token_invalid.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: Template for deploying a single server with invalid token function.
diff --git a/nfvparser/toscaparser/tests/data/functions/test_unknown_capability_property.yaml b/nfvparser/toscaparser/tests/data/functions/test_unknown_capability_property.yaml
index 4a92530..9fec231 100644
--- a/nfvparser/toscaparser/tests/data/functions/test_unknown_capability_property.yaml
+++ b/nfvparser/toscaparser/tests/data/functions/test_unknown_capability_property.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/functions/test_unknown_input_in_interface.yaml b/nfvparser/toscaparser/tests/data/functions/test_unknown_input_in_interface.yaml
index cbfb391..7d80228 100644
--- a/nfvparser/toscaparser/tests/data/functions/test_unknown_input_in_interface.yaml
+++ b/nfvparser/toscaparser/tests/data/functions/test_unknown_input_in_interface.yaml
@@ -1,3 +1,14 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
tosca_definitions_version: tosca_simple_yaml_1_0
diff --git a/nfvparser/toscaparser/tests/data/functions/test_unknown_input_in_property.yaml b/nfvparser/toscaparser/tests/data/functions/test_unknown_input_in_property.yaml
index 9ba7ee5..71f3d0b 100644
--- a/nfvparser/toscaparser/tests/data/functions/test_unknown_input_in_property.yaml
+++ b/nfvparser/toscaparser/tests/data/functions/test_unknown_input_in_property.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/functions/tosca_nested_property_names_indexes.yaml b/nfvparser/toscaparser/tests/data/functions/tosca_nested_property_names_indexes.yaml
index 8fb7b96..616b812 100644
--- a/nfvparser/toscaparser/tests/data/functions/tosca_nested_property_names_indexes.yaml
+++ b/nfvparser/toscaparser/tests/data/functions/tosca_nested_property_names_indexes.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: TOSCA simple profile with nested property names or indexes.
diff --git a/nfvparser/toscaparser/tests/data/groups/definitions.yaml b/nfvparser/toscaparser/tests/data/groups/definitions.yaml
index 40c1d8b..cb4bc0c 100644
--- a/nfvparser/toscaparser/tests/data/groups/definitions.yaml
+++ b/nfvparser/toscaparser/tests/data/groups/definitions.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
group_types:
diff --git a/nfvparser/toscaparser/tests/data/groups/tosca_group_template.yaml b/nfvparser/toscaparser/tests/data/groups/tosca_group_template.yaml
index 0e94240..f0ef13b 100644
--- a/nfvparser/toscaparser/tests/data/groups/tosca_group_template.yaml
+++ b/nfvparser/toscaparser/tests/data/groups/tosca_group_template.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/interfaces/test_custom_interface_in_template.yaml b/nfvparser/toscaparser/tests/data/interfaces/test_custom_interface_in_template.yaml
index c23917c..ae5c1cf 100644
--- a/nfvparser/toscaparser/tests/data/interfaces/test_custom_interface_in_template.yaml
+++ b/nfvparser/toscaparser/tests/data/interfaces/test_custom_interface_in_template.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/interfaces/test_custom_interface_invalid_operation.yaml b/nfvparser/toscaparser/tests/data/interfaces/test_custom_interface_invalid_operation.yaml
index d56ad9c..9d13977 100644
--- a/nfvparser/toscaparser/tests/data/interfaces/test_custom_interface_invalid_operation.yaml
+++ b/nfvparser/toscaparser/tests/data/interfaces/test_custom_interface_invalid_operation.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/load_balancer/tosca_load_balancer.yaml b/nfvparser/toscaparser/tests/data/load_balancer/tosca_load_balancer.yaml
index 2fcdb48..3e153c0 100644
--- a/nfvparser/toscaparser/tests/data/load_balancer/tosca_load_balancer.yaml
+++ b/nfvparser/toscaparser/tests/data/load_balancer/tosca_load_balancer.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
# Note: this could eventually be translated to a Neutron Load Balancer
# However, in Heat/HOT the preferred way of doing this is creating an Autoscale Group
#
diff --git a/nfvparser/toscaparser/tests/data/node_filter/test_node_filter.yaml b/nfvparser/toscaparser/tests/data/node_filter/test_node_filter.yaml
index 3dd8e26..e16e566 100644
--- a/nfvparser/toscaparser/tests/data/node_filter/test_node_filter.yaml
+++ b/nfvparser/toscaparser/tests/data/node_filter/test_node_filter.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: Template with requirements against hosting infrastructure.
diff --git a/nfvparser/toscaparser/tests/data/policies/custom_definitions.yaml b/nfvparser/toscaparser/tests/data/policies/custom_definitions.yaml
index 7f15ade..ca35276 100644
--- a/nfvparser/toscaparser/tests/data/policies/custom_definitions.yaml
+++ b/nfvparser/toscaparser/tests/data/policies/custom_definitions.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
policy_types:
diff --git a/nfvparser/toscaparser/tests/data/policies/tacker_defs.yaml b/nfvparser/toscaparser/tests/data/policies/tacker_defs.yaml
index 96b0d45..4cca9a3 100644
--- a/nfvparser/toscaparser/tests/data/policies/tacker_defs.yaml
+++ b/nfvparser/toscaparser/tests/data/policies/tacker_defs.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0
data_types:
diff --git a/nfvparser/toscaparser/tests/data/policies/tacker_nfv_defs.yaml b/nfvparser/toscaparser/tests/data/policies/tacker_nfv_defs.yaml
index 1387509..8ff8494 100644
--- a/nfvparser/toscaparser/tests/data/policies/tacker_nfv_defs.yaml
+++ b/nfvparser/toscaparser/tests/data/policies/tacker_nfv_defs.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0
data_types:
diff --git a/nfvparser/toscaparser/tests/data/policies/test_tosca_nfv_multiple_policies.yaml b/nfvparser/toscaparser/tests/data/policies/test_tosca_nfv_multiple_policies.yaml
index 452dbb5..1d39aef 100644
--- a/nfvparser/toscaparser/tests/data/policies/test_tosca_nfv_multiple_policies.yaml
+++ b/nfvparser/toscaparser/tests/data/policies/test_tosca_nfv_multiple_policies.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0
description: sample-tosca-vnfd-scaling
diff --git a/nfvparser/toscaparser/tests/data/policies/tosca_policy_template.yaml b/nfvparser/toscaparser/tests/data/policies/tosca_policy_template.yaml
index 4c18d9d..0a696d7 100644
--- a/nfvparser/toscaparser/tests/data/policies/tosca_policy_template.yaml
+++ b/nfvparser/toscaparser/tests/data/policies/tosca_policy_template.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/relationship/test_custom_relationship.yaml b/nfvparser/toscaparser/tests/data/relationship/test_custom_relationship.yaml
index 81b92b4..2ba2faf 100644
--- a/nfvparser/toscaparser/tests/data/relationship/test_custom_relationship.yaml
+++ b/nfvparser/toscaparser/tests/data/relationship/test_custom_relationship.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: Test template for deploying a single server with predefined properties and custom relationship types
diff --git a/nfvparser/toscaparser/tests/data/repositories/test_repositories_definition.yaml b/nfvparser/toscaparser/tests/data/repositories/test_repositories_definition.yaml
index c2856c8..b8453c5 100644
--- a/nfvparser/toscaparser/tests/data/repositories/test_repositories_definition.yaml
+++ b/nfvparser/toscaparser/tests/data/repositories/test_repositories_definition.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
repositories:
diff --git a/nfvparser/toscaparser/tests/data/repositories/tosca_repositories_test_definition.yaml b/nfvparser/toscaparser/tests/data/repositories/tosca_repositories_test_definition.yaml
index 0001d06..d030939 100644
--- a/nfvparser/toscaparser/tests/data/repositories/tosca_repositories_test_definition.yaml
+++ b/nfvparser/toscaparser/tests/data/repositories/tosca_repositories_test_definition.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: TOSCA simple profile with repositories validation and imports.
diff --git a/nfvparser/toscaparser/tests/data/requirements/test_requirements.yaml b/nfvparser/toscaparser/tests/data/requirements/test_requirements.yaml
index bb67577..c504368 100644
--- a/nfvparser/toscaparser/tests/data/requirements/test_requirements.yaml
+++ b/nfvparser/toscaparser/tests/data/requirements/test_requirements.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/test_attributes_inheritance.yaml b/nfvparser/toscaparser/tests/data/test_attributes_inheritance.yaml
index 0649c11..3501e6a 100644
--- a/nfvparser/toscaparser/tests/data/test_attributes_inheritance.yaml
+++ b/nfvparser/toscaparser/tests/data/test_attributes_inheritance.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: TOSCA simple profile to test the attribute inheritance
diff --git a/nfvparser/toscaparser/tests/data/test_available_rel_tpls.yaml b/nfvparser/toscaparser/tests/data/test_available_rel_tpls.yaml
index e8d9045..b045dae 100644
--- a/nfvparser/toscaparser/tests/data/test_available_rel_tpls.yaml
+++ b/nfvparser/toscaparser/tests/data/test_available_rel_tpls.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: TOSCA test for bug 1527214
diff --git a/nfvparser/toscaparser/tests/data/test_containers.yaml b/nfvparser/toscaparser/tests/data/test_containers.yaml
index ba1cc16..168e78a 100644
--- a/nfvparser/toscaparser/tests/data/test_containers.yaml
+++ b/nfvparser/toscaparser/tests/data/test_containers.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/test_credential_datatype.yaml b/nfvparser/toscaparser/tests/data/test_credential_datatype.yaml
index 583ec82..ce482cd 100644
--- a/nfvparser/toscaparser/tests/data/test_credential_datatype.yaml
+++ b/nfvparser/toscaparser/tests/data/test_credential_datatype.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/test_custom_capabilty.yaml b/nfvparser/toscaparser/tests/data/test_custom_capabilty.yaml
index 03a8a07..9a9d5c2 100644
--- a/nfvparser/toscaparser/tests/data/test_custom_capabilty.yaml
+++ b/nfvparser/toscaparser/tests/data/test_custom_capabilty.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: TOSCA simple profile to test a custom defined capability
diff --git a/nfvparser/toscaparser/tests/data/test_custom_caps_def.yaml b/nfvparser/toscaparser/tests/data/test_custom_caps_def.yaml
index 0b0984a..bd43dff 100644
--- a/nfvparser/toscaparser/tests/data/test_custom_caps_def.yaml
+++ b/nfvparser/toscaparser/tests/data/test_custom_caps_def.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: TOSCA simple profile to test a custom defined capability
diff --git a/nfvparser/toscaparser/tests/data/test_custom_relationships.yaml b/nfvparser/toscaparser/tests/data/test_custom_relationships.yaml
index 9c8171d..25625d7 100644
--- a/nfvparser/toscaparser/tests/data/test_custom_relationships.yaml
+++ b/nfvparser/toscaparser/tests/data/test_custom_relationships.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: Test template for deploying a single server with predefined properties and custom relationship types
diff --git a/nfvparser/toscaparser/tests/data/test_endpoint_on_compute.yaml b/nfvparser/toscaparser/tests/data/test_endpoint_on_compute.yaml
index cf2ec94..a8e9af8 100644
--- a/nfvparser/toscaparser/tests/data/test_endpoint_on_compute.yaml
+++ b/nfvparser/toscaparser/tests/data/test_endpoint_on_compute.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
topology_template:
diff --git a/nfvparser/toscaparser/tests/data/test_instance_nested_imports.yaml b/nfvparser/toscaparser/tests/data/test_instance_nested_imports.yaml
index a130e49..c42b5ce 100644
--- a/nfvparser/toscaparser/tests/data/test_instance_nested_imports.yaml
+++ b/nfvparser/toscaparser/tests/data/test_instance_nested_imports.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/test_invalid_input_defaults.yaml b/nfvparser/toscaparser/tests/data/test_invalid_input_defaults.yaml
index f8f4ae7..b5262d5 100644
--- a/nfvparser/toscaparser/tests/data/test_invalid_input_defaults.yaml
+++ b/nfvparser/toscaparser/tests/data/test_invalid_input_defaults.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: Test template with default not matching required type.
diff --git a/nfvparser/toscaparser/tests/data/test_invalid_section_names.yaml b/nfvparser/toscaparser/tests/data/test_invalid_section_names.yaml
index 6241585..b68e112 100644
--- a/nfvparser/toscaparser/tests/data/test_invalid_section_names.yaml
+++ b/nfvparser/toscaparser/tests/data/test_invalid_section_names.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_versions: tosca_simple_yaml_1_0
descriptions: >
diff --git a/nfvparser/toscaparser/tests/data/test_invalid_template_version.yaml b/nfvparser/toscaparser/tests/data/test_invalid_template_version.yaml
index 86dce79..53abaac 100644
--- a/nfvparser/toscaparser/tests/data/test_invalid_template_version.yaml
+++ b/nfvparser/toscaparser/tests/data/test_invalid_template_version.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_xyz
description: >
diff --git a/nfvparser/toscaparser/tests/data/test_multiple_validation_errors.yaml b/nfvparser/toscaparser/tests/data/test_multiple_validation_errors.yaml
index 479a1ec..6b8af1e 100644
--- a/nfvparser/toscaparser/tests/data/test_multiple_validation_errors.yaml
+++ b/nfvparser/toscaparser/tests/data/test_multiple_validation_errors.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1
description: >
diff --git a/nfvparser/toscaparser/tests/data/test_no_inputs_in_template.yaml b/nfvparser/toscaparser/tests/data/test_no_inputs_in_template.yaml
index 0b9da4c..84f5401 100644
--- a/nfvparser/toscaparser/tests/data/test_no_inputs_in_template.yaml
+++ b/nfvparser/toscaparser/tests/data/test_no_inputs_in_template.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/test_no_outputs_in_template.yaml b/nfvparser/toscaparser/tests/data/test_no_outputs_in_template.yaml
index 51d42ff..58fd54a 100644
--- a/nfvparser/toscaparser/tests/data/test_no_outputs_in_template.yaml
+++ b/nfvparser/toscaparser/tests/data/test_no_outputs_in_template.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/test_node_filter.yaml b/nfvparser/toscaparser/tests/data/test_node_filter.yaml
index 3dd8e26..e16e566 100644
--- a/nfvparser/toscaparser/tests/data/test_node_filter.yaml
+++ b/nfvparser/toscaparser/tests/data/test_node_filter.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: Template with requirements against hosting infrastructure.
diff --git a/nfvparser/toscaparser/tests/data/test_normative_type_properties_override.yaml b/nfvparser/toscaparser/tests/data/test_normative_type_properties_override.yaml
index 3c3e272..eb45e43 100644
--- a/nfvparser/toscaparser/tests/data/test_normative_type_properties_override.yaml
+++ b/nfvparser/toscaparser/tests/data/test_normative_type_properties_override.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/test_repositories_definition.yaml b/nfvparser/toscaparser/tests/data/test_repositories_definition.yaml
index c2856c8..b8453c5 100644
--- a/nfvparser/toscaparser/tests/data/test_repositories_definition.yaml
+++ b/nfvparser/toscaparser/tests/data/test_repositories_definition.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
repositories:
diff --git a/nfvparser/toscaparser/tests/data/test_requirements.yaml b/nfvparser/toscaparser/tests/data/test_requirements.yaml
index 269c46d..d29ecae 100644
--- a/nfvparser/toscaparser/tests/data/test_requirements.yaml
+++ b/nfvparser/toscaparser/tests/data/test_requirements.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/test_tosca_custom_rel_with_script.yaml b/nfvparser/toscaparser/tests/data/test_tosca_custom_rel_with_script.yaml
index 18a94a3..076b596 100644
--- a/nfvparser/toscaparser/tests/data/test_tosca_custom_rel_with_script.yaml
+++ b/nfvparser/toscaparser/tests/data/test_tosca_custom_rel_with_script.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: Test template of a custom relationship with a configure script
diff --git a/nfvparser/toscaparser/tests/data/test_tosca_normative_type_by_shortname.yaml b/nfvparser/toscaparser/tests/data/test_tosca_normative_type_by_shortname.yaml
index c0653e7..0b6fae5 100644
--- a/nfvparser/toscaparser/tests/data/test_tosca_normative_type_by_shortname.yaml
+++ b/nfvparser/toscaparser/tests/data/test_tosca_normative_type_by_shortname.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/test_tosca_top_level_error1.yaml b/nfvparser/toscaparser/tests/data/test_tosca_top_level_error1.yaml
index d35c022..75660bb 100644
--- a/nfvparser/toscaparser/tests/data/test_tosca_top_level_error1.yaml
+++ b/nfvparser/toscaparser/tests/data/test_tosca_top_level_error1.yaml
@@ -1,2 +1,14 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
description: >
TOSCA simple profile missing version section. \ No newline at end of file
diff --git a/nfvparser/toscaparser/tests/data/test_tosca_top_level_error2.yaml b/nfvparser/toscaparser/tests/data/test_tosca_top_level_error2.yaml
index b3e80f9..4e3863a 100644
--- a/nfvparser/toscaparser/tests/data/test_tosca_top_level_error2.yaml
+++ b/nfvparser/toscaparser/tests/data/test_tosca_top_level_error2.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/topology_template/databasesubsystem.yaml b/nfvparser/toscaparser/tests/data/topology_template/databasesubsystem.yaml
index b6e9c42..b0a8166 100644
--- a/nfvparser/toscaparser/tests/data/topology_template/databasesubsystem.yaml
+++ b/nfvparser/toscaparser/tests/data/topology_template/databasesubsystem.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/topology_template/definitions.yaml b/nfvparser/toscaparser/tests/data/topology_template/definitions.yaml
index 300bb8a..eb004a9 100644
--- a/nfvparser/toscaparser/tests/data/topology_template/definitions.yaml
+++ b/nfvparser/toscaparser/tests/data/topology_template/definitions.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
node_types:
diff --git a/nfvparser/toscaparser/tests/data/topology_template/queuingsubsystem.yaml b/nfvparser/toscaparser/tests/data/topology_template/queuingsubsystem.yaml
index 578aa4a..7125a24 100644
--- a/nfvparser/toscaparser/tests/data/topology_template/queuingsubsystem.yaml
+++ b/nfvparser/toscaparser/tests/data/topology_template/queuingsubsystem.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/topology_template/system.yaml b/nfvparser/toscaparser/tests/data/topology_template/system.yaml
index f4e10ae..4fd8d78 100644
--- a/nfvparser/toscaparser/tests/data/topology_template/system.yaml
+++ b/nfvparser/toscaparser/tests/data/topology_template/system.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
imports:
diff --git a/nfvparser/toscaparser/tests/data/topology_template/transactionsubsystem.yaml b/nfvparser/toscaparser/tests/data/topology_template/transactionsubsystem.yaml
index 42e100a..01e277a 100644
--- a/nfvparser/toscaparser/tests/data/topology_template/transactionsubsystem.yaml
+++ b/nfvparser/toscaparser/tests/data/topology_template/transactionsubsystem.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/topology_template/validate/queuingsubsystem_invalid_input.yaml b/nfvparser/toscaparser/tests/data/topology_template/validate/queuingsubsystem_invalid_input.yaml
index 67ef341..657c678 100644
--- a/nfvparser/toscaparser/tests/data/topology_template/validate/queuingsubsystem_invalid_input.yaml
+++ b/nfvparser/toscaparser/tests/data/topology_template/validate/queuingsubsystem_invalid_input.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/topology_template/validate/system_invalid_input.yaml b/nfvparser/toscaparser/tests/data/topology_template/validate/system_invalid_input.yaml
index e3cdd71..6d1fd3e 100644
--- a/nfvparser/toscaparser/tests/data/topology_template/validate/system_invalid_input.yaml
+++ b/nfvparser/toscaparser/tests/data/topology_template/validate/system_invalid_input.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
imports:
diff --git a/nfvparser/toscaparser/tests/data/topology_template/validate/system_invalid_missing_output.yaml b/nfvparser/toscaparser/tests/data/topology_template/validate/system_invalid_missing_output.yaml
index 2028c38..4d3fde8 100644
--- a/nfvparser/toscaparser/tests/data/topology_template/validate/system_invalid_missing_output.yaml
+++ b/nfvparser/toscaparser/tests/data/topology_template/validate/system_invalid_missing_output.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
imports:
diff --git a/nfvparser/toscaparser/tests/data/topology_template/validate/system_invalid_unknown_output.yaml b/nfvparser/toscaparser/tests/data/topology_template/validate/system_invalid_unknown_output.yaml
index de16ca2..c35d476 100644
--- a/nfvparser/toscaparser/tests/data/topology_template/validate/system_invalid_unknown_output.yaml
+++ b/nfvparser/toscaparser/tests/data/topology_template/validate/system_invalid_unknown_output.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
imports:
diff --git a/nfvparser/toscaparser/tests/data/topology_template/validate/test_example_app_substitution_mappings.yaml b/nfvparser/toscaparser/tests/data/topology_template/validate/test_example_app_substitution_mappings.yaml
index 718022a..2c528f2 100644
--- a/nfvparser/toscaparser/tests/data/topology_template/validate/test_example_app_substitution_mappings.yaml
+++ b/nfvparser/toscaparser/tests/data/topology_template/validate/test_example_app_substitution_mappings.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/topology_template/validate/test_substitution_mappings_invalid_output.yaml b/nfvparser/toscaparser/tests/data/topology_template/validate/test_substitution_mappings_invalid_output.yaml
index ef21811..5006cce 100644
--- a/nfvparser/toscaparser/tests/data/topology_template/validate/test_substitution_mappings_invalid_output.yaml
+++ b/nfvparser/toscaparser/tests/data/topology_template/validate/test_substitution_mappings_invalid_output.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
imports:
diff --git a/nfvparser/toscaparser/tests/data/topology_template/validate/test_substitution_mappings_valid_output.yaml b/nfvparser/toscaparser/tests/data/topology_template/validate/test_substitution_mappings_valid_output.yaml
index 766ca87..194eba3 100644
--- a/nfvparser/toscaparser/tests/data/topology_template/validate/test_substitution_mappings_valid_output.yaml
+++ b/nfvparser/toscaparser/tests/data/topology_template/validate/test_substitution_mappings_valid_output.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
imports:
diff --git a/nfvparser/toscaparser/tests/data/topology_template/validate/transactionsubsystem_invalid_missing_output.yaml b/nfvparser/toscaparser/tests/data/topology_template/validate/transactionsubsystem_invalid_missing_output.yaml
index c92e5f8..9bee1de 100644
--- a/nfvparser/toscaparser/tests/data/topology_template/validate/transactionsubsystem_invalid_missing_output.yaml
+++ b/nfvparser/toscaparser/tests/data/topology_template/validate/transactionsubsystem_invalid_missing_output.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/topology_template/validate/transactionsubsystem_invalid_unknown_output.yaml b/nfvparser/toscaparser/tests/data/topology_template/validate/transactionsubsystem_invalid_unknown_output.yaml
index ffca24b..420d740 100644
--- a/nfvparser/toscaparser/tests/data/topology_template/validate/transactionsubsystem_invalid_unknown_output.yaml
+++ b/nfvparser/toscaparser/tests/data/topology_template/validate/transactionsubsystem_invalid_unknown_output.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/tosca_elk.yaml b/nfvparser/toscaparser/tests/data/tosca_elk.yaml
index 6fc1756..d6e67d6 100644
--- a/nfvparser/toscaparser/tests/data/tosca_elk.yaml
+++ b/nfvparser/toscaparser/tests/data/tosca_elk.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/tosca_helloworld.yaml b/nfvparser/toscaparser/tests/data/tosca_helloworld.yaml
index 5b913ff..aa6d6f0 100644
--- a/nfvparser/toscaparser/tests/data/tosca_helloworld.yaml
+++ b/nfvparser/toscaparser/tests/data/tosca_helloworld.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: Template for deploying a single server with predefined properties.
diff --git a/nfvparser/toscaparser/tests/data/tosca_helloworld_with_version_1_1.yaml b/nfvparser/toscaparser/tests/data/tosca_helloworld_with_version_1_1.yaml
index eeb5f7b..45416f2 100644
--- a/nfvparser/toscaparser/tests/data/tosca_helloworld_with_version_1_1.yaml
+++ b/nfvparser/toscaparser/tests/data/tosca_helloworld_with_version_1_1.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_1
description: Template for deploying a single server with predefined properties.
diff --git a/nfvparser/toscaparser/tests/data/tosca_imports_validation.yaml b/nfvparser/toscaparser/tests/data/tosca_imports_validation.yaml
index 257beb8..c63df3b 100644
--- a/nfvparser/toscaparser/tests/data/tosca_imports_validation.yaml
+++ b/nfvparser/toscaparser/tests/data/tosca_imports_validation.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: Template to test invalid imports.
diff --git a/nfvparser/toscaparser/tests/data/tosca_load_balancer.yaml b/nfvparser/toscaparser/tests/data/tosca_load_balancer.yaml
index 2fcdb48..3e153c0 100644
--- a/nfvparser/toscaparser/tests/data/tosca_load_balancer.yaml
+++ b/nfvparser/toscaparser/tests/data/tosca_load_balancer.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
# Note: this could eventually be translated to a Neutron Load Balancer
# However, in Heat/HOT the preferred way of doing this is creating an Autoscale Group
#
diff --git a/nfvparser/toscaparser/tests/data/tosca_repositories_test_definition.yaml b/nfvparser/toscaparser/tests/data/tosca_repositories_test_definition.yaml
index 0001d06..d030939 100644
--- a/nfvparser/toscaparser/tests/data/tosca_repositories_test_definition.yaml
+++ b/nfvparser/toscaparser/tests/data/tosca_repositories_test_definition.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: TOSCA simple profile with repositories validation and imports.
diff --git a/nfvparser/toscaparser/tests/data/tosca_single_instance_wordpress.yaml b/nfvparser/toscaparser/tests/data/tosca_single_instance_wordpress.yaml
index 9e686ab..3862099 100644
--- a/nfvparser/toscaparser/tests/data/tosca_single_instance_wordpress.yaml
+++ b/nfvparser/toscaparser/tests/data/tosca_single_instance_wordpress.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/tosca_single_instance_wordpress_with_local_abspath_import.yaml b/nfvparser/toscaparser/tests/data/tosca_single_instance_wordpress_with_local_abspath_import.yaml
index 6caac11..953834e 100644
--- a/nfvparser/toscaparser/tests/data/tosca_single_instance_wordpress_with_local_abspath_import.yaml
+++ b/nfvparser/toscaparser/tests/data/tosca_single_instance_wordpress_with_local_abspath_import.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/tosca_single_instance_wordpress_with_url_import.yaml b/nfvparser/toscaparser/tests/data/tosca_single_instance_wordpress_with_url_import.yaml
index e5f1580..3203ff2 100644
--- a/nfvparser/toscaparser/tests/data/tosca_single_instance_wordpress_with_url_import.yaml
+++ b/nfvparser/toscaparser/tests/data/tosca_single_instance_wordpress_with_url_import.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/tosca_test_get_operation_output.yaml b/nfvparser/toscaparser/tests/data/tosca_test_get_operation_output.yaml
index f47f33c..7d6ab94 100644
--- a/nfvparser/toscaparser/tests/data/tosca_test_get_operation_output.yaml
+++ b/nfvparser/toscaparser/tests/data/tosca_test_get_operation_output.yaml
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: TOSCA simple profile to test the GET OPERATION OUTPUT functionality