META-INF.rewrite.spring-boot-27-properties.yml Maven / Gradle / Ivy
Show all versions of rewrite-spring Show documentation
#
# Copyright 2023 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.boot2.SpringBootProperties_2_7
displayName: Migrate Spring Boot properties to 2.7
description: Migrate properties found in `application.properties` and `application.yml`.
tags:
- spring
- boot
recipeList:
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: spring.flyway.check-location
newPropertyKey: spring.flyway.fail-on-missing-locations
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: spring.mustache.allow-request-override
newPropertyKey: spring.mustache.servlet.allow-request-override
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: spring.mustache.allow-session-override
newPropertyKey: spring.mustache.servlet.allow-session-override
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: spring.mustache.cache
newPropertyKey: spring.mustache.servlet.cache
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: spring.mustache.content-type
newPropertyKey: spring.mustache.servlet.content-type
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: spring.mustache.expose-request-attributes
newPropertyKey: spring.mustache.servlet.expose-request-attributes
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: spring.mustache.expose-session-attributes
newPropertyKey: spring.mustache.servlet.expose-session-attributes
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: spring.mustache.expose-spring-macro-helpers
newPropertyKey: spring.mustache.servlet.expose-spring-macro-helpers
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: spring.security.oauth2.resourceserver.jwt.jws-algorithm
newPropertyKey: spring.security.oauth2.resourceserver.jwt.jws-algorithms