Class InboundWebhookRestController
java.lang.Object
io.camunda.connector.runtime.inbound.webhook.InboundWebhookRestController
@RestController
@ConditionalOnProperty("camunda.connector.webhook.enabled")
public class InboundWebhookRestController
extends Object
-
Constructor Summary
ConstructorsConstructorDescriptionInboundWebhookRestController(InboundConnectorRegistry registry, io.camunda.connector.api.inbound.InboundConnectorContext connectorContext, io.camunda.zeebe.client.ZeebeClient zeebeClient, io.camunda.connector.runtime.util.feel.FeelEngineWrapper feelEngine, com.fasterxml.jackson.databind.ObjectMapper jsonMapper, io.camunda.zeebe.spring.client.metrics.MetricsRecorder metricsRecorder) -
Method Summary
-
Constructor Details
-
InboundWebhookRestController
@Autowired public InboundWebhookRestController(InboundConnectorRegistry registry, io.camunda.connector.api.inbound.InboundConnectorContext connectorContext, io.camunda.zeebe.client.ZeebeClient zeebeClient, io.camunda.connector.runtime.util.feel.FeelEngineWrapper feelEngine, com.fasterxml.jackson.databind.ObjectMapper jsonMapper, io.camunda.zeebe.spring.client.metrics.MetricsRecorder metricsRecorder)
-
-
Method Details
-
inbound
@PostMapping("/inbound/{context}") public org.springframework.http.ResponseEntity<WebhookResponse> inbound(@PathVariable String context, @RequestBody byte[] bodyAsByteArray, @RequestHeader Map<String, String> headers) throws IOException- Throws:
IOException
-