summaryrefslogtreecommitdiffstats
path: root/models-examples/src
diff options
context:
space:
mode:
authorsebdet <sebastien.determe@intl.att.com>2020-03-25 08:21:57 -0700
committersebdet <sebastien.determe@intl.att.com>2020-03-25 08:33:05 -0700
commite9f357b2f64dc1cf99df2d9662f9292e4c047dd2 (patch)
tree02a7b1191b13f3627a453cd8f50cdaf0343d371e /models-examples/src
parent1eb7ac4a2cbe1006849bde7c20c702ebb937040c (diff)
Change metadata for clamp
Update metadata form clamp in the operational common model, so that it helps the user in the UI. Issue-ID: CLAMP-786 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ib44391bd58a478558c3881243839b65cf2b1846d
Diffstat (limited to 'models-examples/src')
-rw-r--r--models-examples/src/main/resources/policytypes/onap.policies.controlloop.operational.Common.yaml12
1 files changed, 8 insertions, 4 deletions
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 4f3723b0b..c442e4afc 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
@@ -50,6 +50,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 +63,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/operations
required: true
target:
type: onap.datatype.controlloop.Target
description: The resource the operation should be performed on.
required: true
- metadata:
- clamp_possible_values: <string:see clamp project for syntax>
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 +100,6 @@ data_types:
type: onap.datatype.controlloop.Actor
description: The definition of the operation to be performed.
required: true
- metadata:
- clamp_possible_values: <string:see clamp project for syntax>
timeout:
type: integer
description: The amount of time for the actor to perform the operation.