@RestController @RequestMapping(value="/runtime/apps/{appId}/instances") @ExposesResourceFor(value=AppInstanceStatusResource.class) public class RuntimeAppInstanceController extends Object
Constructor and Description |
---|
RuntimeAppInstanceController(StreamDeployer streamDeployer)
Construct a new RuntimeAppInstanceController
|
Modifier and Type | Method and Description |
---|---|
AppInstanceStatusResource |
display(String appId,
String instanceId) |
org.springframework.hateoas.PagedResources<AppInstanceStatusResource> |
list(org.springframework.data.domain.Pageable pageable,
String appId,
org.springframework.data.web.PagedResourcesAssembler<org.springframework.cloud.deployer.spi.app.AppInstanceStatus> assembler) |
public RuntimeAppInstanceController(StreamDeployer streamDeployer)
streamDeployer
- the stream deployer to use@RequestMapping public org.springframework.hateoas.PagedResources<AppInstanceStatusResource> list(org.springframework.data.domain.Pageable pageable, @PathVariable String appId, org.springframework.data.web.PagedResourcesAssembler<org.springframework.cloud.deployer.spi.app.AppInstanceStatus> assembler)
@RequestMapping(value="/{instanceId}") public AppInstanceStatusResource display(@PathVariable String appId, @PathVariable String instanceId)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.