META-INF.rewrite.quarkus.yml Maven / Gradle / Ivy
Show all versions of rewrite-quarkus Show documentation
#
# Copyright 2021 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.quarkus.Quarkus1to1_13Migration
displayName: Quarkus 1.13 migration from Quarkus 1.11
description: Migrates Quarkus 1.11 to 1.13.
recipeList:
# - org.openrewrite.maven.UpgradeDependencyVersion:
# groupId: io.quarkus
# artifactId: quarkus-universe-bom
# newVersion: 1.13.x
# - org.openrewrite.maven.UpgradeDependencyVersion:
# groupId: io.quarkus
# artifactId: quarkus-bom
# newVersion: 1.13.x
# - org.openrewrite.maven.UpgradePluginVersion:
# groupId: io.quarkus
# artifactId: quarkus-maven-plugin
# newVersion: 1.13.x
- org.openrewrite.quarkus.ConfigPropertiesToConfigMapping
- org.openrewrite.quarkus.MultiTransformHotStreamToMultiHotStream
- org.openrewrite.quarkus.MigrateQuarkusMavenPluginNativeImageGoal
- org.openrewrite.quarkus.ConfigureQuarkusMavenPluginWithReasonableDefaults
- org.openrewrite.properties.ChangePropertyKey:
oldPropertyKey: quarkus.dev.instrumentation
newPropertyKey: quarkus.live-reload.instrumentation
- org.openrewrite.java.ChangeMethodName:
methodPattern: io.smallrye.mutiny.Multi collectItems()
newMethodName: collect
- org.openrewrite.java.ChangeMethodName:
methodPattern: io.smallrye.mutiny.Multi groupItems()
newMethodName: group
- org.openrewrite.java.ChangeMethodName:
methodPattern: io.smallrye.mutiny.Multi transform()
newMethodName: select
- org.openrewrite.java.ChangeMethodName:
methodPattern: io.smallrye.mutiny.groups.MultiTransform byTakingFirstItems(..)
newMethodName: first
- org.openrewrite.java.ChangeMethodName:
methodPattern: io.smallrye.mutiny.groups.MultiTransform byFilteringItemsWith(..)
newMethodName: where
- org.openrewrite.java.ChangeMethodName:
methodPattern: io.smallrye.mutiny.Multi subscribeOn(java.util.concurrent.Executor)
newMethodName: runSubscriptionOn
- org.openrewrite.java.ChangeMethodName:
methodPattern: io.smallrye.mutiny.Uni subscribeOn(java.util.concurrent.Executor)
newMethodName: runSubscriptionOn
- org.openrewrite.java.ChangeMethodName:
methodPattern: io.smallrye.mutiny.groups.UniOnFailure apply(java.util.function.Function)
newMethodName: transform
- org.openrewrite.java.ChangeMethodName:
methodPattern: io.smallrye.mutiny.groups.UniOnItem apply(java.util.function.Function)
newMethodName: transform
- org.openrewrite.java.ChangeMethodName:
methodPattern: io.smallrye.mutiny.groups.UniOnItemOrFailure apply(java.util.function.BiFunction)
newMethodName: transform
- org.openrewrite.java.ChangeMethodName:
methodPattern: io.smallrye.mutiny.groups.UniOnNotNull apply(java.util.function.Function)
newMethodName: transform
- org.openrewrite.java.ChangeMethodName:
methodPattern: io.smallrye.mutiny.groups.MultiOnFailure apply(java.util.function.Function)
newMethodName: transform
- org.openrewrite.java.ChangeMethodName:
methodPattern: io.smallrye.mutiny.groups.MultiOnItem apply(java.util.function.Function)
newMethodName: transform
---
type: specs.openrewrite.org/v1beta/recipe
name: org.openrewrite.quarkus.quarkus2.Quarkus1to2Migration
displayName: Quarkus 2.x migration from Quarkus 1.x
description: Migrates Quarkus 1.x to 2.x.
recipeList:
- org.openrewrite.quarkus.Quarkus1to1_13Migration
- org.openrewrite.quarkus.quarkus2.GrpcServiceAnnotationToGrpcClient
- org.openrewrite.quarkus.quarkus2.RemoveAvroMavenPlugin
- org.openrewrite.quarkus.quarkus2.UseIdentifierOnDefaultKafkaBroker
- org.openrewrite.quarkus.quarkus2.UsePanacheEntityBaseStaticMethods
- org.openrewrite.quarkus.quarkus2.UsePanacheEntityBaseUniT
- org.openrewrite.quarkus.quarkus2.UseReactivePanacheMongoEntityBaseUniT
- org.openrewrite.properties.ChangePropertyKey:
oldPropertyKey: smallrye.jwt.sign.key-location
newPropertyKey: smallrye.jwt.sign.key.location
- org.openrewrite.properties.ChangePropertyKey:
oldPropertyKey: smallrye.jwt.encrypt.key-location
newPropertyKey: smallrye.jwt.encrypt.key.location
- org.openrewrite.properties.ChangePropertyKey:
oldPropertyKey: quarkus.neo4j.pool.metrics-enabled
newPropertyKey: quarkus.neo4j.pool.metrics.enabled
- org.openrewrite.properties.ChangePropertyValue:
propertyKey: quarkus.quartz.force-start
newValue: forced
- org.openrewrite.properties.ChangePropertyKey:
oldPropertyKey: quarkus.quartz.force-start
newPropertyKey: quarkus.quartz.start-mode
- org.openrewrite.properties.ChangePropertyValue:
propertyKey: quarkus.quartz.store-type
oldValue: db
newValue: jdbc-cmt
- org.openrewrite.java.ChangeType:
oldFullyQualifiedTypeName: io.quarkus.qute.api.CheckedTemplate
newFullyQualifiedTypeName: io.quarkus.qute.CheckedTemplate
- org.openrewrite.java.ChangeType:
oldFullyQualifiedTypeName: io.quarkus.qute.api.ResourcePath
newFullyQualifiedTypeName: io.quarkus.qute.Location
- org.openrewrite.java.ChangeType:
oldFullyQualifiedTypeName: io.quarkus.mongodb.runtime.MongoClientName
newFullyQualifiedTypeName: io.quarkus.mongodb.MongoClientName
- org.openrewrite.maven.ChangeParentPom:
oldGroupId: io.quarkus
oldArtifactId: quarkus-universe-bom
newVersion: 2.x
- org.openrewrite.java.dependencies.UpgradeDependencyVersion:
groupId: io.quarkus
artifactId: quarkus-universe-bom
newVersion: 2.x
- org.openrewrite.maven.ChangeParentPom:
oldGroupId: io.quarkus
oldArtifactId: quarkus-bom
newVersion: 2.x
- org.openrewrite.java.dependencies.UpgradeDependencyVersion:
groupId: io.quarkus
artifactId: quarkus-bom
newVersion: 2.x
- org.openrewrite.maven.UpgradePluginVersion:
groupId: io.quarkus
artifactId: quarkus-maven-plugin
newVersion: 2.x
- org.openrewrite.java.ChangePackage:
oldPackageName: io.vertx.core.http.HttpMethod
newPackageName: io.quarkus.vertx.web.Route.HttpMethod
recursive: false