Merge pull request #1052 from sinthuja/origin-master

Fixing the mobile qsg issues and target/source jdk version.
application-manager-new
Madhawa Perera 8 years ago committed by GitHub
commit 32e0454a34

@ -575,6 +575,9 @@
<includes> <includes>
<include>**/**</include> <include>**/**</include>
</includes> </includes>
<excludes>
<exclude>**/*.sh*</exclude>
</excludes>
</fileSet> </fileSet>
<!-- Files required to mobile-qsg --> <!-- Files required to mobile-qsg -->
@ -1590,6 +1593,13 @@
${pom.artifactId}-${pom.version}/samples/mobile-qsg ${pom.artifactId}-${pom.version}/samples/mobile-qsg
</outputDirectory> </outputDirectory>
</file> </file>
<file>
<source>../scripts/mobile-qsg/resources/mobile-qsg.sh</source>
<outputDirectory>
${pom.artifactId}-${pom.version}/samples/mobile-qsg
</outputDirectory>
<fileMode>755</fileMode>
</file>
<file> <file>
<source> <source>
../p2-profile/iot-core-profile/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/governance.xml ../p2-profile/iot-core-profile/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/governance.xml

@ -69,8 +69,8 @@
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<configuration> <configuration>
<source>1.6</source> <source>1.8</source>
<target>1.6</target> <target>1.8</target>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>

@ -145,8 +145,8 @@
<plugin> <plugin>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<configuration> <configuration>
<source>1.7</source> <source>1.8</source>
<target>1.7</target> <target>1.8</target>
</configuration> </configuration>
<version>2.3.2</version> <version>2.3.2</version>
</plugin> </plugin>

@ -43,8 +43,8 @@
<plugin> <plugin>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<configuration> <configuration>
<source>1.7</source> <source>1.8</source>
<target>1.7</target> <target>1.8</target>
</configuration> </configuration>
<version>2.3.2</version> <version>2.3.2</version>
</plugin> </plugin>

@ -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 1. Start the WSO2 IoTS server
2. Navigate to <IoTS_HOME>/core/samples/mobile-qsg/ directory using the terminal. 2. Navigate to <IoTS_HOME>/core/samples/mobile-qsg/ directory using the terminal.
3. Once server is started execute the mobile-qsg.sh script 3. Once server is started execute the mobile-qsg.sh script
4. Then login to the https://<your-server>:9443/devicemgt/ and use the username,password as alex alex@IoTS, 4. There will be two users getting created once you ran the script with user name 'chris' and 'alex'.
+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. 5. Then login to the https://<your-server>: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.

@ -1694,8 +1694,8 @@
<version>2.3.1</version> <version>2.3.1</version>
<configuration> <configuration>
<encoding>UTF-8</encoding> <encoding>UTF-8</encoding>
<source>1.7</source> <source>1.8</source>
<target>1.7</target> <target>1.8</target>
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>

Loading…
Cancel
Save