Update TOSCA version
TOSCA version naming has been changed and per the latest specs the correct current version is tosca_simple_yaml_1_0_0. Change-Id: I8a7ddf70f6e74fac1134a0674e44c498f661d51e Closes-Bug: #1339154
This commit is contained in:
parent
984637a299
commit
c4e60a550a
@ -1,4 +1,4 @@
|
|||||||
tosca_definitions_version: tosca_simple_1.0
|
tosca_definitions_version: tosca_simple_yaml_1_0_0
|
||||||
|
|
||||||
description: >
|
description: >
|
||||||
TOSCA simple profile with server and attached block storage.
|
TOSCA simple profile with server and attached block storage.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
tosca_definitions_version: tosca_simple_1.0
|
tosca_definitions_version: tosca_simple_yaml_1_0_0
|
||||||
|
|
||||||
description: >
|
description: >
|
||||||
TOSCA simple profile with server and attached block storage.
|
TOSCA simple profile with server and attached block storage.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
tosca_definitions_version: tosca_simple_1.0
|
tosca_definitions_version: tosca_simple_yaml_1_0_0
|
||||||
|
|
||||||
description: >
|
description: >
|
||||||
TOSCA simple profile with server and attached block storage.
|
TOSCA simple profile with server and attached block storage.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
tosca_definitions_version: tosca_simple_1.0
|
tosca_definitions_version: tosca_simple_yaml_1_0_0
|
||||||
|
|
||||||
description: >
|
description: >
|
||||||
TOSCA simple profile with server and attached block storage.
|
TOSCA simple profile with server and attached block storage.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
tosca_definitions_version: tosca_simple_1.0
|
tosca_definitions_version: tosca_simple_yaml_1_0_0
|
||||||
|
|
||||||
description: >
|
description: >
|
||||||
TOSCA simple profile with wordpress, web server and mysql on the same server.
|
TOSCA simple profile with wordpress, web server and mysql on the same server.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
tosca_definitions_version: tosca_simple_1.0
|
tosca_definitions_version: tosca_simple_yaml_1_0_0
|
||||||
|
|
||||||
node_types:
|
node_types:
|
||||||
tosca.nodes.WebApplication.WordPress:
|
tosca.nodes.WebApplication.WordPress:
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
tosca_definitions_version: tosca_simple_1.0
|
tosca_definitions_version: tosca_simple_yaml_1_0_0
|
||||||
|
|
||||||
node_types:
|
node_types:
|
||||||
tosca.nodes.SoftwareComponent.Collectd:
|
tosca.nodes.SoftwareComponent.Collectd:
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
tosca_definitions_version: tosca_simple_1.0
|
tosca_definitions_version: tosca_simple_yaml_1_0_0
|
||||||
|
|
||||||
dsl_definitions:
|
dsl_definitions:
|
||||||
search_api_port: &search_api_port
|
search_api_port: &search_api_port
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
tosca_definitions_version: tosca_simple_1.0
|
tosca_definitions_version: tosca_simple_yaml_1_0_0
|
||||||
|
|
||||||
node_types:
|
node_types:
|
||||||
tosca.nodes.SoftwareComponent.Kibana:
|
tosca.nodes.SoftwareComponent.Kibana:
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
tosca_definitions_version: tosca_simple_1.0
|
tosca_definitions_version: tosca_simple_yaml_1_0_0
|
||||||
|
|
||||||
node_types:
|
node_types:
|
||||||
tosca.nodes.SoftwareComponent.Logstash:
|
tosca.nodes.SoftwareComponent.Logstash:
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
tosca_definitions_version: tosca_simple_1.0
|
tosca_definitions_version: tosca_simple_yaml_1_0_0
|
||||||
|
|
||||||
node_types:
|
node_types:
|
||||||
tosca.nodes.SoftwareComponent.Nodejs:
|
tosca.nodes.SoftwareComponent.Nodejs:
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
tosca_definitions_version: tosca_simple_1.0
|
tosca_definitions_version: tosca_simple_yaml_1_0_0
|
||||||
|
|
||||||
node_types:
|
node_types:
|
||||||
tosca.nodes.SoftwareComponent.Rsyslog:
|
tosca.nodes.SoftwareComponent.Rsyslog:
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
tosca_definitions_version: tosca_simple_1.0
|
tosca_definitions_version: tosca_simple_yaml_1_0_0
|
||||||
|
|
||||||
node_types:
|
node_types:
|
||||||
tosca.nodes.WebApplication.WordPress:
|
tosca.nodes.WebApplication.WordPress:
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
tosca_definitions_version: tosca_simple_1.0
|
tosca_definitions_version: tosca_simple_yaml_1_0_0
|
||||||
|
|
||||||
description: >
|
description: >
|
||||||
Custom type and node definition used to test custom datatypes.
|
Custom type and node definition used to test custom datatypes.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
tosca_definitions_version: tosca_simple_1.0
|
tosca_definitions_version: tosca_simple_yaml_1_0_0
|
||||||
|
|
||||||
description: >
|
description: >
|
||||||
TOSCA templates used to test custom datatypes.
|
TOSCA templates used to test custom datatypes.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
tosca_definitions_version: tosca_simple_1.0
|
tosca_definitions_version: tosca_simple_yaml_1_0_0
|
||||||
|
|
||||||
description: >
|
description: >
|
||||||
TOSCA templates used to test custom datatypes.
|
TOSCA templates used to test custom datatypes.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
tosca_definitions_version: tosca_simple_1.0
|
tosca_definitions_version: tosca_simple_yaml_1_0_0
|
||||||
|
|
||||||
description: >
|
description: >
|
||||||
TOSCA templates used to test custom datatypes.
|
TOSCA templates used to test custom datatypes.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
tosca_definitions_version: tosca_simple_1.0
|
tosca_definitions_version: tosca_simple_yaml_1_0_0
|
||||||
|
|
||||||
description: >
|
description: >
|
||||||
TOSCA templates used to test custom datatypes.
|
TOSCA templates used to test custom datatypes.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
tosca_definitions_version: tosca_simple_1.0
|
tosca_definitions_version: tosca_simple_yaml_1_0_0
|
||||||
|
|
||||||
description: >
|
description: >
|
||||||
TOSCA template for testing get_attribute with HOST keyword.
|
TOSCA template for testing get_attribute with HOST keyword.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
tosca_definitions_version: tosca_simple_1.0
|
tosca_definitions_version: tosca_simple_yaml_1_0_0
|
||||||
|
|
||||||
description: >
|
description: >
|
||||||
TOSCA template for testing get_attribute with HOST keyword.
|
TOSCA template for testing get_attribute with HOST keyword.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
tosca_definitions_version: tosca_simple_1.0
|
tosca_definitions_version: tosca_simple_yaml_1_0_0
|
||||||
|
|
||||||
description: >
|
description: >
|
||||||
TOSCA template for testing get_attribute with HOST keyword.
|
TOSCA template for testing get_attribute with HOST keyword.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
tosca_definitions_version: tosca_simple_1.0
|
tosca_definitions_version: tosca_simple_yaml_1_0_0
|
||||||
|
|
||||||
description: >
|
description: >
|
||||||
Tosca template for testing unknown attribute name in get_attribute
|
Tosca template for testing unknown attribute name in get_attribute
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
tosca_definitions_version: tosca_simple_1.0
|
tosca_definitions_version: tosca_simple_yaml_1_0_0
|
||||||
|
|
||||||
description: >
|
description: >
|
||||||
Tosca template for testing unknown node template name in get_attribute
|
Tosca template for testing unknown node template name in get_attribute
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
tosca_definitions_version: tosca_simple_1.0
|
tosca_definitions_version: tosca_simple_yaml_1_0_0
|
||||||
|
|
||||||
description: >
|
description: >
|
||||||
Tosca template for testing an unknown capability property.
|
Tosca template for testing an unknown capability property.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
tosca_definitions_version: tosca_simple_1.0
|
tosca_definitions_version: tosca_simple_yaml_1_0_0
|
||||||
|
|
||||||
description: >
|
description: >
|
||||||
Tosca template for testing an unknown input.
|
Tosca template for testing an unknown input.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
tosca_definitions_version: tosca_simple_1.0
|
tosca_definitions_version: tosca_simple_yaml_1_0_0
|
||||||
|
|
||||||
description: >
|
description: >
|
||||||
Tosca template for testing an unknown input.
|
Tosca template for testing an unknown input.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
tosca_definitions_version: tosca_simple_1.0
|
tosca_definitions_version: tosca_simple_yaml_1_0_0
|
||||||
|
|
||||||
description: >
|
description: >
|
||||||
Tosca template for testing a template with no inputs.
|
Tosca template for testing a template with no inputs.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
tosca_definitions_version: tosca_simple_1.0
|
tosca_definitions_version: tosca_simple_yaml_1_0_0
|
||||||
|
|
||||||
description: >
|
description: >
|
||||||
Tosca template for testing a template with no outputs.
|
Tosca template for testing a template with no outputs.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
tosca_definitions_version: tosca_simple_1.0
|
tosca_definitions_version: tosca_simple_yaml_1_0_0
|
||||||
|
|
||||||
description: >
|
description: >
|
||||||
Test Requirements.
|
Test Requirements.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
tosca_definitions_version: tosca_simple_1.0
|
tosca_definitions_version: tosca_simple_yaml_1_0_0
|
||||||
|
|
||||||
description: >
|
description: >
|
||||||
TOSCA simple profile with short type name for Compute.
|
TOSCA simple profile with short type name for Compute.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
tosca_definitions_version: tosca_simple_1.0
|
tosca_definitions_version: tosca_simple_yaml_1_0_0
|
||||||
|
|
||||||
description: >
|
description: >
|
||||||
TOSCA simple profile with invalid top-level key: 'node_template'.
|
TOSCA simple profile with invalid top-level key: 'node_template'.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
tosca_definitions_version: tosca_simple_1.0
|
tosca_definitions_version: tosca_simple_yaml_1_0_0
|
||||||
|
|
||||||
description: >
|
description: >
|
||||||
TOSCA simple profile with nodejs, mongodb, elasticsearch, logstash, kibana, rsyslog and collectd.
|
TOSCA simple profile with nodejs, mongodb, elasticsearch, logstash, kibana, rsyslog and collectd.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
tosca_definitions_version: tosca_simple_1.0
|
tosca_definitions_version: tosca_simple_yaml_1_0_0
|
||||||
|
|
||||||
description: >
|
description: >
|
||||||
TOSCA simple profile with wordpress, web server and mysql on the same server.
|
TOSCA simple profile with wordpress, web server and mysql on the same server.
|
||||||
|
@ -34,7 +34,7 @@ class ToscaTemplateTest(TestCase):
|
|||||||
"data/tosca_elk.yaml")
|
"data/tosca_elk.yaml")
|
||||||
|
|
||||||
def test_version(self):
|
def test_version(self):
|
||||||
self.assertEqual(self.tosca.version, "tosca_simple_1.0")
|
self.assertEqual(self.tosca.version, "tosca_simple_yaml_1_0_0")
|
||||||
|
|
||||||
def test_description(self):
|
def test_description(self):
|
||||||
expected_description = "TOSCA simple profile with wordpress, " \
|
expected_description = "TOSCA simple profile with wordpress, " \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user