Project

General

Profile

task #10216

Updated by Andreas Müller about 1 year ago

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. Unclear if the appContext starts correctly at all 
        * also testing http://localhost:9180/term/9e433e6b-044e-49d0-8b87-87af9e249e04.json 
        * while http://localhost:9180/doc/?group=Generic%20REST%20API 
        * http://localhost:9180/taxon returns the xslt search page but with no results (while same page on E+M shows results) 
        * !! It is only a json issue, xml (without .xml) works, so it seems to be the ending (.xxxx) that does not work     => this is probably related to CdmSpringMVCConfig.configureContentNegotiation() where favorPathExtension() is deprecated in Spring >5.2 and probably not evaluated anymore 
        
 
 * 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 links: see also https://www.heise.de/hintergrund/Spring-Framework-6-verarbeitet-Native-Images-und-baut-auf-Jakarta-EE-9-oder-10-7342050.html , https://www.heise.de/news/VMware-Tanzu-passt-Tools-an-Spring-Framework-6-0-und-Native-Image-an-7350247.html, https://www.heise.de/news/Spring-Boot-3-0-setzt-auf-Spring-Framework-6-0-und-Java-17-7354877.html, https://www.heise.de/news/Spring-Integration-6-0-fuehrt-Groovy-DSL-und-einen-neuen-MQTT-ClientManager-ein-7361968.html) (also think about Quarkus https://code.quarkus.io/ and other fast/native image technologies

Back