aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/src/main/java/org/onap/policy/pap/main/comm/PdpStatusMessageHandler.java2
-rw-r--r--packages/pom.xml5
2 files changed, 5 insertions, 2 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);
diff --git a/packages/pom.xml b/packages/pom.xml
index 1e1bce14..b57b6cb9 100644
--- a/packages/pom.xml
+++ b/packages/pom.xml
@@ -39,6 +39,9 @@
<activation>
<activeByDefault>true</activeByDefault>
</activation>
+ <modules>
+ <module>policy-pap-tarball</module>
+ </modules>
</profile>
<profile>
<id>docker</id>
@@ -51,4 +54,4 @@
</properties>
</profile>
</profiles>
-</project> \ No newline at end of file
+</project>