From bc05a77ffd6fae3aaae8ddaddb7ceea3debd9fd0 Mon Sep 17 00:00:00 2001 From: "pramod.jamkhedkar" Date: Thu, 21 May 2020 23:55:10 -0400 Subject: 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 --- .../resources/requests/coordination.cl.1.node.1.json | 15 --------------- .../resources/requests/coordination.cl.1.node.2.json | 15 --------------- .../resources/requests/coordination.cl.2.node.1.json | 15 --------------- .../resources/requests/coordination.cl.2.node.2.json | 16 ---------------- 4 files changed, 61 deletions(-) delete mode 100644 applications/guard/src/test/resources/requests/coordination.cl.1.node.1.json delete mode 100644 applications/guard/src/test/resources/requests/coordination.cl.1.node.2.json delete mode 100644 applications/guard/src/test/resources/requests/coordination.cl.2.node.1.json delete mode 100644 applications/guard/src/test/resources/requests/coordination.cl.2.node.2.json (limited to 'applications/guard/src/test/resources/requests') 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" - } - } -} -- cgit 1.2.3-korg