diff --git a/bundle/default-bundle/pom.xml b/bundle/default-bundle/pom.xml index fe8b1019f2..b2970e9032 100644 --- a/bundle/default-bundle/pom.xml +++ b/bundle/default-bundle/pom.xml @@ -76,7 +76,7 @@ org.codehaus.mojo exec-maven-plugin - io.camunda.connector.runtime.ConnectorRuntimeApplication + io.camunda.connector.bundle.ConnectorRuntimeApplication @@ -131,7 +131,7 @@ META-INF/io.netty.versions.properties - io.camunda.connector.runtime.ConnectorRuntimeApplication + io.camunda.connector.bundle.ConnectorRuntimeApplication diff --git a/bundle/default-bundle/src/main/java/io/camunda/connector/runtime/ConnectorRuntimeApplication.java b/bundle/default-bundle/src/main/java/io/camunda/connector/bundle/ConnectorRuntimeApplication.java similarity index 96% rename from bundle/default-bundle/src/main/java/io/camunda/connector/runtime/ConnectorRuntimeApplication.java rename to bundle/default-bundle/src/main/java/io/camunda/connector/bundle/ConnectorRuntimeApplication.java index 47d882c062..c33d008306 100644 --- a/bundle/default-bundle/src/main/java/io/camunda/connector/runtime/ConnectorRuntimeApplication.java +++ b/bundle/default-bundle/src/main/java/io/camunda/connector/bundle/ConnectorRuntimeApplication.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package io.camunda.connector.runtime; +package io.camunda.connector.bundle; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; diff --git a/bundle/default-bundle/src/main/resources/application.properties b/bundle/default-bundle/src/main/resources/application.properties index 7548fd22ce..5c3fdf29ec 100644 --- a/bundle/default-bundle/src/main/resources/application.properties +++ b/bundle/default-bundle/src/main/resources/application.properties @@ -1,13 +1,19 @@ + +server.port=9898 +zeebe.broker.gateway-address=localhost:26500 +zeebe.client.security.plaintext=true + camunda.connector.polling.enabled=true camunda.connector.polling.interval=5000 camunda.connector.webhook.enabled=true -#spring.main.web-application-type=none -# uncomment to activate inbound and adjust operate config if necessary -#operate.client.enabled=true +operate.client.enabled=true # Operate config for use with docker-compose-core.yml -#camunda.operate.client.url=http://localhost:8081 -#camunda.operate.client.username=demo -#camunda.operate.client.password=demo -#camunda.connector.webhook.enabled=true \ No newline at end of file +camunda.operate.client.url=http://localhost:8081 +camunda.operate.client.username=demo +camunda.operate.client.password=demo +camunda.connector.webhook.enabled=true + +logging.level.io.camunda.connector=trace +debug=true \ No newline at end of file diff --git a/bundle/default-bundle/src/test/resources/application.properties b/bundle/default-bundle/src/test/resources/application.properties index 33d3e85842..27266d5130 100644 --- a/bundle/default-bundle/src/test/resources/application.properties +++ b/bundle/default-bundle/src/test/resources/application.properties @@ -15,5 +15,3 @@ camunda.operate.client.url=http://localhost:8081 camunda.operate.client.username=demo camunda.operate.client.password=demo camunda.connector.webhook.enabled=true - -logging.level.io.camunda.connector=trace diff --git a/spring-boot-starter-camunda-connectors/README.md b/spring-boot-starter-camunda-connectors/README.md index 3a8c57719f..0f63fccac4 100644 --- a/spring-boot-starter-camunda-connectors/README.md +++ b/spring-boot-starter-camunda-connectors/README.md @@ -167,14 +167,14 @@ It uses the default configuration specified through the `@OutboundConnector` ann ```bash java -cp 'connector-runtime-VERSION-with-dependencies.jar:connector-http-json-VERSION-with-dependencies.jar' \ - io.camunda.connector.runtime.ConnectorRuntimeApplication + io.camunda.connector.bundle.ConnectorRuntimeApplication ``` Note that you need to use `;` instead of `:` on Windows machines: ```bash java -cp 'connector-runtime-VERSION-with-dependencies.jar;connector-http-json-VERSION-with-dependencies.jar' \ - io.camunda.connector.runtime.ConnectorRuntimeApplication + io.camunda.connector.bundle.ConnectorRuntimeApplication ``` #### Manual Discovery @@ -195,7 +195,7 @@ CONNECTOR_HTTPJSON_FUNCTION=io.camunda.connector.http.HttpJsonFunction CONNECTOR_HTTPJSON_TYPE=non-default-httpjson-task-type java -cp 'connector-runtime-VERSION-with-dependencies.jar:connector-http-json-VERSION-with-dependencies.jar' \ - io.camunda.connector.runtime.ConnectorRuntimeApplication + io.camunda.connector.bundle.ConnectorRuntimeApplication ``` ### Secrets diff --git a/spring-boot-starter-camunda-connectors/pom.xml b/spring-boot-starter-camunda-connectors/pom.xml index 2828ddd3b6..b7658c6c07 100644 --- a/spring-boot-starter-camunda-connectors/pom.xml +++ b/spring-boot-starter-camunda-connectors/pom.xml @@ -77,7 +77,7 @@ org.codehaus.mojo exec-maven-plugin - io.camunda.connector.runtime.ConnectorRuntimeApplication + io.camunda.connector.bundle.ConnectorRuntimeApplication @@ -147,7 +147,7 @@ - io.camunda.connector.runtime.ConnectorRuntimeApplication + io.camunda.connector.bundle.ConnectorRuntimeApplication diff --git a/spring-boot-starter-camunda-connectors/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports b/spring-boot-starter-camunda-connectors/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports new file mode 100644 index 0000000000..2965f08580 --- /dev/null +++ b/spring-boot-starter-camunda-connectors/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports @@ -0,0 +1 @@ +io.camunda.connector.runtime.ConnectorsAutoConfiguration \ No newline at end of file