Add code to publish to PDP 16/79216/4
authorJim Hahn <jrh3@att.com>
Tue, 26 Feb 2019 19:09:35 +0000 (14:09 -0500)
committerJim Hahn <jrh3@att.com>
Wed, 27 Feb 2019 15:41:41 +0000 (10:41 -0500)
commitb020843d050ece966c4652d00ff7dead897be917
tree7e35ca8956c1d80ed25764952d1093631e85b581
parent92eabbc64c1ea6f6bfe6df979ccc487e99e806be
Add code to publish to PDP

Added code to take an arbitrary object and send it to PDPs using a
topic sink.  Does not include the code or properties needed to
configure the topic.

Fixed method name - test case does not cover what the method name
implied.
Fixed some comments.

Add test to verify that the PdpClient works with a real TopicSink.

Moved coder classes to policy/common.

Change-Id: I4dec746b07d384c5d9d1449ca91fa39a4f680260
Issue-ID: POLICY-1444
Signed-off-by: Jim Hahn <jrh3@att.com>
main/pom.xml
main/src/main/java/org/onap/policy/pap/main/comm/PdpClient.java [new file with mode: 0644]
main/src/main/java/org/onap/policy/pap/main/comm/PdpClientException.java [new file with mode: 0644]
main/src/test/java/org/onap/policy/pap/main/comm/PdpClientExceptionTest.java [new file with mode: 0644]
main/src/test/java/org/onap/policy/pap/main/comm/PdpClientTest.java [new file with mode: 0644]
pom.xml