aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/main/java/org/onap/policy/pap/main/PapConstants.java
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/main/java/org/onap/policy/pap/main/PapConstants.java')
-rw-r--r--main/src/main/java/org/onap/policy/pap/main/PapConstants.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/main/src/main/java/org/onap/policy/pap/main/PapConstants.java b/main/src/main/java/org/onap/policy/pap/main/PapConstants.java
index b51e85cc..7d4cb7b4 100644
--- a/main/src/main/java/org/onap/policy/pap/main/PapConstants.java
+++ b/main/src/main/java/org/onap/policy/pap/main/PapConstants.java
@@ -20,6 +20,8 @@
package org.onap.policy.pap.main;
+import org.onap.policy.common.utils.network.NetworkUtil;
+
/**
* Names of various items contained in the Registry.
*/
@@ -43,6 +45,9 @@ public class PapConstants {
public static final String POLICY_PAP = "pap";
public static final String POLICY_PDPS = "pdps";
+ // unique name used when generating PdpMessages
+ public static final String PAP_NAME = NetworkUtil.genUniqueName("pap");
+
private PapConstants() {
super();
}