153154155156157158159
return response; } public DeploymentResponse createDeploymentResponse(Deployment deployment, String serverRootUrl) { return new DeploymentResponse(deployment, formatUrl(serverRootUrl, RestUrls.URL_DEPLOYMENT, deployment.getId())); }