Start Spring Boot tests of a Camunda 7 REST API in a mock servlet environment

Proprietary

Camunda 7's REST API starter registers its Jersey application at the path Spring Boot's Jersey support gives it, which only a servlet web application has, so a @SpringBootTest with WebEnvironment.NONE can't start an application with the starter. Such a test gets WebEnvironment.MOCK, Spring Boot's default, which starts no server either.

io.moderne.camunda.camunda8.UseMockWebEnvironmentForCamunda7Rest
mod run . --recipe=io.moderne.camunda.camunda8.UseMockWebEnvironmentForCamunda7Rest

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.