aboutsummaryrefslogtreecommitdiffstats
path: root/asdc-tests/src/test/resources/CI/components/normativeTypes/database/normative-types-database.yml
blob: 38bf5d11db35219cd71a6e4d9b10428f50461dd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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