Skip to content

Migrate to Spring Boot#1822

Merged
goekay merged 18 commits intomasterfrom
1733-migrate-to-spring-boot
Sep 24, 2025
Merged

Migrate to Spring Boot#1822
goekay merged 18 commits intomasterfrom
1733-migrate-to-spring-boot

Conversation

@goekay
Copy link
Member

@goekay goekay commented Sep 19, 2025

#1733

project compiles and tests succeed. the app runs.

some further improvements and refactors are possible.

open TODOs:

  • translation of our previous properties to native spring boot properties.
  • clean up pom.xml: delete dependency declarations that are not needed anymore, because they come with spring boot starter.

reason: they were needed for native spring. we dont need them with spring boot.
@goekay goekay linked an issue Sep 19, 2025 that may be closed by this pull request
@goekay goekay force-pushed the 1733-migrate-to-spring-boot branch from 9a86e24 to dc0e2c1 Compare September 19, 2025 13:15
reason: they are from the era before spring boot
@juherr
Copy link
Contributor

juherr commented Sep 19, 2025

That's an awesome move! I didn't expect it could be wrapped up so easily, great job!

* translation of properties to native spring boot properties with prefixes server.* and spring.*
* convert SteveConfiguration singleton into spring bean SteveProperties with remainder of steve-specific properties
* during this conversion we lost the property "https.port": spring does not natively support the embedded server
to open a second port/connector. it is still possible programmatically, but i am not sure whether it is worth it, if spring's
default behaviour does not contain in. if this breaks some workflows/setups, we can reconsider in the future.

tests will fail big time. fixes will come in subsequent commit.
@goekay goekay force-pushed the 1733-migrate-to-spring-boot branch from 947b9b9 to ddf7e3a Compare September 20, 2025 09:43
@goekay
Copy link
Member Author

goekay commented Sep 20, 2025

mariadb tests are failing because of #1371

reason: most libs (and their versions) come from spring boot
reason: spring-boot-starter-validation does it already
we are not using the commit id anywhere anymore
@goekay
Copy link
Member Author

goekay commented Sep 21, 2025

interesting observation:

the application at the HEAD of master takes between 2 and 3 seconds to start. the application at this branch takes between 4 and 5 seconds to start. 2 seconds difference is not much in absolute terms. but the start-up is 2x slower in relative terms which is kinda huge.

edit: these numbers can be different on other machines. but running both versions of the app probably would result in a similar slowdown.

@goekay goekay force-pushed the 1733-migrate-to-spring-boot branch from 3239fd5 to 8eca250 Compare September 21, 2025 13:44
juherr added a commit to juherr/evolve that referenced this pull request Sep 22, 2025
@goekay goekay mentioned this pull request Sep 22, 2025
4 tasks
juherr added a commit to juherr/evolve that referenced this pull request Sep 23, 2025
@goekay
Copy link
Member Author

goekay commented Sep 23, 2025

@juherr (or others) do you have any other feedback for this PR? otherwise i would like to merge it.

@juherr
Copy link
Contributor

juherr commented Sep 23, 2025

LGTM. You might also want to check the AI review on juherr#120 I haven’t gone through it yet, but you may find some useful insights there.

applied some of the relevant suggestions by AI review
@goekay goekay merged commit c7163a6 into master Sep 24, 2025
25 checks passed
@goekay goekay deleted the 1733-migrate-to-spring-boot branch September 24, 2025 05:22
juherr added a commit to juherr/evolve that referenced this pull request Sep 25, 2025
juherr added a commit to juherr/evolve that referenced this pull request Sep 25, 2025
juherr added a commit to juherr/evolve that referenced this pull request Sep 25, 2025
juherr added a commit to juherr/evolve that referenced this pull request Sep 26, 2025
juherr added a commit to juherr/evolve that referenced this pull request Sep 29, 2025
juherr added a commit to juherr/evolve that referenced this pull request Sep 29, 2025
juherr added a commit to juherr/evolve that referenced this pull request Sep 29, 2025
juherr added a commit to juherr/evolve that referenced this pull request Sep 29, 2025
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.

Migrate to Spring Boot

2 participants