Skip to content

Add ChangePackage for actuate.endpoint.web.servlet to webmvc module#1039

Closed
steve-aom-elliott wants to merge 1 commit into
mainfrom
migrate-webmvc-actuate-endpoint-web-servlet-package
Closed

Add ChangePackage for actuate.endpoint.web.servlet to webmvc module#1039
steve-aom-elliott wants to merge 1 commit into
mainfrom
migrate-webmvc-actuate-endpoint-web-servlet-package

Conversation

@steve-aom-elliott

Copy link
Copy Markdown
Contributor

Summary

  • Add ChangePackage rule to migrate org.springframework.boot.actuate.endpoint.web.servletorg.springframework.boot.webmvc.actuate.endpoint.web in the Spring Boot 4.0 modular starters recipe
  • Spring Boot 4.0 moved WebMvcEndpointHandlerMapping, AbstractWebMvcEndpointHandlerMapping, AdditionalHealthEndpointPathsWebMvcHandlerMapping, and ControllerEndpointHandlerMapping into the spring-boot-webmvc module, but this package relocation was not previously covered
  • Add test for the package migration

Test plan

  • New test MigrateActuateEndpointWebServletPackage.migrateWebMvcEndpointHandlerMapping passes
  • Existing MigrateToModularStartersTest tests still pass

🤖 Generated with Claude Code

…ndpoint.web

Spring Boot 4.0 moved `AbstractWebMvcEndpointHandlerMapping`,
`AdditionalHealthEndpointPathsWebMvcHandlerMapping`,
`ControllerEndpointHandlerMapping`, and `WebMvcEndpointHandlerMapping`
from `org.springframework.boot.actuate.endpoint.web.servlet` to
`org.springframework.boot.webmvc.actuate.endpoint.web` as part of the
modularization into the `spring-boot-webmvc` module. This package
relocation was not previously covered by the modular starters recipe.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-project-automation github-project-automation Bot moved this to In Progress in OpenRewrite Jun 16, 2026
@github-project-automation github-project-automation Bot moved this from In Progress to Done in OpenRewrite Jun 16, 2026
@steve-aom-elliott steve-aom-elliott deleted the migrate-webmvc-actuate-endpoint-web-servlet-package branch June 16, 2026 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant