REST Requests for Life Cycle Management of a Project
There are various REST requests (in JSON format) provided with the REST provider that
you can use to deploy, start, update, stop, and remove an
ESP project.
Deploy a Project
Use this REST request to deploy an ESP project to a specific ESP Server and workspace. The workspace to which you are deploying the project must exist and the cluster to which you wish to deploy the project must be running. This REST request is a POST type request.
Start a Project
Use this REST request to start an ESP project. The project must already exist in the workspace specified in the request. This REST request is a POST type request.
Update a Project
Use this REST request to update an already running ESP project. This request stops and removes the running project, and compiles, deploys, and runs the new project with the same project name. There is no downtime for this process. This REST request is a POST type request.
Stop a Project
Use this REST request to stop a running ESP project. This REST request is a POST type request.
Remove a Project
Use this REST request to remove a running or a stopped ESP project. This REST request is a POST type request.