aboutsummaryrefslogtreecommitdiffstats
path: root/asdc-tests/src/test/resources/CI/components/normativeTypes/database/normative-types-database.yml
diff options
context:
space:
mode:
Diffstat (limited to 'asdc-tests/src/test/resources/CI/components/normativeTypes/database/normative-types-database.yml')
-rw-r--r--asdc-tests/src/test/resources/CI/components/normativeTypes/database/normative-types-database.yml41
1 files changed, 41 insertions, 0 deletions
diff --git a/asdc-tests/src/test/resources/CI/components/normativeTypes/database/normative-types-database.yml b/asdc-tests/src/test/resources/CI/components/normativeTypes/database/normative-types-database.yml
new file mode 100644
index 0000000000..38bf5d11db
--- /dev/null
+++ b/asdc-tests/src/test/resources/CI/components/normativeTypes/database/normative-types-database.yml
@@ -0,0 +1,41 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0_wd03
+
+template_name: tosca-normative-types-database
+template_author: TOSCA TC
+template_version: 1.0.0.wd03-SNAPSHOT
+
+description: Contains the normative types definition.
+imports:
+ - "tosca-normative-types-root:1.0.0.wd03-SNAPSHOT"
+ - "tosca-normative-types-DBMS:1.0.0.wd03-SNAPSHOT"
+
+node_types:
+ tosca.nodes.Database:
+ derived_from: tosca.nodes.Root
+ description: >
+ Base type for the schema and content associated with a DBMS.
+ The TOSCA Database node represents a logical database that can be managed and hosted by a TOSCA DBMS node.
+ tags:
+ icon: /images/relational_db.png
+ properties:
+ db_user:
+ type: string
+ required: false
+ description: The special user account used for database administration.
+ db_password:
+ type: string
+ required: false
+ description: The password associated with the user account provided in the ‘db_user’ property.
+ db_port:
+ type: integer
+ required: false
+ description: The port on which the underlying database service will listen to data.
+ db_name:
+ type: string
+ required: false
+ description: The logical name of the database.
+ requirements:
+ - host: tosca.nodes.DBMS
+ relationship_type: tosca.relationships.HostedOn
+ capabilities:
+ database_endpoint: tosca.capabilities.DatabaseEndpoint