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

[APPENG-849] Add spring boot 3.3 support #85

Merged
merged 15 commits into from
Jul 22, 2024
Merged

[APPENG-849] Add spring boot 3.3 support #85

merged 15 commits into from
Jul 22, 2024

Conversation

Gravewalker666
Copy link
Contributor

@Gravewalker666 Gravewalker666 commented Jul 16, 2024

Context

This pull request attempts to upgrade the library to use spring boot 3.3.

Checklist

Details from ticket: APPENG-849

Update platform libraries matrix tests to run with boot 3.3

Tracking the specific libraries here:

[https://docs.google.com/spreadsheets/d/1cogv7V6ofZv1urcBYYrj91f3VzKg-e92DltiiRgqndc/edit?gid=618138693#gid=618138693a|https://docs.google.com/spreadsheets/d/1cogv7V6ofZv1urcBYYrj91f3VzKg-e92DltiiRgqndc/edit?gid=618138693#gid=618138693a|smart-link]

@Gravewalker666 Gravewalker666 requested a review from a team as a code owner July 16, 2024 09:47
Comment on lines 58 to 60
if (!springBootVersion.startsWith("2.6")) {
testImplementation libraries.flywayMysql
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tw-peeterkarolin should we get rid of this block now that we don't support 2.6 anymore?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not Peeter, but I think that will make sense

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree as well that now that we only have Boot 2.7 and up then there is no need for that if block. Now we can always add the flywayMysql

xSeagullx
xSeagullx previously approved these changes Jul 22, 2024
@@ -55,9 +55,10 @@ dependencies {
testImplementation project(":tw-tkms-test-starter")

testImplementation libraries.awaitility
if (!springBootVersion.startsWith("2.6")) {
testImplementation libraries.flywayMysql
if (springBootVersion.startsWith("3.3")) {
Copy link
Contributor

@tw-peeterkarolin tw-peeterkarolin Jul 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That if might be better if we use !springBootVersion.startsWith("3.2") instead so that it will be forward compatible with next Spring Boot versions.

On the other hand it will constantly remind us that we need to double check if we still need that if at all in new boot versions, so it's more an optional comment.

@Gravewalker666 Gravewalker666 merged commit 0a83267 into master Jul 22, 2024
14 checks passed
@Gravewalker666 Gravewalker666 deleted the APPENG-849 branch July 22, 2024 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants