类 TriggerController
- java.lang.Object
-
- cn.dustlight.flow.application.controllers.TriggerController
-
@RestController @RequestMapping("/v1") @CrossOrigin public class TriggerController extends Object
-
-
构造器概要
构造器 构造器 说明 TriggerController()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 reactor.core.publisher.Mono<Collection<String>>getOperations()reactor.core.publisher.Mono<Collection<String>>getTriggerKeys(String process, String operation, String clientId, cn.dustlight.auth.resources.core.AuthPrincipal principal, cn.dustlight.auth.client.reactive.ReactiveAuthClient client)reactor.core.publisher.Mono<Collection<String>>getTriggerProcess(String key, String operation, String clientId, cn.dustlight.auth.resources.core.AuthPrincipal principal, cn.dustlight.auth.client.reactive.ReactiveAuthClient client)reactor.core.publisher.Mono<Void>setTriggerProcess(String key, String operation, Set<String> processes, String clientId, cn.dustlight.auth.resources.core.AuthPrincipal principal, cn.dustlight.auth.client.reactive.ReactiveAuthClient client)
-
-
-
方法详细资料
-
setTriggerProcess
@PutMapping("/trigger/{key}") public reactor.core.publisher.Mono<Void> setTriggerProcess(@PathVariable(name="key") String key, @RequestParam(name="opt") String operation, @RequestBody Set<String> processes, @RequestParam(name="cid",required=false) String clientId, cn.dustlight.auth.resources.core.AuthPrincipal principal, cn.dustlight.auth.client.reactive.ReactiveAuthClient client)
-
getTriggerProcess
@GetMapping("/trigger/{key}") public reactor.core.publisher.Mono<Collection<String>> getTriggerProcess(@PathVariable(name="key") String key, @RequestParam(name="opt",required=false) String operation, @RequestParam(name="cid",required=false) String clientId, cn.dustlight.auth.resources.core.AuthPrincipal principal, cn.dustlight.auth.client.reactive.ReactiveAuthClient client)
-
getTriggerKeys
@GetMapping("/process/{process}/trigger") public reactor.core.publisher.Mono<Collection<String>> getTriggerKeys(@PathVariable(name="process") String process, @RequestParam(name="opt",required=false) String operation, @RequestParam(name="cid",required=false) String clientId, cn.dustlight.auth.resources.core.AuthPrincipal principal, cn.dustlight.auth.client.reactive.ReactiveAuthClient client)
-
getOperations
@GetMapping("/trigger-operations") public reactor.core.publisher.Mono<Collection<String>> getOperations()
-
-