X-Git-Url: https://gerrit.onap.org/r/gitweb?p=policy%2Fmodels.git;a=blobdiff_plain;f=models-examples%2Fsrc%2Fmain%2Fresources%2Fpolicytypes%2Fonap.policies.controlloop.operational.Common.yaml;h=fe6f974bb98a90e2e41639621ba35cc853679ee5;hp=4a918bef1a48cec34a554a4dcfc3928b7dda3db4;hb=HEAD;hpb=ba3a17c58088a016b3ed2948b0c33502fdbc84ec diff --git a/models-examples/src/main/resources/policytypes/onap.policies.controlloop.operational.Common.yaml b/models-examples/src/main/resources/policytypes/onap.policies.controlloop.operational.Common.yaml index 4a918bef1..fe6f974bb 100644 --- a/models-examples/src/main/resources/policytypes/onap.policies.controlloop.operational.Common.yaml +++ b/models-examples/src/main/resources/policytypes/onap.policies.controlloop.operational.Common.yaml @@ -1,8 +1,9 @@ -tosca_definitions_version: tosca_simple_yaml_1_0_0 +tosca_definitions_version: tosca_simple_yaml_1_1_0 policy_types: 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. @@ -50,6 +51,8 @@ data_types: Map of values that identify the resource. If none are provided, it is assumed that the entity that generated the ONSET event will be the target. required: false + metadata: + clamp_possible_values: ClampExecution:CSAR_RESOURCES entry_schema: type: string @@ -61,20 +64,24 @@ data_types: type: string description: The actor performing the operation. required: true + metadata: + clamp_possible_values: Dictionary:DefaultActors,ClampExecution:CDS/actor operation: type: string description: The operation the actor is performing. + metadata: + clamp_possible_values: Dictionary:DefaultOperations,ClampExecution:CDS/operation required: true target: type: onap.datatype.controlloop.Target description: The resource the operation should be performed on. required: true - metadata: - clamp_possible_values: payload: type: map description: Name/value pairs of payload information passed by Policy to the actor required: false + metadata: + clamp_possible_values: ClampExecution:CDS/payload entry_schema: type: string @@ -94,8 +101,6 @@ data_types: type: onap.datatype.controlloop.Actor description: The definition of the operation to be performed. required: true - metadata: - clamp_possible_values: timeout: type: integer description: The amount of time for the actor to perform the operation.