From 7b2683999ebcea11c9b6c03d540952a5d383449f Mon Sep 17 00:00:00 2001 From: Filip Hrisafov Date: Tue, 23 Sep 2025 23:12:18 +0200 Subject: [PATCH 1/2] Cleanup some usage of deprecated code Production code: * Remove no longer needed excludeArtifactIds from spring-boot-maven-plugin * Replace Spring Security AntPathRequestMatcher with PathPatternRequestMatcher * Replace deprecate usage of Jackson JsonNode#fields with JsonNode#properties * Replace deprecated usage of Jackson ISO8601DateFormat with our own RequestUtil for parsing dates * Replace deprecated usage of Jackson ISO8601Utils with Instant parsing * Dates are now returned over REST as ISO 8601 with milliseconds and in the UTC timezone Test code: * Replace deprecated usage of ExtensionContext.Store.CloseableResource with AutoCloseable * Replace deprecate usage of Jackson JsonNode#fields with JsonNode#properties * Replace deprecated usage of ActiveMQ SimpleString#toSimpleString to SimpleString#of * Replace deprecated method implementation of JUnit Jupiter ArgumentsProvider * Replace deprecated usage of Jackson ISO8601DateFormat with instant parsing --- distro/src/readme.html | 13 ++++++ modules/flowable-app-rest/pom.xml | 5 -- .../rest/conf/SecurityConfiguration.java | 9 ++-- .../test/CmmnEngineConfiguratorExtension.java | 4 +- .../impl/delete/BatchDeleteCaseConfig.java | 8 ++-- .../test/ResourceFlowableCmmnExtension.java | 2 +- .../RepetitionVariableAggregationTest.java | 9 ++-- .../rest/service/BaseSpringRestTestCase.java | 46 +++++++------------ ...ricCaseInstanceCollectionResourceTest.java | 4 +- ...istoricMilestoneInstanceResourcesTest.java | 2 +- ...HistoricPlanItemInstanceResourcesTest.java | 22 ++++----- ...ricTaskInstanceCollectionResourceTest.java | 14 +++--- ...HistoricTaskInstanceQueryResourceTest.java | 16 +++---- .../api/management/JobResourceTest.java | 8 ++-- .../CaseInstanceCollectionResourceTest.java | 2 +- .../CaseInstanceQueryResourceTest.java | 3 +- .../api/runtime/CaseInstanceResourceTest.java | 2 +- ...stanceVariablesCollectionResourceTest.java | 4 +- .../EventSubscriptionResourceTest.java | 3 +- .../runtime/TaskCollectionResourceTest.java | 10 ++-- .../service/api/runtime/TaskResourceTest.java | 10 ++-- .../TaskVariablesCollectionResourceTest.java | 2 +- .../rest/util/DateToStringSerializer.java | 8 +--- .../variable/DateRestVariableConverter.java | 15 +++--- .../test/PluggableFlowableDmnExtension.java | 4 +- .../impl/delete/BatchDeleteProcessConfig.java | 8 ++-- .../MultiInstanceVariableAggregationTest.java | 8 ++-- .../jms/EventRegistryJmsConfiguration.java | 2 +- .../ExternalWorkerAcquireJobResourceTest.java | 4 +- .../FlowableHttpClientArgumentProvider.java | 3 +- .../history/async/AsyncHistoryDateUtil.java | 15 ++---- .../rest/service/BaseSpringRestTestCase.java | 26 ++++------- ...HistoricTaskInstanceQueryResourceTest.java | 18 ++++---- .../HistoricTaskInstanceResourceTest.java | 9 ++-- ...HistoricTaskLogCollectionResourceTest.java | 4 +- .../api/management/JobResourceTest.java | 12 ++--- .../PropertiesCollectionResourceTest.java | 11 ++--- .../ModelCollectionResourceTest.java | 5 +- .../api/repository/ModelResourceTest.java | 17 ++++--- ...ProcessInstanceCollectionResourceTest.java | 2 +- ...stanceVariablesCollectionResourceTest.java | 4 +- .../api/runtime/SignalsResourceTest.java | 3 +- .../runtime/TaskCollectionResourceTest.java | 2 +- .../api/runtime/TaskEventResourceTest.java | 3 +- .../service/api/runtime/TaskResourceTest.java | 11 ++--- .../TaskVariablesCollectionResourceTest.java | 2 +- 46 files changed, 173 insertions(+), 221 deletions(-) diff --git a/distro/src/readme.html b/distro/src/readme.html index 4fe5562a069..3738f6284ee 100644 --- a/distro/src/readme.html +++ b/distro/src/readme.html @@ -28,6 +28,19 @@

Links

Flowable Release Notes

+

Release Notes - Flowable - 8.0.0

+ +

Release Notes - Flowable - 7.2.0