Create a Deployment

Tcat Server reached its End of Life in 2017. Contact your Customer Success Manager to determine options for managing, monitoring, or deploying your application.

The POST operation creates a new deployment if the specified deployment does not already exist. The name, applications, and servers property of the deployment type are required, whereas the applications and servers arrays can be empty if desired.

Example Request:

POST http://localhost:8080/console/api/deployments

Example Response:

{
  "name" : "Test",
  "applications": [
    {
      "href" : "http://localhost:8080/console/api/registry/Applications/test.war/1.0"
    }
  ],
  "servers": [
    {
      "href" : "http://localhost:8080/console/api/servers/local$c458777f-122f-4f7a-8451-6cccfdd6c94e"
    }
  ]
}

201
Content-Length: 0
Content-Type: application/json
Server: Apache-Coyote/1.1
Location: http://localhost:8080/console/api/deployments/local$0bc2e0b8-d9f1-468c-9aa3-2966f07b73e8
Date: Wed, 29 Jul 2015 15:21:25 GMT

Was this article helpful?

💙 Thanks for your feedback!

Edit on GitHub