Skip to content

Commit

Permalink
Updated Versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
pme123 committed Jan 5, 2025
1 parent 4292ec4 commit 69a7f56
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
package camundala.examples.invoice

import camundala.camunda8.CaseClassJsonMapperConfig
import io.camunda.zeebe.spring.client.EnableZeebeClient
import io.camunda.zeebe.spring.client.annotation.ZeebeDeployment
import io.camunda.zeebe.spring.client.annotation.Deployment
import org.springframework.boot.SpringApplication
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.context.annotation.Configuration
Expand All @@ -11,8 +10,7 @@ import org.springframework.context.annotation.Configuration
class AppConfig extends CaseClassJsonMapperConfig

@SpringBootApplication
@EnableZeebeClient
@ZeebeDeployment(resources =
@Deployment(resources =
Array("classpath*:invoice.v3.bpmn", "classpath*:reviewInvoice.v2.bpmn", "classpath*:invoice*.dmn")
)
class InvoiceExampleApplication
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import io.camunda.zeebe.spring.client.annotation.{JobWorker, VariablesAsType}
import io.camunda.zeebe.spring.client.exception.ZeebeBpmnError
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.stereotype.Component
import scala.jdk.CollectionConverters.MapHasAsJava

@Component
class TwitterWorker:
Expand All @@ -19,7 +20,7 @@ class TwitterWorker:
try twitterService.tweet(variables.tweet)
catch
case ex: DuplicateTweetException =>
throw new ZeebeBpmnError("duplicateMessage", "Could not post tweet, it is a duplicate.")
throw new ZeebeBpmnError("duplicateMessage", "Could not post tweet, it is a duplicate.", Map.empty.asJava)

@JobWorker(`type` = "send-rejection", autoComplete = true)
@throws[Exception]
Expand Down
10 changes: 5 additions & 5 deletions project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ object Dependencies {
// 04-helper
val osLibVersion = "0.11.3"
// 01-domain
val openapiCirceVersion = "0.11.3"
val openapiCirceVersion = "0.11.5"
val tapirVersion = "1.11.11"
val ironCirceVersion = "2.6.0"
val mUnitVersion = "1.0.3"
Expand All @@ -23,7 +23,7 @@ object Dependencies {
// - mUnitVersion
// 03-dmn
// -> bpmn
val sttpClient3Version = "3.10.1"
val sttpClient3Version = "3.10.2"
val dmnTesterVersion = "0.17.9"
// - mUnitVersion
// 03-simulation
Expand All @@ -33,15 +33,15 @@ object Dependencies {
// 03-worker
// -> bpmn
// -mUnitVersion
val chimneyVersion = "1.5.0"
val chimneyVersion = "1.6.0"
// --- Implementations
// 04-helper
val sardineWebDavVersion = "5.12"
// 04-worker-c7spring
// -> worker
val camundaVersion = "7.22.0" // external task client
val jaxbApiVersion = "4.0.2" // needed by the camunda client 7.21?!
val scaffeineV = "5.2.1" // caching
val scaffeineV = "5.3.0" // caching
val zioVersion = "2.1.14" // zio
// - sttpClient3

Expand All @@ -53,7 +53,7 @@ object Dependencies {
// 04-c8-spring
// -> bpmn
val scalaJacksonVersion = "2.18.2"
val camunda8Version = "8.5.9"
val camunda8Version = "8.5.15"
val springBootVersion = "3.3.4"
val swaggerOpenAPIVersion = "2.1.24"
// examples
Expand Down
4 changes: 2 additions & 2 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ addSbtPlugin("com.github.sbt" % "sbt-native-packager" % "1.10.4")

// https://github.com/djspiewak/sbt-github-actions
//addSbtPlugin("com.codecommit" % "sbt-github-actions" % "0.13.0")
addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.9.0")
addSbtPlugin("org.typelevel" % "laika-sbt" % "1.3.0")
addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.9.2")
addSbtPlugin("org.typelevel" % "laika-sbt" % "1.3.1")
addSbtPlugin("org.scalameta" % "sbt-mdoc" % "2.6.2")

addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.13.1")
Expand Down

0 comments on commit 69a7f56

Please sign in to comment.