Migrate eShopLegacyMVC from .NET Framework 4.7.2 to Java 21 / Spring Boot 3.5#3
Open
devin-ai-integration[bot] wants to merge 9 commits into
Open
Conversation
- Story 0.1: Maven project with Java 21, Spring Boot 3.5.0, all dependencies (spring-boot-starter-web, data-jpa, thymeleaf, validation, security, actuator, flyway-sqlserver, mssql-jdbc, jackson, testcontainers) - Story 0.2: application.yml with datasource, JPA, Flyway, app properties + dev/prod/mock profile configurations - Story 0.3: logback-spring.xml ported from log4net config (rolling file appender, 10MB max, 5 backups, console for dev) - Story 0.4: Static assets copied (Content/CSS, Scripts/JS, fonts, Pics) Jira: NM-22, NM-23, NM-24, NM-25
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
Complete migration of the eShopLegacyMVC catalog application from ASP.NET MVC (.NET Framework 4.7.2) to Java 21 / Spring Boot 3.5.0, as planned on the .NET Migration Jira board (Epics NM-13 through NM-21, Stories NM-22 through NM-50).
What changed
A new Spring Boot project at
eShopLegacyMVCSolution/src/eShopLegacyMVC-SpringBoot/implementing the full catalog application:pom.xml,application*.yml,logback-spring.xmlmodel/*.javarepository/*.java,db/migration/*.sqlservice/*.java,config/CatalogConfig.javautil/Serializing.java,dto/BrandDTO.javacontroller/*.java,templates/**/*.htmlconfig/*.javasrc/test/**/*.javaDockerfile,README.md,RUNBOOK.mdTechnology mapping
Orchestration
This migration was executed via parallel child Devin sessions in 3 waves:
Review & Testing Checklist for Human
cd eShopLegacyMVCSolution/src/eShopLegacyMVC-SpringBoot && mvn spring-boot:run -Dspring-boot.run.profiles=mock→ verify catalog UI at http://localhost:8080/catalog shows 12 products with paginationcurl http://localhost:8080/api/brandsreturns 5 brands JSON;curl http://localhost:8080/api/filesreturns BrandDTOscurl http://localhost:8080/actuator/healthreturns UP with catalog service detailsdevprofile to verify Flyway migrations and real data access layerTest plan
mvn clean compile— verify build (Java 21 required)mvn test— verify all 36 tests passmvn spring-boot:run -Dspring-boot.run.profiles=mock— test full UI flowdocker build -t eshop-catalog . && docker run -p 8080:8080 -e APP_USE_MOCK_DATA=true eshop-catalog— test Docker deploymentNotes
mockprofile allows running without a database by using in-memory dataLink to Devin session: https://partner-workshops.devinenterprise.com/sessions/12458d33f65e4683b5fda8ec391bc624
Requested by: @mbatchelor81