Replace the hot template versoion of 2013-05-23 with 2014-10-16 17/22317/2
authorshangxdy <shang.xiaodong@zte.com.cn>
Thu, 22 Sep 2016 07:55:10 +0000 (15:55 +0800)
committerxiaodong shang <shang.xiaodong@zte.com.cn>
Fri, 30 Sep 2016 03:28:29 +0000 (03:28 +0000)
Currently the translated hot version is 2013-05-23, but there some
intrinsic function(such as get_attr) must be 2014-10-16 or higher in
order to support more parameters.
So it's necessary to update the hot template version.

JIRA:PARSER-110

Change-Id: I72f7b36ba0ed32cb9e6f092c0be2dd0dea3d2572
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
44 files changed:
tosca2heat/heat-translator/translator/hot/syntax/hot_template.py
tosca2heat/heat-translator/translator/tests/data/hot_output/hot_artifact.yaml
tosca2heat/heat-translator/translator/tests/data/hot_output/hot_custom_type.yaml
tosca2heat/heat-translator/translator/tests/data/hot_output/hot_custom_type_with_override.yaml
tosca2heat/heat-translator/translator/tests/data/hot_output/hot_custom_type_with_param_override.yaml
tosca2heat/heat-translator/translator/tests/data/hot_output/hot_elk.yaml
tosca2heat/heat-translator/translator/tests/data/hot_output/hot_elk_from_csar.yaml
tosca2heat/heat-translator/translator/tests/data/hot_output/hot_exchange_public_ssh_key.yaml
tosca2heat/heat-translator/translator/tests/data/hot_output/hot_flavor_and_image.yaml
tosca2heat/heat-translator/translator/tests/data/hot_output/hot_flavor_and_image_params.yaml
tosca2heat/heat-translator/translator/tests/data/hot_output/hot_get_functions_semantic.yaml
tosca2heat/heat-translator/translator/tests/data/hot_output/hot_hello_world.yaml
tosca2heat/heat-translator/translator/tests/data/hot_output/hot_hello_world_userkey.yaml
tosca2heat/heat-translator/translator/tests/data/hot_output/hot_host_assignment.yaml
tosca2heat/heat-translator/translator/tests/data/hot_output/hot_interface_on_compute.yaml
tosca2heat/heat-translator/translator/tests/data/hot_output/hot_nfv_sample.yaml
tosca2heat/heat-translator/translator/tests/data/hot_output/hot_nodejs_mongodb_two_instances.yaml
tosca2heat/heat-translator/translator/tests/data/hot_output/hot_policies.yaml
tosca2heat/heat-translator/translator/tests/data/hot_output/hot_script_types.yaml
tosca2heat/heat-translator/translator/tests/data/hot_output/hot_single_instance_wordpress.yaml
tosca2heat/heat-translator/translator/tests/data/hot_output/hot_single_instance_wordpress_from_csar.yaml
tosca2heat/heat-translator/translator/tests/data/hot_output/hot_single_object_store.yaml
tosca2heat/heat-translator/translator/tests/data/hot_output/hot_single_server.yaml
tosca2heat/heat-translator/translator/tests/data/hot_output/hot_single_server_with_defaults_with_input.yaml
tosca2heat/heat-translator/translator/tests/data/hot_output/hot_single_server_with_defaults_without_input.yaml
tosca2heat/heat-translator/translator/tests/data/hot_output/hot_single_server_without_tosca_os_version.yaml
tosca2heat/heat-translator/translator/tests/data/hot_output/hot_software_component.yaml
tosca2heat/heat-translator/translator/tests/data/hot_output/hot_vRNC.yaml
tosca2heat/heat-translator/translator/tests/data/hot_output/hot_web_application.yaml
tosca2heat/heat-translator/translator/tests/data/hot_output/network/hot_custom_network_nodes.yaml
tosca2heat/heat-translator/translator/tests/data/hot_output/network/hot_one_server_one_network.yaml
tosca2heat/heat-translator/translator/tests/data/hot_output/network/hot_one_server_three_networks.yaml
tosca2heat/heat-translator/translator/tests/data/hot_output/network/hot_server_on_existing_network.yaml
tosca2heat/heat-translator/translator/tests/data/hot_output/network/hot_two_servers_one_network.yaml
tosca2heat/heat-translator/translator/tests/data/hot_output/storage/hot_blockstorage_with_attachment.yaml
tosca2heat/heat-translator/translator/tests/data/hot_output/storage/hot_blockstorage_with_attachment_notation1_alt1.yaml
tosca2heat/heat-translator/translator/tests/data/hot_output/storage/hot_blockstorage_with_attachment_notation1_alt2.yaml
tosca2heat/heat-translator/translator/tests/data/hot_output/storage/hot_blockstorage_with_attachment_notation2_alt1.yaml
tosca2heat/heat-translator/translator/tests/data/hot_output/storage/hot_blockstorage_with_attachment_notation2_alt2.yaml
tosca2heat/heat-translator/translator/tests/data/hot_output/storage/hot_blockstorage_with_custom_relationship_type.yaml
tosca2heat/heat-translator/translator/tests/data/hot_output/storage/hot_blockstorage_with_relationship_template.yaml
tosca2heat/heat-translator/translator/tests/data/hot_output/storage/hot_multiple_blockstorage_with_attachment_alt1.yaml
tosca2heat/heat-translator/translator/tests/data/hot_output/storage/hot_multiple_blockstorage_with_attachment_alt2.yaml
tosca2heat/heat-translator/translator/tests/test_shell.py

