Add mock AAI endpoint for jUnit testing 27/9727/2
authorCharles Cole <cc847m@att.com>
Thu, 31 Aug 2017 14:55:52 +0000 (09:55 -0500)
committerCharles Cole <cc847m@att.com>
Thu, 31 Aug 2017 19:50:55 +0000 (14:50 -0500)
commitf8a0665b7e1b3724bb43d81e9eae3bff4a0c7069
tree92ff696eb6a3f69efceb76d4780c06f30c25f605
parente48570375ddc7a524f9208e62487e1597afd06da
Add mock AAI endpoint for jUnit testing

Created an AAI endpoint for use in jUnit testing of closed loops.
Added unit tests for my endpoint.
Added methods to Util in template.demo to support creation of AAI
endpoints and kieSessions.

Issue-ID: POLICY-101
Change-Id: I8e110b79f4c2ca700b29dcb29e9828303772d56d
Signed-off-by: Charles Cole <cc847m@att.com>
controlloop/templates/template.demo/pom.xml
controlloop/templates/template.demo/src/test/java/org/onap/policy/template/demo/AaiSimulator.java [new file with mode: 0644]
controlloop/templates/template.demo/src/test/java/org/onap/policy/template/demo/AaiSimulatorTest.java [new file with mode: 0644]
controlloop/templates/template.demo/src/test/java/org/onap/policy/template/demo/ControlLoopXacmlGuardTest.java
controlloop/templates/template.demo/src/test/java/org/onap/policy/template/demo/Util.java
pom.xml