Skip to content

Commit

Permalink
Merge pull request #296 from Zelldon/dependabot/maven/zeebe.version-8…
Browse files Browse the repository at this point in the history
….2.13

build(deps): bump zeebe.version from 8.2.11 to 8.2.13
  • Loading branch information
ChrisKujawa authored Sep 15, 2023
2 parents cdefb53 + 8e574d9 commit e3e7f3d
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import io.camunda.zeebe.db.impl.DbCompositeKey
import io.camunda.zeebe.db.impl.DbLong
import io.camunda.zeebe.db.impl.DbNil
import io.camunda.zeebe.db.impl.DbString
import io.camunda.zeebe.engine.EngineConfiguration
import io.camunda.zeebe.engine.state.ProcessingDbState
import io.camunda.zeebe.engine.state.immutable.ProcessingState
import io.camunda.zeebe.engine.state.variable.VariableInstance
Expand All @@ -36,7 +37,7 @@ class GeneralState(statePath: Path) {

init {
readonlyDb = ReadonlyTransactionDb.openReadonlyDb(statePath)
zeebeDbState = ProcessingDbState(1, readonlyDb, readonlyDb.createContext(), { 1 })
zeebeDbState = ProcessingDbState(1, readonlyDb, readonlyDb.createContext(), { 1 }, EngineConfiguration())
}

fun generalDetails(): GeneralDetails {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
package io.zell.zdb.state.incident

import io.camunda.zeebe.db.impl.DbLong
import io.camunda.zeebe.engine.EngineConfiguration
import io.camunda.zeebe.engine.state.ProcessingDbState
import io.camunda.zeebe.engine.state.immutable.ProcessingState
import io.camunda.zeebe.engine.state.instance.Incident
Expand All @@ -30,7 +31,7 @@ class IncidentState(readonlyDb: ReadonlyTransactionDb) {

init {
this.readonlyDb = readonlyDb
zeebeDbState = ProcessingDbState(1, readonlyDb, readonlyDb.createContext(), { 1 })
zeebeDbState = ProcessingDbState(1, readonlyDb, readonlyDb.createContext(), { 1 }, EngineConfiguration())
}

constructor(statePath: Path) : this(ReadonlyTransactionDb.openReadonlyDb(statePath))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ package io.zell.zdb.state.instance

import io.camunda.zeebe.db.ColumnFamily
import io.camunda.zeebe.db.impl.DbLong
import io.camunda.zeebe.engine.EngineConfiguration
import io.camunda.zeebe.engine.state.ProcessingDbState
import io.camunda.zeebe.engine.state.immutable.ProcessingState
import io.camunda.zeebe.engine.state.instance.ElementInstance
Expand All @@ -35,7 +36,7 @@ class InstanceState(readonlyTransactionDb: ReadonlyTransactionDb) {

init {
readonlyDb = readonlyTransactionDb
zeebeDbState = ProcessingDbState(1, readonlyDb, readonlyDb.createContext(), { 1 })
zeebeDbState = ProcessingDbState(1, readonlyDb, readonlyDb.createContext(), { 1 }, EngineConfiguration())
}

constructor(statePath: Path) : this(ReadonlyTransactionDb.openReadonlyDb(statePath))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
*/
package io.zell.zdb.state.process

import io.camunda.zeebe.engine.EngineConfiguration
import io.camunda.zeebe.engine.state.ProcessingDbState
import io.camunda.zeebe.engine.state.deployment.DeployedProcess
import io.camunda.zeebe.engine.state.immutable.ProcessingState
Expand All @@ -27,7 +28,7 @@ class ProcessState(statePath: Path) {

init {
val readonlyDb = ReadonlyTransactionDb.openReadonlyDb(statePath)
zeebeDbState = ProcessingDbState(1, readonlyDb, readonlyDb.createContext(), { 1 })
zeebeDbState = ProcessingDbState(1, readonlyDb, readonlyDb.createContext(), { 1 }, EngineConfiguration())
}

fun listProcesses(): List<ProcessMeta> {
Expand Down
3 changes: 2 additions & 1 deletion backend/src/test/kotlin/ZeebeTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import io.camunda.zeebe.client.ZeebeClient;
import io.camunda.zeebe.client.api.response.DeploymentEvent;
import io.camunda.zeebe.client.api.response.ProcessInstanceResult;
import io.camunda.zeebe.engine.EngineConfiguration;
import io.camunda.zeebe.engine.state.ProcessingDbState;
import io.camunda.zeebe.engine.state.deployment.DeployedProcess;
import io.camunda.zeebe.model.bpmn.Bpmn;
Expand Down Expand Up @@ -103,7 +104,7 @@ public void shouldOpenAndReadState() {
// when
final var readonlyTransactionDb = ReadonlyTransactionDb.Companion
.openReadonlyDb(ZeebePaths.Companion.getRuntimePath(tempDir, "1"));
var zeebeState = new ProcessingDbState(1, readonlyTransactionDb, readonlyTransactionDb.createContext(), () -> 1);
var zeebeState = new ProcessingDbState(1, readonlyTransactionDb, readonlyTransactionDb.createContext(), () -> 1, new EngineConfiguration());

// then
final var processState = zeebeState.getProcessState();
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
<zeebe-test-container.version>3.0.0</zeebe-test-container.version>
<zeebe-test-util.version>1.0.0</zeebe-test-util.version>
<zeebe-util.version>1.0.0</zeebe-util.version>
<zeebe.version>8.2.11</zeebe.version>
<zeebe.version>8.2.13</zeebe.version>
<sonar.organization>zelldon-github</sonar.organization>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
<version.jib>3.3.2</version.jib>
Expand Down

0 comments on commit e3e7f3d

Please sign in to comment.