summaryrefslogtreecommitdiffstats
path: root/controlloop/common/feature-controlloop-utils/src
diff options
context:
space:
mode:
authoruj426b <uj426b@att.com>2020-07-09 17:34:04 -0400
committeruj426b <uj426b@att.com>2020-07-09 19:00:52 -0400
commit1779c950a91fd1acc5283db124228e298542cd5c (patch)
tree8c3acf6c2de95076ec752cf29f650ef41be39b72 /controlloop/common/feature-controlloop-utils/src
parentbfa8ea6fac1eff26344fcd917d02714b4902c524 (diff)
FIX context URI and https to false.
Change-Id: Iffecc4655d22b507188ea266e82046f2a82751e8 Issue-ID: POLICY-2703 Signed-off-by: uj426b <uj426b@att.com>
Diffstat (limited to 'controlloop/common/feature-controlloop-utils/src')
-rw-r--r--controlloop/common/feature-controlloop-utils/src/main/feature/install/enable4
1 files changed, 3 insertions, 1 deletions
diff --git a/controlloop/common/feature-controlloop-utils/src/main/feature/install/enable b/controlloop/common/feature-controlloop-utils/src/main/feature/install/enable
index 829ef7d7f..1b2b4d6f2 100644
--- a/controlloop/common/feature-controlloop-utils/src/main/feature/install/enable
+++ b/controlloop/common/feature-controlloop-utils/src/main/feature/install/enable
@@ -39,6 +39,7 @@ do
;;
esac
sed -i.ofc \
+ -e "s/^http.client.services.${actor}.https[\s\t]*=.*/http.client.services.${actor}.https=false/g" \
-e "s/^http.client.services.${actor}.host[\s\t]*=.*/http.client.services.${actor}.host=localhost/g" \
-e "s/^http.client.services.${actor}.userName[\s\t]*=.*/http.client.services.${actor}.userName=policy/g" \
-e "s/^http.client.services.${actor}.password[\s\t]*=.*/http.client.services.${actor}.password=policy/g" \
@@ -47,9 +48,10 @@ do
${FILE}
else
sed -i.ofc \
+ -e "s/^http.client.services.${actor}.https[\s\t]*=.*/http.client.services.${actor}.https=false/g" \
-e "s/^http.client.services.${actor}.host[\s\t]*=.*/http.client.services.${actor}.host=localhost/g" \
-e "s/^http.client.services.${actor}.port[\s\t]*=.*/http.client.services.${actor}.port=6669/g" \
- -e "s!^http.client.services.${actor}.contextUriPath[\s\t]*=.*!http.client.services.${actor}.contextUriPath=/pdp/api/getDecision!g" \
+ -e "s!^http.client.services.${actor}.contextUriPath[\s\t]*=.*!http.client.services.${actor}.contextUriPath=policy/pdpx/v1/!g" \
-e "s/^http.client.services.${actor}.userName[\s\t]*=.*/http.client.services.${actor}.userName=/g" \
-e "s/^http.client.services.${actor}.password[\s\t]*=.*/http.client.services.${actor}.password=/g" \
${FILE}