Skip to content

Commit

Permalink
Merge branch 'release/1.1.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
zambrovski committed Oct 19, 2020
2 parents b355821 + cf6c491 commit 634283f
Show file tree
Hide file tree
Showing 20 changed files with 235 additions and 187 deletions.
6 changes: 3 additions & 3 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -51,20 +51,20 @@ If you just want to start using the library, put the following dependency into y
<dependency>
<groupId>io.holunda.data</groupId>
<artifactId>camunda-bpm-data</artifactId>
<version>1.0.2</version>
<version>1.1.0</version>
</dependency>
----

If you are using Gradle Kotlin DSL add to your `build.gradle.kts`:
[source,kotlin]
----
implementation("io.holunda.data:camunda-bpm-data:1.0.2")
implementation("io.holunda.data:camunda-bpm-data:1.1.0")
----

For Gradle Groovy DSL add to your `build.gradle`:
[source,groovy]
----
implementation 'io.holunda.data:camunda-bpm-data:1.0.2'
implementation 'io.holunda.data:camunda-bpm-data:1.1.0'
----

=== Variable declaration
Expand Down
2 changes: 1 addition & 1 deletion docs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>io.holunda.data</groupId>
<artifactId>camunda-bpm-data-parent</artifactId>
<version>1.1.0</version>
<version>1.1.1</version>
</parent>

<artifactId>camunda-bpm-data-docs</artifactId>
Expand Down
13 changes: 13 additions & 0 deletions docs/src/orchid/resources/changelog/1.1/1.1.1.ad
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
version: 1.1.1
---

== Features

* Implement ACL `checkAndTransformAndWrap`, see #77

== Chore

* Switch to JUnit 4.13.1


2 changes: 1 addition & 1 deletion example/coverage-report-aggregator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>io.holunda.data.example</groupId>
<artifactId>camunda-bpm-data-example-parent</artifactId>
<version>1.1.0</version>
<version>1.1.1</version>
</parent>

<artifactId>camunda-bpm-data-coverage-report</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion example/example-java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>io.holunda.data.example</groupId>
<artifactId>camunda-bpm-data-example-parent</artifactId>
<version>1.1.0</version>
<version>1.1.1</version>
</parent>

<artifactId>camunda-bpm-data-example-java</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion example/example-kotlin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>io.holunda.data.example</groupId>
<artifactId>camunda-bpm-data-example-parent</artifactId>
<version>1.1.0</version>
<version>1.1.1</version>
</parent>

<artifactId>camunda-bpm-data-example-kotlin</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion example/itest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>io.holunda.data.example</groupId>
<artifactId>camunda-bpm-data-example-parent</artifactId>
<version>1.1.0</version>
<version>1.1.1</version>
</parent>

<artifactId>camunda-bpm-data-integration-test</artifactId>
Expand Down
15 changes: 12 additions & 3 deletions example/itest/src/test/kotlin/itest/ActionStage.kt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import org.camunda.bpm.engine.variable.VariableMap
import org.camunda.bpm.engine.variable.Variables
import org.camunda.bpm.model.bpmn.Bpmn
import org.camunda.bpm.model.bpmn.BpmnModelInstance
import org.junit.Assert.assertThrows
import org.springframework.beans.factory.annotation.Autowired

/**
Expand Down Expand Up @@ -146,11 +147,19 @@ class ActionStage : Stage<ActionStage>() {
*/
fun process_is_started_with_variables(
processDefinitionKey: String = this.processDefinition.key,
variables: VariableMap
variables: VariableMap,
expectedException: Class<out java.lang.Exception>? = null
): ActionStage {

processInstance = runtimeService
.startProcessInstanceByKey(processDefinitionKey, variables)
if (expectedException == null) {
processInstance = runtimeService
.startProcessInstanceByKey(processDefinitionKey, variables)
} else {
assertThrows(expectedException) {
runtimeService
.startProcessInstanceByKey(processDefinitionKey, variables)
}
}

return self()
}
Expand Down
Loading

0 comments on commit 634283f

Please sign in to comment.