Merge branch 'master' of https://github.com/wso2/product-iots into remote-control

application-manager-new
warunalakshitha 7 years ago
commit a9a1b2c066

@ -6,7 +6,7 @@ echo "WSO2 IoT Server IP configuration tool"
echo "----------------------------------------" echo "----------------------------------------"
##################################### IP configs related to broker #################################### ##################################### IP configs related to core ####################################
echo "" echo ""
echo ">>> Step 1: Change current IP address of the IoT Core" echo ">>> Step 1: Change current IP address of the IoT Core"
@ -202,6 +202,11 @@ echo "Changing <IoT_HOME>/bin/iot-server.sh"
sed -i -e 's/-Dmqtt.broker.host.*/-Dmqtt.broker.host="'$val4'" \\/' ../bin/iot-server.sh sed -i -e 's/-Dmqtt.broker.host.*/-Dmqtt.broker.host="'$val4'" \\/' ../bin/iot-server.sh
echo "Completed!!" echo "Completed!!"
echo "Changing <IoT_HOME>/wso2/broker/conf/carbon.xml"
sed -i '' -e 's#\(<HostName>\)'$val3'\(</HostName>\)#\1'$val4'\2#g' ../wso2/broker/conf/carbon.xml
sed -i '' -e 's#\(<MgtHostName>\)'$val3'\(</MgtHostName>\)#\1'$val4'\2#g' ../wso2/broker/conf/carbon.xml
echo "Completed!!"
@ -246,6 +251,11 @@ sed -i -e 's/"acs.*/\"acs\"\:\"https\:\/\/'$val6':9445\/portal\/acs\"\,/' ../wso
sed -i -e 's/"callbackUrl.*/\"callbackUrl\"\:\"https\:\/\/'$val6':9445\/portal\"\,/' ../wso2/analytics/repository/deployment/server/jaggeryapps/portal/configs/designer.json sed -i -e 's/"callbackUrl.*/\"callbackUrl\"\:\"https\:\/\/'$val6':9445\/portal\"\,/' ../wso2/analytics/repository/deployment/server/jaggeryapps/portal/configs/designer.json
echo "Completed!!" echo "Completed!!"
echo "Changing <IoT_HOME>/wso2/analytics/conf/carbon.xml"
sed -i '' -e 's#\(<HostName>\)'$val5'\(</HostName>\)#\1'$val6'\2#g' ../wso2/analytics/conf/carbon.xml
sed -i '' -e 's#\(<MgtHostName>\)'$val5'\(</MgtHostName>\)#\1'$val6'\2#g' ../wso2/analytics/conf/carbon.xml
echo "Completed!!"
echo "" echo ""
echo "--------------------------------------------" echo "--------------------------------------------"
echo "Generating SSL certificates for the profiles" echo "Generating SSL certificates for the profiles"

Loading…
Cancel
Save