diff --git a/modules/core/distribution/src/assembly/bin.xml b/modules/core/distribution/src/assembly/bin.xml index fb448067..303ac1cc 100644 --- a/modules/core/distribution/src/assembly/bin.xml +++ b/modules/core/distribution/src/assembly/bin.xml @@ -755,6 +755,34 @@ **/* + + + + ../scripts/mobile-qsg/resources/webapps + + ${pom.artifactId}-${pom.version}/repository/deployment/server/webapps + + + + + ../scripts/mobile-qsg/resources/dropins + + ${pom.artifactId}-${pom.version}/repository/components/dropins + + + + + + ../scripts/mobile-qsg/resources/script + + ${pom.artifactId}-${pom.version}/samples/mobile-qsg + + + **/* + + + + @@ -1441,5 +1469,12 @@ 755 + + + ../scripts/mobile-qsg/target/mobile-qsg.jar + + ${pom.artifactId}-${pom.version}/samples/mobile-qsg + + diff --git a/modules/core/scripts/mobile-qsg/resources/Readme.txt b/modules/core/scripts/mobile-qsg/resources/Readme.txt index 36cf44c3..62a8ca47 100644 --- a/modules/core/scripts/mobile-qsg/resources/Readme.txt +++ b/modules/core/scripts/mobile-qsg/resources/Readme.txt @@ -1,10 +1,9 @@ - IoTs 3.0.0 QSG Setup guide + IoTs 3.1.0 QSG Setup guide -1. Navigate to this folder using the terminal, Note that this (Readme.txt) flie should be located under /core/samples/mobile-qsg/ directory. -2. Stop the WSO2 IoTS if already runing -3. Then execute the copy-files.sh script -4. Start the WSO2 IoTS server -5. Once server is started execute the mobile-qsg.sh script -6. 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. +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. diff --git a/modules/core/scripts/mobile-qsg/resources/copy-files.sh b/modules/core/scripts/mobile-qsg/resources/copy-files.sh deleted file mode 100644 index 8bb28f16..00000000 --- a/modules/core/scripts/mobile-qsg/resources/copy-files.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash -# product-emm qsg sample setup script for copying the required files - -echo "Copying the required files for wso2iots-3.0.0 QSG setup ..." -cp dropings/* ../../repository/components/dropins/ -cp webapps/* ../../repository/deployment/server/webapps/ - - diff --git a/modules/core/scripts/mobile-qsg/resources/dropins/org.wso2.carbon.appmgt.oauth.core_1.2.6.jar b/modules/core/scripts/mobile-qsg/resources/dropins/org.wso2.carbon.appmgt.oauth.core_1.2.6.jar new file mode 100644 index 00000000..4031d17b Binary files /dev/null and b/modules/core/scripts/mobile-qsg/resources/dropins/org.wso2.carbon.appmgt.oauth.core_1.2.6.jar differ diff --git a/modules/core/scripts/mobile-qsg/resources/mobile-qsg.sh b/modules/core/scripts/mobile-qsg/resources/mobile-qsg.sh old mode 100644 new mode 100755 diff --git a/modules/core/scripts/mobile-qsg/resources/script/apps/android/catalog.apk b/modules/core/scripts/mobile-qsg/resources/script/apps/android/catalog.apk new file mode 100644 index 00000000..473f5805 Binary files /dev/null and b/modules/core/scripts/mobile-qsg/resources/script/apps/android/catalog.apk differ diff --git a/modules/core/scripts/mobile-qsg/resources/script/apps/android/images/banner.jpg b/modules/core/scripts/mobile-qsg/resources/script/apps/android/images/banner.jpg new file mode 100644 index 00000000..002dea5c Binary files /dev/null and b/modules/core/scripts/mobile-qsg/resources/script/apps/android/images/banner.jpg differ diff --git a/modules/core/scripts/mobile-qsg/resources/script/apps/android/images/icon.jpg b/modules/core/scripts/mobile-qsg/resources/script/apps/android/images/icon.jpg new file mode 100644 index 00000000..002dea5c Binary files /dev/null and b/modules/core/scripts/mobile-qsg/resources/script/apps/android/images/icon.jpg differ diff --git a/modules/core/scripts/mobile-qsg/resources/script/apps/android/images/screen1.jpg b/modules/core/scripts/mobile-qsg/resources/script/apps/android/images/screen1.jpg new file mode 100644 index 00000000..002dea5c Binary files /dev/null and b/modules/core/scripts/mobile-qsg/resources/script/apps/android/images/screen1.jpg differ diff --git a/modules/core/scripts/mobile-qsg/resources/script/apps/android/images/screen2.jpg b/modules/core/scripts/mobile-qsg/resources/script/apps/android/images/screen2.jpg new file mode 100644 index 00000000..002dea5c Binary files /dev/null and b/modules/core/scripts/mobile-qsg/resources/script/apps/android/images/screen2.jpg differ diff --git a/modules/core/scripts/mobile-qsg/resources/script/apps/android/images/screen3.jpg b/modules/core/scripts/mobile-qsg/resources/script/apps/android/images/screen3.jpg new file mode 100644 index 00000000..002dea5c Binary files /dev/null and b/modules/core/scripts/mobile-qsg/resources/script/apps/android/images/screen3.jpg differ diff --git a/modules/core/scripts/mobile-qsg/resources/script/apps/ios/PNDemo.ipa b/modules/core/scripts/mobile-qsg/resources/script/apps/ios/PNDemo.ipa new file mode 100644 index 00000000..01729c7c Binary files /dev/null and b/modules/core/scripts/mobile-qsg/resources/script/apps/ios/PNDemo.ipa differ diff --git a/modules/core/scripts/mobile-qsg/resources/script/apps/ios/images/banner.jpg b/modules/core/scripts/mobile-qsg/resources/script/apps/ios/images/banner.jpg new file mode 100644 index 00000000..002dea5c Binary files /dev/null and b/modules/core/scripts/mobile-qsg/resources/script/apps/ios/images/banner.jpg differ diff --git a/modules/core/scripts/mobile-qsg/resources/script/apps/ios/images/icon.jpg b/modules/core/scripts/mobile-qsg/resources/script/apps/ios/images/icon.jpg new file mode 100644 index 00000000..002dea5c Binary files /dev/null and b/modules/core/scripts/mobile-qsg/resources/script/apps/ios/images/icon.jpg differ diff --git a/modules/core/scripts/mobile-qsg/resources/script/apps/ios/images/screen1.jpg b/modules/core/scripts/mobile-qsg/resources/script/apps/ios/images/screen1.jpg new file mode 100644 index 00000000..002dea5c Binary files /dev/null and b/modules/core/scripts/mobile-qsg/resources/script/apps/ios/images/screen1.jpg differ diff --git a/modules/core/scripts/mobile-qsg/resources/script/apps/ios/images/screen2.jpg b/modules/core/scripts/mobile-qsg/resources/script/apps/ios/images/screen2.jpg new file mode 100644 index 00000000..002dea5c Binary files /dev/null and b/modules/core/scripts/mobile-qsg/resources/script/apps/ios/images/screen2.jpg differ diff --git a/modules/core/scripts/mobile-qsg/resources/script/apps/ios/images/screen3.jpg b/modules/core/scripts/mobile-qsg/resources/script/apps/ios/images/screen3.jpg new file mode 100644 index 00000000..002dea5c Binary files /dev/null and b/modules/core/scripts/mobile-qsg/resources/script/apps/ios/images/screen3.jpg differ diff --git a/modules/core/scripts/mobile-qsg/resources/script_and_resources.zip b/modules/core/scripts/mobile-qsg/resources/script_and_resources.zip deleted file mode 100644 index 383d8681..00000000 Binary files a/modules/core/scripts/mobile-qsg/resources/script_and_resources.zip and /dev/null differ diff --git a/modules/core/scripts/mobile-qsg/resources/webapps/api#appm#oauth#v1.0.war b/modules/core/scripts/mobile-qsg/resources/webapps/api#appm#oauth#v1.0.war new file mode 100644 index 00000000..0ac47ebc Binary files /dev/null and b/modules/core/scripts/mobile-qsg/resources/webapps/api#appm#oauth#v1.0.war differ diff --git a/modules/core/scripts/mobile-qsg/resources/webapps/api#appm#publisher#v1.1.war b/modules/core/scripts/mobile-qsg/resources/webapps/api#appm#publisher#v1.1.war new file mode 100644 index 00000000..4af5073d Binary files /dev/null and b/modules/core/scripts/mobile-qsg/resources/webapps/api#appm#publisher#v1.1.war differ diff --git a/modules/core/scripts/mobile-qsg/resources/webapps/api#appm#store#v1.1.war b/modules/core/scripts/mobile-qsg/resources/webapps/api#appm#store#v1.1.war new file mode 100644 index 00000000..410a01ea Binary files /dev/null and b/modules/core/scripts/mobile-qsg/resources/webapps/api#appm#store#v1.1.war differ