public DeploymentResult deploy(Deployment deployment, ApplicationId id, ZoneId zone) {
        return toDeploymentResult(send(request(HttpRequest.newBuilder(deploymentJobPath(id, zone))
                                                          .timeout(Duration.ofMinutes(40)),
                                               POST,
                                               toDataStream(deployment)),
                                       1));
    }
Sends the given deployment to the given application in the given zone, or throws if this fails.
hosted-api/src/main/java/ai/vespa/hosted/api/ControllerHttpClient.java