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