From 5baa1ed97c1d2b98952a025c3bc76f60587e9670 Mon Sep 17 00:00:00 2001 From: Jozsef Csongvai Date: Mon, 13 Jun 2022 08:53:19 -0400 Subject: Enable long-running processes in ControllerExecutionBB Instead of blocking a thread while waiting for controller response, ControllerExecutionBB is now using camunda receive task to support long running processes without increasing the camunda job timeout. A new property was added to configure the gRPC client's keep alive ping mechanism, which will identify connection issues and prevent the process getting stuck when the controller crashes. Issue-ID: SO-3953 Signed-off-by: Jozsef Csongvai Change-Id: Iaf6438dba76e715dba846bf45ef47b6a91239c4a --- .../BuildingBlock/ControllerExecutionBB.bpmn | 84 ++++++++++++++-------- 1 file changed, 56 insertions(+), 28 deletions(-) (limited to 'bpmn/so-bpmn-building-blocks') diff --git a/bpmn/so-bpmn-building-blocks/src/main/resources/subprocess/BuildingBlock/ControllerExecutionBB.bpmn b/bpmn/so-bpmn-building-blocks/src/main/resources/subprocess/BuildingBlock/ControllerExecutionBB.bpmn index 065d7e0c4b..e04d281c8b 100644 --- a/bpmn/so-bpmn-building-blocks/src/main/resources/subprocess/BuildingBlock/ControllerExecutionBB.bpmn +++ b/bpmn/so-bpmn-building-blocks/src/main/resources/subprocess/BuildingBlock/ControllerExecutionBB.bpmn @@ -1,5 +1,5 @@ - + SequenceFlow_0gmfit3 @@ -14,24 +14,19 @@ SequenceFlow_07tqu82 SequenceFlow_1mkhog2 - + SequenceFlow_0vzx2yr SequenceFlow_05qembo - - SequenceFlow_05qembo + + SequenceFlow_01kp408 SequenceFlow_07tqu82 - SequenceFlow_15gxql1 + SequenceFlow_1szkurj #{execution.getVariable("ControllerStatus").equals("Success")} - - SequenceFlow_15gxql1 - - - SequenceFlow_0gmfit3 SequenceFlow_1lspfyy @@ -79,8 +74,29 @@ #{execution.getVariable("ControllerStatus").equals("Success")} + + SequenceFlow_05qembo + SequenceFlow_01kp408 + + + + + + SequenceFlow_13ddk47 + + #{execution.getVariable("timeoutControllerMessage")} + + + + SequenceFlow_1szkurj + SequenceFlow_13ddk47 + + + + + @@ -93,9 +109,9 @@ - + - + @@ -134,13 +150,6 @@ - - - - - - - @@ -149,8 +158,8 @@ - - + + @@ -186,7 +195,7 @@ - + @@ -194,12 +203,6 @@ - - - - - - @@ -224,6 +227,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit 1.2.3-korg