admin_password: { get_input: admin_password } db_endpoint_url: { get_property: [SELF, database_endpoint, url_path ] } requirements: - database_endpoint:my_abstract_databasemy_abstract_database: type: my.types.n
type: tosca.nodes.DBMS.MySQL properties: root_password: { get_input: mysql_rootpw } port: { get_input: mysql_port } requirements: - host: db_server db_server: # 略 这里的tosca.nodes.Database.MySQL表示一个MySQL数据库的实例。在artifacts的db_content里指定了一个文本文件,而这个文件将被interfa...
First, you will have to create one parent requirement as ‘Login’ and two child requirements to it as ‘User Name’ and ‘Password’. The first step is, go to the ‘Requirements’ section. You will see one folder already available there. This type of folder you will get in every secti...
admin_password: { get_input: admin_password } db_endpoint_url: { get_property: [SELF, database_endpoint, url_path ] } requirements: - database_endpoint:my_abstract_databasemy_abstract_database: type: my.types.nodes.MyDatabase properties: - db_version: { greater_or_equal: 5.5 } 节点模...