@RestController @RequestMapping(value="/streams/validation") @ExposesResourceFor(value=StreamAppStatusResource.class) public class StreamValidationController extends Object
ValidationStatus
.Constructor and Description |
---|
StreamValidationController(StreamService streamService)
Create a
StreamValidationController that delegates to StreamService . |
Modifier and Type | Method and Description |
---|---|
StreamAppStatusResource |
validate(String name)
Return
StreamAppStatusResource showing the validation status of the apps in a stream. |
public StreamValidationController(StreamService streamService)
StreamValidationController
that delegates to StreamService
.streamService
- the stream service to use@RequestMapping(value="/{name}", method=GET) @ResponseStatus(value=OK) public StreamAppStatusResource validate(@PathVariable(value="name") String name)
StreamAppStatusResource
showing the validation status of the apps in a stream.name
- name of the stream definitionCopyright © 2024 Pivotal Software, Inc.. All rights reserved.