org.openrewrite.java.spring.boot2.SpringBootProperties_2_0
Migrate properties found in application.properties
and application.yml
.
GitHub, Issue Tracker, Maven Central
- groupId: org.openrewrite.recipe
- artifactId: rewrite-spring
- version: 5.0.1
This recipe has no required configuration options. It can be activated by adding a dependency on org.openrewrite.recipe:rewrite-spring:5.0.1
in your build file or by running a shell command (in which case no build changes are needed):
{% tabs %}
{% tab title="Gradle" %}
{% code title="build.gradle" %}
plugins {
id("org.openrewrite.rewrite") version("6.1.4")
}
rewrite {
activeRecipe("org.openrewrite.java.spring.boot2.SpringBootProperties_2_0")
}
repositories {
mavenCentral()
}
dependencies {
rewrite("org.openrewrite.recipe:rewrite-spring:5.0.1")
}
{% endcode %} {% endtab %} {% tab title="Maven POM" %} {% code title="pom.xml" %}
<project>
<build>
<plugins>
<plugin>
<groupId>org.openrewrite.maven</groupId>
<artifactId>rewrite-maven-plugin</artifactId>
<version>5.2.4</version>
<configuration>
<activeRecipes>
<recipe>org.openrewrite.java.spring.boot2.SpringBootProperties_2_0</recipe>
</activeRecipes>
</configuration>
<dependencies>
<dependency>
<groupId>org.openrewrite.recipe</groupId>
<artifactId>rewrite-spring</artifactId>
<version>5.0.1</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
</project>
{% endcode %} {% endtab %}
{% tab title="Maven Command Line" %} {% code title="shell" %} You will need to have Maven installed on your machine before you can run the following command.
mvn -U org.openrewrite.maven:rewrite-maven-plugin:run \
-Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-spring:RELEASE \
-Drewrite.activeRecipes=org.openrewrite.java.spring.boot2.SpringBootProperties_2_0
{% endcode %} {% endtab %} {% endtabs %}
{% tabs %} {% tab title="Recipe List" %}
- Change the value of a spring application property
- propertyKey:
spring.main.banner-mode
- newValue:
console
- oldValue:
true
- propertyKey:
- Change the value of a spring application property
- propertyKey:
spring.main.banner-mode
- newValue:
off
- oldValue:
false
- propertyKey:
- Change the key of a spring application property
- oldPropertyKey:
spring.main.show-banner
- newPropertyKey:
spring.main.banner-mode
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
spring.main.web-environment
- newPropertyKey:
spring.main.web-application-type
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
banner.charset
- newPropertyKey:
spring.banner.charset
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
banner.image.height
- newPropertyKey:
spring.banner.image.height
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
banner.image.invert
- newPropertyKey:
spring.banner.image.invert
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
banner.image.location
- newPropertyKey:
spring.banner.image.location
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
banner.image.margin
- newPropertyKey:
spring.banner.image.margin
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
banner.image.width
- newPropertyKey:
spring.banner.image.width
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
banner.location
- newPropertyKey:
spring.banner.location
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
security.filter-dispatcher-types
- newPropertyKey:
spring.security.filter.dispatcher-types
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
security.filter-order
- newPropertyKey:
spring.security.filter.order
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
spring.data.cassandra.repositories.enabled
- newPropertyKey:
spring.data.cassandra.repositories.type
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
spring.data.couchbase.repositories.enabled
- newPropertyKey:
spring.data.couchbase.repositories.type
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
spring.data.mongodb.repositories.enabled
- newPropertyKey:
spring.data.mongodb.repositories.type
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
spring.jta.bitronix.properties.background-recovery-interval
- newPropertyKey:
spring.jta.bitronix.properties.background-recovery-interval-seconds
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
spring.mvc.media-types
- newPropertyKey:
spring.mvc.contentnegotiation.media-types
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
flyway.baseline-description
- newPropertyKey:
spring.flyway.baseline-description
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
flyway.baseline-on-migrate
- newPropertyKey:
spring.flyway.baseline-on-migrate
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
flyway.baseline-version
- newPropertyKey:
spring.flyway.baseline-version
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
flyway.check-location
- newPropertyKey:
spring.flyway.check-location
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
flyway.clean-on-validation-error
- newPropertyKey:
spring.flyway.clean-on-validation-error
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
flyway.enabled
- newPropertyKey:
spring.flyway.enabled
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
flyway.encoding
- newPropertyKey:
spring.flyway.encoding
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
flyway.init-sqls
- newPropertyKey:
spring.flyway.init-sqls
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
flyway.locations
- newPropertyKey:
spring.flyway.locations
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
flyway.out-of-order
- newPropertyKey:
spring.flyway.out-of-order
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
flyway.password
- newPropertyKey:
spring.flyway.password
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
flyway.placeholder-prefix
- newPropertyKey:
spring.flyway.placeholder-prefix
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
flyway.placeholder-replacement
- newPropertyKey:
spring.flyway.placeholder-replacement
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
flyway.placeholder-suffix
- newPropertyKey:
spring.flyway.placeholder-suffix
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
flyway.placeholders
- newPropertyKey:
spring.flyway.placeholders
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
flyway.schemas
- newPropertyKey:
spring.flyway.schemas
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
flyway.sql-migration-prefix
- newPropertyKey:
spring.flyway.sql-migration-prefix
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
flyway.sql-migration-separator
- newPropertyKey:
spring.flyway.sql-migration-separator
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
flyway.sql-migration-suffix
- newPropertyKey:
spring.flyway.sql-migration-suffixes
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
flyway.table
- newPropertyKey:
spring.flyway.table
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
flyway.target
- newPropertyKey:
spring.flyway.target
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
flyway.url
- newPropertyKey:
spring.flyway.url
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
flyway.user
- newPropertyKey:
spring.flyway.user
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
flyway.validate-on-migrate
- newPropertyKey:
spring.flyway.validate-on-migrate
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
liquibase.change-log
- newPropertyKey:
spring.liquibase.change-log
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
liquibase.check-change-log-location
- newPropertyKey:
spring.liquibase.check-change-log-location
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
liquibase.contexts
- newPropertyKey:
spring.liquibase.contexts
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
liquibase.default-schema
- newPropertyKey:
spring.liquibase.default-schema
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
liquibase.drop-first
- newPropertyKey:
spring.liquibase.drop-first
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
liquibase.enabled
- newPropertyKey:
spring.liquibase.enabled
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
liquibase.labels
- newPropertyKey:
spring.liquibase.labels
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
liquibase.parameters
- newPropertyKey:
spring.liquibase.parameters
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
liquibase.password
- newPropertyKey:
spring.liquibase.password
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
liquibase.rollback-file
- newPropertyKey:
spring.liquibase.rollback-file
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
liquibase.url
- newPropertyKey:
spring.liquibase.url
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
liquibase.user
- newPropertyKey:
spring.liquibase.user
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
security.user.name
- newPropertyKey:
spring.security.user.name
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
security.user.password
- newPropertyKey:
spring.security.user.password
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
security.user.role
- newPropertyKey:
spring.security.user.roles
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
server.context-parameters
- newPropertyKey:
server.servlet.context-parameters
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
server.context-path
- newPropertyKey:
server.servlet.context-path
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
server.display-name
- newPropertyKey:
server.servlet.application-display-name
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
server.jsp-servlet.class-name
- newPropertyKey:
server.servlet.jsp.class-name
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
server.jsp-servlet.init-parameters
- newPropertyKey:
server.servlet.jsp.init-parameters
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
server.jsp-servlet.registered
- newPropertyKey:
server.servlet.jsp.registered
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
server.servlet-path
- newPropertyKey:
server.servlet.path
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
server.session.cookie.comment
- newPropertyKey:
server.servlet.session.cookie.comment
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
server.session.cookie.domain
- newPropertyKey:
server.servlet.session.cookie.domain
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
server.session.cookie.http-only
- newPropertyKey:
server.servlet.session.cookie.http-only
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
server.session.cookie.max-age
- newPropertyKey:
server.servlet.session.cookie.max-age
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
server.session.cookie.name
- newPropertyKey:
server.servlet.session.cookie.name
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
server.session.cookie.path
- newPropertyKey:
server.servlet.session.cookie.path
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
server.session.cookie.secure
- newPropertyKey:
server.servlet.session.cookie.secure
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
server.session.persistent
- newPropertyKey:
server.servlet.session.persistent
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
server.session.store-dir
- newPropertyKey:
server.servlet.session.store-dir
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
server.session.timeout
- newPropertyKey:
server.servlet.session.timeout
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
server.session.tracking-modes
- newPropertyKey:
server.servlet.session.tracking-modes
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
spring.batch.initializer.enabled
- newPropertyKey:
spring.batch.initialize-schema
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
spring.data.cassandra.connect-timeout-millis
- newPropertyKey:
spring.data.cassandra.connect-timeout
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
spring.data.cassandra.read-timeout-millis
- newPropertyKey:
spring.data.cassandra.read-timeout
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
spring.datasource.initialize
- newPropertyKey:
spring.datasource.initialization-mode
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
spring.flyway.sql-migration-suffix
- newPropertyKey:
spring.flyway.sql-migration-suffixes
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
spring.git.properties
- newPropertyKey:
spring.info.git.location
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
spring.http.multipart.enabled
- newPropertyKey:
spring.servlet.multipart.enabled
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
spring.http.multipart.file-size-threshold
- newPropertyKey:
spring.servlet.multipart.file-size-threshold
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
spring.http.multipart.location
- newPropertyKey:
spring.servlet.multipart.location
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
spring.http.multipart.max-file-size
- newPropertyKey:
spring.servlet.multipart.max-file-size
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
spring.http.multipart.max-request-size
- newPropertyKey:
spring.servlet.multipart.max-request-size
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
spring.http.multipart.resolve-lazily
- newPropertyKey:
spring.servlet.multipart.resolve-lazily
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
spring.messages.cache-seconds
- newPropertyKey:
spring.messages.cache-duration
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
spring.redis.pool.max-active
- newPropertyKey:
spring.redis.jedis.pool.max-idle
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
spring.redis.pool.max-idle
- newPropertyKey:
spring.redis.jedis.pool.max-idle
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
spring.redis.pool.max-wait
- newPropertyKey:
spring.redis.jedis.pool.max-wait
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
spring.redis.pool.min-idle
- newPropertyKey:
spring.redis.jedis.pool.min-idle
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
spring.resources.cache-period
- newPropertyKey:
spring.resources.cache.period
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
spring.session.jdbc.initializer.enabled
- newPropertyKey:
spring.session.jdbc.initialize-schema
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
spring.session.mongo.collection-name
- newPropertyKey:
spring.session.mongodb.collection-name
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
spring.thymeleaf.content-type
- newPropertyKey:
spring.thymeleaf.servlet.content-type
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
endpoints.auditevents.enabled
- newPropertyKey:
management.endpoint.auditevents.enabled
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
endpoints.auditevents.path
- newPropertyKey:
management.endpoints.web.path-mapping.auditevents
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
endpoints.autoconfig.enabled
- newPropertyKey:
management.endpoint.conditions.enabled
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
endpoints.autoconfig.path
- newPropertyKey:
management.endpoints.web.path-mapping.conditions
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
endpoints.beans.enabled
- newPropertyKey:
management.endpoint.beans.enabled
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
endpoints.beans.path
- newPropertyKey:
management.endpoints.web.path-mapping.beans
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
endpoints.configprops.enabled
- newPropertyKey:
management.endpoint.configprops.enabled
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
endpoints.configprops.keys-to-sanitize
- newPropertyKey:
management.endpoint.configprops.keys-to-sanitize
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
endpoints.configprops.path
- newPropertyKey:
management.endpoints.web.path-mapping.configprops
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
endpoints.cors.allow-credentials
- newPropertyKey:
management.endpoints.web.cors.allow-credentials
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
endpoints.cors.allowed-headers
- newPropertyKey:
management.endpoints.web.cors.allowed-headers
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
endpoints.cors.allowed-methods
- newPropertyKey:
management.endpoints.web.cors.allowed-methods
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
endpoints.cors.allowed-origins
- newPropertyKey:
management.endpoints.web.cors.allowed-origins
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
endpoints.cors.exposed-headers
- newPropertyKey:
management.endpoints.web.cors.exposed-headers
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
endpoints.cors.max-age
- newPropertyKey:
management.endpoints.web.cors.max-age
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
endpoints.dump.enabled
- newPropertyKey:
management.endpoint.threaddump.enabled
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
endpoints.dump.path
- newPropertyKey:
management.endpoints.web.path-mapping.dump
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
endpoints.enabled
- newPropertyKey:
management.endpoints.enabled-by-default
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
endpoints.env.enabled
- newPropertyKey:
management.endpoint.env.enabled
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
endpoints.env.keys-to-sanitize
- newPropertyKey:
management.endpoint.env.keys-to-sanitize
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
endpoints.env.path
- newPropertyKey:
management.endpoints.web.path-mapping.env
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
endpoints.flyway.enabled
- newPropertyKey:
management.endpoint.flyway.enabled
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
endpoints.health.enabled
- newPropertyKey:
management.endpoint.health.enabled
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
endpoints.health.mapping
- newPropertyKey:
management.health.status.http-mapping
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
endpoints.health.path
- newPropertyKey:
management.endpoints.web.path-mapping.health
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
endpoints.health.time-to-live
- newPropertyKey:
management.endpoint.health.cache.time-to-live
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
endpoints.heapdump.enabled
- newPropertyKey:
management.endpoint.heapdump.enabled
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
endpoints.heapdump.path
- newPropertyKey:
management.endpoints.web.path-mapping.heapdump
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
endpoints.info.enabled
- newPropertyKey:
management.endpoint.info.enabled
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
endpoints.info.path
- newPropertyKey:
management.endpoints.web.path-mapping.info
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
endpoints.jmx.domain
- newPropertyKey:
management.endpoints.jmx.domain
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
endpoints.jmx.enabled
- newPropertyKey:
management.endpoints.jmx.exposure.exclude
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
endpoints.jmx.static-names
- newPropertyKey:
management.endpoints.jmx.static-names
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
endpoints.jmx.unique-names
- newPropertyKey:
management.endpoints.jmx.unique-names
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
endpoints.jolokia.enabled
- newPropertyKey:
management.endpoint.jolokia.enabled
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
endpoints.jolokia.path
- newPropertyKey:
management.endpoints.web.path-mapping.jolokia
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
endpoints.liquibase.enabled
- newPropertyKey:
management.endpoint.liquibase.enabled
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
endpoints.logfile.enabled
- newPropertyKey:
management.endpoint.logfile.enabled
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
endpoints.logfile.external-file
- newPropertyKey:
management.endpoint.logfile.external-file
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
endpoints.logfile.path
- newPropertyKey:
management.endpoints.web.path-mapping.logfile
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
endpoints.loggers.enabled
- newPropertyKey:
management.endpoint.loggers.enabled
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
endpoints.loggers.path
- newPropertyKey:
management.endpoints.web.path-mapping.loggers
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
endpoints.mappings.enabled
- newPropertyKey:
management.endpoint.mappings.enabled
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
endpoints.mappings.path
- newPropertyKey:
management.endpoints.web.path-mapping.mappings
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
endpoints.metrics.enabled
- newPropertyKey:
management.endpoint.metrics.enabled
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
endpoints.metrics.path
- newPropertyKey:
management.endpoints.web.path-mapping.metrics
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
endpoints.shutdown.enabled
- newPropertyKey:
management.endpoint.shutdown.enabled
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
endpoints.shutdown.path
- newPropertyKey:
management.endpoints.web.path-mapping.shutdown
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
endpoints.trace.filter.enabled
- newPropertyKey:
management.trace.http.enabled
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
endpoints.trace.enabled
- newPropertyKey:
management.endpoint.httptrace.enabled
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
endpoints.trace.path
- newPropertyKey:
management.endpoints.web.path-mapping.httptrace
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
jolokia.config
- newPropertyKey:
management.endpoint.jolokia.config
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
management.add-application-context-header
- newPropertyKey:
management.server.add-application-context-header
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
management.address
- newPropertyKey:
management.server.address
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
management.context-path
- newPropertyKey:
management.server.servlet.context-path
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
management.port
- newPropertyKey:
management.server.port
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
management.ssl.ciphers
- newPropertyKey:
management.server.ssl.ciphers
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
management.ssl.client-auth
- newPropertyKey:
management.server.ssl.client-auth
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
management.ssl.enabled
- newPropertyKey:
management.server.ssl.enabled
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
management.ssl.enabled-protocols
- newPropertyKey:
management.server.ssl.enabled-protocols
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
management.ssl.key-alias
- newPropertyKey:
management.server.ssl.key-alias
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
management.ssl.key-password
- newPropertyKey:
management.server.ssl.key-password
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
management.ssl.key-store
- newPropertyKey:
management.server.ssl.key-store
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
management.ssl.key-store-password
- newPropertyKey:
management.server.ssl.key-store-password
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
management.ssl.key-store-provider
- newPropertyKey:
management.server.ssl.key-store-provider
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
management.ssl.key-store-type
- newPropertyKey:
management.server.ssl.key-store-type
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
management.ssl.protocol
- newPropertyKey:
management.server.ssl.protocol
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
management.ssl.trust-store
- newPropertyKey:
management.server.ssl.trust-store
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
management.ssl.trust-store-password
- newPropertyKey:
management.server.ssl.trust-store-password
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
management.ssl.trust-store-provider
- newPropertyKey:
management.server.ssl.trust-store-provider
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
management.ssl.trust-store-type
- newPropertyKey:
management.server.ssl.trust-store-type
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
management.trace.include
- newPropertyKey:
management.trace.http.include
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
spring.metrics.export.statsd.host
- newPropertyKey:
management.metrics.export.statsd.host
- oldPropertyKey:
- Change the key of a spring application property
- oldPropertyKey:
spring.metrics.export.statsd.port
- newPropertyKey:
management.metrics.export.statsd.port
- oldPropertyKey:
{% endtab %}
{% tab title="Yaml Recipe List" %}
---
type: specs.openrewrite.org/v1beta/recipe
name: org.openrewrite.java.spring.boot2.SpringBootProperties_2_0
displayName: Migrate Spring Boot properties to 2.0
description: Migrate properties found in `application.properties` and `application.yml`.
recipeList:
- org.openrewrite.java.spring.ChangeSpringPropertyValue:
propertyKey: spring.main.banner-mode
newValue: console
oldValue: true
- org.openrewrite.java.spring.ChangeSpringPropertyValue:
propertyKey: spring.main.banner-mode
newValue: off
oldValue: false
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: spring.main.show-banner
newPropertyKey: spring.main.banner-mode
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: spring.main.web-environment
newPropertyKey: spring.main.web-application-type
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: banner.charset
newPropertyKey: spring.banner.charset
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: banner.image.height
newPropertyKey: spring.banner.image.height
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: banner.image.invert
newPropertyKey: spring.banner.image.invert
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: banner.image.location
newPropertyKey: spring.banner.image.location
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: banner.image.margin
newPropertyKey: spring.banner.image.margin
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: banner.image.width
newPropertyKey: spring.banner.image.width
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: banner.location
newPropertyKey: spring.banner.location
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: security.filter-dispatcher-types
newPropertyKey: spring.security.filter.dispatcher-types
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: security.filter-order
newPropertyKey: spring.security.filter.order
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: spring.data.cassandra.repositories.enabled
newPropertyKey: spring.data.cassandra.repositories.type
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: spring.data.couchbase.repositories.enabled
newPropertyKey: spring.data.couchbase.repositories.type
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: spring.data.mongodb.repositories.enabled
newPropertyKey: spring.data.mongodb.repositories.type
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: spring.jta.bitronix.properties.background-recovery-interval
newPropertyKey: spring.jta.bitronix.properties.background-recovery-interval-seconds
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: spring.mvc.media-types
newPropertyKey: spring.mvc.contentnegotiation.media-types
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: flyway.baseline-description
newPropertyKey: spring.flyway.baseline-description
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: flyway.baseline-on-migrate
newPropertyKey: spring.flyway.baseline-on-migrate
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: flyway.baseline-version
newPropertyKey: spring.flyway.baseline-version
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: flyway.check-location
newPropertyKey: spring.flyway.check-location
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: flyway.clean-on-validation-error
newPropertyKey: spring.flyway.clean-on-validation-error
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: flyway.enabled
newPropertyKey: spring.flyway.enabled
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: flyway.encoding
newPropertyKey: spring.flyway.encoding
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: flyway.init-sqls
newPropertyKey: spring.flyway.init-sqls
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: flyway.locations
newPropertyKey: spring.flyway.locations
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: flyway.out-of-order
newPropertyKey: spring.flyway.out-of-order
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: flyway.password
newPropertyKey: spring.flyway.password
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: flyway.placeholder-prefix
newPropertyKey: spring.flyway.placeholder-prefix
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: flyway.placeholder-replacement
newPropertyKey: spring.flyway.placeholder-replacement
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: flyway.placeholder-suffix
newPropertyKey: spring.flyway.placeholder-suffix
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: flyway.placeholders
newPropertyKey: spring.flyway.placeholders
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: flyway.schemas
newPropertyKey: spring.flyway.schemas
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: flyway.sql-migration-prefix
newPropertyKey: spring.flyway.sql-migration-prefix
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: flyway.sql-migration-separator
newPropertyKey: spring.flyway.sql-migration-separator
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: flyway.sql-migration-suffix
newPropertyKey: spring.flyway.sql-migration-suffixes
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: flyway.table
newPropertyKey: spring.flyway.table
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: flyway.target
newPropertyKey: spring.flyway.target
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: flyway.url
newPropertyKey: spring.flyway.url
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: flyway.user
newPropertyKey: spring.flyway.user
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: flyway.validate-on-migrate
newPropertyKey: spring.flyway.validate-on-migrate
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: liquibase.change-log
newPropertyKey: spring.liquibase.change-log
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: liquibase.check-change-log-location
newPropertyKey: spring.liquibase.check-change-log-location
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: liquibase.contexts
newPropertyKey: spring.liquibase.contexts
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: liquibase.default-schema
newPropertyKey: spring.liquibase.default-schema
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: liquibase.drop-first
newPropertyKey: spring.liquibase.drop-first
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: liquibase.enabled
newPropertyKey: spring.liquibase.enabled
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: liquibase.labels
newPropertyKey: spring.liquibase.labels
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: liquibase.parameters
newPropertyKey: spring.liquibase.parameters
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: liquibase.password
newPropertyKey: spring.liquibase.password
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: liquibase.rollback-file
newPropertyKey: spring.liquibase.rollback-file
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: liquibase.url
newPropertyKey: spring.liquibase.url
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: liquibase.user
newPropertyKey: spring.liquibase.user
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: security.user.name
newPropertyKey: spring.security.user.name
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: security.user.password
newPropertyKey: spring.security.user.password
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: security.user.role
newPropertyKey: spring.security.user.roles
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: server.context-parameters
newPropertyKey: server.servlet.context-parameters
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: server.context-path
newPropertyKey: server.servlet.context-path
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: server.display-name
newPropertyKey: server.servlet.application-display-name
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: server.jsp-servlet.class-name
newPropertyKey: server.servlet.jsp.class-name
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: server.jsp-servlet.init-parameters
newPropertyKey: server.servlet.jsp.init-parameters
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: server.jsp-servlet.registered
newPropertyKey: server.servlet.jsp.registered
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: server.servlet-path
newPropertyKey: server.servlet.path
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: server.session.cookie.comment
newPropertyKey: server.servlet.session.cookie.comment
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: server.session.cookie.domain
newPropertyKey: server.servlet.session.cookie.domain
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: server.session.cookie.http-only
newPropertyKey: server.servlet.session.cookie.http-only
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: server.session.cookie.max-age
newPropertyKey: server.servlet.session.cookie.max-age
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: server.session.cookie.name
newPropertyKey: server.servlet.session.cookie.name
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: server.session.cookie.path
newPropertyKey: server.servlet.session.cookie.path
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: server.session.cookie.secure
newPropertyKey: server.servlet.session.cookie.secure
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: server.session.persistent
newPropertyKey: server.servlet.session.persistent
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: server.session.store-dir
newPropertyKey: server.servlet.session.store-dir
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: server.session.timeout
newPropertyKey: server.servlet.session.timeout
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: server.session.tracking-modes
newPropertyKey: server.servlet.session.tracking-modes
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: spring.batch.initializer.enabled
newPropertyKey: spring.batch.initialize-schema
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: spring.data.cassandra.connect-timeout-millis
newPropertyKey: spring.data.cassandra.connect-timeout
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: spring.data.cassandra.read-timeout-millis
newPropertyKey: spring.data.cassandra.read-timeout
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: spring.datasource.initialize
newPropertyKey: spring.datasource.initialization-mode
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: spring.flyway.sql-migration-suffix
newPropertyKey: spring.flyway.sql-migration-suffixes
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: spring.git.properties
newPropertyKey: spring.info.git.location
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: spring.http.multipart.enabled
newPropertyKey: spring.servlet.multipart.enabled
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: spring.http.multipart.file-size-threshold
newPropertyKey: spring.servlet.multipart.file-size-threshold
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: spring.http.multipart.location
newPropertyKey: spring.servlet.multipart.location
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: spring.http.multipart.max-file-size
newPropertyKey: spring.servlet.multipart.max-file-size
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: spring.http.multipart.max-request-size
newPropertyKey: spring.servlet.multipart.max-request-size
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: spring.http.multipart.resolve-lazily
newPropertyKey: spring.servlet.multipart.resolve-lazily
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: spring.messages.cache-seconds
newPropertyKey: spring.messages.cache-duration
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: spring.redis.pool.max-active
newPropertyKey: spring.redis.jedis.pool.max-idle
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: spring.redis.pool.max-idle
newPropertyKey: spring.redis.jedis.pool.max-idle
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: spring.redis.pool.max-wait
newPropertyKey: spring.redis.jedis.pool.max-wait
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: spring.redis.pool.min-idle
newPropertyKey: spring.redis.jedis.pool.min-idle
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: spring.resources.cache-period
newPropertyKey: spring.resources.cache.period
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: spring.session.jdbc.initializer.enabled
newPropertyKey: spring.session.jdbc.initialize-schema
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: spring.session.mongo.collection-name
newPropertyKey: spring.session.mongodb.collection-name
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: spring.thymeleaf.content-type
newPropertyKey: spring.thymeleaf.servlet.content-type
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: endpoints.auditevents.enabled
newPropertyKey: management.endpoint.auditevents.enabled
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: endpoints.auditevents.path
newPropertyKey: management.endpoints.web.path-mapping.auditevents
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: endpoints.autoconfig.enabled
newPropertyKey: management.endpoint.conditions.enabled
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: endpoints.autoconfig.path
newPropertyKey: management.endpoints.web.path-mapping.conditions
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: endpoints.beans.enabled
newPropertyKey: management.endpoint.beans.enabled
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: endpoints.beans.path
newPropertyKey: management.endpoints.web.path-mapping.beans
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: endpoints.configprops.enabled
newPropertyKey: management.endpoint.configprops.enabled
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: endpoints.configprops.keys-to-sanitize
newPropertyKey: management.endpoint.configprops.keys-to-sanitize
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: endpoints.configprops.path
newPropertyKey: management.endpoints.web.path-mapping.configprops
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: endpoints.cors.allow-credentials
newPropertyKey: management.endpoints.web.cors.allow-credentials
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: endpoints.cors.allowed-headers
newPropertyKey: management.endpoints.web.cors.allowed-headers
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: endpoints.cors.allowed-methods
newPropertyKey: management.endpoints.web.cors.allowed-methods
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: endpoints.cors.allowed-origins
newPropertyKey: management.endpoints.web.cors.allowed-origins
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: endpoints.cors.exposed-headers
newPropertyKey: management.endpoints.web.cors.exposed-headers
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: endpoints.cors.max-age
newPropertyKey: management.endpoints.web.cors.max-age
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: endpoints.dump.enabled
newPropertyKey: management.endpoint.threaddump.enabled
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: endpoints.dump.path
newPropertyKey: management.endpoints.web.path-mapping.dump
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: endpoints.enabled
newPropertyKey: management.endpoints.enabled-by-default
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: endpoints.env.enabled
newPropertyKey: management.endpoint.env.enabled
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: endpoints.env.keys-to-sanitize
newPropertyKey: management.endpoint.env.keys-to-sanitize
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: endpoints.env.path
newPropertyKey: management.endpoints.web.path-mapping.env
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: endpoints.flyway.enabled
newPropertyKey: management.endpoint.flyway.enabled
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: endpoints.health.enabled
newPropertyKey: management.endpoint.health.enabled
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: endpoints.health.mapping
newPropertyKey: management.health.status.http-mapping
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: endpoints.health.path
newPropertyKey: management.endpoints.web.path-mapping.health
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: endpoints.health.time-to-live
newPropertyKey: management.endpoint.health.cache.time-to-live
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: endpoints.heapdump.enabled
newPropertyKey: management.endpoint.heapdump.enabled
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: endpoints.heapdump.path
newPropertyKey: management.endpoints.web.path-mapping.heapdump
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: endpoints.info.enabled
newPropertyKey: management.endpoint.info.enabled
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: endpoints.info.path
newPropertyKey: management.endpoints.web.path-mapping.info
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: endpoints.jmx.domain
newPropertyKey: management.endpoints.jmx.domain
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: endpoints.jmx.enabled
newPropertyKey: management.endpoints.jmx.exposure.exclude
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: endpoints.jmx.static-names
newPropertyKey: management.endpoints.jmx.static-names
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: endpoints.jmx.unique-names
newPropertyKey: management.endpoints.jmx.unique-names
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: endpoints.jolokia.enabled
newPropertyKey: management.endpoint.jolokia.enabled
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: endpoints.jolokia.path
newPropertyKey: management.endpoints.web.path-mapping.jolokia
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: endpoints.liquibase.enabled
newPropertyKey: management.endpoint.liquibase.enabled
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: endpoints.logfile.enabled
newPropertyKey: management.endpoint.logfile.enabled
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: endpoints.logfile.external-file
newPropertyKey: management.endpoint.logfile.external-file
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: endpoints.logfile.path
newPropertyKey: management.endpoints.web.path-mapping.logfile
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: endpoints.loggers.enabled
newPropertyKey: management.endpoint.loggers.enabled
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: endpoints.loggers.path
newPropertyKey: management.endpoints.web.path-mapping.loggers
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: endpoints.mappings.enabled
newPropertyKey: management.endpoint.mappings.enabled
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: endpoints.mappings.path
newPropertyKey: management.endpoints.web.path-mapping.mappings
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: endpoints.metrics.enabled
newPropertyKey: management.endpoint.metrics.enabled
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: endpoints.metrics.path
newPropertyKey: management.endpoints.web.path-mapping.metrics
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: endpoints.shutdown.enabled
newPropertyKey: management.endpoint.shutdown.enabled
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: endpoints.shutdown.path
newPropertyKey: management.endpoints.web.path-mapping.shutdown
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: endpoints.trace.filter.enabled
newPropertyKey: management.trace.http.enabled
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: endpoints.trace.enabled
newPropertyKey: management.endpoint.httptrace.enabled
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: endpoints.trace.path
newPropertyKey: management.endpoints.web.path-mapping.httptrace
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: jolokia.config
newPropertyKey: management.endpoint.jolokia.config
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: management.add-application-context-header
newPropertyKey: management.server.add-application-context-header
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: management.address
newPropertyKey: management.server.address
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: management.context-path
newPropertyKey: management.server.servlet.context-path
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: management.port
newPropertyKey: management.server.port
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: management.ssl.ciphers
newPropertyKey: management.server.ssl.ciphers
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: management.ssl.client-auth
newPropertyKey: management.server.ssl.client-auth
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: management.ssl.enabled
newPropertyKey: management.server.ssl.enabled
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: management.ssl.enabled-protocols
newPropertyKey: management.server.ssl.enabled-protocols
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: management.ssl.key-alias
newPropertyKey: management.server.ssl.key-alias
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: management.ssl.key-password
newPropertyKey: management.server.ssl.key-password
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: management.ssl.key-store
newPropertyKey: management.server.ssl.key-store
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: management.ssl.key-store-password
newPropertyKey: management.server.ssl.key-store-password
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: management.ssl.key-store-provider
newPropertyKey: management.server.ssl.key-store-provider
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: management.ssl.key-store-type
newPropertyKey: management.server.ssl.key-store-type
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: management.ssl.protocol
newPropertyKey: management.server.ssl.protocol
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: management.ssl.trust-store
newPropertyKey: management.server.ssl.trust-store
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: management.ssl.trust-store-password
newPropertyKey: management.server.ssl.trust-store-password
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: management.ssl.trust-store-provider
newPropertyKey: management.server.ssl.trust-store-provider
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: management.ssl.trust-store-type
newPropertyKey: management.server.ssl.trust-store-type
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: management.trace.include
newPropertyKey: management.trace.http.include
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: spring.metrics.export.statsd.host
newPropertyKey: management.metrics.export.statsd.host
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: spring.metrics.export.statsd.port
newPropertyKey: management.metrics.export.statsd.port
{% endtab %} {% endtabs %}
The community edition of the Moderne platform enables you to easily run recipes across thousands of open-source repositories.
Please contact Moderne for more information about safely running the recipes on your own codebase in a private SaaS.