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

Update Spring Boot to 2.3.7.RELEASE #1018

Merged

Conversation

AmmarBikic
Copy link
Contributor

@AmmarBikic AmmarBikic commented Sep 25, 2020

The currently used Spring Boot version 2.1.4.RELEASE will only be supported until October 2020. This pull request contains all changes needed to update Spring Boot from version 2.1.4.RELEASE to 2.3.7.RELEASE.

@schabdo schabdo added this to the 0.3.0M7 milestone Sep 25, 2020
@schabdo schabdo linked an issue Sep 25, 2020 that may be closed by this pull request
@AmmarBikic AmmarBikic force-pushed the fix_migration_to_new_spring_boot_version branch from 4ba6cf3 to 0c6c8e7 Compare September 25, 2020 17:00
@schabdo schabdo mentioned this pull request Sep 28, 2020
12 tasks
@AmmarBikic AmmarBikic force-pushed the fix_migration_to_new_spring_boot_version branch from f33101a to b5ea43d Compare September 29, 2020 15:09
-Update Spring Cloud to Hoxton.SR7
-Replace ResourceSupport by RepresentationModel (Spring Hateoas 1.0)
-Replace ControllerLinkBuilder by WebMvcLinkBuilder (Spring Hateoas 1.0)
-Move getId() from Identifiable to BaseEntity (Spring Hateoas 1.0)
-Remove hamcrest.Factory
-Use static Sort.by reference
-Place http security anyRequest().authenticated()
-Replace MockMvcRequestBuilders.fileUpload by MockMvcRequestBuilders.multipart
-Deprecate MEDIA_TYPE_CBOR_UTF8
-Replace MEDIA_TYPE_CBOR_UTF8 by MEDIA_TYPE_CBOR in tests
-Replace HAL_JSON_UTF8 by HAL_JSON in tests
-Replace APPLICATION_JSON_UTF8 by APPLICATION_JSON in tests
-Use org.mockito.junit.MockitoJUnitRunner
-Remove overridden dependency versions
-Removing not needed comments in pom.xml
-Downgrade flyway-core to be MySQL 5.6 compatible
-Add maven-site-plugin since it was removed with spring-boot 2.3
-Set servlet encoding properties
-Introducing Test that verifies the charset inside the content-type of a response
-Add @DirtiesContext to CorsTest and ContentTypeTest
-Add content-type mockmvc test with adapted mockmvc config
-Move encoding.force property to test class
-Switch expected and actual parameter values in content-type test
-Delete deprecated content-type test with TestRestTemplate
-Exclude JUnit5 from spring-boot-starter-test
-Upgrade allure-junit4 to 2.13.5
-Add aspectjweaver 1.9.6 to surefire test execution
-Add flyway-core version to property
-Use getRequiredLink() within MgmtBaseEntity.getId()

Signed-off-by: Ammar Bikic <ammar.bikic@bosch.io>
Signed-off-by: Ammar Bikic <ammar.bikic@bosch.io>
Signed-off-by: Ammar Bikic <ammar.bikic@bosch.io>
Signed-off-by: Ammar Bikic <ammar.bikic@bosch.io>
Signed-off-by: Ammar Bikic <ammar.bikic@bosch.io>
Signed-off-by: Ammar Bikic <ammar.bikic@bosch.io>
Signed-off-by: Ammar Bikic <ammar.bikic@bosch.io>
Signed-off-by: Ammar Bikic <ammar.bikic@bosch.io>
Signed-off-by: Ammar Bikic <ammar.bikic@bosch.io>
Signed-off-by: Ammar Bikic <ammar.bikic@bosch.io>
Signed-off-by: Ammar Bikic <ammar.bikic@bosch.io>
…w_spring_boot_version_merge_master

Signed-off-by: Ammar Bikic <ammar.bikic@bosch.io>
Signed-off-by: Ammar Bikic <ammar.bikic@bosch.io>
@floruschbaschan floruschbaschan force-pushed the fix_migration_to_new_spring_boot_version branch from d238f81 to 918304f Compare December 11, 2020 12:53
Signed-off-by: Florian Ruschbaschan <Florian.Ruschbaschan@bosch.io>
@schabdo schabdo mentioned this pull request Dec 16, 2020
@hawkbit-bot
Copy link

SonarQube analysis reported 19 issues

  • MINOR 6 minor
  • INFO 13 info

Watch the comments in this conversation to review them.

1 extra issue

Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

  1. MINOR DataConversionHelper.java#L105: Remove this use of "Link"; it is deprecated. rule

@schabdo schabdo changed the title Update Spring Boot to version 2.3.4.RELEASE Update Spring Boot to 2.3.7.RELEASE Jan 7, 2021
…dSecurityConfiguration

Signed-off-by: Ammar Bikic <ammar.bikic@bosch.io>
Signed-off-by: Ammar Bikic <ammar.bikic@bosch.io>
Signed-off-by: Ammar Bikic <ammar.bikic@bosch.io>
@schabdo
Copy link
Member

schabdo commented Jan 15, 2021

Thanks @AmmarBikic for addressing all the review comments. However it seems like CircleCI is currently not happy with your latest changes:

java.lang.ClassNotFoundException: org.springframework.web.servlet.support.ServletUriComponentsBuilder

I kicked-off the build again, let's see if the issues still exists. If build succeeds only the Eclipse paperwork needs to be done in order to get the Boot upgrade on master

Signed-off-by: Ammar Bikic <ammar.bikic@bosch.io>
…w_spring_boot_version_merge_master

Signed-off-by: Ammar Bikic <ammar.bikic@bosch.io>
…w_spring_boot_version_merge_master

Signed-off-by: Ammar Bikic <ammar.bikic@bosch.io>
@schabdo schabdo merged commit 17cca56 into eclipse:master Feb 11, 2021
@schabdo schabdo deleted the fix_migration_to_new_spring_boot_version branch February 11, 2021 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update Spring Boot to version 2.3.x
5 participants