diff options
author | Ram Krishna Verma <ram.krishna.verma@est.tech> | 2019-11-20 09:57:22 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-11-20 09:57:22 +0000 |
commit | 6c56c92a9639afa11afbd0abc4a2e5df58a35036 (patch) | |
tree | 05980ca162894bb1fe7d28222c7a7a4a4436d375 | |
parent | 2852ea6e6d7a7d368f1c593c1cfbec0b4735c1bb (diff) | |
parent | 41a6c1afb79f90b9e5834734d50989e0b5699578 (diff) |
Merge "Fixing issue where PdpRegistration message is treated as Heartbeat by PAP"
-rw-r--r-- | main/src/main/java/org/onap/policy/pap/main/comm/PdpStatusMessageHandler.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/main/java/org/onap/policy/pap/main/comm/PdpStatusMessageHandler.java b/main/src/main/java/org/onap/policy/pap/main/comm/PdpStatusMessageHandler.java index 6998140f..09ee64dc 100644 --- a/main/src/main/java/org/onap/policy/pap/main/comm/PdpStatusMessageHandler.java +++ b/main/src/main/java/org/onap/policy/pap/main/comm/PdpStatusMessageHandler.java @@ -66,7 +66,7 @@ public class PdpStatusMessageHandler extends PdpMessageGenerator { public void handlePdpStatus(final PdpStatus message) { synchronized (updateLock) { try (PolicyModelsProvider databaseProvider = modelProviderWrapper.create()) { - if (message.getPdpGroup() == null && message.getPdpSubgroup() == null) { + if (message.getPdpSubgroup() == null) { handlePdpRegistration(message, databaseProvider); } else { handlePdpHeartbeat(message, databaseProvider); |