diff options
Diffstat (limited to 'policy-management/src')
-rw-r--r-- | policy-management/src/main/java/org/onap/policy/drools/system/PolicyEngineConstants.java | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/policy-management/src/main/java/org/onap/policy/drools/system/PolicyEngineConstants.java b/policy-management/src/main/java/org/onap/policy/drools/system/PolicyEngineConstants.java index 4d18d6b8..2173687a 100644 --- a/policy-management/src/main/java/org/onap/policy/drools/system/PolicyEngineConstants.java +++ b/policy-management/src/main/java/org/onap/policy/drools/system/PolicyEngineConstants.java @@ -2,7 +2,7 @@ * ============LICENSE_START======================================================= * policy-management * ================================================================================ - * Copyright (C) 2019 AT&T Intellectual Property. All rights reserved. + * Copyright (C) 2019, 2021 AT&T Intellectual Property. All rights reserved. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -21,8 +21,9 @@ package org.onap.policy.drools.system; import lombok.Getter; +import org.onap.policy.common.utils.network.NetworkUtil; -public class PolicyEngineConstants { +public final class PolicyEngineConstants { /** * Default Telemetry Server Port. @@ -40,6 +41,11 @@ public class PolicyEngineConstants { public static final String TELEMETRY_SERVER_DEFAULT_NAME = "TELEMETRY"; /** + * Unique name of this drools-pdp JVM. + */ + public static final String PDP_NAME = NetworkUtil.genUniqueName("drools"); + + /** * Policy Engine Manager. */ @Getter |