Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to Spring 6, Boot 3, Wicket 10, etc. #3611

Closed
reckart opened this issue Dec 4, 2022 · 0 comments
Closed

Upgrade to Spring 6, Boot 3, Wicket 10, etc. #3611

reckart opened this issue Dec 4, 2022 · 0 comments
Assignees
Milestone

Comments

@reckart
Copy link
Member

reckart commented Dec 4, 2022

Describe the refactoring action
Update to the current generation of Spring and Spring Boot which use the new Jakarta namespaces for J2EE APIs which entails a host of additional upgrades.

  • Spring 5 -> 6
  • Spring Boot 2 -> 3
  • Wicket 9 -> 10
  • Hibernate 5 -> 6

Expected benefit
Avoid technical debt coding against old APIs.

Upstream issues

@reckart reckart added this to the 27.0 milestone Dec 4, 2022
@reckart reckart self-assigned this Dec 4, 2022
reckart added a commit that referenced this issue Dec 4, 2022
- Java 11 -> 17
- spring 5.3.24 -> 6.0.2
- spring-boot 2.7.5 -> 3.0.0
- spring-security 5.7.5 -> 6.0.0
- log4j 2.18.0 -> 2.19.0
- tomcat 9.0.69 -> 10.1.1
- servlet-api 4.0.1 -> 6.0.0
- hibernate 5.6.14 -> 6.1.5
- hibernate-validator 6.2.5 -> 8.0.0
- wicket 9.11.0 -> 10.0.0-M1-SNAPSHOT
- UIMA 3.3.1 -> 3.4.0-SNAPSHOT
- uimaFIT 3.3.0 -> 3.4.0-SNAPSHOT
- Use Jakarta dependencies instead of old javax dependencies
@reckart reckart modified the milestones: 27.0, 28.0 Jan 4, 2023
reckart added a commit that referenced this issue Feb 26, 2023
- spring 6.0.2 -> 6.0.5
- spring boot 3.0.0 -> 3.0.3
- spring data 3.0.0 -> 3.0.2
- spring security 6.0.0 -> 6.0.2
- wicket jquery 9.11.0 -> 10.0.0-SNAPSHOT
- jetty -> 10.0.13
- added jakarta jaxb runtime
- fixed auto-configuration for Spring Boot 3
- fixed calls to changed spring security api
- MVC controllers now need a `@Controller` annotation and can no longer be auto-configured
reckart added a commit that referenced this issue Feb 26, 2023
- get Hibernate to validate existing MariaDB DB schema
reckart added a commit that referenced this issue Feb 26, 2023
- Fix login by accessing session directly instead of through Wicket - the Wicket session wrapper now adds an attribute prefix and with that Spring Security won't find the security context of course
reckart added a commit that referenced this issue Feb 26, 2023
reckart added a commit that referenced this issue Feb 26, 2023
@reckart reckart modified the milestones: 28.0, 29.0 May 2, 2023
reckart added a commit that referenced this issue Jun 13, 2023
- Fix compatibility of knowledge base type column with Hibernate 6
reckart added a commit that referenced this issue Jun 13, 2023
- Fix compatibility of knowledge base type column with Hibernate 6
reckart added a commit that referenced this issue Jun 13, 2023
- Remove some deprecated and unused APIs
- Move a DB query to the criteria API as the string-based query no longer worked with Hibernate 6
- Fixed bug in hibernate integer enum type
- Use SnakeYAML 1.33 for some tests because DKPro Core Dataset doesn't work with SnakeYAML 2.0 atm
@reckart reckart modified the milestones: 29.0, 30.0 Jul 7, 2023
reckart added a commit that referenced this issue Jul 11, 2023
- spring 6.0.9 -> 6.0.10
- spring-boot 3.1.0 -> 3.1.1
- spring-data 3.1.0 -> 3.1.1
- spring-security 6.1.0 -> 6.1.1
- tomcat 10.1.1 -> 10.1.11
- wicketstuff 10.0.0-SNAPSHOT 10.0.0-M1
- wicket-jquery-selectors 3.0.4 -> 3.0.6
- wicket-webjars 3.0.6 -> 4.0.0
reckart added a commit that referenced this issue Jul 11, 2023
- spring 6.0.9 -> 6.0.10
- spring-boot 3.1.0 -> 3.1.1
- spring-data 3.1.0 -> 3.1.1
- spring-security 6.1.0 -> 6.1.1
- tomcat 10.1.1 -> 10.1.11
- wicketstuff 10.0.0-SNAPSHOT 10.0.0-M1
- wicket-jquery-selectors 3.0.4 -> 3.0.6
- wicket-webjars 3.0.6 -> 4.0.0
- Remove outdated JavaDoc
reckart added a commit that referenced this issue Nov 25, 2023
reckart added a commit that referenced this issue Nov 27, 2023
- wicket 10.0.0-M1 -> 10.0.0-M2
- wicketstuff 10.0.0-M1 -> 10.0.0-M2
- wicket-jquery 10.0.0-SNAPSHOT -> 10.0.0-M1
- wicket-bootstrap 7.0.0-SNAPSHOT -> 7.0.1
- wicket-spring-boot 4.0.0-SNAPSHOT -> 4.0.0-M1
reckart added a commit that referenced this issue Feb 25, 2024
- Adjust boot loader
- Adjust dependencies
reckart added a commit that referenced this issue Feb 25, 2024
- woodstox 6.5.1 -> 6.6.0
- json-schema-validator 1.2.0 -> 1.3.3
- testcontainers 1.19.5 -> 1.19.6
- spring 6.1.3 -> 6.1.4
- spring-boot 3.2.2 -> 3.2.3
- spring-data 3.2.2 -> 3.2.3
- spring-security 6.2.1 -> 6.2.2.
- tomcat 10.1.18 -> 10.1.19
- hibernate 6.4.2 -> 6.4.4
reckart added a commit that referenced this issue Feb 25, 2024
- Introduce ReificationType to circumvent new DB mapping for enums when using MariaDB
- Adjust entity beans accordingly to always use the custom enum types instead of `@Enumerated(EnumType.STRING)`
- SuccessfulLoginListener should only listen on `AuthenticationSuccessEvent` to avoid Spring detecting a circular dependency with SecurityAutoConfiguration
- Remove `@Transactional` annotations on some methods that already have a `@TransactionalEventListener` because Spring chokes on that now
- Added `proxyBeanMethods = false` on `BeanDefinitionRegistryPostProcessor` to avoid Spring complaining
reckart added a commit that referenced this issue Feb 25, 2024
reckart added a commit that referenced this issue Mar 12, 2024
reckart added a commit that referenced this issue Mar 17, 2024
- jakarta.xml.bind-api 4.0.1 -> 4.0.2
- woodstox-core 6.6.0 -> 6.6.1
- json-schema-validator 1.3.3 -> 1.4.0
- oauth2-oidc-sdk 9.43.3 -> 9.43.4
- commons-compress 1.26.0 -> 1.26.1
- groovy 4.0.18 -> 4.0.20
- mockito 5.10.0 -> 5.11.0
- testcontainers 1.19.6 -> 1.19.7
- awaitility 4.2.0 -> 4.2.1
- spring 6.1.4 -> 6.1.5
- spring-data 3.2.4 -> 3.2.4
- springdoc 1.7.0 -> 1.8.0
- log4j 2.23.0 -> 2.23.1
- postgres-driver 42.7.2 -> 42.7.3
- wicket-bootstrap 7.0.1 -> 7.0.3
- wicket-jquery-selectors 4.0.2 -> 4.0.4
- wicket-webjars 4.0.1 -> 4.0.3
reckart added a commit that referenced this issue Mar 18, 2024
- jakarta.xml.bind-api 4.0.1 -> 4.0.2
- woodstox-core 6.6.0 -> 6.6.1
- json-schema-validator 1.3.3 -> 1.4.0
- oauth2-oidc-sdk 9.43.3 -> 9.43.4
- commons-compress 1.26.0 -> 1.26.1
- groovy 4.0.18 -> 4.0.20
- mockito 5.10.0 -> 5.11.0
- testcontainers 1.19.6 -> 1.19.7
- awaitility 4.2.0 -> 4.2.1
- spring 6.1.4 -> 6.1.5
- spring-data 3.2.4 -> 3.2.4
- springdoc 1.7.0 -> 1.8.0
- log4j 2.23.0 -> 2.23.1
- postgres-driver 42.7.2 -> 42.7.3
- wicket-bootstrap 7.0.1 -> 7.0.3
- wicket-jquery-selectors 4.0.2 -> 4.0.4
- wicket-webjars 4.0.1 -> 4.0.3
- wicketstuff 10.0.0-M2 -> 10.0.0
reckart added a commit that referenced this issue Jun 7, 2024
- wicket 10.0.0 -> 10.1.0
- wicketstuff 10.0.0-M1 -> 10.2.0-SNAPSHOT
reckart added a commit that referenced this issue Jun 11, 2024
- Added workaround for Wicket JQuery not yet properly initializing its themes
- Removed redundant dependencies
reckart added a commit that referenced this issue Jun 11, 2024
- nimbus-jose-jwt 9.39.0 -> 9.40.0
- spring 6.1.5 -> 6.1.8
- spring-boot 3.2.3 -> 3.3.0
- spring-data 3.2.3 -> 3.3.0
- spring-security 6.2.2 -> 6.3.0
- tomcat 10.1.19 -> 10.1.24
- hibernate 6.4.4 -> 6.5.2
- wicket-bootstrap 7.0.3 -> 7.0.5
- wicket-jquery-selectors 4.0.4 -> 4.0.5
- wicket-webjars 4.0.3 -> 4.0.4
- wicket-spring-boot 4.0.0-M1 -> 4.0.0
reckart added a commit that referenced this issue Jun 11, 2024
- spring 6.1.5 -> 6.1.8
- spring-boot 3.2.3 -> 3.3.0
- spring-data 3.2.3 -> 3.3.0
- spring-security 6.2.2 -> 6.3.0
- tomcat 10.1.19 -> 10.1.24
- hibernate 6.4.4 -> 6.5.2
- wicket-bootstrap 7.0.3 -> 7.0.5
- wicket-jquery-selectors 4.0.4 -> 4.0.5
- wicket-webjars 4.0.3 -> 4.0.4
- wicket-spring-boot 4.0.0-M1 -> 4.0.0
reckart added a commit that referenced this issue Jun 12, 2024
…o-Spring-Boot-3

