PAP should not deactivate PDPs 62/98162/1
authorJim Hahn <jrh3@att.com>
Thu, 7 Nov 2019 21:37:18 +0000 (16:37 -0500)
committerJim Hahn <jrh3@att.com>
Thu, 7 Nov 2019 21:37:18 +0000 (16:37 -0500)
commitfc556cec79885034897d8647b957125c6fc95b5e
tree2449f43613257780e2012d23a024abd139d1b4b6
parenta3bf3134c01d979cebc94f5b2c915cfa400a9a72
PAP should not deactivate PDPs

Modified the code so that it does not send a PASSIVE request to
PDPs when they are fail, whether due to an inability to deploy a
policy or due to a timeout.  However, it still removes the PDP from
the PDP Group, if a timeout occurs (but not due to a deployment
failure).

This review does not include any changes to undeploy failed policies;
that will come in a later review.

Issue-ID: POLICY-2155
Signed-off-by: Jim Hahn <jrh3@att.com>
Change-Id: I15821d299bc3261478fd7fbb9ee62ea4a90123a4
main/src/main/java/org/onap/policy/pap/main/comm/PdpModifyRequestMap.java
main/src/test/java/org/onap/policy/pap/main/comm/PdpModifyRequestMapTest.java