Migrate Spring Boot Actuator to Quarkus Health and Metrics
MSALMigrates Spring Boot Actuator to Quarkus SmallRye Health and Metrics extensions. Converts HealthIndicator implementations to Quarkus HealthCheck pattern.
org. openrewrite. quarkus. spring. MigrateSpringActuatormod run . --recipe= org. openrewrite. quarkus. spring. MigrateSpringActuatorInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.
Recipe list
It runs these recipes, in this order.
- Change Gradle or Maven dependency
org.springframework.boot:spring-boot-starter-actuator - Add Gradle or Maven dependency
io.quarkus:quarkus-micrometer:x - Add Gradle or Maven dependency
io.quarkus:quarkus-micrometer-registry-prometheus:x - Convert Spring HealthIndicator to Quarkus HealthCheck
- Change property key
- Delete property by key
management.endpoints.web.exposure.include - Delete property by key
management.endpoint.health.show-details