Keep the history time to live of Camunda 7 models optional

Proprietary

Camunda 7.20 and later reject a process, decision or case model without a history time to live, unless the engine's enforceHistoryTimeToLive is turned off. Before 7.20 such a model deployed, and its history was never cleaned up. So in a module that was on Camunda 7 before 7.20, which is upgraded to 7.24, the engine keeps that behavior: the Spring Boot starter's generic property enforce-history-time-to-live is set to false in the application's properties, an engine configuration bean in XML, such as a test's camunda.cfg.xml, gets the property enforceHistoryTimeToLive, and an engine configuration that code builds an engine of turns it off before. Give the models a history time to live, and remove these settings, to have their history cleaned up.

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

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