Add enterprise business flows and fix layered sample compile.

Structured {source, event} steps in state_machine_enterprise flows.json enable HTML flow highlighting; fix additional-state configuration in layered_dispatcher_sample and refresh enterprise golden JSON.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-14 17:42:09 +02:00
parent 2e7afd6d42
commit a3789ceb3c
7 changed files with 55 additions and 5 deletions

View File

@@ -41,6 +41,10 @@ class EnterpriseDedicatedEndpointHtmlTest {
assertThat(html).contains("#link_OrderState_PENDING__OrderEvent_SHIP");
assertThat(html).contains("\"linkKey\" : \"OrderState_NEW__OrderEvent_PAY\"");
assertThat(html).contains("\"linkKey\" : \"OrderState_PENDING__OrderEvent_SHIP\"");
assertThat(html).contains("Order fulfillment");
assertThat(html).contains("function highlightFlow(flow)");
assertThat(html).contains("\"source\" : \"click.kamil.enterprise.machines.order.OrderState.NEW\"");
assertThat(html).contains("\"source\" : \"click.kamil.enterprise.machines.order.OrderState.PENDING\"");
}
private static Path findOrderMachineHtml(Path outputDir) throws Exception {