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>
private PolicyEngine getPolicyEngine() {
PolicyEngine policyEngine;
try {
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) {
} catch (IOException e1) {
throw new PolicyClientException("Exception when opening policy config file", e1);
} catch (PolicyEngineException e) {
echo 'Installing requests packages for Python'
pip install requests
echo 'Executing the Http proxy in Cache mode only'
echo 'Installing requests packages for Python'
pip install requests
echo 'Executing the Http proxy in Cache mode only'
-python sdc_proxy.py --port 2080 --root /usr/src/http-cache-app/data-cache
+python sdc_proxy.py --port 8080 --root /usr/src/http-cache-app/data-cache