Skip to content

Commit

Permalink
Merge pull request #222 from camunda-community-hub/update-connectors-…
Browse files Browse the repository at this point in the history
…bundle

feat: Update connectors-bundle to 0.20.0
  • Loading branch information
saig0 authored Jun 13, 2023
2 parents b50cc5c + b5d7f28 commit 3054d6c
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 54 deletions.
65 changes: 17 additions & 48 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@
<zeeqs.version>2.9.0</zeeqs.version>
<eze.version>1.2.0</eze.version>
<hazelcast.version>1.4.0</hazelcast.version>
<spring-zeebe.version>8.2.2</spring-zeebe.version>
<camunda-connector-bundle.version>0.18.2</camunda-connector-bundle.version>
<camunda-connector-sdk.version>0.9.0</camunda-connector-sdk.version>
<camunda-connector-bundle.version>0.20.0</camunda-connector-bundle.version>

<kotlin.version>1.8.22</kotlin.version>
<spring.boot.version>2.7.12</spring.boot.version>
Expand Down Expand Up @@ -75,21 +73,9 @@
</dependency>

<dependency>
<groupId>io.camunda</groupId>
<artifactId>spring-zeebe-starter</artifactId>
<version>${spring-zeebe.version}</version>
</dependency>

<dependency>
<groupId>org.camunda.community</groupId>
<artifactId>eze</artifactId>
<version>${eze.version}</version>
</dependency>

<dependency>
<groupId>io.zeebe.hazelcast</groupId>
<artifactId>zeebe-hazelcast-exporter</artifactId>
<version>${hazelcast.version}</version>
<groupId>io.camunda.connector</groupId>
<artifactId>spring-boot-starter-camunda-connectors</artifactId>
<version>${camunda-connector-bundle.version}</version>
</dependency>

<dependency>
Expand All @@ -99,15 +85,15 @@
</dependency>

<dependency>
<groupId>io.camunda.connector</groupId>
<artifactId>connector-runtime-util</artifactId>
<version>${camunda-connector-sdk.version}</version>
<groupId>org.camunda.community</groupId>
<artifactId>eze</artifactId>
<version>${eze.version}</version>
</dependency>

<dependency>
<groupId>io.camunda.connector</groupId>
<artifactId>connector-validation</artifactId>
<version>${camunda-connector-sdk.version}</version>
<groupId>io.zeebe.hazelcast</groupId>
<artifactId>zeebe-hazelcast-exporter</artifactId>
<version>${hazelcast.version}</version>
</dependency>

<dependency>
Expand Down Expand Up @@ -221,10 +207,15 @@
<!-- Zeebe dependencies -->

<dependency>
<groupId>io.camunda</groupId>
<artifactId>spring-zeebe-starter</artifactId>
<groupId>io.camunda.connector</groupId>
<artifactId>spring-boot-starter-camunda-connectors</artifactId>
</dependency>

<dependency>
<groupId>io.camunda.connector</groupId>
<artifactId>connector-runtime-bundle</artifactId>
</dependency>

<dependency>
<groupId>org.camunda.community</groupId>
<artifactId>eze</artifactId>
Expand All @@ -241,28 +232,6 @@
<artifactId>zeebe-hazelcast-exporter</artifactId>
</dependency>

<dependency>
<groupId>io.camunda.connector</groupId>
<artifactId>connector-runtime-bundle</artifactId>
<exclusions>
<!-- The runtime causes errors in Spring. We don't need it. -->
<exclusion>
<groupId>io.camunda</groupId>
<artifactId>spring-zeebe-connector-runtime</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
<groupId>io.camunda.connector</groupId>
<artifactId>connector-runtime-util</artifactId>
</dependency>

<dependency>
<groupId>io.camunda.connector</groupId>
<artifactId>connector-validation</artifactId>
</dependency>

<!-- Database drivers -->

<dependency>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package org.camunda.community.zeebe.play


import io.camunda.connector.runtime.OutboundConnectorsAutoConfiguration
import io.zeebe.zeeqs.importer.hazelcast.HazelcastImporter
import io.zeebe.zeeqs.importer.hazelcast.HazelcastProperties
import org.camunda.community.zeebe.play.zeebe.ZeebeService
Expand All @@ -12,7 +13,7 @@ import javax.annotation.PostConstruct
import javax.annotation.PreDestroy


@SpringBootApplication
@SpringBootApplication(exclude = [OutboundConnectorsAutoConfiguration::class])
@EnableSpringDataWebSupport
open class ZeebePlayApplication(
val hazelcastProperties: HazelcastProperties,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package org.camunda.community.zeebe.play.connectors

import io.camunda.connector.impl.outbound.OutboundConnectorConfiguration
import io.camunda.connector.runtime.util.discovery.SPIConnectorDiscovery
import io.camunda.connector.runtime.core.discovery.SPIConnectorDiscovery
import io.camunda.zeebe.model.bpmn.Bpmn
import io.camunda.zeebe.model.bpmn.BpmnModelInstance
import io.camunda.zeebe.model.bpmn.instance.zeebe.ZeebeInput
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package org.camunda.community.zeebe.play.connectors

import io.camunda.connector.api.secret.SecretProvider
import io.camunda.connector.runtime.util.ConnectorHelper
import io.camunda.connector.runtime.util.outbound.ConnectorJobHandler
import io.camunda.connector.runtime.core.ConnectorHelper
import io.camunda.connector.runtime.core.outbound.ConnectorJobHandler
import io.camunda.zeebe.client.ZeebeClient
import org.slf4j.LoggerFactory
import org.springframework.boot.autoconfigure.domain.EntityScan
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package org.camunda.community.zeebe.play.rest
import com.fasterxml.jackson.core.type.TypeReference
import com.fasterxml.jackson.databind.ObjectMapper
import io.camunda.connector.impl.outbound.OutboundConnectorConfiguration
import io.camunda.connector.runtime.util.ConnectorHelper
import io.camunda.connector.runtime.util.outbound.ConnectorJobHandler
import io.camunda.connector.runtime.core.ConnectorHelper
import io.camunda.connector.runtime.core.outbound.ConnectorJobHandler
import io.camunda.zeebe.client.ZeebeClient
import io.camunda.zeebe.client.api.response.ActivatedJob
import io.camunda.zeebe.model.bpmn.Bpmn
Expand Down
8 changes: 8 additions & 0 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@ zeebe:
# - name: SLACK_OAUTH_TOKEN
# value: my-slack-oauth-token

camunda:
# disable inbound connector
connector:
polling:
enabled: false
webhook:
enabled: false

spring:
datasource:
url: jdbc:h2:mem:zeeqs;DB_CLOSE_DELAY=-1
Expand Down

0 comments on commit 3054d6c

Please sign in to comment.