Adding changes to change-sueradmin script to do changes to cdm-config.xml

application-manager-new
Ace 7 years ago
parent a758c5b188
commit 07bddaeb72

@ -42,6 +42,11 @@ while [[ -z $val3 || -z $val4 ]]; do #if $val2 is a zero length String
read val4; read val4;
done done
echo "Changing <IoT_HOME>/conf/cdm-config.xml"
sed -i -e 's#\(<AdminUsername>\)'$val1'\(</AdminUsername>\)#\1'$val3'\2#g' ../conf/cdm-config.xml
sed -i -e 's#\(<AdminPassword>\)'$val2'\(</AdminPassword>\)#\1'$val4'\2#g' ../conf/cdm-config.xml
echo "Completed!!"
echo "Changing <IoT_HOME>/conf/app-manager.xml" echo "Changing <IoT_HOME>/conf/app-manager.xml"
sed -i -e 's#\(<Username>\)'$val1'\(</Username>\)#\1'$val3'\2#g' ../conf/app-manager.xml sed -i -e 's#\(<Username>\)'$val1'\(</Username>\)#\1'$val3'\2#g' ../conf/app-manager.xml
sed -i -e 's#\(<Password>\)'$val2'\(</Password>\)#\1'$val4'\2#g' ../conf/app-manager.xml sed -i -e 's#\(<Password>\)'$val2'\(</Password>\)#\1'$val4'\2#g' ../conf/app-manager.xml

@ -17,8 +17,7 @@
~ under the License. ~ under the License.
--> -->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>org.wso2.iot</groupId> <groupId>org.wso2.iot</groupId>
@ -1499,8 +1498,7 @@
<identity.inbound.auth.oauth.version>5.3.11</identity.inbound.auth.oauth.version> <identity.inbound.auth.oauth.version>5.3.11</identity.inbound.auth.oauth.version>
<identity.carbon.auth.mutual.ssl.version>5.1.2</identity.carbon.auth.mutual.ssl.version> <identity.carbon.auth.mutual.ssl.version>5.1.2</identity.carbon.auth.mutual.ssl.version>
<identity.user.ws.version>5.1.4</identity.user.ws.version> <identity.user.ws.version>5.1.4</identity.user.ws.version>
<identity.outbound.auth.requestpath.basicauth.version>5.1.1 <identity.outbound.auth.requestpath.basicauth.version>5.1.1</identity.outbound.auth.requestpath.basicauth.version>
</identity.outbound.auth.requestpath.basicauth.version>
<identity.outbound.auth.requestpath.oauth.version>5.1.1</identity.outbound.auth.requestpath.oauth.version> <identity.outbound.auth.requestpath.oauth.version>5.1.1</identity.outbound.auth.requestpath.oauth.version>
<identity.outbound.auth.samlsso.version>5.1.4</identity.outbound.auth.samlsso.version> <identity.outbound.auth.samlsso.version>5.1.4</identity.outbound.auth.samlsso.version>
<identity.metadata.saml2.version>1.0.0</identity.metadata.saml2.version> <identity.metadata.saml2.version>1.0.0</identity.metadata.saml2.version>

Loading…
Cancel
Save