diff --git a/modules/core/scripts/mobile-qsg/resources/Readme.txt b/modules/core/scripts/mobile-qsg/resources/Readme.txt new file mode 100644 index 00000000..b256d36b --- /dev/null +++ b/modules/core/scripts/mobile-qsg/resources/Readme.txt @@ -0,0 +1,7 @@ + IoTs 3.0.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 diff --git a/modules/core/scripts/mobile-qsg/resources/apps/android/catalog.apk b/modules/core/scripts/mobile-qsg/resources/apps/android/catalog.apk new file mode 100644 index 00000000..473f5805 Binary files /dev/null and b/modules/core/scripts/mobile-qsg/resources/apps/android/catalog.apk differ diff --git a/modules/core/scripts/mobile-qsg/resources/apps/android/images/banner.jpg b/modules/core/scripts/mobile-qsg/resources/apps/android/images/banner.jpg new file mode 100644 index 00000000..002dea5c Binary files /dev/null and b/modules/core/scripts/mobile-qsg/resources/apps/android/images/banner.jpg differ diff --git a/modules/core/scripts/mobile-qsg/resources/apps/android/images/icon.jpg b/modules/core/scripts/mobile-qsg/resources/apps/android/images/icon.jpg new file mode 100644 index 00000000..002dea5c Binary files /dev/null and b/modules/core/scripts/mobile-qsg/resources/apps/android/images/icon.jpg differ diff --git a/modules/core/scripts/mobile-qsg/resources/apps/android/images/screen1.jpg b/modules/core/scripts/mobile-qsg/resources/apps/android/images/screen1.jpg new file mode 100644 index 00000000..002dea5c Binary files /dev/null and b/modules/core/scripts/mobile-qsg/resources/apps/android/images/screen1.jpg differ diff --git a/modules/core/scripts/mobile-qsg/resources/apps/android/images/screen2.jpg b/modules/core/scripts/mobile-qsg/resources/apps/android/images/screen2.jpg new file mode 100644 index 00000000..002dea5c Binary files /dev/null and b/modules/core/scripts/mobile-qsg/resources/apps/android/images/screen2.jpg differ diff --git a/modules/core/scripts/mobile-qsg/resources/apps/android/images/screen3.jpg b/modules/core/scripts/mobile-qsg/resources/apps/android/images/screen3.jpg new file mode 100644 index 00000000..002dea5c Binary files /dev/null and b/modules/core/scripts/mobile-qsg/resources/apps/android/images/screen3.jpg differ diff --git a/modules/core/scripts/mobile-qsg/resources/apps/ios/PNDemo.ipa b/modules/core/scripts/mobile-qsg/resources/apps/ios/PNDemo.ipa new file mode 100644 index 00000000..01729c7c Binary files /dev/null and b/modules/core/scripts/mobile-qsg/resources/apps/ios/PNDemo.ipa differ diff --git a/modules/core/scripts/mobile-qsg/resources/config.properties b/modules/core/scripts/mobile-qsg/resources/config.properties new file mode 100644 index 00000000..6466eca3 --- /dev/null +++ b/modules/core/scripts/mobile-qsg/resources/config.properties @@ -0,0 +1,5 @@ +dcr-endpoint=https://localhost:9443/dynamic-client-web/register +oauth-endpoint=https://localhost:9443/oauth2/token +emm-host=https://localhost:9443 +username=admin +password=admin diff --git a/modules/core/scripts/mobile-qsg/resources/copy-files.sh b/modules/core/scripts/mobile-qsg/resources/copy-files.sh new file mode 100644 index 00000000..8bb28f16 --- /dev/null +++ b/modules/core/scripts/mobile-qsg/resources/copy-files.sh @@ -0,0 +1,8 @@ +#!/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/mobile-qsg.sh b/modules/core/scripts/mobile-qsg/resources/mobile-qsg.sh new file mode 100644 index 00000000..e8f47233 --- /dev/null +++ b/modules/core/scripts/mobile-qsg/resources/mobile-qsg.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# product-iots qsg sample setup script + +echo "Starting wso2iots-3.0.0 QSG setup ..." +java -jar "mobile-qsg.jar"