Skip to content

Commit

Permalink
Upgrade to Spring Boot 3.4.0 (#4488)
Browse files Browse the repository at this point in the history
* Bump the minor group with 5 updates

Bumps the minor group with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [org.springframework.boot](https://github.com/spring-projects/spring-boot) | `3.3.5` | `3.4.0` |
| software.amazon.awssdk:aws-query-protocol | `2.29.15` | `2.29.20` |
| software.amazon.awssdk:sts | `2.29.15` | `2.29.20` |
| [com.microsoft.graph:microsoft-graph](https://github.com/microsoftgraph/msgraph-sdk-java) | `6.20.0` | `6.21.0` |
| [org.springdoc:springdoc-openapi-starter-webmvc-ui](https://github.com/springdoc/springdoc-openapi) | `2.6.0` | `2.7.0` |


Updates `org.springframework.boot` from 3.3.5 to 3.4.0
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](spring-projects/spring-boot@v3.3.5...v3.4.0)

Updates `software.amazon.awssdk:aws-query-protocol` from 2.29.15 to 2.29.20

Updates `software.amazon.awssdk:sts` from 2.29.15 to 2.29.20

Updates `com.microsoft.graph:microsoft-graph` from 6.20.0 to 6.21.0
- [Release notes](https://github.com/microsoftgraph/msgraph-sdk-java/releases)
- [Changelog](https://github.com/microsoftgraph/msgraph-sdk-java/blob/main/CHANGELOG.md)
- [Commits](microsoftgraph/msgraph-sdk-java@v6.20.0...v6.21.0)

Updates `org.springdoc:springdoc-openapi-starter-webmvc-ui` from 2.6.0 to 2.7.0
- [Release notes](https://github.com/springdoc/springdoc-openapi/releases)
- [Changelog](https://github.com/springdoc/springdoc-openapi/blob/main/CHANGELOG.md)
- [Commits](springdoc/springdoc-openapi@v2.6.0...v2.7.0)

---
updated-dependencies:
- dependency-name: org.springframework.boot
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: software.amazon.awssdk:aws-query-protocol
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor
- dependency-name: software.amazon.awssdk:sts
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor
- dependency-name: com.microsoft.graph:microsoft-graph
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: org.springdoc:springdoc-openapi-starter-webmvc-ui
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Upgrade to Spring Boot 3.4

* move test data creation into test, due to optimistic locking error when tests are run as whole, rather than individually.

* delete class no longer used

* remove id, as this stops hibernate calling sequence.nextval

* remove id from data generator, as this stops hibernate calling sequence.nextval

* remove id from data generator, as this stops hibernate calling sequence.nextval.

* remove id from data generator, as this stops hibernate calling sequence.nextval.  Also, move some test data creation to fix optimistic lock error when tests run in a suite.

* remove id from data generator, as this stops hibernate calling sequence.nextval.

* remove id from data generator, as this stops hibernate calling sequence.nextval.

* remove id from data generator, as this stops hibernate calling sequence.nextval.  Also, move some test data creation to fix optimistic lock error when tests run in a suite.

* remove id from data generator, as this stops hibernate calling sequence.nextval.

* remove id from data generator, as this stops hibernate calling sequence.nextval.

* escape ' ' required so that sql works against h2 database.  If not included, generated sql is escape ''. This does not return required data against h2 database.

* remove id from data generator, let hibernate call sequence.nextval.

* escape ' ' required so that sql works against h2 database.  If not included, generated sql is escape ''. This does not return required data against h2 database.

* update spring jpa dialect for h2 db

* undo update to application.yml do to ci failure

* undo update to application.yml do to ci failure

* add NumericBooleanConverter, to prevent local build failure

* add NumericBooleanConverter, to prevent local build failure

* add ESCAPE statement so that test passes with h2 db

* remove sql debug logging

* add NumericBooleanConverter, to prevent local test failure

* add NumericBooleanConverter, to prevent local test failure

* add ESCAPE statement so that test passes with h2 db

* add NumericBooleanConverter, to prevent local test failure

* amend sql to fix failing test against h2 db

* amend sql to fix failing test in ci

* update application.yml to remove null ordering and take default value of LOW - LOW is the default one, NULL values are considered as smaller than other values during sorting.

* update queries to fix failing test against h2 db

* Formatting changes

* PI-2673 - move test data creation back to data loader.  Use entityManager.merge to resolve issue with detached entities.

* Formatting changes

* PI-2673 - move test data creation back to data loader

* Formatting changes

* PI-2673 - move test data creation back to data loader

* Formatting changes

* PI-2673 - order response correctly

* PI-2673 - move test variables to entityManagerDataLoader

* PI-2673 - rename variable

* PI-2673 - apply review comment

* PI-2673 - move variables back to generators

* PI-2673 - move variables back to generators

* PI-2673 - use MockitoBean instead of MockBean

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marcus Aspin <[email protected]>
Co-authored-by: probation-integration-bot[bot] <177347787+probation-integration-bot[bot]@users.noreply.github.com>
  • Loading branch information
4 people authored Jan 10, 2025
1 parent fa76fda commit 9bb7318
Show file tree
Hide file tree
Showing 478 changed files with 1,841 additions and 2,869 deletions.
33 changes: 7 additions & 26 deletions .idea/runConfigurations/accredited_programmes_and_oasys.run.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

33 changes: 7 additions & 26 deletions .idea/runConfigurations/appointment_reminders_and_delius.run.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

33 changes: 7 additions & 26 deletions .idea/runConfigurations/approved_premises_and_delius.run.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

33 changes: 7 additions & 26 deletions .idea/runConfigurations/approved_premises_and_oasys.run.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

33 changes: 7 additions & 26 deletions .idea/runConfigurations/arns_and_delius.run.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

33 changes: 7 additions & 26 deletions .idea/runConfigurations/assessment_summary_and_delius.run.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

33 changes: 7 additions & 26 deletions .idea/runConfigurations/cas2_and_delius.run.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

33 changes: 7 additions & 26 deletions .idea/runConfigurations/cas3_and_delius.run.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

33 changes: 7 additions & 26 deletions .idea/runConfigurations/common_platform_and_delius.run.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 9bb7318

Please sign in to comment.