Add output validation for substitution mappings
[parser.git] / tosca2heat / tosca-parser / toscaparser / tests / data / topology_template / databasesubsystem.yaml
index 22eb259..6990679 100644 (file)
@@ -12,15 +12,15 @@ topology_template:
   description: Template of a database including its hosting stack.
 
   inputs:
-    db_user:
+    user:
       type: string
       description: the user name of database.
       default: test
-    db_port:
+    port:
       type: integer
       description: the port of database.
       default: 3306
-    db_name:
+    name:
       type: string
       description: the name of database.
       default: test
@@ -40,9 +40,9 @@ topology_template:
     db_app:
       type: tosca.nodes.Database
       properties:
-        user: { get_input: db_user }
-        port: { get_input: db_port }
-        name: { get_input: db_name }
+        user: { get_input: user }
+        port: { get_input: port }
+        name: { get_input: name }
       capabilities:
         database_endpoint:
           properties:
@@ -75,10 +75,10 @@ topology_template:
             distribution: Ubuntu
             version: 14.04
 
-  outputs:
-    receiver_ip:
-      description: private IP address of the database application
-      value: { get_attribute: [ server, private_address ] }
+#  outputs:
+#    receiver_ip:
+#      description: private IP address of the database 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