Class StreamValidationController
java.lang.Object
org.springframework.cloud.dataflow.server.controller.StreamValidationController
@RestController
@RequestMapping("/streams/validation")
@ExposesResourceFor(StreamAppStatusResource.class)
public class StreamValidationController
extends Object
Controller for operations on
ValidationStatus
.- Author:
- Glenn Renfro
-
Constructor Summary
ConstructorDescriptionStreamValidationController
(StreamService streamService) Create aStreamValidationController
that delegates toStreamService
. -
Method Summary
Modifier and TypeMethodDescriptionReturnStreamAppStatusResource
showing the validation status of the apps in a stream.
-
Constructor Details
-
StreamValidationController
Create aStreamValidationController
that delegates toStreamService
.- Parameters:
streamService
- the stream service to use
-
-
Method Details
-
validate
@GetMapping("/{name}") @ResponseStatus(OK) public StreamAppStatusResource validate(@PathVariable String name) ReturnStreamAppStatusResource
showing the validation status of the apps in a stream.- Parameters:
name
- name of the stream definition- Returns:
- The status for the apps in a stream definition.
-