Package org.jaggeryjs.integration.common.clients

Examples of org.jaggeryjs.integration.common.clients.AARServiceUploaderClient.uploadAARFile()


    protected void deployAarService(String serviceName, String fileNameWithExtension,
                                    String filePath, String serviceHierarchy)
            throws Exception {
        AARServiceUploaderClient aarServiceUploaderClient =
                new AARServiceUploaderClient(backendURL, sessionCookie);
        aarServiceUploaderClient.uploadAARFile(fileNameWithExtension, filePath, serviceHierarchy);
        ServiceDeploymentUtil.isServiceDeployed(backendURL, sessionCookie, serviceName);
        assertTrue(ServiceDeploymentUtil.
                        isServiceDeployed(backendURL, sessionCookie, serviceName),
                "Service file uploading failed withing given deployment time"
        );
View Full Code Here


        ServiceAdminClient adminServiceService = new ServiceAdminClient(backEndUrl, sessionCookie);
        if (adminServiceService.isServiceExists(serviceName)) {
            adminServiceService.deleteService(new String[]{serviceName});
            isServiceUnDeployed(backEndUrl, sessionCookie, serviceName, deploymentDelay);
        }
        adminServiceAARServiceUploader.uploadAARFile(serviceName + ".aar", serviceFilePath, "");
        Assert.assertTrue(isServiceDeployed(backEndUrl, sessionCookie, serviceName)
                , serviceName + " deployment failed in Application Server");
    }

    public static void unDeployArrService(String backEndUrl, String sessionCookie,
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.