diff --git a/spring-cloud-dataflow-rest-client/src/main/java/org/springframework/cloud/dataflow/rest/client/TaskTemplate.java b/spring-cloud-dataflow-rest-client/src/main/java/org/springframework/cloud/dataflow/rest/client/TaskTemplate.java index 6630c80035..1a8ef02345 100644 --- a/spring-cloud-dataflow-rest-client/src/main/java/org/springframework/cloud/dataflow/rest/client/TaskTemplate.java +++ b/spring-cloud-dataflow-rest-client/src/main/java/org/springframework/cloud/dataflow/rest/client/TaskTemplate.java @@ -34,6 +34,7 @@ import org.springframework.cloud.dataflow.rest.resource.TaskExecutionsInfoResource; import org.springframework.cloud.dataflow.rest.resource.about.AboutResource; import org.springframework.cloud.dataflow.rest.util.DeploymentPropertiesUtils; +import org.springframework.cloud.dataflow.schema.SchemaVersionTarget; import org.springframework.core.ParameterizedTypeReference; import org.springframework.hateoas.Link; import org.springframework.hateoas.RepresentationModel; @@ -207,6 +208,7 @@ public LaunchResponseResource launch(String name, Map properties if(id != null) { LaunchResponseResource response = new LaunchResponseResource(); response.setExecutionId(id); + response.setSchemaTarget(SchemaVersionTarget.defaultTarget().getName()); return response; } else { throw new RuntimeException("Expected id");