Modifications to QSG executor

merge-requests/1/head
madhawap 7 years ago
parent f2177f21e9
commit a1ca2f6a43

@ -86,7 +86,7 @@ public class MobileQSGTestCase extends TestBase {
Constants.APPLICATION_JSON, accessTokenString); Constants.APPLICATION_JSON, accessTokenString);
HttpResponse response = appManagerRestClient.get(Constants.QSGManagement.GET_MOBILE_APPS_ENDPONT); HttpResponse response = appManagerRestClient.get(Constants.QSGManagement.GET_MOBILE_APPS_ENDPONT);
Assert.assertEquals(response.getResponseCode(), HttpStatus.SC_OK); 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"); "Con-App-Android addition through script is not successful");
} }

@ -132,7 +132,7 @@ public class QSGExecutor {
System.out.println("Create the android application "); System.out.println("Create the android application ");
//Create application entry in publisher //Create application entry in publisher
status = AppOperations.addApplication("Con-App-Android", application, true); status = AppOperations.addApplication("WSO2Con-Android", application, true);
if (!status) { if (!status) {
System.out.println("Unable to create the android mobile application. Terminating the IoTS QSG now."); System.out.println("Unable to create the android mobile application. Terminating the IoTS QSG now.");
System.exit(0); System.exit(0);
@ -160,7 +160,7 @@ public class QSGExecutor {
System.out.println("Create the iOS application "); System.out.println("Create the iOS application ");
//Create application entry in publisher //Create application entry in publisher
status = AppOperations.addApplication("WSO2Con", iOSApplication, true); status = AppOperations.addApplication("WSO2Con-iOS", iOSApplication, true);
if (!status) { if (!status) {
System.out.println("Unable to create the iOS mobile application. Terminating the IoTS QSG now."); System.out.println("Unable to create the iOS mobile application. Terminating the IoTS QSG now.");
System.exit(0); System.exit(0);

Loading…
Cancel
Save