From d3438454879ec3f3c31ca8af2fc5903b7f8697ae Mon Sep 17 00:00:00 2001 From: Pamela Dragosh Date: Tue, 26 Mar 2019 11:19:12 -0400 Subject: Fix comments and add debugging Added some fixes from previous review and some debugging for the JUnits. The merge failed in the JUnits and I could not see why. I think the wrong request was sent, but I'm not sure why the JUnits woulnd't fail locally or in the verify job. We need to do a lot of testing with these policy translations. Also fixed the guard policies to use correct VF Module Create recipe. Issue-ID: POLICY-1273 Change-Id: I813bcca92436d356c43da5613eab7ba7746a4e3d Signed-off-by: Pamela Dragosh --- main/src/test/resources/decisions/decision.guard.shoulddeny.input.json | 2 +- main/src/test/resources/decisions/decision.guard.shoulddeny.input2.json | 2 +- .../src/test/resources/decisions/decision.guard.shouldpermit.input.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'main/src/test/resources/decisions') diff --git a/main/src/test/resources/decisions/decision.guard.shoulddeny.input.json b/main/src/test/resources/decisions/decision.guard.shoulddeny.input.json index 65d40c0a..5906382c 100644 --- a/main/src/test/resources/decisions/decision.guard.shoulddeny.input.json +++ b/main/src/test/resources/decisions/decision.guard.shoulddeny.input.json @@ -7,7 +7,7 @@ "resource": { "guard": { "actor": "SO", - "recipe": "scaleOut", + "recipe": "VF Module Create", "clname": "ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3", "operationCount" : "1" } diff --git a/main/src/test/resources/decisions/decision.guard.shoulddeny.input2.json b/main/src/test/resources/decisions/decision.guard.shoulddeny.input2.json index 29dfc3dc..a97fc16e 100644 --- a/main/src/test/resources/decisions/decision.guard.shoulddeny.input2.json +++ b/main/src/test/resources/decisions/decision.guard.shoulddeny.input2.json @@ -7,7 +7,7 @@ "resource": { "guard": { "actor": "SO", - "recipe": "scaleOut", + "recipe": "VF Module Create", "clname": "ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3", "vfCount" : "6" } diff --git a/main/src/test/resources/decisions/decision.guard.shouldpermit.input.json b/main/src/test/resources/decisions/decision.guard.shouldpermit.input.json index 92e933f7..a80a4cfa 100644 --- a/main/src/test/resources/decisions/decision.guard.shouldpermit.input.json +++ b/main/src/test/resources/decisions/decision.guard.shouldpermit.input.json @@ -7,7 +7,7 @@ "resource": { "guard": { "actor": "SO", - "recipe": "scaleOut", + "recipe": "VF Module Create", "clname": "ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3", "operationCount": "0", "vfCount": "1" -- cgit 1.2.3-korg