Design Partners
Quarkus 1.13 migration from Quarkus 1.11
** org.openrewrite.java.quarkus.Quarkus1to1_13Migration** Migrates Quarkus 1.11 to 1.13.

Source

  • groupId: org.openrewrite.recipe
  • artifactId: rewrite-quarkus
  • version: 1.7.0

Usage

This recipe has no required configuration options and can be activated directly after taking a dependency on org.openrewrite.recipe:rewrite-quarkus:1.7.0 in your build file:
Gradle
Maven
build.gradle
1
plugins {
2
id("org.openrewrite.rewrite") version("5.22.2")
3
}
4
5
rewrite {
6
activeRecipe("org.openrewrite.java.quarkus.Quarkus1to1_13Migration")
7
}
8
9
repositories {
10
mavenCentral()
11
}
12
13
dependencies {
14
rewrite("org.openrewrite.recipe:rewrite-quarkus:1.7.0")
15
}
Copied!
pom.xml
1
<project>
2
<build>
3
<plugins>
4
<plugin>
5
<groupId>org.openrewrite.maven</groupId>
6
<artifactId>rewrite-maven-plugin</artifactId>
7
<version>4.25.3</version>
8
<configuration>
9
<activeRecipes>
10
<recipe>org.openrewrite.java.quarkus.Quarkus1to1_13Migration</recipe>
11
</activeRecipes>
12
</configuration>
13
<dependencies>
14
<dependency>
15
<groupId>org.openrewrite.recipe</groupId>
16
<artifactId>rewrite-quarkus</artifactId>
17
<version>1.7.0</version>
18
</dependency>
19
</dependencies>
20
</plugin>
21
</plugins>
22
</build>
23
</project>
Copied!
Recipes can also be activated directly from the command line by adding the argument -Drewrite.activeRecipesorg.openrewrite.java.quarkus.Quarkus1to1_13Migration

Definition

Recipe List
Yaml Recipe List
1
---
2
type: specs.openrewrite.org/v1beta/recipe
3
name: org.openrewrite.java.quarkus.Quarkus1to1_13Migration
4
displayName: Quarkus 1.13 migration from Quarkus 1.11
5
description: Migrates Quarkus 1.11 to 1.13.
6
recipeList:
7
- org.openrewrite.java.quarkus.ConfigPropertiesToConfigMapping
8
- org.openrewrite.java.quarkus.MultiTransformHotStreamToMultiHotStream
9
- org.openrewrite.java.quarkus.MigrateQuarkusMavenPluginNativeImageGoal
10
- org.openrewrite.java.quarkus.ConfigureQuarkusMavenPluginWithReasonableDefaults
11
- org.openrewrite.properties.ChangePropertyKey:
12
oldPropertyKey: quarkus.dev.instrumentation
13
newPropertyKey: quarkus.live-reload.instrumentation
14
- org.openrewrite.java.ChangeMethodName:
15
methodPattern: io.smallrye.mutiny.Multi collectItems()
16
newMethodName: collect
17
- org.openrewrite.java.ChangeMethodName:
18
methodPattern: io.smallrye.mutiny.Multi groupItems()
19
newMethodName: group
20
- org.openrewrite.java.ChangeMethodName:
21
methodPattern: io.smallrye.mutiny.Multi transform()
22
newMethodName: select
23
- org.openrewrite.java.ChangeMethodName:
24
methodPattern: io.smallrye.mutiny.groups.MultiTransform byTakingFirstItems(..)
25
newMethodName: first
26
- org.openrewrite.java.ChangeMethodName:
27
methodPattern: io.smallrye.mutiny.groups.MultiTransform byFilteringItemsWith(..)
28
newMethodName: where
29
- org.openrewrite.java.ChangeMethodName:
30
methodPattern: io.smallrye.mutiny.Multi subscribeOn(java.util.concurrent.Executor)
31
newMethodName: runSubscriptionOn
32
- org.openrewrite.java.ChangeMethodName:
33
methodPattern: io.smallrye.mutiny.Uni subscribeOn(java.util.concurrent.Executor)
34
newMethodName: runSubscriptionOn
35
- org.openrewrite.java.ChangeMethodName:
36
methodPattern: io.smallrye.mutiny.groups.UniOnFailure apply(java.util.function.Function)
37
newMethodName: transform
38
- org.openrewrite.java.ChangeMethodName:
39
methodPattern: io.smallrye.mutiny.groups.UniOnItem apply(java.util.function.Function)
40
newMethodName: transform
41
- org.openrewrite.java.ChangeMethodName:
42
methodPattern: io.smallrye.mutiny.groups.UniOnItemOrFailure apply(java.util.function.BiFunction)
43
newMethodName: transform
44
- org.openrewrite.java.ChangeMethodName:
45
methodPattern: io.smallrye.mutiny.groups.UniOnNotNull apply(java.util.function.Function)
46
newMethodName: transform
47
- org.openrewrite.java.ChangeMethodName:
48
methodPattern: io.smallrye.mutiny.groups.MultiOnFailure apply(java.util.function.Function)
49
newMethodName: transform
50
- org.openrewrite.java.ChangeMethodName:
51
methodPattern: io.smallrye.mutiny.groups.MultiOnItem apply(java.util.function.Function)
52
newMethodName: transform
Copied!
Export as PDF
Copy link