From 49ab84a916e96fde4fc39258fa10f8b5ce775f48 Mon Sep 17 00:00:00 2001 From: sebdet Date: Fri, 13 Mar 2020 15:27:41 -0700 Subject: Fix the legacy policies Fix the legacy policies not displayed in the UI properly due to the new PolicyModal dialog. Issue-ID: CLAMP-779 Signed-off-by: sebdet Change-Id: I8070d8c57e43c9a386e09475f0d377f91104aef1 --- .../versions/1.0.0?connectionTimeToLive=5000/.file | 8 ++++++-- .../versions/1.0.0?connectionTimeToLive=5000/.file | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) (limited to 'src/test/resources/http-cache/example') diff --git a/src/test/resources/http-cache/example/policy/api/v1/policytypes/onap.policies.controlloop.operational.common.Apex/versions/1.0.0?connectionTimeToLive=5000/.file b/src/test/resources/http-cache/example/policy/api/v1/policytypes/onap.policies.controlloop.operational.common.Apex/versions/1.0.0?connectionTimeToLive=5000/.file index 64ba559c1..7d694eb8b 100644 --- a/src/test/resources/http-cache/example/policy/api/v1/policytypes/onap.policies.controlloop.operational.common.Apex/versions/1.0.0?connectionTimeToLive=5000/.file +++ b/src/test/resources/http-cache/example/policy/api/v1/policytypes/onap.policies.controlloop.operational.common.Apex/versions/1.0.0?connectionTimeToLive=5000/.file @@ -71,6 +71,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: test entry_schema: type: string @@ -82,10 +84,14 @@ data_types: type: string description: The actor performing the operation. required: true + metadata: + clamp_possible_values: test operation: type: string description: The operation the actor is performing. required: true + metadata: + clamp_possible_values: test target: type: onap.datatype.controlloop.Target description: The resource the operation should be performed on. @@ -115,8 +121,6 @@ data_types: type: onap.datatype.controlloop.Actor description: The definition of the operation to be performed. required: true - metadata: - clamp_possible_values: test timeout: type: integer description: The amount of time for the actor to perform the operation. diff --git a/src/test/resources/http-cache/example/policy/api/v1/policytypes/onap.policies.controlloop.operational.common.Drools/versions/1.0.0?connectionTimeToLive=5000/.file b/src/test/resources/http-cache/example/policy/api/v1/policytypes/onap.policies.controlloop.operational.common.Drools/versions/1.0.0?connectionTimeToLive=5000/.file index 1c082b1ee..240009932 100644 --- a/src/test/resources/http-cache/example/policy/api/v1/policytypes/onap.policies.controlloop.operational.common.Drools/versions/1.0.0?connectionTimeToLive=5000/.file +++ b/src/test/resources/http-cache/example/policy/api/v1/policytypes/onap.policies.controlloop.operational.common.Drools/versions/1.0.0?connectionTimeToLive=5000/.file @@ -59,6 +59,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: test entry_schema: type: string @@ -70,10 +72,14 @@ data_types: type: string description: The actor performing the operation. required: true + metadata: + clamp_possible_values: test operation: type: string description: The operation the actor is performing. required: true + metadata: + clamp_possible_values: test target: type: onap.datatype.controlloop.Target description: The resource the operation should be performed on. @@ -103,8 +109,6 @@ data_types: type: onap.datatype.controlloop.Actor description: The definition of the operation to be performed. required: true - metadata: - clamp_possible_values: test timeout: type: integer description: The amount of time for the actor to perform the operation. -- cgit 1.2.3-korg