public class WebAppDeployUtils extends Object
| Constructor and Description |
|---|
WebAppDeployUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
deployWebApp(String serviceEndpoint,
String username,
String password,
String warFileLocation,
String warFileName)
THis method is used to deploy war files.
|
public static boolean deployWebApp(String serviceEndpoint, String username, String password, String warFileLocation, String warFileName) throws RemoteException, MalformedURLException
serviceEndpoint - service endpoint url of the instance that war files needs to be deployed.username - admin usernamepassword - admin passwordwarFileLocation - war file locationwarFileName - war file name (Ex: of the war file is sample.war , warFileName is sample).RemoteException - throws is an error occurred when calling to the service endpoint.MalformedURLException - throws is an error occurred when uploading the web app war file.Copyright © 2019 WSO2 Inc. All rights reserved.