Fix JUnit Test for ControlLoops 35/8935/2
authordaniel <dc443y@att.com>
Mon, 28 Aug 2017 14:13:31 +0000 (09:13 -0500)
committerdaniel <dc443y@att.com>
Mon, 28 Aug 2017 16:03:14 +0000 (11:03 -0500)
commit98d04b5c4e9aa3f7dd40cd40cbd1b00689b0bc22
tree3f240e4f0484fc167edd73957aaeea67a3657f6f
parentd03507850e293674cc118f76bab0629d457179ae
Fix JUnit Test for ControlLoops

Fixed the test case by using getters and setters for Policy objects
in the drl. Added gson dependency in the pom to fix gson runtime errors.

Fixed dependencies in template.demo pom to add vfc.

The drl was having compilation errors in the guard permitted
rule due to the operation request object not being casted
into a VFCRequest when being passed into the VFCManager.

Issue-ID: POLICY-194
Change-Id: Id71c74ad9727ad942a683f63a0dfad3f22b6376b
Signed-off-by: Daniel Cruz <dc443y@att.com>
controlloop/templates/template.demo/pom.xml
controlloop/templates/template.demo/src/main/resources/ControlLoop_Template_xacml_guard.drl
controlloop/templates/template.demo/src/test/java/org/onap/policy/template/demo/ControlLoopXacmlGuardTest.java