diff --git a/modules/distribution/src/assembly/bin.xml b/modules/distribution/src/assembly/bin.xml index 00d9372a..967980a0 100755 --- a/modules/distribution/src/assembly/bin.xml +++ b/modules/distribution/src/assembly/bin.xml @@ -575,6 +575,9 @@ **/** + + **/*.sh* + @@ -1590,6 +1593,13 @@ ${pom.artifactId}-${pom.version}/samples/mobile-qsg + + ../scripts/mobile-qsg/resources/mobile-qsg.sh + + ${pom.artifactId}-${pom.version}/samples/mobile-qsg + + 755 + ../p2-profile/iot-core-profile/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/governance.xml diff --git a/modules/distribution/src/core/samples/connectedcup/component/agent/pom.xml b/modules/distribution/src/core/samples/connectedcup/component/agent/pom.xml index 2a6ad992..14540069 100644 --- a/modules/distribution/src/core/samples/connectedcup/component/agent/pom.xml +++ b/modules/distribution/src/core/samples/connectedcup/component/agent/pom.xml @@ -69,8 +69,8 @@ org.apache.maven.plugins maven-compiler-plugin - 1.6 - 1.6 + 1.8 + 1.8 diff --git a/modules/distribution/src/core/samples/connectedcup/component/api/pom.xml b/modules/distribution/src/core/samples/connectedcup/component/api/pom.xml index b248b5cb..4516a402 100644 --- a/modules/distribution/src/core/samples/connectedcup/component/api/pom.xml +++ b/modules/distribution/src/core/samples/connectedcup/component/api/pom.xml @@ -145,8 +145,8 @@ maven-compiler-plugin - 1.7 - 1.7 + 1.8 + 1.8 2.3.2 diff --git a/modules/distribution/src/core/samples/connectedcup/component/plugin/pom.xml b/modules/distribution/src/core/samples/connectedcup/component/plugin/pom.xml index 74f686b8..4236a15b 100644 --- a/modules/distribution/src/core/samples/connectedcup/component/plugin/pom.xml +++ b/modules/distribution/src/core/samples/connectedcup/component/plugin/pom.xml @@ -43,8 +43,8 @@ maven-compiler-plugin - 1.7 - 1.7 + 1.8 + 1.8 2.3.2 diff --git a/modules/scripts/mobile-qsg/resources/Readme.txt b/modules/scripts/mobile-qsg/resources/Readme.txt index 64ce0ece..76c1494c 100644 --- a/modules/scripts/mobile-qsg/resources/Readme.txt +++ b/modules/scripts/mobile-qsg/resources/Readme.txt @@ -1,7 +1,19 @@ - IoTs 3.1.0 QSG Setup guide + +WSO2 IoTs 3.1.0 QSG Setup Guide +--------------------------------- 1. Start the WSO2 IoTS server 2. Navigate to /core/samples/mobile-qsg/ directory using the terminal. 3. Once server is started execute the mobile-qsg.sh script -4. Then login to the https://:9443/devicemgt/ and use the username,password as alex alex@IoTS, -+Note that for this sample we have configured above user from the script. If you want to run this script again you have to login as admin and remove the user alex, chris and role iotMobileUser from the IoT Server. \ No newline at end of file +4. There will be two users getting created once you ran the script with user name 'chris' and 'alex'. +5. Then login to the https://:9443/devicemgt/ and use the username/password of chris/alex. +6. User chris will be having admin role, and you can login as chris with below details. + username: chris + password: chrisadmin +5. Alex will be restricted user, and he has permission to only enrol a device. You can login as alex with below details. + username: alex + password: alexuser + +Note: +For this sample we have configured above user from the script. If you want to run this script again you have to login as +admin and remove the user alex, chris and role iotMobileUser from the IoT Server. \ No newline at end of file diff --git a/pom.xml b/pom.xml index 76de4c11..baaf4a15 100644 --- a/pom.xml +++ b/pom.xml @@ -1694,8 +1694,8 @@ 2.3.1 UTF-8 - 1.7 - 1.7 + 1.8 + 1.8