Skip to content

MODWRKFLOW-54: Migrate to Spring-Boot 4.0.#148

Merged
kaladay merged 9 commits into
masterfrom
MODWRKFLOW-54
May 18, 2026
Merged

MODWRKFLOW-54: Migrate to Spring-Boot 4.0.#148
kaladay merged 9 commits into
masterfrom
MODWRKFLOW-54

Conversation

@kaladay

@kaladay kaladay commented May 14, 2026

Copy link
Copy Markdown
Contributor

Resolves MODWRKFLOW-54 .

This requires the updates spring-module-core.

This has been tested to work with current version of mod-camunda (before any Spring-Boot 4 changes).

The mod-camunda is not yet updated and there could potentially be follow up changes.

The CI will not pass due to dependencies to spring-module-core.
Once spring-module-core changes are updated and merged to main/master, then the CI can be re-run.

dependabot Bot and others added 3 commits April 27, 2026 22:42
Bumps the prod-deps group with 3 updates in the / directory: [org.folio:folio-spring-base](https://github.com/folio-org/folio-spring-support), [org.folio:folio-spring-cql](https://github.com/folio-org/folio-spring-support) and [org.apache.commons:commons-compress](https://github.com/apache/commons-compress).


Updates `org.folio:folio-spring-base` from 8.3.0-SNAPSHOT to 10.0.0
- [Release notes](https://github.com/folio-org/folio-spring-support/releases)
- [Changelog](https://github.com/folio-org/folio-spring-support/blob/master/NEWS.md)
- [Commits](https://github.com/folio-org/folio-spring-support/commits/v10.0.0)

Updates `org.folio:folio-spring-cql` from 8.3.0-SNAPSHOT to 10.0.0
- [Release notes](https://github.com/folio-org/folio-spring-support/releases)
- [Changelog](https://github.com/folio-org/folio-spring-support/blob/master/NEWS.md)
- [Commits](https://github.com/folio-org/folio-spring-support/commits/v10.0.0)

Updates `org.folio:folio-spring-cql` from 8.3.0-SNAPSHOT to 10.0.0
- [Release notes](https://github.com/folio-org/folio-spring-support/releases)
- [Changelog](https://github.com/folio-org/folio-spring-support/blob/master/NEWS.md)
- [Commits](https://github.com/folio-org/folio-spring-support/commits/v10.0.0)

Updates `org.apache.commons:commons-compress` from 1.26.2 to 1.28.0
- [Changelog](https://github.com/apache/commons-compress/blob/master/RELEASE-NOTES.txt)
- [Commits](apache/commons-compress@rel/commons-compress-1.26.2...rel/commons-compress-1.28.0)

---
updated-dependencies:
- dependency-name: org.apache.commons:commons-compress
  dependency-version: 1.28.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: prod-deps
- dependency-name: org.folio:folio-spring-base
  dependency-version: 9.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: prod-deps
- dependency-name: org.folio:folio-spring-cql
  dependency-version: 9.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: prod-deps
- dependency-name: org.folio:folio-spring-cql
  dependency-version: 9.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: prod-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
The `folio-spring` dependency is actually using Spring Boot 4.
Therefore, this only migrates enough to compile and run the unit tests.

Bring in new controller advice testing practices that avoids needing to run a full Spring Boot service.

The `count()` can no longer be used.
Create a new `countAll()` with a `@Query` and utilize that.
This is the first pass at the migration.
@kaladay
kaladay requested a review from a team May 14, 2026 21:42
kaladay added 4 commits May 15, 2026 14:30
- java:S5738: Deprecation of `JsonSerializer`.
- java:S1130: Remove unnecessary exceptions.
- java:S1488: Immediately return when using builder for `ObjectMapper` creating bean.
- java:S1068: Remove unused constant.
@sonarqubecloud

Copy link
Copy Markdown

@kaladay
kaladay merged commit 0a3c309 into master May 18, 2026
17 checks passed
@kaladay
kaladay deleted the MODWRKFLOW-54 branch May 19, 2026 18:05
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.

2 participants