@RestController public class EventSubscriptionClientResource extends AbstractClientResource
| Modifier and Type | Field and Description |
|---|---|
protected EventSubscriptionService |
eventSubscriptionService |
configRepository| Constructor and Description |
|---|
EventSubscriptionClientResource() |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
getEventSubscription(String eventSubscriptionId)
GET /rest/admin/event-subscriptions/{eventSubscriptionId} -> return event subscription data
|
void |
triggerEvent(String eventSubscriptionId,
com.fasterxml.jackson.databind.node.ObjectNode eventBody)
POST /rest/admin/event-subscriptions/{eventSubscriptionId} -> trigger event
|
getRequestParametersWithoutServerId, retrieveServerConfig@Autowired protected EventSubscriptionService eventSubscriptionService
@GetMapping(value="/rest/admin/event-subscriptions/{eventSubscriptionId}",
produces="application/json")
public com.fasterxml.jackson.databind.JsonNode getEventSubscription(@PathVariable
String eventSubscriptionId)
throws org.flowable.ui.common.service.exception.BadRequestException
org.flowable.ui.common.service.exception.BadRequestException@PostMapping(value="/rest/admin/event-subscriptions/{eventSubscriptionId}",
produces="application/json")
@ResponseStatus(value=OK)
public void triggerEvent(@PathVariable
String eventSubscriptionId,
@RequestBody
com.fasterxml.jackson.databind.node.ObjectNode eventBody)
throws org.flowable.ui.common.service.exception.BadRequestException
org.flowable.ui.common.service.exception.BadRequestExceptionCopyright © 2022 Flowable. All rights reserved.