void getDeploymentByKey()

in content/30_containerize-app/app/src/main/java/com/atlassian/jira/jsw/sample/dataprovider/RelayDeploymentsController.java [59:73]


    void getDeploymentByKey(@RequestParam String hostBaseUrl,
                            @PathVariable String pipelineId,
                            @PathVariable String environmentId,
                            @PathVariable String deploymentSequenceNumber,
                            HttpServletResponse httpResponse) throws IOException {

        final String path = buildPath(
                String.format("pipelines/%s/environments/%s/deployments/%s", pipelineId, environmentId, deploymentSequenceNumber)
        );

        final String url = buildUrl(hostBaseUrl, path);

        log.info("calling get url = {}", url);
        httpCommonOperations.get(httpResponse, url);
    }