Use request id instead of PDP name in listener 41/79741/5
authorJim Hahn <jrh3@att.com>
Tue, 5 Mar 2019 22:19:33 +0000 (17:19 -0500)
committerJim Hahn <jrh3@att.com>
Wed, 6 Mar 2019 13:23:39 +0000 (08:23 -0500)
commit6fce4b823e85c8c454a5db4da76c5834fa010239
treeff7ae68f4053e489757b8be4d205b7b90a684143
parenta950874eb1ab8560fc86a50890c4bc8b84650d9e
Use request id instead of PDP name in listener

Modified the listener that receives messages from the PDPs
to use the request id instead of the PDP name for tracking
purposes.

Modified the listener to make it more generic so any arbitrary ID
can be used, depending on the context.

Combined extractId into handleEvent.

Corrected a comment.

Change-Id: I6b7097c67d73f51b78ae4063341bcb118eb14bbc
Issue-ID: POLICY-1542
Signed-off-by: Jim Hahn <jrh3@att.com>
main/src/main/java/org/onap/policy/pap/main/comm/MultiPdpStatusListener.java
main/src/test/java/org/onap/policy/pap/main/comm/MultiPdpStatusListenerTest.java