Adding 'name' to yamls and json in model
[policy/models.git] / models-examples / src / main / resources / policytypes / onap.policies.controlloop.guard.Common.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_1_0
2 policy_types:
3     onap.policies.controlloop.guard.Common:
4         derived_from: tosca.policies.Root
5         version: 1.0.0
6         name: onap.policies.controlloop.guard.Common
7         description: |
8             This is the base Policy Type for Guard policies that guard the execution of Operational
9             Policies.
10         properties:
11             actor:
12                 type: string
13                 description: Specifies the Actor the guard applies to.
14                 required: true
15             operation:
16                 type: string
17                 description: Specified the operation that the actor is performing the guard applies to.
18                 required: true
19             timeRange:
20                 type: tosca.datatypes.TimeInterval
21                 description: |
22                     An optional range of time during the day the guard policy is valid for.
23                 required: false
24             id:
25                 type: string
26                 description: The Control Loop id this applies to.
27                 required: false