From 1779c950a91fd1acc5283db124228e298542cd5c Mon Sep 17 00:00:00 2001 From: uj426b Date: Thu, 9 Jul 2020 17:34:04 -0400 Subject: FIX context URI and https to false. Change-Id: Iffecc4655d22b507188ea266e82046f2a82751e8 Issue-ID: POLICY-2703 Signed-off-by: uj426b --- .../common/feature-controlloop-utils/src/main/feature/install/enable | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'controlloop/common/feature-controlloop-utils/src') 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} -- cgit 1.2.3-korg