diff --git a/examples/basic-junit4/pom.xml b/examples/basic-junit4/pom.xml
index cbd0086..d780fab 100644
--- a/examples/basic-junit4/pom.xml
+++ b/examples/basic-junit4/pom.xml
@@ -6,7 +6,7 @@
io.holunda.testing
camunda-bpm-jgiven-examples
- 1.21.1
+ 1.22.0
camunda-bpm-jgiven-examples-basic-junit4
diff --git a/examples/basic-junit4/src/main/kotlin/io/holunda/testing/examples/basic/ApprovalProcessBean.kt b/examples/basic-junit4/src/main/kotlin/io/holunda/testing/examples/basic/ApprovalProcessBean.kt
index 42d5675..66ce90e 100644
--- a/examples/basic-junit4/src/main/kotlin/io/holunda/testing/examples/basic/ApprovalProcessBean.kt
+++ b/examples/basic-junit4/src/main/kotlin/io/holunda/testing/examples/basic/ApprovalProcessBean.kt
@@ -11,6 +11,9 @@ class ApprovalProcessBean(
private val processEngine: ProcessEngine
) : Supplier {
+ /**
+ * Main attributes.
+ */
companion object {
const val KEY = "approval"
const val RESOURCE = "approval.bpmn"
diff --git a/examples/basic-junit5/pom.xml b/examples/basic-junit5/pom.xml
index 142ceaa..74602d7 100644
--- a/examples/basic-junit5/pom.xml
+++ b/examples/basic-junit5/pom.xml
@@ -6,7 +6,7 @@
io.holunda.testing
camunda-bpm-jgiven-examples
- 1.21.1
+ 1.22.0
camunda-bpm-jgiven-examples-basic-junit5
diff --git a/examples/basic-junit5/src/main/kotlin/io/holunda/testing/examples/basic/ApprovalProcessBean.kt b/examples/basic-junit5/src/main/kotlin/io/holunda/testing/examples/basic/ApprovalProcessBean.kt
index e107216..063d345 100644
--- a/examples/basic-junit5/src/main/kotlin/io/holunda/testing/examples/basic/ApprovalProcessBean.kt
+++ b/examples/basic-junit5/src/main/kotlin/io/holunda/testing/examples/basic/ApprovalProcessBean.kt
@@ -11,6 +11,9 @@ class ApprovalProcessBean(
private val processEngine: ProcessEngine
) : Supplier {
+ /**
+ * Main attributes.
+ */
companion object {
const val KEY = "approval"
const val RESOURCE = "approval.bpmn"
diff --git a/examples/basic-junit5/src/test/kotlin/io/holunda/testing/examples/basic/junit5/TestProcessEngine.kt b/examples/basic-junit5/src/test/kotlin/io/holunda/testing/examples/basic/junit5/TestProcessEngine.kt
index 7d8a99e..3816deb 100644
--- a/examples/basic-junit5/src/test/kotlin/io/holunda/testing/examples/basic/junit5/TestProcessEngine.kt
+++ b/examples/basic-junit5/src/test/kotlin/io/holunda/testing/examples/basic/junit5/TestProcessEngine.kt
@@ -35,8 +35,6 @@ object TestProcessEngine {
configuration.isJobExecutorActivate = false
configuration.isDbMetricsReporterActivate = false
configuration.expressionManager = MockExpressionManager()
- configuration.isTelemetryReporterActivate = false
- configuration.isInitializeTelemetry = false
}
/**
diff --git a/examples/pom.xml b/examples/pom.xml
index c92cccb..1528f37 100644
--- a/examples/pom.xml
+++ b/examples/pom.xml
@@ -6,7 +6,7 @@
io.holunda.testing
camunda-bpm-jgiven-parent
- 1.21.1
+ 1.22.0
camunda-bpm-jgiven-examples
@@ -15,7 +15,7 @@
3.3.4
2.7.0
- 7.21.0
+ 7.22.0
4.13.2
diff --git a/extension/pom.xml b/extension/pom.xml
index 28a7d42..ff863ea 100644
--- a/extension/pom.xml
+++ b/extension/pom.xml
@@ -6,7 +6,7 @@
io.holunda.testing
camunda-bpm-jgiven-parent
- 1.21.1
+ 1.22.0
camunda-bpm-jgiven
diff --git a/extension/src/main/kotlin/io/holunda/camunda/bpm/extension/jgiven/ProcessStage.kt b/extension/src/main/kotlin/io/holunda/camunda/bpm/extension/jgiven/ProcessStage.kt
index 3998920..0e01a6f 100644
--- a/extension/src/main/kotlin/io/holunda/camunda/bpm/extension/jgiven/ProcessStage.kt
+++ b/extension/src/main/kotlin/io/holunda/camunda/bpm/extension/jgiven/ProcessStage.kt
@@ -210,8 +210,8 @@ class ProcessStage, PROCESS_BEAN : Suppl
* @param activityId activities the execution is waiting at.
* @return fluent stage.
*/
- @As("process continues")
- fun process_continues(vararg activityId: String) = job_is_executed(*activityId)
+ @As("process continues with activities $")
+ fun process_continues(@QuotedVarargs vararg activityId: String) = job_is_executed(*activityId)
/**
@@ -504,7 +504,7 @@ class ProcessStage, PROCESS_BEAN : Suppl
* @param activityId id of the activity the job is waiting in.
* @return fluent stage.
*/
- fun job_is_executed(vararg activityId: String) = step {
+ fun job_is_executed(@QuotedVarargs vararg activityId: String) = step {
require(activityId.isNotEmpty()) { "At least one activity id must be provided" }
activityId.map {
val job = job(it)
@@ -580,16 +580,6 @@ class ProcessStage, PROCESS_BEAN : Suppl
assertThat(externalTasks).isNotEmpty
}
-
- /**
- * Completes external task.
- *
- * @param topicName name of the topic.
- * @param workerName optional, defaults to `test-worker`
- * @param variables variables to set on completion, optional, defaults to empty map.
- * @param isAsyncAfter executes the async job after completion, optional, defaults to `false`.
- * @return fluent stage.
- */
private fun externalTaskIsCompleted(
topicName: String,
workerName: String = "test-worker",
diff --git a/pom.xml b/pom.xml
index 0d3eec5..a5af98c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
io.holunda.testing
camunda-bpm-jgiven-parent
- 1.21.1
+ 1.22.0
pom
@@ -15,7 +15,7 @@
- 7.21.0
+ 7.22.0
1.3.1
3.26.3
1.3.1.0