Modifications to QSG executor

application-manager-new
madhawap 8 years ago
parent f2177f21e9
commit a1ca2f6a43

@ -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…
Cancel
Save