MBA-309: Migrate banking application from Java 8 to Java 11 #51
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR completes the migration of the Spring Boot banking application from Java 8 to Java 11 as specified in JIRA ticket MBA-309.
Changes Made
1. Java Version Update
java.versionfrom1.8to11inpom.xml2. Spring Boot Upgrade
2.1.4.RELEASEto2.7.183. Swagger/OpenAPI Migration
springfox-swagger2andspringfox-swagger-ui)springdoc-openapi-uiversion1.6.15)@Api→@Tag@ApiOperation→@Operation@ApiResponsewithcode→@ApiResponsewithresponseCodeApplicationConfig.javato use SpringDoc OpenAPI configuration/swagger-ui.htmlto/swagger-ui/index.html4. Test Framework Update
@RunWith(SpringRunner.class)annotation (no longer needed with@SpringBootTest)org.junit.jupiter.api.Test5. Documentation Updates
README.mdto reflect Java 11 requirementsTesting & Verification
✅ Build: Application compiles successfully with
mvn clean install✅ Tests: All tests pass with JUnit 5
✅ Runtime: Application starts successfully on Java 11
✅ Endpoints: REST API endpoints verified and working
✅ Swagger: OpenAPI documentation accessible at new URL
✅ H2 Console: Database console functional
Migration Notes
JIRA Reference
Ticket: MBA-309
Link to Devin run: https://app.devin.ai/sessions/5293aa17843e40c1b00c9750cdca4f47
Requested by: Anke Hao (anke.hao@windsurf.com) / @ankehao-dev