diff options
author | pramod.jamkhedkar <pramod@research.att.com> | 2020-05-21 23:55:10 -0400 |
---|---|---|
committer | pramod.jamkhedkar <pramod@research.att.com> | 2020-05-26 07:48:23 -0400 |
commit | bc05a77ffd6fae3aaae8ddaddb7ceea3debd9fd0 (patch) | |
tree | 73db77b372a8afb8509027bdcf94c1defd6f54b2 /applications/guard/src/test/resources | |
parent | 18ad358dcefcc173638a944dbf7fd76833f8dd0c (diff) |
Change CLC logic for updated OPHist DB entries.
Change the CLC policy logic to match the udpate Operations History DB
rules. Now if a record has outcome = Started, it is considered
to be in progress. Else it is considered to be complete.
Issue-ID: POLICY-2583
Change-Id: If3f626bfec2d0656e43a26929107f68ff27af020
Signed-off-by: pramod.jamkhedkar <pramod@research.att.com>
Diffstat (limited to 'applications/guard/src/test/resources')
5 files changed, 0 insertions, 76 deletions
diff --git a/applications/guard/src/test/resources/requests/coordination.cl.1.node.1.json b/applications/guard/src/test/resources/requests/coordination.cl.1.node.1.json deleted file mode 100644 index dd461005..00000000 --- a/applications/guard/src/test/resources/requests/coordination.cl.1.node.1.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "ONAPName": "Policy", - "ONAPComponent": "drools-pdp", - "ONAPInstance": "usecase-template", - "requestId": "unique-request-id-47", - "action": "guard", - "resource": { - "guard": { - "actor": "SDNR", - "recipe": "Tilt", - "clname": "cl1", - "target": "node1" - } - } -} diff --git a/applications/guard/src/test/resources/requests/coordination.cl.1.node.2.json b/applications/guard/src/test/resources/requests/coordination.cl.1.node.2.json deleted file mode 100644 index dbd3a53a..00000000 --- a/applications/guard/src/test/resources/requests/coordination.cl.1.node.2.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "ONAPName": "Policy", - "ONAPComponent": "drools-pdp", - "ONAPInstance": "usecase-template", - "requestId": "unique-request-id-4712", - "action": "guard", - "resource": { - "guard": { - "actor": "SDNR", - "recipe": "Tilt", - "clname": "cl1", - "target": "node2" - } - } -} diff --git a/applications/guard/src/test/resources/requests/coordination.cl.2.node.1.json b/applications/guard/src/test/resources/requests/coordination.cl.2.node.1.json deleted file mode 100644 index edccc45b..00000000 --- a/applications/guard/src/test/resources/requests/coordination.cl.2.node.1.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "ONAPName": "Policy", - "ONAPComponent": "drools-pdp", - "ONAPInstance": "usecase-template", - "requestId": "unique-request-id-6877", - "action": "guard", - "resource": { - "guard": { - "actor": "SDNR", - "recipe": "Tilt", - "clname": "cl2", - "target": "node1" - } - } -} diff --git a/applications/guard/src/test/resources/requests/coordination.cl.2.node.2.json b/applications/guard/src/test/resources/requests/coordination.cl.2.node.2.json deleted file mode 100644 index c1401f22..00000000 --- a/applications/guard/src/test/resources/requests/coordination.cl.2.node.2.json +++ /dev/null @@ -1,16 +0,0 @@ - -{ - "ONAPName": "Policy", - "ONAPComponent": "drools-pdp", - "ONAPInstance": "usecase-template", - "requestId": "unique-request-id-6837", - "action": "guard", - "resource": { - "guard": { - "actor": "SDNR", - "recipe": "Tilt", - "clname": "cl2", - "target": "node2" - } - } -} diff --git a/applications/guard/src/test/resources/test.policy.guard.coordination.firstBlocksSecond.tosca.yaml b/applications/guard/src/test/resources/test.policy.guard.coordination.firstBlocksSecond.tosca.yaml deleted file mode 100644 index a42103ef..00000000 --- a/applications/guard/src/test/resources/test.policy.guard.coordination.firstBlocksSecond.tosca.yaml +++ /dev/null @@ -1,15 +0,0 @@ -tosca_definitions_version: tosca_simple_yaml_1_0_0 -topology_template: - policies: - - - guard.coordination.firstBlocksSecond.test: - type: onap.policies.controlloop.guard.coordination.FirstBlocksSecond - type_version: 1.0.0 - version: 1.0.0 - metadata: - policy-id : guard.coordination.firstBlocksSecond.test - policy-version: 1 - properties: - controlLoop: - - cl1 - - cl2 |