Fix for radio buttons
[sdc.git] / asdc-tests / src / test / resources / CI / importResource / capabilityTypes.yml
1 tosca.capabilities.Root: 
2   description: The TOSCA root Capability Type all other TOSCA base Capability Types derive from
3 tosca.capabilities.Attachment:
4   derived_from: tosca.capabilities.Root
5 tosca.capabilities.Node:
6   derived_from: tosca.capabilities.Root
7 tosca.capabilities.Container:
8   derived_from: tosca.capabilities.Root
9   properties:
10     num_cpus: 
11       type: integer
12       required: false
13       constraints:
14         - greater_or_equal: 1
15     cpu_frequency:
16       type: scalar-unit.frequency
17       required: false
18       constraints:
19         - greater_or_equal: 0.1 GHz
20     disk_size: 
21       type: scalar-unit.size
22       required: false
23       constraints:
24         - greater_or_equal: 0 MB
25     mem_size: 
26       type: scalar-unit.size
27       required: false
28       constraints:
29         - greater_or_equal: 0 MB
30 tosca.capabilities.Endpoint:
31   derived_from: tosca.capabilities.Root
32   properties:
33     protocol:
34       type: string
35       default: tcp
36     port:
37       type: PortDef
38       required: false
39     secure:
40       type: boolean
41       default: false
42     url_path: 
43       type: string
44       required: false
45     port_name: 
46       type: string
47       required: false
48     network_name:
49       type: string
50       required: false 
51       default: PRIVATE
52     initiator:
53       type: string
54       default: source
55       constraints:
56         - valid_values: [ source, target, peer ]
57     ports:
58       type: map
59       required: false
60       constraints:
61         - min_length: 1
62       entry_schema:
63         type: PortSpec
64   attributes:
65     ip_address:
66       type: string
67 tosca.capabilities.DatabaseEndpoint:
68   derived_from: tosca.capabilities.Endpoint
69 tosca.capabilities.Endpoint.Public:
70   derived_from: tosca.capabilities.Endpoint
71   properties:
72     # Change the default network_name to use the first public network found
73     network_name: PUBLIC
74     floating:
75       description: > 
76         indicates that the public address should be allocated from a pool of floating IPs that are associated with the network.
77       type: boolean
78       default: false
79       status: experimental
80     dns_name:
81       description: The optional name to register with DNS 
82       type: string
83       required: false    
84       status: experimental
85 tosca.capabilities.Endpoint.Admin:
86   derived_from: tosca.capabilities.Endpoint
87   # Change Endpoint secure indicator to true from its default of false
88   properties:
89     secure: true
90 tosca.capabilities.Endpoint.Database:
91   derived_from: tosca.capabilities.Endpoint 
92 tosca.capabilities.OperatingSystem:
93   derived_from: tosca.capabilities.Root
94   properties:
95     architecture:
96       type: string
97       required: false 
98     type:
99       type: string
100       required: false
101     distribution:
102       type: string
103       required: false
104     version:
105       type: version
106       required: false
107 tosca.capabilities.Scalable:
108   derived_from: tosca.capabilities.Root
109   properties:
110     min_instances:
111       type: integer
112       default: 1
113     max_instances:
114       type: integer
115       default: 1
116     default_instances:
117       type: integer
118 tosca.capabilities.network.Bindable:
119   derived_from: tosca.capabilities.Node
120
121
122 tosca.capabilities.Container.Docker:
123   derived_from: tosca.capabilities.Container
124   properties:
125     version:
126       type: list
127       required: false
128       entry_schema: version
129     publish_all:
130       type: boolean
131       default: false
132       required: false
133     publish_ports:
134       type: list
135       entry_schema: PortSpec
136       required: false
137     expose_ports:
138       type: list
139       entry_schema: PortSpec
140       required: false
141     volumes:
142       type: list
143       entry_schema: string
144       required: false
145 tosca.capabilities.network.Linkable:
146   derived_from: tosca.capabilities.Root
147
148