/** * Deploy the current stream using the deploymentProperties. This method invokes the * remote server * @param deploymentProperties Map of properties to be used during deployment * @return A deployed {@link Stream} */ public Stream deploy(Map<String, String> deploymentProperties) { Map<String, String> resolvedProperties = resolveDeploymentProperties( deploymentProperties); client.streamOperations().deploy(this.name, resolvedProperties); return new Stream(this.name, this.applications, this.definition, this.client); }
/** * Deploy the current stream using the deploymentProperties. This method invokes the * remote server * @param deploymentProperties Map of properties to be used during deployment * @return A deployed {@link Stream} */ public Stream deploy(Map<String, String> deploymentProperties) { Map<String, String> resolvedProperties = resolveDeploymentProperties( deploymentProperties); client.streamOperations().deploy(this.name, resolvedProperties); return new Stream(this.name, this.applications, this.definition, this.client); }