类 ProcessController


  • @RestController
    @RequestMapping("/v1")
    @CrossOrigin
    public class ProcessController
    extends Object
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      reactor.core.publisher.Mono<Void> createProcess​(String clientId, boolean isBase64, String data, cn.dustlight.auth.client.reactive.ReactiveAuthClient reactiveAuthClient, cn.dustlight.auth.resources.core.AuthPrincipal principal)  
      reactor.core.publisher.Mono<cn.dustlight.flow.core.flow.process.Process> getProcess​(String name, Integer version, String clientId, cn.dustlight.auth.client.reactive.ReactiveAuthClient reactiveAuthClient, cn.dustlight.auth.resources.core.AuthPrincipal principal)  
      reactor.core.publisher.Mono<cn.dustlight.flow.core.flow.process.Process> getProcess​(String name, String clientId, cn.dustlight.auth.client.reactive.ReactiveAuthClient reactiveAuthClient, cn.dustlight.auth.resources.core.AuthPrincipal principal)  
      reactor.core.publisher.Mono<cn.dustlight.flow.core.flow.QueryResult<cn.dustlight.flow.core.flow.process.Process>> getProcesses​(String keyword, String clientId, int page, int size, cn.dustlight.auth.client.reactive.ReactiveAuthClient reactiveAuthClient, cn.dustlight.auth.resources.core.AuthPrincipal principal)  
    • 构造器详细资料

      • ProcessController

        public ProcessController()
    • 方法详细资料

      • createProcess

        @PostMapping(value="/process",
                     consumes={"application/xml","text/plain; charset: utf-8","text/xml; charset: utf-8"},
                     produces="application/json")
        public reactor.core.publisher.Mono<Void> createProcess​(@RequestParam(name="cid",required=false)
                                                               String clientId,
                                                               @RequestParam(name="base64",required=false,defaultValue="false")
                                                               boolean isBase64,
                                                               @RequestBody
                                                               String data,
                                                               cn.dustlight.auth.client.reactive.ReactiveAuthClient reactiveAuthClient,
                                                               cn.dustlight.auth.resources.core.AuthPrincipal principal)
      • getProcess

        @GetMapping("/process/{name}")
        public reactor.core.publisher.Mono<cn.dustlight.flow.core.flow.process.Process> getProcess​(@PathVariable
                                                                                                   String name,
                                                                                                   @RequestParam(name="cid",required=false)
                                                                                                   String clientId,
                                                                                                   cn.dustlight.auth.client.reactive.ReactiveAuthClient reactiveAuthClient,
                                                                                                   cn.dustlight.auth.resources.core.AuthPrincipal principal)
      • getProcess

        @GetMapping("/process/{name}/{version}")
        public reactor.core.publisher.Mono<cn.dustlight.flow.core.flow.process.Process> getProcess​(@PathVariable
                                                                                                   String name,
                                                                                                   @PathVariable
                                                                                                   Integer version,
                                                                                                   @RequestParam(name="cid",required=false)
                                                                                                   String clientId,
                                                                                                   cn.dustlight.auth.client.reactive.ReactiveAuthClient reactiveAuthClient,
                                                                                                   cn.dustlight.auth.resources.core.AuthPrincipal principal)
      • getProcesses

        @GetMapping("/processes")
        public reactor.core.publisher.Mono<cn.dustlight.flow.core.flow.QueryResult<cn.dustlight.flow.core.flow.process.Process>> getProcesses​(@RequestParam(name="q",required=false)
                                                                                                                                              String keyword,
                                                                                                                                              @RequestParam(name="cid",required=false)
                                                                                                                                              String clientId,
                                                                                                                                              @RequestParam(name="page",required=false,defaultValue="0")
                                                                                                                                              int page,
                                                                                                                                              @RequestParam(name="size",required=false,defaultValue="10")
                                                                                                                                              int size,
                                                                                                                                              cn.dustlight.auth.client.reactive.ReactiveAuthClient reactiveAuthClient,
                                                                                                                                              cn.dustlight.auth.resources.core.AuthPrincipal principal)