@RestController @RequestMapping(value="/${nflow.rest.path.prefix}/v1/statistics", produces="application/json") @Component public class StatisticsResource extends SpringWebResource
actions, actionStateVariables, childWorkflows, currentStateVariables, INCLUDE_PARAM_DESC, INCLUDE_PARAM_VALUES| Constructor and Description |
|---|
StatisticsResource(SchedulerService scheduler,
StatisticsConverter statisticsConverter,
io.nflow.engine.service.StatisticsService statisticsService) |
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<ResponseEntity<?>> |
getStatistics(String type,
org.joda.time.DateTime createdAfter,
org.joda.time.DateTime createdBefore,
org.joda.time.DateTime modifiedAfter,
org.joda.time.DateTime modifiedBefore) |
reactor.core.publisher.Mono<ResponseEntity<?>> |
queryStatistics() |
handleExceptions, wrapBlockingfetchWorkflowInstance, handleExceptions, listWorkflowDefinitions, listWorkflowInstances, resolveExceptionHttpStatus, updateWorkflowInstance@Inject public StatisticsResource(SchedulerService scheduler, StatisticsConverter statisticsConverter, io.nflow.engine.service.StatisticsService statisticsService)
@GetMapping public reactor.core.publisher.Mono<ResponseEntity<?>> queryStatistics()
@GetMapping(path="/workflow/{type}") public reactor.core.publisher.Mono<ResponseEntity<?>> getStatistics(@PathVariable(value="type") String type, @RequestParam(value="createdAfter",required=false) org.joda.time.DateTime createdAfter, @RequestParam(value="createdBefore",required=false) org.joda.time.DateTime createdBefore, @RequestParam(value="modifiedAfter",required=false) org.joda.time.DateTime modifiedAfter, @RequestParam(value="modifiedBefore",required=false) org.joda.time.DateTime modifiedBefore)
Copyright © 2014–2021 Nitor Creations. All rights reserved.