From 8aa65370a1eeef842a002ad403c7172702a614ea Mon Sep 17 00:00:00 2001 From: jhh Date: Fri, 17 May 2019 14:04:48 -0500 Subject: PDP-X guard url is retrieved incorrectly. Change-Id: Ibf3df9288268ca7c8edfc9007e15c31802a4e5e1 Issue-ID: POLICY-1780 Signed-off-by: jhh --- .../src/main/java/org/onap/policy/guard/PolicyGuardXacmlHelper.java | 2 +- controlloop/common/guard/src/main/java/org/onap/policy/guard/Util.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'controlloop/common/guard/src/main') diff --git a/controlloop/common/guard/src/main/java/org/onap/policy/guard/PolicyGuardXacmlHelper.java b/controlloop/common/guard/src/main/java/org/onap/policy/guard/PolicyGuardXacmlHelper.java index 8ff226f7a..fc9a2438f 100644 --- a/controlloop/common/guard/src/main/java/org/onap/policy/guard/PolicyGuardXacmlHelper.java +++ b/controlloop/common/guard/src/main/java/org/onap/policy/guard/PolicyGuardXacmlHelper.java @@ -50,7 +50,7 @@ public class PolicyGuardXacmlHelper { * Constructor. */ public PolicyGuardXacmlHelper() { - this.url = PolicyEngine.manager.getEnvironmentProperty("pdpx.host"); + this.url = PolicyEngine.manager.getEnvironmentProperty("guard.url"); this.user = PolicyEngine.manager.getEnvironmentProperty("pdpx.username"); this.pwd = PolicyEngine.manager.getEnvironmentProperty("pdpx.password"); } diff --git a/controlloop/common/guard/src/main/java/org/onap/policy/guard/Util.java b/controlloop/common/guard/src/main/java/org/onap/policy/guard/Util.java index e378b61c9..d859fbe09 100644 --- a/controlloop/common/guard/src/main/java/org/onap/policy/guard/Util.java +++ b/controlloop/common/guard/src/main/java/org/onap/policy/guard/Util.java @@ -39,7 +39,7 @@ public final class Util { /* * Keys for guard properties */ - public static final String PROP_GUARD_URL = "pdpx.host"; + public static final String PROP_GUARD_URL = "guard.url"; public static final String PROP_GUARD_USER = "pdpx.username"; public static final String PROP_GUARD_PASS = "pdpx.password"; public static final String PROP_GUARD_DISABLED = "guard.disabled"; -- cgit 1.2.3-korg