index 4263c4d..c92d341 100644 (file)
@@ -28,7 +28,7 @@ class HotTemplate(object):
                ('heat_template_version', 'description', 'parameter_groups',
                 'parameters', 'resources', 'outputs', '__undefined__')
 
-    VERSIONS = (LATEST,) = ('2013-05-23',)
+    VERSIONS = (LATEST,) = ('2014-10-16',)
 
     def __init__(self):
         self.resources = []
index f60a1bb..e2b6855 100644 (file)
@@ -1,5 +1,5 @@
 
-heat_template_version: 2013-05-23
+heat_template_version: 2014-10-16
 
 description: >
   TOSCA template to test custom type with an interface defined on it
index 7d0a038..dbfe69e 100644 (file)
@@ -1,4 +1,4 @@
-heat_template_version: 2013-05-23
+heat_template_version: 2014-10-16
 
 description: >
   This TOSCA simple profile deploys nodejs, mongodb, elasticsearch, logstash and
index e5df8d2..258f3bf 100644 (file)
@@ -1,4 +1,4 @@
-heat_template_version: 2013-05-23
+heat_template_version: 2014-10-16
 
 description: >
   This TOSCA simple profile deploys nodejs, mongodb, elasticsearch, logstash and
index cb337d1..715ee3f 100644 (file)
@@ -1,4 +1,4 @@
-heat_template_version: 2013-05-23
+heat_template_version: 2014-10-16
 
 description: >
   Template for deploying a server with custom properties for image, flavor and key_name.
index 59a4f88..f6b3e8f 100644 (file)
@@ -1,4 +1,4 @@
-heat_template_version: 2013-05-23
+heat_template_version: 2014-10-16
 
 description: >
   Template for deploying a single server with predefined properties.
index d9b3bc0..3d431ae 100644 (file)
@@ -1,4 +1,4 @@
-heat_template_version: 2013-05-23
+heat_template_version: 2014-10-16
 
 description: >
   Template for deploying a single server with predefined properties.
index 786a2e9..d6ba13a 100644 (file)
@@ -1,4 +1,4 @@
-heat_template_version: 2013-05-23
+heat_template_version: 2014-10-16
 
 description: >
   Template for deploying the nodes based on given policies.
index f0f7021..7f2bc2c 100644 (file)
@@ -1,4 +1,4 @@
-heat_template_version: 2013-05-23
+heat_template_version: 2014-10-16
 
 description: >
   TOSCA template to test usage of different script types like Ansible and Puppet
index 44a53d0..3ed6d3a 100644 (file)
@@ -1,4 +1,4 @@
-heat_template_version: 2013-05-23
+heat_template_version: 2014-10-16
 
 description: >
   TOSCA simple profile that just defines a single compute instance and selects a
index 4f9d562..904189b 100644 (file)
@@ -1,4 +1,4 @@
-heat_template_version: 2013-05-23
+heat_template_version: 2014-10-16
 
 description: >
   TOSCA simple profile for RNC   1. Compute Node MM, CM, DM, LB...     1.1 MM:
index 595c058..ef8592d 100644 (file)
@@ -141,7 +141,7 @@ class ShellTest(TestCase):
                 'parameters': {},
                 'template': {
                     'outputs': {},
-                    'heat_template_version': '2013-05-23',
+                    'heat_template_version': '2014-10-16',
                     'description': 'Template for deploying a single server '
                                    'with predefined properties.\n',
                     'parameters': {},