diff options
author | Determe, Sebastien (sd378r) <sd378r@intl.att.com> | 2018-02-15 16:24:09 +0100 |
---|---|---|
committer | Determe, Sebastien (sd378r) <sd378r@intl.att.com> | 2018-02-15 16:24:09 +0100 |
commit | 6347e3fd0c2285d65992c03a3ae536957bfb46c8 (patch) | |
tree | c45cd6d6e392aebc1a310b8648778fcd11fc4807 /src/main | |
parent | 57867d108c2f4db22379f5148c9dbab85a29662f (diff) |
Revert back wrong code
Revert back policyClient client and port used by sdc cache
Issue-ID: CLAMP-85
Change-Id: Ifd59e8530dea6032449d4c868286533cbcac8739
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/org/onap/clamp/clds/client/req/policy/PolicyClient.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/onap/clamp/clds/client/req/policy/PolicyClient.java b/src/main/java/org/onap/clamp/clds/client/req/policy/PolicyClient.java index ee78b45f8..06eff4ef7 100644 --- a/src/main/java/org/onap/clamp/clds/client/req/policy/PolicyClient.java +++ b/src/main/java/org/onap/clamp/clds/client/req/policy/PolicyClient.java @@ -353,7 +353,7 @@ public class PolicyClient { private PolicyEngine getPolicyEngine() { PolicyEngine policyEngine; try { - policyEngine = new PolicyEngine(appContext.getResource(cldsPolicyConfigFile).getURL().getPath()); + policyEngine = new PolicyEngine(appContext.getResource(cldsPolicyConfigFile).getFile().getAbsolutePath()); } catch (IOException e1) { throw new PolicyClientException("Exception when opening policy config file", e1); } catch (PolicyEngineException e) { |