From f52871b8f5ed66924ae8c715788d0bc09c1518ac Mon Sep 17 00:00:00 2001 From: shangxdy Date: Mon, 15 Aug 2016 15:43:07 +0800 Subject: Add required definition in class of Input. As a template designer; I want to know if the parameters is missed when deploy a template, but currently there is not validation about the required parameters; So i add property in class of Input, and validate the require parameter. Note: the patch will submit to Openstack community too. JIRA:PARSER-88 Change-Id: I5763a18da4037b0f81a55b8c8d83414e685b03d2 Signed-off-by: shangxdy --- .../tests/data/tosca_single_instance_wordpress_with_url_import.yaml | 1 + 1 file changed, 1 insertion(+) (limited to 'tosca2heat/tosca-parser/toscaparser/tests/data/tosca_single_instance_wordpress_with_url_import.yaml') diff --git a/tosca2heat/tosca-parser/toscaparser/tests/data/tosca_single_instance_wordpress_with_url_import.yaml b/tosca2heat/tosca-parser/toscaparser/tests/data/tosca_single_instance_wordpress_with_url_import.yaml index e5f1580..5d41749 100644 --- a/tosca2heat/tosca-parser/toscaparser/tests/data/tosca_single_instance_wordpress_with_url_import.yaml +++ b/tosca2heat/tosca-parser/toscaparser/tests/data/tosca_single_instance_wordpress_with_url_import.yaml @@ -29,6 +29,7 @@ topology_template: db_root_pwd: type: string description: Root password for MySQL. + default: '12345678' db_port: type: PortDef description: Port for the MySQL database. -- cgit 1.2.3-korg