Genero Archive deployment in depth
If your are working from a remote server, use the Genero Archive deployment service to manage your Genero applications.
The deployment Web service is accessible on the GAS at a base URL of
/ws/r/services/DeploymentService
. See Table 1 for
descriptions of the actions you can perform and to view some examples of use.
Action | Description | HTTP request details |
---|---|---|
deploy |
Deploys a Genero Archive (gar) file on the Genero
Application Server by calling:
Returns the command result in XML format. |
HTTP PUT request of following form: URL:
/ws/r/services/DeploymentService/deploy?archive=name
Note: archive=name
is mandatory to identify the archive on the GAS.
To send the
archive to the Genero Application Server, you could use curl with a
where:
|
enable |
Enables all applications and services of a given archive by
calling:
Returns the command result in XML format. |
HTTP GET request of following form: URL: /ws/r/services/DeploymentService/enable?archive=name |
disable |
Disables all applications and services of given archive by
calling:
Returns the command result in XML format. |
HTTP GET request of following form: URL: /ws/r/services/DeploymentService/disable?archive=name |
undeploy |
Undeploys a genero archive on the Genero Application Server by
calling:
|
HTTP GET request of following form: URL: /ws/r/services/DeploymentService/undeploy?archive=name |
list |
Returns a list and status of all archives available on the Genero Application
Server by calling:
Returns the command result in XML format. |
HTTP GET request of following form: URL: /ws/r/services/DeploymentService/list |
cleanup |
The cleanup operation is not available with the REST service, as it requires
user interaction to its prompts. To perform a cleanup operation, you must use
gasadmin on the application server, performed by the
command:
|
N/A |