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
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:
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