summaryrefslogtreecommitdiffstats
path: root/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data
diff options
context:
space:
mode:
Diffstat (limited to 'tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data')
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_elk.csarbin17488 -> 0 bytes
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_elk.zipbin17488 -> 0 bytes
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_hello_world.zipbin936 -> 0 bytes
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_invalid_entry_def.zipbin940 -> 0 bytes
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_metadata_not_yaml.zipbin936 -> 0 bytes
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_missing_metadata.zipbin933 -> 0 bytes
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_no_metadata_file.zipbin496 -> 0 bytes
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_not_zip.zip1
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_wordpress.zipbin5967 -> 0 bytes
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_wordpress_invalid_import_path.zipbin5971 -> 0 bytes
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_wordpress_invalid_import_url.zipbin6043 -> 0 bytes
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_wordpress_invalid_script_path.zipbin5969 -> 0 bytes
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_wordpress_invalid_script_url.zipbin6043 -> 0 bytes
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_wordpress_with_url_import_and_script.zipbin6046 -> 0 bytes
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_wrong_metadata_file.zipbin873 -> 0 bytes
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Definitions/collectd.yaml13
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Definitions/elasticsearch.yaml11
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Definitions/kibana.yaml16
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Definitions/logstash.yaml25
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Definitions/paypalpizzastore_nodejs_app.yaml29
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Definitions/rsyslog.yaml13
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Definitions/tosca_elk.yaml217
-rwxr-xr-xtosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Python/collectd/config.py25
-rwxr-xr-xtosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Python/logstash/configure_collectd.py28
-rwxr-xr-xtosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Python/logstash/configure_elasticsearch.py26
-rwxr-xr-xtosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Python/logstash/configure_rsyslog.py25
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/README.txt5
-rwxr-xr-xtosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/collectd/create.sh5
-rwxr-xr-xtosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/collectd/start.sh4
-rwxr-xr-xtosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/elasticsearch/create.sh14
-rwxr-xr-xtosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/elasticsearch/start.sh4
-rwxr-xr-xtosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/kibana/config.sh7
-rwxr-xr-xtosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/kibana/create.sh12
-rwxr-xr-xtosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/kibana/start.sh4
-rwxr-xr-xtosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/logstash/create.sh20
-rwxr-xr-xtosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/logstash/start.sh4
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/mongodb/config.sh7
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/mongodb/create.sh14
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/mongodb/create_database.sh5
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/mongodb/start.sh5
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/nodejs/config.sh28
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/nodejs/create.sh7
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/nodejs/start.sh3
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/rsyslog/config.sh30
-rwxr-xr-xtosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/rsyslog/create.sh5
-rwxr-xr-xtosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/rsyslog/start.sh4
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/TOSCA-Metadata/TOSCA.meta4
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Definitions/tosca_single_instance_wordpress.yaml109
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Definitions/wordpress.yaml19
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/README.txt22
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/MYSQLDBMS/configure.sh5
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/MYSQLDBMS/install.sh9
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/MYSQLDBMS/start.sh2
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/MYSQLDatabase/configure.sh8
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/WebServer/install.sh5
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/WebServer/start.sh2
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/WordPress/configure.sh4
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/WordPress/install.sh5
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/TOSCA-Metadata/TOSCA.meta5
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/custom_types/collectd.yaml13
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/custom_types/elasticsearch.yaml12
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/custom_types/kibana.yaml14
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/custom_types/logstash.yaml25
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/custom_types/nested_rsyslog.yaml17
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/custom_types/nested_test_wordpress.yaml23
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/custom_types/paypalpizzastore_nodejs_app.yaml29
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/custom_types/rsyslog.yaml13
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/custom_types/wordpress.yaml19
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/datatypes/custom_datatype_def.yaml48
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/datatypes/test_custom_datatypes_in_current_template.yaml65
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/datatypes/test_custom_datatypes_nested_datatype_error.yaml25
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/datatypes/test_custom_datatypes_positive.yaml24
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/datatypes/test_custom_datatypes_value_error.yaml18
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/functions/test_get_attribute_host_keyword.yaml33
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/functions/test_get_attribute_host_not_found.yaml20
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/functions/test_get_attribute_illegal_host_in_outputs.yaml17
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/functions/test_get_attribute_unknown_attribute_name.yaml28
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/functions/test_get_attribute_unknown_node_template_name.yaml28
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/functions/test_invalid_function_signature.yaml34
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/functions/test_unknown_capability_property.yaml36
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/functions/test_unknown_input_in_interface.yaml20
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/functions/test_unknown_input_in_property.yaml13
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/test_instance_nested_imports.yaml22
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/test_invalid_section_names.yaml25
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/test_invalid_template_version.yaml14
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/test_multiple_validation_errors.yaml125
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/test_no_inputs_in_template.yaml17
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/test_no_outputs_in_template.yaml15
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/test_requirements.yaml67
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/test_tosca_normative_type_by_shortname.yaml33
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/test_tosca_top_level_error1.yaml31
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/test_tosca_top_level_error2.yaml33
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/topology_template/definitions.yaml54
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/topology_template/subsystem.yaml85
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/topology_template/system.yaml51
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/tosca_elk.yaml217
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/tosca_helloworld.yaml23
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/tosca_single_instance_wordpress.yaml121
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/tosca_single_instance_wordpress_with_local_abspath_import.yaml122
-rw-r--r--tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/tosca_single_instance_wordpress_with_url_import.yaml120
100 files changed, 0 insertions, 2564 deletions
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_elk.csar b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_elk.csar
deleted file mode 100644
index 5fae801..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_elk.csar
+++ /dev/null
Binary files differ
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_elk.zip b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_elk.zip
deleted file mode 100644
index 5fae801..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_elk.zip
+++ /dev/null
Binary files differ
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_hello_world.zip b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_hello_world.zip
deleted file mode 100644
index 43ffbbc..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_hello_world.zip
+++ /dev/null
Binary files differ
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_invalid_entry_def.zip b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_invalid_entry_def.zip
deleted file mode 100644
index 382f790..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_invalid_entry_def.zip
+++ /dev/null
Binary files differ
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_metadata_not_yaml.zip b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_metadata_not_yaml.zip
deleted file mode 100644
index 3e6120b..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_metadata_not_yaml.zip
+++ /dev/null
Binary files differ
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_missing_metadata.zip b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_missing_metadata.zip
deleted file mode 100644
index 5ec7a99..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_missing_metadata.zip
+++ /dev/null
Binary files differ
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_no_metadata_file.zip b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_no_metadata_file.zip
deleted file mode 100644
index b0df9b9..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_no_metadata_file.zip
+++ /dev/null
Binary files differ
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_not_zip.zip b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_not_zip.zip
deleted file mode 100644
index 43b7f5f..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_not_zip.zip
+++ /dev/null
@@ -1 +0,0 @@
-This is an invalid CSAR file. \ No newline at end of file
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_wordpress.zip b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_wordpress.zip
deleted file mode 100644
index 5df7b48..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_wordpress.zip
+++ /dev/null
Binary files differ
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_wordpress_invalid_import_path.zip b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_wordpress_invalid_import_path.zip
deleted file mode 100644
index d644259..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_wordpress_invalid_import_path.zip
+++ /dev/null
Binary files differ
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_wordpress_invalid_import_url.zip b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_wordpress_invalid_import_url.zip
deleted file mode 100644
index c7a260f..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_wordpress_invalid_import_url.zip
+++ /dev/null
Binary files differ
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_wordpress_invalid_script_path.zip b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_wordpress_invalid_script_path.zip
deleted file mode 100644
index 5e4f9e0..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_wordpress_invalid_script_path.zip
+++ /dev/null
Binary files differ
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_wordpress_invalid_script_url.zip b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_wordpress_invalid_script_url.zip
deleted file mode 100644
index b4133b6..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_wordpress_invalid_script_url.zip
+++ /dev/null
Binary files differ
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_wordpress_with_url_import_and_script.zip b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_wordpress_with_url_import_and_script.zip
deleted file mode 100644
index 5dedfcd..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_wordpress_with_url_import_and_script.zip
+++ /dev/null
Binary files differ
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_wrong_metadata_file.zip b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_wrong_metadata_file.zip
deleted file mode 100644
index 85d660a..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/csar_wrong_metadata_file.zip
+++ /dev/null
Binary files differ
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Definitions/collectd.yaml b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Definitions/collectd.yaml
deleted file mode 100644
index 1ac0935..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Definitions/collectd.yaml
+++ /dev/null
@@ -1,13 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0
-
-description: >
- collectd is a daemon which gathers statistics about the system it is running on.
-
-node_types:
- tosca.nodes.SoftwareComponent.Collectd:
- derived_from: tosca.nodes.SoftwareComponent
- requirements:
- - log_endpoint:
- capability: tosca.capabilities.Endpoint
- node: tosca.nodes.SoftwareComponent.Logstash
- relationship: tosca.relationships.ConnectsTo \ No newline at end of file
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Definitions/elasticsearch.yaml b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Definitions/elasticsearch.yaml
deleted file mode 100644
index 4a1770f..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Definitions/elasticsearch.yaml
+++ /dev/null
@@ -1,11 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0
-
-description: >
- Elasticsearch is an open-source search engine built on top of Apache Lucene, a full-text search-engine library.
-
-node_types:
- tosca.nodes.SoftwareComponent.Elasticsearch:
- derived_from: tosca.nodes.SoftwareComponent
- capabilities:
- search_endpoint:
- type: tosca.capabilities.Endpoint
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Definitions/kibana.yaml b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Definitions/kibana.yaml
deleted file mode 100644
index 3a4351c..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Definitions/kibana.yaml
+++ /dev/null
@@ -1,16 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0
-
-description: >
- Kibana is an open source analytics and visualization platform designed to work with Elasticsearch.
- You use Kibana to search, view, and interact with data stored in Elasticsearch.
-
-node_types:
- tosca.nodes.SoftwareComponent.Kibana:
- derived_from: tosca.nodes.SoftwareComponent
- requirements:
- - search_endpoint:
- capability: tosca.capabilities.Endpoint
- node: tosca.nodes.SoftwareComponent.Elasticsearch
- relationship: tosca.relationships.ConnectsTo
-
-
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Definitions/logstash.yaml b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Definitions/logstash.yaml
deleted file mode 100644
index 8495954..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Definitions/logstash.yaml
+++ /dev/null
@@ -1,25 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0
-
-description: >
- Logstash is a tool for receiving, processing and outputting logs. All kinds of logs. System logs, webserver logs,
- error logs, application logs, and just about anything you can throw at it.
-
-node_types:
- tosca.nodes.SoftwareComponent.Logstash:
- derived_from: tosca.nodes.SoftwareComponent
- requirements:
- - search_endpoint:
- capability: tosca.capabilities.Endpoint
- node: tosca.nodes.SoftwareComponent.Elasticsearch
- relationship:
- type: tosca.relationships.ConnectsTo
- interfaces:
- Configure:
- pre_configure_source:
- inputs:
- elasticsearch_ip:
- type: string
- capabilities:
- log_endpoint:
- type: tosca.capabilities.Endpoint
-
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Definitions/paypalpizzastore_nodejs_app.yaml b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Definitions/paypalpizzastore_nodejs_app.yaml
deleted file mode 100644
index d62c4c1..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Definitions/paypalpizzastore_nodejs_app.yaml
+++ /dev/null
@@ -1,29 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0
-
-description: >
- Pizza store app that allows you to explore the features provided by PayPal's REST APIs.
- More detail can be found at https://github.com/paypal/rest-api-sample-app-nodejs/
-
-node_types:
- tosca.nodes.WebApplication.PayPalPizzaStore:
- derived_from: tosca.nodes.WebApplication
- properties:
- github_url:
- required: no
- type: string
- description: location of the application on the github.
- default: https://github.com/sample.git
- requirements:
- #WebApplication inherits Computer, so host implied.
- - database_connection:
- capability: tosca.capabilities.Endpoint.Database
- node: tosca.nodes.Database
- relationship: tosca.relationships.ConnectsTo
- interfaces:
- Standard:
- configure:
- inputs:
- github_url:
- type: string
- mongodb_ip:
- type: string
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Definitions/rsyslog.yaml b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Definitions/rsyslog.yaml
deleted file mode 100644
index 4614ee7..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Definitions/rsyslog.yaml
+++ /dev/null
@@ -1,13 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0
-
-description: >
- RSYSLOG is the Rocket-fast SYStem for LOG processing.
-
-node_types:
- tosca.nodes.SoftwareComponent.Rsyslog:
- derived_from: tosca.nodes.SoftwareComponent
- requirements:
- - log_endpoint:
- capability: tosca.capabilities.Endpoint
- node: tosca.nodes.SoftwareComponent.Logstash
- relationship: tosca.relationships.ConnectsTo
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Definitions/tosca_elk.yaml b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Definitions/tosca_elk.yaml
deleted file mode 100644
index 932f131..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Definitions/tosca_elk.yaml
+++ /dev/null
@@ -1,217 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0
-
-description: >
- 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 rsyslog and collectd are
- installed on a nodejs server.
-
-imports:
- - paypalpizzastore_nodejs_app.yaml
- - elasticsearch.yaml
- - logstash.yaml
- - kibana.yaml
- - collectd.yaml
- - rsyslog.yaml
-
-dsl_definitions:
- host_capabilities: &host_capabilities
- # container properties (flavor)
- disk_size: 10 GB
- num_cpus: { get_input: my_cpus }
- mem_size: 4096 MB
- os_capabilities: &os_capabilities
- architecture: x86_64
- type: Linux
- distribution: Ubuntu
- version: 14.04
-
-topology_template:
- inputs:
- my_cpus:
- type: integer
- description: Number of CPUs for the server.
- constraints:
- - valid_values: [ 1, 2, 4, 8 ]
- github_url:
- type: string
- description: The URL to download nodejs.
- default: http://github.com/paypal/rest-api-sample-app-nodejs.git
-
- node_templates:
- paypal_pizzastore:
- type: tosca.nodes.WebApplication.PayPalPizzaStore
- properties:
- github_url: { get_input: github_url }
- requirements:
- - host: nodejs
- - database_connection: mongo_db
- interfaces:
- Standard:
- configure:
- implementation: ../Scripts/nodejs/config.sh
- inputs:
- github_url: { get_property: [ SELF, github_url ] }
- mongodb_ip: { get_attribute: [mongo_server, private_address] }
- start: ../Scripts/nodejs/start.sh
- nodejs:
- type: tosca.nodes.WebServer
- requirements:
- - host:
- node: app_server
- interfaces:
- Standard:
- create: ../Scripts/nodejs/create.sh
- mongo_db:
- type: tosca.nodes.Database
- requirements:
- - host: mongo_dbms
- interfaces:
- Standard:
- create: ../Scripts/mongodb/create_database.sh
- mongo_dbms:
- type: tosca.nodes.DBMS
- requirements:
- - host: mongo_server
- interfaces:
- Standard:
- create: ../Scripts/mongodb/create.sh
- configure:
- implementation: ../Scripts/mongodb/config.sh
- inputs:
- mongodb_ip: { get_attribute: [mongo_server, private_address] }
- start: ../Scripts/mongodb/start.sh
- elasticsearch:
- type: tosca.nodes.SoftwareComponent.Elasticsearch
- requirements:
- - host: elasticsearch_server
- interfaces:
- Standard:
- create: ../Scripts/elasticsearch/create.sh
- start: ../Scripts/elasticsearch/start.sh
- logstash:
- type: tosca.nodes.SoftwareComponent.Logstash
- requirements:
- - host: logstash_server
- - search_endpoint:
- node: elasticsearch
- capability: search_endpoint
- relationship:
- type: tosca.relationships.ConnectsTo
- interfaces:
- Configure:
- pre_configure_source:
- implementation: ../Python/logstash/configure_elasticsearch.py
- inputs:
- elasticsearch_ip: { get_attribute: [elasticsearch_server, private_address] }
- interfaces:
- Standard:
- create: ../Scripts/logstash/create.sh
- start: ../Scripts/logstash/start.sh
- kibana:
- type: tosca.nodes.SoftwareComponent.Kibana
- requirements:
- - host: kibana_server
- - search_endpoint: elasticsearch
- interfaces:
- Standard:
- create: ../Scripts/kibana/create.sh
- configure:
- implementation: ../Scripts/kibana/config.sh
- inputs:
- elasticsearch_ip: { get_attribute: [elasticsearch_server, private_address] }
- kibana_ip: { get_attribute: [kibana_server, private_address] }
- start: ../Scripts/kibana/start.sh
- app_collectd:
- type: tosca.nodes.SoftwareComponent.Collectd
- requirements:
- - host: app_server
- - log_endpoint:
- node: logstash
- capability: log_endpoint
- relationship:
- type: tosca.relationships.ConnectsTo
- interfaces:
- Configure:
- pre_configure_target:
- implementation: ../Python/logstash/configure_collectd.py
- interfaces:
- Standard:
- create: ../Scripts/collectd/create.sh
- configure:
- implementation: ../Python/collectd/config.py
- inputs:
- logstash_ip: { get_attribute: [logstash_server, private_address] }
- start: ../Scripts/collectd/start.sh
- app_rsyslog:
- type: tosca.nodes.SoftwareComponent.Rsyslog
- requirements:
- - host: app_server
- - log_endpoint:
- node: logstash
- capability: log_endpoint
- relationship:
- type: tosca.relationships.ConnectsTo
- interfaces:
- Configure:
- pre_configure_target:
- implementation: ../Python/logstash/configure_rsyslog.py
- interfaces:
- Standard:
- create: ../Scripts/rsyslog/create.sh
- configure:
- implementation: ../Scripts/rsyslog/config.sh
- inputs:
- logstash_ip: { get_attribute: [logstash_server, private_address] }
- start: ../Scripts/rsyslog/start.sh
- app_server:
- type: tosca.nodes.Compute
- capabilities:
- host:
- properties: *host_capabilities
- os:
- properties: *os_capabilities
- mongo_server:
- type: tosca.nodes.Compute
- capabilities:
- host:
- properties: *host_capabilities
- os:
- properties: *os_capabilities
- elasticsearch_server:
- type: tosca.nodes.Compute
- capabilities:
- host:
- properties: *host_capabilities
- os:
- properties: *os_capabilities
- logstash_server:
- type: tosca.nodes.Compute
- capabilities:
- host:
- properties: *host_capabilities
- os:
- properties: *os_capabilities
- kibana_server:
- type: tosca.nodes.Compute
- capabilities:
- host:
- properties: *host_capabilities
- os:
- properties: *os_capabilities
-
- outputs:
- nodejs_url:
- description: URL for the nodejs server, http://<IP>:3000
- value: { get_attribute: [ app_server, private_address ] }
- mongodb_url:
- description: URL for the mongodb server.
- value: { get_attribute: [ mongo_server, private_address ] }
- elasticsearch_url:
- description: URL for the elasticsearch server.
- value: { get_attribute: [ elasticsearch_server, private_address ] }
- logstash_url:
- description: URL for the logstash server.
- value: { get_attribute: [ logstash_server, private_address ] }
- kibana_url:
- description: URL for the kibana server.
- value: { get_attribute: [ kibana_server, private_address ] }
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Python/collectd/config.py b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Python/collectd/config.py
deleted file mode 100755
index 686bbd1..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Python/collectd/config.py
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/usr/bin/python
-
-# 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 collectd to send metric data to the
-# logstash server port 25826
-# The environment variable logstash_ip is expected to be set up
-import os
-with open("/etc/collectd/collectd.conf.d/tosca_elk.conf", "w") as fh:
- fh.write("""
- LoadPlugin network
- <Plugin network>
- Server "%s" "25826"
- </Plugin>
- """ % (os.environ['logstash_ip']))
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Python/logstash/configure_collectd.py b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Python/logstash/configure_collectd.py
deleted file mode 100755
index 18fdacf..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Python/logstash/configure_collectd.py
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/usr/bin/python
-
-# 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 logstash input using the udp protocol on
-# port 25826. This is intended to receive data from collectd from
-# any source
-with open("/etc/logstash/conf.d/collectd.conf", "w") as fh:
- fh.write("""
- input {
- udp {
- port => 25826 # 25826 is the default for collectd
- buffer_size => 1452 # 1452 is the default for collectd
- codec => collectd { }
- tags => ["metrics"]
- type => "collectd"
- }
- }""")
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Python/logstash/configure_elasticsearch.py b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Python/logstash/configure_elasticsearch.py
deleted file mode 100755
index 2e5389c..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Python/logstash/configure_elasticsearch.py
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/usr/bin/python
-
-# 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 logstash output to forward to elasticsearch
-# The environment variable elasticsearch_ip is expected to be set up
-import os
-with open("/etc/logstash/conf.d/elasticsearch.conf", 'w') as fh:
- fh.write("""
- output {
- elasticsearch {
- action => index
- host => "%s"
- protocol => "http"
- }
- }""" % (os.environ['elasticsearch_ip']))
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Python/logstash/configure_rsyslog.py b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Python/logstash/configure_rsyslog.py
deleted file mode 100755
index fc610c2..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Python/logstash/configure_rsyslog.py
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/usr/bin/python
-
-# 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 logstash input using the RELP protocol on
-# port 2514 This is intended to receive logs from rsyslog from
-# any source
-with open("/etc/logstash/conf.d/rsyslog.conf", "w") as fh:
- fh.write("""
- input {
- relp {
- port => 2514
- tags => ["logs"]
- }
- }""")
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/README.txt b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/README.txt
deleted file mode 100644
index 382c9b0..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/README.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-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.
-
-Entry information for processing through an orchestrator is contained in file TOSCA-Metadata/TOSCA.meta. This file provides high-level information such as CSAR version or creator of the CSAR. Furthermore, it provides pointers to the entry template under 'Entry-Definitions' key. The entry template itself may contain pointers to one or more files that are used to define TOSCA base type, unless provided by orchestrator as built-in TOSCA basetypes, and other non-normative types. These are typically provided under 'imports' section in the entry template file. Those type definitions will be read and processed by orchestrator or TOSCA parser to create an internal graph showing dependencies and relationships between various TOSCA types. The entry template may have references to various artifacts required for deployment and will be processed accordingly.
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/collectd/create.sh b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/collectd/create.sh
deleted file mode 100755
index a483b88..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/collectd/create.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/bash
-# This script install collectd for monitoring data
-
-apt-get update
-apt-get install -y collectd
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/collectd/start.sh b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/collectd/start.sh
deleted file mode 100755
index 7e8e033..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/collectd/start.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/bash
-# This script starts collectd as a service in init.d
-service collectd stop
-service collectd start
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/elasticsearch/create.sh b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/elasticsearch/create.sh
deleted file mode 100755
index c34126c..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/elasticsearch/create.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/bash
-# This script installs java and elasticsearch
-
-apt-get update
-apt-get install -y openjdk-7-jre-headless
-
-wget -qO - https://packages.elasticsearch.org/GPG-KEY-elasticsearch | apt-key add -
-echo "deb http://packages.elasticsearch.org/elasticsearch/1.5/debian stable main" | tee -a /etc/apt/sources.list
-
-apt-get update
-apt-get install -y elasticsearch
-
-# set up to run as service
-update-rc.d elasticsearch defaults 95 10
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/elasticsearch/start.sh b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/elasticsearch/start.sh
deleted file mode 100755
index bbc0347..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/elasticsearch/start.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/bash
-# This script starts elasticsearch as a service in init.d
-service elasticsearch stop
-service elasticsearch start
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/kibana/config.sh b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/kibana/config.sh
deleted file mode 100755
index f28215a..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/kibana/config.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/bash
-# 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
-# to be set up.
-sed -i 's/localhost/'$elasticsearch_ip'/' /opt/kibana/config/kibana.yml
-sed -i 's/0.0.0.0/'$kibana_ip'/' /opt/kibana/config/kibana.yml
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/kibana/create.sh b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/kibana/create.sh
deleted file mode 100755
index 41914b1..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/kibana/create.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/bash
-# 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
-tar xzvf kibana-4.1.0-linux-x64.tar.gz
-mv kibana-4.1.0-linux-x64 kibana
-
-# set up to run as service
-cd /etc/init.d
-wget https://gist.githubusercontent.com/thisismitch/8b15ac909aed214ad04a/raw/bce61d85643c2dcdfbc2728c55a41dab444dca20/kibana4
-chmod +x kibana4
-update-rc.d kibana4 defaults 96 9
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/kibana/start.sh b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/kibana/start.sh
deleted file mode 100755
index 5149bb3..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/kibana/start.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/bash
-# This script starts kibana as a service in init.d
-service kibana4 stop
-service kibana4 start
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/logstash/create.sh b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/logstash/create.sh
deleted file mode 100755
index 77cc8fd..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/logstash/create.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/bash
-# This script installs java, logstash and the contrib package for logstash
-# install java as prereq
-
-apt-get update
-apt-get install -y openjdk-7-jre-headless
-mkdir /etc/logstash
-
-# install by apt-get from repo
-wget -O - http://packages.elasticsearch.org/GPG-KEY-elasticsearch | apt-key add -
-echo "deb http://packages.elasticsearch.org/logstash/1.4/debian stable main" | tee -a /etc/apt/sources.list
-
-apt-get update
-apt-get install -y logstash
-
-# install contrib to get the relp plugin
-/opt/logstash/bin/plugin install contrib
-
-# set up to run as service
-update-rc.d logstash defaults 95 10
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/logstash/start.sh b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/logstash/start.sh
deleted file mode 100755
index a73cf61..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/logstash/start.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/bash
-# Run logstash as service in init.d
-service logstash stop
-service logstash start
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/mongodb/config.sh b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/mongodb/config.sh
deleted file mode 100644
index 78f484e..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/mongodb/config.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/bash
-# 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
-# bind_ip = 127.0.0.1 -> bind_ip = <IP for Mongo server>
-# The environment variable mongodb_ip is expected to be set up
-sed -i "s/= 127.0.0.1/= $mongodb_ip,127.0.0.1/" /etc/mongod.conf
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/mongodb/create.sh b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/mongodb/create.sh
deleted file mode 100644
index d84c275..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/mongodb/create.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/bash
-# This script installs mongodb
-
-apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
-echo "deb http://repo.mongodb.org/apt/ubuntu "$(lsb_release -sc)"/mongodb-org/3.0 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-3.0.list
-
-apt-get update
-apt-get install -y mongodb-org
-
-#Wait for mongodb initialization
-while [[ ! -d "/var/lib/mongodb/_tmp" ]]; do
- echo "Waiting for mongodb initialization ..."
- sleep 5
-done
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/mongodb/create_database.sh b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/mongodb/create_database.sh
deleted file mode 100644
index 16f1358..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/mongodb/create_database.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/bash
-echo "conn = new Mongo();" > setup.js
-echo "db = conn.getDB('paypal_pizza');" >> setup.js
-echo "db.about.insert({'name': 'PayPal Pizza Store'});" >> setup.js
-mongo setup.js
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/mongodb/start.sh b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/mongodb/start.sh
deleted file mode 100644
index ac200a5..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/mongodb/start.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/bash
-# This script starts mongodb
-service mongod stop
-rm /var/lib/mongodb/mongod.lock
-service mongod start
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/nodejs/config.sh b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/nodejs/config.sh
deleted file mode 100644
index 1e149a2..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/nodejs/config.sh
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/bash
-# 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
-export app_dir=/opt/app
-git clone $github_url /opt/app
-if [ -f /opt/app/package.json ]; then
- cd /opt/app/ && npm install
- sed -i "s/localhost/$mongodb_ip/" config.json
-fi
-
-cat > /etc/init/nodeapp.conf <<EOS
-description "node.js app"
-
-start on (net-device-up
- and local-filesystems
- and runlevel [2345])
-stop on runlevel [!2345]
-
-expect fork
-respawn
-
-script
- export HOME=/
- export NODE_PATH=/usr/lib/node
- exec /usr/bin/node ${app_dir}/app.js >> /var/log/nodeapp.log 2>&1 &
-end script
-EOS
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/nodejs/create.sh b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/nodejs/create.sh
deleted file mode 100644
index 04fd6c6..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/nodejs/create.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/bash
-# This script installs nodejs and the prereq
-
-add-apt-repository ppa:chris-lea/node.js
-
-apt-get update
-apt-get install -y nodejs build-essential
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/nodejs/start.sh b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/nodejs/start.sh
deleted file mode 100644
index 6939cb7..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/nodejs/start.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/bash
-# This script starts the nodejs application
-start nodeapp
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/rsyslog/config.sh b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/rsyslog/config.sh
deleted file mode 100644
index 630767d..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/rsyslog/config.sh
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/bash
-
-# This script configures the output for rsyslogd to send logs to the
-# logstash server port 2514 using the RELP protocol
-# The environment variable logstash_ip is expected to be set up
-echo "module(load=\"omrelp\")
-action(type=\"omrelp\" target=\"$logstash_ip\" port=\"2514\")" > /etc/rsyslog.d/tosca_elk.conf
-
-# Remove the /dev/xconsole configuration as xconsole
-# is not available by default
-l=`awk '/=warn.*\|.*\/dev\/xconsole/{print NR - 1}' /etc/rsyslog.d/50-default.conf`
-if [ ! -z $l ]; then
- l=`expr $l + 1`
- line=`cat /etc/rsyslog.d/50-default.conf | head -n $l | tail -1`
- if [[ ! $line == \#* ]]; then
- l0=`expr $l - 3`
- sed -i -r -e "${l0},${l}s/^.{0}/&#/" /etc/rsyslog.d/50-default.conf
- fi
-fi
-
-# Enable nodejs logs for rsyslog
-if ! grep -q nodeapp "/etc/rsyslog.conf"; then
- sed -i 's/\$PrivDropToGroup\ syslog/\$PrivDropToGroup adm/' /etc/rsyslog.conf
- echo "\$ModLoad imfile.so
-\$InputFileName /var/log/nodeapp.log
-\$InputFileTag paypal_pizza:
-\$InputFileStateFile stat-nodeapp
-\$InputRunFileMonitor
-\$InputFilePollInterval 1" >> /etc/rsyslog.conf
-fi
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/rsyslog/create.sh b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/rsyslog/create.sh
deleted file mode 100755
index affdd6e..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/rsyslog/create.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/bash
-# This script installs rsyslog and the library for RELP
-
-apt-get update
-apt-get install -y rsyslog rsyslog-relp
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/rsyslog/start.sh b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/rsyslog/start.sh
deleted file mode 100755
index 3de82d1..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/Scripts/rsyslog/start.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/bash
-# This script starts rsyslogd as a service in init.d
-service rsyslog stop
-service rsyslog start
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/TOSCA-Metadata/TOSCA.meta b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/TOSCA-Metadata/TOSCA.meta
deleted file mode 100644
index feb3d4f..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_elk/TOSCA-Metadata/TOSCA.meta
+++ /dev/null
@@ -1,4 +0,0 @@
-TOSCA-Meta-File-Version: 1.0
-CSAR-Version: 1.1
-Created-By: OASIS TOSCA TC
-Entry-Definitions: Definitions/tosca_elk.yaml \ No newline at end of file
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Definitions/tosca_single_instance_wordpress.yaml b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Definitions/tosca_single_instance_wordpress.yaml
deleted file mode 100644
index 1dd195a..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Definitions/tosca_single_instance_wordpress.yaml
+++ /dev/null
@@ -1,109 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0
-
-description: >
- TOSCA simple profile with wordpress, web server and mysql on the same server.
-
-imports:
- - wordpress.yaml
-
-topology_template:
- inputs:
- cpus:
- type: integer
- description: Number of CPUs for the server.
- constraints:
- - valid_values: [ 1, 2, 4, 8 ]
- db_name:
- type: string
- description: The name of the database.
- db_user:
- type: string
- description: The user name of the DB user.
- db_pwd:
- type: string
- description: The WordPress database admin account password.
- db_root_pwd:
- type: string
- description: Root password for MySQL.
- db_port:
- type: PortDef
- description: Port for the MySQL database.
-
- node_templates:
- wordpress:
- type: tosca.nodes.WebApplication.WordPress
- requirements:
- - host: webserver
- - database_endpoint: mysql_database
- interfaces:
- Standard:
- create: ../Scripts/WordPress/install.sh
- configure:
- implementation: ../Scripts/WordPress/configure.sh
- inputs:
- wp_db_name: { get_property: [ mysql_database, name ] }
- wp_db_user: { get_property: [ mysql_database, user ] }
- wp_db_password: { get_property: [ mysql_database, password ] }
-
- mysql_database:
- type: tosca.nodes.Database
- properties:
- name: { get_input: db_name }
- user: { get_input: db_user }
- password: { get_input: db_pwd }
- requirements:
- - host: mysql_dbms
- interfaces:
- Standard:
- configure:
- implementation: ../Scripts/MYSQLDatabase/configure.sh
- inputs:
- db_name: { get_property: [ SELF, name ] }
- db_user: { get_property: [ SELF, user ] }
- db_password: { get_property: [ SELF, password ] }
- db_root_password: { get_property: [ mysql_dbms, root_password ] }
-
- mysql_dbms:
- type: tosca.nodes.DBMS
- properties:
- root_password: { get_input: db_root_pwd }
- port: { get_input: db_port }
- requirements:
- - host: server
- interfaces:
- Standard:
- create: ../Scripts/MYSQLDBMS/install.sh
- start: ../Scripts/MYSQLDBMS/start.sh
- configure:
- implementation: ../Scripts/MYSQLDBMS/configure.sh
- inputs:
- root_password: { get_property: [ mysql_dbms, root_password ] }
-
- webserver:
- type: tosca.nodes.WebServer
- requirements:
- - host: server
- interfaces:
- Standard:
- create: ../Scripts/WebServer/install.sh
- start: ../Scripts/WebServer/start.sh
-
- server:
- type: tosca.nodes.Compute
- capabilities:
- host:
- properties:
- disk_size: 10 GB
- num_cpus: { get_input: cpus }
- mem_size: 4096 MB
- os:
- properties:
- architecture: x86_64
- type: Linux
- distribution: Fedora
- version: 18.0
-
- outputs:
- website_url:
- description: IP address for Wordpress wiki.
- value: { get_attribute: [server, private_address] }
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Definitions/wordpress.yaml b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Definitions/wordpress.yaml
deleted file mode 100644
index 5899ed9..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Definitions/wordpress.yaml
+++ /dev/null
@@ -1,19 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0
-
-node_types:
- tosca.nodes.WebApplication.WordPress:
- derived_from: tosca.nodes.WebApplication
- requirements:
- - database_endpoint:
- capability: tosca.capabilities.Endpoint.Database
- node: tosca.nodes.Database
- relationship: tosca.relationships.ConnectsTo
- interfaces:
- Standard:
- inputs:
- wp_db_name:
- type: string
- wp_db_user:
- type: string
- wp_db_password:
- type: string
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/README.txt b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/README.txt
deleted file mode 100644
index e882ff6..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/README.txt
+++ /dev/null
@@ -1,22 +0,0 @@
-README:
-
-This CSAR contains all definitions that are required for deploying WordPress
-and MySQL on a single compute instance.
-
-Entry information for processing through an orchestrator is contained in file
-TOSCA-Metadata/TOSCA.meta. This file provides high-level information such as
-CSAR version or creator of the CSAR. Furthermore, it provides pointers to the
-various TOSCA definitions files that contain the real details.
-The entry 'Entry-Definitions' points to the definitions file which holds the
-service template for the workload.
-'Entry-Definitions' is optional. An orchestrator can also process the contents
-like this:
-1) Read in and process each definitions file.
-2) For each definitions file:
- 2.1) Read in all * type definitions (node types, capability types, etc.) and
- store them in an internal map
-3) Verify and build dependencies (e.g. inheritance) between all type definitions
- previously read in. Orchestrator built-in types (e.g. TOSCA base types) are
- also considered in this step.
-4) Process the actual service template (the file with a node_templates section).
- Validate using previously obtained type information.
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/MYSQLDBMS/configure.sh b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/MYSQLDBMS/configure.sh
deleted file mode 100644
index d4ef6b4..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/MYSQLDBMS/configure.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-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
-/etc/init.d/mysql start \ No newline at end of file
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/MYSQLDBMS/install.sh b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/MYSQLDBMS/install.sh
deleted file mode 100644
index 38628b9..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/MYSQLDBMS/install.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/bash
-#This script installs mysql server
-
-apt-get update
-
-debconf-set-selections <<< "mysql-server mysql-server/root_password password $db_root_password"
-debconf-set-selections <<< "mysql-server mysql-server/root_password_again password $db_root_password"
-
-apt-get -y install --fix-missing mysql-server \ No newline at end of file
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/MYSQLDBMS/start.sh b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/MYSQLDBMS/start.sh
deleted file mode 100644
index 3378670..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/MYSQLDBMS/start.sh
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-/etc/init.d/mysql start \ No newline at end of file
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/MYSQLDatabase/configure.sh b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/MYSQLDatabase/configure.sh
deleted file mode 100644
index 092136a..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/MYSQLDatabase/configure.sh
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-cat << EOF | mysql -u root --password=$db_root_password
-CREATE DATABASE $db_name;
-GRANT ALL PRIVILEGES ON $db_name.* TO "$db_user"@"localhost"
-IDENTIFIED BY "$db_password";
-FLUSH PRIVILEGES;
-EXIT
-EOF \ No newline at end of file
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/WebServer/install.sh b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/WebServer/install.sh
deleted file mode 100644
index 4ca9b4e..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/WebServer/install.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-#This script installs apache web server
-
-apt-get update
-apt-get install -y apache2 \ No newline at end of file
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/WebServer/start.sh b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/WebServer/start.sh
deleted file mode 100644
index e962ca5..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/WebServer/start.sh
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-service apache2 start \ No newline at end of file
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/WordPress/configure.sh b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/WordPress/configure.sh
deleted file mode 100644
index 5598b4f..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/WordPress/configure.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-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/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/WordPress/install.sh b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/WordPress/install.sh
deleted file mode 100644
index 1320443..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/Scripts/WordPress/install.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-#This script installs wordpress
-
-apt-get update
-apt-get install -y wordpress \ No newline at end of file
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/TOSCA-Metadata/TOSCA.meta b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/TOSCA-Metadata/TOSCA.meta
deleted file mode 100644
index 5208113..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/CSAR/tosca_single_instance_wordpress/TOSCA-Metadata/TOSCA.meta
+++ /dev/null
@@ -1,5 +0,0 @@
-TOSCA-Meta-File-Version: 1.0
-CSAR-Version: 1.1
-Created-By: OASIS TOSCA TC
-Entry-Definitions: Definitions/tosca_single_instance_wordpress.yaml
-Content-Type: application/vnd.oasis.tosca.definitions.yaml
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/custom_types/collectd.yaml b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/custom_types/collectd.yaml
deleted file mode 100644
index 1ac0935..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/custom_types/collectd.yaml
+++ /dev/null
@@ -1,13 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0
-
-description: >
- collectd is a daemon which gathers statistics about the system it is running on.
-
-node_types:
- tosca.nodes.SoftwareComponent.Collectd:
- derived_from: tosca.nodes.SoftwareComponent
- requirements:
- - log_endpoint:
- capability: tosca.capabilities.Endpoint
- node: tosca.nodes.SoftwareComponent.Logstash
- relationship: tosca.relationships.ConnectsTo \ No newline at end of file
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/custom_types/elasticsearch.yaml b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/custom_types/elasticsearch.yaml
deleted file mode 100644
index b140a32..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/custom_types/elasticsearch.yaml
+++ /dev/null
@@ -1,12 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0
-
-description: >
- Elasticsearch is an open-source search engine built on top of Apache Lucene,
- a full-text search-engine library.
-
-node_types:
- tosca.nodes.SoftwareComponent.Elasticsearch:
- derived_from: tosca.nodes.SoftwareComponent
- capabilities:
- search_endpoint:
- type: tosca.capabilities.Endpoint
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/custom_types/kibana.yaml b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/custom_types/kibana.yaml
deleted file mode 100644
index 5701e69..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/custom_types/kibana.yaml
+++ /dev/null
@@ -1,14 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0
-
-description: >
- Kibana is an open source analytics and visualization platform designed to work with Elasticsearch.
- You use Kibana to search, view, and interact with data stored in Elasticsearch.
-
-node_types:
- tosca.nodes.SoftwareComponent.Kibana:
- derived_from: tosca.nodes.SoftwareComponent
- requirements:
- - search_endpoint:
- capability: tosca.capabilities.Endpoint
- node: tosca.nodes.SoftwareComponent.Elasticsearch
- relationship: tosca.relationships.ConnectsTo
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/custom_types/logstash.yaml b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/custom_types/logstash.yaml
deleted file mode 100644
index cf60521..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/custom_types/logstash.yaml
+++ /dev/null
@@ -1,25 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0
-
-description: >
- Logstash is a tool for receiving, processing and outputting logs. All kinds
- of logs. System logs, webserver logs, error logs, application logs, and just
- about anything you can throw at it.
-
-node_types:
- tosca.nodes.SoftwareComponent.Logstash:
- derived_from: tosca.nodes.SoftwareComponent
- requirements:
- - search_endpoint:
- capability: tosca.capabilities.Endpoint
- node: tosca.nodes.SoftwareComponent.Elasticsearch
- relationship:
- type: tosca.relationships.ConnectsTo
- interfaces:
- Configure:
- pre_configure_source:
- inputs:
- elasticsearch_ip:
- type: string
- capabilities:
- log_endpoint:
- type: tosca.capabilities.Endpoint
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/custom_types/nested_rsyslog.yaml b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/custom_types/nested_rsyslog.yaml
deleted file mode 100644
index 622acab..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/custom_types/nested_rsyslog.yaml
+++ /dev/null
@@ -1,17 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0
-
-description: >
- RSYSLOG is the Rocket-fast SYStem for LOG processing.
-
-imports:
- - test_import:
- file: custom_types/logstash.yaml
-
-node_types:
- tosca.nodes.SoftwareComponent.Rsyslog:
- derived_from: tosca.nodes.SoftwareComponent
- requirements:
- - log_endpoint:
- capability: tosca.capabilities.Endpoint
- node: tosca.nodes.SoftwareComponent.Logstash
- relationship: tosca.relationships.ConnectsTo
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/custom_types/nested_test_wordpress.yaml b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/custom_types/nested_test_wordpress.yaml
deleted file mode 100644
index 294bcc9..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/custom_types/nested_test_wordpress.yaml
+++ /dev/null
@@ -1,23 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0
-imports:
- - rsyslog: custom_types/nested_rsyslog.yaml
-node_types:
- tosca.nodes.SoftwareComponent.Rsyslog.TestRsyslogType:
- derived_from: tosca.nodes.SoftwareComponent.Rsyslog
-
- tosca.nodes.WebApplication.WordPress:
- derived_from: tosca.nodes.WebApplication
- requirements:
- - database_endpoint:
- capability: tosca.capabilities.Endpoint.Database
- node: tosca.nodes.Database
- relationship: tosca.relationships.ConnectsTo
- interfaces:
- Standard:
- inputs:
- wp_db_name:
- type: string
- wp_db_user:
- type: string
- wp_db_password:
- type: string
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/custom_types/paypalpizzastore_nodejs_app.yaml b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/custom_types/paypalpizzastore_nodejs_app.yaml
deleted file mode 100644
index d62c4c1..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/custom_types/paypalpizzastore_nodejs_app.yaml
+++ /dev/null
@@ -1,29 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0
-
-description: >
- Pizza store app that allows you to explore the features provided by PayPal's REST APIs.
- More detail can be found at https://github.com/paypal/rest-api-sample-app-nodejs/
-
-node_types:
- tosca.nodes.WebApplication.PayPalPizzaStore:
- derived_from: tosca.nodes.WebApplication
- properties:
- github_url:
- required: no
- type: string
- description: location of the application on the github.
- default: https://github.com/sample.git
- requirements:
- #WebApplication inherits Computer, so host implied.
- - database_connection:
- capability: tosca.capabilities.Endpoint.Database
- node: tosca.nodes.Database
- relationship: tosca.relationships.ConnectsTo
- interfaces:
- Standard:
- configure:
- inputs:
- github_url:
- type: string
- mongodb_ip:
- type: string
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/custom_types/rsyslog.yaml b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/custom_types/rsyslog.yaml
deleted file mode 100644
index 4614ee7..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/custom_types/rsyslog.yaml
+++ /dev/null
@@ -1,13 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0
-
-description: >
- RSYSLOG is the Rocket-fast SYStem for LOG processing.
-
-node_types:
- tosca.nodes.SoftwareComponent.Rsyslog:
- derived_from: tosca.nodes.SoftwareComponent
- requirements:
- - log_endpoint:
- capability: tosca.capabilities.Endpoint
- node: tosca.nodes.SoftwareComponent.Logstash
- relationship: tosca.relationships.ConnectsTo
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/custom_types/wordpress.yaml b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/custom_types/wordpress.yaml
deleted file mode 100644
index 5899ed9..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/custom_types/wordpress.yaml
+++ /dev/null
@@ -1,19 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0
-
-node_types:
- tosca.nodes.WebApplication.WordPress:
- derived_from: tosca.nodes.WebApplication
- requirements:
- - database_endpoint:
- capability: tosca.capabilities.Endpoint.Database
- node: tosca.nodes.Database
- relationship: tosca.relationships.ConnectsTo
- interfaces:
- Standard:
- inputs:
- wp_db_name:
- type: string
- wp_db_user:
- type: string
- wp_db_password:
- type: string
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/datatypes/custom_datatype_def.yaml b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/datatypes/custom_datatype_def.yaml
deleted file mode 100644
index 4b7da71..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/datatypes/custom_datatype_def.yaml
+++ /dev/null
@@ -1,48 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0
-
-description: >
- Custom type and node definition used to test custom datatypes.
-
-node_types:
- tosca.nodes.my.SomeNode:
- derived_from: tosca.nodes.Root
- properties:
- people:
- type: tosca.my.datatypes.People
-
-datatype_definitions:
- tosca.my.datatypes.PeopleBase:
- properties:
- name:
- type: string
- required: true
- constraints:
- - min_length: 2
- gender:
- type: string
- default: unknown
-
- tosca.my.datatypes.People:
- derived_from: tosca.my.datatypes.PeopleBase
- properties:
- addresses:
- type: map
- entry_schema:
- type: string
- contacts:
- type: list
- entry_schema:
- type: tosca.my.datatypes.ContactInfo
-
- tosca.my.datatypes.ContactInfo:
- description: simple contact information
- properties:
- contact_name:
- type: string
- required: true
- constraints:
- - min_length: 2
- contact_email:
- type: string
- contact_phone:
- type: string
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/datatypes/test_custom_datatypes_in_current_template.yaml b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/datatypes/test_custom_datatypes_in_current_template.yaml
deleted file mode 100644
index aefe862..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/datatypes/test_custom_datatypes_in_current_template.yaml
+++ /dev/null
@@ -1,65 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0
-
-description: >
- TOSCA templates used to test custom datatypes.
-
-node_types:
- tosca.nodes.my.SomeNode:
- derived_from: tosca.nodes.Root
- properties:
- people:
- type: tosca.my.datatypes.People
-
-datatype_definitions:
- tosca.my.datatypes.PeopleBase:
- properties:
- name:
- type: string
- required: true
- constraints:
- - min_length: 2
- gender:
- type: string
- default: unknown
-
- tosca.my.datatypes.People:
- derived_from: tosca.my.datatypes.PeopleBase
- properties:
- addresses:
- type: map
- entry_schema:
- type: string
- contacts:
- type: list
- entry_schema:
- type: tosca.my.datatypes.ContactInfo
-
- tosca.my.datatypes.ContactInfo:
- description: simple contact information
- properties:
- contact_name:
- type: string
- required: true
- constraints:
- - min_length: 2
- contact_email:
- type: string
- contact_phone:
- type: string
-
-topology_template:
- node_templates:
- positive:
- type: tosca.nodes.my.SomeNode
- properties:
- people:
- name: Mike
- gender: male
- addresses: {Home: 1 foo street, Office: 9 bar avenue}
- contacts:
- - {contact_name: Tom,
- contact_email: tom@email.com,
- contact_phone: '123456789'}
- - {contact_name: Jerry,
- contact_email: jerry@email.com,
- contact_phone: '321654987'} \ No newline at end of file
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/datatypes/test_custom_datatypes_nested_datatype_error.yaml b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/datatypes/test_custom_datatypes_nested_datatype_error.yaml
deleted file mode 100644
index b28f499..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/datatypes/test_custom_datatypes_nested_datatype_error.yaml
+++ /dev/null
@@ -1,25 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0
-
-description: >
- TOSCA templates used to test custom datatypes.
-
-imports:
- - custom_datatype_def.yaml
-
-topology_template:
- node_templates:
- # 123456789 is not a string
- error in nested datatype:
- type: tosca.nodes.my.SomeNode
- properties:
- people:
- name: Mike
- gender: male
- addresses: {Home: 1 foo street, Office: 9 bar avenue}
- contacts:
- - {contact_name: Tom,
- contact_email: tom@email.com,
- contact_phone: 123456789}
- - {contact_name: Jerry,
- contact_email: jerry@email.com,
- contact_phone: '321654987'}
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/datatypes/test_custom_datatypes_positive.yaml b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/datatypes/test_custom_datatypes_positive.yaml
deleted file mode 100644
index f1762f4..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/datatypes/test_custom_datatypes_positive.yaml
+++ /dev/null
@@ -1,24 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0
-
-description: >
- TOSCA templates used to test custom datatypes.
-
-imports:
- - custom_datatype_def.yaml
-
-topology_template:
- node_templates:
- positive:
- type: tosca.nodes.my.SomeNode
- properties:
- people:
- name: Mike
- gender: male
- addresses: {Home: 1 foo street, Office: 9 bar avenue}
- contacts:
- - {contact_name: Tom,
- contact_email: tom@email.com,
- contact_phone: '123456789'}
- - {contact_name: Jerry,
- contact_email: jerry@email.com,
- contact_phone: '321654987'}
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/datatypes/test_custom_datatypes_value_error.yaml b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/datatypes/test_custom_datatypes_value_error.yaml
deleted file mode 100644
index 31cf681..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/datatypes/test_custom_datatypes_value_error.yaml
+++ /dev/null
@@ -1,18 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0
-
-description: >
- TOSCA templates used to test custom datatypes.
-
-imports:
- - custom_datatype_def.yaml
-
-topology_template:
- node_templates:
- # addresses is not a map
- error in field value:
- type: tosca.nodes.my.SomeNode
- properties:
- people:
- name: Mike
- gender: male
- addresses: [1 foo street, 9 bar avenue]
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/functions/test_get_attribute_host_keyword.yaml b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/functions/test_get_attribute_host_keyword.yaml
deleted file mode 100644
index 90ffbe2..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/functions/test_get_attribute_host_keyword.yaml
+++ /dev/null
@@ -1,33 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0
-
-description: >
- TOSCA template for testing get_attribute with HOST keyword.
-
-topology_template:
- node_templates:
- server:
- type: tosca.nodes.Compute
- capabilities:
- host:
- properties:
- num_cpus: 2
- dbms:
- type: tosca.nodes.DBMS
- requirements:
- - host: server
- interfaces:
- Standard:
- configure:
- implementation: configure.sh
- inputs:
- ip_address: { get_attribute: [ HOST, private_address ] }
- database:
- type: tosca.nodes.Database
- requirements:
- - host: dbms
- interfaces:
- Standard:
- configure:
- implementation: configure.sh
- inputs:
- ip_address: { get_attribute: [ HOST, private_address ] }
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/functions/test_get_attribute_host_not_found.yaml b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/functions/test_get_attribute_host_not_found.yaml
deleted file mode 100644
index 69679ff..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/functions/test_get_attribute_host_not_found.yaml
+++ /dev/null
@@ -1,20 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0
-
-description: >
- TOSCA template for testing get_attribute with HOST keyword.
-
-topology_template:
- node_templates:
- server:
- type: tosca.nodes.Compute
- capabilities:
- host:
- properties:
- num_cpus: 2
- interfaces:
- Standard:
- configure:
- implementation: configure.sh
- inputs:
- ip_address: { get_attribute: [ HOST, private_address ] }
-
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/functions/test_get_attribute_illegal_host_in_outputs.yaml b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/functions/test_get_attribute_illegal_host_in_outputs.yaml
deleted file mode 100644
index 6c7d9bb..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/functions/test_get_attribute_illegal_host_in_outputs.yaml
+++ /dev/null
@@ -1,17 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0
-
-description: >
- TOSCA template for testing get_attribute with HOST keyword.
-
-topology_template:
- node_templates:
- server:
- type: tosca.nodes.Compute
- capabilities:
- host:
- properties:
- num_cpus: 2
-
- outputs:
- ip_address:
- value: { get_attribute: [ HOST, private_address ] }
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/functions/test_get_attribute_unknown_attribute_name.yaml b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/functions/test_get_attribute_unknown_attribute_name.yaml
deleted file mode 100644
index 0570c7c..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/functions/test_get_attribute_unknown_attribute_name.yaml
+++ /dev/null
@@ -1,28 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0
-
-description: >
- Tosca template for testing unknown attribute name in get_attribute
- function.
-
-topology_template:
- inputs:
- image_id:
- type: string
-
- node_templates:
- server:
- type: tosca.nodes.Compute
- capabilities:
- host:
- properties:
- num_cpus: 2
- interfaces:
- Standard:
- configure:
- implementation: start_server.sh
- inputs:
- image_id: { get_input: image_id }
-
- outputs:
- ip_address:
- value: { get_attribute: [ server, unknown_attribute ] }
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/functions/test_get_attribute_unknown_node_template_name.yaml b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/functions/test_get_attribute_unknown_node_template_name.yaml
deleted file mode 100644
index 923305c..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/functions/test_get_attribute_unknown_node_template_name.yaml
+++ /dev/null
@@ -1,28 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0
-
-description: >
- Tosca template for testing unknown node template name in get_attribute
- function.
-
-topology_template:
- inputs:
- image_id:
- type: string
-
- node_templates:
- server:
- type: tosca.nodes.Compute
- capabilities:
- host:
- properties:
- num_cpus: 2
- interfaces:
- Standard:
- configure:
- implementation: start_server.sh
- inputs:
- image_id: { get_input: image_id }
-
- outputs:
- ip_address:
- value: { get_attribute: [ unknown_node_template, private_address ] }
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/functions/test_invalid_function_signature.yaml b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/functions/test_invalid_function_signature.yaml
deleted file mode 100644
index dde8427..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/functions/test_invalid_function_signature.yaml
+++ /dev/null
@@ -1,34 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0
-
-description: >
- TOSCA simple profile template to test invalid get_input function.
-
-topology_template:
- inputs:
- cpus:
- type: integer
- description: Number of CPUs for the server.
- constraints:
- - valid_values: [ 1, 2, 4, 8 ]
-
- node_templates:
- server:
- type: tosca.nodes.Compute
- capabilities:
- host:
- properties:
- # compute properties (flavor)
- disk_size: 10 GB
- num_cpus: { get_input: [cpus, cpus] }
- mem_size: 4096 MB
- os:
- properties:
- architecture: x86_64
- type: Linux
- distribution: Fedora
- version: 18.0
-
- outputs:
- server_address:
- description: IP address of server instance.
- value: { get_attribute: [server, private_address] }
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/functions/test_unknown_capability_property.yaml b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/functions/test_unknown_capability_property.yaml
deleted file mode 100644
index 4a92530..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/functions/test_unknown_capability_property.yaml
+++ /dev/null
@@ -1,36 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0
-
-description: >
- Tosca template for testing an unknown capability property.
-
-topology_template:
- node_templates:
- server:
- type: tosca.nodes.Compute
- capabilities:
- host:
- properties:
- num_cpus: 2
- dbms:
- type: tosca.nodes.DBMS
- properties:
- root_password: 1234
- port: 3672
- database:
- type: tosca.nodes.Database
- properties:
- name: my_db
- user: abcd
- password: 1234
- capabilities:
- database_endpoint:
- properties:
- port: { get_property: [ dbms, port ] }
- requirements:
- - host: dbms
- interfaces:
- Standard:
- configure:
- implementation: database_configure.sh
- inputs:
- db_port: { get_property: [ SELF, database_endpoint, unknown ] }
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/functions/test_unknown_input_in_interface.yaml b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/functions/test_unknown_input_in_interface.yaml
deleted file mode 100644
index cbfb391..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/functions/test_unknown_input_in_interface.yaml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-tosca_definitions_version: tosca_simple_yaml_1_0
-
-description: >
- Tosca template for testing an unknown input.
-
-topology_template:
- node_templates:
- server:
- type: tosca.nodes.Compute
- capabilities:
- host:
- properties:
- num_cpus: 2
- interfaces:
- Standard:
- configure:
- implementation: start_server.sh
- inputs:
- image_id: { get_input: image_id }
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/functions/test_unknown_input_in_property.yaml b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/functions/test_unknown_input_in_property.yaml
deleted file mode 100644
index 9ba7ee5..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/functions/test_unknown_input_in_property.yaml
+++ /dev/null
@@ -1,13 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0
-
-description: >
- Tosca template for testing an unknown input.
-
-topology_template:
- node_templates:
- obj_store_server:
- type: tosca.nodes.ObjectStorage
- properties:
- name: { get_input: objectstore_name }
- size: 1024 MB
- maxsize: 1 GB
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/test_instance_nested_imports.yaml b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/test_instance_nested_imports.yaml
deleted file mode 100644
index 6b6542c..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/test_instance_nested_imports.yaml
+++ /dev/null
@@ -1,22 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0
-
-description: >
- TOSCA simple profile with wordpress, web server and mysql on the same server.
-
-imports:
- - wordpress: custom_types/nested_test_wordpress.yaml
-
-topology_template:
-
- node_templates:
- wordpress:
- type: tosca.nodes.WebApplication.WordPress
-
- testrsyslogtype:
- type: tosca.nodes.SoftwareComponent.Rsyslog.TestRsyslogType
-
- rsyslog:
- type: tosca.nodes.SoftwareComponent.Rsyslog
-
- logstash:
- type: tosca.nodes.SoftwareComponent.Logstash
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/test_invalid_section_names.yaml b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/test_invalid_section_names.yaml
deleted file mode 100644
index 6241585..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/test_invalid_section_names.yaml
+++ /dev/null
@@ -1,25 +0,0 @@
-tosca_definitions_versions: tosca_simple_yaml_1_0
-
-descriptions: >
- TOSCA profile with invalid top-level section names.
-
-import:
- - imported.yaml
-
-topology_templates:
-
- node_templates:
- server:
- type: tosca.nodes.Compute
- capabilities:
- host:
- properties:
- disk_size: 10 GB
- num_cpus: 1
- mem_size: 4096 MB
- os:
- properties:
- architecture: x86_64
- type: Linux
- distribution: Ubuntu
- version: 14.04
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/test_invalid_template_version.yaml b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/test_invalid_template_version.yaml
deleted file mode 100644
index 86dce79..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/test_invalid_template_version.yaml
+++ /dev/null
@@ -1,14 +0,0 @@
-tosca_definitions_version: tosca_xyz
-
-description: >
- Test template with an invalid template version.
-
-topology_template:
- node_templates:
- server:
- type: tosca.nodes.Compute
- capabilities:
- host:
- properties:
- num_cpus: 2
-
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/test_multiple_validation_errors.yaml b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/test_multiple_validation_errors.yaml
deleted file mode 100644
index ccae4eb..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/test_multiple_validation_errors.yaml
+++ /dev/null
@@ -1,125 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1
-
-description: >
- TOSCA simple profile with wordpress, web server and mysql on the same server.
-
-imports:
- - custom_types/not_there.yaml
-
-topology_template:
- inputs:
- cpus:
- type: integer
- description: Number of CPUs for the server.
- constraints:
- - valid_values: [ 1, 2, 4, 8 ]
- default: 1
- db_name:
- type: string
- description: The name of the database.
- default: wordpress
- db_user:
- type: string
- description: The user name of the DB user.
- default: wp_user
- db_pwd:
- type: string
- description: The WordPress database admin account password.
- default: wp_pass
- db_root_pwd:
- type: string
- description: Root password for MySQL.
- db_port:
- type: PortDef
- description: Port for the MySQL database.
- default: 3306
-
- node_templates:
- wordpress:
- type: tosca.nodes.WebApplication.WordPress
- requirement:
- - host: webserver
- - database_endpoint: mysql_database
- interfaces:
- Standard:
- create: wordpress/wordpress_install.sh
- configure:
- implementation: wordpress/wordpress_configure.sh
- inputs:
- wp_db_name: { get_property: [ mysql_database, name ] }
- wp_db_user: { get_property: [ mysql_database, user ] }
- wp_db_password: { get_property: [ mysql_database, password ] }
-
- mysql_database:
- type: tosca.nodes.Database
- properties:
- name: { get_input: db_name }
- user: { get_input: db_user }
- password: { get_input: db_pwd }
- capabilities:
- database_endpoint:
- properties:
- port: { get_input: db_port }
- requirements:
- - host: mysql_dbms
- interfaces:
- Standard:
- configure:
- implementation: mysql/mysql_database_configure.sh
- inputs:
- db_name: { get_property: [ SELF, name ] }
- db_user: { get_property: [ SELF, user ] }
- db_password: { get_property: [ SELF, passwords ] }
- db_root_password: { get_property: [ mysql_dbms, root_password ] }
-
- mysql_dbms:
- type1: tosca.nodes.DBMS
- properties:
- root_password: { get_input: db_root_pwd }
- port: { get_input: db_port }
- requirements:
- - host: server
- interfaces:
- Standard:
- create:
- implementation: mysql/mysql_dbms_install.sh
- inputs:
- db_root_password: { get_property: [ mysql_dbms, root_password ] }
- start: mysql/mysql_dbms_start.sh
- configure:
- implementation: mysql/mysql_dbms_configure.sh
- inputs:
- db_port: { get_property: [ mysql_dbms, port ] }
-
- webserver:
- type: tosca.nodes.WebServer
- requirements:
- - host: server1
- - database_endpoint:
- node: webserver
- relationship:
- type1: tosca.relationships.ConnectsTo
- interfaces:
- Standard:
- create: webserver/webserver_install.sh
- start: webserver/webserver_start.sh
-
- server:
- type: tosca.nodes.Compute
- capabilities:
- host:
- properties:
- disk_size: 10 GB
- num_cpus: { get_input: cpus }
- mem_size: 4096 MB
- os:
- properties:
- architecture: x86_64
- type: Linux
- distribution: Ubuntu
- version: 14.04
-
- outputs:
- website_url:
- description: URL for Wordpress wiki.
- value: { get_attribute: [server, private_address] }
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/test_no_inputs_in_template.yaml b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/test_no_inputs_in_template.yaml
deleted file mode 100644
index 0b9da4c..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/test_no_inputs_in_template.yaml
+++ /dev/null
@@ -1,17 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0
-
-description: >
- Tosca template for testing a template with no inputs.
-
-metadata: test
-
-topology_template:
- node_templates:
- server:
- type: tosca.nodes.Compute
- capabilities:
- host:
- properties:
- num_cpus: 2
-
- outputs:
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/test_no_outputs_in_template.yaml b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/test_no_outputs_in_template.yaml
deleted file mode 100644
index 51d42ff..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/test_no_outputs_in_template.yaml
+++ /dev/null
@@ -1,15 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0
-
-description: >
- Tosca template for testing a template with no outputs.
-
-topology_template:
- inputs:
-
- node_templates:
- server:
- type: tosca.nodes.Compute
- capabilities:
- host:
- properties:
- num_cpus: 2
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/test_requirements.yaml b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/test_requirements.yaml
deleted file mode 100644
index 269c46d..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/test_requirements.yaml
+++ /dev/null
@@ -1,67 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0
-
-description: >
- Test Requirements.
-
-imports:
- - custom_types/wordpress.yaml
-
-topology_template:
- node_templates:
- my_app:
- description: >
- Specify multiple requirement via node and relationship keyword,
- as an explicit relationship. Also demonstrates relationship with
- type keyword and without it as an in-line reference.
- type: tosca.nodes.WebApplication.WordPress
- requirements:
- - req1:
- node: my_webserver
- relationship: tosca.relationships.HostedOn
- - req2:
- node: mysql_database
- relationship:
- type: tosca.relationships.ConnectsTo
- mysql_database:
- description: Specify requirement via a capability as an implicit relationship.
- type: tosca.nodes.Database
- requirements:
- - host:
- node: my_dbms
- relationship: tosca.relationships.HostedOn
- my_dbms:
- type: tosca.nodes.DBMS
- my_webserver:
- type: tosca.nodes.WebServer
- my_server:
- description: >
- Specify requirement via a relationship template, as an explicit relationship.
- type: tosca.nodes.Compute
- capabilities:
- host:
- properties:
- num_cpus: 2
- disk_size: 10 GB
- mem_size: 4 MB
- os:
- properties:
- # host Operating System image properties
- architecture: x86_64
- type: linux
- distribution: rhel
- version: 6.5
- requirements:
- - req1:
- node: my_storage
- relationship: storage_attachment
- my_storage:
- type: tosca.nodes.BlockStorage
- properties:
- size: 1 GiB
- snapshot_id: id
-
- relationship_templates:
- storage_attachment:
- type: tosca.relationships.AttachesTo
- properties:
- location: /temp
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/test_tosca_normative_type_by_shortname.yaml b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/test_tosca_normative_type_by_shortname.yaml
deleted file mode 100644
index 8a702fb..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/test_tosca_normative_type_by_shortname.yaml
+++ /dev/null
@@ -1,33 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0
-
-description: >
- TOSCA simple profile with short type name for Compute.
-
-topology_template:
- inputs:
- cpus:
- type: integer
- description: Number of CPUs for the server.
- constraints:
- - valid_values: [ 1, 2, 4, 8 ]
-
- node_templates:
- server:
- type: Compute
- capabilities:
- host:
- properties:
- disk_size: 10 GB
- num_cpus: { get_input: cpus }
- mem_size: 4096 MB
- os:
- properties:
- architecture: x86_64
- type: Linux
- distribution: Fedora
- version: 18.0
-
- outputs:
- server_address:
- description: IP address of server instance.
- value: { get_attribute: [server, private_address] }
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/test_tosca_top_level_error1.yaml b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/test_tosca_top_level_error1.yaml
deleted file mode 100644
index 591ee97..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/test_tosca_top_level_error1.yaml
+++ /dev/null
@@ -1,31 +0,0 @@
-description: >
- TOSCA simple profile missing version section.
-
-topology_template:
- inputs:
- cpus:
- type: integer
- description: Number of CPUs for the server.
- constraints:
- - valid_values: [ 1, 2, 4, 8 ]
-
- node_templates:
- server:
- type: tosca.nodes.Compute
- capabilities:
- host:
- properties:
- disk_size: 10 GB
- num_cpus: { get_input: cpus }
- mem_size: 4096 MB
- os:
- properties:
- architecture: x86_64
- type: Linux
- distribution: Fedora
- version: 18.0
-
- outputs:
- server_address:
- description: IP address of server instance.
- value: { get_property: [server, private_address] }
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/test_tosca_top_level_error2.yaml b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/test_tosca_top_level_error2.yaml
deleted file mode 100644
index 683e623..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/test_tosca_top_level_error2.yaml
+++ /dev/null
@@ -1,33 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0
-
-description: >
- TOSCA simple profile with invalid top-level key: 'node_template'.
-
-topology_template:
- inputs:
- cpus:
- type: integer
- description: Number of CPUs for the server.
- constraints:
- - valid_values: [ 1, 2, 4, 8 ]
-
- node_template:
- server:
- type: tosca.nodes.Compute
- capabilities:
- host:
- properties:
- disk_size: 10 GB
- num_cpus: { get_input: cpus }
- mem_size: 4096 MB
- os:
- properties:
- architecture: x86_64
- type: Linux
- distribution: Fedora
- version: 18.0
-
- outputs:
- server_address:
- description: IP address of server instance.
- value: { get_property: [server, private_address] }
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/topology_template/definitions.yaml b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/topology_template/definitions.yaml
deleted file mode 100644
index 083ee75..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/topology_template/definitions.yaml
+++ /dev/null
@@ -1,54 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0
-
-node_types:
- example.TransactionSubsystem:
- properties:
- mq_server_ip:
- type: string
- receiver_port:
- type: integer
- attributes:
- receiver_ip:
- type: string
- receiver_port:
- type: integer
- capabilities:
- message_receiver:
- type: example.capabilities.Receiver
- requirements:
- - database_endpoint:
- capability: tosca.capabilities.Endpoint.Database
- node: tosca.nodes.Database
- relationship: tosca.relationships.ConnectsTo
-
- example.QueuingSubsystem:
- derived_from: tosca.nodes.SoftwareComponent
- requirements:
- - receiver1:
- node: example.TransactionSubsystem
- relationship: tosca.relationships.ConnectsTo
- - receiver2:
- node: example.TransactionSubsystem
- relationship: tosca.relationships.ConnectsTo
-
- example.DatabaseSubsystem:
- derived_from: tosca.nodes.Database
-
- example.SomeApp:
- derived_from: tosca.nodes.SoftwareComponent
- properties:
- admin_user:
- type: string
- pool_size:
- type: integer
- capabilities:
- message_receiver:
- type: example.capabilities.Receiver
-
-capability_types:
- example.capabilities.Receiver:
- derived_from: tosca.capabilities.Endpoint
- properties:
- server_ip:
- type: string
-
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/topology_template/subsystem.yaml b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/topology_template/subsystem.yaml
deleted file mode 100644
index ddbc94e..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/topology_template/subsystem.yaml
+++ /dev/null
@@ -1,85 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0
-
-description: >
- Service template with topology_template, act as a nested system inside another system.
-
-imports:
- - definitions.yaml
-
-topology_template:
- description: Template of a database including its hosting stack.
-
- inputs:
- mq_server_ip:
- type: string
- description: IP address of the message queuing server to receive messages from.
- receiver_port:
- type: string
- description: Port to be used for receiving messages.
- my_cpus:
- type: integer
- description: Number of CPUs for the server.
- constraints:
- - valid_values: [ 1, 2, 4, 8 ]
-
- substitution_mappings:
- node_type: example.TransactionSubsystem
- capabilities:
- message_receiver: [ app, message_receiver ]
- requirements:
- database_endpoint: [ app, database ]
-
- node_templates:
- app:
- type: example.SomeApp
- properties:
- admin_user: foo
- pool_size: 10
- capabilities:
- message_receiver:
- properties:
- server_ip: { get_input: mq_server_ip }
- requirements:
- - host:
- node: websrv
-
- websrv:
- type: tosca.nodes.WebServer
- capabilities:
- data_endpoint:
- properties:
- port_name: { get_input: receiver_port }
- requirements:
- - host:
- node: server
-
- server:
- type: tosca.nodes.Compute
- capabilities:
- host:
- properties:
- disk_size: 10 GB
- num_cpus: { get_input: my_cpus }
- mem_size: 4096 MB
- os:
- properties:
- architecture: x86_64
- type: Linux
- distribution: Ubuntu
- version: 14.04
-
- outputs:
- receiver_ip:
- description: private IP address of the message receiver application
- value: { get_attribute: [ server, private_address ] }
-# It seems current _process_intrisic_function can not handle more than 2 arguments, save it for later
-# receiver_port:
-# description: Port of the message receiver endpoint
-# value: { get_attribute: [ app, data_endpoint, port_name ] }
-
- groups:
- webserver_group:
- members: [ websrv, server ]
- policies:
- - policy_name: none
-
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/topology_template/system.yaml b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/topology_template/system.yaml
deleted file mode 100644
index 99aee0d..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/topology_template/system.yaml
+++ /dev/null
@@ -1,51 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0
-
-imports:
- - definitions.yaml
-
-topology_template:
- description: Template of online transaction processing service.
-
- node_templates:
- mq:
- type: example.QueuingSubsystem
- # properties:
- # to be updated when substitution_mapping is implemented
- # capabilities:
- # message_queue_endpoint:
- # to be updated when substitution_mapping is implemented
- requirements:
- - receiver1: trans1
- - receiver2: trans2
-
- trans1:
- type: example.TransactionSubsystem
- properties:
- # to be updated when substitution_mapping is implemented
- # mq_server_ip: { get_attribute: [ mq, server_ip ] }
- receiver_port: 8080
- # capabilities:
- # message_receiver:
- # to be updated when substitution_mapping is implemented
- requirements:
- - database_endpoint: dbsys
-
- trans2:
- type: example.TransactionSubsystem
- properties:
- # to be updated when substitution_mapping is implemented
- # mq_server_ip: { get_attribute: [ mq, server_ip ] }
- receiver_port: 8080
- # capabilities:
- # message_receiver:
- # to be updated when substitution_mapping is implemented
- requirements:
- - database_endpoint: dbsys
-
- dbsys:
- type: example.DatabaseSubsystem
- # properties:
- # to be updated when substitution_mapping is implemented
- # capabilities:
- # database_endpoint:
- # to be updated when substitution_mapping is implemented \ No newline at end of file
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/tosca_elk.yaml b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/tosca_elk.yaml
deleted file mode 100644
index 6fc1756..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/tosca_elk.yaml
+++ /dev/null
@@ -1,217 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0
-
-description: >
- 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 rsyslog and collectd
- are installed on a nodejs server.
-
-imports:
- - custom_types/paypalpizzastore_nodejs_app.yaml
- - custom_types/elasticsearch.yaml
- - custom_types/logstash.yaml
- - custom_types/kibana.yaml
- - custom_types/collectd.yaml
- - custom_types/rsyslog.yaml
-
-dsl_definitions:
- host_capabilities: &host_capabilities
- disk_size: 10 GB
- num_cpus: { get_input: my_cpus }
- mem_size: 4096 MB
- os_capabilities: &os_capabilities
- architecture: x86_64
- type: Linux
- distribution: Ubuntu
- version: 14.04
-
-topology_template:
- inputs:
- my_cpus:
- type: integer
- description: Number of CPUs for the server.
- constraints:
- - valid_values: [ 1, 2, 4, 8 ]
- default: 1
- github_url:
- type: string
- description: The URL to download nodejs.
- default: http://github.com/paypal/rest-api-sample-app-nodejs.git
-
- node_templates:
- paypal_pizzastore:
- type: tosca.nodes.WebApplication.PayPalPizzaStore
- properties:
- github_url: { get_input: github_url }
- requirements:
- - host: nodejs
- - database_connection: mongo_db
- interfaces:
- Standard:
- configure:
- implementation: nodejs/config.sh
- inputs:
- github_url: { get_property: [ SELF, github_url ] }
- mongodb_ip: { get_attribute: [mongo_server, private_address] }
- start: nodejs/start.sh
- nodejs:
- type: tosca.nodes.WebServer
- requirements:
- - host: app_server
- interfaces:
- Standard:
- create: nodejs/create.sh
- mongo_db:
- type: tosca.nodes.Database
- requirements:
- - host: mongo_dbms
- interfaces:
- Standard:
- create: mongodb/create_database.sh
- mongo_dbms:
- type: tosca.nodes.DBMS
- requirements:
- - host: mongo_server
- interfaces:
- Standard:
- create: mongodb/create.sh
- configure:
- implementation: mongodb/config.sh
- inputs:
- mongodb_ip: { get_attribute: [mongo_server, private_address] }
- start: mongodb/start.sh
- elasticsearch:
- type: tosca.nodes.SoftwareComponent.Elasticsearch
- requirements:
- - host: elasticsearch_server
- interfaces:
- Standard:
- create: elasticsearch/create.sh
- start: elasticsearch/start.sh
- logstash:
- type: tosca.nodes.SoftwareComponent.Logstash
- requirements:
- - host: logstash_server
- - search_endpoint:
- node: elasticsearch
- capability: search_endpoint
- relationship:
- type: tosca.relationships.ConnectsTo
- interfaces:
- Configure:
- pre_configure_source:
- implementation: logstash/configure_elasticsearch.py
- inputs:
- elasticsearch_ip: { get_attribute: [elasticsearch_server, private_address] }
- interfaces:
- Standard:
- create: logstash/create.sh
- start: logstash/start.sh
- kibana:
- type: tosca.nodes.SoftwareComponent.Kibana
- requirements:
- - host: kibana_server
- - search_endpoint: elasticsearch
- interfaces:
- Standard:
- create: kibana/create.sh
- configure:
- implementation: kibana/config.sh
- inputs:
- elasticsearch_ip: { get_attribute: [elasticsearch_server, private_address] }
- kibana_ip: { get_attribute: [kibana_server, private_address] }
- start: kibana/start.sh
- app_collectd:
- type: tosca.nodes.SoftwareComponent.Collectd
- requirements:
- - host: app_server
- - log_endpoint:
- node: logstash
- capability: log_endpoint
- relationship:
- type: tosca.relationships.ConnectsTo
- interfaces:
- Configure:
- pre_configure_target:
- implementation: logstash/configure_collectd.py
- interfaces:
- Standard:
- create: collectd/create.sh
- configure:
- implementation: collectd/config.py
- inputs:
- logstash_ip: { get_attribute: [logstash_server, private_address] }
- start: collectd/start.sh
- app_rsyslog:
- type: tosca.nodes.SoftwareComponent.Rsyslog
- requirements:
- - host: app_server
- - log_endpoint:
- node: logstash
- capability: log_endpoint
- relationship:
- type: tosca.relationships.ConnectsTo
- interfaces:
- Configure:
- pre_configure_target:
- implementation: logstash/configure_rsyslog.py
- interfaces:
- Standard:
- create: rsyslog/create.sh
- configure:
- implementation: rsyslog/config.sh
- inputs:
- logstash_ip: { get_attribute: [logstash_server, private_address] }
- start: rsyslog/start.sh
- app_server:
- type: tosca.nodes.Compute
- capabilities:
- host:
- properties: *host_capabilities
- os:
- properties: *os_capabilities
- mongo_server:
- type: tosca.nodes.Compute
- capabilities:
- host:
- properties: *host_capabilities
- os:
- properties: *os_capabilities
- elasticsearch_server:
- type: tosca.nodes.Compute
- capabilities:
- host:
- properties: *host_capabilities
- os:
- properties: *os_capabilities
- logstash_server:
- type: tosca.nodes.Compute
- capabilities:
- host:
- properties: *host_capabilities
- os:
- properties: *os_capabilities
- kibana_server:
- type: tosca.nodes.Compute
- capabilities:
- host:
- properties: *host_capabilities
- os:
- properties: *os_capabilities
-
- outputs:
- nodejs_url:
- description: URL for the nodejs server, http://<IP>:3000
- value: { get_attribute: [ app_server, private_address ] }
- mongodb_url:
- description: URL for the mongodb server.
- value: { get_attribute: [ mongo_server, private_address ] }
- elasticsearch_url:
- description: URL for the elasticsearch server.
- value: { get_attribute: [ elasticsearch_server, private_address ] }
- logstash_url:
- description: URL for the logstash server.
- value: { get_attribute: [ logstash_server, private_address ] }
- kibana_url:
- description: URL for the kibana server.
- value: { get_attribute: [ kibana_server, private_address ] }
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/tosca_helloworld.yaml b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/tosca_helloworld.yaml
deleted file mode 100644
index 5b913ff..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/tosca_helloworld.yaml
+++ /dev/null
@@ -1,23 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0
-
-description: Template for deploying a single server with predefined properties.
-
-topology_template:
- node_templates:
- my_server:
- type: tosca.nodes.Compute
- capabilities:
- # Host container properties
- host:
- properties:
- num_cpus: 2
- disk_size: 10 GB
- mem_size: 512 MB
- # Guest Operating System properties
- os:
- properties:
- # host Operating System image properties
- architecture: x86_64
- type: Linux
- distribution: RHEL
- version: 6.5
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/tosca_single_instance_wordpress.yaml b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/tosca_single_instance_wordpress.yaml
deleted file mode 100644
index 9e686ab..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/tosca_single_instance_wordpress.yaml
+++ /dev/null
@@ -1,121 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0
-
-description: >
- TOSCA simple profile with wordpress, web server and mysql on the same server.
-
-imports:
- - custom_types/wordpress.yaml
-
-topology_template:
- inputs:
- cpus:
- type: integer
- description: Number of CPUs for the server.
- constraints:
- - valid_values: [ 1, 2, 4, 8 ]
- default: 1
- db_name:
- type: string
- description: The name of the database.
- default: wordpress
- db_user:
- type: string
- description: The user name of the DB user.
- default: wp_user
- db_pwd:
- type: string
- description: The WordPress database admin account password.
- default: wp_pass
- db_root_pwd:
- type: string
- description: Root password for MySQL.
- db_port:
- type: PortDef
- description: Port for the MySQL database.
- default: 3306
-
- node_templates:
- wordpress:
- type: tosca.nodes.WebApplication.WordPress
- requirements:
- - host: webserver
- - database_endpoint: mysql_database
- interfaces:
- Standard:
- create: wordpress/wordpress_install.sh
- configure:
- implementation: wordpress/wordpress_configure.sh
- inputs:
- wp_db_name: { get_property: [ mysql_database, name ] }
- wp_db_user: { get_property: [ mysql_database, user ] }
- wp_db_password: { get_property: [ mysql_database, password ] }
-
- mysql_database:
- type: tosca.nodes.Database
- properties:
- name: { get_input: db_name }
- user: { get_input: db_user }
- password: { get_input: db_pwd }
- capabilities:
- database_endpoint:
- properties:
- port: { get_input: db_port }
- requirements:
- - host: mysql_dbms
- interfaces:
- Standard:
- configure:
- implementation: mysql/mysql_database_configure.sh
- inputs:
- db_name: { get_property: [ SELF, name ] }
- db_user: { get_property: [ SELF, user ] }
- db_password: { get_property: [ SELF, password ] }
- db_root_password: { get_property: [ mysql_dbms, root_password ] }
-
- mysql_dbms:
- type: tosca.nodes.DBMS
- properties:
- root_password: { get_input: db_root_pwd }
- port: { get_input: db_port }
- requirements:
- - host: server
- interfaces:
- Standard:
- create:
- implementation: mysql/mysql_dbms_install.sh
- inputs:
- db_root_password: { get_property: [ mysql_dbms, root_password ] }
- start: mysql/mysql_dbms_start.sh
- configure:
- implementation: mysql/mysql_dbms_configure.sh
- inputs:
- db_port: { get_property: [ mysql_dbms, port ] }
-
- webserver:
- type: tosca.nodes.WebServer
- requirements:
- - host: server
- interfaces:
- Standard:
- create: webserver/webserver_install.sh
- start: webserver/webserver_start.sh
-
- server:
- type: tosca.nodes.Compute
- capabilities:
- host:
- properties:
- disk_size: 10 GB
- num_cpus: { get_input: cpus }
- mem_size: 4096 MB
- os:
- properties:
- architecture: x86_64
- type: Linux
- distribution: Ubuntu
- version: 14.04
-
- outputs:
- website_url:
- description: URL for Wordpress wiki.
- value: { get_attribute: [server, private_address] }
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/tosca_single_instance_wordpress_with_local_abspath_import.yaml b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/tosca_single_instance_wordpress_with_local_abspath_import.yaml
deleted file mode 100644
index 6caac11..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/tosca_single_instance_wordpress_with_local_abspath_import.yaml
+++ /dev/null
@@ -1,122 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0
-
-description: >
- TOSCA simple profile with wordpress, web server and mysql on the same server.
- Parsing of this test template will fail with errors if provided imports does
- not refer to a valid absolute path.
-
-imports:
- - /tmp/tosca-parser/toscaparser/tests/data/custom_types/wordpress.yaml
-
-topology_template:
- inputs:
- cpus:
- type: integer
- description: Number of CPUs for the server.
- constraints:
- - valid_values: [ 1, 2, 4, 8 ]
- default: 1
- db_name:
- type: string
- description: The name of the database.
- default: wordpress
- db_user:
- type: string
- description: The user name of the DB user.
- default: wp_user
- db_pwd:
- type: string
- description: The WordPress database admin account password.
- default: wp_pass
- db_root_pwd:
- type: string
- description: Root password for MySQL.
- db_port:
- type: PortDef
- description: Port for the MySQL database.
- default: 3306
-
- node_templates:
- wordpress:
- type: tosca.nodes.WebApplication.WordPress
- requirements:
- - host: webserver
- - database_endpoint: mysql_database
- interfaces:
- Standard:
- create: wordpress/wordpress_install.sh
- configure:
- implementation: wordpress/wordpress_configure.sh
- inputs:
- wp_db_name: wordpress
- wp_db_user: wp_user
- wp_db_password: wp_pass
-
- mysql_database:
- type: tosca.nodes.Database
- properties:
- name: { get_input: db_name }
- user: { get_input: db_user }
- password: { get_input: db_pwd }
- capabilities:
- database_endpoint:
- properties:
- port: { get_input: db_port }
- requirements:
- - host:
- node: mysql_dbms
- interfaces:
- Standard:
- configure:
- implementation: mysql/mysql_database_configure.sh
- inputs:
- db_name: wordpress
- db_user: wp_user
- db_password: wp_pass
- db_root_password: passw0rd
- mysql_dbms:
- type: tosca.nodes.DBMS
- properties:
- root_password: { get_input: db_root_pwd }
- port: { get_input: db_port }
- requirements:
- - host: server
- interfaces:
- Standard:
- create:
- implementation: mysql/mysql_dbms_install.sh
- inputs:
- db_root_password: passw0rd
- start: mysql/mysql_dbms_start.sh
- configure:
- implementation: mysql/mysql_dbms_configure.sh
- inputs:
- db_port: 3366
-
- webserver:
- type: tosca.nodes.WebServer
- requirements:
- - host: server
- interfaces:
- Standard:
- create: webserver/webserver_install.sh
- start: webserver/webserver_start.sh
- server:
- type: tosca.nodes.Compute
- capabilities:
- host:
- properties:
- disk_size: 10 GB
- num_cpus: { get_input: cpus }
- mem_size: 4096 MB
- os:
- properties:
- architecture: x86_64
- type: Linux
- distribution: Ubuntu
- version: 14.04
-
- outputs:
- website_url:
- description: URL for Wordpress wiki.
- value: { get_attribute: [server, private_address] }
diff --git a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/tosca_single_instance_wordpress_with_url_import.yaml b/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/tosca_single_instance_wordpress_with_url_import.yaml
deleted file mode 100644
index e5f1580..0000000
--- a/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/tosca_single_instance_wordpress_with_url_import.yaml
+++ /dev/null
@@ -1,120 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0
-
-description: >
- TOSCA simple profile with wordpress, web server and mysql on the same server.
-
-imports:
- - https://raw.githubusercontent.com/openstack/heat-translator/master/translator/tests/data/custom_types/wordpress.yaml
-
-topology_template:
- inputs:
- cpus:
- type: integer
- description: Number of CPUs for the server.
- constraints:
- - valid_values: [ 1, 2, 4, 8 ]
- default: 1
- db_name:
- type: string
- description: The name of the database.
- default: wordpress
- db_user:
- type: string
- description: The user name of the DB user.
- default: wp_user
- db_pwd:
- type: string
- description: The WordPress database admin account password.
- default: wp_pass
- db_root_pwd:
- type: string
- description: Root password for MySQL.
- db_port:
- type: PortDef
- description: Port for the MySQL database.
- default: 3306
-
- node_templates:
- wordpress:
- type: tosca.nodes.WebApplication.WordPress
- requirements:
- - host: webserver
- - database_endpoint: mysql_database
- interfaces:
- Standard:
- create: wordpress/wordpress_install.sh
- configure:
- implementation: wordpress/wordpress_configure.sh
- inputs:
- wp_db_name: wordpress
- wp_db_user: wp_user
- wp_db_password: wp_pass
-
- mysql_database:
- type: tosca.nodes.Database
- properties:
- name: { get_input: db_name }
- user: { get_input: db_user }
- password: { get_input: db_pwd }
- capabilities:
- database_endpoint:
- properties:
- port: { get_input: db_port }
- requirements:
- - host:
- node: mysql_dbms
- interfaces:
- Standard:
- configure:
- implementation: mysql/mysql_database_configure.sh
- inputs:
- db_name: wordpress
- db_user: wp_user
- db_password: wp_pass
- db_root_password: passw0rd
- mysql_dbms:
- type: tosca.nodes.DBMS
- properties:
- root_password: { get_input: db_root_pwd }
- port: { get_input: db_port }
- requirements:
- - host: server
- interfaces:
- Standard:
- create:
- implementation: mysql/mysql_dbms_install.sh
- inputs:
- db_root_password: passw0rd
- start: mysql/mysql_dbms_start.sh
- configure:
- implementation: mysql/mysql_dbms_configure.sh
- inputs:
- db_port: 3366
-
- webserver:
- type: tosca.nodes.WebServer
- requirements:
- - host: server
- interfaces:
- Standard:
- create: webserver/webserver_install.sh
- start: webserver/webserver_start.sh
- server:
- type: tosca.nodes.Compute
- capabilities:
- host:
- properties:
- disk_size: 10 GB
- num_cpus: { get_input: cpus }
- mem_size: 4096 MB
- os:
- properties:
- architecture: x86_64
- type: Linux
- distribution: Ubuntu
- version: 14.04
-
- outputs:
- website_url:
- description: URL for Wordpress wiki.
- value: { get_attribute: [server, private_address] }