Add dmaap connectivity check in pap 24/123524/4
authorRam Krishna Verma <ram_krishna.verma@bell.ca>
Tue, 24 Aug 2021 21:33:07 +0000 (17:33 -0400)
committerRam Krishna Verma <ram_krishna.verma@bell.ca>
Wed, 25 Aug 2021 13:00:00 +0000 (09:00 -0400)
commita978716f5f5a494276c88794c3d366a012479f0d
tree27ded16bb4f72d162b838426535618a70f0eac13
parent861dbc22855e93784eb2145daea7be9f189ad765
Add dmaap connectivity check in pap

Add dmaap connectivity check in pap consolidated health check.
Make a rest call to fetch all the topics.
Verify POLICY-PDP-PAP topic is present.

Issue-ID: POLICY-2896
Change-Id: Ide39c70999eaca61205225c95b904e3009d41408
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
main/src/main/java/org/onap/policy/pap/main/rest/DmaapGetTopicResponse.java [new file with mode: 0644]
main/src/main/java/org/onap/policy/pap/main/rest/PolicyComponentsHealthCheckProvider.java
main/src/test/java/org/onap/policy/pap/main/rest/TestPolicyComponentsHealthCheckProvider.java
main/src/test/resources/parameters/PapConfigParameters.json
main/src/test/resources/parameters/PapConfigParametersStd.json
packages/policy-pap-tarball/src/main/resources/etc/defaultConfig.json