From aa15bae75f4bc16c3b75fbeaf93263b357b23c47 Mon Sep 17 00:00:00 2001 From: Jenkins CI Date: Mon, 17 Jul 2023 23:22:38 -0400 Subject: [PATCH] [Quarkus 3] Updated rewrite data --- .../quarkus-3/patches/0001_before_sh.patch | 32 +++++++++++++++++++ .ci/environments/quarkus-3/quarkus3.yml | 14 ++++---- 2 files changed, 39 insertions(+), 7 deletions(-) diff --git a/.ci/environments/quarkus-3/patches/0001_before_sh.patch b/.ci/environments/quarkus-3/patches/0001_before_sh.patch index e90bb587251..1cb61ce7636 100644 --- a/.ci/environments/quarkus-3/patches/0001_before_sh.patch +++ b/.ci/environments/quarkus-3/patches/0001_before_sh.patch @@ -2360,6 +2360,38 @@ index 83e7d81c55..8daa52c6e1 100644 import org.kie.kogito.persistence.rocksdb.RocksDBProcessInstancesFactory; import org.kie.kogito.process.ProcessInstancesFactory; import org.rocksdb.Options; +diff --git a/quarkus/addons/process-definitions/runtime/src/main/java/org/kie/kogito/process/definitions/ProcessDefinitionsResource.java b/quarkus/addons/process-definitions/runtime/src/main/java/org/kie/kogito/process/definitions/ProcessDefinitionsResource.java +index c27ce320ff..2c194db0ad 100644 +--- a/quarkus/addons/process-definitions/runtime/src/main/java/org/kie/kogito/process/definitions/ProcessDefinitionsResource.java ++++ b/quarkus/addons/process-definitions/runtime/src/main/java/org/kie/kogito/process/definitions/ProcessDefinitionsResource.java +@@ -15,18 +15,18 @@ + */ + package org.kie.kogito.process.definitions; + ++import jakarta.annotation.PostConstruct; ++import jakarta.annotation.PreDestroy; + import java.io.IOException; + import java.io.StringReader; + +-import javax.annotation.PostConstruct; +-import javax.annotation.PreDestroy; +-import javax.ws.rs.Consumes; +-import javax.ws.rs.POST; +-import javax.ws.rs.Path; +-import javax.ws.rs.PathParam; +-import javax.ws.rs.Produces; +-import javax.ws.rs.core.MediaType; +-import javax.ws.rs.core.Response; ++import jakarta.ws.rs.Consumes; ++import jakarta.ws.rs.POST; ++import jakarta.ws.rs.Path; ++import jakarta.ws.rs.PathParam; ++import jakarta.ws.rs.Produces; ++import jakarta.ws.rs.core.MediaType; ++import jakarta.ws.rs.core.Response; + + import org.kie.kogito.serverless.workflow.executor.StaticWorkflowApplication; + import org.kie.kogito.serverless.workflow.models.JsonNodeModel; diff --git a/quarkus/addons/process-management/runtime/pom.xml b/quarkus/addons/process-management/runtime/pom.xml index ce0eedf6cd..eea0ab21f5 100644 --- a/quarkus/addons/process-management/runtime/pom.xml diff --git a/.ci/environments/quarkus-3/quarkus3.yml b/.ci/environments/quarkus-3/quarkus3.yml index 0ff1c2801d5..26038a901ea 100644 --- a/.ci/environments/quarkus-3/quarkus3.yml +++ b/.ci/environments/quarkus-3/quarkus3.yml @@ -3,12 +3,12 @@ description: Update Quarkus version and refactor imports and resources if needed type: specs.openrewrite.org/v1beta/recipe recipeList: - org.openrewrite.maven.ChangePropertyValue: { - key: version.io.quarkus, - newValue: 3.0.0.Final + newValue: 3.0.0.Final, + key: version.io.quarkus } - org.openrewrite.maven.ChangePropertyValue: { - key: version.org.kie, - newValue: 9.42.0-SNAPSHOT + newValue: 9.42.0-SNAPSHOT, + key: version.org.kie } - org.kie.kogito.Quarkus3Migration - org.kie.ManagedDependencies @@ -147,9 +147,6 @@ recipeList: newArtifactId: infinispan-client-hotrod-jakarta } --- -type: specs.openrewrite.org/v1beta/recipe -description: Update all managed dependencies based on dependency updates from Quarkus. -name: org.kie.ManagedDependencies displayName: Update Managed Dependencies recipeList: - org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { @@ -535,6 +532,9 @@ recipeList: newGroupId: org.keycloak, newArtifactId: keycloak-admin-client-jakarta } +type: specs.openrewrite.org/v1beta/recipe +description: Update all managed dependencies based on dependency updates from Quarkus. +name: org.kie.ManagedDependencies --- type: specs.openrewrite.org/v1beta/recipe name: io.quarkus.updates.core.quarkus30.UpgradeQuarkiverse