Add demo for Control Loop Coordination. 73/66773/2
authorJoshua Reich <jreich@research.att.com>
Fri, 14 Sep 2018 18:38:01 +0000 (11:38 -0700)
committerJoshua Reich <jreich@research.att.com>
Tue, 18 Sep 2018 05:35:09 +0000 (22:35 -0700)
commitfaf283066f186838665ed5c38c1ba8319041bc1c
treebaecbf025374a4e120de5b9ddf405b26cb6e5d75
parente3357d24078195756c8e16fc0da8aa8d1e507290
Add demo for Control Loop Coordination.

New PipEngine and Junit test added to guard.
Also bug in existing Junit test fixed.

All other code added to new directory template.demo.clc

Change-Id: Ida2267528bcb9404dc59ff391d45797b591814cc
Issue-ID: POLICY-1109
Signed-off-by: Joshua Reich <jreich@research.att.com>
18 files changed:
controlloop/common/guard/src/main/java/org/onap/policy/guard/PipEngineGetHistory.java [moved from controlloop/common/guard/src/main/java/org/onap/policy/guard/PIPEngineGetHistory.java with 99% similarity]
controlloop/common/guard/src/main/java/org/onap/policy/guard/PipEngineGetStatus.java [new file with mode: 0644]
controlloop/common/guard/src/test/java/org/onap/policy/guard/PipEngineGetHistoryTest.java
controlloop/common/guard/src/test/java/org/onap/policy/guard/PipEngineGetStatusTest.java [new file with mode: 0644]
controlloop/templates/pom.xml
controlloop/templates/template.demo.clc/README.md [new file with mode: 0644]
controlloop/templates/template.demo.clc/pom.xml [new file with mode: 0644]
controlloop/templates/template.demo.clc/src/main/java/org/onap/policy/guard/CallGuardTaskEmbedded.java [new file with mode: 0644]
controlloop/templates/template.demo.clc/src/main/java/org/onap/policy/guard/PolicyGuardXacmlHelperEmbedded.java [new file with mode: 0644]
controlloop/templates/template.demo.clc/src/main/resources/__closedLoopControlName__.drl [new file with mode: 0644]
controlloop/templates/template.demo.clc/src/test/java/org/onap/policy/template/demo/clc/ControlLoopCoordinationTest.java [new file with mode: 0644]
controlloop/templates/template.demo.clc/src/test/java/org/onap/policy/template/demo/clc/Util.java [new file with mode: 0644]
controlloop/templates/template.demo.clc/src/test/resources/META-INF/persistence.xml [new file with mode: 0644]
controlloop/templates/template.demo.clc/src/test/resources/xacml/synthetic_control_loop_one_blocks_synthetic_control_loop_two.xml [new file with mode: 0644]
controlloop/templates/template.demo.clc/src/test/resources/xacml/xacml_guard_clc.properties [new file with mode: 0644]
controlloop/templates/template.demo.clc/src/test/resources/yaml/policy_ControlLoop_SyntheticOne.yaml [new file with mode: 0644]
controlloop/templates/template.demo.clc/src/test/resources/yaml/policy_ControlLoop_SyntheticTwo.yaml [new file with mode: 0644]
controlloop/templates/template.demo/src/test/resources/xacml/xacml_guard.properties