diff --git a/README.md b/README.md index ef076ce..ee37d32 100644 --- a/README.md +++ b/README.md @@ -13,13 +13,6 @@ example means testing its processes against real integrations. |---|---| | JDK | 21 | | Docker | any recent version (required for tests and local run) | -| Distribution images (`operaton/tomcat`, `operaton/wildfly`, `operaton/operaton`) | `2.1.1` | -| `operaton-keycloak-run` (plugin) | `2.1.0` | -| AWS SDK v2 | 2.29.0 | -| Apache PDFBox | 3.0.7 | - -Pinned stack (all examples): Spring Boot **4.1.0**, Operaton **2.1.1**, -Maven Wrapper **3.9.12**, Gradle Wrapper **9.2.0**, PostgreSQL **16**. ## Using an example @@ -131,33 +124,33 @@ Quick lookup: which example demonstrates each BPMN construct. ### BPMN Concepts -| BPMN Concept | Example(s) | Notes | -|---|---|---| -| Service task | | Java delegate, Spring bean, expression | -| User task | [user-task-forms](examples/core-examples/user-task-forms) | Forms, candidate groups | -| Script task | [service-tasks](examples/core-examples/service-tasks) | JavaScript / Groovy inline | -| Business rule task (DMN) | | FEEL expressions, hit policies | -| Exclusive gateway (XOR) | | Default flow, condition expressions | -| **Parallel gateway (AND)** | **[insurance-claim](examples/use-cases/insurance-claim)** | AND-split / AND-join, concurrent branches | -| **Event-based gateway** | **[insurance-claim](examples/use-cases/insurance-claim)** | Race between message and timer | -| Inclusive gateway (OR) | [inclusive-gateway](examples/core-examples/inclusive-gateway) | OR-split / OR-join | -| Message start event | | Start by message correlation | -| Timer start event | [timer-events](examples/core-examples/timer-events) | Cron, cycle, duration | -| Message intermediate catch | | Correlation by business key | -| Timer intermediate catch | | ISO-8601 duration variable | -| Signal intermediate catch/throw | [signal-events](examples/core-examples/signal-events) | Broadcast signal | -| Error boundary event | [error-compensation](examples/core-examples/error-compensation) | Interrupting and non-interrupting | -| Compensation | | Manual throw (error-compensation) vs. transaction-driven (travel-booking) | -| **Transaction subprocess** | **[travel-booking](examples/use-cases/travel-booking)** | All-or-nothing SAGA; cancel end event triggers auto-compensation | -| **Cancel event (end + boundary)** | **[travel-booking](examples/use-cases/travel-booking)** | Cancel end event inside transaction + cancel boundary on transaction | -| Multi-instance | | Sequential and parallel sub-tasks; collection-driven parallel MI call activity | -| **Call activity** | | Sub-process reuse, in/out variable mapping, parallel multi-instance over collection | -| Event sub-process | [event-subprocess](examples/core-examples/event-subprocess) | Error- and message-triggered | -| External task | [external-task-worker](examples/core-examples/external-task-worker) | Worker API, long polling | -| Async continuation | | `asyncBefore`, exclusive job lock | -| **Escalation events** | **[complaint-resolution](examples/use-cases/complaint-resolution)** | Non-interrupting throw + boundary (parallel), interrupting end event + boundary (cancel) | -| **Collaboration / message flow (two pools)** | **[procurement-collaboration](examples/use-cases/procurement-collaboration)** | Two process definitions communicating via message correlation within one engine | -| **Cross-instance correlation key** | **[procurement-collaboration](examples/use-cases/procurement-collaboration)** | `processInstanceVariableEquals()` routes messages to the correct instance by `requestId` | +| BPMN Concept | Example(s) | Notes | +|--------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---| +| Service task | | Java delegate, Spring bean, expression | +| User task | | Forms, candidate groups | +| Script task | | JavaScript / Groovy inline | +| Business rule task (DMN) | | FEEL expressions, hit policies | +| Exclusive gateway (XOR) | | Default flow, condition expressions | +| Parallel gateway (AND) | | AND-split / AND-join, concurrent branches | +| Event-based gateway | | Race between message and timer | +| Inclusive gateway (OR) | | OR-split / OR-join | +| Message start event | | Start by message correlation | +| Timer start event | [timer-events](examples/core-examples/timer-events) | Cron, cycle, duration | +| Message intermediate catch | | Correlation by business key | +| Timer intermediate catch | | ISO-8601 duration variable | +| Signal intermediate catch/throw | [signal-events](examples/core-examples/signal-events) | Broadcast signal | +| Error boundary event | [error-compensation](examples/core-examples/error-compensation) | Interrupting and non-interrupting | +| Compensation | | Manual throw (error-compensation) vs. transaction-driven (travel-booking) | +| Transaction subprocess | [travel-booking](examples/use-cases/travel-booking) | All-or-nothing SAGA; cancel end event triggers auto-compensation | +| Cancel event (end + boundary | [travel-booking](examples/use-cases/travel-booking) | Cancel end event inside transaction + cancel boundary on transaction | +| Multi-instance | | Sequential and parallel sub-tasks; collection-driven parallel MI call activity | +| Call activity | | Sub-process reuse, in/out variable mapping, parallel multi-instance over collection | +| Event sub-process | [event-subprocess](examples/core-examples/event-subprocess) | Error- and message-triggered | +| External task | [external-task-worker](examples/core-examples/external-task-worker) | Worker API, long polling | +| Async continuation | | `asyncBefore`, exclusive job lock | +| Escalation event | [complaint-resolution](examples/use-cases/complaint-resolution | Non-interrupting throw + boundary (parallel), interrupting end event + boundary (cancel) | +| Collaboration / message flow (two pools | [procurement-collaboration](examples/use-cases/procurement-collaboration) | Two process definitions communicating via message correlation within one engine | +| Cross-instance correlation key | [procurement-collaboration](examples/use-cases/procurement-collaboration) | `processInstanceVariableEquals()` routes messages to the correct instance by `requestId` | ### Integrations @@ -179,7 +172,6 @@ Quick lookup: which example demonstrates each BPMN construct. | Quarkus (embedded) | platform-integration/runtime-quarkus | | Tomcat (shared engine) | platform-integration/distribution-tomcat | | WildFly (shared engine) | platform-integration/distribution-wildfly | -| Flowset Control + SSO (Keycloak) | operaton-example-projects / operaton-flowset-sso | | Operaton Run + Keycloak plugin (custom image) | platform-integration/integration-keycloak | ## License diff --git a/examples/advanced-features/bpmn-model-api-generate/pom.xml b/examples/advanced-features/bpmn-model-api-generate/pom.xml index aa24c6b..c49e2b9 100644 --- a/examples/advanced-features/bpmn-model-api-generate/pom.xml +++ b/examples/advanced-features/bpmn-model-api-generate/pom.xml @@ -1,29 +1,17 @@ - + 4.0.0 - - - org.operaton.examples - operaton-examples-aggregate - 0.1.0-SNAPSHOT - ../../pom.xml - - org.operaton.examples bpmn-model-api-generate 0.1.0-SNAPSHOT jar Operaton Example: BPMN Model API Generate - UTF-8 21 4.1.0 2.1.2 - @@ -42,7 +30,6 @@ - org.operaton.bpm.springboot @@ -57,7 +44,6 @@ postgresql runtime - org.springframework.boot spring-boot-starter-test @@ -79,7 +65,6 @@ test - @@ -90,7 +75,68 @@ org.apache.maven.plugins maven-failsafe-plugin + 3.5.6 + + + + integration-test + verify + + + + + + rancher + + + ${user.home}/.rd/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.rd/docker.sock + /var/run/docker.sock + true + + + + + + + + + colima + + + ${user.home}/.colima/default/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.colima/default/docker.sock + ${user.home}/.colima/default/docker.sock + true + + + + + + + + diff --git a/examples/advanced-features/bpmn-model-api-parse/pom.xml b/examples/advanced-features/bpmn-model-api-parse/pom.xml index e3a1bb0..cce9685 100644 --- a/examples/advanced-features/bpmn-model-api-parse/pom.xml +++ b/examples/advanced-features/bpmn-model-api-parse/pom.xml @@ -1,29 +1,17 @@ - + 4.0.0 - - - org.operaton.examples - operaton-examples-aggregate - 0.1.0-SNAPSHOT - ../../pom.xml - - org.operaton.examples bpmn-model-api-parse 0.1.0-SNAPSHOT jar Operaton Example: BPMN Model API Parse - UTF-8 21 4.1.0 2.1.2 - @@ -42,7 +30,6 @@ - org.operaton.bpm.springboot @@ -57,7 +44,6 @@ postgresql runtime - org.springframework.boot spring-boot-starter-test @@ -79,7 +65,6 @@ test - @@ -90,7 +75,68 @@ org.apache.maven.plugins maven-failsafe-plugin + 3.5.6 + + + + integration-test + verify + + + + + + rancher + + + ${user.home}/.rd/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.rd/docker.sock + /var/run/docker.sock + true + + + + + + + + + colima + + + ${user.home}/.colima/default/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.colima/default/docker.sock + ${user.home}/.colima/default/docker.sock + true + + + + + + + + diff --git a/examples/advanced-features/command-interceptor/pom.xml b/examples/advanced-features/command-interceptor/pom.xml index bd2e7f1..5b1576f 100644 --- a/examples/advanced-features/command-interceptor/pom.xml +++ b/examples/advanced-features/command-interceptor/pom.xml @@ -1,29 +1,17 @@ - + 4.0.0 - - - org.operaton.examples - operaton-examples-aggregate - 0.1.0-SNAPSHOT - ../../pom.xml - - org.operaton.examples command-interceptor 0.1.0-SNAPSHOT jar Operaton Example: Command Interceptor - UTF-8 21 4.1.0 2.1.2 - @@ -42,7 +30,6 @@ - org.operaton.bpm.springboot @@ -57,7 +44,6 @@ postgresql runtime - org.springframework.boot spring-boot-starter-test @@ -79,7 +65,6 @@ test - @@ -90,7 +75,68 @@ org.apache.maven.plugins maven-failsafe-plugin + 3.5.6 + + + + integration-test + verify + + + + + + rancher + + + ${user.home}/.rd/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.rd/docker.sock + /var/run/docker.sock + true + + + + + + + + + colima + + + ${user.home}/.colima/default/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.colima/default/docker.sock + ${user.home}/.colima/default/docker.sock + true + + + + + + + + diff --git a/examples/advanced-features/engine-plugin/pom.xml b/examples/advanced-features/engine-plugin/pom.xml index 9bdbaa6..c517c97 100644 --- a/examples/advanced-features/engine-plugin/pom.xml +++ b/examples/advanced-features/engine-plugin/pom.xml @@ -1,29 +1,17 @@ - + 4.0.0 - - - org.operaton.examples - operaton-examples-aggregate - 0.1.0-SNAPSHOT - ../../pom.xml - - org.operaton.examples engine-plugin 0.1.0-SNAPSHOT jar Operaton Example: Process Engine Plugin - UTF-8 21 4.1.0 2.1.2 - @@ -42,7 +30,6 @@ - org.operaton.bpm.springboot @@ -57,7 +44,6 @@ postgresql runtime - org.springframework.boot spring-boot-starter-test @@ -79,7 +65,6 @@ test - @@ -90,7 +75,68 @@ org.apache.maven.plugins maven-failsafe-plugin + 3.5.6 + + + + integration-test + verify + + + + + + rancher + + + ${user.home}/.rd/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.rd/docker.sock + /var/run/docker.sock + true + + + + + + + + + colima + + + ${user.home}/.colima/default/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.colima/default/docker.sock + ${user.home}/.colima/default/docker.sock + true + + + + + + + + diff --git a/examples/advanced-features/job-retry-profile/pom.xml b/examples/advanced-features/job-retry-profile/pom.xml index 73ff05d..4b834c3 100644 --- a/examples/advanced-features/job-retry-profile/pom.xml +++ b/examples/advanced-features/job-retry-profile/pom.xml @@ -1,29 +1,17 @@ - + 4.0.0 - - - org.operaton.examples - operaton-examples-aggregate - 0.1.0-SNAPSHOT - ../../pom.xml - - org.operaton.examples job-retry-profile 0.1.0-SNAPSHOT jar Operaton Example: Job Retry Profile - UTF-8 21 4.1.0 2.1.2 - @@ -42,7 +30,6 @@ - org.operaton.bpm.springboot @@ -78,7 +65,6 @@ test - @@ -89,7 +75,68 @@ org.apache.maven.plugins maven-failsafe-plugin + 3.5.6 + + + + integration-test + verify + + + + + + rancher + + + ${user.home}/.rd/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.rd/docker.sock + /var/run/docker.sock + true + + + + + + + + + colima + + + ${user.home}/.colima/default/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.colima/default/docker.sock + ${user.home}/.colima/default/docker.sock + true + + + + + + + + diff --git a/examples/advanced-features/multi-tenancy/pom.xml b/examples/advanced-features/multi-tenancy/pom.xml index bf13805..b4ac555 100644 --- a/examples/advanced-features/multi-tenancy/pom.xml +++ b/examples/advanced-features/multi-tenancy/pom.xml @@ -1,29 +1,17 @@ - + 4.0.0 - - - org.operaton.examples - operaton-examples-aggregate - 0.1.0-SNAPSHOT - ../../pom.xml - - org.operaton.examples multi-tenancy 0.1.0-SNAPSHOT jar Operaton Example: Multi-Tenancy - UTF-8 21 4.1.0 2.1.2 - @@ -42,7 +30,6 @@ - org.operaton.bpm.springboot @@ -57,7 +44,6 @@ postgresql runtime - org.springframework.boot spring-boot-starter-test @@ -79,7 +65,6 @@ test - @@ -90,7 +75,68 @@ org.apache.maven.plugins maven-failsafe-plugin + 3.5.6 + + + + integration-test + verify + + + + + + rancher + + + ${user.home}/.rd/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.rd/docker.sock + /var/run/docker.sock + true + + + + + + + + + colima + + + ${user.home}/.colima/default/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.colima/default/docker.sock + ${user.home}/.colima/default/docker.sock + true + + + + + + + + diff --git a/examples/advanced-features/process-migration/pom.xml b/examples/advanced-features/process-migration/pom.xml index 412e972..a41a932 100644 --- a/examples/advanced-features/process-migration/pom.xml +++ b/examples/advanced-features/process-migration/pom.xml @@ -1,29 +1,17 @@ - + 4.0.0 - - - org.operaton.examples - operaton-examples-aggregate - 0.1.0-SNAPSHOT - ../../pom.xml - - org.operaton.examples process-migration 0.1.0-SNAPSHOT jar Operaton Example: Process Migration - UTF-8 21 4.1.0 2.1.2 - @@ -42,7 +30,6 @@ - org.operaton.bpm.springboot @@ -57,7 +44,6 @@ postgresql runtime - org.springframework.boot spring-boot-starter-test @@ -79,7 +65,6 @@ test - @@ -90,7 +75,68 @@ org.apache.maven.plugins maven-failsafe-plugin + 3.5.6 + + + + integration-test + verify + + + + + + rancher + + + ${user.home}/.rd/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.rd/docker.sock + /var/run/docker.sock + true + + + + + + + + + colima + + + ${user.home}/.colima/default/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.colima/default/docker.sock + ${user.home}/.colima/default/docker.sock + true + + + + + + + + diff --git a/examples/advanced-features/spin-json/pom.xml b/examples/advanced-features/spin-json/pom.xml index b5fb87b..23299c2 100644 --- a/examples/advanced-features/spin-json/pom.xml +++ b/examples/advanced-features/spin-json/pom.xml @@ -1,29 +1,17 @@ - + 4.0.0 - - - org.operaton.examples - operaton-examples-aggregate - 0.1.0-SNAPSHOT - ../../pom.xml - - org.operaton.examples spin-json 0.1.0-SNAPSHOT jar Operaton Example: Spin JSON Variables - UTF-8 21 4.1.0 2.1.2 - @@ -42,7 +30,6 @@ - org.operaton.bpm.springboot @@ -67,7 +54,6 @@ postgresql runtime - org.springframework.boot spring-boot-starter-test @@ -89,7 +75,6 @@ test - @@ -100,7 +85,68 @@ org.apache.maven.plugins maven-failsafe-plugin + 3.5.6 + + + + integration-test + verify + + + + + + rancher + + + ${user.home}/.rd/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.rd/docker.sock + /var/run/docker.sock + true + + + + + + + + + colima + + + ${user.home}/.colima/default/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.colima/default/docker.sock + ${user.home}/.colima/default/docker.sock + true + + + + + + + + diff --git a/examples/advanced-features/unit-testing/pom.xml b/examples/advanced-features/unit-testing/pom.xml index fb4b490..c3d960a 100644 --- a/examples/advanced-features/unit-testing/pom.xml +++ b/examples/advanced-features/unit-testing/pom.xml @@ -1,29 +1,17 @@ - + 4.0.0 - - - org.operaton.examples - operaton-examples-aggregate - 0.1.0-SNAPSHOT - ../../pom.xml - - org.operaton.examples unit-testing 0.1.0-SNAPSHOT jar Operaton Example: Unit Testing with JUnit 5 - UTF-8 21 4.1.0 2.1.2 - @@ -42,7 +30,6 @@ - org.operaton.bpm.springboot @@ -57,7 +44,6 @@ postgresql runtime - org.operaton.bpm @@ -70,7 +56,6 @@ h2 test - org.springframework.boot @@ -93,7 +78,6 @@ test - @@ -104,7 +88,68 @@ org.apache.maven.plugins maven-failsafe-plugin + 3.5.6 + + + + integration-test + verify + + + + + + rancher + + + ${user.home}/.rd/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.rd/docker.sock + /var/run/docker.sock + true + + + + + + + + + colima + + + ${user.home}/.colima/default/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.colima/default/docker.sock + ${user.home}/.colima/default/docker.sock + true + + + + + + + + diff --git a/examples/advanced-features/xslt-script-task/pom.xml b/examples/advanced-features/xslt-script-task/pom.xml index 98b3b1f..2a9322e 100644 --- a/examples/advanced-features/xslt-script-task/pom.xml +++ b/examples/advanced-features/xslt-script-task/pom.xml @@ -1,29 +1,17 @@ - + 4.0.0 - - - org.operaton.examples - operaton-examples-aggregate - 0.1.0-SNAPSHOT - ../../pom.xml - - org.operaton.examples xslt-script-task 0.1.0-SNAPSHOT jar Operaton Example: XSLT Script Task - UTF-8 21 4.1.0 2.1.2 - @@ -42,7 +30,6 @@ - org.operaton.bpm.springboot @@ -67,7 +54,6 @@ postgresql runtime - org.springframework.boot spring-boot-starter-test @@ -89,7 +75,6 @@ test - @@ -100,7 +85,68 @@ org.apache.maven.plugins maven-failsafe-plugin + 3.5.6 + + + + integration-test + verify + + + + + + rancher + + + ${user.home}/.rd/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.rd/docker.sock + /var/run/docker.sock + true + + + + + + + + + colima + + + ${user.home}/.colima/default/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.colima/default/docker.sock + ${user.home}/.colima/default/docker.sock + true + + + + + + + + diff --git a/examples/core-examples/async-continuation/pom.xml b/examples/core-examples/async-continuation/pom.xml index ff52ec7..fbfbce5 100644 --- a/examples/core-examples/async-continuation/pom.xml +++ b/examples/core-examples/async-continuation/pom.xml @@ -1,29 +1,17 @@ - + 4.0.0 - - - org.operaton.examples - operaton-examples-aggregate - 0.1.0-SNAPSHOT - ../../pom.xml - - org.operaton.examples async-continuation 0.1.0-SNAPSHOT jar Operaton Example: Async Continuation - UTF-8 21 4.1.0 2.1.2 - @@ -42,7 +30,6 @@ - org.operaton.bpm.springboot @@ -57,7 +44,6 @@ postgresql runtime - org.springframework.boot spring-boot-starter-test @@ -79,7 +65,6 @@ test - @@ -90,7 +75,68 @@ org.apache.maven.plugins maven-failsafe-plugin + 3.5.6 + + + + integration-test + verify + + + + + + rancher + + + ${user.home}/.rd/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.rd/docker.sock + /var/run/docker.sock + true + + + + + + + + + colima + + + ${user.home}/.colima/default/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.colima/default/docker.sock + ${user.home}/.colima/default/docker.sock + true + + + + + + + + diff --git a/examples/core-examples/call-activity/pom.xml b/examples/core-examples/call-activity/pom.xml index 3fd24d3..614c930 100644 --- a/examples/core-examples/call-activity/pom.xml +++ b/examples/core-examples/call-activity/pom.xml @@ -1,22 +1,11 @@ - + 4.0.0 - - - org.operaton.examples - operaton-examples-aggregate - 0.1.0-SNAPSHOT - ../../pom.xml - - org.operaton.examples call-activity 0.1.0-SNAPSHOT jar Operaton Example: Call Activity - 21 4.1.0 @@ -24,7 +13,6 @@ 21 UTF-8 - @@ -43,7 +31,6 @@ - org.operaton.bpm.springboot @@ -58,7 +45,6 @@ postgresql runtime - org.springframework.boot spring-boot-starter-test @@ -80,7 +66,6 @@ test - @@ -91,7 +76,68 @@ org.apache.maven.plugins maven-failsafe-plugin + 3.5.6 + + + + integration-test + verify + + + + + + rancher + + + ${user.home}/.rd/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.rd/docker.sock + /var/run/docker.sock + true + + + + + + + + + colima + + + ${user.home}/.colima/default/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.colima/default/docker.sock + ${user.home}/.colima/default/docker.sock + true + + + + + + + + diff --git a/examples/core-examples/dmn-decision/pom.xml b/examples/core-examples/dmn-decision/pom.xml index 67790df..1f09fdd 100644 --- a/examples/core-examples/dmn-decision/pom.xml +++ b/examples/core-examples/dmn-decision/pom.xml @@ -1,22 +1,11 @@ - + 4.0.0 - - - org.operaton.examples - operaton-examples-aggregate - 0.1.0-SNAPSHOT - ../../pom.xml - - org.operaton.examples dmn-decision 0.1.0-SNAPSHOT jar Operaton Example: DMN Decision - 21 4.1.0 @@ -24,7 +13,6 @@ 21 UTF-8 - @@ -43,7 +31,6 @@ - org.operaton.bpm.springboot @@ -58,7 +45,6 @@ postgresql runtime - org.springframework.boot spring-boot-starter-test @@ -77,10 +63,9 @@ org.testcontainers testcontainers-postgresql - test + test - @@ -91,17 +76,26 @@ org.apache.maven.plugins maven-failsafe-plugin + 3.5.6 + + + + integration-test + verify + + + - + - docker-alternative-rancher + docker-alternative-colima - ${user.home}/.rd/docker.sock + ${user.home}/.colima/default/docker.sock @@ -111,7 +105,7 @@ maven-failsafe-plugin - unix://${user.home}/.rd/docker.sock + unix://${user.home}/.colima/default/docker.sock /var/run/docker.sock true @@ -120,28 +114,54 @@ - - docker-alternative-colima + rancher + + + ${user.home}/.rd/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.rd/docker.sock + /var/run/docker.sock + true + + + + + + + + + colima ${user.home}/.colima/default/docker.sock - - - org.apache.maven.plugins - maven-failsafe-plugin - - - unix://${user.home}/.colima/default/docker.sock - /var/run/docker.sock - true - - - - + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.colima/default/docker.sock + ${user.home}/.colima/default/docker.sock + true + + + + + diff --git a/examples/core-examples/error-compensation/pom.xml b/examples/core-examples/error-compensation/pom.xml index a57a9bc..74e0a8f 100644 --- a/examples/core-examples/error-compensation/pom.xml +++ b/examples/core-examples/error-compensation/pom.xml @@ -1,22 +1,11 @@ - + 4.0.0 - - - org.operaton.examples - operaton-examples-aggregate - 0.1.0-SNAPSHOT - ../../pom.xml - - org.operaton.examples error-compensation 0.1.0-SNAPSHOT jar Operaton Example: Error Compensation - 21 4.1.0 @@ -24,7 +13,6 @@ 21 UTF-8 - @@ -43,7 +31,6 @@ - org.operaton.bpm.springboot @@ -58,7 +45,6 @@ postgresql runtime - org.springframework.boot spring-boot-starter-test @@ -80,7 +66,6 @@ test - @@ -91,7 +76,68 @@ org.apache.maven.plugins maven-failsafe-plugin + 3.5.6 + + + + integration-test + verify + + + + + + rancher + + + ${user.home}/.rd/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.rd/docker.sock + /var/run/docker.sock + true + + + + + + + + + colima + + + ${user.home}/.colima/default/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.colima/default/docker.sock + ${user.home}/.colima/default/docker.sock + true + + + + + + + + diff --git a/examples/core-examples/event-subprocess/pom.xml b/examples/core-examples/event-subprocess/pom.xml index a546f48..5e92474 100644 --- a/examples/core-examples/event-subprocess/pom.xml +++ b/examples/core-examples/event-subprocess/pom.xml @@ -1,29 +1,17 @@ - + 4.0.0 - - - org.operaton.examples - operaton-examples-aggregate - 0.1.0-SNAPSHOT - ../../pom.xml - - org.operaton.examples event-subprocess 0.1.0-SNAPSHOT jar Operaton Example: Event Subprocess - UTF-8 21 4.1.0 2.1.2 - @@ -42,7 +30,6 @@ - org.operaton.bpm.springboot @@ -57,7 +44,6 @@ postgresql runtime - org.springframework.boot spring-boot-starter-test @@ -79,7 +65,6 @@ test - @@ -90,33 +75,68 @@ org.apache.maven.plugins maven-failsafe-plugin + 3.5.6 + + + + integration-test + verify + + + - - rancher-desktop + rancher ${user.home}/.rd/docker.sock - - - org.apache.maven.plugins - maven-failsafe-plugin - - - unix://${user.home}/.rd/docker.sock - /var/run/docker.sock - true - - - - + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.rd/docker.sock + /var/run/docker.sock + true + + + + + + + + + colima + + + ${user.home}/.colima/default/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.colima/default/docker.sock + ${user.home}/.colima/default/docker.sock + true + + + + + diff --git a/examples/core-examples/external-task-worker/pom.xml b/examples/core-examples/external-task-worker/pom.xml index b510e42..4524a6c 100644 --- a/examples/core-examples/external-task-worker/pom.xml +++ b/examples/core-examples/external-task-worker/pom.xml @@ -1,29 +1,17 @@ - + 4.0.0 - - - org.operaton.examples - operaton-examples-aggregate - 0.1.0-SNAPSHOT - ../../pom.xml - - org.operaton.examples external-task-worker 0.1.0-SNAPSHOT jar Operaton Example: External Task Worker - UTF-8 21 4.1.0 2.1.2 - @@ -42,7 +30,6 @@ - org.operaton.bpm.springboot @@ -61,7 +48,6 @@ postgresql runtime - org.springframework.boot spring-boot-starter-test @@ -83,7 +69,6 @@ test - @@ -94,7 +79,68 @@ org.apache.maven.plugins maven-failsafe-plugin + 3.5.6 + + + + integration-test + verify + + + + + + rancher + + + ${user.home}/.rd/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.rd/docker.sock + /var/run/docker.sock + true + + + + + + + + + colima + + + ${user.home}/.colima/default/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.colima/default/docker.sock + ${user.home}/.colima/default/docker.sock + true + + + + + + + + diff --git a/examples/core-examples/getting-started/pom.xml b/examples/core-examples/getting-started/pom.xml index 5bdfcbc..1c1de2a 100644 --- a/examples/core-examples/getting-started/pom.xml +++ b/examples/core-examples/getting-started/pom.xml @@ -1,29 +1,17 @@ - + 4.0.0 - - - org.operaton.examples - operaton-examples-aggregate - 0.1.0-SNAPSHOT - ../../pom.xml - - org.operaton.examples getting-started 0.1.0-SNAPSHOT jar Operaton Example: Getting Started - UTF-8 21 4.1.0 2.1.2 - @@ -42,7 +30,6 @@ - org.operaton.bpm.springboot @@ -57,7 +44,6 @@ postgresql runtime - org.springframework.boot spring-boot-starter-test @@ -79,7 +65,6 @@ test - @@ -90,7 +75,68 @@ org.apache.maven.plugins maven-failsafe-plugin + 3.5.6 + + + + integration-test + verify + + + + + + rancher + + + ${user.home}/.rd/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.rd/docker.sock + /var/run/docker.sock + true + + + + + + + + + colima + + + ${user.home}/.colima/default/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.colima/default/docker.sock + ${user.home}/.colima/default/docker.sock + true + + + + + + + + diff --git a/examples/core-examples/inclusive-gateway/pom.xml b/examples/core-examples/inclusive-gateway/pom.xml index 44fc4f4..022d56d 100644 --- a/examples/core-examples/inclusive-gateway/pom.xml +++ b/examples/core-examples/inclusive-gateway/pom.xml @@ -1,29 +1,17 @@ - + 4.0.0 - - - org.operaton.examples - operaton-examples-aggregate - 0.1.0-SNAPSHOT - ../../pom.xml - - org.operaton.examples inclusive-gateway 0.1.0-SNAPSHOT jar Operaton Example: Inclusive Gateway - UTF-8 21 4.1.0 2.1.2 - @@ -42,7 +30,6 @@ - org.operaton.bpm.springboot @@ -57,7 +44,6 @@ postgresql runtime - org.springframework.boot spring-boot-starter-test @@ -79,7 +65,6 @@ test - @@ -90,33 +75,68 @@ org.apache.maven.plugins maven-failsafe-plugin + 3.5.6 + + + + integration-test + verify + + + - - rancher-desktop + rancher ${user.home}/.rd/docker.sock - - - org.apache.maven.plugins - maven-failsafe-plugin - - - unix://${user.home}/.rd/docker.sock - /var/run/docker.sock - true - - - - + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.rd/docker.sock + /var/run/docker.sock + true + + + + + + + + + colima + + + ${user.home}/.colima/default/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.colima/default/docker.sock + ${user.home}/.colima/default/docker.sock + true + + + + + diff --git a/examples/core-examples/integration-kafka/pom.xml b/examples/core-examples/integration-kafka/pom.xml index d760602..a650360 100644 --- a/examples/core-examples/integration-kafka/pom.xml +++ b/examples/core-examples/integration-kafka/pom.xml @@ -1,22 +1,11 @@ - + 4.0.0 - - - org.operaton.examples - operaton-examples-aggregate - 0.1.0-SNAPSHOT - ../../pom.xml - - org.operaton.examples integration-kafka 0.1.0-SNAPSHOT jar Operaton Example: Kafka Integration - 21 4.1.0 @@ -24,7 +13,6 @@ 21 UTF-8 - @@ -43,7 +31,6 @@ - org.operaton.bpm.springboot @@ -62,7 +49,6 @@ org.springframework.boot spring-boot-starter-kafka - org.springframework.boot spring-boot-starter-test @@ -94,7 +80,6 @@ test - @@ -105,7 +90,68 @@ org.apache.maven.plugins maven-failsafe-plugin + 3.5.6 + + + + integration-test + verify + + + + + + rancher + + + ${user.home}/.rd/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.rd/docker.sock + /var/run/docker.sock + true + + + + + + + + + colima + + + ${user.home}/.colima/default/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.colima/default/docker.sock + ${user.home}/.colima/default/docker.sock + true + + + + + + + + diff --git a/examples/core-examples/integration-mail/pom.xml b/examples/core-examples/integration-mail/pom.xml index c4c833f..0e893a5 100644 --- a/examples/core-examples/integration-mail/pom.xml +++ b/examples/core-examples/integration-mail/pom.xml @@ -1,22 +1,11 @@ - + 4.0.0 - - - org.operaton.examples - operaton-examples-aggregate - 0.1.0-SNAPSHOT - ../../pom.xml - - org.operaton.examples integration-mail 0.1.0-SNAPSHOT jar Operaton Example: Mail Integration - 21 4.1.0 @@ -24,7 +13,6 @@ 21 UTF-8 - @@ -43,7 +31,6 @@ - org.operaton.bpm.springboot @@ -62,7 +49,6 @@ org.springframework.boot spring-boot-starter-mail - org.springframework.boot spring-boot-starter-test @@ -84,7 +70,6 @@ test - @@ -95,7 +80,68 @@ org.apache.maven.plugins maven-failsafe-plugin + 3.5.6 + + + + integration-test + verify + + + + + + rancher + + + ${user.home}/.rd/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.rd/docker.sock + /var/run/docker.sock + true + + + + + + + + + colima + + + ${user.home}/.colima/default/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.colima/default/docker.sock + ${user.home}/.colima/default/docker.sock + true + + + + + + + + diff --git a/examples/core-examples/integration-rest/pom.xml b/examples/core-examples/integration-rest/pom.xml index e065f5b..043dd40 100644 --- a/examples/core-examples/integration-rest/pom.xml +++ b/examples/core-examples/integration-rest/pom.xml @@ -1,22 +1,11 @@ - + 4.0.0 - - - org.operaton.examples - operaton-examples-aggregate - 0.1.0-SNAPSHOT - ../../pom.xml - - org.operaton.examples integration-rest 0.1.0-SNAPSHOT jar Operaton Example: REST Integration - 21 4.1.0 @@ -24,7 +13,6 @@ 21 UTF-8 - @@ -43,7 +31,6 @@ - org.operaton.bpm.springboot @@ -58,7 +45,6 @@ postgresql runtime - org.springframework.boot spring-boot-starter-test @@ -86,7 +72,6 @@ test - @@ -97,7 +82,68 @@ org.apache.maven.plugins maven-failsafe-plugin + 3.5.6 + + + + integration-test + verify + + + + + + rancher + + + ${user.home}/.rd/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.rd/docker.sock + /var/run/docker.sock + true + + + + + + + + + colima + + + ${user.home}/.colima/default/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.colima/default/docker.sock + ${user.home}/.colima/default/docker.sock + true + + + + + + + + diff --git a/examples/core-examples/message-events/pom.xml b/examples/core-examples/message-events/pom.xml index 456b2e9..5313d5e 100644 --- a/examples/core-examples/message-events/pom.xml +++ b/examples/core-examples/message-events/pom.xml @@ -1,22 +1,11 @@ - + 4.0.0 - - - org.operaton.examples - operaton-examples-aggregate - 0.1.0-SNAPSHOT - ../../pom.xml - - org.operaton.examples message-events 0.1.0-SNAPSHOT jar Operaton Example: Message Events - 21 4.1.0 @@ -24,7 +13,6 @@ 21 UTF-8 - @@ -43,7 +31,6 @@ - org.operaton.bpm.springboot @@ -79,7 +66,6 @@ test - @@ -90,7 +76,68 @@ org.apache.maven.plugins maven-failsafe-plugin + 3.5.6 + + + + integration-test + verify + + + + + + rancher + + + ${user.home}/.rd/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.rd/docker.sock + /var/run/docker.sock + true + + + + + + + + + colima + + + ${user.home}/.colima/default/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.colima/default/docker.sock + ${user.home}/.colima/default/docker.sock + true + + + + + + + + diff --git a/examples/core-examples/multi-instance/pom.xml b/examples/core-examples/multi-instance/pom.xml index 9555d8a..04bef47 100644 --- a/examples/core-examples/multi-instance/pom.xml +++ b/examples/core-examples/multi-instance/pom.xml @@ -1,22 +1,11 @@ - + 4.0.0 - - - org.operaton.examples - operaton-examples-aggregate - 0.1.0-SNAPSHOT - ../../pom.xml - - org.operaton.examples multi-instance 0.1.0-SNAPSHOT jar Operaton Example: Multi-Instance - 21 4.1.0 @@ -24,7 +13,6 @@ 21 UTF-8 - @@ -43,7 +31,6 @@ - org.operaton.bpm.springboot @@ -58,7 +45,6 @@ postgresql runtime - org.springframework.boot spring-boot-starter-test @@ -80,7 +66,6 @@ test - @@ -91,7 +76,68 @@ org.apache.maven.plugins maven-failsafe-plugin + 3.5.6 + + + + integration-test + verify + + + + + + rancher + + + ${user.home}/.rd/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.rd/docker.sock + /var/run/docker.sock + true + + + + + + + + + colima + + + ${user.home}/.colima/default/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.colima/default/docker.sock + ${user.home}/.colima/default/docker.sock + true + + + + + + + + diff --git a/examples/core-examples/service-tasks/pom.xml b/examples/core-examples/service-tasks/pom.xml index 5fc69ba..4ec8acf 100644 --- a/examples/core-examples/service-tasks/pom.xml +++ b/examples/core-examples/service-tasks/pom.xml @@ -1,29 +1,17 @@ - + 4.0.0 - - - org.operaton.examples - operaton-examples-aggregate - 0.1.0-SNAPSHOT - ../../pom.xml - - org.operaton.examples service-tasks 0.1.0-SNAPSHOT jar Operaton Example: Service Tasks - UTF-8 21 4.1.0 2.1.2 - @@ -42,7 +30,6 @@ - org.operaton.bpm.springboot @@ -57,7 +44,6 @@ postgresql runtime - org.springframework.boot spring-boot-starter-test @@ -79,7 +65,6 @@ test - @@ -90,7 +75,68 @@ org.apache.maven.plugins maven-failsafe-plugin + 3.5.6 + + + + integration-test + verify + + + + + + rancher + + + ${user.home}/.rd/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.rd/docker.sock + /var/run/docker.sock + true + + + + + + + + + colima + + + ${user.home}/.colima/default/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.colima/default/docker.sock + ${user.home}/.colima/default/docker.sock + true + + + + + + + + diff --git a/examples/core-examples/signal-events/pom.xml b/examples/core-examples/signal-events/pom.xml index 83ecb41..0a04fc2 100644 --- a/examples/core-examples/signal-events/pom.xml +++ b/examples/core-examples/signal-events/pom.xml @@ -1,29 +1,17 @@ - + 4.0.0 - - - org.operaton.examples - operaton-examples-aggregate - 0.1.0-SNAPSHOT - ../../pom.xml - - org.operaton.examples signal-events 0.1.0-SNAPSHOT jar Operaton Example: Signal Events - UTF-8 21 4.1.0 2.1.2 - @@ -42,7 +30,6 @@ - org.operaton.bpm.springboot @@ -57,7 +44,6 @@ postgresql runtime - org.springframework.boot spring-boot-starter-test @@ -79,7 +65,6 @@ test - @@ -90,33 +75,68 @@ org.apache.maven.plugins maven-failsafe-plugin + 3.5.6 + + + + integration-test + verify + + + - - rancher-desktop + rancher ${user.home}/.rd/docker.sock - - - org.apache.maven.plugins - maven-failsafe-plugin - - - unix://${user.home}/.rd/docker.sock - /var/run/docker.sock - true - - - - + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.rd/docker.sock + /var/run/docker.sock + true + + + + + + + + + colima + + + ${user.home}/.colima/default/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.colima/default/docker.sock + ${user.home}/.colima/default/docker.sock + true + + + + + diff --git a/examples/core-examples/timer-events/pom.xml b/examples/core-examples/timer-events/pom.xml index caa513d..5e86c89 100644 --- a/examples/core-examples/timer-events/pom.xml +++ b/examples/core-examples/timer-events/pom.xml @@ -1,22 +1,11 @@ - + 4.0.0 - - - org.operaton.examples - operaton-examples-aggregate - 0.1.0-SNAPSHOT - ../../pom.xml - - org.operaton.examples timer-events 0.1.0-SNAPSHOT jar Operaton Example: Timer Events - 21 4.1.0 @@ -24,7 +13,6 @@ 21 UTF-8 - @@ -43,7 +31,6 @@ - org.operaton.bpm.springboot @@ -79,7 +66,6 @@ test - @@ -90,7 +76,68 @@ org.apache.maven.plugins maven-failsafe-plugin + 3.5.6 + + + + integration-test + verify + + + + + + rancher + + + ${user.home}/.rd/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.rd/docker.sock + /var/run/docker.sock + true + + + + + + + + + colima + + + ${user.home}/.colima/default/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.colima/default/docker.sock + ${user.home}/.colima/default/docker.sock + true + + + + + + + + diff --git a/examples/core-examples/user-task-forms/pom.xml b/examples/core-examples/user-task-forms/pom.xml index 8261de1..5f1382d 100644 --- a/examples/core-examples/user-task-forms/pom.xml +++ b/examples/core-examples/user-task-forms/pom.xml @@ -1,22 +1,11 @@ - + 4.0.0 - - - org.operaton.examples - operaton-examples-aggregate - 0.1.0-SNAPSHOT - ../../pom.xml - - org.operaton.examples user-task-forms 0.1.0-SNAPSHOT jar Operaton Example: User Task Forms - 21 4.1.0 @@ -24,7 +13,6 @@ 21 UTF-8 - @@ -43,7 +31,6 @@ - org.operaton.bpm.springboot @@ -58,7 +45,6 @@ postgresql runtime - org.springframework.boot spring-boot-starter-test @@ -80,7 +66,6 @@ test - @@ -91,7 +76,68 @@ org.apache.maven.plugins maven-failsafe-plugin + 3.5.6 + + + + integration-test + verify + + + + + + rancher + + + ${user.home}/.rd/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.rd/docker.sock + /var/run/docker.sock + true + + + + + + + + + colima + + + ${user.home}/.colima/default/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.colima/default/docker.sock + ${user.home}/.colima/default/docker.sock + true + + + + + + + + diff --git a/examples/platform-integration/distribution-tomcat/pom.xml b/examples/platform-integration/distribution-tomcat/pom.xml index 3be8867..468bc0d 100644 --- a/examples/platform-integration/distribution-tomcat/pom.xml +++ b/examples/platform-integration/distribution-tomcat/pom.xml @@ -1,22 +1,11 @@ - + 4.0.0 - - - org.operaton.examples - operaton-examples-aggregate - 0.1.0-SNAPSHOT - ../../pom.xml - - org.operaton.examples distribution-tomcat 0.1.0-SNAPSHOT war Operaton Example: Distribution Tomcat - UTF-8 @@ -24,7 +13,6 @@ 2.1.2 2.0.5 - @@ -43,7 +31,6 @@ - @@ -57,7 +44,6 @@ 6.1.0 provided - org.junit.jupiter @@ -99,7 +85,6 @@ test - @@ -127,7 +112,68 @@ org.apache.maven.plugins maven-failsafe-plugin + 3.5.6 + + + + integration-test + verify + + + + + + rancher + + + ${user.home}/.rd/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.rd/docker.sock + /var/run/docker.sock + true + + + + + + + + + colima + + + ${user.home}/.colima/default/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.colima/default/docker.sock + ${user.home}/.colima/default/docker.sock + true + + + + + + + + diff --git a/examples/platform-integration/distribution-wildfly/pom.xml b/examples/platform-integration/distribution-wildfly/pom.xml index c51b663..fab872c 100644 --- a/examples/platform-integration/distribution-wildfly/pom.xml +++ b/examples/platform-integration/distribution-wildfly/pom.xml @@ -1,22 +1,11 @@ - + 4.0.0 - - - org.operaton.examples - operaton-examples-aggregate - 0.1.0-SNAPSHOT - ../../pom.xml - - org.operaton.examples distribution-wildfly 0.1.0-SNAPSHOT war Operaton Example: Distribution WildFly - UTF-8 @@ -25,7 +14,6 @@ 2.1.2 2.0.5 - @@ -51,7 +39,6 @@ - @@ -65,7 +52,6 @@ 6.1.0 provided - org.springframework @@ -79,7 +65,6 @@ org.springframework spring-web - org.junit.jupiter @@ -121,7 +106,6 @@ test - @@ -149,7 +133,68 @@ org.apache.maven.plugins maven-failsafe-plugin + 3.5.6 + + + + integration-test + verify + + + + + + rancher + + + ${user.home}/.rd/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.rd/docker.sock + /var/run/docker.sock + true + + + + + + + + + colima + + + ${user.home}/.colima/default/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.colima/default/docker.sock + ${user.home}/.colima/default/docker.sock + true + + + + + + + + diff --git a/examples/platform-integration/integration-connectors/pom.xml b/examples/platform-integration/integration-connectors/pom.xml index 3f3d553..3c57e16 100644 --- a/examples/platform-integration/integration-connectors/pom.xml +++ b/examples/platform-integration/integration-connectors/pom.xml @@ -1,29 +1,17 @@ - + 4.0.0 - - - org.operaton.examples - operaton-examples-aggregate - 0.1.0-SNAPSHOT - ../../pom.xml - - org.operaton.examples integration-connectors 0.1.0-SNAPSHOT jar Operaton Example: Integration Connectors - UTF-8 21 4.1.0 2.1.2 - @@ -42,7 +30,6 @@ - org.operaton.bpm.springboot @@ -65,7 +52,6 @@ postgresql runtime - org.springframework.boot spring-boot-starter-test @@ -93,7 +79,6 @@ test - @@ -104,7 +89,68 @@ org.apache.maven.plugins maven-failsafe-plugin + 3.5.6 + + + + integration-test + verify + + + + + + rancher + + + ${user.home}/.rd/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.rd/docker.sock + /var/run/docker.sock + true + + + + + + + + + colima + + + ${user.home}/.colima/default/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.colima/default/docker.sock + ${user.home}/.colima/default/docker.sock + true + + + + + + + + diff --git a/examples/platform-integration/integration-keycloak/pom.xml b/examples/platform-integration/integration-keycloak/pom.xml index 6d1f9b6..8dee5fa 100644 --- a/examples/platform-integration/integration-keycloak/pom.xml +++ b/examples/platform-integration/integration-keycloak/pom.xml @@ -1,28 +1,16 @@ - + 4.0.0 - - - org.operaton.examples - operaton-examples-aggregate - 0.1.0-SNAPSHOT - ../../pom.xml - - org.operaton.examples integration-keycloak 0.1.0-SNAPSHOT jar Operaton Example: Keycloak Identity Provider - UTF-8 21 2.0.5 - @@ -34,7 +22,6 @@ - org.junit.jupiter @@ -82,13 +69,73 @@ test - org.apache.maven.plugins maven-failsafe-plugin + 3.5.6 + + + + integration-test + verify + + + + + + rancher + + + ${user.home}/.rd/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.rd/docker.sock + /var/run/docker.sock + true + + + + + + + + + colima + + + ${user.home}/.colima/default/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.colima/default/docker.sock + ${user.home}/.colima/default/docker.sock + true + + + + + + + + diff --git a/examples/platform-integration/runtime-quarkus/pom.xml b/examples/platform-integration/runtime-quarkus/pom.xml index f528547..4fbe918 100644 --- a/examples/platform-integration/runtime-quarkus/pom.xml +++ b/examples/platform-integration/runtime-quarkus/pom.xml @@ -1,29 +1,17 @@ - + 4.0.0 - - - org.operaton.examples - operaton-examples-aggregate - 0.1.0-SNAPSHOT - ../../pom.xml - - org.operaton.examples runtime-quarkus 0.1.0-SNAPSHOT jar Operaton Example: Runtime Quarkus - UTF-8 21 3.33.2.1 2.1.2 - @@ -42,7 +30,6 @@ - io.quarkus @@ -61,7 +48,6 @@ operaton-bpm-quarkus-engine ${operaton.version} - io.quarkus quarkus-junit5 @@ -84,7 +70,6 @@ test - @@ -115,13 +100,74 @@ org.apache.maven.plugins maven-failsafe-plugin + 3.5.6 org.jboss.logmanager.LogManager ${maven.home} + + + + integration-test + verify + + + + + + rancher + + + ${user.home}/.rd/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.rd/docker.sock + /var/run/docker.sock + true + + + + + + + + + colima + + + ${user.home}/.colima/default/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.colima/default/docker.sock + ${user.home}/.colima/default/docker.sock + true + + + + + + + + diff --git a/examples/use-cases/approval-sla-metrics/pom.xml b/examples/use-cases/approval-sla-metrics/pom.xml index 9115334..ccf7afb 100644 --- a/examples/use-cases/approval-sla-metrics/pom.xml +++ b/examples/use-cases/approval-sla-metrics/pom.xml @@ -1,22 +1,11 @@ - + 4.0.0 - - - org.operaton.examples - operaton-examples-aggregate - 0.1.0-SNAPSHOT - ../../../pom.xml - - org.operaton.examples approval-sla-metrics 0.1.0-SNAPSHOT jar Operaton Example Project: Approval SLA Metrics - UTF-8 21 @@ -24,7 +13,6 @@ 4.1.0 2.1.2 - @@ -50,7 +38,6 @@ - org.operaton.bpm.springboot @@ -73,7 +60,6 @@ postgresql runtime - org.springframework.boot spring-boot-starter-test @@ -100,7 +86,6 @@ test - @@ -124,7 +109,68 @@ org.apache.maven.plugins maven-failsafe-plugin + 3.5.6 + + + + integration-test + verify + + + + + + rancher + + + ${user.home}/.rd/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.rd/docker.sock + /var/run/docker.sock + true + + + + + + + + + colima + + + ${user.home}/.colima/default/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.colima/default/docker.sock + ${user.home}/.colima/default/docker.sock + true + + + + + + + + diff --git a/examples/use-cases/bank-account-opening/pom.xml b/examples/use-cases/bank-account-opening/pom.xml index c8d4427..a6f463d 100644 --- a/examples/use-cases/bank-account-opening/pom.xml +++ b/examples/use-cases/bank-account-opening/pom.xml @@ -1,21 +1,11 @@ - + 4.0.0 - - - org.operaton.examples - operaton-examples-aggregate - 0.1.0-SNAPSHOT - ../../../pom.xml - - + org.operaton.examples uc-13-bank-account-opening 0.1.0-SNAPSHOT jar Operaton Example: Bank Account Opening - UTF-8 21 @@ -23,7 +13,6 @@ 4.1.0 2.1.2 - @@ -42,7 +31,6 @@ - org.operaton.bpm.springboot @@ -77,7 +65,6 @@ postgresql runtime - org.springframework.boot spring-boot-starter-test @@ -110,7 +97,6 @@ test - @@ -120,6 +106,7 @@ org.apache.maven.plugins maven-failsafe-plugin + 3.5.6 @@ -131,4 +118,56 @@ + + + rancher + + + ${user.home}/.rd/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.rd/docker.sock + /var/run/docker.sock + true + + + + + + + + + colima + + + ${user.home}/.colima/default/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.colima/default/docker.sock + ${user.home}/.colima/default/docker.sock + true + + + + + + + + diff --git a/examples/use-cases/candidate-screening/pom.xml b/examples/use-cases/candidate-screening/pom.xml index 2387901..698023d 100644 --- a/examples/use-cases/candidate-screening/pom.xml +++ b/examples/use-cases/candidate-screening/pom.xml @@ -1,21 +1,11 @@ - + 4.0.0 - - - org.operaton.examples - operaton-examples-aggregate - 0.1.0-SNAPSHOT - ../../../pom.xml - - + org.operaton.examples uc-05-candidate-screening 0.1.0-SNAPSHOT jar Operaton Example: Candidate Screening - UTF-8 21 @@ -23,7 +13,6 @@ 4.1.0 2.1.2 - @@ -42,7 +31,6 @@ - org.operaton.bpm.springboot @@ -69,7 +57,6 @@ postgresql runtime - org.springframework.boot spring-boot-starter-test @@ -97,7 +84,6 @@ test - @@ -107,6 +93,7 @@ org.apache.maven.plugins maven-failsafe-plugin + 3.5.6 @@ -118,4 +105,56 @@ + + + rancher + + + ${user.home}/.rd/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.rd/docker.sock + /var/run/docker.sock + true + + + + + + + + + colima + + + ${user.home}/.colima/default/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.colima/default/docker.sock + ${user.home}/.colima/default/docker.sock + true + + + + + + + + diff --git a/examples/use-cases/complaint-resolution/pom.xml b/examples/use-cases/complaint-resolution/pom.xml index 82cd787..280e7cb 100644 --- a/examples/use-cases/complaint-resolution/pom.xml +++ b/examples/use-cases/complaint-resolution/pom.xml @@ -1,21 +1,10 @@ - + 4.0.0 - - - org.operaton.examples - operaton-examples-aggregate - 0.1.0-SNAPSHOT - ../../../pom.xml - - org.operaton.examples uc-08-complaint-resolution 0.1.0-SNAPSHOT Operaton Example: Customer Complaint Resolution - UTF-8 21 @@ -23,7 +12,6 @@ 4.1.0 2.1.2 - @@ -49,7 +37,6 @@ - org.operaton.bpm.springboot @@ -64,7 +51,6 @@ postgresql runtime - org.springframework.boot spring-boot-starter-test @@ -91,7 +77,6 @@ test - @@ -102,7 +87,68 @@ org.apache.maven.plugins maven-failsafe-plugin + 3.5.6 + + + + integration-test + verify + + + + + + rancher + + + ${user.home}/.rd/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.rd/docker.sock + /var/run/docker.sock + true + + + + + + + + + colima + + + ${user.home}/.colima/default/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.colima/default/docker.sock + ${user.home}/.colima/default/docker.sock + true + + + + + + + + diff --git a/examples/use-cases/contract-signing/pom.xml b/examples/use-cases/contract-signing/pom.xml index 4ce7fa1..5cb5b2f 100644 --- a/examples/use-cases/contract-signing/pom.xml +++ b/examples/use-cases/contract-signing/pom.xml @@ -1,144 +1,190 @@ - - 4.0.0 - - - org.springframework.boot - spring-boot-starter-parent - 4.0.3 - - - - org.operaton.examples - uc-11-contract-signing - 0.1.0-SNAPSHOT - Contract Signing Use Case - - - 21 - 2.1.0 - 2.29.0 - - - - - - org.operaton.bpm - operaton-bom - ${operaton.version} - pom - import - - - software.amazon.awssdk - bom - ${aws-java-sdk-bom.version} - pom - import - - - - + + 4.0.0 + org.operaton.examples + uc-11-contract-signing + 0.1.0-SNAPSHOT + Contract Signing Use Case + + 21 + 2.1.0 + 4.1.0 + 2.29.0 + + - - - org.springframework.boot - spring-boot-starter-web - - - org.springframework.boot - spring-boot-starter-data-jpa - - - - - org.operaton.bpm.springboot - operaton-bpm-spring-boot-starter-webapp - - - org.operaton.bpm.springboot - operaton-bpm-spring-boot-starter-rest - - - - - org.postgresql - postgresql - runtime - - - - - software.amazon.awssdk - s3 - - - - - org.apache.pdfbox - pdfbox - 3.0.7 - - - - - org.springframework.boot - spring-boot-starter-test - test - - - org.springframework.boot - spring-boot-starter-webmvc - test - - - org.springframework.boot - spring-boot-testcontainers - test - - - org.testcontainers - testcontainers-junit-jupiter - test - - - org.testcontainers - testcontainers-postgresql - test - - - org.awaitility - awaitility - test - - - io.rest-assured - rest-assured - 5.4.0 - test - + + org.springframework.boot + spring-boot-dependencies + ${spring-boot.version} + pom + import + + + org.operaton.bpm + operaton-bom + ${operaton.version} + pom + import + + + software.amazon.awssdk + bom + ${aws-java-sdk-bom.version} + pom + import + - - - + + + + + org.springframework.boot + spring-boot-starter-web + + + org.springframework.boot + spring-boot-starter-data-jpa + + + + org.operaton.bpm.springboot + operaton-bpm-spring-boot-starter-webapp + + + org.operaton.bpm.springboot + operaton-bpm-spring-boot-starter-rest + + + + org.postgresql + postgresql + runtime + + + + software.amazon.awssdk + s3 + + + + org.apache.pdfbox + pdfbox + 3.0.7 + + + + org.springframework.boot + spring-boot-starter-test + test + + + org.springframework.boot + spring-boot-testcontainers + test + + + org.testcontainers + testcontainers-junit-jupiter + test + + + org.testcontainers + testcontainers-postgresql + test + + + org.awaitility + awaitility + test + + + io.rest-assured + rest-assured + 5.4.0 + test + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.13.0 + + ${java.version} + + + + org.springframework.boot + spring-boot-maven-plugin + ${spring-boot.version} + + + org.apache.maven.plugins + maven-failsafe-plugin + 3.5.6 + + + + integration-test + verify + + + + + + + + + rancher + + + ${user.home}/.rd/docker.sock + + + + + - org.springframework.boot - spring-boot-maven-plugin + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.rd/docker.sock + /var/run/docker.sock + true + + + + + + + + colima + + + ${user.home}/.colima/default/docker.sock + + + + + - org.apache.maven.plugins - maven-failsafe-plugin - - - - integration-test - verify - - - + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.colima/default/docker.sock + ${user.home}/.colima/default/docker.sock + true + + - - + + + + + diff --git a/examples/use-cases/contract-signing/src/main/java/org/operaton/examples/contractsigning/ContractController.java b/examples/use-cases/contract-signing/src/main/java/org/operaton/examples/contractsigning/ContractController.java index 8fd3a62..f9f5eda 100644 --- a/examples/use-cases/contract-signing/src/main/java/org/operaton/examples/contractsigning/ContractController.java +++ b/examples/use-cases/contract-signing/src/main/java/org/operaton/examples/contractsigning/ContractController.java @@ -23,10 +23,10 @@ public ContractController(DocumentStore documentStore, RuntimeService runtimeSer @PostMapping public ResponseEntity uploadContract( - @RequestParam MultipartFile file, - @RequestParam String customer, - @RequestParam String company) { - if (file.isEmpty() || !file.getContentType().equals("application/pdf")) { + @RequestParam("file") MultipartFile file, + @RequestParam("customer") String customer, + @RequestParam("company") String company) { + if (file.isEmpty() || !"application/pdf".equals(file.getContentType())) { return ResponseEntity.badRequest().build(); } if (file.getSize() > 20 * 1024 * 1024) return ResponseEntity.status(HttpStatus.PAYLOAD_TOO_LARGE).build(); diff --git a/examples/use-cases/contract-signing/src/main/java/org/operaton/examples/contractsigning/StampSignatureDelegate.java b/examples/use-cases/contract-signing/src/main/java/org/operaton/examples/contractsigning/StampSignatureDelegate.java index 479c3da..5e95517 100644 --- a/examples/use-cases/contract-signing/src/main/java/org/operaton/examples/contractsigning/StampSignatureDelegate.java +++ b/examples/use-cases/contract-signing/src/main/java/org/operaton/examples/contractsigning/StampSignatureDelegate.java @@ -3,6 +3,7 @@ import org.apache.pdfbox.Loader; import org.apache.pdfbox.pdmodel.PDDocument; import org.operaton.bpm.engine.delegate.DelegateExecution; +import org.operaton.bpm.engine.delegate.Expression; import org.operaton.bpm.engine.delegate.JavaDelegate; import org.springframework.stereotype.Component; @@ -15,11 +16,13 @@ public class StampSignatureDelegate implements JavaDelegate { private final DocumentStore documentStore; + private Expression signerRole; + public StampSignatureDelegate(DocumentStore documentStore) { this.documentStore = documentStore; } @Override public void execute(DelegateExecution execution) throws Exception { - String signerRole = (String) execution.getVariable("signerRole"); + String signerRole = (String) this.signerRole.getValue(execution); String draftKey = (String) execution.getVariable("draftKey"); InputStream pdfStream = documentStore.get(draftKey); byte[] pdfBytes = pdfStream.readAllBytes(); diff --git a/examples/use-cases/contract-signing/src/main/resources/contract-signing.bpmn b/examples/use-cases/contract-signing/src/main/resources/contract-signing.bpmn index 6fc98d0..f7f1ba7 100644 --- a/examples/use-cases/contract-signing/src/main/resources/contract-signing.bpmn +++ b/examples/use-cases/contract-signing/src/main/resources/contract-signing.bpmn @@ -35,9 +35,8 @@ Copyright 2026 the Operaton contributors. Licensed under the Apache License, Ver ${signDecision == 'declined'} - + - ${stampSignatureDelegate} customer @@ -64,9 +63,8 @@ Copyright 2026 the Operaton contributors. Licensed under the Apache License, Ver ${signDecision == 'declined'} - + - ${stampSignatureDelegate} company @@ -83,10 +81,7 @@ Copyright 2026 the Operaton contributors. Licensed under the Apache License, Ver - - - ${archiveContractDelegate} - + Flow_JoinToArchive Flow_ArchiveToEnd diff --git a/examples/use-cases/contract-signing/src/test/java/org/operaton/examples/contractsigning/ContractSigningIT.java b/examples/use-cases/contract-signing/src/test/java/org/operaton/examples/contractsigning/ContractSigningIT.java index b594480..fa53e6d 100644 --- a/examples/use-cases/contract-signing/src/test/java/org/operaton/examples/contractsigning/ContractSigningIT.java +++ b/examples/use-cases/contract-signing/src/test/java/org/operaton/examples/contractsigning/ContractSigningIT.java @@ -9,6 +9,7 @@ import org.operaton.bpm.engine.task.Task; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; +import org.springframework.boot.test.web.server.LocalServerPort; import org.springframework.boot.testcontainers.service.connection.ServiceConnection; import org.springframework.test.context.DynamicPropertyRegistry; import org.springframework.test.context.DynamicPropertySource; @@ -40,15 +41,17 @@ class ContractSigningIT { .withExposedPorts(9000) .withStartupTimeout(java.time.Duration.ofSeconds(60)); + @LocalServerPort + private int port; + @Autowired private ProcessEngine processEngine; @Autowired private RuntimeService runtimeService; @Autowired private TaskService taskService; @Autowired private HistoryService historyService; - @Autowired private org.springframework.boot.web.server.WebServer webServer; @BeforeEach void setUp() { - RestAssured.baseURI = "http://localhost:" + webServer.getPort(); + RestAssured.baseURI = "http://localhost:" + port; } @DynamicPropertySource @@ -70,7 +73,7 @@ void happyPath_bothPartiesSign_completesWithArchivedArtifact() throws IOExceptio // Create/upload sample PDF Response response = RestAssured .given() - .multiPart("file", new java.io.File("src/test/resources/sample-contract.pdf")) + .multiPart("file", new java.io.File("src/test/resources/sample-contract.pdf"), "application/pdf") .multiPart("customer", "Alice") .multiPart("company", "Operaton GmbH") .when() @@ -142,7 +145,7 @@ void happyPath_bothPartiesSign_completesWithArchivedArtifact() throws IOExceptio void customerDeclines_terminatesInstance_noCompanySigning() throws IOException { Response response = RestAssured .given() - .multiPart("file", new java.io.File("src/test/resources/sample-contract.pdf")) + .multiPart("file", new java.io.File("src/test/resources/sample-contract.pdf"), "application/pdf") .multiPart("customer", "Bob") .multiPart("company", "Operaton GmbH") .when() diff --git a/examples/use-cases/employee-onboarding/pom.xml b/examples/use-cases/employee-onboarding/pom.xml index 5a53f8f..551de13 100644 --- a/examples/use-cases/employee-onboarding/pom.xml +++ b/examples/use-cases/employee-onboarding/pom.xml @@ -1,21 +1,10 @@ - + 4.0.0 - - - org.operaton.examples - operaton-examples-aggregate - 0.1.0-SNAPSHOT - ../../../pom.xml - - org.operaton.examples uc-09-employee-onboarding 0.1.0-SNAPSHOT Operaton Example: Employee Onboarding - UTF-8 21 @@ -23,7 +12,6 @@ 4.1.0 2.1.2 - @@ -49,7 +37,6 @@ - org.operaton.bpm.springboot @@ -64,7 +51,6 @@ postgresql runtime - org.springframework.boot spring-boot-starter-test @@ -91,7 +77,6 @@ test - @@ -102,7 +87,68 @@ org.apache.maven.plugins maven-failsafe-plugin + 3.5.6 + + + + integration-test + verify + + + + + + rancher + + + ${user.home}/.rd/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.rd/docker.sock + /var/run/docker.sock + true + + + + + + + + + colima + + + ${user.home}/.colima/default/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.colima/default/docker.sock + ${user.home}/.colima/default/docker.sock + true + + + + + + + + diff --git a/examples/use-cases/expense-reimbursement/pom.xml b/examples/use-cases/expense-reimbursement/pom.xml index b98d730..4acc562 100644 --- a/examples/use-cases/expense-reimbursement/pom.xml +++ b/examples/use-cases/expense-reimbursement/pom.xml @@ -1,21 +1,11 @@ - + 4.0.0 - - - org.operaton.examples - operaton-examples-aggregate - 0.1.0-SNAPSHOT - ../../../pom.xml - - + org.operaton.examples uc-14-expense-reimbursement 0.1.0-SNAPSHOT jar Operaton Example: Expense Reimbursement - UTF-8 21 @@ -23,7 +13,6 @@ 4.1.0 2.1.1 - @@ -42,7 +31,6 @@ - org.operaton.bpm.springboot @@ -65,7 +53,6 @@ postgresql runtime - org.springframework.boot spring-boot-starter-test @@ -98,7 +85,6 @@ test - @@ -108,6 +94,7 @@ org.apache.maven.plugins maven-failsafe-plugin + 3.5.6 @@ -119,4 +106,56 @@ + + + rancher + + + ${user.home}/.rd/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.rd/docker.sock + /var/run/docker.sock + true + + + + + + + + + colima + + + ${user.home}/.colima/default/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.colima/default/docker.sock + ${user.home}/.colima/default/docker.sock + true + + + + + + + + diff --git a/examples/use-cases/incident-management/pom.xml b/examples/use-cases/incident-management/pom.xml index 80fc438..1459ce6 100644 --- a/examples/use-cases/incident-management/pom.xml +++ b/examples/use-cases/incident-management/pom.xml @@ -1,21 +1,10 @@ - + 4.0.0 - - - org.operaton.examples - operaton-examples-aggregate - 0.1.0-SNAPSHOT - ../../../pom.xml - - org.operaton.examples uc-03-incident-management 0.1.0-SNAPSHOT Operaton Example: Incident Management - UTF-8 21 @@ -24,7 +13,6 @@ 2.1.2 1.20.4 - @@ -43,7 +31,6 @@ - @@ -60,7 +47,6 @@ postgresql runtime - org.springframework.boot spring-boot-starter-test @@ -90,7 +76,6 @@ test - @@ -111,8 +96,68 @@ org.apache.maven.plugins maven-failsafe-plugin + 3.5.6 + + + + integration-test + verify + + + - + + + rancher + + + ${user.home}/.rd/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.rd/docker.sock + /var/run/docker.sock + true + + + + + + + + + colima + + + ${user.home}/.colima/default/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.colima/default/docker.sock + ${user.home}/.colima/default/docker.sock + true + + + + + + + + diff --git a/examples/use-cases/insurance-claim/pom.xml b/examples/use-cases/insurance-claim/pom.xml index 716849a..9d6c966 100644 --- a/examples/use-cases/insurance-claim/pom.xml +++ b/examples/use-cases/insurance-claim/pom.xml @@ -1,21 +1,10 @@ - + 4.0.0 - - - org.operaton.examples - operaton-examples-aggregate - 0.1.0-SNAPSHOT - ../../../pom.xml - - org.operaton.examples uc-06-insurance-claim 0.1.0-SNAPSHOT Operaton Example: Insurance Claim - UTF-8 21 @@ -23,7 +12,6 @@ 4.1.0 2.1.2 - @@ -49,7 +37,6 @@ - org.operaton.bpm.springboot @@ -64,7 +51,6 @@ postgresql runtime - org.springframework.boot spring-boot-starter-test @@ -91,7 +77,6 @@ test - @@ -102,8 +87,68 @@ org.apache.maven.plugins maven-failsafe-plugin + 3.5.6 + + + + integration-test + verify + + + - + + + rancher + + + ${user.home}/.rd/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.rd/docker.sock + /var/run/docker.sock + true + + + + + + + + + colima + + + ${user.home}/.colima/default/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.colima/default/docker.sock + ${user.home}/.colima/default/docker.sock + true + + + + + + + + diff --git a/examples/use-cases/leave-request/pom.xml b/examples/use-cases/leave-request/pom.xml index e5ad5b9..c1c5b14 100644 --- a/examples/use-cases/leave-request/pom.xml +++ b/examples/use-cases/leave-request/pom.xml @@ -1,21 +1,10 @@ - + 4.0.0 - - - org.operaton.examples - operaton-examples-aggregate - 0.1.0-SNAPSHOT - ../../../pom.xml - - org.operaton.examples uc-01-leave-request 0.1.0-SNAPSHOT Operaton Example: Leave Request - UTF-8 21 @@ -23,7 +12,6 @@ 4.1.0 2.1.2 - @@ -42,7 +30,6 @@ - @@ -94,7 +81,6 @@ test - @@ -118,8 +104,68 @@ org.apache.maven.plugins maven-failsafe-plugin + 3.5.6 + + + + integration-test + verify + + + - + + + rancher + + + ${user.home}/.rd/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.rd/docker.sock + /var/run/docker.sock + true + + + + + + + + + colima + + + ${user.home}/.colima/default/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.colima/default/docker.sock + ${user.home}/.colima/default/docker.sock + true + + + + + + + + diff --git a/examples/use-cases/loan-application/pom.xml b/examples/use-cases/loan-application/pom.xml index 4a21970..02b5269 100644 --- a/examples/use-cases/loan-application/pom.xml +++ b/examples/use-cases/loan-application/pom.xml @@ -1,21 +1,10 @@ - + 4.0.0 - - - org.operaton.examples - operaton-examples-aggregate - 0.1.0-SNAPSHOT - ../../../pom.xml - - org.operaton.examples uc-02-loan-application 0.1.0-SNAPSHOT Operaton Example: Loan Application - UTF-8 21 @@ -23,7 +12,6 @@ 4.1.0 2.1.2 - @@ -42,7 +30,6 @@ - @@ -96,7 +83,6 @@ test - @@ -120,8 +106,68 @@ org.apache.maven.plugins maven-failsafe-plugin + 3.5.6 + + + + integration-test + verify + + + - + + + rancher + + + ${user.home}/.rd/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.rd/docker.sock + /var/run/docker.sock + true + + + + + + + + + colima + + + ${user.home}/.colima/default/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.colima/default/docker.sock + ${user.home}/.colima/default/docker.sock + true + + + + + + + + diff --git a/examples/use-cases/order-fulfillment/pom.xml b/examples/use-cases/order-fulfillment/pom.xml index af8fb1a..ee19c38 100644 --- a/examples/use-cases/order-fulfillment/pom.xml +++ b/examples/use-cases/order-fulfillment/pom.xml @@ -1,21 +1,10 @@ - + 4.0.0 - - - org.operaton.examples - operaton-examples-aggregate - 0.1.0-SNAPSHOT - ../../../pom.xml - - org.operaton.examples uc-04-order-fulfillment 0.1.0-SNAPSHOT Operaton Example: Order Fulfillment - UTF-8 21 @@ -24,7 +13,6 @@ 2.1.2 1.20.4 - @@ -43,7 +31,6 @@ - @@ -60,7 +47,6 @@ postgresql runtime - org.springframework.boot spring-boot-starter-test @@ -90,7 +76,6 @@ test - @@ -101,8 +86,68 @@ org.apache.maven.plugins maven-failsafe-plugin + 3.5.6 + + + + integration-test + verify + + + - + + + rancher + + + ${user.home}/.rd/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.rd/docker.sock + /var/run/docker.sock + true + + + + + + + + + colima + + + ${user.home}/.colima/default/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.colima/default/docker.sock + ${user.home}/.colima/default/docker.sock + true + + + + + + + + diff --git a/examples/use-cases/procurement-collaboration/pom.xml b/examples/use-cases/procurement-collaboration/pom.xml index e856cfb..de85ea5 100644 --- a/examples/use-cases/procurement-collaboration/pom.xml +++ b/examples/use-cases/procurement-collaboration/pom.xml @@ -1,21 +1,10 @@ - + 4.0.0 - - - org.operaton.examples - operaton-examples-aggregate - 0.1.0-SNAPSHOT - ../../../pom.xml - - org.operaton.examples uc-10-procurement-collaboration 0.1.0-SNAPSHOT Operaton Example: Procurement Collaboration - UTF-8 21 @@ -23,7 +12,6 @@ 4.1.0 2.1.2 - @@ -49,7 +37,6 @@ - org.operaton.bpm.springboot @@ -64,7 +51,6 @@ postgresql runtime - org.springframework.boot spring-boot-starter-test @@ -91,7 +77,6 @@ test - @@ -102,7 +87,68 @@ org.apache.maven.plugins maven-failsafe-plugin + 3.5.6 + + + + integration-test + verify + + + + + + rancher + + + ${user.home}/.rd/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.rd/docker.sock + /var/run/docker.sock + true + + + + + + + + + colima + + + ${user.home}/.colima/default/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.colima/default/docker.sock + ${user.home}/.colima/default/docker.sock + true + + + + + + + + diff --git a/examples/use-cases/supply-chain-tracking/pom.xml b/examples/use-cases/supply-chain-tracking/pom.xml index e700b3a..83ae7f4 100644 --- a/examples/use-cases/supply-chain-tracking/pom.xml +++ b/examples/use-cases/supply-chain-tracking/pom.xml @@ -1,21 +1,10 @@ - + 4.0.0 - - - org.operaton.examples - operaton-examples-aggregate - 0.1.0-SNAPSHOT - ../../../pom.xml - - org.operaton.examples uc-12-supply-chain-tracking 0.1.0-SNAPSHOT Operaton Example: Supply Chain Tracking - UTF-8 21 @@ -23,7 +12,6 @@ 4.1.0 2.1.2 - @@ -49,7 +37,6 @@ - org.operaton.bpm.springboot @@ -68,7 +55,6 @@ postgresql runtime - org.springframework.boot spring-boot-starter-test @@ -100,7 +86,6 @@ test - @@ -111,7 +96,68 @@ org.apache.maven.plugins maven-failsafe-plugin + 3.5.6 + + + + integration-test + verify + + + + + + rancher + + + ${user.home}/.rd/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.rd/docker.sock + /var/run/docker.sock + true + + + + + + + + + colima + + + ${user.home}/.colima/default/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.colima/default/docker.sock + ${user.home}/.colima/default/docker.sock + true + + + + + + + + diff --git a/examples/use-cases/travel-booking/pom.xml b/examples/use-cases/travel-booking/pom.xml index 73ec75c..cf56b7b 100644 --- a/examples/use-cases/travel-booking/pom.xml +++ b/examples/use-cases/travel-booking/pom.xml @@ -1,21 +1,10 @@ - + 4.0.0 - - - org.operaton.examples - operaton-examples-aggregate - 0.1.0-SNAPSHOT - ../../../pom.xml - - org.operaton.examples uc-07-travel-booking 0.1.0-SNAPSHOT Operaton Example: Travel Booking SAGA - UTF-8 21 @@ -23,7 +12,6 @@ 4.1.0 2.1.2 - @@ -49,7 +37,6 @@ - org.operaton.bpm.springboot @@ -64,7 +51,6 @@ postgresql runtime - org.springframework.boot spring-boot-starter-test @@ -91,7 +77,6 @@ test - @@ -102,8 +87,68 @@ org.apache.maven.plugins maven-failsafe-plugin + 3.5.6 + + + + integration-test + verify + + + - + + + rancher + + + ${user.home}/.rd/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.rd/docker.sock + /var/run/docker.sock + true + + + + + + + + + colima + + + ${user.home}/.colima/default/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.colima/default/docker.sock + ${user.home}/.colima/default/docker.sock + true + + + + + + + + diff --git a/pom.xml b/pom.xml index 759109a..6ef1930 100644 --- a/pom.xml +++ b/pom.xml @@ -113,6 +113,31 @@ + + colima + + + ${user.home}/.colima/default/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.colima/default/docker.sock + ${user.home}/.colima/default/docker.sock + true + + + + + + + diff --git a/scripts/make-examples-self-contained.py b/scripts/make-examples-self-contained.py new file mode 100755 index 0000000..43191c7 --- /dev/null +++ b/scripts/make-examples-self-contained.py @@ -0,0 +1,383 @@ +#!/usr/bin/env python3 +""" +Make all examples self-contained by removing parent reference +and adding failsafe + rancher + colima profile configuration. + +Uses regex-based XML transformation to work around expat issues. +""" +import subprocess +import sys +import re +from pathlib import Path + + +def remove_parent_element(content): + """Remove parent element if exists.""" + if '' not in content: + return content, False + + # Remove the entire parent block + content = re.sub( + r'\s*.*?\s*', + '\n', + content, + flags=re.DOTALL + ) + return content, True + + +def has_execution_block_for_failsafe(content): + """Check if failsafe plugin has at least one execution block using regex.""" + # Find the failsafe plugin block + failsafe_match = re.search( + r'\s*org\.apache\.maven\.plugins\s*' + r'maven-failsafe-plugin.*?', + content, + re.DOTALL + ) + if not failsafe_match: + return False, None + + plugin_block = failsafe_match.group(0) + has_exec = '' in plugin_block + return has_exec, plugin_block + + +def deduplicate_executions_in_plugin_block(plugin_block): + """Remove duplicate execution blocks from a plugin, keeping only one.""" + # Find all blocks + exec_blocks = re.findall(r'.*?', plugin_block, re.DOTALL) + + if len(exec_blocks) <= 1: + return plugin_block, 0 + + # Keep only the first one, remove the rest + deduplicated = plugin_block + for dup_block in exec_blocks[1:]: + deduplicated = deduplicated.replace(dup_block, '', 1) + + return deduplicated, len(exec_blocks) - 1 + + +def ensure_failsafe_plugin(content): + """Ensure failsafe plugin with version and executions exists.""" + modified = False + message = "" + + has_exec, plugin_block = has_execution_block_for_failsafe(content) + + if plugin_block: + # Failsafe plugin exists - update it + # First, deduplicate any execution blocks + deduplicated_block, dup_count = deduplicate_executions_in_plugin_block(plugin_block) + if dup_count > 0: + content = content.replace(plugin_block, deduplicated_block, 1) + plugin_block = deduplicated_block + message += f"✓ Removed {dup_count} duplicate execution block(s) " + modified = True + + # Ensure version 3.5.6 + version_match = re.search(r'.*?', plugin_block) + if version_match: + old_version = version_match.group(0) + if old_version != '3.5.6': + new_block = plugin_block.replace(old_version, '3.5.6', 1) + content = content.replace(plugin_block, new_block, 1) + plugin_block = new_block + message += "✓ Updated failsafe version " + modified = True + else: + # Add version after artifactId + new_block = plugin_block.replace( + 'maven-failsafe-plugin', + 'maven-failsafe-plugin\n 3.5.6', + 1 + ) + content = content.replace(plugin_block, new_block, 1) + plugin_block = new_block + message += "✓ Added failsafe version " + modified = True + + # Ensure executions block exists + if not has_exec: + executions_block = ''' + + + integration-test + verify + + + + ''' + # Add before + new_block = plugin_block.replace(' ', f'{executions_block} ', 1) + if new_block == plugin_block: + new_block = plugin_block.replace(' ', f'{executions_block} ', 1) + + if new_block != plugin_block: + content = content.replace(plugin_block, new_block, 1) + message += "✓ Added execution block " + modified = True + + if message: + message = "✓ Updated failsafe plugin (v3.5.6) " + message.strip() + else: + message = "ⓘ Failsafe plugin already correct" + else: + # Create failsafe plugin from scratch + failsafe_plugin = ''' + org.apache.maven.plugins + maven-failsafe-plugin + 3.5.6 + + + + integration-test + verify + + + + ''' + + # Ensure build/plugins section exists + if '' not in content: + build_section = f''' + +{failsafe_plugin} + + ''' + content = content.replace('', f"\n {build_section}\n") + elif '' not in content: + plugins_section = f''' +{failsafe_plugin} + ''' + build_end = content.find('') + content = content[:build_end] + f"\n {plugins_section}\n " + content[build_end:] + else: + # Add to existing plugins + content = content.replace( + ' ', + f'{failsafe_plugin}\n ', + 1 + ) + + message = "✓ Added failsafe plugin (v3.5.6)" + modified = True + + return content, modified, message + + +def has_rancher_profile(content): + """Check if a rancher profile with id=rancher exists (exact match).""" + # Look for containing rancher (exact match, not rancher-desktop) + profile_match = re.search( + r'.*?rancher.*?', + content, + re.DOTALL + ) + return profile_match is not None + + +def has_colima_profile(content): + """Check if a colima profile with id=colima exists (exact match).""" + # Look for containing colima + profile_match = re.search( + r'.*?colima.*?', + content, + re.DOTALL + ) + return profile_match is not None + + +def ensure_rancher_profile(content): + """Ensure rancher profile exists with correct configuration.""" + # First, remove any old rancher-related profiles that aren't the standard "rancher" one + # This handles the case where old profiles like "rancher-desktop" or "docker-alternative-rancher" exist + content = re.sub( + r'\s*(?:)?\s*(?!rancher)[^<]*rancher[^<]*.*?', + '', + content, + flags=re.DOTALL + ) + + # Remove any empty or duplicate sections + # Merge all profiles into a single section at the end + all_profiles_content = [] + profiles_matches = list(re.finditer(r'(.*?)', content, re.DOTALL)) + + if profiles_matches: + # Collect all profile content from all sections + for match in profiles_matches: + profiles_content = match.group(1) + all_profiles_content.append(profiles_content) + + # Remove all old sections + for match in reversed(profiles_matches): # reverse to maintain positions + content = content[:match.start()] + content[match.end():] + + # Check if rancher profile exists + rancher_exists = False + for prof_content in all_profiles_content: + if 'rancher' in prof_content: + rancher_exists = True + break + + if not rancher_exists: + # Add the rancher profile to the collected content + all_profiles_content.append(''' + + rancher + + + ${user.home}/.rd/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.rd/docker.sock + /var/run/docker.sock + true + + + + + + + ''') + message = "✓ Added rancher profile" + else: + message = "ⓘ Rancher profile already exists" + + # Write merged profiles back (if any content exists) + if all_profiles_content: + merged = ''.join(all_profiles_content) + profiles_block = f'''{merged} + ''' + content = content.replace('', f"{profiles_block}\n") + + return content, len(profiles_matches) > 0 or not rancher_exists, message + + +def ensure_colima_profile(content): + """Ensure colima profile exists within the section.""" + # Check if colima profile exists + colima_exists = has_colima_profile(content) + + if not colima_exists: + # Find the closing tag + profiles_close_match = re.search(r'', content) + + if profiles_close_match: + # Add colima profile inside existing section + colima_profile = ''' + + colima + + + ${user.home}/.colima/default/docker.sock + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.colima/default/docker.sock + ${user.home}/.colima/default/docker.sock + true + + + + + + + ''' + content = content.replace('', f"{colima_profile}\n ", 1) + message = "✓ Added colima profile" + else: + # No section exists, which shouldn't happen if rancher was added + message = "⚠ Could not find profiles section" + else: + message = "ⓘ Colima profile already exists" + + return content, not colima_exists, message + + +def transform_pom(pom_path): + """Transform a single pom.xml file.""" + + # Read the file + with open(pom_path, 'r') as f: + content = f.read() + + # Step 1: Remove parent element if exists + content, removed_parent = remove_parent_element(content) + if removed_parent: + print(f" ✓ Removed parent reference") + + # Step 2: Ensure failsafe plugin configuration + content, modified_failsafe, failsafe_msg = ensure_failsafe_plugin(content) + print(f" {failsafe_msg}") + + # Step 3: Ensure rancher profile + content, added_profile, profile_msg = ensure_rancher_profile(content) + print(f" {profile_msg}") + + # Step 4: Ensure colima profile + content, added_colima, colima_msg = ensure_colima_profile(content) + print(f" {colima_msg}") + + # Step 5: Write the modified content back + with open(pom_path, 'w') as f: + f.write(content) + + # Step 6: Reformat with xmllint for proper indentation + result = subprocess.run( + ['xmllint', '--format', '-o', str(pom_path), str(pom_path)], + capture_output=True, + text=True + ) + if result.returncode != 0: + raise Exception(f"xmllint format failed: {result.stderr}") + + print(f" ✓ Formatted and saved {pom_path.name}") + + +def main(): + """Process all example pom.xml files.""" + repo_root = Path(__file__).parent.parent + examples_dir = repo_root / 'examples' + + # Find all pom.xml files in examples subdirectories + pom_files = sorted(examples_dir.glob('**/pom.xml')) + + # Filter to only include example pom.xml files (not the aggregate one) + pom_files = [f for f in pom_files if f.parent != repo_root] + + print(f"Found {len(pom_files)} example pom.xml files\n") + + success_count = 0 + for pom_path in pom_files: + relative_path = pom_path.relative_to(repo_root) + print(f"Processing: {relative_path}") + try: + transform_pom(pom_path) + success_count += 1 + except Exception as e: + print(f" ✗ Error: {e}") + sys.exit(1) + + print(f"\n✓ Successfully processed {success_count} pom.xml files") + + +if __name__ == '__main__': + main()