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