Project

General

Profile

Actions

task #10216

open

Upgrade to Spring 5.x

Added by Andreas Müller over 1 year ago. Updated over 1 year ago.

Status:
In Progress
Priority:
Highest
Category:
platform
Target version:
Start date:
Due date:
% Done:

10%

Estimated time:
Severity:
normal
Tags:

Description

copied from #10055

there is a local feature branch "feature_10216_spring5"

Issues:

  • unitils support (could override some classes but it does not work in cdmlib-remote for some reason)
  • cdmlib-remote-webapp ClassifiationIT des not work due to failing @RequestMapping resolution
    • .json is not mapped correctly as content negotiation via pathExtensions is not sufficiently supported anymore by Spring >5.2(?), see deprecated method favorPathExtension() in CdmSpringMVCConfig.configureContentNegotiation()
    • can be workarounded by adding the .json version to the @RequestMapping, tested for ClassificationListController with @RequestMapping(value = {"/classification", "/classification.json"})
  • all other tests are running
  • also running TestModelUpdate works, so generally creating the spring5 application context works

Also important:

  • also decide which spring version to use: #4608 (if not yet solved)

  • use the encrypto Passwordencoder in UserService instead of the deprecated one

    • required for upgrading to spring-security 5.x
  • we may want to further normalize spring config files: #5380

  • check if TaxonNodeByNameComparator is needed as spring bean as it is currently the case

  • spring 6 issues copied to #10226


Related issues

Related to EDIT - task #3408: replace spring-modules-cache by up to date implementationIn ProgressAndreas Müller

Actions
Blocks EDIT - task #10077: upgrade ehcache to 3.xNewAndreas Müller

Actions
Copied from EDIT - task #10055: Updates, upgrades and cleanup 2023NewAndreas Müller

Actions
Copied to EDIT - task #10226: Upgrade to Spring 6.xNewAndreas Müller

Actions
Actions

Also available in: Atom PDF