@RestController @RequestMapping(value="/runtime/apps") @ExposesResourceFor(value=AppStatusResource.class) public class RuntimeAppsController extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
RuntimeAppsController.AppInstanceController |
| Constructor and Description |
|---|
RuntimeAppsController(StreamDefinitionRepository streamDefinitionRepository,
DeploymentIdRepository deploymentIdRepository,
org.springframework.cloud.deployer.spi.app.AppDeployer appDeployer)
Instantiates a new runtime apps controller.
|
| Modifier and Type | Method and Description |
|---|---|
AppStatusResource |
display(String id) |
org.springframework.hateoas.PagedResources<AppStatusResource> |
list(org.springframework.data.web.PagedResourcesAssembler<org.springframework.cloud.deployer.spi.app.AppStatus> assembler) |
public RuntimeAppsController(StreamDefinitionRepository streamDefinitionRepository, DeploymentIdRepository deploymentIdRepository, org.springframework.cloud.deployer.spi.app.AppDeployer appDeployer)
streamDefinitionRepository - the repository this controller will use for stream CRUD operationsdeploymentIdRepository - the repository this controller will use for deployment IDsappDeployer - the deployer this controller will use to deploy stream apps@RequestMapping public org.springframework.hateoas.PagedResources<AppStatusResource> list(org.springframework.data.web.PagedResourcesAssembler<org.springframework.cloud.deployer.spi.app.AppStatus> assembler)
@RequestMapping(value="/{id}") public AppStatusResource display(@PathVariable String id)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.