Skip to content

Commit

Permalink
Adjustments in Generation application.yaml for Workers. Fixed bad dep…
Browse files Browse the repository at this point in the history
…endencies.
  • Loading branch information
Pascal Mengelt committed Nov 14, 2024
1 parent 00e2bef commit 9c01a75
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -222,27 +222,16 @@ case class WorkerGenerator()(using config: SetupConfig):
s"""# DO NOT ADJUST. This file is replaced by `./helper.scala update`.
|spring.application.name: ${config.projectName}-worker
|
|server:
| port: 8093
|camunda.bpm:
| job-execution:
| wait-time-in-millis: 200 # this is for speedup testing
| client:
| base-url: $${CAMUNDA_BASE_URL:http://localhost:8080/engine-rest}
| worker-id: $${WORKER_ID:my-worker}
| disable-backoff-strategy: true # only during testing - faster topic
| async-response-timeout: 10000
|
|spring.profiles.include: company-defaults # adds your specific company spring boot configuration (camundala-company-worker -> application-company-defaults.yaml)
|
|logging:
| level:
| root: warn
| "camundala": info
| "${config.companyName}": info
| "org.camunda.bpm.client": info
|
|spring.profiles.include: camunda-default # adds your specific company spring boot configuration (application-camunda-default.yaml)
|
|
|# add here your specific configuration -> REMOVE # DO NOT ADJU...
|""".stripMargin

private lazy val banner =
Expand Down
3 changes: 2 additions & 1 deletion project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ object Dependencies {
// 04-c8-spring
// -> bpmn
val scalaJacksonVersion = "2.18.1"
val zeebeVersion = "8.5.14"
val zeebeVersion = "8.5.9"
val springBootVersion = "3.3.4"
val swaggerOpenAPIVersion = "2.1.23"
// examples
Expand Down Expand Up @@ -86,6 +86,7 @@ object Dependencies {
// json support
"org.camunda.bpm" % "camunda-engine-plugin-spin" % camundaVersion,
"org.camunda.spin" % "camunda-spin-dataformat-json-jackson" % camundaSpinVersion,
"jakarta.xml.bind" % "jakarta.xml.bind-api" % jaxbApiVersion,
// groovy support
"org.codehaus.groovy" % "groovy-jsr223" % groovyVersion,
"com.h2database" % "h2" % h2Version
Expand Down

0 comments on commit 9c01a75

Please sign in to comment.