mirror of
https://repository.entgra.net/community/product-iots.git
synced 2025-09-16 23:32:19 +00:00
Merge pull request #1234 from madhawap/master
Modifications to QSG executor
This commit is contained in:
commit
3119e55449
@ -86,7 +86,7 @@ public class MobileQSGTestCase extends TestBase {
|
||||
Constants.APPLICATION_JSON, accessTokenString);
|
||||
HttpResponse response = appManagerRestClient.get(Constants.QSGManagement.GET_MOBILE_APPS_ENDPONT);
|
||||
Assert.assertEquals(response.getResponseCode(), HttpStatus.SC_OK);
|
||||
Assert.assertTrue(response.getData().contains("Con-App-Android"),
|
||||
Assert.assertTrue(response.getData().contains("WSO2Con-Android"),
|
||||
"Con-App-Android addition through script is not successful");
|
||||
}
|
||||
|
||||
|
||||
@ -132,7 +132,7 @@ public class QSGExecutor {
|
||||
|
||||
System.out.println("Create the android application ");
|
||||
//Create application entry in publisher
|
||||
status = AppOperations.addApplication("Con-App-Android", application, true);
|
||||
status = AppOperations.addApplication("WSO2Con-Android", application, true);
|
||||
if (!status) {
|
||||
System.out.println("Unable to create the android mobile application. Terminating the IoTS QSG now.");
|
||||
System.exit(0);
|
||||
@ -160,7 +160,7 @@ public class QSGExecutor {
|
||||
|
||||
System.out.println("Create the iOS application ");
|
||||
//Create application entry in publisher
|
||||
status = AppOperations.addApplication("WSO2Con", iOSApplication, true);
|
||||
status = AppOperations.addApplication("WSO2Con-iOS", iOSApplication, true);
|
||||
if (!status) {
|
||||
System.out.println("Unable to create the iOS mobile application. Terminating the IoTS QSG now.");
|
||||
System.exit(0);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user