Merge "Preload wildcard supported type in PAP"
authorJim Hahn <jrh3@att.com>
Wed, 20 Nov 2019 23:39:44 +0000 (23:39 +0000)
committerGerrit Code Review <gerrit@onap.org>
Wed, 20 Nov 2019 23:39:44 +0000 (23:39 +0000)
main/src/main/java/org/onap/policy/pap/main/comm/PdpStatusMessageHandler.java
packages/pom.xml

index 6998140..09ee64d 100644 (file)
@@ -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);
index 1e1bce1..b57b6cb 100644 (file)
@@ -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>