From 04b3244960cbda0342f383014790921f5c773243 Mon Sep 17 00:00:00 2001 From: Marco Schaeck Date: Thu, 20 Aug 2026 16:29:57 +0200 Subject: [PATCH] fix(bpmn): rename error/escalation names to avoid invalid-identifier warnings --- .../adapter/process/BikeLeasingProcessProcessApi.kt | 8 ++++---- service/app/src/main/resources/bpmn/bike-leasing.bpmn | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/service/app/src/main/kotlin/io/miragon/blueprint/adapter/process/BikeLeasingProcessProcessApi.kt b/service/app/src/main/kotlin/io/miragon/blueprint/adapter/process/BikeLeasingProcessProcessApi.kt index 56c75a1..0e5d2eb 100644 --- a/service/app/src/main/kotlin/io/miragon/blueprint/adapter/process/BikeLeasingProcessProcessApi.kt +++ b/service/app/src/main/kotlin/io/miragon/blueprint/adapter/process/BikeLeasingProcessProcessApi.kt @@ -182,13 +182,13 @@ object BikeLeasingProcessProcessApi { } object Errors { - val `APPLICATION INVALID`: BpmnError = - BpmnError("Application Invalid", "applicationInvalid") + val APPLICATION_INVALID: BpmnError = + BpmnError("Application_Invalid", "applicationInvalid") } object Escalations { - val `CONTRACT NOT SIGNED`: BpmnEscalation = - BpmnEscalation("Contract Not Signed", "contractNotSigned") + val CONTRACT_NOT_SIGNED: BpmnEscalation = + BpmnEscalation("Contract_Not_Signed", "contractNotSigned") } object Compensations { diff --git a/service/app/src/main/resources/bpmn/bike-leasing.bpmn b/service/app/src/main/resources/bpmn/bike-leasing.bpmn index 67c48f2..258a053 100644 --- a/service/app/src/main/resources/bpmn/bike-leasing.bpmn +++ b/service/app/src/main/resources/bpmn/bike-leasing.bpmn @@ -5,8 +5,8 @@ - - + +