Rename packages from openecomp to onap.
[sdc.git] / common / onap-tosca-datatype / src / main / resources / globalTypes / tosca / policies.yml
1 #
2 # Licensed under the Apache License, Version 2.0 (the "License");
3 # you may not use this file except in compliance with the License.
4 # You may obtain a copy of the License at
5 #
6 #      http://www.apache.org/licenses/LICENSE-2.0
7 #
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 # See the License for the specific language governing permissions and
12 # limitations under the License.
13 #
14
15 tosca_definitions_version: tosca_simple_yaml_1_1
16
17 metadata:
18   filename: tosca/policies.yml
19   version: '1.0'
20
21 imports:
22 - tosca_index:
23     file: _index.yml
24
25 policy_types:
26   tosca.policies.Root:
27     description: This is the default (root) TOSCA Policy Type definition that all other TOSCA base Policy Types derive from.
28
29   tosca.policies.Update:
30     derived_from: tosca.policies.Root
31     description: This is the default (root) TOSCA Policy Type definition that is used to govern update of TOSCA nodes or groups of nodes.
32
33   tosca.policies.Placement:
34     derived_from: tosca.policies.Root
35     description: This is the default (root) TOSCA Policy Type definition that is used to govern placement of TOSCA nodes or groups of nodes.
36
37   tosca.policies.Performance:
38     derived_from: tosca.policies.Root
39     description: This is the default (root) TOSCA Policy Type definition that is used to declare performance requirements for TOSCA nodes or groups of nodes.
40
41   tosca.policies.Scaling:
42     derived_from: tosca.policies.Root
43     description: This is the default (root) TOSCA Policy Type definition that is used to govern scaling of TOSCA nodes or groups of nodes.