#3611 - Upgrade to Spring 6, Boot 3, Wicket 10, etc.
@reckart reckart closed this as completed Jun 12, 2024
reckart added a commit that referenced this issue Jun 15, 2024
…de-to-proper-curation-page

* main: (27 commits)
  #4875 - Add knowledge-base browser to multi-value concept feature editor
  [maven-release-plugin] prepare for next development iteration
  [maven-release-plugin] prepare release inception-33.0
  #4860 - Knowledge base items should be matched even if query contains terms out of order
  #4869 - Cannot re-merge curation document
  #4867 - Cannot re-open document for curation if it contains an invalid feature value
  No issue: Warn about slow queries when using a scope
  No issue: Set version to 34.0-SNAPSHOT
  #3611 - Upgrade to Spring 6, Boot 3, Wicket 10, etc.
  #3611 - Upgrade to Spring 6, Boot 3, Wicket 10, etc.
  #3611 - Upgrade to Spring 6, Boot 3, Wicket 10, etc.
  #3611 - Upgrade to Spring 6, Boot 3, Wicket 10, etc.
  #3611 - Upgrade to Spring 6, Boot 3, Wicket 10, etc.
  #3611 - Upgrade to Spring 6, Boot 3, Wicket 10, etc.
  #3611 - Upgrade to Spring 6, Boot 3, Wicket 10, etc.
  #3611 - Upgrade to Spring 6, Boot 3, Wicket 10, etc.
  #3611 - Upgrade to Spring 6, Boot 3, Wicket 10, etc.
  #3611 - Upgrade to Spring 6, Boot 3, Wicket 10, etc.
  #3611 - Upgrade to Spring 6, Boot 3, Wicket 10, etc.
  #3611 - Upgrade to Spring 6, Boot 3, Wicket 10, etc.
  ...
reckart added a commit that referenced this issue Jun 15, 2024
reckart added a commit that referenced this issue Jun 15, 2024
…de-to-proper-curation-page

* main:
  #3611 - Upgrade to Spring 6, Boot 3, Wicket 10, etc.
reckart added a commit that referenced this issue Jul 30, 2024
- Fix login using external Keycloak / OAuth / SAML
reckart added a commit that referenced this issue Jul 30, 2024
…ade-to-Spring-6

#3611 - Upgrade to Spring 6, Boot 3, Wicket 10, etc.
@reckart reckart added this to Kanban Aug 7, 2024
@reckart reckart moved this to 🍹 Done in Kanban Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

1 participant