Add end-to-end junits for PAP REST API 43/85643/5
authorJim Hahn <jrh3@att.com>
Wed, 17 Apr 2019 19:30:46 +0000 (15:30 -0400)
committerJim Hahn <jrh3@att.com>
Fri, 19 Apr 2019 14:03:33 +0000 (10:03 -0400)
commit61355e15d46059f2b29689d2f0a9cc359cf0ddd5
treecd98643f7d305f41f9bbc66bd8809263a5882392
parent38a63dbe6ae17e8967a7218e54179733de3579d8
Add end-to-end junits for PAP REST API

Added test that checks sunny day scenarios for the PAP REST API.
Uses real PAP components for everything except DMaaP.  PDPs are
simulated.

Change-Id: If2adc3b1523b477c3efd3eb83fb7a7b04f40fa24
Issue-ID: POLICY-1670
Signed-off-by: Jim Hahn <jrh3@att.com>
27 files changed:
main/src/main/java/org/onap/policy/pap/main/comm/PdpModifyRequestMap.java
main/src/main/java/org/onap/policy/pap/main/startstop/Main.java
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/TestPdpParameters.java
main/src/test/java/org/onap/policy/pap/main/rest/CommonPapRestServer.java
main/src/test/java/org/onap/policy/pap/main/rest/e2e/End2EndBase.java [new file with mode: 0644]
main/src/test/java/org/onap/policy/pap/main/rest/e2e/End2EndContext.java [new file with mode: 0644]
main/src/test/java/org/onap/policy/pap/main/rest/e2e/HealthCheckTest.java [new file with mode: 0644]
main/src/test/java/org/onap/policy/pap/main/rest/e2e/PdpGroupDeleteTest.java [new file with mode: 0644]
main/src/test/java/org/onap/policy/pap/main/rest/e2e/PdpGroupDeployTest.java [new file with mode: 0644]
main/src/test/java/org/onap/policy/pap/main/rest/e2e/PdpGroupQueryTest.java [new file with mode: 0644]
main/src/test/java/org/onap/policy/pap/main/rest/e2e/PdpGroupStateChangeTest.java [new file with mode: 0644]
main/src/test/java/org/onap/policy/pap/main/rest/e2e/StatisticsTest.java [new file with mode: 0644]
main/src/test/resources/e2e/PapConfigParameters.json [new file with mode: 0644]
main/src/test/resources/e2e/createGroups.json [new file with mode: 0644]
main/src/test/resources/e2e/deleteGroup.json [new file with mode: 0644]
main/src/test/resources/e2e/deployPolicies.json [new file with mode: 0644]
main/src/test/resources/e2e/deployPoliciesReq.json [new file with mode: 0644]
main/src/test/resources/e2e/monitoring.policy-type.yaml [new file with mode: 0644]
main/src/test/resources/e2e/monitoring.policy.yaml [new file with mode: 0644]
main/src/test/resources/e2e/queryGroup.json [new file with mode: 0644]
main/src/test/resources/e2e/stateChangeGroupDeactivate.json [new file with mode: 0644]
main/src/test/resources/e2e/undeployPolicy.json [new file with mode: 0644]
main/src/test/resources/e2e/undeployPolicyVersion.json [new file with mode: 0644]
main/src/test/resources/logback-test.xml [new file with mode: 0644]
main/src/test/resources/parameters/PapConfigParametersStd.json [new file with mode: 0644]