Add controlloop components to SDC design
[sdc.git] / catalog-be / src / main / resources / import / tosca / models / init / controlloop / tosca / policy-types / policyTypes.yml
1 tosca.policies.Root:
2   description: The TOSCA Policy Type all other TOSCA Policy Types derive from
3 tosca.policies.Placement:
4   derived_from: tosca.policies.Root
5   description: The TOSCA Policy Type definition that is used to govern placement of TOSCA
6     nodes or groups of nodes.
7 onap.policies.Monitoring:
8   derived_from: tosca.policies.Root
9   description: a base policy type for all policies that govern monitoring provisioning
10   version: 1.0.0
11   name: onap.policies.Monitoring
12 onap.policies.monitoring.dcae-pm-subscription-handler:
13   properties:
14     pmsh_policy:
15       name: pmsh_policy
16       type: onap.datatypes.monitoring.subscription
17       typeVersion: 0.0.0
18       description: PMSH Policy JSON
19       required: false
20       constraints: []
21       metadata: {}
22   name: onap.policies.monitoring.dcae-pm-subscription-handler
23   version: 1.0.0
24   derived_from: onap.policies.Monitoring
25   metadata: {}
26 onap.policies.controlloop.operational.Common:
27   derived_from: tosca.policies.Root
28   version: 1.0.0
29   name: onap.policies.controlloop.operational.Common
30   description: Operational Policy for Control Loop execution. Originated in Frankfurt to
31     support TOSCA Compliant Policy Types. This does NOT support the legacy Policy YAML policy type.
32   properties:
33     id:
34       type: string
35       description: The unique control loop id.
36       required: true
37     timeout:
38       type: integer
39       description: Overall timeout for executing all the operations. This timeout should
40         equal or exceed the total timeout for each operation listed.
41       required: true
42     abatement:
43       type: boolean
44       description: Whether an abatement event message will be expected for the control loop
45         from DCAE.
46       required: true
47       default: false
48     trigger:
49       type: string
50       description: Initial operation to execute upon receiving an Onset event message for
51         the Control Loop.
52       required: true
53     operations:
54       type: list
55       description: List of operations to be performed when Control Loop is triggered.
56       required: true
57       entry_schema:
58         type: onap.datatype.controlloop.Operation
59 onap.policies.controlloop.operational.common.Apex:
60   derived_from: onap.policies.controlloop.operational.Common
61   type_version: 1.0.0
62   version: 1.0.0
63   name: onap.policies.controlloop.operational.common.Apex
64   description: Operational policies for Apex PDP
65   properties:
66     engineServiceParameters:
67       type: string
68       description: The engine parameters like name, instanceCount, policy implementation,
69         parameters etc.
70       required: true
71     eventInputParameters:
72       type: string
73       description: The event input parameters.
74       required: true
75     eventOutputParameters:
76       type: string
77       description: The event output parameters.
78       required: true
79     javaProperties:
80       type: string
81       description: Name/value pairs of properties to be set for APEX if needed.
82       required: false