Class WebAppDeploymentUtil
- java.lang.Object
-
- org.wso2.am.integration.test.utils.webapp.WebAppDeploymentUtil
-
public class WebAppDeploymentUtil extends Object
Util that is enabled the more utility methods for handling the WebApps
-
-
Constructor Summary
Constructors Constructor Description WebAppDeploymentUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcopyWebApp(String testWebAppResourcePath, String warFilePath)Copy a war file to the webapp directorystatic voidwaitForWebappToDeploy(String warFilePath, long timeout)Wait until a war file is deployed
-
-
-
Method Detail
-
copyWebApp
public static void copyWebApp(String testWebAppResourcePath, String warFilePath) throws IOException
Copy a war file to the webapp directory- Parameters:
testWebAppResourcePath- Sample webapp war file pathwarFilePath- War file path- Throws:
IOException- If an error occurs while reading/writing files
-
waitForWebappToDeploy
public static void waitForWebappToDeploy(String warFilePath, long timeout)
Wait until a war file is deployed- Parameters:
warFilePath- War file pathtimeout- Timeout
-
-