From 0b9bc5fe99c752ca77e11b8dbd8c46abea1e3794 Mon Sep 17 00:00:00 2001 From: Ace Date: Sun, 4 Mar 2018 00:02:38 +0530 Subject: [PATCH] Adding fix for changing input-event-adapter.xml super admin credentials --- modules/scripts/change-superadmin-credentials.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/scripts/change-superadmin-credentials.sh b/modules/scripts/change-superadmin-credentials.sh index a6457cc7..369739cc 100755 --- a/modules/scripts/change-superadmin-credentials.sh +++ b/modules/scripts/change-superadmin-credentials.sh @@ -89,6 +89,11 @@ sed -i -e 's#\(\)'$val1'\(\)#\1'$val3'\2#g' sed -i -e 's#\(\)'$val2'\(\)#\1'$val4'\2#g' ../wso2/analytics/conf/input-event-adapters.xml echo "Completed!!" +echo "Changing /conf/input-event-adapters.xml" +sed -i -e 's#\(\)'$val1'\(\)#\1'$val3'\2#g' ../conf/input-event-adapters.xml +sed -i -e 's#\(\)'$val2'\(\)#\1'$val4'\2#g' ../conf/input-event-adapters.xml +echo "Completed!!" + echo "Changing /conf/output-event-adapters.xml" sed -i -e 's#\(\)'$val1'\(\)#\1'$val3'\2#g' ../conf/output-event-adapters.xml sed -i -e 's#\(\)'$val2'\(\)#\1'$val4'\2#g' ../conf/output-event-adapters.xml