diff --git a/connectors/sns/element-templates/aws-sns-inbound-intermediate.json b/connectors/sns/element-templates/aws-sns-inbound-intermediate.json index 9dde2c9fe9..37ba257574 100644 --- a/connectors/sns/element-templates/aws-sns-inbound-intermediate.json +++ b/connectors/sns/element-templates/aws-sns-inbound-intermediate.json @@ -34,7 +34,7 @@ "properties": [ { "type":"Hidden", - "value":"io.camunda:aws-sns-inbound:1", + "value":"io.camunda:aws-sns-webhook:1", "binding":{ "type":"zeebe:property", "name":"inbound.type" diff --git a/connectors/sns/element-templates/aws-sns-inbound-start-event.json b/connectors/sns/element-templates/aws-sns-inbound-start-event.json index 170b94af8e..90a9887511 100644 --- a/connectors/sns/element-templates/aws-sns-inbound-start-event.json +++ b/connectors/sns/element-templates/aws-sns-inbound-start-event.json @@ -32,7 +32,7 @@ "properties": [ { "type":"Hidden", - "value":"io.camunda:aws-sns-inbound:1", + "value":"io.camunda:aws-sns-webhook:1", "binding":{ "type":"zeebe:property", "name":"inbound.type" diff --git a/connectors/sns/src/main/java/io/camunda/connector/sns/inbound/SnsWebhookExecutable.java b/connectors/sns/src/main/java/io/camunda/connector/sns/inbound/SnsWebhookExecutable.java index f6f1531fd6..c452bfa650 100644 --- a/connectors/sns/src/main/java/io/camunda/connector/sns/inbound/SnsWebhookExecutable.java +++ b/connectors/sns/src/main/java/io/camunda/connector/sns/inbound/SnsWebhookExecutable.java @@ -28,7 +28,7 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; -@InboundConnector(name = "SNS_INBOUND", type = "io.camunda:aws-sns-inbound:1") +@InboundConnector(name = "SNS_INBOUND", type = "io.camunda:aws-sns-webhook:1") public class SnsWebhookExecutable implements WebhookConnectorExecutable { private static final Logger LOGGER = LoggerFactory.getLogger(SnsWebhookExecutable.class); diff --git a/connectors/webhook/src/test/java/io/camunda/connector/inbound/HttpWebhookExecutableTest.java b/connectors/webhook/src/test/java/io/camunda/connector/inbound/HttpWebhookExecutableTest.java deleted file mode 100644 index 4c0966ce1a..0000000000 --- a/connectors/webhook/src/test/java/io/camunda/connector/inbound/HttpWebhookExecutableTest.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH - * under one or more contributor license agreements. Licensed under a proprietary license. - * See the License.txt file for more information. You may not use this file - * except in compliance with the proprietary license. - */ -package io.camunda.connector.inbound; - -import static org.junit.jupiter.api.Assertions.*; - -import com.fasterxml.jackson.databind.ObjectMapper; -import org.junit.jupiter.api.BeforeEach; -import org.junit.jupiter.api.Test; -import org.junit.jupiter.api.extension.ExtendWith; -import org.mockito.Mock; -import org.mockito.junit.jupiter.MockitoExtension; -import org.mockito.junit.jupiter.MockitoSettings; -import org.mockito.quality.Strictness; - -@ExtendWith(MockitoExtension.class) -@MockitoSettings(strictness = Strictness.LENIENT) -class HttpWebhookExecutableTest { - - @Mock private ObjectMapper mapper; - - private HttpWebhookExecutable testObject; - - @BeforeEach - void beforeEach() { - testObject = new HttpWebhookExecutable(mapper); - } - - @Test - void triggerWebhook_NoHMACAndJSONBody_HappyCase() {} - - @Test - void triggerWebhook_HMACEnabled_HappyCase() {} - - @Test - void triggerWebhook_HMACInvalid_RaisesException() {} - - @Test - void triggerWebhook_FormDataBody_BodyParsed() {} - - @Test - void triggerWebhook_NoContentTypeAndBodyAsJson_BodyParsed() {} - - @Test - void triggerWebhook_NonRegularContentTypeAndBodyAsJson_bodyParsed() {} -}