Add PDP Group Deploy and Delete REST API stubs 99/79799/6
authorJim Hahn <jrh3@att.com>
Tue, 12 Mar 2019 15:53:22 +0000 (11:53 -0400)
committerJim Hahn <jrh3@att.com>
Wed, 13 Mar 2019 20:26:27 +0000 (16:26 -0400)
commit4a3cfdff6285a516f1e05d4cebd748ea623177e5
tree326e5d97e6e731d93ef355cc441295a9cf67ba16
parentd8e7fa11c3bab410f41a4161f9f736eab5b2e3ec
Add PDP Group Deploy and Delete REST API stubs

Note: this will not build until the models-pap code has been added.

Added PDP group Delete methods, with and without version.

Added checks for OK status codes.

Added topic configuration.
Still does not have the "simplified" PDP Group deploy/undeploy.
Still won't build without "Move PDP Group classes to concepts subdirectory".

Will add junit tests for code changes in another review.
Updated comments about unlocking after updates.
Made ServiceManager final.
Included topic start/stop actions.
Fixed parameter comment.
Removed unneeded parameters from json files.
Fixed argument test in shell script.
Updated licenses.

Change-Id: I6176d51918ae758e04fb68562dc9ca70534137d4
Issue-ID: POLICY-1542
Signed-off-by: Jim Hahn <jrh3@att.com>
32 files changed:
main/pom.xml
main/src/main/java/org/onap/policy/pap/main/comm/PdpClient.java [deleted file]
main/src/main/java/org/onap/policy/pap/main/comm/PdpClientException.java [deleted file]
main/src/main/java/org/onap/policy/pap/main/parameters/PapParameterGroup.java
main/src/main/java/org/onap/policy/pap/main/parameters/RestServerParameters.java
main/src/main/java/org/onap/policy/pap/main/rest/PapRestControllerV1.java
main/src/main/java/org/onap/policy/pap/main/rest/PapRestServer.java
main/src/main/java/org/onap/policy/pap/main/rest/PdpGroupDeleteControllerV1.java [new file with mode: 0644]
main/src/main/java/org/onap/policy/pap/main/rest/PdpGroupDeleteProvider.java [new file with mode: 0644]
main/src/main/java/org/onap/policy/pap/main/rest/PdpGroupDeployControllerV1.java [new file with mode: 0644]
main/src/main/java/org/onap/policy/pap/main/rest/PdpGroupDeployProvider.java [new file with mode: 0644]
main/src/main/java/org/onap/policy/pap/main/startstop/Main.java
main/src/main/java/org/onap/policy/pap/main/startstop/PapActivator.java
main/src/main/java/org/onap/policy/pap/main/startstop/PapCommandLineArguments.java
main/src/test/java/org/onap/policy/pap/main/comm/PdpClientExceptionTest.java [deleted file]
main/src/test/java/org/onap/policy/pap/main/comm/PdpClientTest.java [deleted file]
main/src/test/java/org/onap/policy/pap/main/parameters/CommonTestData.java
main/src/test/java/org/onap/policy/pap/main/parameters/TestPapParameterGroup.java
main/src/test/java/org/onap/policy/pap/main/parameters/TestPapParameterHandler.java
main/src/test/java/org/onap/policy/pap/main/rest/CommonPapRestServer.java
main/src/test/java/org/onap/policy/pap/main/rest/PapRestControllerV1Test.java [new file with mode: 0644]
main/src/test/java/org/onap/policy/pap/main/rest/TestHealthCheckRestControllerV1.java
main/src/test/java/org/onap/policy/pap/main/rest/TestPdpGroupDeleteControllerV1.java [new file with mode: 0644]
main/src/test/java/org/onap/policy/pap/main/rest/TestPdpGroupDeployControllerV1.java [new file with mode: 0644]
main/src/test/java/org/onap/policy/pap/main/rest/TestStatisticsRestControllerV1.java
main/src/test/java/org/onap/policy/pap/main/startstop/TestMain.java
main/src/test/java/org/onap/policy/pap/main/startstop/TestPapActivator.java
main/src/test/resources/parameters/topic.properties [new file with mode: 0644]
packages/policy-pap-docker/src/main/docker/policy-pap.sh
packages/policy-pap-tarball/src/main/package/tarball/assembly.xml
packages/policy-pap-tarball/src/main/resources/etc/topic.properties [new file with mode: 0644]
pom.xml