Class RuntimeAppsController
java.lang.Object
org.springframework.cloud.dataflow.server.controller.RuntimeAppsController
@RestController
@RequestMapping("/runtime/apps")
@ExposesResourceFor(AppStatusResource.class)
public class RuntimeAppsController
extends Object
Exposes runtime status of deployed apps.
- Author:
- Eric Bottard, Mark Fisher, Janne Valkealahti, Ilayaperumal Gopinathan, Gunnar Hillert, Christian Tzolov
-
Constructor Summary
ConstructorsConstructorDescriptionRuntimeAppsController
(StreamDeployer streamDeployer) Construct a new runtime apps controller. -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.hateoas.PagedModel<AppStatusResource>
list
(org.springframework.data.domain.Pageable pageable, org.springframework.data.web.PagedResourcesAssembler<org.springframework.cloud.deployer.spi.app.AppStatus> assembler)
-
Constructor Details
-
RuntimeAppsController
Construct a new runtime apps controller.- Parameters:
streamDeployer
- the deployer this controller will use to get the status of deployed stream apps
-
-
Method Details
-
list
@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) -
display
-