@RestController @RequestMapping(value="/runtime/apps") @ExposesResourceFor(value=AppStatusResource.class) public class RuntimeAppsController extends Object
Constructor and Description |
---|
RuntimeAppsController(StreamDeployer streamDeployer)
Construct a new runtime apps controller.
|
Modifier and Type | Method and Description |
---|---|
AppStatusResource |
display(String appId) |
org.springframework.hateoas.PagedModel<AppStatusResource> |
list(org.springframework.data.domain.Pageable pageable,
org.springframework.data.web.PagedResourcesAssembler<org.springframework.cloud.deployer.spi.app.AppStatus> assembler) |
public RuntimeAppsController(StreamDeployer streamDeployer)
streamDeployer
- the deployer this controller will use to get the status of
deployed stream apps@RequestMapping public org.springframework.hateoas.PagedModel<AppStatusResource> list(org.springframework.data.domain.Pageable pageable, org.springframework.data.web.PagedResourcesAssembler<org.springframework.cloud.deployer.spi.app.AppStatus> assembler)
@RequestMapping(value="/{appId}") public AppStatusResource display(@PathVariable String appId)
Copyright © 2023 Pivotal Software, Inc.. All rights reserved.