Change-Id: Ibf3df9288268ca7c8edfc9007e15c31802a4e5e1
Issue-ID: POLICY-1780
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
* 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");
}
/*
* 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";
LoggerUtil.setLevel("ROOT", "INFO");
LoggerUtil.setLevel("org.eclipse.jetty", "WARN");
try {
+ HttpServletServer.factory.destroy();
org.onap.policy.simulators.Util.buildGuardSim();
} catch (Exception e) {
fail(e.getMessage());