dd0abee72279c0f67a06731f76e734f6dd24a75a
[sdc.git] / catalog-be / src / main / resources / import / tosca / models / init / acm / tosca / node-types / nodeTypes.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_2
2 description: ETSI NFV SOL 001 Root node type definitions version 2.5.1
3
4 node_types:
5   tosca.nodes.Root:
6     description: The TOSCA Node Type all other TOSCA base Node Types derive from
7     attributes:
8       tosca_id:
9         type: string
10       tosca_name:
11         type: string
12       state:
13         type: string
14     capabilities:
15       feature:
16         type: tosca.capabilities.Node
17     requirements:
18       - dependency:
19           capability: tosca.capabilities.Node
20           node: tosca.nodes.Root
21           relationship: tosca.relationships.DependsOn
22           occurrences: [ 0, UNBOUNDED ]
23     interfaces:
24       Standard:
25         type: tosca.interfaces.node.lifecycle.Standard
26   org.onap.policy.clamp.acm.Participant:
27     derived_from: tosca.nodes.Root
28     properties:
29       provider:
30         type: string
31         description: Provider of the participant
32         required: false
33       version:
34         type: string
35         description: Identifies the version of the participant.
36         required: true
37   org.onap.policy.clamp.acm.AutomationCompositionElement:
38     derived_from: tosca.nodes.Root
39     properties:
40       provider:
41         type: string
42         required: false
43         metadata:
44           common: true
45         description: Specifies the organization that provides the automation composition element
46       version:
47         type: string
48         description: Identifies the version of the AutomationCompositionElement.
49         required: true
50       participant_id:
51         type: string
52         required: true
53         metadata:
54           common: true
55       participantType:
56         type: string
57         required: true
58         metadata:
59           common: true
60         description: The identity of the participant type that hosts this type of Automation Composition Element
61       startPhase:
62         type: integer
63         required: false
64         constraints:
65           - greater_or_equal: 0
66         metadata:
67           common: true
68         description: A value indicating the start phase in which this automation composition element will be started, the
69           first start phase is zero. Automation Composition Elements are started in their start_phase order and stopped
70           in reverse start phase order. Automation Composition Elements with the same start phase are started and
71           stopped simultaneously
72       uninitializedToPassiveTimeout:
73         type: integer
74         required: false
75         constraints:
76           - greater_or_equal: 0
77         default: 60
78         metadata:
79           common: true
80         description: The maximum time in seconds to wait for a state chage from uninitialized to passive
81       passiveToRunningTimeout:
82         type: integer
83         required: false
84         constraints:
85           - greater_or_equal: 0
86         default: 60
87         metadata:
88           common: true
89         description: The maximum time in seconds to wait for a state chage from passive to running
90       runningToPassiveTimeout:
91         type: integer
92         required: false
93         constraints:
94           - greater_or_equal: 0
95         default: 60
96         metadata:
97           common: true
98         description: The maximum time in seconds to wait for a state chage from running to passive
99       passiveToUninitializedTimeout:
100         type: integer
101         required: false
102         constraints:
103           - greater_or_equal: 0
104         default: 60
105         metadata:
106           common: true
107         description: The maximum time in seconds to wait for a state chage from passive to uninitialized
108   org.onap.policy.clamp.acm.AutomationComposition:
109     derived_from: tosca.nodes.Root
110     properties:
111       provider:
112         type: string
113         required: false
114         metadata:
115           common: true
116         description: Specifies the organization that provides the automation composition element
117       version:
118         type: string
119         description: Identifies the version of the participant.
120         required: true
121       elements:
122         type: list
123         required: true
124         metadata:
125           common: true
126         entry_schema:
127           type: string
128         description: Specifies a list of automation composition element definitions that make up this automation composition definition
129   org.onap.policy.clamp.acm.PolicyAutomationCompositionElement:
130     derived_from: org.onap.policy.clamp.acm.AutomationCompositionElement
131     properties:
132       policy_type_id:
133         type: string
134         required: true
135       policy_id:
136         type: string
137         required: false
138       version:
139         type: string
140         description: Identifies the version of the participant.
141         required: true
142   org.onap.policy.clamp.acm.CDSAutomationCompositionElement:
143     derived_from: org.onap.policy.clamp.acm.AutomationCompositionElement
144     properties:
145       cds_blueprint_id:
146         type: string
147         required: true
148       version:
149         type: string
150         description: Identifies the version of the participant.
151         required: true
152   org.onap.policy.clamp.acm.K8SMicroserviceAutomationCompositionElement:
153     derived_from: org.onap.policy.clamp.acm.AutomationCompositionElement
154     properties:
155       chart:
156         type: string
157         required: true
158       configs:
159         type: list
160         required: false
161       requirements:
162         type: string
163         required: false
164       templates:
165         type: list
166         required: false
167         entry_schema:
168       values:
169         type: string
170         required: true
171       version:
172         type: string
173         description: Identifies the version of the participant.
174         required: true
175   org.onap.policy.clamp.acm.HttpAutomationCompositionElement:
176     derived_from: org.onap.policy.clamp.acm.AutomationCompositionElement
177     properties:
178       baseUrl:
179         type: string
180         required: true
181         description: The base URL to be prepended to each path, identifies the host for the REST endpoints.
182       httpHeaders:
183         type: map
184         required: false
185         entry_schema:
186           type: string
187         description: HTTP headers to send on REST requests
188       configurationEntities:
189         type: map
190         required: true
191         entry_schema:
192           type: string
193           typeVersion: 1.0.0
194         description: The connfiguration entities the Automation Composition Element is managing and their associated REST requests
195       version:
196         type: string
197         description: Identifies the version of the participant.
198         required: true