Interface PayaraClient
-
- All Known Implementing Classes:
PayaraClientService
public interface PayaraClient- Author:
- Z.Paulovics
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPayaraClient.MultiPart
-
Field Summary
Fields Modifier and Type Field Description static StringADMINSERVERAdmin Server key for the REST request.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description org.jboss.arquillian.container.spi.client.protocol.metadata.HTTPContextdoDeploy(String name, PayaraClient.MultiPart form)Do deploy an application defined by a multipart form's data to the target server or cluster of PayaraMap<String,Object>doUndeploy(String name, PayaraClient.MultiPart form)Do undeploy the applicationbooleanisDASRunning()Verify whether the Domain Administration Server is running.static PayaraClient.MultiPartnewMultipart()voidstartUp()Start-up the server Get the node addresses list associated with the target Check the status of the target server instance In case of cluster tries to fund an instance which has RUNNING status
-
-
-
Field Detail
-
ADMINSERVER
static final String ADMINSERVER
Admin Server key for the REST request.- See Also:
- Constant Field Values
-
-
Method Detail
-
startUp
void startUp()
Start-up the server- Get the node addresses list associated with the target
- Check the status of the target server instance
- In case of cluster tries to fund an instance which has RUNNING status
-
doDeploy
org.jboss.arquillian.container.spi.client.protocol.metadata.HTTPContext doDeploy(String name, PayaraClient.MultiPart form) throws org.jboss.arquillian.container.spi.client.container.DeploymentException
Do deploy an application defined by a multipart form's data to the target server or cluster of Payara- Parameters:
name- - name of the application form - a form of MediaType.MULTIPART_FORM_DATA_TYPEform- - form containing data to be deployed- Returns:
- subComponents - a map of SubComponents of the application
- Throws:
org.jboss.arquillian.container.spi.client.container.DeploymentException- if something goes wrong with the deployment
-
doUndeploy
Map<String,Object> doUndeploy(String name, PayaraClient.MultiPart form)
Do undeploy the application- Parameters:
name- - application nameform- - form- Returns:
- responseMap
-
isDASRunning
boolean isDASRunning()
Verify whether the Domain Administration Server is running.- Returns:
- true if the DAS is running, false otherwise
-
newMultipart
static PayaraClient.MultiPart newMultipart()
-
-