Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump camunda.version from 7.21.0 to 7.22.0 #297

Merged
merged 3 commits into from
Oct 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ class ApprovalProcessBean(
private val processEngine: ProcessEngine
) : Supplier<ProcessInstance> {

/**
* Main attributes.
*/
companion object {
const val KEY = "approval"
const val RESOURCE = "approval.bpmn"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ class ApprovalProcessBean(
private val processEngine: ProcessEngine
) : Supplier<ProcessInstance> {

/**
* Main attributes.
*/
companion object {
const val KEY = "approval"
const val RESOURCE = "approval.bpmn"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ object TestProcessEngine {
configuration.isJobExecutorActivate = false
configuration.isDbMetricsReporterActivate = false
configuration.expressionManager = MockExpressionManager()
configuration.isTelemetryReporterActivate = false
configuration.isInitializeTelemetry = false
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,8 @@ class ProcessStage<SELF : ProcessStage<SELF, PROCESS_BEAN>, 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)


/**
Expand Down Expand Up @@ -382,7 +382,7 @@ class ProcessStage<SELF : ProcessStage<SELF, PROCESS_BEAN>, 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)
Expand Down Expand Up @@ -456,16 +456,6 @@ class ProcessStage<SELF : ProcessStage<SELF, PROCESS_BEAN>, 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",
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@


<properties>
<camunda.version>7.21.0</camunda.version>
<camunda.version>7.22.0</camunda.version>
<jgiven.version>1.3.1</jgiven.version>
<assertj.version>3.26.3</assertj.version>
<jgiven-kotlin.version>1.3.1.0</jgiven-kotlin.version>
Expand Down
Loading