META-INF.rewrite.spring-boot-32-properties.yml Maven / Gradle / Ivy
Show all versions of rewrite-spring Show documentation
#
# Copyright 2024 the original author or authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
---
type: specs.openrewrite.org/v1beta/recipe
name: org.openrewrite.java.spring.boot3.SpringBootProperties_3_2
displayName: Migrate Spring Boot properties to 3.2
description: Migrate properties found in `application.properties` and `application.yml`.
tags:
- spring
- boot
recipeList:
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: management.otlp.metrics.export.resource-attributes
newPropertyKey: management.opentelemetry.resource-attributes
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: micrometer.observations.annotations.enabled
newPropertyKey: management.observations.annotations.enabled
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: server.max-http-header-size
newPropertyKey: server.max-http-request-header-size
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: spring.flyway.oracle-kerberos-cache-file
newPropertyKey: spring.flyway.oracle.kerberos-cache-file
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: spring.flyway.oracle-sqlplus
newPropertyKey: spring.flyway.oracle.sqlplus
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: spring.flyway.oracle-sqlplus-warn
newPropertyKey: spring.flyway.oracle.sqlplus-warn
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: spring.flyway.oracle-wallet-location
newPropertyKey: spring.flyway.oracle.wallet-location
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: spring.flyway.sql-server-kerberos-login-file
newPropertyKey: spring.flyway.sqlserver.kerberos-login-file
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: spring.jms.listener.acknowledge-mode
newPropertyKey: spring.jms.listener.session.acknowledge-mode
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: spring.jms.listener.concurrency
newPropertyKey: spring.jms.listener.min-concurrency