@RestController public class ManagementController extends Object
Constructor and Description |
---|
ManagementController(BackingAppManagementService service) |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<String> |
restageApplications(String serviceInstanceId) |
reactor.core.publisher.Mono<String> |
restartApplications(String serviceInstanceId) |
reactor.core.publisher.Mono<String> |
startApplications(String serviceInstanceId) |
reactor.core.publisher.Mono<String> |
stopApplications(String serviceInstanceId) |
public ManagementController(BackingAppManagementService service)
@GetMapping(value="/start/{serviceInstanceId}") public reactor.core.publisher.Mono<String> startApplications(@PathVariable String serviceInstanceId)
@GetMapping(value="/stop/{serviceInstanceId}") public reactor.core.publisher.Mono<String> stopApplications(@PathVariable String serviceInstanceId)
@GetMapping(value="/restart/{serviceInstanceId}") public reactor.core.publisher.Mono<String> restartApplications(@PathVariable String serviceInstanceId)
@GetMapping(value="/restage/{serviceInstanceId}") public reactor.core.publisher.Mono<String> restageApplications(@PathVariable String serviceInstanceId)