/management/wls/{version}/jobs/deployment

The resource supports the following methods:

GET Method

The GET method on this resource returns information about each job that is related to a deployment operation.

Roles

Administrator, Deployer, Operator, Monitor

Response Body

The response body returned includes a DeploymentJob entity.

This method can return the following links:

  • uri=/management/wls/{version}/jobs rel=parent

  • uri=/management/wls/{version}/jobs/deployment/id/{job-id} rel=deployment title=name

Response Codes

This method returns one of the Standard HTTP Status Codes.

Example

Example 1   Viewing All Deployment Jobs

This example uses the GET method to obtain information about all deployment jobs.

Example Request

curl -v \
--user username:password \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-X GET http://localhost:7001/management/wls/latest/jobs/deployment

Example Response

HTTP/1.1 200 OK

Response Body:
{
    "links": [{
        "rel": "parent",
        "uri": "http:\/\/localhost:7001\/management\/wls\/latest\/jobs\/deployment"
    }],
    "items": [{
        "operation": "deploy",
        "status": "in progress",
        "beginTime": 1390587139546,
        "name": "ADTR-11",
        "id": "11",
        "type": "deployment",
        "targets": [{
            "errors": [],
            "status": "in progress",
            "name": "myserver",
            "type": "server"
        }],
        "deploymentName": "airline",
        "description": "[Deployer:149117]deploy library airline on myserver."
    }]
}