-
Notifications
You must be signed in to change notification settings - Fork 328
Development
: Update server dependencies to Spring Boot 3, Spring Framework 6, Spring Cloud 4, Hibernate 6
#5889
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
Conversation
Codecov ReportBase: 84.60% // Head: 75.69% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## develop #5889 +/- ##
=============================================
- Coverage 84.60% 75.69% -8.91%
=============================================
Files 1008 1117 +109
Lines 39965 44297 +4332
Branches 4273 8363 +4090
=============================================
- Hits 33811 33530 -281
- Misses 3792 5599 +1807
- Partials 2362 5168 +2806
Flags with carried forward coverage won't be shown. Click here to find out more. Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Fails to start with the
Used in the gitlab4j-library here: Related: gitlab4j/gitlab4j-api#841 Edit: I’ve prepared a gitlab api jar https://github.com/b-fein/gitlab4j-api/packages/1733022 (Assets > |
e68d6c5
to
8dd2fa7
Compare
import javax.servlet.*; | ||
import javax.servlet.http.HttpServletRequest; | ||
import javax.servlet.http.HttpServletResponse; | ||
|
||
import org.slf4j.Logger; | ||
import org.slf4j.LoggerFactory; | ||
import org.springframework.beans.factory.annotation.Value; | ||
import org.springframework.context.annotation.Profile; | ||
import org.springframework.stereotype.Component; | ||
|
||
import jakarta.servlet.*; | ||
import jakarta.servlet.http.HttpServletRequest; | ||
import jakarta.servlet.http.HttpServletResponse; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR contains a lot of import-order changes like here. Are these on purpose?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
artemis-spotless.importorder
probably needs to be adapted if the renamed dependencies should be placed in their own imports section like before.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, this could be a good temporary solution until gitlab4j provides their own release. |
In this case just changing the dependencies and then a search-and-replace: |
This reverts commit 17c7404.
Great, thank you 👍🏻 these are good news. At the moment I am not happy yet with some Hibernate 6 issues related to quizzes and the second level cache. This might delay the integration of this PR for a couple of weeks, except someone could help me fixing those issues. In addition, we would need to get the e2e tests running successfully again and need extensive manual testing |
There hasn't been any activity on this pull request recently. Therefore, this pull request has been automatically marked as stale and will be closed if no further activity occurs within seven days. Thank you for your contributions. |
Currently blocked by bugs in Hibernate 6.1.6, which will hopefully be resolved in the near future (either 6.1.7 or 6.2.0) |
@krusche Hibernate Core 6.1.7 has been released, might be worthwhile to check if the bugs are fixed. |
// Note: gitlab4j-api does not work with jakarta yet, so we built our own custom version and declare its transitive dependencies below | ||
// implementation "org.gitlab4j:gitlab4j-api:5.0.1" | ||
implementation files("lib/gitlab4j-api-5.0.2.jar") | ||
// The following 5 + 2 dependencies are explicitly integrated as transitive dependencies of gitlab4j-api-5.0.2.jar | ||
implementation "org.glassfish.jersey.inject:jersey-hk2:${jersey_version}" | ||
implementation "org.glassfish.jersey.core:jersey-client:${jersey_version}" | ||
implementation "org.glassfish.jersey.connectors:jersey-apache-connector:${jersey_version}" | ||
implementation "org.glassfish.jersey.media:jersey-media-multipart:${jersey_version}" | ||
implementation "org.glassfish.jersey.media:jersey-media-json-jackson:${jersey_version}" | ||
implementation "jakarta.activation:jakarta.activation-api:${activation_version}" | ||
implementation "jakarta.platform:jakarta.jakartaee-api:${jakartaee_version}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
v6.0.0-rc.1 now supports Jakarta: https://github.com/gitlab4j/gitlab4j-api/releases/tag/gitlab4j-api-6.0.0-rc.1
I will close this PR for now, because we are still blocked by issues with the breaking changes in Hibernate. |
CURRENTLY BLOCKED
Checklist
Motivation and Context
We should stay up to date.
Description
Steps for Testing
Review Progress
Test Coverage
no changes
Screenshots
no UI changes