Implement Spring Boot 4 adoption checklist: Priority 0 migrations#2430
Implement Spring Boot 4 adoption checklist: Priority 0 migrations#2430
Conversation
Co-authored-by: commjoen <1457214+commjoen@users.noreply.github.com>
|
@copilot can you fix the failing GitHub actions please? |
…ent.body() overload ambiguity Co-authored-by: commjoen <1457214+commjoen@users.noreply.github.com>
Fixed in commit |
|
🌐 GitHub Pages Preview Ready! Your static preview is now available at: 📄 What's included:
For full functionality testing: Use the Docker preview instead. 🔄 Auto-updates: This preview will be updated automatically when you push new commits to this PR. Static preview with Thymeleaf generation by GitHub Actions |
|
🔨 Preview Build Complete! Your changes have been built and pushed to GitHub Container Registry. 🐳 Docker Image: 📦 Download & Test Locally:
# Download the artifact, extract it, then:
docker load < wrongsecrets-preview.tar
docker run -p 8080:8080 wrongsecrets-preview🚀 Alternative - Pull from Registry: docker pull ghcr.io/owasp/wrongsecrets/wrongsecrets-pr:pr-2430-1bd101b
docker run -p 8080:8080 ghcr.io/owasp/wrongsecrets/wrongsecrets-pr:pr-2430-1bd101bThen visit: http://localhost:8080 📝 Changes in this PR: Visual diff screenshots will be available shortly... Preview built by GitHub Actions |
|
📸 Visual Diff Ready! Screenshots comparing your changes with the main branch are available: 📁 Download Visual Diff Artifacts 🖼️ Included screenshots:
🔍 How to review:
💡 Tip: Use an image comparison tool or open both images in separate browser tabs to spot differences easily. Visual diff generated by GitHub Actions • PR #2430 |
|
@copilot can you fix the failing github actions |
…UnnecessaryStubbingException Co-authored-by: commjoen <1457214+commjoen@users.noreply.github.com>
Fixed in commit |
|
🌐 GitHub Pages Preview Ready! Your static preview is now available at: 📄 What's included:
For full functionality testing: Use the Docker preview instead. 🔄 Auto-updates: This preview will be updated automatically when you push new commits to this PR. Static preview with Thymeleaf generation by GitHub Actions |
|
🔨 Preview Build Complete! Your changes have been built and pushed to GitHub Container Registry. 🐳 Docker Image: 📦 Download & Test Locally:
# Download the artifact, extract it, then:
docker load < wrongsecrets-preview.tar
docker run -p 8080:8080 wrongsecrets-preview🚀 Alternative - Pull from Registry: docker pull ghcr.io/owasp/wrongsecrets/wrongsecrets-pr:pr-2430-bd7b1fe
docker run -p 8080:8080 ghcr.io/owasp/wrongsecrets/wrongsecrets-pr:pr-2430-bd7b1feThen visit: http://localhost:8080 📝 Changes in this PR: Visual diff screenshots will be available shortly... Preview built by GitHub Actions |
|
📸 Visual Diff Ready! Screenshots comparing your changes with the main branch are available: 📁 Download Visual Diff Artifacts 🖼️ Included screenshots:
🔍 How to review:
💡 Tip: Use an image comparison tool or open both images in separate browser tabs to spot differences easily. Visual diff generated by GitHub Actions • PR #2430 |
ApiExceptionAdvice(@RestControllerAdvice) returningProblemDetailfor REST API errors (Priority 0, item 1)ApiExceptionAdviceasserting RFC 9457-style fields (type,title,status,detail,instance)RestTemplatebean inWrongSecretsApplicationwithRestClient(with 5s/10s timeout configuration) (Priority 0, item 2)SlackNotificationServicefromRestTemplatetoRestClientfluent API (Priority 0, item 2)SlackNotificationServiceTestto mockRestClientchain instead ofRestTemplateargThatwith pattern variable byArgumentCaptor<Object>inSlackNotificationServiceTestto avoidRestClient.RequestBodySpec.body()overload ambiguity@MockitoSettings(strictness = Strictness.LENIENT)toSlackNotificationServiceTestso@BeforeEachstubs don't causeUnnecessaryStubbingExceptionin negative tests that never invoke theRestClientchain-Xlint:deprecationcompiler arg to Maven build for deprecation gate in CI (Priority 0, item 3)SPRING_BOOT_4_ADOPTION_CHECKLIST.mdto mark completed itemsOriginal prompt
🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.