From 271b4e53aa2b55fdd88cdbe637d8d5578c10d86f Mon Sep 17 00:00:00 2001 From: Karsten Thoms Date: Wed, 1 Jul 2026 23:11:51 +0200 Subject: [PATCH] fix: remove invalid from DMN files, add bpmn: prefix to xsi:type is not a valid DMN 1.3 element and causes a SAXException on deployment in Operaton 2.1.2. Remove it from credit-decision.dmn, purchase-requisition-routing.dmn, claim-settlement.dmn, risk-assessment.dmn. xsi:type="tFormalExpression" (unqualified) fails schema validation in the updated engine; change to xsi:type="bpmn:tFormalExpression" in loan-application.bpmn, incident-management.bpmn, order-fulfillment.bpmn. Co-Authored-By: Claude Sonnet 4.6 Claude-Session: https://claude.ai/code/session_018MQnsh6ZTicNjjhccHMwuh --- .../purchase-requisition-routing.dmn | 4 +- examples/dmn-decision/pom.xml | 51 +++++++++++++++++++ .../src/main/resources/credit-decision.dmn | 4 +- .../main/resources/incident-management.bpmn | 6 +-- .../src/main/resources/claim-settlement.dmn | 4 +- .../src/main/resources/loan-application.bpmn | 6 +-- .../src/main/resources/risk-assessment.dmn | 4 +- .../src/main/resources/order-fulfillment.bpmn | 4 +- 8 files changed, 63 insertions(+), 20 deletions(-) diff --git a/examples/approval-sla-metrics/src/main/resources/purchase-requisition-routing.dmn b/examples/approval-sla-metrics/src/main/resources/purchase-requisition-routing.dmn index efb7101..f9cdd63 100644 --- a/examples/approval-sla-metrics/src/main/resources/purchase-requisition-routing.dmn +++ b/examples/approval-sla-metrics/src/main/resources/purchase-requisition-routing.dmn @@ -1,8 +1,6 @@ - Demonstrates observing a BPMN process in real time: a purchase-requisition - -Copyright 2026 the Operaton contributors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0sds + sds diff --git a/examples/dmn-decision/pom.xml b/examples/dmn-decision/pom.xml index 9ba5e8b..67790df 100644 --- a/examples/dmn-decision/pom.xml +++ b/examples/dmn-decision/pom.xml @@ -94,4 +94,55 @@ + + + + + docker-alternative-rancher + + + ${user.home}/.rd/docker.sock + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + unix://${user.home}/.rd/docker.sock + /var/run/docker.sock + true + + + + + + + + + docker-alternative-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 + + + + + + + diff --git a/examples/dmn-decision/src/main/resources/credit-decision.dmn b/examples/dmn-decision/src/main/resources/credit-decision.dmn index 3d9e0c3..ff25492 100644 --- a/examples/dmn-decision/src/main/resources/credit-decision.dmn +++ b/examples/dmn-decision/src/main/resources/credit-decision.dmn @@ -1,8 +1,6 @@ - A Spring Boot application demonstrating Operaton DMN decision evaluation from a BPMN - -Copyright 2026 the Operaton contributors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 + diff --git a/examples/use-cases/incident-management/src/main/resources/incident-management.bpmn b/examples/use-cases/incident-management/src/main/resources/incident-management.bpmn index 15e8f0e..2f89d53 100644 --- a/examples/use-cases/incident-management/src/main/resources/incident-management.bpmn +++ b/examples/use-cases/incident-management/src/main/resources/incident-management.bpmn @@ -46,10 +46,10 @@ Copyright 2026 the Operaton contributors. Licensed under the Apache License, Ver - ${resolved == true} + ${resolved == true} - ${resolved != true} + ${resolved != true} @@ -75,7 +75,7 @@ Copyright 2026 the Operaton contributors. Licensed under the Apache License, Ver Flow_timer_to_secondline - ${timerDuration} + ${timerDuration} diff --git a/examples/use-cases/insurance-claim/src/main/resources/claim-settlement.dmn b/examples/use-cases/insurance-claim/src/main/resources/claim-settlement.dmn index d59f3f7..b3581bf 100644 --- a/examples/use-cases/insurance-claim/src/main/resources/claim-settlement.dmn +++ b/examples/use-cases/insurance-claim/src/main/resources/claim-settlement.dmn @@ -1,9 +1,7 @@ - Demonstrates the event-based gateway — a race between a message event (documents - -Copyright 2026 the Operaton contributors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 + diff --git a/examples/use-cases/loan-application/src/main/resources/loan-application.bpmn b/examples/use-cases/loan-application/src/main/resources/loan-application.bpmn index e65d45a..98a84ac 100644 --- a/examples/use-cases/loan-application/src/main/resources/loan-application.bpmn +++ b/examples/use-cases/loan-application/src/main/resources/loan-application.bpmn @@ -36,7 +36,7 @@ Copyright 2026 the Operaton contributors. Licensed under the Apache License, Ver - ${riskLevel == 'medium'} + ${riskLevel == 'medium'} @@ -60,10 +60,10 @@ Copyright 2026 the Operaton contributors. Licensed under the Apache License, Ver - ${riskLevel == 'low'} + ${riskLevel == 'low'} - ${riskLevel == 'high'} + ${riskLevel == 'high'} diff --git a/examples/use-cases/loan-application/src/main/resources/risk-assessment.dmn b/examples/use-cases/loan-application/src/main/resources/risk-assessment.dmn index 5623610..f82bee3 100644 --- a/examples/use-cases/loan-application/src/main/resources/risk-assessment.dmn +++ b/examples/use-cases/loan-application/src/main/resources/risk-assessment.dmn @@ -1,9 +1,7 @@ - A self-contained Operaton example for loan application triage that combines a credit-score service call, DMN evaluation, and conditional user-task routing. - -Copyright 2026 the Operaton contributors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 + diff --git a/examples/use-cases/order-fulfillment/src/main/resources/order-fulfillment.bpmn b/examples/use-cases/order-fulfillment/src/main/resources/order-fulfillment.bpmn index 076f2a0..eaa1462 100644 --- a/examples/use-cases/order-fulfillment/src/main/resources/order-fulfillment.bpmn +++ b/examples/use-cases/order-fulfillment/src/main/resources/order-fulfillment.bpmn @@ -36,10 +36,10 @@ Copyright 2026 the Operaton contributors. Licensed under the Apache License, Ver - ${available == true} + ${available == true} - ${available == false} + ${available == false}