From 2d2ab5a7aa28cba24c3ea6c5dc092de6f68d3c00 Mon Sep 17 00:00:00 2001 From: Roberto Oliveira Date: Mon, 18 Nov 2024 11:11:54 -0500 Subject: [PATCH 1/4] [incubator-kie-issues#1504] Conditionally build all or only reproducible modules based on only.reproducible flag (#2107) --- pom.xml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 554fc18758..0b560abd24 100644 --- a/pom.xml +++ b/pom.xml @@ -90,7 +90,6 @@ 2024-01-16T00:00:00Z - 3.4.1 @@ -99,9 +98,10 @@ org.apache.maven.plugins maven-artifact-plugin - ${version.maven.artifact.plugin} ${project.build.outputTimestamp} + + image-build.zip @@ -131,10 +131,20 @@ explainability trusty jitexecutor - apps-integration-tests + + allSubmodules + + + !only.reproducible + + + + apps-integration-tests + + optaplanner-downstream From 09037bbe9ac964c31c7d8795ac238082df70e448 Mon Sep 17 00:00:00 2001 From: AthiraHari77 Date: Fri, 15 Nov 2024 15:02:53 +0530 Subject: [PATCH 2/4] [Incubator-kie-issues#1605] DMN JIT Executor successfully executing invalid DMN (#2142) * [incubator-kie-issues#1605] Added validation checks before model evaluation to handle invalid models * [incubator-kie-issues#1605] WIP * [incubator-kie-issues#1605] Updated test cases * [incubator-kie-issues#1605] Mockito dependency added * [incubator-kie-issues#1605] Fixing imports * [incubator-kie-issues#1605] Fixing review comments * [incubator-kie-issues#1605] Code update for SchemaResource * [incubator-kie-issues#1605] Code update for DMNEvaluator * [incubator-kie-issues#1605] Code refactoring --------- Co-authored-by: athira --- jitexecutor/jitexecutor-dmn/pom.xml | 5 + .../kogito/jitexecutor/dmn/DMNEvaluator.java | 67 ++++++++------ .../dmn/api/DMNResourceHelper.java | 38 ++++++++ .../jitexecutor/dmn/api/JITDMNResource.java | 32 ++++--- .../jitexecutor/dmn/api/SchemaResource.java | 41 ++++++--- .../jitexecutor/dmn/DMNEvaluatorTest.java | 91 +++++++++++++++++++ .../dmn/DMNResourceHelperTest.java | 55 +++++++++++ .../kogito/jitexecutor/dmn/TestingUtils.java | 4 +- .../dmn/api/JITDMNResourceTest.java | 52 ++++++++++- .../dmn/api/SchemaResourceTest.java | 13 +++ 10 files changed, 342 insertions(+), 56 deletions(-) create mode 100644 jitexecutor/jitexecutor-dmn/src/main/java/org/kie/kogito/jitexecutor/dmn/api/DMNResourceHelper.java create mode 100644 jitexecutor/jitexecutor-dmn/src/test/java/org/kie/kogito/jitexecutor/dmn/DMNEvaluatorTest.java create mode 100644 jitexecutor/jitexecutor-dmn/src/test/java/org/kie/kogito/jitexecutor/dmn/DMNResourceHelperTest.java diff --git a/jitexecutor/jitexecutor-dmn/pom.xml b/jitexecutor/jitexecutor-dmn/pom.xml index f38b164c83..a2e705a419 100644 --- a/jitexecutor/jitexecutor-dmn/pom.xml +++ b/jitexecutor/jitexecutor-dmn/pom.xml @@ -121,6 +121,11 @@ assertj-core test + + org.mockito + mockito-junit-jupiter + test + diff --git a/jitexecutor/jitexecutor-dmn/src/main/java/org/kie/kogito/jitexecutor/dmn/DMNEvaluator.java b/jitexecutor/jitexecutor-dmn/src/main/java/org/kie/kogito/jitexecutor/dmn/DMNEvaluator.java index 7c73c5eccc..54840c86b8 100644 --- a/jitexecutor/jitexecutor-dmn/src/main/java/org/kie/kogito/jitexecutor/dmn/DMNEvaluator.java +++ b/jitexecutor/jitexecutor-dmn/src/main/java/org/kie/kogito/jitexecutor/dmn/DMNEvaluator.java @@ -22,11 +22,15 @@ import java.util.Collection; import java.util.Collections; import java.util.HashMap; +import java.util.List; import java.util.Map; import java.util.Optional; +import java.util.stream.Collectors; +import org.kie.api.builder.Message; import org.kie.api.io.Resource; import org.kie.dmn.api.core.DMNContext; +import org.kie.dmn.api.core.DMNMessage; import org.kie.dmn.api.core.DMNModel; import org.kie.dmn.api.core.DMNResult; import org.kie.dmn.api.core.DMNRuntime; @@ -51,7 +55,43 @@ public static DMNEvaluator fromXML(String modelXML) { .fromResources(Collections.singletonList(modelResource)).getOrElseThrow(RuntimeException::new); dmnRuntime.addListener(new JITDMNListener()); DMNModel dmnModel = dmnRuntime.getModels().get(0); - return new DMNEvaluator(dmnModel, dmnRuntime); + return validateForErrors(dmnModel, dmnRuntime); + } + + public static DMNEvaluator fromMultiple(MultipleResourcesPayload payload) { + Map resources = new HashMap<>(); + for (ResourceWithURI r : payload.getResources()) { + Resource readerResource = ResourceFactory.newReaderResource(new StringReader(r.getContent()), "UTF-8"); + readerResource.setSourcePath(r.getURI()); + resources.put(r.getURI(), readerResource); + } + ResolveByKey rbk = new ResolveByKey(resources); + DMNRuntime dmnRuntime = DMNRuntimeBuilder.fromDefaults() + .setRelativeImportResolver((x, y, locationURI) -> rbk.readerByKey(locationURI)) + .buildConfiguration() + .fromResources(resources.values()) + .getOrElseThrow(RuntimeException::new); + DMNModel mainModel = null; + for (DMNModel m : dmnRuntime.getModels()) { + if (m.getResource().getSourcePath().equals(payload.getMainURI())) { + mainModel = m; + break; + } + } + if (mainModel == null) { + throw new IllegalStateException("Was not able to identify main model from MultipleResourcesPayload contents."); + } + return validateForErrors(mainModel, dmnRuntime); + } + + static DMNEvaluator validateForErrors(DMNModel dmnModel, DMNRuntime dmnRuntime) { + if (dmnModel.hasErrors()) { + List messages = dmnModel.getMessages(DMNMessage.Severity.ERROR); + String errorMessage = messages.stream().map(Message::getText).collect(Collectors.joining(", ")); + throw new IllegalStateException(errorMessage); + } else { + return new DMNEvaluator(dmnModel, dmnRuntime); + } } private DMNEvaluator(DMNModel dmnModel, DMNRuntime dmnRuntime) { @@ -88,29 +128,4 @@ public JITDMNResult evaluate(Map context) { return new JITDMNResult(getNamespace(), getName(), dmnResult, evaluationHitIds.orElse(Collections.emptyMap())); } - public static DMNEvaluator fromMultiple(MultipleResourcesPayload payload) { - Map resources = new HashMap<>(); - for (ResourceWithURI r : payload.getResources()) { - Resource readerResource = ResourceFactory.newReaderResource(new StringReader(r.getContent()), "UTF-8"); - readerResource.setSourcePath(r.getURI()); - resources.put(r.getURI(), readerResource); - } - ResolveByKey rbk = new ResolveByKey(resources); - DMNRuntime dmnRuntime = DMNRuntimeBuilder.fromDefaults() - .setRelativeImportResolver((x, y, locationURI) -> rbk.readerByKey(locationURI)) - .buildConfiguration() - .fromResources(resources.values()) - .getOrElseThrow(RuntimeException::new); - DMNModel mainModel = null; - for (DMNModel m : dmnRuntime.getModels()) { - if (m.getResource().getSourcePath().equals(payload.getMainURI())) { - mainModel = m; - break; - } - } - if (mainModel == null) { - throw new IllegalStateException("Was not able to identify main model from MultipleResourcesPayload contents."); - } - return new DMNEvaluator(mainModel, dmnRuntime); - } } diff --git a/jitexecutor/jitexecutor-dmn/src/main/java/org/kie/kogito/jitexecutor/dmn/api/DMNResourceHelper.java b/jitexecutor/jitexecutor-dmn/src/main/java/org/kie/kogito/jitexecutor/dmn/api/DMNResourceHelper.java new file mode 100644 index 0000000000..b06064acc2 --- /dev/null +++ b/jitexecutor/jitexecutor-dmn/src/main/java/org/kie/kogito/jitexecutor/dmn/api/DMNResourceHelper.java @@ -0,0 +1,38 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 + * + * http://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. + */ +package org.kie.kogito.jitexecutor.dmn.api; + +import java.util.function.Supplier; + +import jakarta.ws.rs.core.Response; + +public class DMNResourceHelper { + + private DMNResourceHelper() { + } + + public static Response manageResponse(Supplier responseSupplier) { + try { + return responseSupplier.get(); + } catch (Exception e) { + String errorMessage = e.getMessage() != null ? e.getMessage() : "Failed to get result due to " + e.getClass().getName(); + return Response.status(Response.Status.BAD_REQUEST).entity(errorMessage).build(); + } + } +} diff --git a/jitexecutor/jitexecutor-dmn/src/main/java/org/kie/kogito/jitexecutor/dmn/api/JITDMNResource.java b/jitexecutor/jitexecutor-dmn/src/main/java/org/kie/kogito/jitexecutor/dmn/api/JITDMNResource.java index 69d4eb8b87..19afd5c2e7 100644 --- a/jitexecutor/jitexecutor-dmn/src/main/java/org/kie/kogito/jitexecutor/dmn/api/JITDMNResource.java +++ b/jitexecutor/jitexecutor-dmn/src/main/java/org/kie/kogito/jitexecutor/dmn/api/JITDMNResource.java @@ -21,6 +21,7 @@ import java.util.HashMap; import java.util.Map; import java.util.Map.Entry; +import java.util.function.Supplier; import org.kie.dmn.core.internal.utils.MarshallingStubUtils; import org.kie.kogito.jitexecutor.dmn.JITDMNService; @@ -56,12 +57,15 @@ public Response jitdmn(JITDMNPayload payload) { LOGGER.debug("jitdmn/"); LOGGER.debug(payload.toString()); LOGGER.debug(LINEBREAK); - JITDMNResult evaluateAll = payload.getModel() != null ? jitdmnService.evaluateModel(payload.getModel(), payload.getContext()) : jitdmnService.evaluateModel(payload, payload.getContext()); - Map restResulk = new HashMap<>(); - for (Entry kv : evaluateAll.getContext().getAll().entrySet()) { - restResulk.put(kv.getKey(), MarshallingStubUtils.stubDMNResult(kv.getValue(), String::valueOf)); - } - return Response.ok(restResulk).build(); + Supplier supplier = () -> { + JITDMNResult evaluateAll = payload.getModel() != null ? jitdmnService.evaluateModel(payload.getModel(), payload.getContext()) : jitdmnService.evaluateModel(payload, payload.getContext()); + Map restResulk = new HashMap<>(); + for (Entry kv : evaluateAll.getContext().getAll().entrySet()) { + restResulk.put(kv.getKey(), MarshallingStubUtils.stubDMNResult(kv.getValue(), String::valueOf)); + } + return Response.ok(restResulk).build(); + }; + return DMNResourceHelper.manageResponse(supplier); } @POST @@ -73,8 +77,11 @@ public Response jitdmnResult(JITDMNPayload payload) { LOGGER.debug("jitdmn/dmnresult"); LOGGER.debug(payload.toString()); LOGGER.debug(LINEBREAK); - JITDMNResult dmnResult = payload.getModel() != null ? jitdmnService.evaluateModel(payload.getModel(), payload.getContext()) : jitdmnService.evaluateModel(payload, payload.getContext()); - return Response.ok(dmnResult).build(); + Supplier supplier = () -> { + JITDMNResult dmnResult = payload.getModel() != null ? jitdmnService.evaluateModel(payload.getModel(), payload.getContext()) : jitdmnService.evaluateModel(payload, payload.getContext()); + return Response.ok(dmnResult).build(); + }; + return DMNResourceHelper.manageResponse(supplier); } @POST @@ -86,9 +93,12 @@ public Response jitEvaluateAndExplain(JITDMNPayload payload) { LOGGER.debug("jitdmn/evaluateAndExplain"); LOGGER.debug(payload.toString()); LOGGER.debug(LINEBREAK); - DMNResultWithExplanation response = - payload.getModel() != null ? jitdmnService.evaluateModelAndExplain(payload.getModel(), payload.getContext()) : jitdmnService.evaluateModelAndExplain(payload, payload.getContext()); - return Response.ok(response).build(); + Supplier supplier = () -> { + DMNResultWithExplanation response = + payload.getModel() != null ? jitdmnService.evaluateModelAndExplain(payload.getModel(), payload.getContext()) : jitdmnService.evaluateModelAndExplain(payload, payload.getContext()); + return Response.ok(response).build(); + }; + return DMNResourceHelper.manageResponse(supplier); } } diff --git a/jitexecutor/jitexecutor-dmn/src/main/java/org/kie/kogito/jitexecutor/dmn/api/SchemaResource.java b/jitexecutor/jitexecutor-dmn/src/main/java/org/kie/kogito/jitexecutor/dmn/api/SchemaResource.java index b1ce72029c..674cff40b2 100644 --- a/jitexecutor/jitexecutor-dmn/src/main/java/org/kie/kogito/jitexecutor/dmn/api/SchemaResource.java +++ b/jitexecutor/jitexecutor-dmn/src/main/java/org/kie/kogito/jitexecutor/dmn/api/SchemaResource.java @@ -21,6 +21,7 @@ import java.util.Collections; import java.util.List; import java.util.Map; +import java.util.function.Supplier; import org.eclipse.microprofile.openapi.OASFactory; import org.eclipse.microprofile.openapi.models.OpenAPI; @@ -75,9 +76,12 @@ public Response schema(String payload) { LOGGER.debug("jitdmn/validate"); LOGGER.debug(payload); LOGGER.debug(LINEBREAK); - DMNModel dmnModel = DMNEvaluator.fromXML(payload).getDmnModel(); - DMNOASResult oasResult = DMNOASGeneratorFactory.generator(Collections.singletonList(dmnModel)).build(); - return fullSchema(dmnModel, oasResult, true); + Supplier supplier = () -> { + DMNModel dmnModel = DMNEvaluator.fromXML(payload).getDmnModel(); + DMNOASResult oasResult = DMNOASGeneratorFactory.generator(Collections.singletonList(dmnModel)).build(); + return fullSchema(dmnModel, oasResult, true); + }; + return DMNResourceHelper.manageResponse(supplier); } private Response fullSchema(DMNModel dmnModel, DMNOASResult oasResult, final boolean singleModel) { @@ -111,10 +115,13 @@ private Response fullSchema(DMNModel dmnModel, DMNOASResult oasResult, final boo @Consumes(MediaType.APPLICATION_JSON) @Produces(MediaType.APPLICATION_JSON) public Response schema(MultipleResourcesPayload payload) { - DMNEvaluator dmnEvaluator = DMNEvaluator.fromMultiple(payload); - DMNModel dmnModel = dmnEvaluator.getDmnModel(); - DMNOASResult oasResult = DMNOASGeneratorFactory.generator(dmnEvaluator.getAllDMNModels()).build(); - return fullSchema(dmnModel, oasResult, false); + Supplier supplier = () -> { + DMNEvaluator dmnEvaluator = DMNEvaluator.fromMultiple(payload); + DMNModel dmnModel = dmnEvaluator.getDmnModel(); + DMNOASResult oasResult = DMNOASGeneratorFactory.generator(dmnEvaluator.getAllDMNModels()).build(); + return fullSchema(dmnModel, oasResult, false); + }; + return DMNResourceHelper.manageResponse(supplier); } @POST @@ -122,9 +129,12 @@ public Response schema(MultipleResourcesPayload payload) { @Produces(MediaType.APPLICATION_JSON) @Path("form") public Response form(String payload) { - DMNModel dmnModel = DMNEvaluator.fromXML(payload).getDmnModel(); - DMNOASResult oasResult = DMNOASGeneratorFactory.generator(Collections.singletonList(dmnModel)).build(); - return formSchema(dmnModel, oasResult); + Supplier supplier = () -> { + DMNModel dmnModel = DMNEvaluator.fromXML(payload).getDmnModel(); + DMNOASResult oasResult = DMNOASGeneratorFactory.generator(Collections.singletonList(dmnModel)).build(); + return formSchema(dmnModel, oasResult); + }; + return DMNResourceHelper.manageResponse(supplier); } @POST @@ -132,10 +142,13 @@ public Response form(String payload) { @Produces(MediaType.APPLICATION_JSON) @Path("form") public Response form(MultipleResourcesPayload payload) { - DMNEvaluator dmnEvaluator = DMNEvaluator.fromMultiple(payload); - DMNModel dmnModel = dmnEvaluator.getDmnModel(); - DMNOASResult oasResult = DMNOASGeneratorFactory.generator(dmnEvaluator.getAllDMNModels()).build(); - return formSchema(dmnModel, oasResult); + Supplier supplier = () -> { + DMNEvaluator dmnEvaluator = DMNEvaluator.fromMultiple(payload); + DMNModel dmnModel = dmnEvaluator.getDmnModel(); + DMNOASResult oasResult = DMNOASGeneratorFactory.generator(dmnEvaluator.getAllDMNModels()).build(); + return formSchema(dmnModel, oasResult); + }; + return DMNResourceHelper.manageResponse(supplier); } private Response formSchema(DMNModel dmnModel, DMNOASResult oasResult) { diff --git a/jitexecutor/jitexecutor-dmn/src/test/java/org/kie/kogito/jitexecutor/dmn/DMNEvaluatorTest.java b/jitexecutor/jitexecutor-dmn/src/test/java/org/kie/kogito/jitexecutor/dmn/DMNEvaluatorTest.java new file mode 100644 index 0000000000..71a5edb1a7 --- /dev/null +++ b/jitexecutor/jitexecutor-dmn/src/test/java/org/kie/kogito/jitexecutor/dmn/DMNEvaluatorTest.java @@ -0,0 +1,91 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 + * + * http://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. + */ +package org.kie.kogito.jitexecutor.dmn; + +import java.io.IOException; +import java.util.Collections; + +import org.junit.jupiter.api.BeforeAll; +import org.junit.jupiter.api.Test; +import org.kie.dmn.api.core.DMNMessage; +import org.kie.dmn.api.core.DMNModel; +import org.kie.dmn.api.core.DMNRuntime; +import org.kie.dmn.core.impl.DMNRuntimeImpl; + +import static org.junit.jupiter.api.Assertions.assertNotNull; +import static org.junit.jupiter.api.Assertions.assertThrows; +import static org.kie.kogito.jitexecutor.dmn.TestingUtils.getModelFromIoUtils; +import static org.mockito.Mockito.mock; +import static org.mockito.Mockito.when; + +public class DMNEvaluatorTest { + + private static String model; + private static String invalidModel; + + @BeforeAll + public static void setup() throws IOException { + model = getModelFromIoUtils("invalid_models/DMNv1_x/test.dmn"); + invalidModel = getModelFromIoUtils("invalid_models/DMNv1_5/DMN-Invalid.dmn"); + } + + @Test + void testFromXMLSuccessModel() { + String modelXML = model; + + DMNEvaluator evaluator = DMNEvaluator.fromXML(modelXML); + assertNotNull(evaluator); + } + + @Test + public void testFromXMLModelWithError() { + String modelXML = invalidModel; + + assertThrows(IllegalStateException.class, () -> { + DMNEvaluator.fromXML(modelXML); + }); + } + + @Test + void testValidateForErrorsThrowsException() { + DMNModel dmnModel = mock(DMNModel.class); + DMNRuntime dmnRuntime = mock(DMNRuntime.class); + DMNMessage message = mock(DMNMessage.class); + + String errorMessage = "Error compiling FEEL expression 'Person Age >= 18' for name 'Can Drive?' on node 'Can Drive?': syntax error near 'Age'"; + when(message.getText()).thenReturn(errorMessage); + when(dmnModel.hasErrors()).thenReturn(true); + when(dmnModel.getMessages(DMNMessage.Severity.ERROR)).thenReturn(Collections.singletonList(message)); + + assertThrows(IllegalStateException.class, + () -> DMNEvaluator.validateForErrors(dmnModel, dmnRuntime), errorMessage); + } + + @Test + void testValidateForErrors() { + DMNModel dmnModel = mock(DMNModel.class); + DMNRuntime dmnRuntime = mock(DMNRuntimeImpl.class); + + when(dmnModel.hasErrors()).thenReturn(false); + DMNEvaluator evaluator = DMNEvaluator.validateForErrors(dmnModel, dmnRuntime); + + assertNotNull(evaluator); + } + +} diff --git a/jitexecutor/jitexecutor-dmn/src/test/java/org/kie/kogito/jitexecutor/dmn/DMNResourceHelperTest.java b/jitexecutor/jitexecutor-dmn/src/test/java/org/kie/kogito/jitexecutor/dmn/DMNResourceHelperTest.java new file mode 100644 index 0000000000..bd6ee56291 --- /dev/null +++ b/jitexecutor/jitexecutor-dmn/src/test/java/org/kie/kogito/jitexecutor/dmn/DMNResourceHelperTest.java @@ -0,0 +1,55 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 + * + * http://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. + */ +package org.kie.kogito.jitexecutor.dmn; + +import java.util.function.Supplier; + +import org.junit.jupiter.api.Test; +import org.kie.kogito.jitexecutor.dmn.api.DMNResourceHelper; + +import jakarta.ws.rs.core.Response; + +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.mockito.Mockito.mock; +import static org.mockito.Mockito.when; + +public class DMNResourceHelperTest { + + @Test + public void testManageResponseWithSuccess() { + Supplier responseSupplier = () -> Response.ok("Success").build(); + try (Response response = DMNResourceHelper.manageResponse(responseSupplier)) { + assertEquals(Response.Status.OK.getStatusCode(), response.getStatus()); + assertEquals("Success", response.getEntity()); + } + + } + + @Test + public void testManageResponseWithFailure() { + Supplier responseSupplier = mock(Supplier.class); + when(responseSupplier.get()).thenThrow(new IllegalStateException("Error : Failed to validate")); + try (Response response = DMNResourceHelper.manageResponse(responseSupplier)) { + assertEquals(Response.Status.BAD_REQUEST.getStatusCode(), response.getStatus()); + assertEquals("Error : Failed to validate", response.getEntity()); + } + + } + +} diff --git a/jitexecutor/jitexecutor-dmn/src/test/java/org/kie/kogito/jitexecutor/dmn/TestingUtils.java b/jitexecutor/jitexecutor-dmn/src/test/java/org/kie/kogito/jitexecutor/dmn/TestingUtils.java index 257b0b4664..f83e0a805a 100644 --- a/jitexecutor/jitexecutor-dmn/src/test/java/org/kie/kogito/jitexecutor/dmn/TestingUtils.java +++ b/jitexecutor/jitexecutor-dmn/src/test/java/org/kie/kogito/jitexecutor/dmn/TestingUtils.java @@ -1,4 +1,4 @@ -/** +/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information @@ -7,7 +7,7 @@ * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://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 diff --git a/jitexecutor/jitexecutor-dmn/src/test/java/org/kie/kogito/jitexecutor/dmn/api/JITDMNResourceTest.java b/jitexecutor/jitexecutor-dmn/src/test/java/org/kie/kogito/jitexecutor/dmn/api/JITDMNResourceTest.java index cacf238916..99634d4d59 100644 --- a/jitexecutor/jitexecutor-dmn/src/test/java/org/kie/kogito/jitexecutor/dmn/api/JITDMNResourceTest.java +++ b/jitexecutor/jitexecutor-dmn/src/test/java/org/kie/kogito/jitexecutor/dmn/api/JITDMNResourceTest.java @@ -46,6 +46,7 @@ @QuarkusTest public class JITDMNResourceTest { + private static String model; private static String invalidModel; private static String modelWithExtensionElements; private static String modelWithMultipleEvaluationHitIds; @@ -60,14 +61,15 @@ public class JITDMNResourceTest { @BeforeAll public static void setup() throws IOException { - invalidModel = getModelFromIoUtils("invalid_models/DMNv1_x/test.dmn"); + model = getModelFromIoUtils("invalid_models/DMNv1_x/test.dmn"); + invalidModel = getModelFromIoUtils("invalid_models/DMNv1_5/DMN-Invalid.dmn"); modelWithExtensionElements = getModelFromIoUtils("valid_models/DMNv1_x/testWithExtensionElements.dmn"); modelWithMultipleEvaluationHitIds = getModelFromIoUtils("valid_models/DMNv1_5/MultipleHitRules.dmn"); } @Test void testjitEndpoint() { - JITDMNPayload jitdmnpayload = new JITDMNPayload(invalidModel, buildContext()); + JITDMNPayload jitdmnpayload = new JITDMNPayload(model, buildContext()); given() .contentType(ContentType.JSON) .body(jitdmnpayload) @@ -116,7 +118,7 @@ void testjitdmnResultEndpointWithEvaluationHitIds() throws JsonProcessingExcepti @Test void testjitExplainabilityEndpoint() { - JITDMNPayload jitdmnpayload = new JITDMNPayload(invalidModel, buildContext()); + JITDMNPayload jitdmnpayload = new JITDMNPayload(model, buildContext()); given() .contentType(ContentType.JSON) .body(jitdmnpayload) @@ -143,6 +145,42 @@ void testjitdmnWithExtensionElements() { .body(containsString("m"), containsString("n"), containsString("sum")); } + @Test + void testjitEndpointFailure() { + JITDMNPayload jitdmnpayload = new JITDMNPayload(invalidModel, buildContext()); + given() + .contentType(ContentType.JSON) + .body(jitdmnpayload) + .when().post("/jitdmn") + .then() + .statusCode(400) + .body(containsString("Error compiling FEEL expression 'Person Age >= 18' for name 'Can Drive?' on node 'Can Drive?': syntax error near 'Age'")); + } + + @Test + void testjitdmnEvaluateInvalidModel() { + JITDMNPayload jitdmnpayload = new JITDMNPayload(invalidModel, buildInvalidModelContext()); + given() + .contentType(ContentType.JSON) + .body(jitdmnpayload) + .when().post("/jitdmn/dmnresult") + .then() + .statusCode(400) + .body(containsString("Error compiling FEEL expression 'Person Age >= 18' for name 'Can Drive?' on node 'Can Drive?': syntax error near 'Age'")); + } + + @Test + void testjitdmnEvaluateAndExplainInvalidModel() { + JITDMNPayload jitdmnpayload = new JITDMNPayload(invalidModel, buildInvalidModelContext()); + given() + .contentType(ContentType.JSON) + .body(jitdmnpayload) + .when().post("/jitdmn/evaluateAndExplain") + .then() + .statusCode(400) + .body(containsString("Error compiling FEEL expression 'Person Age >= 18' for name 'Can Drive?' on node 'Can Drive?': syntax error near 'Age'")); + } + private Map buildContext() { Map context = new HashMap<>(); context.put("FICO Score", 800); @@ -160,4 +198,12 @@ private Map buildMultipleHitContext() { context.put("Numbers", numbers); return context; } + + private Map buildInvalidModelContext() { + Map context = new HashMap<>(); + context.put("Can Drive?", false); + context.put("Person Age", 14); + context.put("Id", 1); + return context; + } } diff --git a/jitexecutor/jitexecutor-dmn/src/test/java/org/kie/kogito/jitexecutor/dmn/api/SchemaResourceTest.java b/jitexecutor/jitexecutor-dmn/src/test/java/org/kie/kogito/jitexecutor/dmn/api/SchemaResourceTest.java index feb28be1c3..6cd22bd460 100644 --- a/jitexecutor/jitexecutor-dmn/src/test/java/org/kie/kogito/jitexecutor/dmn/api/SchemaResourceTest.java +++ b/jitexecutor/jitexecutor-dmn/src/test/java/org/kie/kogito/jitexecutor/dmn/api/SchemaResourceTest.java @@ -43,4 +43,17 @@ public void test() throws IOException { .statusCode(200) .body(containsString("InputSet"), containsString("x-dmn-type")); } + + @Test + public void testJitDmnValidate() throws IOException { + final String MODEL = getModelFromIoUtils("invalid_models/DMNv1_5/DMN-Invalid.dmn"); + given() + .contentType(ContentType.XML) + .body(MODEL) + .when().post("/jitdmn/schema") + .then() + .statusCode(400) + .body(containsString("Error compiling FEEL expression 'Person Age >= 18' for name 'Can Drive?' on node 'Can Drive?': syntax error near 'Age'")); + + } } From 0c2614af34658f0c3e81b8b2ca6f184e29d43ac9 Mon Sep 17 00:00:00 2001 From: Enrique Date: Mon, 18 Nov 2024 14:09:58 +0100 Subject: [PATCH 3/4] [incubator-kie-issues-1551] Deadlines for Human Task (#2128) --- .../service/json/JacksonConfiguration.java | 6 +- .../json/JobDescriptionDeserializer.java | 85 +++++++++++++++++++ ...zer.java => JobDescriptionSerializer.java} | 32 ++++--- ...essInstanceJobDescriptionDeserializer.java | 67 --------------- .../jobs/embedded/EmbeddedJobExecutor.java | 79 +++++++++++++---- .../jobs/embedded/EmbeddedJobsService.java | 11 +-- .../kogito/jobs/embedded/InVMPayloadData.java | 14 +-- .../jobs/embedded/JobInVMEventPublisher.java | 19 +++-- .../embedded/EmbeddedJobsServiceTest.java | 10 +-- 9 files changed, 197 insertions(+), 126 deletions(-) create mode 100644 jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/json/JobDescriptionDeserializer.java rename jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/json/{ProcessInstanceJobDescriptionSerializer.java => JobDescriptionSerializer.java} (50%) delete mode 100644 jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/json/ProcessInstanceJobDescriptionDeserializer.java diff --git a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/json/JacksonConfiguration.java b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/json/JacksonConfiguration.java index cfbbd024a5..f1603c1ef4 100644 --- a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/json/JacksonConfiguration.java +++ b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/json/JacksonConfiguration.java @@ -20,7 +20,7 @@ import org.kie.kogito.jobs.DurationExpirationTime; import org.kie.kogito.jobs.ExactExpirationTime; -import org.kie.kogito.jobs.ProcessInstanceJobDescription; +import org.kie.kogito.jobs.JobDescription; import org.kie.kogito.jobs.service.api.serlialization.SerializationUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -46,8 +46,8 @@ public ObjectMapperCustomizer customizer() { return objectMapper -> { LOGGER.debug("Jackson customization initialized."); SimpleModule kogitoCustomModule = new SimpleModule(); - kogitoCustomModule.addSerializer(ProcessInstanceJobDescription.class, new ProcessInstanceJobDescriptionSerializer()); - kogitoCustomModule.addDeserializer(ProcessInstanceJobDescription.class, new ProcessInstanceJobDescriptionDeserializer()); + kogitoCustomModule.addSerializer(JobDescription.class, new JobDescriptionSerializer()); + kogitoCustomModule.addDeserializer(JobDescription.class, new JobDescriptionDeserializer()); kogitoCustomModule.addSerializer(DurationExpirationTime.class, new DurationExpirationTimeSerializer()); kogitoCustomModule.addDeserializer(DurationExpirationTime.class, new DurationExpirationTimeDeserializer()); kogitoCustomModule.addSerializer(ExactExpirationTime.class, new ExactExpirationTimeSerializer()); diff --git a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/json/JobDescriptionDeserializer.java b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/json/JobDescriptionDeserializer.java new file mode 100644 index 0000000000..f0a72db2b4 --- /dev/null +++ b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/json/JobDescriptionDeserializer.java @@ -0,0 +1,85 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 + * + * http://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. + */ +package org.kie.kogito.jobs.service.json; + +import java.io.IOException; + +import org.kie.kogito.jobs.ExpirationTime; +import org.kie.kogito.jobs.JobDescription; +import org.kie.kogito.jobs.descriptors.ProcessInstanceJobDescription; +import org.kie.kogito.jobs.descriptors.ProcessInstanceJobDescriptionBuilder; +import org.kie.kogito.jobs.descriptors.UserTaskInstanceJobDescription; +import org.kie.kogito.jobs.descriptors.UserTaskInstanceJobDescriptionBuilder; + +import com.fasterxml.jackson.core.JacksonException; +import com.fasterxml.jackson.core.JsonParser; +import com.fasterxml.jackson.databind.DeserializationContext; +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.deser.std.StdDeserializer; + +import static java.util.Optional.ofNullable; + +public class JobDescriptionDeserializer extends StdDeserializer { + + private static final long serialVersionUID = -8307549297456060422L; + + public JobDescriptionDeserializer() { + super(ProcessInstanceJobDescription.class); + } + + @Override + public JobDescription deserialize(JsonParser jp, DeserializationContext ctxt) throws IOException, JacksonException { + try { + JsonNode node = jp.getCodec().readTree(jp); + String jobDescriptionType = node.get("@type").asText(); + switch (jobDescriptionType) { + case "ProcessInstanceJobDescription": { + ProcessInstanceJobDescriptionBuilder builder = ProcessInstanceJobDescription.newProcessInstanceJobDescriptionBuilder(); + ofNullable(node.get("id")).ifPresent(e -> builder.id(e.textValue())); + ofNullable(node.get("priority")).ifPresent(e -> builder.priority(e.asInt())); + String expirationTimeType = node.get("expirationTime").get("@type").asText(); + builder.expirationTime((ExpirationTime) ctxt.readTreeAsValue(node.get("expirationTime"), Class.forName(expirationTimeType))); + + ofNullable(node.get("timerId")).ifPresent(e -> builder.timerId(e.textValue())); + ofNullable(node.get("processInstanceId")).ifPresent(e -> builder.processInstanceId(e.textValue())); + ofNullable(node.get("rootProcessInstanceId")).ifPresent(e -> builder.rootProcessInstanceId(e.textValue())); + ofNullable(node.get("processId")).ifPresent(e -> builder.processId(e.textValue())); + ofNullable(node.get("rootProcessId")).ifPresent(e -> builder.rootProcessId(e.textValue())); + ofNullable(node.get("nodeInstanceId")).ifPresent(e -> builder.nodeInstanceId(e.textValue())); + + return builder.build(); + } + case "UserTaskInstanceJobDescription": { + UserTaskInstanceJobDescriptionBuilder builder = UserTaskInstanceJobDescription.newUserTaskInstanceJobDescriptionBuilder(); + ofNullable(node.get("id")).ifPresent(e -> builder.id(e.textValue())); + ofNullable(node.get("priority")).ifPresent(e -> builder.priority(e.asInt())); + String expirationTimeType = node.get("expirationTime").get("@type").asText(); + builder.expirationTime((ExpirationTime) ctxt.readTreeAsValue(node.get("expirationTime"), Class.forName(expirationTimeType))); + + ofNullable(node.get("userTaskInstanceId")).ifPresent(e -> builder.userTaskInstanceId(e.textValue())); + return builder.build(); + } + } + } catch (ClassNotFoundException e1) { + throw new IllegalArgumentException("expiration time class not found", e1); + } + return null; + } + +} diff --git a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/json/ProcessInstanceJobDescriptionSerializer.java b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/json/JobDescriptionSerializer.java similarity index 50% rename from jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/json/ProcessInstanceJobDescriptionSerializer.java rename to jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/json/JobDescriptionSerializer.java index 379da2a0e5..22935e0e37 100644 --- a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/json/ProcessInstanceJobDescriptionSerializer.java +++ b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/json/JobDescriptionSerializer.java @@ -20,32 +20,40 @@ import java.io.IOException; -import org.kie.kogito.jobs.ProcessInstanceJobDescription; +import org.kie.kogito.jobs.JobDescription; +import org.kie.kogito.jobs.descriptors.ProcessInstanceJobDescription; +import org.kie.kogito.jobs.descriptors.UserTaskInstanceJobDescription; import com.fasterxml.jackson.core.JsonGenerator; import com.fasterxml.jackson.databind.SerializerProvider; import com.fasterxml.jackson.databind.ser.std.StdSerializer; -public class ProcessInstanceJobDescriptionSerializer extends StdSerializer { +public class JobDescriptionSerializer extends StdSerializer { private static final long serialVersionUID = -8307549297456060422L; - public ProcessInstanceJobDescriptionSerializer() { - super(ProcessInstanceJobDescription.class); + public JobDescriptionSerializer() { + super(JobDescription.class); } @Override - public void serialize(ProcessInstanceJobDescription value, JsonGenerator jgen, SerializerProvider provider) throws IOException { + public void serialize(JobDescription value, JsonGenerator jgen, SerializerProvider provider) throws IOException { jgen.writeStartObject(); + jgen.writeStringField("@type", value.getClass().getSimpleName()); jgen.writeStringField("id", value.id()); - jgen.writeStringField("timerId", value.timerId()); - jgen.writeObjectField("expirationTime", value.expirationTime()); jgen.writeNumberField("priority", value.priority()); - jgen.writeStringField("processInstanceId", value.processInstanceId()); - jgen.writeStringField("rootProcessInstanceId", value.rootProcessInstanceId()); - jgen.writeStringField("processId", value.processId()); - jgen.writeStringField("rootProcessId", value.rootProcessId()); - jgen.writeStringField("nodeInstanceId", value.nodeInstanceId()); + jgen.writeObjectField("expirationTime", value.expirationTime()); + if (value instanceof ProcessInstanceJobDescription jobDescription) { + jgen.writeStringField("timerId", jobDescription.timerId()); + jgen.writeStringField("processInstanceId", jobDescription.processInstanceId()); + jgen.writeStringField("rootProcessInstanceId", jobDescription.rootProcessInstanceId()); + jgen.writeStringField("processId", jobDescription.processId()); + jgen.writeStringField("rootProcessId", jobDescription.rootProcessId()); + jgen.writeStringField("nodeInstanceId", jobDescription.nodeInstanceId()); + jgen.writeEndObject(); + } else if (value instanceof UserTaskInstanceJobDescription userTaskInstanceJobDescription) { + jgen.writeStringField("userTaskInstanceId", userTaskInstanceJobDescription.getUserTaskInstanceId()); + } jgen.writeEndObject(); } diff --git a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/json/ProcessInstanceJobDescriptionDeserializer.java b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/json/ProcessInstanceJobDescriptionDeserializer.java deleted file mode 100644 index 6ccfb99f47..0000000000 --- a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/json/ProcessInstanceJobDescriptionDeserializer.java +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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 - * - * http://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. - */ -package org.kie.kogito.jobs.service.json; - -import java.io.IOException; - -import org.kie.kogito.jobs.ExpirationTime; -import org.kie.kogito.jobs.ProcessInstanceJobDescription; -import org.kie.kogito.jobs.ProcessInstanceJobDescriptionBuilder; - -import com.fasterxml.jackson.core.JacksonException; -import com.fasterxml.jackson.core.JsonParser; -import com.fasterxml.jackson.databind.DeserializationContext; -import com.fasterxml.jackson.databind.JsonNode; -import com.fasterxml.jackson.databind.deser.std.StdDeserializer; - -import static java.util.Optional.ofNullable; - -public class ProcessInstanceJobDescriptionDeserializer extends StdDeserializer { - - private static final long serialVersionUID = -8307549297456060422L; - - public ProcessInstanceJobDescriptionDeserializer() { - super(ProcessInstanceJobDescription.class); - } - - @Override - public ProcessInstanceJobDescription deserialize(JsonParser jp, DeserializationContext ctxt) throws IOException, JacksonException { - ProcessInstanceJobDescriptionBuilder builder = ProcessInstanceJobDescription.builder(); - - JsonNode node = jp.getCodec().readTree(jp); - ofNullable(node.get("id")).ifPresent(e -> builder.id(e.textValue())); - ofNullable(node.get("timerId")).ifPresent(e -> builder.timerId(e.textValue())); - ofNullable(node.get("priority")).ifPresent(e -> builder.priority(e.asInt())); - ofNullable(node.get("processInstanceId")).ifPresent(e -> builder.processInstanceId(e.textValue())); - ofNullable(node.get("rootProcessInstanceId")).ifPresent(e -> builder.rootProcessInstanceId(e.textValue())); - ofNullable(node.get("processId")).ifPresent(e -> builder.processId(e.textValue())); - ofNullable(node.get("rootProcessId")).ifPresent(e -> builder.rootProcessId(e.textValue())); - ofNullable(node.get("nodeInstanceId")).ifPresent(e -> builder.nodeInstanceId(e.textValue())); - - String type = node.get("expirationTime").get("@type").asText(); - try { - builder.expirationTime((ExpirationTime) ctxt.readTreeAsValue(node.get("expirationTime"), Class.forName(type))); - } catch (ClassNotFoundException | IOException e1) { - e1.printStackTrace(); - } - - return builder.build(); - } - -} diff --git a/jobs-service/kogito-addons-jobs-service/kogito-addons-quarkus-jobs/src/main/java/org/kie/kogito/jobs/embedded/EmbeddedJobExecutor.java b/jobs-service/kogito-addons-jobs-service/kogito-addons-quarkus-jobs/src/main/java/org/kie/kogito/jobs/embedded/EmbeddedJobExecutor.java index ead3bbf2a2..961e0485aa 100644 --- a/jobs-service/kogito-addons-jobs-service/kogito-addons-quarkus-jobs/src/main/java/org/kie/kogito/jobs/embedded/EmbeddedJobExecutor.java +++ b/jobs-service/kogito-addons-jobs-service/kogito-addons-quarkus-jobs/src/main/java/org/kie/kogito/jobs/embedded/EmbeddedJobExecutor.java @@ -19,9 +19,13 @@ package org.kie.kogito.jobs.embedded; import java.util.Optional; +import java.util.function.Supplier; import org.kie.kogito.Application; import org.kie.kogito.Model; +import org.kie.kogito.jobs.JobDescription; +import org.kie.kogito.jobs.descriptors.ProcessInstanceJobDescription; +import org.kie.kogito.jobs.descriptors.UserTaskInstanceJobDescription; import org.kie.kogito.jobs.service.api.Recipient; import org.kie.kogito.jobs.service.exception.JobExecutionException; import org.kie.kogito.jobs.service.executor.JobExecutor; @@ -31,40 +35,81 @@ import org.kie.kogito.process.Process; import org.kie.kogito.process.Processes; import org.kie.kogito.services.jobs.impl.TriggerJobCommand; +import org.kie.kogito.usertask.UserTaskInstance; +import org.kie.kogito.usertask.UserTasks; import io.smallrye.mutiny.Uni; import jakarta.enterprise.context.ApplicationScoped; import jakarta.enterprise.inject.Alternative; +import jakarta.enterprise.inject.Instance; import jakarta.inject.Inject; +import static org.kie.kogito.services.uow.UnitOfWorkExecutor.executeInUnitOfWork; + @ApplicationScoped @Alternative public class EmbeddedJobExecutor implements JobExecutor { @Inject - Processes processes; + Instance processes; + + @Inject + Instance userTasks; @Inject Application application; @Override public Uni execute(JobDetails jobDetails) { - - String correlationId = jobDetails.getCorrelationId(); RecipientInstance recipientModel = (RecipientInstance) jobDetails.getRecipient(); InVMRecipient recipient = (InVMRecipient) recipientModel.getRecipient(); - String timerId = recipient.getPayload().getData().timerId(); - String processInstanceId = recipient.getPayload().getData().processInstanceId(); - Optional> process; - try { - process = processes.processByProcessInstanceId(processInstanceId); - } catch (Exception ex) { - return Uni.createFrom().failure( - new JobExecutionException(jobDetails.getId(), - "Unexpected error when executing Embedded request for job: " + jobDetails.getId() + ". " + ex.getMessage(), - ex)); + JobDescription jobDescription = recipient.getPayload().getData(); + if (jobDescription instanceof ProcessInstanceJobDescription processInstanceJobDescription && processes.isResolvable()) { + return processJobDescription(jobDetails, processInstanceJobDescription); + } else if (jobDescription instanceof UserTaskInstanceJobDescription userTaskInstanceJobDescription && userTasks.isResolvable()) { + return processJobDescription(jobDetails, userTaskInstanceJobDescription); } + + return Uni.createFrom().item( + JobExecutionResponse.builder() + .code("401") + .jobId(jobDetails.getId()) + .now() + .message("job cannot be processed") + .build()); + } + + private Uni processJobDescription(JobDetails jobDetails, UserTaskInstanceJobDescription userTaskInstanceJobDescription) { + Supplier execute = () -> executeInUnitOfWork(application.unitOfWorkManager(), () -> { + Optional userTaskInstance = userTasks.get().instances().findById(userTaskInstanceJobDescription.getUserTaskInstanceId()); + if (userTaskInstance.isEmpty()) { + return null; + } + UserTaskInstance instance = userTaskInstance.get(); + instance.trigger(userTaskInstanceJobDescription); + return null; + }); + + return Uni.createFrom().item(execute) + .onFailure() + .transform( + unexpected -> new JobExecutionException(jobDetails.getId(), "Unexpected error when executing Embedded request for job: " + jobDetails.getId() + ". " + unexpected.getMessage(), + unexpected)) + .onItem() + .transform(res -> JobExecutionResponse.builder() + .message("Embedded job executed") + .code(String.valueOf(200)) + .now() + .jobId(jobDetails.getId()) + .build()); + + } + + private Uni processJobDescription(JobDetails jobDetails, ProcessInstanceJobDescription processInstanceJobDescription) { + String timerId = processInstanceJobDescription.timerId(); + String processInstanceId = processInstanceJobDescription.processInstanceId(); + Optional> process = processes.get().processByProcessInstanceId(processInstanceId); if (process.isEmpty()) { return Uni.createFrom().item( JobExecutionResponse.builder() @@ -77,9 +122,13 @@ public Uni execute(JobDetails jobDetails) { Integer limit = jobDetails.getRetries(); - TriggerJobCommand command = new TriggerJobCommand(processInstanceId, correlationId, timerId, limit, process.get(), application.unitOfWorkManager()); + Supplier execute = () -> executeInUnitOfWork(application.unitOfWorkManager(), () -> { + TriggerJobCommand command = new TriggerJobCommand(processInstanceId, jobDetails.getCorrelationId(), timerId, limit, process.get(), application.unitOfWorkManager()); + return command.execute(); + }); - return Uni.createFrom().item(command::execute) + return Uni.createFrom() + .item(execute) .onFailure() .transform( unexpected -> new JobExecutionException(jobDetails.getId(), "Unexpected error when executing Embedded request for job: " + jobDetails.getId() + ". " + unexpected.getMessage(), diff --git a/jobs-service/kogito-addons-jobs-service/kogito-addons-quarkus-jobs/src/main/java/org/kie/kogito/jobs/embedded/EmbeddedJobsService.java b/jobs-service/kogito-addons-jobs-service/kogito-addons-quarkus-jobs/src/main/java/org/kie/kogito/jobs/embedded/EmbeddedJobsService.java index 95b9b0d92e..84754c6dc2 100644 --- a/jobs-service/kogito-addons-jobs-service/kogito-addons-quarkus-jobs/src/main/java/org/kie/kogito/jobs/embedded/EmbeddedJobsService.java +++ b/jobs-service/kogito-addons-jobs-service/kogito-addons-quarkus-jobs/src/main/java/org/kie/kogito/jobs/embedded/EmbeddedJobsService.java @@ -20,9 +20,8 @@ import java.util.concurrent.ExecutionException; +import org.kie.kogito.jobs.JobDescription; import org.kie.kogito.jobs.JobsService; -import org.kie.kogito.jobs.ProcessInstanceJobDescription; -import org.kie.kogito.jobs.ProcessJobDescription; import org.kie.kogito.jobs.api.JobCallbackResourceDef; import org.kie.kogito.jobs.service.adapter.JobDetailsAdapter; import org.kie.kogito.jobs.service.api.Job; @@ -54,13 +53,7 @@ public EmbeddedJobsService() { } @Override - public String scheduleProcessJob(ProcessJobDescription description) { - LOGGER.debug("ScheduleProcessJob: {} not supported", description); - return null; - } - - @Override - public String scheduleProcessInstanceJob(ProcessInstanceJobDescription description) { + public String scheduleJob(JobDescription description) { try { Job job = Job.builder() .id(description.id()) diff --git a/jobs-service/kogito-addons-jobs-service/kogito-addons-quarkus-jobs/src/main/java/org/kie/kogito/jobs/embedded/InVMPayloadData.java b/jobs-service/kogito-addons-jobs-service/kogito-addons-quarkus-jobs/src/main/java/org/kie/kogito/jobs/embedded/InVMPayloadData.java index cb49a135b6..3a9cdf9286 100644 --- a/jobs-service/kogito-addons-jobs-service/kogito-addons-quarkus-jobs/src/main/java/org/kie/kogito/jobs/embedded/InVMPayloadData.java +++ b/jobs-service/kogito-addons-jobs-service/kogito-addons-quarkus-jobs/src/main/java/org/kie/kogito/jobs/embedded/InVMPayloadData.java @@ -18,31 +18,31 @@ */ package org.kie.kogito.jobs.embedded; -import org.kie.kogito.jobs.ProcessInstanceJobDescription; +import org.kie.kogito.jobs.JobDescription; import org.kie.kogito.jobs.service.api.PayloadData; -public class InVMPayloadData extends PayloadData { +public class InVMPayloadData extends PayloadData { - private ProcessInstanceJobDescription jobDescription; + private JobDescription jobDescription; public InVMPayloadData() { // do nothing } - public void setJobDescription(ProcessInstanceJobDescription jobDescription) { + public void setJobDescription(JobDescription jobDescription) { this.jobDescription = jobDescription; } - public ProcessInstanceJobDescription getJobDescription() { + public JobDescription getJobDescription() { return jobDescription; } @Override - public ProcessInstanceJobDescription getData() { + public JobDescription getData() { return jobDescription; } - public InVMPayloadData(ProcessInstanceJobDescription data) { + public InVMPayloadData(JobDescription data) { this.jobDescription = data; } diff --git a/jobs-service/kogito-addons-jobs-service/kogito-addons-quarkus-jobs/src/main/java/org/kie/kogito/jobs/embedded/JobInVMEventPublisher.java b/jobs-service/kogito-addons-jobs-service/kogito-addons-quarkus-jobs/src/main/java/org/kie/kogito/jobs/embedded/JobInVMEventPublisher.java index dae4ac4ecf..78434dc841 100644 --- a/jobs-service/kogito-addons-jobs-service/kogito-addons-quarkus-jobs/src/main/java/org/kie/kogito/jobs/embedded/JobInVMEventPublisher.java +++ b/jobs-service/kogito-addons-jobs-service/kogito-addons-quarkus-jobs/src/main/java/org/kie/kogito/jobs/embedded/JobInVMEventPublisher.java @@ -25,7 +25,8 @@ import org.eclipse.microprofile.config.inject.ConfigProperty; import org.kie.kogito.event.EventPublisher; import org.kie.kogito.event.job.JobInstanceDataEvent; -import org.kie.kogito.jobs.ProcessInstanceJobDescription; +import org.kie.kogito.jobs.JobDescription; +import org.kie.kogito.jobs.descriptors.ProcessInstanceJobDescription; import org.kie.kogito.jobs.service.adapter.ScheduledJobAdapter; import org.kie.kogito.jobs.service.api.Recipient; import org.kie.kogito.jobs.service.model.JobDetails; @@ -93,13 +94,15 @@ public void observe(@ObservesAsync EmbeddedJobServiceEvent serviceEvent) { try { ScheduledJob scheduledJob = ScheduledJobAdapter.of(jobDetails); Recipient recipient = jobDetails.getRecipient().getRecipient(); - ProcessInstanceJobDescription jobDescription = recipient.getPayload().getJobDescription(); - - scheduledJob.setProcessInstanceId(jobDescription.processInstanceId()); - scheduledJob.setProcessId(jobDescription.processId()); - scheduledJob.setRootProcessInstanceId(jobDescription.rootProcessInstanceId()); - scheduledJob.setRootProcessId(jobDescription.rootProcessId()); - scheduledJob.setNodeInstanceId(jobDescription.nodeInstanceId()); + JobDescription jobDescription = recipient.getPayload().getJobDescription(); + + if (jobDescription instanceof ProcessInstanceJobDescription processInstanceJobDescription) { + scheduledJob.setProcessInstanceId(processInstanceJobDescription.processInstanceId()); + scheduledJob.setProcessId(processInstanceJobDescription.processId()); + scheduledJob.setRootProcessInstanceId(processInstanceJobDescription.rootProcessInstanceId()); + scheduledJob.setRootProcessId(processInstanceJobDescription.rootProcessId()); + scheduledJob.setNodeInstanceId(processInstanceJobDescription.nodeInstanceId()); + } byte[] jsonContent = objectMapper.writeValueAsBytes(scheduledJob); JobInstanceDataEvent event = new JobInstanceDataEvent(JOB_EVENT_TYPE, diff --git a/jobs-service/kogito-addons-jobs-service/kogito-addons-quarkus-jobs/src/test/java/org/kie/kogito/jobs/embedded/EmbeddedJobsServiceTest.java b/jobs-service/kogito-addons-jobs-service/kogito-addons-quarkus-jobs/src/test/java/org/kie/kogito/jobs/embedded/EmbeddedJobsServiceTest.java index c854f86f7f..33e0c8be4b 100644 --- a/jobs-service/kogito-addons-jobs-service/kogito-addons-quarkus-jobs/src/test/java/org/kie/kogito/jobs/embedded/EmbeddedJobsServiceTest.java +++ b/jobs-service/kogito-addons-jobs-service/kogito-addons-quarkus-jobs/src/test/java/org/kie/kogito/jobs/embedded/EmbeddedJobsServiceTest.java @@ -28,7 +28,7 @@ import org.kie.kogito.event.job.JobInstanceDataEvent; import org.kie.kogito.jobs.DurationExpirationTime; import org.kie.kogito.jobs.JobsService; -import org.kie.kogito.jobs.ProcessInstanceJobDescription; +import org.kie.kogito.jobs.descriptors.ProcessInstanceJobDescription; import io.quarkus.test.junit.QuarkusTest; @@ -58,7 +58,7 @@ public void testJobService() throws Exception { CountDownLatch latch = new CountDownLatch(8); publisher.setLatch(latch); - ProcessInstanceJobDescription description = ProcessInstanceJobDescription.builder() + ProcessInstanceJobDescription description = ProcessInstanceJobDescription.newProcessInstanceJobDescriptionBuilder() .generateId() .timerId("-1") .expirationTime(DurationExpirationTime.now()) @@ -68,9 +68,9 @@ public void testJobService() throws Exception { .rootProcessId(null) .nodeInstanceId(NODE_INSTANCE_ID) .build(); - jobService.scheduleProcessInstanceJob(description); + jobService.scheduleJob(description); - ProcessInstanceJobDescription descriptionWRootProcess = ProcessInstanceJobDescription.builder() + ProcessInstanceJobDescription descriptionWRootProcess = ProcessInstanceJobDescription.newProcessInstanceJobDescriptionBuilder() .generateId() .timerId("-1") .expirationTime(DurationExpirationTime.now()) @@ -80,7 +80,7 @@ public void testJobService() throws Exception { .rootProcessId(ROOT_PROCESS_ID) .nodeInstanceId(NODE_INSTANCE_ID) .build(); - jobService.scheduleProcessInstanceJob(descriptionWRootProcess); + jobService.scheduleJob(descriptionWRootProcess); latch.await(); From 9dacc9b7f2af7ec89b83348aa4626111adb418a7 Mon Sep 17 00:00:00 2001 From: Roberto Oliveira Date: Mon, 18 Nov 2024 11:15:06 -0500 Subject: [PATCH 4/4] remove old quarkus-3 patches --- .ci/environments/quarkus-3/README.md | 81 - .ci/environments/quarkus-3/after.sh | 13 - .ci/environments/quarkus-3/before.sh | 93 - ...reateKieQuarkusProjectMigrationRecipe.java | 148 - .../quarkus-3/patches/0001_before_sh.patch | 6246 ----------------- .../patches/0002_hibernate_changes.patch | 1218 ---- .../patches/0003_mutiny_changes.patch | 31 - .../quarkus-3/patches/0004_arc_changes.patch | 94 - .../0005_jobs-service-reactive-streams.patch | 347 - .../0006_data-index-reactive-streams.patch | 55 - ...0007_explainability_reactive-streams.patch | 20 - .../0008_trusty_reactive-streams.patch | 56 - ...009_spring-boot-test-localserverport.patch | 52 - ...quarkus_dev_ui_static_content_routes.patch | 26 - .ci/environments/quarkus-3/project-recipe.yml | 9 - .../quarkus-3/quarkus3-base-recipe.yml | 3379 --------- .ci/environments/quarkus-3/quarkus3.yml | 4638 ------------ .ci/environments/quarkus-branch/before.sh | 6 - .ci/environments/quarkus-lts/README.md | 19 - .ci/environments/quarkus-lts/before.sh | 6 - .ci/environments/quarkus-main/before.sh | 6 - 21 files changed, 16543 deletions(-) delete mode 100644 .ci/environments/quarkus-3/README.md delete mode 100755 .ci/environments/quarkus-3/after.sh delete mode 100755 .ci/environments/quarkus-3/before.sh delete mode 100755 .ci/environments/quarkus-3/jbang/CreateKieQuarkusProjectMigrationRecipe.java delete mode 100644 .ci/environments/quarkus-3/patches/0001_before_sh.patch delete mode 100644 .ci/environments/quarkus-3/patches/0002_hibernate_changes.patch delete mode 100644 .ci/environments/quarkus-3/patches/0003_mutiny_changes.patch delete mode 100644 .ci/environments/quarkus-3/patches/0004_arc_changes.patch delete mode 100644 .ci/environments/quarkus-3/patches/0005_jobs-service-reactive-streams.patch delete mode 100644 .ci/environments/quarkus-3/patches/0006_data-index-reactive-streams.patch delete mode 100644 .ci/environments/quarkus-3/patches/0007_explainability_reactive-streams.patch delete mode 100644 .ci/environments/quarkus-3/patches/0008_trusty_reactive-streams.patch delete mode 100644 .ci/environments/quarkus-3/patches/0009_spring-boot-test-localserverport.patch delete mode 100644 .ci/environments/quarkus-3/patches/0010_quarkus_dev_ui_static_content_routes.patch delete mode 100644 .ci/environments/quarkus-3/project-recipe.yml delete mode 100644 .ci/environments/quarkus-3/quarkus3-base-recipe.yml delete mode 100644 .ci/environments/quarkus-3/quarkus3.yml delete mode 100755 .ci/environments/quarkus-branch/before.sh delete mode 100644 .ci/environments/quarkus-lts/README.md delete mode 100755 .ci/environments/quarkus-lts/before.sh delete mode 100755 .ci/environments/quarkus-main/before.sh diff --git a/.ci/environments/quarkus-3/README.md b/.ci/environments/quarkus-3/README.md deleted file mode 100644 index 6be0d662b6..0000000000 --- a/.ci/environments/quarkus-3/README.md +++ /dev/null @@ -1,81 +0,0 @@ -# quarkus-3 environment scripts - -This folder contains specific script(s)/patch(es) for the Quarkus 3 migration. - -**Here is the command:** - -```bash -.ci/environments/update.sh quarkus-3 -``` - -Steps of the basic execution: - -- Execute `before.sh` script - In the basic execution, this script will skip the rewrite commands, which is taking a lot of time to perform. - If you want to perform the rewrite or update the "before.sh" patch, please see next sections. -- Apply all patches from `patches` folder - -## Full execution - -**Command:** - -```bash -.ci/environments/update.sh quarkus-3 rewrite -``` - -Steps of the full execution: - -- Execute the rewrite execution -- Synchronize the libraries' version with Quarkus BOM -- Store the changes from previous steps into the `patches/001_before_sh.patch` file -- Apply patches from `patches` folder - -## Patches information - -1. the `0001_before_sh.patch` is generated executing the `before.sh` script; it then contains all the `openrewrite` migration and the synchronization of libraries with quarkus ones (see next section) -2. all other patches have been made manually -3. if some other modifications are needed, they should be created as `patch`, following numerations -4. if some patch does not apply anymore, it has to be recreated manually; in case of the first one, it means to execute the `before.sh` script again - -## How to recreate the `001_before_sh.patch` file ? - -The `001_before_sh.patch` file contains all changes from a rewrite execution. -In case of a full execution, this file will be overriden with the new changes. - -You can also regenerate that file without having to run the full quarkus-3 environment migration. -To do so, just run: - -```bash -.ci/environments/quarkus-3/before.sh rewrite -``` - -## Recipe files - -There are 3 recipe files: - -- `project-recipe.yml` is the recipe file to update in case you need a new recipe -- `quarkus3-base-recipe.yml` is the base recipe setup by Quarkus team in https://github.com/quarkusio/quarkus-updates. You should not modify it ! -- `quarkus3.yml` is the final recipe file and is a compute of the previous 2 files, plus some processing. - See also comments in [Jbang script](jbang/CreateKieQuarkusProjectMigrationRecipe.java) for more details on the generation. - -### How to reset the quarkus3.yaml recipe file ? - -The `before.sh` script should handle the reset of the `quarkus3.yml` recipe file when executed with `rewrite` command. - -In case you want to do manually, just run: - -```bash -cd .ci/environments/quarkus-3 && curl -Ls https://sh.jbang.dev | bash -s - jbang/CreateKieQuarkusProjectMigrationRecipe.java; cd - -``` - -### How to update the Quarkus version ? - -If you are setting a new Quarkus version: - -1. Update `quarkus-devtools-common` version in `jbang/CreateKieQuarkusProjectMigrationRecipe.java` file -2. Update `QUARKUS_VERSION` in `jbang/CreateKieQuarkusProjectMigrationRecipe.java` file -3. Update `QUARKUS_UPDATES_BASE_URL` with the corresponding released version of https://github.com/quarkusio/quarkus-updates recipe file -4. Run the jbang script to update the `quarkus3.yml` file - ```bash - cd .ci/environments/quarkus-3 && curl -Ls https://sh.jbang.dev | bash -s - jbang/CreateKieQuarkusProjectMigrationRecipe.java true; cd - - ``` diff --git a/.ci/environments/quarkus-3/after.sh b/.ci/environments/quarkus-3/after.sh deleted file mode 100755 index 71784d147b..0000000000 --- a/.ci/environments/quarkus-3/after.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash -set -euo pipefail - -script_dir_path=$(cd `dirname "${BASH_SOURCE[0]}"`; pwd -P) -mvn_cmd="mvn ${BUILD_MVN_OPTS:-} ${BUILD_MVN_OPTS_QUARKUS_UPDATE:-}" - -# Retrieve current Maven project version -project_version=$(mvn -q -Dexpression=project.version -DforceStdout help:evaluate) -# New version is based on current project version and increment the Major => (M+1).m.y -new_version=$(echo ${project_version} | awk -F. -v OFS=. '{$1 += 1 ; print}') - -${mvn_cmd} -fae -N -e versions:update-parent -Dfull -DparentVersion="[${new_version}]" -DallowSnapshots=true -DgenerateBackupPoms=false -${mvn_cmd} -fae -N -e versions:update-child-modules -Dfull -DallowSnapshots=true -DgenerateBackupPoms=false diff --git a/.ci/environments/quarkus-3/before.sh b/.ci/environments/quarkus-3/before.sh deleted file mode 100755 index caa5c37d8f..0000000000 --- a/.ci/environments/quarkus-3/before.sh +++ /dev/null @@ -1,93 +0,0 @@ -#!/bin/bash -set -euo pipefail - -script_dir_path=$(cd `dirname "${BASH_SOURCE[0]}"`; pwd -P) -mvn_cmd="mvn ${BUILD_MVN_OPTS:-} ${BUILD_MVN_OPTS_QUARKUS_UPDATE:-}" -ci="${CI:-false}" - -rewrite_plugin_version=4.43.0 -quarkus_version=${QUARKUS_VERSION:-3.2.9.Final} - -quarkus_recipe_file="${script_dir_path}/quarkus3.yml" -patch_file="${script_dir_path}"/patches/0001_before_sh.patch - -if [ "${ci}" = "true" ]; then - # In CI we need the main branch snapshot artifacts deployed locally - set -x - ${mvn_cmd} clean install -Dquickly - set +x -fi - -rewrite=${1:-'none'} -behavior=${2:-'none'} -echo "rewrite "${rewrite} -if [ "rewrite" != ${rewrite} ]; then - echo "No rewrite to be done. Exited" - exit 0 -fi - -export MAVEN_OPTS="-Xmx16192m" - -echo "Update project with Quarkus version ${quarkus_version}" - -set -x - -# Retrieve Drools version used -optaplanner_version=$(mvn -q -pl :kogito-apps-build-parent -Dexpression=version.org.optaplanner -DforceStdout help:evaluate) -# New drools version is based on current drools version and increment the Major => (M+1).m.y -new_optaplanner_version=$(echo ${optaplanner_version} | awk -F. -v OFS=. '{$1 += 1 ; print}') - -# Regenerate quarkus3 recipe -cd ${script_dir_path} -curl -Ls https://sh.jbang.dev | \ - bash -s - jbang/CreateKieQuarkusProjectMigrationRecipe.java \ - -v version.io.quarkus=${quarkus_version} \ - -v version.org.optaplanner=${new_optaplanner_version} -cd - - -# Launch Quarkus 3 Openrewrite -${mvn_cmd} org.openrewrite.maven:rewrite-maven-plugin:${rewrite_plugin_version}:run \ - -Drewrite.configLocation="${quarkus_recipe_file}" \ - -DactiveRecipes=io.quarkus.openrewrite.Quarkus \ - -Denforcer.skip \ - -DskipUI \ - -fae \ - -Dexclusions=**/target \ - -DplainTextMasks=**/kmodule.xml - -# Update dependencies with Quarkus 3 bom -${mvn_cmd} \ - -pl :kogito-apps-build-parent \ - -DremotePom=io.quarkus:quarkus-bom:${quarkus_version} \ - -DupdatePropertyVersions=true \ - -DupdateDependencies=true \ - -DgenerateBackupPoms=false \ - versions:compare-dependencies - -# Create the `patches/0001_before_sh.patch` file -git add . -git reset "${quarkus_recipe_file}" # Do not include recipe file -git diff --cached > "${patch_file}" -git reset - -# Commit the change on patch -if [ "$(git status --porcelain ${patch_file})" != '' ]; then - if [ "$(git status --porcelain ${quarkus_recipe_file})" != '' ]; then - git add "${quarkus_recipe_file}" # We suppose that if the recipe has changed, the patch file as well - fi - git add "${patch_file}" - git commit -m '[Quarkus 3] Updated rewrite data' - - git reset --hard - if [ "${behavior}" = 'push_changes' ]; then - git_remote="${GIT_REMOTE:-origin}" - branch=$(git branch --show-current) - echo "Pushing changes to ${git_remote}/${branch} after rebase " - git fetch ${git_remote} - git rebase ${git_remote}/${branch} - git push ${git_remote} ${branch} - fi -fi - -# Reset all other changes as they will be applied next by the `patches/0001_before_sh.patch` file -git reset --hard diff --git a/.ci/environments/quarkus-3/jbang/CreateKieQuarkusProjectMigrationRecipe.java b/.ci/environments/quarkus-3/jbang/CreateKieQuarkusProjectMigrationRecipe.java deleted file mode 100755 index f708758816..0000000000 --- a/.ci/environments/quarkus-3/jbang/CreateKieQuarkusProjectMigrationRecipe.java +++ /dev/null @@ -1,148 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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 - * - * http://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. - */ -import java.net.URL; -import java.nio.charset.Charset; -import java.nio.file.Files; -import java.nio.file.Path; -import java.nio.file.Paths; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import java.util.concurrent.Callable; - -import org.apache.commons.io.IOUtils; - -import io.quarkus.devtools.project.BuildTool; -import io.quarkus.devtools.project.update.rewrite.QuarkusUpdateRecipe; -import io.quarkus.devtools.project.update.rewrite.QuarkusUpdateRecipeIO; -import io.quarkus.devtools.project.update.rewrite.operations.UpdatePropertyOperation; -import picocli.CommandLine; -import picocli.CommandLine.Command; -import picocli.CommandLine.Option; - -///usr/bin/env jbang "$0" "$@" ; exit $? -// Version to be changed when needed -//DEPS io.quarkus:quarkus-devtools-common:3.2.9.Final -//DEPS info.picocli:picocli:4.5.0 - -/* - * This script will generate the final `quarkus3.yml` file based on: - * - quarkus recipe file (see `QUARKUS_UPDATES_BASE_URL` constant) - * - local project-recipe.yaml => Specific project repository rules - * - * We use a lot of managed dependencies, it concatenates both files but it also add some new rules: - * In the Quarkus recipe, the dependencies rules are modified only for direct dependencies but not for managed dependencies. - * So the script adds a new step: - * - Reads all modified direct dependencies from the Quarkus recipe - * - Generates one managed dependency rule for each of them - */ -@Command(name = "migrationrecipecli", mixinStandardHelpOptions = true, version = "migrationrecipecli 0.1", - description = "migrationrecipecli to create the Q3 migration recipe for a project") - class CreateKieQuarkusProjectMigrationRecipeCli implements Callable { - - @Option(names={ "-d", "--download-quarkus-recipe"}, description = "Download quarkus update recipe for final recipe generation") - private boolean downloadQuarkusRecipe = false; - - @Option(names={ "-v", "--property-version"}, description = "(multi). Add a dynamic property version to the final recipe") - private Map versionProperties = new HashMap<>(); - - static final String QUARKUS_UPDATES_BASE_URL = "https://github.com/quarkusio/quarkus-updates/blob/main/recipes/src/main/resources/quarkus-updates/core/3.2.yaml"; - - static final Path quarkus3DownloadedRecipePath = Paths.get("quarkus3-base-recipe.yml"); - static final Path quarkus3GeneratedRecipePath = Paths.get("quarkus3.yml"); - static final Path projectBaseRecipePath = Paths.get("project-recipe.yml"); - - @Override - public Integer call() throws Exception { // your business logic goes here... - if (downloadQuarkusRecipe) { - System.out.println("Downloading recipe from Quarkus"); - Files.write(quarkus3DownloadedRecipePath, new URL(QUARKUS_UPDATES_BASE_URL).openStream().readAllBytes()); - } - - if (!Files.exists(quarkus3DownloadedRecipePath)) { - System.out.println("The Quarkus base recipe (" + quarkus3DownloadedRecipePath.getFileName() - + ") does not exist into the folder. Please download it manually or add the `true` parameter to the script call !"); - return 1; - } - - List quarkusRecipes = QuarkusUpdateRecipeIO - .readRecipesYaml(Files.readString(quarkus3DownloadedRecipePath)); - QuarkusUpdateRecipe mainRecipe = new QuarkusUpdateRecipe() - .buildTool(BuildTool.MAVEN); - versionProperties.forEach((property, version) -> { - System.out.println("Add Property '" + property + "' with value '" + version + "'"); - mainRecipe.addOperation(new UpdatePropertyOperation(property, version)); - }); - - if (Files.exists(projectBaseRecipePath)) { - System.out.println("Adding Project base recipe(s)"); - mainRecipe.addRecipes(QuarkusUpdateRecipeIO.readRecipesYaml(Files.readString(projectBaseRecipePath))); - } else { - System.out.println("No Project base recipe(s) available. Nothing done here ..."); - } - - System.out.println("Adding Managed dependency recipe(s)"); - Map managedDependencyMainRecipe = Map.of( - "type", "specs.openrewrite.org/v1beta/recipe", - "name", "org.kie.ManagedDependencies", - "displayName", "Update Managed Dependencies", - "description", "Update all managed dependencies based on dependency updates from Quarkus.", - "recipeList", retrieveAllChangeDependencyRecipesToManagedDependency(quarkusRecipes)); - mainRecipe.addRecipe(managedDependencyMainRecipe); - - System.out.println("Adding Quarkus base recipe(s)"); - mainRecipe.addRecipes(quarkusRecipes); - - System.out.println("Writing main recipe"); - QuarkusUpdateRecipeIO.write(quarkus3GeneratedRecipePath, mainRecipe); - - return 0; - } - - - public static void main(String... args) throws Exception { - int exitCode = new CommandLine(new CreateKieQuarkusProjectMigrationRecipeCli()).execute(args); - System.exit(exitCode); - } - - private List retrieveAllChangeDependencyRecipesToManagedDependency(List recipes) { - List changeDependencyRecipeList = new ArrayList<>(); - recipes.forEach(r -> { - if (r instanceof Map) { - List recipeList = (List) ((Map) r).get("recipeList"); - recipeList.forEach(recipeMap -> { - if (recipeMap instanceof Map) { - ((Map>) recipeMap).forEach((recipeName, args) -> { - if (recipeName.equals("org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId")) { - args.remove("overrideManagedVersion"); - if (!args.containsKey("newArtifactId")) { - args.put("newArtifactId", args.get("oldArtifactId")); - } - changeDependencyRecipeList.add(Map - .of("org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId", args)); - } - }); - } - }); - } - }); - return changeDependencyRecipeList; - } -} diff --git a/.ci/environments/quarkus-3/patches/0001_before_sh.patch b/.ci/environments/quarkus-3/patches/0001_before_sh.patch deleted file mode 100644 index 226757e516..0000000000 --- a/.ci/environments/quarkus-3/patches/0001_before_sh.patch +++ /dev/null @@ -1,6246 +0,0 @@ -diff --git a/apps-integration-tests/integration-tests-jobs-service/integration-tests-jobs-service-quarkus/integration-tests-jobs-service-quarkus-embedded/src/main/java/org/kie/kogito/HelloService.java b/apps-integration-tests/integration-tests-jobs-service/integration-tests-jobs-service-quarkus/integration-tests-jobs-service-quarkus-embedded/src/main/java/org/kie/kogito/HelloService.java -index 6363355d0..1e721ddd3 100644 ---- a/apps-integration-tests/integration-tests-jobs-service/integration-tests-jobs-service-quarkus/integration-tests-jobs-service-quarkus-embedded/src/main/java/org/kie/kogito/HelloService.java -+++ b/apps-integration-tests/integration-tests-jobs-service/integration-tests-jobs-service-quarkus/integration-tests-jobs-service-quarkus-embedded/src/main/java/org/kie/kogito/HelloService.java -@@ -18,7 +18,7 @@ - */ - package org.kie.kogito; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - @ApplicationScoped - public class HelloService extends AbstractHelloService { -diff --git a/apps-integration-tests/integration-tests-jobs-service/integration-tests-jobs-service-quarkus/integration-tests-jobs-service-quarkus-knative-eventing/src/main/java/org/kie/kogito/HelloService.java b/apps-integration-tests/integration-tests-jobs-service/integration-tests-jobs-service-quarkus/integration-tests-jobs-service-quarkus-knative-eventing/src/main/java/org/kie/kogito/HelloService.java -index 6363355d0..1e721ddd3 100644 ---- a/apps-integration-tests/integration-tests-jobs-service/integration-tests-jobs-service-quarkus/integration-tests-jobs-service-quarkus-knative-eventing/src/main/java/org/kie/kogito/HelloService.java -+++ b/apps-integration-tests/integration-tests-jobs-service/integration-tests-jobs-service-quarkus/integration-tests-jobs-service-quarkus-knative-eventing/src/main/java/org/kie/kogito/HelloService.java -@@ -18,7 +18,7 @@ - */ - package org.kie.kogito; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - @ApplicationScoped - public class HelloService extends AbstractHelloService { -diff --git a/apps-integration-tests/integration-tests-jobs-service/integration-tests-jobs-service-quarkus/integration-tests-jobs-service-quarkus-management/src/main/java/org/kie/kogito/HelloService.java b/apps-integration-tests/integration-tests-jobs-service/integration-tests-jobs-service-quarkus/integration-tests-jobs-service-quarkus-management/src/main/java/org/kie/kogito/HelloService.java -index 6363355d0..1e721ddd3 100644 ---- a/apps-integration-tests/integration-tests-jobs-service/integration-tests-jobs-service-quarkus/integration-tests-jobs-service-quarkus-management/src/main/java/org/kie/kogito/HelloService.java -+++ b/apps-integration-tests/integration-tests-jobs-service/integration-tests-jobs-service-quarkus/integration-tests-jobs-service-quarkus-management/src/main/java/org/kie/kogito/HelloService.java -@@ -18,7 +18,7 @@ - */ - package org.kie.kogito; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - @ApplicationScoped - public class HelloService extends AbstractHelloService { -diff --git a/apps-integration-tests/integration-tests-jobs-service/integration-tests-jobs-service-quarkus/integration-tests-jobs-service-quarkus-messaging/src/main/java/org/kie/kogito/HelloService.java b/apps-integration-tests/integration-tests-jobs-service/integration-tests-jobs-service-quarkus/integration-tests-jobs-service-quarkus-messaging/src/main/java/org/kie/kogito/HelloService.java -index 6363355d0..1e721ddd3 100644 ---- a/apps-integration-tests/integration-tests-jobs-service/integration-tests-jobs-service-quarkus/integration-tests-jobs-service-quarkus-messaging/src/main/java/org/kie/kogito/HelloService.java -+++ b/apps-integration-tests/integration-tests-jobs-service/integration-tests-jobs-service-quarkus/integration-tests-jobs-service-quarkus-messaging/src/main/java/org/kie/kogito/HelloService.java -@@ -18,7 +18,7 @@ - */ - package org.kie.kogito; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - @ApplicationScoped - public class HelloService extends AbstractHelloService { -diff --git a/apps-integration-tests/integration-tests-trusty-service/integration-tests-trusty-service-quarkus/src/test/java/org/kie/kogito/it/trusty/NativeQuarkusTrustyExplainabilityEnd2EndIT.java b/apps-integration-tests/integration-tests-trusty-service/integration-tests-trusty-service-quarkus/src/test/java/org/kie/kogito/it/trusty/NativeQuarkusTrustyExplainabilityEnd2EndIT.java -index 155e810a6..d172b044d 100644 ---- a/apps-integration-tests/integration-tests-trusty-service/integration-tests-trusty-service-quarkus/src/test/java/org/kie/kogito/it/trusty/NativeQuarkusTrustyExplainabilityEnd2EndIT.java -+++ b/apps-integration-tests/integration-tests-trusty-service/integration-tests-trusty-service-quarkus/src/test/java/org/kie/kogito/it/trusty/NativeQuarkusTrustyExplainabilityEnd2EndIT.java -@@ -21,9 +21,9 @@ package org.kie.kogito.it.trusty; - import org.junit.jupiter.api.Disabled; - import org.kie.kogito.testcontainers.QuarkusKogitoServiceContainer; - --import io.quarkus.test.junit.NativeImageTest; -+import io.quarkus.test.junit.QuarkusIntegrationTest; - --@NativeImageTest -+@QuarkusIntegrationTest - @Disabled("https://issues.redhat.com/browse/FAI-748") - public class NativeQuarkusTrustyExplainabilityEnd2EndIT extends AbstractTrustyExplainabilityEnd2EndIT { - -diff --git a/data-index/data-index-common/src/main/java/org/kie/kogito/index/api/KogitoRuntimeCommonClient.java b/data-index/data-index-common/src/main/java/org/kie/kogito/index/api/KogitoRuntimeCommonClient.java -index 11291f6ae..1b06a30b0 100644 ---- a/data-index/data-index-common/src/main/java/org/kie/kogito/index/api/KogitoRuntimeCommonClient.java -+++ b/data-index/data-index-common/src/main/java/org/kie/kogito/index/api/KogitoRuntimeCommonClient.java -@@ -25,8 +25,8 @@ import java.util.Map; - import java.util.Optional; - import java.util.concurrent.CompletableFuture; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import org.eclipse.microprofile.config.inject.ConfigProperty; - import org.kie.kogito.index.model.Job; -diff --git a/data-index/data-index-common/src/main/java/org/kie/kogito/index/event/mapper/ProcessInstanceErrorDataEventMerger.java b/data-index/data-index-common/src/main/java/org/kie/kogito/index/event/mapper/ProcessInstanceErrorDataEventMerger.java -index d74df65ca..ccf7c4729 100644 ---- a/data-index/data-index-common/src/main/java/org/kie/kogito/index/event/mapper/ProcessInstanceErrorDataEventMerger.java -+++ b/data-index/data-index-common/src/main/java/org/kie/kogito/index/event/mapper/ProcessInstanceErrorDataEventMerger.java -@@ -18,7 +18,7 @@ - */ - package org.kie.kogito.index.event.mapper; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - import org.kie.kogito.event.process.ProcessInstanceDataEvent; - import org.kie.kogito.event.process.ProcessInstanceErrorDataEvent; -diff --git a/data-index/data-index-common/src/main/java/org/kie/kogito/index/event/mapper/ProcessInstanceNodeDataEventMerger.java b/data-index/data-index-common/src/main/java/org/kie/kogito/index/event/mapper/ProcessInstanceNodeDataEventMerger.java -index 1d1eeea8a..d271a9070 100644 ---- a/data-index/data-index-common/src/main/java/org/kie/kogito/index/event/mapper/ProcessInstanceNodeDataEventMerger.java -+++ b/data-index/data-index-common/src/main/java/org/kie/kogito/index/event/mapper/ProcessInstanceNodeDataEventMerger.java -@@ -23,7 +23,7 @@ import java.util.HashMap; - import java.util.List; - import java.util.Optional; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - import org.kie.kogito.event.process.ProcessInstanceDataEvent; - import org.kie.kogito.event.process.ProcessInstanceNodeDataEvent; -diff --git a/data-index/data-index-common/src/main/java/org/kie/kogito/index/event/mapper/ProcessInstanceStateDataEventMerger.java b/data-index/data-index-common/src/main/java/org/kie/kogito/index/event/mapper/ProcessInstanceStateDataEventMerger.java -index 87c9e2d27..1c64d13bd 100644 ---- a/data-index/data-index-common/src/main/java/org/kie/kogito/index/event/mapper/ProcessInstanceStateDataEventMerger.java -+++ b/data-index/data-index-common/src/main/java/org/kie/kogito/index/event/mapper/ProcessInstanceStateDataEventMerger.java -@@ -20,7 +20,7 @@ package org.kie.kogito.index.event.mapper; - - import java.util.Set; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - import org.kie.kogito.event.process.ProcessInstanceDataEvent; - import org.kie.kogito.event.process.ProcessInstanceStateDataEvent; -diff --git a/data-index/data-index-common/src/main/java/org/kie/kogito/index/event/mapper/ProcessInstanceVariableDataEventMerger.java b/data-index/data-index-common/src/main/java/org/kie/kogito/index/event/mapper/ProcessInstanceVariableDataEventMerger.java -index 8a695a484..bcdcf315e 100644 ---- a/data-index/data-index-common/src/main/java/org/kie/kogito/index/event/mapper/ProcessInstanceVariableDataEventMerger.java -+++ b/data-index/data-index-common/src/main/java/org/kie/kogito/index/event/mapper/ProcessInstanceVariableDataEventMerger.java -@@ -21,7 +21,7 @@ package org.kie.kogito.index.event.mapper; - import java.util.HashMap; - import java.util.Map; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - import org.kie.kogito.event.process.ProcessInstanceDataEvent; - import org.kie.kogito.event.process.ProcessInstanceVariableDataEvent; -diff --git a/data-index/data-index-common/src/main/java/org/kie/kogito/index/event/mapper/UserTaskInstanceAssignmentDataEventMerger.java b/data-index/data-index-common/src/main/java/org/kie/kogito/index/event/mapper/UserTaskInstanceAssignmentDataEventMerger.java -index bbf66d19f..a9ea5620d 100644 ---- a/data-index/data-index-common/src/main/java/org/kie/kogito/index/event/mapper/UserTaskInstanceAssignmentDataEventMerger.java -+++ b/data-index/data-index-common/src/main/java/org/kie/kogito/index/event/mapper/UserTaskInstanceAssignmentDataEventMerger.java -@@ -20,7 +20,7 @@ package org.kie.kogito.index.event.mapper; - - import java.util.HashSet; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - import org.kie.kogito.event.usertask.UserTaskInstanceAssignmentDataEvent; - import org.kie.kogito.event.usertask.UserTaskInstanceAssignmentEventBody; -diff --git a/data-index/data-index-common/src/main/java/org/kie/kogito/index/event/mapper/UserTaskInstanceAttachmentDataEventMerger.java b/data-index/data-index-common/src/main/java/org/kie/kogito/index/event/mapper/UserTaskInstanceAttachmentDataEventMerger.java -index 018c67d96..796b35abc 100644 ---- a/data-index/data-index-common/src/main/java/org/kie/kogito/index/event/mapper/UserTaskInstanceAttachmentDataEventMerger.java -+++ b/data-index/data-index-common/src/main/java/org/kie/kogito/index/event/mapper/UserTaskInstanceAttachmentDataEventMerger.java -@@ -22,7 +22,7 @@ import java.util.ArrayList; - import java.util.List; - import java.util.Optional; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - import org.kie.kogito.event.usertask.UserTaskInstanceAttachmentDataEvent; - import org.kie.kogito.event.usertask.UserTaskInstanceAttachmentEventBody; -diff --git a/data-index/data-index-common/src/main/java/org/kie/kogito/index/event/mapper/UserTaskInstanceCommentDataEventMerger.java b/data-index/data-index-common/src/main/java/org/kie/kogito/index/event/mapper/UserTaskInstanceCommentDataEventMerger.java -index de2191fa5..113a1551b 100644 ---- a/data-index/data-index-common/src/main/java/org/kie/kogito/index/event/mapper/UserTaskInstanceCommentDataEventMerger.java -+++ b/data-index/data-index-common/src/main/java/org/kie/kogito/index/event/mapper/UserTaskInstanceCommentDataEventMerger.java -@@ -22,7 +22,7 @@ import java.util.ArrayList; - import java.util.List; - import java.util.Optional; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - import org.kie.kogito.event.usertask.UserTaskInstanceCommentDataEvent; - import org.kie.kogito.event.usertask.UserTaskInstanceCommentEventBody; -diff --git a/data-index/data-index-common/src/main/java/org/kie/kogito/index/event/mapper/UserTaskInstanceDeadlineDataEventMerger.java b/data-index/data-index-common/src/main/java/org/kie/kogito/index/event/mapper/UserTaskInstanceDeadlineDataEventMerger.java -index eb858e9ec..b36730e48 100644 ---- a/data-index/data-index-common/src/main/java/org/kie/kogito/index/event/mapper/UserTaskInstanceDeadlineDataEventMerger.java -+++ b/data-index/data-index-common/src/main/java/org/kie/kogito/index/event/mapper/UserTaskInstanceDeadlineDataEventMerger.java -@@ -18,7 +18,7 @@ - */ - package org.kie.kogito.index.event.mapper; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - import org.kie.kogito.event.usertask.UserTaskInstanceDataEvent; - import org.kie.kogito.event.usertask.UserTaskInstanceDeadlineDataEvent; -diff --git a/data-index/data-index-common/src/main/java/org/kie/kogito/index/event/mapper/UserTaskInstanceStateEventMerger.java b/data-index/data-index-common/src/main/java/org/kie/kogito/index/event/mapper/UserTaskInstanceStateEventMerger.java -index 9429c8707..86e704b26 100644 ---- a/data-index/data-index-common/src/main/java/org/kie/kogito/index/event/mapper/UserTaskInstanceStateEventMerger.java -+++ b/data-index/data-index-common/src/main/java/org/kie/kogito/index/event/mapper/UserTaskInstanceStateEventMerger.java -@@ -20,7 +20,7 @@ package org.kie.kogito.index.event.mapper; - - import java.net.URI; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - import org.kie.kogito.event.usertask.UserTaskInstanceDataEvent; - import org.kie.kogito.event.usertask.UserTaskInstanceStateDataEvent; -diff --git a/data-index/data-index-common/src/main/java/org/kie/kogito/index/event/mapper/UserTaskInstanceVariableDataEventMerger.java b/data-index/data-index-common/src/main/java/org/kie/kogito/index/event/mapper/UserTaskInstanceVariableDataEventMerger.java -index e8aad2e9c..0566b70c5 100644 ---- a/data-index/data-index-common/src/main/java/org/kie/kogito/index/event/mapper/UserTaskInstanceVariableDataEventMerger.java -+++ b/data-index/data-index-common/src/main/java/org/kie/kogito/index/event/mapper/UserTaskInstanceVariableDataEventMerger.java -@@ -21,7 +21,7 @@ package org.kie.kogito.index.event.mapper; - import java.util.HashMap; - import java.util.Map; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - import org.kie.kogito.event.usertask.UserTaskInstanceDataEvent; - import org.kie.kogito.event.usertask.UserTaskInstanceVariableDataEvent; -diff --git a/data-index/data-index-common/src/main/java/org/kie/kogito/index/json/ObjectMapperProducer.java b/data-index/data-index-common/src/main/java/org/kie/kogito/index/json/ObjectMapperProducer.java -index cbe2a79ae..cbf058b55 100644 ---- a/data-index/data-index-common/src/main/java/org/kie/kogito/index/json/ObjectMapperProducer.java -+++ b/data-index/data-index-common/src/main/java/org/kie/kogito/index/json/ObjectMapperProducer.java -@@ -18,7 +18,7 @@ - */ - package org.kie.kogito.index.json; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - import com.fasterxml.jackson.databind.ObjectMapper; - -diff --git a/data-index/data-index-common/src/main/java/org/kie/kogito/index/service/IndexingService.java b/data-index/data-index-common/src/main/java/org/kie/kogito/index/service/IndexingService.java -index 722958a69..625be7422 100644 ---- a/data-index/data-index-common/src/main/java/org/kie/kogito/index/service/IndexingService.java -+++ b/data-index/data-index-common/src/main/java/org/kie/kogito/index/service/IndexingService.java -@@ -26,9 +26,9 @@ import java.util.List; - import java.util.Map; - import java.util.Optional; - --import javax.enterprise.context.ApplicationScoped; --import javax.enterprise.inject.Instance; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.inject.Instance; -+import jakarta.inject.Inject; - - import org.eclipse.microprofile.faulttolerance.Retry; - import org.kie.kogito.event.process.ProcessInstanceDataEvent; -diff --git a/data-index/data-index-graphql/src/main/java/org/kie/kogito/index/graphql/AbstractGraphQLSchemaManager.java b/data-index/data-index-graphql/src/main/java/org/kie/kogito/index/graphql/AbstractGraphQLSchemaManager.java -index e6a97e630..6bf9a3538 100644 ---- a/data-index/data-index-graphql/src/main/java/org/kie/kogito/index/graphql/AbstractGraphQLSchemaManager.java -+++ b/data-index/data-index-graphql/src/main/java/org/kie/kogito/index/graphql/AbstractGraphQLSchemaManager.java -@@ -28,8 +28,7 @@ import java.util.Objects; - import java.util.concurrent.CompletableFuture; - import java.util.function.Consumer; - --import javax.annotation.PostConstruct; --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.kie.kogito.index.api.KogitoRuntimeClient; - import org.kie.kogito.index.graphql.query.GraphQLQueryOrderByParser; -@@ -53,6 +52,7 @@ import graphql.schema.GraphQLScalarType; - import graphql.schema.GraphQLSchema; - import graphql.schema.idl.SchemaParser; - import graphql.schema.idl.TypeDefinitionRegistry; -+import jakarta.annotation.PostConstruct; - - import static java.lang.String.format; - import static java.util.Collections.singletonList; -diff --git a/data-index/data-index-graphql/src/main/java/org/kie/kogito/index/graphql/DefaultDateTimeCoercing.java b/data-index/data-index-graphql/src/main/java/org/kie/kogito/index/graphql/DefaultDateTimeCoercing.java -index b1c09be8c..e114411d4 100644 ---- a/data-index/data-index-graphql/src/main/java/org/kie/kogito/index/graphql/DefaultDateTimeCoercing.java -+++ b/data-index/data-index-graphql/src/main/java/org/kie/kogito/index/graphql/DefaultDateTimeCoercing.java -@@ -25,7 +25,7 @@ import java.time.ZonedDateTime; - import java.time.format.DateTimeParseException; - import java.time.temporal.ChronoUnit; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - import org.kie.kogito.index.DateTimeUtils; - -diff --git a/data-index/data-index-graphql/src/main/java/org/kie/kogito/index/graphql/GraphQLInstrumentation.java b/data-index/data-index-graphql/src/main/java/org/kie/kogito/index/graphql/GraphQLInstrumentation.java -index d1d427515..2803e95b8 100644 ---- a/data-index/data-index-graphql/src/main/java/org/kie/kogito/index/graphql/GraphQLInstrumentation.java -+++ b/data-index/data-index-graphql/src/main/java/org/kie/kogito/index/graphql/GraphQLInstrumentation.java -@@ -18,8 +18,8 @@ - */ - package org.kie.kogito.index.graphql; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import com.fasterxml.jackson.databind.JsonNode; - -diff --git a/data-index/data-index-graphql/src/main/java/org/kie/kogito/index/graphql/GraphQLProducer.java b/data-index/data-index-graphql/src/main/java/org/kie/kogito/index/graphql/GraphQLProducer.java -index baaf75cbb..07a134f6a 100644 ---- a/data-index/data-index-graphql/src/main/java/org/kie/kogito/index/graphql/GraphQLProducer.java -+++ b/data-index/data-index-graphql/src/main/java/org/kie/kogito/index/graphql/GraphQLProducer.java -@@ -18,9 +18,9 @@ - */ - package org.kie.kogito.index.graphql; - --import javax.enterprise.context.ApplicationScoped; --import javax.enterprise.inject.Produces; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.inject.Produces; -+import jakarta.inject.Inject; - - import graphql.GraphQL; - -diff --git a/data-index/data-index-graphql/src/main/java/org/kie/kogito/index/graphql/GraphQLScalarTypeProducer.java b/data-index/data-index-graphql/src/main/java/org/kie/kogito/index/graphql/GraphQLScalarTypeProducer.java -index 3d4ef5377..d1f7393af 100644 ---- a/data-index/data-index-graphql/src/main/java/org/kie/kogito/index/graphql/GraphQLScalarTypeProducer.java -+++ b/data-index/data-index-graphql/src/main/java/org/kie/kogito/index/graphql/GraphQLScalarTypeProducer.java -@@ -18,9 +18,9 @@ - */ - package org.kie.kogito.index.graphql; - --import javax.enterprise.context.ApplicationScoped; --import javax.enterprise.inject.Produces; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.inject.Produces; -+import jakarta.inject.Inject; - - import graphql.schema.GraphQLScalarType; - -diff --git a/data-index/data-index-graphql/src/main/java/org/kie/kogito/index/graphql/OracleDateTimeCoercing.java b/data-index/data-index-graphql/src/main/java/org/kie/kogito/index/graphql/OracleDateTimeCoercing.java -index c8dad3201..1efe23e68 100644 ---- a/data-index/data-index-graphql/src/main/java/org/kie/kogito/index/graphql/OracleDateTimeCoercing.java -+++ b/data-index/data-index-graphql/src/main/java/org/kie/kogito/index/graphql/OracleDateTimeCoercing.java -@@ -20,7 +20,7 @@ package org.kie.kogito.index.graphql; - - import java.time.ZonedDateTime; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - import io.quarkus.arc.properties.IfBuildProperty; - -diff --git a/data-index/data-index-graphql/src/main/java/org/kie/kogito/index/graphql/PostgreSqlDateTimeCoercing.java b/data-index/data-index-graphql/src/main/java/org/kie/kogito/index/graphql/PostgreSqlDateTimeCoercing.java -index 4c12f8458..e9d474a9e 100644 ---- a/data-index/data-index-graphql/src/main/java/org/kie/kogito/index/graphql/PostgreSqlDateTimeCoercing.java -+++ b/data-index/data-index-graphql/src/main/java/org/kie/kogito/index/graphql/PostgreSqlDateTimeCoercing.java -@@ -20,7 +20,7 @@ package org.kie.kogito.index.graphql; - - import java.time.ZonedDateTime; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - import io.quarkus.arc.properties.IfBuildProperty; - -diff --git a/data-index/data-index-graphql/src/main/java/org/kie/kogito/index/vertx/BlockingGraphqlRouterProducer.java b/data-index/data-index-graphql/src/main/java/org/kie/kogito/index/vertx/BlockingGraphqlRouterProducer.java -index 762a69d7b..a71fbe802 100644 ---- a/data-index/data-index-graphql/src/main/java/org/kie/kogito/index/vertx/BlockingGraphqlRouterProducer.java -+++ b/data-index/data-index-graphql/src/main/java/org/kie/kogito/index/vertx/BlockingGraphqlRouterProducer.java -@@ -18,9 +18,8 @@ - */ - package org.kie.kogito.index.vertx; - --import javax.annotation.PostConstruct; --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import io.quarkus.arc.properties.IfBuildProperty; - import io.quarkus.vertx.web.Route; -@@ -28,7 +27,7 @@ import io.vertx.ext.web.RoutingContext; - import io.vertx.ext.web.handler.graphql.ApolloWSHandler; - import io.vertx.ext.web.handler.graphql.GraphQLHandler; - import io.vertx.ext.web.handler.graphql.GraphQLHandlerOptions; -- -+import jakarta.annotation.PostConstruct; - import graphql.GraphQL; - - import static io.quarkus.vertx.web.Route.HttpMethod.GET; -diff --git a/data-index/data-index-graphql/src/main/java/org/kie/kogito/index/vertx/ReactiveGraphqlRouterProducer.java b/data-index/data-index-graphql/src/main/java/org/kie/kogito/index/vertx/ReactiveGraphqlRouterProducer.java -index 6707ec910..e92585353 100644 ---- a/data-index/data-index-graphql/src/main/java/org/kie/kogito/index/vertx/ReactiveGraphqlRouterProducer.java -+++ b/data-index/data-index-graphql/src/main/java/org/kie/kogito/index/vertx/ReactiveGraphqlRouterProducer.java -@@ -18,9 +18,8 @@ - */ - package org.kie.kogito.index.vertx; - --import javax.annotation.PostConstruct; --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import io.quarkus.arc.properties.UnlessBuildProperty; - import io.quarkus.vertx.web.Route; -@@ -28,7 +27,7 @@ import io.vertx.ext.web.RoutingContext; - import io.vertx.ext.web.handler.graphql.ApolloWSHandler; - import io.vertx.ext.web.handler.graphql.GraphQLHandler; - import io.vertx.ext.web.handler.graphql.GraphQLHandlerOptions; -- -+import jakarta.annotation.PostConstruct; - import graphql.GraphQL; - - import static io.quarkus.vertx.web.Route.HttpMethod.GET; -diff --git a/data-index/data-index-service/data-index-service-common/src/main/java/org/kie/kogito/index/service/api/KogitoRuntimeClientImpl.java b/data-index/data-index-service/data-index-service-common/src/main/java/org/kie/kogito/index/service/api/KogitoRuntimeClientImpl.java -index ebaf891ad..1d4bbc355 100644 ---- a/data-index/data-index-service/data-index-service-common/src/main/java/org/kie/kogito/index/service/api/KogitoRuntimeClientImpl.java -+++ b/data-index/data-index-service/data-index-service-common/src/main/java/org/kie/kogito/index/service/api/KogitoRuntimeClientImpl.java -@@ -22,8 +22,8 @@ import java.util.List; - import java.util.Map; - import java.util.concurrent.CompletableFuture; - --import javax.enterprise.context.ApplicationScoped; --import javax.ws.rs.core.MediaType; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.ws.rs.core.MediaType; - - import org.kie.kogito.index.api.KogitoRuntimeClient; - import org.kie.kogito.index.api.KogitoRuntimeCommonClient; -diff --git a/data-index/data-index-service/data-index-service-common/src/main/java/org/kie/kogito/index/service/auth/MultiTenantResolver.java b/data-index/data-index-service/data-index-service-common/src/main/java/org/kie/kogito/index/service/auth/MultiTenantResolver.java -index b6cd7a755..c56c1efcf 100644 ---- a/data-index/data-index-service/data-index-service-common/src/main/java/org/kie/kogito/index/service/auth/MultiTenantResolver.java -+++ b/data-index/data-index-service/data-index-service-common/src/main/java/org/kie/kogito/index/service/auth/MultiTenantResolver.java -@@ -18,8 +18,8 @@ - */ - package org.kie.kogito.index.service.auth; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import org.eclipse.microprofile.config.inject.ConfigProperty; - -diff --git a/data-index/data-index-service/data-index-service-common/src/main/java/org/kie/kogito/index/service/graphql/GraphQLProtoSchemaMapper.java b/data-index/data-index-service/data-index-service-common/src/main/java/org/kie/kogito/index/service/graphql/GraphQLProtoSchemaMapper.java -index 5d20283f9..abedee5eb 100644 ---- a/data-index/data-index-service/data-index-service-common/src/main/java/org/kie/kogito/index/service/graphql/GraphQLProtoSchemaMapper.java -+++ b/data-index/data-index-service/data-index-service-common/src/main/java/org/kie/kogito/index/service/graphql/GraphQLProtoSchemaMapper.java -@@ -24,9 +24,9 @@ import java.util.Map; - import java.util.Set; - import java.util.concurrent.ConcurrentHashMap; - --import javax.enterprise.context.ApplicationScoped; --import javax.enterprise.event.Observes; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.event.Observes; -+import jakarta.inject.Inject; - - import org.kie.kogito.index.graphql.GraphQLObjectTypeMapper; - import org.kie.kogito.index.graphql.query.GraphQLInputObjectTypeMapper; -diff --git a/data-index/data-index-service/data-index-service-common/src/main/java/org/kie/kogito/index/service/graphql/GraphQLSchemaManagerImpl.java b/data-index/data-index-service/data-index-service-common/src/main/java/org/kie/kogito/index/service/graphql/GraphQLSchemaManagerImpl.java -index 9a5aec671..3738fca0e 100644 ---- a/data-index/data-index-service/data-index-service-common/src/main/java/org/kie/kogito/index/service/graphql/GraphQLSchemaManagerImpl.java -+++ b/data-index/data-index-service/data-index-service-common/src/main/java/org/kie/kogito/index/service/graphql/GraphQLSchemaManagerImpl.java -@@ -24,8 +24,7 @@ import java.util.List; - import java.util.Optional; - import java.util.function.Supplier; - --import javax.annotation.PostConstruct; --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - import org.kie.kogito.index.graphql.AbstractGraphQLSchemaManager; - import org.kie.kogito.index.graphql.query.GraphQLQueryParserRegistry; -@@ -33,6 +32,7 @@ import org.kie.kogito.index.json.DataIndexParsingException; - import org.kie.kogito.index.model.ProcessInstanceState; - import org.kie.kogito.index.service.DataIndexServiceException; - import org.kie.kogito.persistence.api.Storage; -+import jakarta.annotation.PostConstruct; - import org.reactivestreams.Publisher; - - import com.fasterxml.jackson.databind.JsonNode; -diff --git a/data-index/data-index-service/data-index-service-common/src/main/java/org/kie/kogito/index/service/messaging/BlockingMessagingEventConsumer.java b/data-index/data-index-service/data-index-service-common/src/main/java/org/kie/kogito/index/service/messaging/BlockingMessagingEventConsumer.java -index c6c008e53..ac441e3d3 100644 ---- a/data-index/data-index-service/data-index-service-common/src/main/java/org/kie/kogito/index/service/messaging/BlockingMessagingEventConsumer.java -+++ b/data-index/data-index-service/data-index-service-common/src/main/java/org/kie/kogito/index/service/messaging/BlockingMessagingEventConsumer.java -@@ -18,10 +18,10 @@ - */ - package org.kie.kogito.index.service.messaging; - --import javax.enterprise.context.ApplicationScoped; --import javax.enterprise.event.Event; --import javax.inject.Inject; --import javax.transaction.Transactional; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.event.Event; -+import jakarta.inject.Inject; -+import jakarta.transaction.Transactional; - - import org.eclipse.microprofile.reactive.messaging.Incoming; - import org.kie.kogito.event.DataEvent; -diff --git a/data-index/data-index-service/data-index-service-common/src/main/java/org/kie/kogito/index/service/messaging/DomainEventConsumer.java b/data-index/data-index-service/data-index-service-common/src/main/java/org/kie/kogito/index/service/messaging/DomainEventConsumer.java -index 39bfb2574..ddb0d4fd6 100644 ---- a/data-index/data-index-service/data-index-service-common/src/main/java/org/kie/kogito/index/service/messaging/DomainEventConsumer.java -+++ b/data-index/data-index-service/data-index-service-common/src/main/java/org/kie/kogito/index/service/messaging/DomainEventConsumer.java -@@ -18,9 +18,9 @@ - */ - package org.kie.kogito.index.service.messaging; - --import javax.enterprise.context.ApplicationScoped; --import javax.enterprise.event.Observes; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.event.Observes; -+import jakarta.inject.Inject; - - import org.eclipse.microprofile.config.inject.ConfigProperty; - import org.kie.kogito.event.DataEvent; -diff --git a/data-index/data-index-service/data-index-service-common/src/main/java/org/kie/kogito/index/service/messaging/KogitoIndexEventConverter.java b/data-index/data-index-service/data-index-service-common/src/main/java/org/kie/kogito/index/service/messaging/KogitoIndexEventConverter.java -index c848e2a5c..467b10445 100644 ---- a/data-index/data-index-service/data-index-service-common/src/main/java/org/kie/kogito/index/service/messaging/KogitoIndexEventConverter.java -+++ b/data-index/data-index-service/data-index-service-common/src/main/java/org/kie/kogito/index/service/messaging/KogitoIndexEventConverter.java -@@ -22,8 +22,8 @@ import java.io.IOException; - import java.lang.reflect.Type; - import java.util.function.Supplier; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import org.eclipse.microprofile.reactive.messaging.Message; - import org.kie.kogito.event.AbstractDataEvent; -diff --git a/data-index/data-index-service/data-index-service-common/src/main/java/org/kie/kogito/index/service/messaging/ReactiveMessagingEventConsumer.java b/data-index/data-index-service/data-index-service-common/src/main/java/org/kie/kogito/index/service/messaging/ReactiveMessagingEventConsumer.java -index fc5d30695..a93ec262f 100644 ---- a/data-index/data-index-service/data-index-service-common/src/main/java/org/kie/kogito/index/service/messaging/ReactiveMessagingEventConsumer.java -+++ b/data-index/data-index-service/data-index-service-common/src/main/java/org/kie/kogito/index/service/messaging/ReactiveMessagingEventConsumer.java -@@ -18,9 +18,9 @@ - */ - package org.kie.kogito.index.service.messaging; - --import javax.enterprise.context.ApplicationScoped; --import javax.enterprise.event.Event; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.event.Event; -+import jakarta.inject.Inject; - - import org.eclipse.microprofile.reactive.messaging.Incoming; - import org.kie.kogito.event.DataEvent; -diff --git a/data-index/data-index-service/data-index-service-common/src/main/java/org/kie/kogito/index/service/vertx/VertxRouterSetup.java b/data-index/data-index-service/data-index-service-common/src/main/java/org/kie/kogito/index/service/vertx/VertxRouterSetup.java -index a18e6a8bf..0ec38acde 100644 ---- a/data-index/data-index-service/data-index-service-common/src/main/java/org/kie/kogito/index/service/vertx/VertxRouterSetup.java -+++ b/data-index/data-index-service/data-index-service-common/src/main/java/org/kie/kogito/index/service/vertx/VertxRouterSetup.java -@@ -20,9 +20,9 @@ package org.kie.kogito.index.service.vertx; - - import java.util.Optional; - --import javax.enterprise.context.ApplicationScoped; --import javax.enterprise.event.Observes; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.event.Observes; -+import jakarta.inject.Inject; - - import org.eclipse.microprofile.config.inject.ConfigProperty; - -diff --git a/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/AbstractDomainIndexingServiceIT.java b/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/AbstractDomainIndexingServiceIT.java -index 8ef52ccc6..c950e5659 100644 ---- a/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/AbstractDomainIndexingServiceIT.java -+++ b/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/AbstractDomainIndexingServiceIT.java -@@ -25,7 +25,7 @@ import java.util.Map; - import java.util.UUID; - import java.util.concurrent.CompletableFuture; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.junit.jupiter.api.AfterEach; - import org.junit.jupiter.api.Test; -diff --git a/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/AbstractIndexingIT.java b/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/AbstractIndexingIT.java -index f0aad8dec..a32ddb76f 100644 ---- a/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/AbstractIndexingIT.java -+++ b/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/AbstractIndexingIT.java -@@ -18,15 +18,14 @@ - */ - package org.kie.kogito.index.service; - --import javax.enterprise.inject.Any; --import javax.inject.Inject; -+import io.smallrye.reactive.messaging.memory.InMemoryConnector; -+import jakarta.enterprise.inject.Any; -+import jakarta.inject.Inject; - - import org.kie.kogito.event.process.ProcessInstanceDataEvent; - import org.kie.kogito.event.usertask.UserTaskInstanceDataEvent; - import org.kie.kogito.index.event.KogitoJobCloudEvent; - --import io.smallrye.reactive.messaging.providers.connectors.InMemoryConnector; -- - import static org.kie.kogito.index.service.messaging.ReactiveMessagingEventConsumer.KOGITO_JOBS_EVENTS; - import static org.kie.kogito.index.service.messaging.ReactiveMessagingEventConsumer.KOGITO_PROCESSINSTANCES_EVENTS; - import static org.kie.kogito.index.service.messaging.ReactiveMessagingEventConsumer.KOGITO_USERTASKINSTANCES_EVENTS; -diff --git a/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/AbstractIndexingServiceIT.java b/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/AbstractIndexingServiceIT.java -index ef18a7d98..44cc9fff0 100644 ---- a/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/AbstractIndexingServiceIT.java -+++ b/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/AbstractIndexingServiceIT.java -@@ -30,8 +30,8 @@ import java.util.concurrent.TimeUnit; - import java.util.concurrent.atomic.AtomicBoolean; - import java.util.stream.IntStream; - --import javax.inject.Inject; --import javax.transaction.Transactional; -+import jakarta.inject.Inject; -+import jakarta.transaction.Transactional; - - import org.junit.jupiter.api.AfterEach; - import org.junit.jupiter.api.BeforeAll; -diff --git a/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/cache/AbstractQueryIT.java b/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/cache/AbstractQueryIT.java -index 8fc93d4bf..dd2d66e85 100644 ---- a/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/cache/AbstractQueryIT.java -+++ b/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/cache/AbstractQueryIT.java -@@ -22,7 +22,7 @@ import java.util.Date; - import java.util.List; - import java.util.UUID; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.junit.jupiter.api.AfterEach; - import org.junit.jupiter.api.BeforeEach; -diff --git a/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/cache/AbstractStorageIT.java b/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/cache/AbstractStorageIT.java -index f38c8a9b3..8989e0eac 100644 ---- a/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/cache/AbstractStorageIT.java -+++ b/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/cache/AbstractStorageIT.java -@@ -22,7 +22,7 @@ import java.util.UUID; - import java.util.concurrent.CompletableFuture; - import java.util.concurrent.TimeUnit; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.junit.jupiter.api.AfterEach; - import org.junit.jupiter.api.Test; -diff --git a/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/graphql/AbstractWebSocketSubscriptionIT.java b/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/graphql/AbstractWebSocketSubscriptionIT.java -index a577e9858..ed5e3c0a3 100644 ---- a/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/graphql/AbstractWebSocketSubscriptionIT.java -+++ b/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/graphql/AbstractWebSocketSubscriptionIT.java -@@ -24,7 +24,7 @@ import java.util.concurrent.CompletableFuture; - import java.util.concurrent.TimeUnit; - import java.util.concurrent.atomic.AtomicInteger; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.junit.jupiter.api.AfterEach; - import org.junit.jupiter.api.BeforeEach; -diff --git a/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/graphql/query/AbstractGraphQLQueryOrderByIT.java b/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/graphql/query/AbstractGraphQLQueryOrderByIT.java -index 0dfd09e61..edda090aa 100644 ---- a/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/graphql/query/AbstractGraphQLQueryOrderByIT.java -+++ b/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/graphql/query/AbstractGraphQLQueryOrderByIT.java -@@ -24,7 +24,7 @@ import java.util.function.Function; - import java.util.stream.Collectors; - import java.util.stream.Stream; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.junit.jupiter.api.Test; - import org.kie.kogito.index.service.graphql.GraphQLSchemaManagerImpl; -diff --git a/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/graphql/query/AbstractGraphQLRuntimesQueriesIT.java b/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/graphql/query/AbstractGraphQLRuntimesQueriesIT.java -index f9dc10f1e..07ae841a5 100644 ---- a/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/graphql/query/AbstractGraphQLRuntimesQueriesIT.java -+++ b/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/graphql/query/AbstractGraphQLRuntimesQueriesIT.java -@@ -24,7 +24,7 @@ import java.util.List; - import java.util.Map; - import java.util.UUID; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.junit.jupiter.api.BeforeEach; - import org.junit.jupiter.api.Test; -diff --git a/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/messaging/AbstractDomainMessagingConsumerIT.java b/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/messaging/AbstractDomainMessagingConsumerIT.java -index 06bbe2dbb..a85eae7f6 100644 ---- a/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/messaging/AbstractDomainMessagingConsumerIT.java -+++ b/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/messaging/AbstractDomainMessagingConsumerIT.java -@@ -21,7 +21,7 @@ package org.kie.kogito.index.service.messaging; - import java.time.Duration; - import java.util.Collection; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.junit.jupiter.api.AfterEach; - import org.junit.jupiter.api.BeforeEach; -diff --git a/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/messaging/AbstractDomainMessagingHttpConsumerIT.java b/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/messaging/AbstractDomainMessagingHttpConsumerIT.java -index 3dde99da4..46732f9c8 100644 ---- a/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/messaging/AbstractDomainMessagingHttpConsumerIT.java -+++ b/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/messaging/AbstractDomainMessagingHttpConsumerIT.java -@@ -18,15 +18,14 @@ - */ - package org.kie.kogito.index.service.messaging; - --import javax.enterprise.inject.Any; --import javax.inject.Inject; -+import io.smallrye.reactive.messaging.memory.InMemoryConnector; -+import jakarta.enterprise.inject.Any; -+import jakarta.inject.Inject; - - import org.kie.kogito.event.process.ProcessInstanceDataEvent; - import org.kie.kogito.event.usertask.UserTaskInstanceDataEvent; - import org.kie.kogito.index.model.ProcessInstanceState; - --import io.smallrye.reactive.messaging.providers.connectors.InMemoryConnector; -- - import static org.kie.kogito.index.service.messaging.ReactiveMessagingEventConsumer.KOGITO_PROCESSINSTANCES_EVENTS; - import static org.kie.kogito.index.service.messaging.ReactiveMessagingEventConsumer.KOGITO_USERTASKINSTANCES_EVENTS; - import static org.kie.kogito.index.test.TestUtils.getProcessCloudEvent; -diff --git a/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/messaging/AbstractMessagingConsumerIT.java b/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/messaging/AbstractMessagingConsumerIT.java -index 9c238c371..ed2ced9c2 100644 ---- a/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/messaging/AbstractMessagingConsumerIT.java -+++ b/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/messaging/AbstractMessagingConsumerIT.java -@@ -20,7 +20,7 @@ package org.kie.kogito.index.service.messaging; - - import java.time.Duration; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.junit.jupiter.api.AfterEach; - import org.junit.jupiter.api.BeforeEach; -diff --git a/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/messaging/AbstractMessagingHttpConsumerIT.java b/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/messaging/AbstractMessagingHttpConsumerIT.java -index 0f75ba639..80268d3f4 100644 ---- a/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/messaging/AbstractMessagingHttpConsumerIT.java -+++ b/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/messaging/AbstractMessagingHttpConsumerIT.java -@@ -18,16 +18,15 @@ - */ - package org.kie.kogito.index.service.messaging; - --import javax.enterprise.inject.Any; --import javax.inject.Inject; -+import io.smallrye.reactive.messaging.memory.InMemoryConnector; -+import jakarta.enterprise.inject.Any; -+import jakarta.inject.Inject; - - import org.kie.kogito.event.process.ProcessInstanceDataEvent; - import org.kie.kogito.event.usertask.UserTaskInstanceDataEvent; - import org.kie.kogito.index.event.KogitoJobCloudEvent; - import org.kie.kogito.index.model.ProcessInstanceState; - --import io.smallrye.reactive.messaging.providers.connectors.InMemoryConnector; -- - import static org.kie.kogito.index.service.messaging.ReactiveMessagingEventConsumer.KOGITO_JOBS_EVENTS; - import static org.kie.kogito.index.service.messaging.ReactiveMessagingEventConsumer.KOGITO_PROCESSINSTANCES_EVENTS; - import static org.kie.kogito.index.service.messaging.ReactiveMessagingEventConsumer.KOGITO_USERTASKINSTANCES_EVENTS; -diff --git a/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/messaging/AbstractMessagingLoadKafkaIT.java b/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/messaging/AbstractMessagingLoadKafkaIT.java -index fd97ba148..ac4edd255 100644 ---- a/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/messaging/AbstractMessagingLoadKafkaIT.java -+++ b/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/messaging/AbstractMessagingLoadKafkaIT.java -@@ -25,7 +25,7 @@ import java.util.UUID; - import java.util.stream.Collectors; - import java.util.stream.Stream; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.eclipse.microprofile.config.inject.ConfigProperty; - import org.junit.jupiter.api.AfterEach; -diff --git a/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/messaging/KogitoIndexEventConverterTest.java b/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/messaging/KogitoIndexEventConverterTest.java -index 764d0efc8..c5916a970 100644 ---- a/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/messaging/KogitoIndexEventConverterTest.java -+++ b/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/messaging/KogitoIndexEventConverterTest.java -@@ -21,7 +21,7 @@ package org.kie.kogito.index.service.messaging; - import java.net.URI; - import java.time.OffsetDateTime; - --import javax.ws.rs.core.HttpHeaders; -+import jakarta.ws.rs.core.HttpHeaders; - - import org.eclipse.microprofile.reactive.messaging.Message; - import org.eclipse.microprofile.reactive.messaging.Metadata; -diff --git a/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/messaging/ReactiveMessagingEventConsumerTest.java b/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/messaging/ReactiveMessagingEventConsumerTest.java -index 3669c0550..81415cdbc 100644 ---- a/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/messaging/ReactiveMessagingEventConsumerTest.java -+++ b/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/messaging/ReactiveMessagingEventConsumerTest.java -@@ -20,7 +20,7 @@ package org.kie.kogito.index.service.messaging; - - import java.util.UUID; - --import javax.enterprise.event.Event; -+import jakarta.enterprise.event.Event; - - import org.junit.jupiter.api.Test; - import org.junit.jupiter.api.extension.ExtendWith; -diff --git a/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/test/InMemoryMessagingTestResource.java b/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/test/InMemoryMessagingTestResource.java -index dd339669b..495aa4d91 100644 ---- a/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/test/InMemoryMessagingTestResource.java -+++ b/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/test/InMemoryMessagingTestResource.java -@@ -23,7 +23,8 @@ import java.util.Map; - import java.util.stream.Stream; - - import io.quarkus.test.common.QuarkusTestResourceLifecycleManager; --import io.smallrye.reactive.messaging.providers.connectors.InMemoryConnector; -+ -+import io.smallrye.reactive.messaging.memory.InMemoryConnector; - - import static org.kie.kogito.index.service.messaging.ReactiveMessagingEventConsumer.KOGITO_JOBS_EVENTS; - import static org.kie.kogito.index.service.messaging.ReactiveMessagingEventConsumer.KOGITO_PROCESSINSTANCES_EVENTS; -diff --git a/data-index/data-index-storage/data-index-storage-api/src/main/java/org/kie/kogito/index/storage/DataIndexStorageServiceImpl.java b/data-index/data-index-storage/data-index-storage-api/src/main/java/org/kie/kogito/index/storage/DataIndexStorageServiceImpl.java -index 58f04a1be..2d1352fbd 100644 ---- a/data-index/data-index-storage/data-index-storage-api/src/main/java/org/kie/kogito/index/storage/DataIndexStorageServiceImpl.java -+++ b/data-index/data-index-storage/data-index-storage-api/src/main/java/org/kie/kogito/index/storage/DataIndexStorageServiceImpl.java -@@ -18,8 +18,8 @@ - */ - package org.kie.kogito.index.storage; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import org.kie.kogito.index.model.Job; - import org.kie.kogito.index.model.ProcessDefinition; -diff --git a/data-index/data-index-storage/data-index-storage-infinispan/src/main/java/org/kie/kogito/index/infinispan/InfinispanCacheStartup.java b/data-index/data-index-storage/data-index-storage-infinispan/src/main/java/org/kie/kogito/index/infinispan/InfinispanCacheStartup.java -index b977cc090..95a73b29c 100644 ---- a/data-index/data-index-storage/data-index-storage-infinispan/src/main/java/org/kie/kogito/index/infinispan/InfinispanCacheStartup.java -+++ b/data-index/data-index-storage/data-index-storage-infinispan/src/main/java/org/kie/kogito/index/infinispan/InfinispanCacheStartup.java -@@ -18,10 +18,10 @@ - */ - package org.kie.kogito.index.infinispan; - --import javax.annotation.PostConstruct; --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - -+import jakarta.annotation.PostConstruct; - import org.kie.kogito.index.storage.DataIndexStorageService; - - import io.quarkus.runtime.Startup; -diff --git a/data-index/data-index-storage/data-index-storage-infinispan/src/main/java/org/kie/kogito/index/infinispan/protostream/ProtostreamProducer.java b/data-index/data-index-storage/data-index-storage-infinispan/src/main/java/org/kie/kogito/index/infinispan/protostream/ProtostreamProducer.java -index 5a7bd8876..022292675 100644 ---- a/data-index/data-index-storage/data-index-storage-infinispan/src/main/java/org/kie/kogito/index/infinispan/protostream/ProtostreamProducer.java -+++ b/data-index/data-index-storage/data-index-storage-infinispan/src/main/java/org/kie/kogito/index/infinispan/protostream/ProtostreamProducer.java -@@ -18,9 +18,9 @@ - */ - package org.kie.kogito.index.infinispan.protostream; - --import javax.enterprise.context.ApplicationScoped; --import javax.enterprise.inject.Produces; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.inject.Produces; -+import jakarta.inject.Inject; - - import org.infinispan.protostream.MessageMarshaller; - -diff --git a/data-index/data-index-storage/data-index-storage-infinispan/src/main/java/org/kie/kogito/index/infinispan/schema/ProtoSchemaAcceptor.java b/data-index/data-index-storage/data-index-storage-infinispan/src/main/java/org/kie/kogito/index/infinispan/schema/ProtoSchemaAcceptor.java -index 030bcd308..caade14ec 100644 ---- a/data-index/data-index-storage/data-index-storage-infinispan/src/main/java/org/kie/kogito/index/infinispan/schema/ProtoSchemaAcceptor.java -+++ b/data-index/data-index-storage/data-index-storage-infinispan/src/main/java/org/kie/kogito/index/infinispan/schema/ProtoSchemaAcceptor.java -@@ -20,7 +20,7 @@ package org.kie.kogito.index.infinispan.schema; - - import java.util.Optional; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - import org.eclipse.microprofile.config.inject.ConfigProperty; - import org.kie.kogito.persistence.api.schema.SchemaAcceptor; -diff --git a/data-index/data-index-storage/data-index-storage-infinispan/src/main/java/org/kie/kogito/index/infinispan/schema/ProtoSchemaManager.java b/data-index/data-index-storage/data-index-storage-infinispan/src/main/java/org/kie/kogito/index/infinispan/schema/ProtoSchemaManager.java -index e468429a7..00405ac14 100644 ---- a/data-index/data-index-storage/data-index-storage-infinispan/src/main/java/org/kie/kogito/index/infinispan/schema/ProtoSchemaManager.java -+++ b/data-index/data-index-storage/data-index-storage-infinispan/src/main/java/org/kie/kogito/index/infinispan/schema/ProtoSchemaManager.java -@@ -21,9 +21,9 @@ package org.kie.kogito.index.infinispan.schema; - import java.util.ArrayList; - import java.util.List; - --import javax.enterprise.context.ApplicationScoped; --import javax.enterprise.event.Observes; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.event.Observes; -+import jakarta.inject.Inject; - - import org.infinispan.client.hotrod.RemoteCacheManager; - import org.infinispan.commons.configuration.XMLStringConfiguration; -diff --git a/data-index/data-index-storage/data-index-storage-mongodb/src/main/java/org/kie/kogito/index/mongodb/storage/MongoModelServiceImpl.java b/data-index/data-index-storage/data-index-storage-mongodb/src/main/java/org/kie/kogito/index/mongodb/storage/MongoModelServiceImpl.java -index aae8a0de9..ca632a4d4 100644 ---- a/data-index/data-index-storage/data-index-storage-mongodb/src/main/java/org/kie/kogito/index/mongodb/storage/MongoModelServiceImpl.java -+++ b/data-index/data-index-storage/data-index-storage-mongodb/src/main/java/org/kie/kogito/index/mongodb/storage/MongoModelServiceImpl.java -@@ -18,14 +18,14 @@ - */ - package org.kie.kogito.index.mongodb.storage; - -+import jakarta.annotation.PostConstruct; - import java.util.Map; - import java.util.Objects; - import java.util.function.Supplier; - --import javax.annotation.PostConstruct; --import javax.enterprise.context.ApplicationScoped; --import javax.enterprise.event.Event; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.event.Event; -+import jakarta.inject.Inject; - - import org.kie.kogito.index.model.Job; - import org.kie.kogito.index.model.ProcessDefinition; -diff --git a/data-index/data-index-storage/data-index-storage-mongodb/src/main/java/org/kie/kogito/index/mongodb/storage/ProcessIndexObserver.java b/data-index/data-index-storage/data-index-storage-mongodb/src/main/java/org/kie/kogito/index/mongodb/storage/ProcessIndexObserver.java -index 821db8cb6..d5d1c6b37 100644 ---- a/data-index/data-index-storage/data-index-storage-mongodb/src/main/java/org/kie/kogito/index/mongodb/storage/ProcessIndexObserver.java -+++ b/data-index/data-index-storage/data-index-storage-mongodb/src/main/java/org/kie/kogito/index/mongodb/storage/ProcessIndexObserver.java -@@ -18,10 +18,10 @@ - */ - package org.kie.kogito.index.mongodb.storage; - --import javax.enterprise.context.ApplicationScoped; --import javax.enterprise.event.Event; --import javax.enterprise.event.Observes; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.event.Event; -+import jakarta.enterprise.event.Observes; -+import jakarta.inject.Inject; - - import org.kie.kogito.index.storage.DataIndexStorageService; - import org.kie.kogito.persistence.mongodb.index.IndexCreateOrUpdateEvent; -diff --git a/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/mock/MockIndexCreateOrUpdateEventListener.java b/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/mock/MockIndexCreateOrUpdateEventListener.java -index 58b44ecdb..29f8f383a 100644 ---- a/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/mock/MockIndexCreateOrUpdateEventListener.java -+++ b/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/mock/MockIndexCreateOrUpdateEventListener.java -@@ -20,8 +20,8 @@ package org.kie.kogito.index.mongodb.mock; - - import java.util.List; - --import javax.enterprise.context.ApplicationScoped; --import javax.enterprise.event.Observes; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.event.Observes; - - import org.kie.kogito.persistence.mongodb.index.IndexCreateOrUpdateEvent; - import org.mockito.Mockito; -diff --git a/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/query/DomainQueryIT.java b/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/query/DomainQueryIT.java -index d7b27ffb1..f7aa6ad50 100644 ---- a/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/query/DomainQueryIT.java -+++ b/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/query/DomainQueryIT.java -@@ -20,7 +20,7 @@ package org.kie.kogito.index.mongodb.query; - - import java.util.UUID; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.bson.Document; - import org.junit.jupiter.api.BeforeEach; -diff --git a/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/query/JobQueryIT.java b/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/query/JobQueryIT.java -index 5dce2a361..75cfa5cc1 100644 ---- a/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/query/JobQueryIT.java -+++ b/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/query/JobQueryIT.java -@@ -18,7 +18,7 @@ - */ - package org.kie.kogito.index.mongodb.query; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.junit.jupiter.api.BeforeEach; - import org.kie.kogito.index.model.Job; -diff --git a/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/query/ProcessDefinitionQueryIT.java b/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/query/ProcessDefinitionQueryIT.java -index db78b8470..b570feab4 100644 ---- a/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/query/ProcessDefinitionQueryIT.java -+++ b/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/query/ProcessDefinitionQueryIT.java -@@ -18,7 +18,7 @@ - */ - package org.kie.kogito.index.mongodb.query; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.junit.jupiter.api.BeforeEach; - import org.kie.kogito.index.model.ProcessDefinition; -diff --git a/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/query/ProcessIdQueryIT.java b/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/query/ProcessIdQueryIT.java -index 1c3330bb1..b3fd19d3d 100644 ---- a/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/query/ProcessIdQueryIT.java -+++ b/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/query/ProcessIdQueryIT.java -@@ -18,7 +18,7 @@ - */ - package org.kie.kogito.index.mongodb.query; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.junit.jupiter.api.BeforeEach; - import org.kie.kogito.index.mongodb.model.ProcessIdEntity; -diff --git a/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/query/ProcessInstanceQueryIT.java b/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/query/ProcessInstanceQueryIT.java -index e6db6b9af..22b968701 100644 ---- a/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/query/ProcessInstanceQueryIT.java -+++ b/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/query/ProcessInstanceQueryIT.java -@@ -18,7 +18,7 @@ - */ - package org.kie.kogito.index.mongodb.query; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.junit.jupiter.api.BeforeEach; - import org.kie.kogito.index.model.ProcessInstance; -diff --git a/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/query/UserTaskInstanceQueryIT.java b/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/query/UserTaskInstanceQueryIT.java -index e7149a0af..4eba34451 100644 ---- a/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/query/UserTaskInstanceQueryIT.java -+++ b/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/query/UserTaskInstanceQueryIT.java -@@ -18,7 +18,7 @@ - */ - package org.kie.kogito.index.mongodb.query; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.junit.jupiter.api.BeforeEach; - import org.kie.kogito.index.model.UserTaskInstance; -diff --git a/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/storage/DomainStorageIT.java b/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/storage/DomainStorageIT.java -index c31ddfc9a..4d170d136 100644 ---- a/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/storage/DomainStorageIT.java -+++ b/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/storage/DomainStorageIT.java -@@ -20,7 +20,7 @@ package org.kie.kogito.index.mongodb.storage; - - import java.util.UUID; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.bson.Document; - import org.junit.jupiter.api.AfterEach; -diff --git a/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/storage/JobStorageIT.java b/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/storage/JobStorageIT.java -index 088d6ccfa..d06f876c4 100644 ---- a/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/storage/JobStorageIT.java -+++ b/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/storage/JobStorageIT.java -@@ -20,7 +20,7 @@ package org.kie.kogito.index.mongodb.storage; - - import java.util.UUID; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.apache.commons.lang3.RandomStringUtils; - import org.junit.jupiter.api.AfterEach; -diff --git a/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/storage/MongoModelServiceImplIT.java b/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/storage/MongoModelServiceImplIT.java -index 7744351fb..0e68d9fa4 100644 ---- a/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/storage/MongoModelServiceImplIT.java -+++ b/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/storage/MongoModelServiceImplIT.java -@@ -18,7 +18,7 @@ - */ - package org.kie.kogito.index.mongodb.storage; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.bson.Document; - import org.junit.jupiter.api.AfterEach; -diff --git a/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/storage/ProcessDefinitionStorageIT.java b/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/storage/ProcessDefinitionStorageIT.java -index 2c669e5c8..705b74121 100644 ---- a/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/storage/ProcessDefinitionStorageIT.java -+++ b/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/storage/ProcessDefinitionStorageIT.java -@@ -20,7 +20,7 @@ package org.kie.kogito.index.mongodb.storage; - - import java.util.Set; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.apache.commons.lang3.RandomStringUtils; - import org.junit.jupiter.api.AfterEach; -diff --git a/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/storage/ProcessIdStorageIT.java b/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/storage/ProcessIdStorageIT.java -index d19db523e..b39813b30 100644 ---- a/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/storage/ProcessIdStorageIT.java -+++ b/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/storage/ProcessIdStorageIT.java -@@ -18,7 +18,7 @@ - */ - package org.kie.kogito.index.mongodb.storage; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.apache.commons.lang3.RandomStringUtils; - import org.junit.jupiter.api.AfterEach; -diff --git a/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/storage/ProcessIndexObserverIT.java b/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/storage/ProcessIndexObserverIT.java -index 029734653..f2ae68498 100644 ---- a/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/storage/ProcessIndexObserverIT.java -+++ b/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/storage/ProcessIndexObserverIT.java -@@ -18,7 +18,7 @@ - */ - package org.kie.kogito.index.mongodb.storage; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.junit.jupiter.api.AfterEach; - import org.junit.jupiter.api.BeforeEach; -diff --git a/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/storage/ProcessInstanceStorageIT.java b/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/storage/ProcessInstanceStorageIT.java -index 04bd7bb6c..42e4e7ef0 100644 ---- a/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/storage/ProcessInstanceStorageIT.java -+++ b/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/storage/ProcessInstanceStorageIT.java -@@ -20,7 +20,7 @@ package org.kie.kogito.index.mongodb.storage; - - import java.util.UUID; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.apache.commons.lang3.RandomStringUtils; - import org.junit.jupiter.api.AfterEach; -diff --git a/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/storage/UserTaskInstanceStorageIT.java b/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/storage/UserTaskInstanceStorageIT.java -index 3f3b95df0..141226ba2 100644 ---- a/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/storage/UserTaskInstanceStorageIT.java -+++ b/data-index/data-index-storage/data-index-storage-mongodb/src/test/java/org/kie/kogito/index/mongodb/storage/UserTaskInstanceStorageIT.java -@@ -20,7 +20,7 @@ package org.kie.kogito.index.mongodb.storage; - - import java.util.UUID; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.apache.commons.lang3.RandomStringUtils; - import org.junit.jupiter.api.AfterEach; -diff --git a/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/AttachmentEntity.java b/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/AttachmentEntity.java -index 81e8fb2f2..b989f88f8 100644 ---- a/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/AttachmentEntity.java -+++ b/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/AttachmentEntity.java -@@ -21,12 +21,12 @@ package org.kie.kogito.index.oracle.model; - import java.time.ZonedDateTime; - import java.util.Objects; - --import javax.persistence.Entity; --import javax.persistence.ForeignKey; --import javax.persistence.Id; --import javax.persistence.JoinColumn; --import javax.persistence.ManyToOne; --import javax.persistence.Table; -+import jakarta.persistence.Entity; -+import jakarta.persistence.ForeignKey; -+import jakarta.persistence.Id; -+import jakarta.persistence.JoinColumn; -+import jakarta.persistence.ManyToOne; -+import jakarta.persistence.Table; - - @Entity(name = "attachments") - @Table(name = "attachments") -diff --git a/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/CommentEntity.java b/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/CommentEntity.java -index 03e06e35b..089393a66 100644 ---- a/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/CommentEntity.java -+++ b/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/CommentEntity.java -@@ -21,12 +21,12 @@ package org.kie.kogito.index.oracle.model; - import java.time.ZonedDateTime; - import java.util.Objects; - --import javax.persistence.Entity; --import javax.persistence.ForeignKey; --import javax.persistence.Id; --import javax.persistence.JoinColumn; --import javax.persistence.ManyToOne; --import javax.persistence.Table; -+import jakarta.persistence.Entity; -+import jakarta.persistence.ForeignKey; -+import jakarta.persistence.Id; -+import jakarta.persistence.JoinColumn; -+import jakarta.persistence.ManyToOne; -+import jakarta.persistence.Table; - - @Entity(name = "comments") - @Table(name = "comments") -diff --git a/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/JobEntity.java b/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/JobEntity.java -index 7082fa32e..a970ad43d 100644 ---- a/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/JobEntity.java -+++ b/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/JobEntity.java -@@ -21,9 +21,9 @@ package org.kie.kogito.index.oracle.model; - import java.time.ZonedDateTime; - import java.util.Objects; - --import javax.persistence.Entity; --import javax.persistence.Id; --import javax.persistence.Table; -+import jakarta.persistence.Entity; -+import jakarta.persistence.Id; -+import jakarta.persistence.Table; - - @Entity(name = "jobs") - @Table(name = "jobs") -diff --git a/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/JobEntityRepository.java b/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/JobEntityRepository.java -index f2ae36f77..3182fcc9e 100644 ---- a/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/JobEntityRepository.java -+++ b/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/JobEntityRepository.java -@@ -18,7 +18,7 @@ - */ - package org.kie.kogito.index.oracle.model; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - import io.quarkus.hibernate.orm.panache.PanacheRepositoryBase; - -diff --git a/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/MilestoneEntity.java b/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/MilestoneEntity.java -index b943daa6e..ce93b82a3 100644 ---- a/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/MilestoneEntity.java -+++ b/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/MilestoneEntity.java -@@ -20,14 +20,14 @@ package org.kie.kogito.index.oracle.model; - - import java.util.Objects; - --import javax.persistence.CascadeType; --import javax.persistence.Entity; --import javax.persistence.ForeignKey; --import javax.persistence.Id; --import javax.persistence.IdClass; --import javax.persistence.JoinColumn; --import javax.persistence.ManyToOne; --import javax.persistence.Table; -+import jakarta.persistence.CascadeType; -+import jakarta.persistence.Entity; -+import jakarta.persistence.ForeignKey; -+import jakarta.persistence.Id; -+import jakarta.persistence.IdClass; -+import jakarta.persistence.JoinColumn; -+import jakarta.persistence.ManyToOne; -+import jakarta.persistence.Table; - - import org.hibernate.annotations.OnDelete; - import org.hibernate.annotations.OnDeleteAction; -diff --git a/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/NodeEntity.java b/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/NodeEntity.java -index a1807c850..35006acdb 100644 ---- a/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/NodeEntity.java -+++ b/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/NodeEntity.java -@@ -21,19 +21,19 @@ package org.kie.kogito.index.oracle.model; - import java.util.Map; - import java.util.Objects; - --import javax.persistence.CascadeType; --import javax.persistence.CollectionTable; --import javax.persistence.Column; --import javax.persistence.ElementCollection; --import javax.persistence.Entity; --import javax.persistence.ForeignKey; --import javax.persistence.Id; --import javax.persistence.IdClass; --import javax.persistence.JoinColumn; --import javax.persistence.JoinColumns; --import javax.persistence.ManyToOne; --import javax.persistence.MapKeyColumn; --import javax.persistence.Table; -+import jakarta.persistence.CascadeType; -+import jakarta.persistence.CollectionTable; -+import jakarta.persistence.Column; -+import jakarta.persistence.ElementCollection; -+import jakarta.persistence.Entity; -+import jakarta.persistence.ForeignKey; -+import jakarta.persistence.Id; -+import jakarta.persistence.IdClass; -+import jakarta.persistence.JoinColumn; -+import jakarta.persistence.JoinColumns; -+import jakarta.persistence.ManyToOne; -+import jakarta.persistence.MapKeyColumn; -+import jakarta.persistence.Table; - - import org.hibernate.annotations.OnDelete; - import org.hibernate.annotations.OnDeleteAction; -diff --git a/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/NodeInstanceEntity.java b/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/NodeInstanceEntity.java -index 57650f4e8..fb39316ec 100644 ---- a/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/NodeInstanceEntity.java -+++ b/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/NodeInstanceEntity.java -@@ -21,13 +21,13 @@ package org.kie.kogito.index.oracle.model; - import java.time.ZonedDateTime; - import java.util.Objects; - --import javax.persistence.CascadeType; --import javax.persistence.Entity; --import javax.persistence.ForeignKey; --import javax.persistence.Id; --import javax.persistence.JoinColumn; --import javax.persistence.ManyToOne; --import javax.persistence.Table; -+import jakarta.persistence.CascadeType; -+import jakarta.persistence.Entity; -+import jakarta.persistence.ForeignKey; -+import jakarta.persistence.Id; -+import jakarta.persistence.JoinColumn; -+import jakarta.persistence.ManyToOne; -+import jakarta.persistence.Table; - - import org.hibernate.annotations.OnDelete; - import org.hibernate.annotations.OnDeleteAction; -diff --git a/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/ProcessDefinitionEntity.java b/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/ProcessDefinitionEntity.java -index 1ceb07e52..8c3d86302 100644 ---- a/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/ProcessDefinitionEntity.java -+++ b/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/ProcessDefinitionEntity.java -@@ -22,17 +22,17 @@ import java.util.List; - import java.util.Objects; - import java.util.Set; - --import javax.persistence.CascadeType; --import javax.persistence.CollectionTable; --import javax.persistence.Column; --import javax.persistence.ElementCollection; --import javax.persistence.Entity; --import javax.persistence.ForeignKey; --import javax.persistence.Id; --import javax.persistence.IdClass; --import javax.persistence.JoinColumn; --import javax.persistence.OneToMany; --import javax.persistence.Table; -+import jakarta.persistence.CascadeType; -+import jakarta.persistence.CollectionTable; -+import jakarta.persistence.Column; -+import jakarta.persistence.ElementCollection; -+import jakarta.persistence.Entity; -+import jakarta.persistence.ForeignKey; -+import jakarta.persistence.Id; -+import jakarta.persistence.IdClass; -+import jakarta.persistence.JoinColumn; -+import jakarta.persistence.OneToMany; -+import jakarta.persistence.Table; - - import org.hibernate.annotations.OnDelete; - import org.hibernate.annotations.OnDeleteAction; -diff --git a/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/ProcessDefinitionEntityRepository.java b/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/ProcessDefinitionEntityRepository.java -index f301ca0a0..93b855f3f 100644 ---- a/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/ProcessDefinitionEntityRepository.java -+++ b/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/ProcessDefinitionEntityRepository.java -@@ -18,7 +18,7 @@ - */ - package org.kie.kogito.index.oracle.model; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - import io.quarkus.hibernate.orm.panache.PanacheRepositoryBase; - -diff --git a/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/ProcessInstanceEntity.java b/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/ProcessInstanceEntity.java -index 65dbfd9f4..a9c041341 100644 ---- a/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/ProcessInstanceEntity.java -+++ b/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/ProcessInstanceEntity.java -@@ -23,17 +23,17 @@ import java.util.List; - import java.util.Objects; - import java.util.Set; - --import javax.persistence.CascadeType; --import javax.persistence.CollectionTable; --import javax.persistence.Column; --import javax.persistence.ElementCollection; --import javax.persistence.Embedded; --import javax.persistence.Entity; --import javax.persistence.ForeignKey; --import javax.persistence.Id; --import javax.persistence.JoinColumn; --import javax.persistence.OneToMany; --import javax.persistence.Table; -+import jakarta.persistence.CascadeType; -+import jakarta.persistence.CollectionTable; -+import jakarta.persistence.Column; -+import jakarta.persistence.ElementCollection; -+import jakarta.persistence.Embedded; -+import jakarta.persistence.Entity; -+import jakarta.persistence.ForeignKey; -+import jakarta.persistence.Id; -+import jakarta.persistence.JoinColumn; -+import jakarta.persistence.OneToMany; -+import jakarta.persistence.Table; - - import org.hibernate.annotations.OnDelete; - import org.hibernate.annotations.OnDeleteAction; -diff --git a/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/ProcessInstanceEntityRepository.java b/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/ProcessInstanceEntityRepository.java -index 5e50438b7..0e0702e09 100644 ---- a/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/ProcessInstanceEntityRepository.java -+++ b/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/ProcessInstanceEntityRepository.java -@@ -18,7 +18,7 @@ - */ - package org.kie.kogito.index.oracle.model; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - import io.quarkus.hibernate.orm.panache.PanacheRepositoryBase; - -diff --git a/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/ProcessInstanceErrorEntity.java b/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/ProcessInstanceErrorEntity.java -index 894847308..5d51525ea 100644 ---- a/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/ProcessInstanceErrorEntity.java -+++ b/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/ProcessInstanceErrorEntity.java -@@ -20,7 +20,7 @@ package org.kie.kogito.index.oracle.model; - - import java.util.Objects; - --import javax.persistence.Embeddable; -+import jakarta.persistence.Embeddable; - - @Embeddable - public class ProcessInstanceErrorEntity { -diff --git a/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/UserTaskInstanceEntity.java b/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/UserTaskInstanceEntity.java -index cad8138f3..98cd6fd26 100644 ---- a/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/UserTaskInstanceEntity.java -+++ b/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/UserTaskInstanceEntity.java -@@ -23,17 +23,17 @@ import java.util.List; - import java.util.Objects; - import java.util.Set; - --import javax.persistence.CascadeType; --import javax.persistence.CollectionTable; --import javax.persistence.Column; --import javax.persistence.ElementCollection; --import javax.persistence.Entity; --import javax.persistence.FetchType; --import javax.persistence.ForeignKey; --import javax.persistence.Id; --import javax.persistence.JoinColumn; --import javax.persistence.OneToMany; --import javax.persistence.Table; -+import jakarta.persistence.CascadeType; -+import jakarta.persistence.CollectionTable; -+import jakarta.persistence.Column; -+import jakarta.persistence.ElementCollection; -+import jakarta.persistence.Entity; -+import jakarta.persistence.FetchType; -+import jakarta.persistence.ForeignKey; -+import jakarta.persistence.Id; -+import jakarta.persistence.JoinColumn; -+import jakarta.persistence.OneToMany; -+import jakarta.persistence.Table; - - import org.hibernate.annotations.OnDelete; - import org.hibernate.annotations.OnDeleteAction; -diff --git a/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/UserTaskInstanceEntityRepository.java b/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/UserTaskInstanceEntityRepository.java -index 9a2659f67..5a369e560 100644 ---- a/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/UserTaskInstanceEntityRepository.java -+++ b/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/UserTaskInstanceEntityRepository.java -@@ -18,7 +18,7 @@ - */ - package org.kie.kogito.index.oracle.model; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - import io.quarkus.hibernate.orm.panache.PanacheRepositoryBase; - -diff --git a/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/storage/AbstractStorage.java b/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/storage/AbstractStorage.java -index d319ee18c..d1f2479b6 100644 ---- a/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/storage/AbstractStorage.java -+++ b/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/storage/AbstractStorage.java -@@ -22,9 +22,9 @@ import java.util.ConcurrentModificationException; - import java.util.Map; - import java.util.function.Function; - --import javax.persistence.LockModeType; --import javax.persistence.PersistenceException; --import javax.transaction.Transactional; -+import jakarta.persistence.LockModeType; -+import jakarta.persistence.PersistenceException; -+import jakarta.transaction.Transactional; - - import org.kie.kogito.index.oracle.model.AbstractEntity; - import org.kie.kogito.persistence.api.Storage; -diff --git a/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/storage/JobEntityStorage.java b/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/storage/JobEntityStorage.java -index 877abe5f3..ab6dad0ee 100644 ---- a/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/storage/JobEntityStorage.java -+++ b/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/storage/JobEntityStorage.java -@@ -18,8 +18,8 @@ - */ - package org.kie.kogito.index.oracle.storage; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import org.kie.kogito.index.model.Job; - import org.kie.kogito.index.oracle.mapper.JobEntityMapper; -diff --git a/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/storage/OracleQuery.java b/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/storage/OracleQuery.java -index 24beb9672..a663c662b 100644 ---- a/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/storage/OracleQuery.java -+++ b/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/storage/OracleQuery.java -@@ -22,13 +22,13 @@ import java.util.Collection; - import java.util.List; - import java.util.function.Function; - --import javax.persistence.criteria.CriteriaBuilder; --import javax.persistence.criteria.CriteriaQuery; --import javax.persistence.criteria.Join; --import javax.persistence.criteria.Order; --import javax.persistence.criteria.Path; --import javax.persistence.criteria.Predicate; --import javax.persistence.criteria.Root; -+import jakarta.persistence.criteria.CriteriaBuilder; -+import jakarta.persistence.criteria.CriteriaQuery; -+import jakarta.persistence.criteria.Join; -+import jakarta.persistence.criteria.Order; -+import jakarta.persistence.criteria.Path; -+import jakarta.persistence.criteria.Predicate; -+import jakarta.persistence.criteria.Root; - - import org.hibernate.query.criteria.internal.path.PluralAttributePath; - import org.kie.kogito.index.oracle.model.AbstractEntity; -@@ -98,7 +98,7 @@ public class OracleQuery implements Query { - criteriaQuery.orderBy(orderBy); - } - -- javax.persistence.Query query = repository.getEntityManager().createQuery(criteriaQuery); -+ jakarta.persistence.Query query = repository.getEntityManager().createQuery(criteriaQuery); - - if (limit != null) { - query.setMaxResults(limit); -diff --git a/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/storage/OracleStorageService.java b/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/storage/OracleStorageService.java -index af2056e27..8c1d6dcfa 100644 ---- a/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/storage/OracleStorageService.java -+++ b/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/storage/OracleStorageService.java -@@ -18,8 +18,8 @@ - */ - package org.kie.kogito.index.oracle.storage; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import org.kie.kogito.index.model.Job; - import org.kie.kogito.index.model.ProcessDefinition; -diff --git a/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/storage/ProcessDefinitionEntityStorage.java b/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/storage/ProcessDefinitionEntityStorage.java -index 48478e265..e2deddebb 100644 ---- a/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/storage/ProcessDefinitionEntityStorage.java -+++ b/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/storage/ProcessDefinitionEntityStorage.java -@@ -20,10 +20,10 @@ package org.kie.kogito.index.oracle.storage; - - import java.util.Optional; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; --import javax.persistence.EntityManager; --import javax.persistence.LockModeType; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; -+import jakarta.persistence.EntityManager; -+import jakarta.persistence.LockModeType; - - import org.kie.kogito.index.model.ProcessDefinition; - import org.kie.kogito.index.oracle.mapper.ProcessDefinitionEntityMapper; -diff --git a/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/storage/ProcessInstanceEntityStorage.java b/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/storage/ProcessInstanceEntityStorage.java -index 587a76a75..294e31ff3 100644 ---- a/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/storage/ProcessInstanceEntityStorage.java -+++ b/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/storage/ProcessInstanceEntityStorage.java -@@ -18,8 +18,8 @@ - */ - package org.kie.kogito.index.oracle.storage; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import org.kie.kogito.index.model.ProcessInstance; - import org.kie.kogito.index.oracle.mapper.ProcessInstanceEntityMapper; -diff --git a/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/storage/UserTaskInstanceEntityStorage.java b/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/storage/UserTaskInstanceEntityStorage.java -index 50bc2ac5e..87ea6a547 100644 ---- a/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/storage/UserTaskInstanceEntityStorage.java -+++ b/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/storage/UserTaskInstanceEntityStorage.java -@@ -18,8 +18,8 @@ - */ - package org.kie.kogito.index.oracle.storage; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import org.kie.kogito.index.model.UserTaskInstance; - import org.kie.kogito.index.oracle.mapper.UserTaskInstanceEntityMapper; -diff --git a/data-index/data-index-storage/data-index-storage-oracle/src/test/java/org/kie/kogito/index/oracle/mapper/JobEntityMapperIT.java b/data-index/data-index-storage/data-index-storage-oracle/src/test/java/org/kie/kogito/index/oracle/mapper/JobEntityMapperIT.java -index 61f265918..960c7b577 100644 ---- a/data-index/data-index-storage/data-index-storage-oracle/src/test/java/org/kie/kogito/index/oracle/mapper/JobEntityMapperIT.java -+++ b/data-index/data-index-storage/data-index-storage-oracle/src/test/java/org/kie/kogito/index/oracle/mapper/JobEntityMapperIT.java -@@ -20,7 +20,7 @@ package org.kie.kogito.index.oracle.mapper; - - import java.time.ZonedDateTime; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.junit.jupiter.api.BeforeEach; - import org.junit.jupiter.api.Test; -diff --git a/data-index/data-index-storage/data-index-storage-oracle/src/test/java/org/kie/kogito/index/oracle/mapper/ProcessDefinitionEntityMapperIT.java b/data-index/data-index-storage/data-index-storage-oracle/src/test/java/org/kie/kogito/index/oracle/mapper/ProcessDefinitionEntityMapperIT.java -index 669ad5a5d..6f46dda29 100644 ---- a/data-index/data-index-storage/data-index-storage-oracle/src/test/java/org/kie/kogito/index/oracle/mapper/ProcessDefinitionEntityMapperIT.java -+++ b/data-index/data-index-storage/data-index-storage-oracle/src/test/java/org/kie/kogito/index/oracle/mapper/ProcessDefinitionEntityMapperIT.java -@@ -20,7 +20,7 @@ package org.kie.kogito.index.oracle.mapper; - - import java.util.Set; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.junit.jupiter.api.BeforeEach; - import org.junit.jupiter.api.Test; -diff --git a/data-index/data-index-storage/data-index-storage-oracle/src/test/java/org/kie/kogito/index/oracle/mapper/ProcessInstanceEntityMapperIT.java b/data-index/data-index-storage/data-index-storage-oracle/src/test/java/org/kie/kogito/index/oracle/mapper/ProcessInstanceEntityMapperIT.java -index c521f56d7..0a8e3fb15 100644 ---- a/data-index/data-index-storage/data-index-storage-oracle/src/test/java/org/kie/kogito/index/oracle/mapper/ProcessInstanceEntityMapperIT.java -+++ b/data-index/data-index-storage/data-index-storage-oracle/src/test/java/org/kie/kogito/index/oracle/mapper/ProcessInstanceEntityMapperIT.java -@@ -21,7 +21,7 @@ package org.kie.kogito.index.oracle.mapper; - import java.time.ZonedDateTime; - import java.util.Set; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.junit.jupiter.api.BeforeEach; - import org.junit.jupiter.api.Test; -diff --git a/data-index/data-index-storage/data-index-storage-oracle/src/test/java/org/kie/kogito/index/oracle/mapper/UserTaskInstanceEntityMapperIT.java b/data-index/data-index-storage/data-index-storage-oracle/src/test/java/org/kie/kogito/index/oracle/mapper/UserTaskInstanceEntityMapperIT.java -index 7e6cdfebc..800783e58 100644 ---- a/data-index/data-index-storage/data-index-storage-oracle/src/test/java/org/kie/kogito/index/oracle/mapper/UserTaskInstanceEntityMapperIT.java -+++ b/data-index/data-index-storage/data-index-storage-oracle/src/test/java/org/kie/kogito/index/oracle/mapper/UserTaskInstanceEntityMapperIT.java -@@ -23,7 +23,7 @@ import java.util.HashMap; - import java.util.Map; - import java.util.Set; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.junit.jupiter.api.BeforeEach; - import org.junit.jupiter.api.Test; -diff --git a/data-index/data-index-storage/data-index-storage-oracle/src/test/java/org/kie/kogito/index/oracle/query/JobEntityQueryIT.java b/data-index/data-index-storage/data-index-storage-oracle/src/test/java/org/kie/kogito/index/oracle/query/JobEntityQueryIT.java -index 1df635219..b909391d0 100644 ---- a/data-index/data-index-storage/data-index-storage-oracle/src/test/java/org/kie/kogito/index/oracle/query/JobEntityQueryIT.java -+++ b/data-index/data-index-storage/data-index-storage-oracle/src/test/java/org/kie/kogito/index/oracle/query/JobEntityQueryIT.java -@@ -18,7 +18,7 @@ - */ - package org.kie.kogito.index.oracle.query; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.kie.kogito.index.model.Job; - import org.kie.kogito.index.oracle.storage.JobEntityStorage; -diff --git a/data-index/data-index-storage/data-index-storage-oracle/src/test/java/org/kie/kogito/index/oracle/query/ProcessDefinitionEntityQueryIT.java b/data-index/data-index-storage/data-index-storage-oracle/src/test/java/org/kie/kogito/index/oracle/query/ProcessDefinitionEntityQueryIT.java -index 5da3effc8..3f0b67305 100644 ---- a/data-index/data-index-storage/data-index-storage-oracle/src/test/java/org/kie/kogito/index/oracle/query/ProcessDefinitionEntityQueryIT.java -+++ b/data-index/data-index-storage/data-index-storage-oracle/src/test/java/org/kie/kogito/index/oracle/query/ProcessDefinitionEntityQueryIT.java -@@ -18,7 +18,7 @@ - */ - package org.kie.kogito.index.oracle.query; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.kie.kogito.index.model.ProcessDefinition; - import org.kie.kogito.index.oracle.storage.ProcessDefinitionEntityStorage; -diff --git a/data-index/data-index-storage/data-index-storage-oracle/src/test/java/org/kie/kogito/index/oracle/query/ProcessInstanceEntityQueryIT.java b/data-index/data-index-storage/data-index-storage-oracle/src/test/java/org/kie/kogito/index/oracle/query/ProcessInstanceEntityQueryIT.java -index e174e9361..c168c9418 100644 ---- a/data-index/data-index-storage/data-index-storage-oracle/src/test/java/org/kie/kogito/index/oracle/query/ProcessInstanceEntityQueryIT.java -+++ b/data-index/data-index-storage/data-index-storage-oracle/src/test/java/org/kie/kogito/index/oracle/query/ProcessInstanceEntityQueryIT.java -@@ -18,7 +18,7 @@ - */ - package org.kie.kogito.index.oracle.query; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.kie.kogito.index.model.ProcessInstance; - import org.kie.kogito.index.oracle.storage.ProcessInstanceEntityStorage; -diff --git a/data-index/data-index-storage/data-index-storage-oracle/src/test/java/org/kie/kogito/index/oracle/query/UserTaskInstanceEntityQueryIT.java b/data-index/data-index-storage/data-index-storage-oracle/src/test/java/org/kie/kogito/index/oracle/query/UserTaskInstanceEntityQueryIT.java -index a3ecedcce..4d9b8eac5 100644 ---- a/data-index/data-index-storage/data-index-storage-oracle/src/test/java/org/kie/kogito/index/oracle/query/UserTaskInstanceEntityQueryIT.java -+++ b/data-index/data-index-storage/data-index-storage-oracle/src/test/java/org/kie/kogito/index/oracle/query/UserTaskInstanceEntityQueryIT.java -@@ -18,7 +18,7 @@ - */ - package org.kie.kogito.index.oracle.query; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.kie.kogito.index.model.UserTaskInstance; - import org.kie.kogito.index.oracle.storage.UserTaskInstanceEntityStorage; -diff --git a/data-index/data-index-storage/data-index-storage-oracle/src/test/java/org/kie/kogito/index/oracle/storage/DomainQueryTest.java b/data-index/data-index-storage/data-index-storage-oracle/src/test/java/org/kie/kogito/index/oracle/storage/DomainQueryTest.java -index 46b34dd5c..33b1b6f55 100644 ---- a/data-index/data-index-storage/data-index-storage-oracle/src/test/java/org/kie/kogito/index/oracle/storage/DomainQueryTest.java -+++ b/data-index/data-index-storage/data-index-storage-oracle/src/test/java/org/kie/kogito/index/oracle/storage/DomainQueryTest.java -@@ -21,14 +21,14 @@ package org.kie.kogito.index.oracle.storage; - import java.util.List; - import java.util.function.Function; - --import javax.persistence.EntityManager; --import javax.persistence.TypedQuery; --import javax.persistence.criteria.CriteriaBuilder; --import javax.persistence.criteria.CriteriaQuery; --import javax.persistence.criteria.Order; --import javax.persistence.criteria.Path; --import javax.persistence.criteria.Predicate; --import javax.persistence.criteria.Root; -+import jakarta.persistence.EntityManager; -+import jakarta.persistence.TypedQuery; -+import jakarta.persistence.criteria.CriteriaBuilder; -+import jakarta.persistence.criteria.CriteriaQuery; -+import jakarta.persistence.criteria.Order; -+import jakarta.persistence.criteria.Path; -+import jakarta.persistence.criteria.Predicate; -+import jakarta.persistence.criteria.Root; - - import org.junit.jupiter.api.BeforeEach; - import org.junit.jupiter.api.Test; -diff --git a/data-index/data-index-storage/data-index-storage-oracle/src/test/java/org/kie/kogito/index/oracle/storage/JobStorageIT.java b/data-index/data-index-storage/data-index-storage-oracle/src/test/java/org/kie/kogito/index/oracle/storage/JobStorageIT.java -index 70ccd3e3d..c9120a2e2 100644 ---- a/data-index/data-index-storage/data-index-storage-oracle/src/test/java/org/kie/kogito/index/oracle/storage/JobStorageIT.java -+++ b/data-index/data-index-storage/data-index-storage-oracle/src/test/java/org/kie/kogito/index/oracle/storage/JobStorageIT.java -@@ -20,7 +20,7 @@ package org.kie.kogito.index.oracle.storage; - - import java.util.UUID; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.apache.commons.lang3.RandomStringUtils; - import org.junit.jupiter.api.Test; -diff --git a/data-index/data-index-storage/data-index-storage-oracle/src/test/java/org/kie/kogito/index/oracle/storage/ProcessDefinitionStorageIT.java b/data-index/data-index-storage/data-index-storage-oracle/src/test/java/org/kie/kogito/index/oracle/storage/ProcessDefinitionStorageIT.java -index 644bc7a2e..aa2112a3c 100644 ---- a/data-index/data-index-storage/data-index-storage-oracle/src/test/java/org/kie/kogito/index/oracle/storage/ProcessDefinitionStorageIT.java -+++ b/data-index/data-index-storage/data-index-storage-oracle/src/test/java/org/kie/kogito/index/oracle/storage/ProcessDefinitionStorageIT.java -@@ -20,7 +20,7 @@ package org.kie.kogito.index.oracle.storage; - - import java.util.Set; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.apache.commons.lang3.RandomStringUtils; - import org.junit.jupiter.api.Test; -diff --git a/data-index/data-index-storage/data-index-storage-oracle/src/test/java/org/kie/kogito/index/oracle/storage/ProcessInstanceStorageIT.java b/data-index/data-index-storage/data-index-storage-oracle/src/test/java/org/kie/kogito/index/oracle/storage/ProcessInstanceStorageIT.java -index 52cdb10a4..bf028a67b 100644 ---- a/data-index/data-index-storage/data-index-storage-oracle/src/test/java/org/kie/kogito/index/oracle/storage/ProcessInstanceStorageIT.java -+++ b/data-index/data-index-storage/data-index-storage-oracle/src/test/java/org/kie/kogito/index/oracle/storage/ProcessInstanceStorageIT.java -@@ -20,7 +20,7 @@ package org.kie.kogito.index.oracle.storage; - - import java.util.UUID; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.apache.commons.lang3.RandomStringUtils; - import org.junit.jupiter.api.Test; -diff --git a/data-index/data-index-storage/data-index-storage-oracle/src/test/java/org/kie/kogito/index/oracle/storage/UserTaskInstanceStorageIT.java b/data-index/data-index-storage/data-index-storage-oracle/src/test/java/org/kie/kogito/index/oracle/storage/UserTaskInstanceStorageIT.java -index bfeff81a7..7ff6ed545 100644 ---- a/data-index/data-index-storage/data-index-storage-oracle/src/test/java/org/kie/kogito/index/oracle/storage/UserTaskInstanceStorageIT.java -+++ b/data-index/data-index-storage/data-index-storage-oracle/src/test/java/org/kie/kogito/index/oracle/storage/UserTaskInstanceStorageIT.java -@@ -20,7 +20,7 @@ package org.kie.kogito.index.oracle.storage; - - import java.util.UUID; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.apache.commons.lang3.RandomStringUtils; - import org.junit.jupiter.api.Test; -diff --git a/data-index/data-index-storage/data-index-storage-postgresql-reporting/src/main/java/org/kie/kogito/index/postgresql/reporting/database/PostgresDataIndexDatabaseManagerImpl.java b/data-index/data-index-storage/data-index-storage-postgresql-reporting/src/main/java/org/kie/kogito/index/postgresql/reporting/database/PostgresDataIndexDatabaseManagerImpl.java -index bbbdd80bd..201ee5ae9 100644 ---- a/data-index/data-index-storage/data-index-storage-postgresql-reporting/src/main/java/org/kie/kogito/index/postgresql/reporting/database/PostgresDataIndexDatabaseManagerImpl.java -+++ b/data-index/data-index-storage/data-index-storage-postgresql-reporting/src/main/java/org/kie/kogito/index/postgresql/reporting/database/PostgresDataIndexDatabaseManagerImpl.java -@@ -21,9 +21,9 @@ package org.kie.kogito.index.postgresql.reporting.database; - import java.util.Locale; - import java.util.Objects; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; --import javax.persistence.EntityManager; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; -+import jakarta.persistence.EntityManager; - - import org.kie.kogito.index.postgresql.model.JobEntityRepository; - import org.kie.kogito.index.postgresql.model.ProcessInstanceEntityRepository; -diff --git a/data-index/data-index-storage/data-index-storage-postgresql-reporting/src/test/java/org/kie/kogito/index/postgresql/reporting/ProcessInstanceVariableMappingIT.java b/data-index/data-index-storage/data-index-storage-postgresql-reporting/src/test/java/org/kie/kogito/index/postgresql/reporting/ProcessInstanceVariableMappingIT.java -index 2fac53c23..6c519d138 100644 ---- a/data-index/data-index-storage/data-index-storage-postgresql-reporting/src/test/java/org/kie/kogito/index/postgresql/reporting/ProcessInstanceVariableMappingIT.java -+++ b/data-index/data-index-storage/data-index-storage-postgresql-reporting/src/test/java/org/kie/kogito/index/postgresql/reporting/ProcessInstanceVariableMappingIT.java -@@ -20,14 +20,14 @@ package org.kie.kogito.index.postgresql.reporting; - - import java.util.List; - --import javax.inject.Inject; --import javax.persistence.Column; --import javax.persistence.Entity; --import javax.persistence.EntityResult; --import javax.persistence.FieldResult; --import javax.persistence.Id; --import javax.persistence.SqlResultSetMapping; --import javax.transaction.Transactional; -+import jakarta.inject.Inject; -+import jakarta.persistence.Column; -+import jakarta.persistence.Entity; -+import jakarta.persistence.EntityResult; -+import jakarta.persistence.FieldResult; -+import jakarta.persistence.Id; -+import jakarta.persistence.SqlResultSetMapping; -+import jakarta.transaction.Transactional; - - import org.junit.jupiter.api.BeforeEach; - import org.junit.jupiter.api.Test; -diff --git a/data-index/data-index-storage/data-index-storage-postgresql-reporting/src/test/java/org/kie/kogito/index/postgresql/reporting/database/PostgresDataIndexDatabaseManagerImplTest.java b/data-index/data-index-storage/data-index-storage-postgresql-reporting/src/test/java/org/kie/kogito/index/postgresql/reporting/database/PostgresDataIndexDatabaseManagerImplTest.java -index d49e0098d..1ae039145 100644 ---- a/data-index/data-index-storage/data-index-storage-postgresql-reporting/src/test/java/org/kie/kogito/index/postgresql/reporting/database/PostgresDataIndexDatabaseManagerImplTest.java -+++ b/data-index/data-index-storage/data-index-storage-postgresql-reporting/src/test/java/org/kie/kogito/index/postgresql/reporting/database/PostgresDataIndexDatabaseManagerImplTest.java -@@ -18,7 +18,7 @@ - */ - package org.kie.kogito.index.postgresql.reporting.database; - --import javax.persistence.EntityManager; -+import jakarta.persistence.EntityManager; - - import org.junit.jupiter.api.BeforeEach; - import org.junit.jupiter.api.Test; -diff --git a/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/AttachmentEntity.java b/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/AttachmentEntity.java -index 5a628288e..0154f4dcb 100644 ---- a/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/AttachmentEntity.java -+++ b/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/AttachmentEntity.java -@@ -21,12 +21,12 @@ package org.kie.kogito.index.postgresql.model; - import java.time.ZonedDateTime; - import java.util.Objects; - --import javax.persistence.Entity; --import javax.persistence.ForeignKey; --import javax.persistence.Id; --import javax.persistence.JoinColumn; --import javax.persistence.ManyToOne; --import javax.persistence.Table; -+import jakarta.persistence.Entity; -+import jakarta.persistence.ForeignKey; -+import jakarta.persistence.Id; -+import jakarta.persistence.JoinColumn; -+import jakarta.persistence.ManyToOne; -+import jakarta.persistence.Table; - - @Entity(name = "attachments") - @Table(name = "attachments") -diff --git a/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/CommentEntity.java b/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/CommentEntity.java -index cdce6fdf6..e1cea6931 100644 ---- a/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/CommentEntity.java -+++ b/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/CommentEntity.java -@@ -21,12 +21,12 @@ package org.kie.kogito.index.postgresql.model; - import java.time.ZonedDateTime; - import java.util.Objects; - --import javax.persistence.Entity; --import javax.persistence.ForeignKey; --import javax.persistence.Id; --import javax.persistence.JoinColumn; --import javax.persistence.ManyToOne; --import javax.persistence.Table; -+import jakarta.persistence.Entity; -+import jakarta.persistence.ForeignKey; -+import jakarta.persistence.Id; -+import jakarta.persistence.JoinColumn; -+import jakarta.persistence.ManyToOne; -+import jakarta.persistence.Table; - - @Entity(name = "comments") - @Table(name = "comments") -diff --git a/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/JobEntity.java b/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/JobEntity.java -index 5abe45657..106015f72 100644 ---- a/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/JobEntity.java -+++ b/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/JobEntity.java -@@ -21,9 +21,9 @@ package org.kie.kogito.index.postgresql.model; - import java.time.ZonedDateTime; - import java.util.Objects; - --import javax.persistence.Entity; --import javax.persistence.Id; --import javax.persistence.Table; -+import jakarta.persistence.Entity; -+import jakarta.persistence.Id; -+import jakarta.persistence.Table; - - @Entity(name = "jobs") - @Table(name = "jobs") -diff --git a/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/JobEntityRepository.java b/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/JobEntityRepository.java -index a6539a864..334402f28 100644 ---- a/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/JobEntityRepository.java -+++ b/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/JobEntityRepository.java -@@ -18,7 +18,7 @@ - */ - package org.kie.kogito.index.postgresql.model; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - import io.quarkus.hibernate.orm.panache.PanacheRepositoryBase; - -diff --git a/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/MilestoneEntity.java b/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/MilestoneEntity.java -index 74b97b526..17dbbeb1a 100644 ---- a/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/MilestoneEntity.java -+++ b/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/MilestoneEntity.java -@@ -20,14 +20,14 @@ package org.kie.kogito.index.postgresql.model; - - import java.util.Objects; - --import javax.persistence.CascadeType; --import javax.persistence.Entity; --import javax.persistence.ForeignKey; --import javax.persistence.Id; --import javax.persistence.IdClass; --import javax.persistence.JoinColumn; --import javax.persistence.ManyToOne; --import javax.persistence.Table; -+import jakarta.persistence.CascadeType; -+import jakarta.persistence.Entity; -+import jakarta.persistence.ForeignKey; -+import jakarta.persistence.Id; -+import jakarta.persistence.IdClass; -+import jakarta.persistence.JoinColumn; -+import jakarta.persistence.ManyToOne; -+import jakarta.persistence.Table; - - import org.hibernate.annotations.OnDelete; - import org.hibernate.annotations.OnDeleteAction; -diff --git a/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/NodeEntity.java b/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/NodeEntity.java -index 33df9215d..7e07a67b0 100644 ---- a/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/NodeEntity.java -+++ b/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/NodeEntity.java -@@ -21,19 +21,19 @@ package org.kie.kogito.index.postgresql.model; - import java.util.Map; - import java.util.Objects; - --import javax.persistence.CascadeType; --import javax.persistence.CollectionTable; --import javax.persistence.Column; --import javax.persistence.ElementCollection; --import javax.persistence.Entity; --import javax.persistence.ForeignKey; --import javax.persistence.Id; --import javax.persistence.IdClass; --import javax.persistence.JoinColumn; --import javax.persistence.JoinColumns; --import javax.persistence.ManyToOne; --import javax.persistence.MapKeyColumn; --import javax.persistence.Table; -+import jakarta.persistence.CascadeType; -+import jakarta.persistence.CollectionTable; -+import jakarta.persistence.Column; -+import jakarta.persistence.ElementCollection; -+import jakarta.persistence.Entity; -+import jakarta.persistence.ForeignKey; -+import jakarta.persistence.Id; -+import jakarta.persistence.IdClass; -+import jakarta.persistence.JoinColumn; -+import jakarta.persistence.JoinColumns; -+import jakarta.persistence.ManyToOne; -+import jakarta.persistence.MapKeyColumn; -+import jakarta.persistence.Table; - - import org.hibernate.annotations.OnDelete; - import org.hibernate.annotations.OnDeleteAction; -diff --git a/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/NodeInstanceEntity.java b/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/NodeInstanceEntity.java -index d078189ca..06f3a8ba8 100644 ---- a/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/NodeInstanceEntity.java -+++ b/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/NodeInstanceEntity.java -@@ -21,13 +21,13 @@ package org.kie.kogito.index.postgresql.model; - import java.time.ZonedDateTime; - import java.util.Objects; - --import javax.persistence.CascadeType; --import javax.persistence.Entity; --import javax.persistence.ForeignKey; --import javax.persistence.Id; --import javax.persistence.JoinColumn; --import javax.persistence.ManyToOne; --import javax.persistence.Table; -+import jakarta.persistence.CascadeType; -+import jakarta.persistence.Entity; -+import jakarta.persistence.ForeignKey; -+import jakarta.persistence.Id; -+import jakarta.persistence.JoinColumn; -+import jakarta.persistence.ManyToOne; -+import jakarta.persistence.Table; - - import org.hibernate.annotations.OnDelete; - import org.hibernate.annotations.OnDeleteAction; -diff --git a/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/ProcessDefinitionEntity.java b/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/ProcessDefinitionEntity.java -index dff6add60..84548df51 100644 ---- a/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/ProcessDefinitionEntity.java -+++ b/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/ProcessDefinitionEntity.java -@@ -22,17 +22,17 @@ import java.util.List; - import java.util.Objects; - import java.util.Set; - --import javax.persistence.CascadeType; --import javax.persistence.CollectionTable; --import javax.persistence.Column; --import javax.persistence.ElementCollection; --import javax.persistence.Entity; --import javax.persistence.ForeignKey; --import javax.persistence.Id; --import javax.persistence.IdClass; --import javax.persistence.JoinColumn; --import javax.persistence.OneToMany; --import javax.persistence.Table; -+import jakarta.persistence.CascadeType; -+import jakarta.persistence.CollectionTable; -+import jakarta.persistence.Column; -+import jakarta.persistence.ElementCollection; -+import jakarta.persistence.Entity; -+import jakarta.persistence.ForeignKey; -+import jakarta.persistence.Id; -+import jakarta.persistence.IdClass; -+import jakarta.persistence.JoinColumn; -+import jakarta.persistence.OneToMany; -+import jakarta.persistence.Table; - - import org.hibernate.annotations.OnDelete; - import org.hibernate.annotations.OnDeleteAction; -diff --git a/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/ProcessDefinitionEntityRepository.java b/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/ProcessDefinitionEntityRepository.java -index 3e938f32f..51735428a 100644 ---- a/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/ProcessDefinitionEntityRepository.java -+++ b/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/ProcessDefinitionEntityRepository.java -@@ -18,7 +18,7 @@ - */ - package org.kie.kogito.index.postgresql.model; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - import io.quarkus.hibernate.orm.panache.PanacheRepositoryBase; - -diff --git a/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/ProcessInstanceEntity.java b/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/ProcessInstanceEntity.java -index cbb679946..45ae037ac 100644 ---- a/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/ProcessInstanceEntity.java -+++ b/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/ProcessInstanceEntity.java -@@ -23,17 +23,17 @@ import java.util.List; - import java.util.Objects; - import java.util.Set; - --import javax.persistence.CascadeType; --import javax.persistence.CollectionTable; --import javax.persistence.Column; --import javax.persistence.ElementCollection; --import javax.persistence.Embedded; --import javax.persistence.Entity; --import javax.persistence.ForeignKey; --import javax.persistence.Id; --import javax.persistence.JoinColumn; --import javax.persistence.OneToMany; --import javax.persistence.Table; -+import jakarta.persistence.CascadeType; -+import jakarta.persistence.CollectionTable; -+import jakarta.persistence.Column; -+import jakarta.persistence.ElementCollection; -+import jakarta.persistence.Embedded; -+import jakarta.persistence.Entity; -+import jakarta.persistence.ForeignKey; -+import jakarta.persistence.Id; -+import jakarta.persistence.JoinColumn; -+import jakarta.persistence.OneToMany; -+import jakarta.persistence.Table; - - import org.hibernate.annotations.OnDelete; - import org.hibernate.annotations.OnDeleteAction; -diff --git a/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/ProcessInstanceEntityRepository.java b/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/ProcessInstanceEntityRepository.java -index fd0be9cb1..9d544616b 100644 ---- a/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/ProcessInstanceEntityRepository.java -+++ b/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/ProcessInstanceEntityRepository.java -@@ -18,7 +18,7 @@ - */ - package org.kie.kogito.index.postgresql.model; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - import io.quarkus.hibernate.orm.panache.PanacheRepositoryBase; - -diff --git a/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/ProcessInstanceErrorEntity.java b/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/ProcessInstanceErrorEntity.java -index 14b235434..b4dca9fe2 100644 ---- a/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/ProcessInstanceErrorEntity.java -+++ b/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/ProcessInstanceErrorEntity.java -@@ -20,7 +20,7 @@ package org.kie.kogito.index.postgresql.model; - - import java.util.Objects; - --import javax.persistence.Embeddable; -+import jakarta.persistence.Embeddable; - - @Embeddable - public class ProcessInstanceErrorEntity { -diff --git a/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/UserTaskInstanceEntity.java b/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/UserTaskInstanceEntity.java -index 99fbd674e..94f6d5dbd 100644 ---- a/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/UserTaskInstanceEntity.java -+++ b/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/UserTaskInstanceEntity.java -@@ -23,17 +23,17 @@ import java.util.List; - import java.util.Objects; - import java.util.Set; - --import javax.persistence.CascadeType; --import javax.persistence.CollectionTable; --import javax.persistence.Column; --import javax.persistence.ElementCollection; --import javax.persistence.Entity; --import javax.persistence.FetchType; --import javax.persistence.ForeignKey; --import javax.persistence.Id; --import javax.persistence.JoinColumn; --import javax.persistence.OneToMany; --import javax.persistence.Table; -+import jakarta.persistence.CascadeType; -+import jakarta.persistence.CollectionTable; -+import jakarta.persistence.Column; -+import jakarta.persistence.ElementCollection; -+import jakarta.persistence.Entity; -+import jakarta.persistence.FetchType; -+import jakarta.persistence.ForeignKey; -+import jakarta.persistence.Id; -+import jakarta.persistence.JoinColumn; -+import jakarta.persistence.OneToMany; -+import jakarta.persistence.Table; - - import org.hibernate.annotations.OnDelete; - import org.hibernate.annotations.OnDeleteAction; -diff --git a/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/UserTaskInstanceEntityRepository.java b/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/UserTaskInstanceEntityRepository.java -index b5f77f7b2..6a68b42e7 100644 ---- a/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/UserTaskInstanceEntityRepository.java -+++ b/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/UserTaskInstanceEntityRepository.java -@@ -18,7 +18,7 @@ - */ - package org.kie.kogito.index.postgresql.model; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - import io.quarkus.hibernate.orm.panache.PanacheRepositoryBase; - -diff --git a/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/storage/AbstractStorage.java b/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/storage/AbstractStorage.java -index dd4135b02..0bc877b87 100644 ---- a/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/storage/AbstractStorage.java -+++ b/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/storage/AbstractStorage.java -@@ -22,9 +22,9 @@ import java.util.ConcurrentModificationException; - import java.util.Map; - import java.util.function.Function; - --import javax.persistence.LockModeType; --import javax.persistence.PersistenceException; --import javax.transaction.Transactional; -+import jakarta.persistence.LockModeType; -+import jakarta.persistence.PersistenceException; -+import jakarta.transaction.Transactional; - - import org.kie.kogito.index.postgresql.model.AbstractEntity; - import org.kie.kogito.persistence.api.Storage; -diff --git a/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/storage/JobEntityStorage.java b/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/storage/JobEntityStorage.java -index a738deb08..bd048e95d 100644 ---- a/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/storage/JobEntityStorage.java -+++ b/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/storage/JobEntityStorage.java -@@ -18,8 +18,8 @@ - */ - package org.kie.kogito.index.postgresql.storage; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import org.kie.kogito.index.model.Job; - import org.kie.kogito.index.postgresql.mapper.JobEntityMapper; -diff --git a/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/storage/PostgreSqlQuery.java b/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/storage/PostgreSqlQuery.java -index da5d5dd54..b3d980ec6 100644 ---- a/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/storage/PostgreSqlQuery.java -+++ b/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/storage/PostgreSqlQuery.java -@@ -22,13 +22,13 @@ import java.util.Collection; - import java.util.List; - import java.util.function.Function; - --import javax.persistence.criteria.CriteriaBuilder; --import javax.persistence.criteria.CriteriaQuery; --import javax.persistence.criteria.Join; --import javax.persistence.criteria.Order; --import javax.persistence.criteria.Path; --import javax.persistence.criteria.Predicate; --import javax.persistence.criteria.Root; -+import jakarta.persistence.criteria.CriteriaBuilder; -+import jakarta.persistence.criteria.CriteriaQuery; -+import jakarta.persistence.criteria.Join; -+import jakarta.persistence.criteria.Order; -+import jakarta.persistence.criteria.Path; -+import jakarta.persistence.criteria.Predicate; -+import jakarta.persistence.criteria.Root; - - import org.hibernate.query.criteria.internal.path.PluralAttributePath; - import org.kie.kogito.index.postgresql.model.AbstractEntity; -@@ -98,7 +98,7 @@ public class PostgreSqlQuery implements Query - criteriaQuery.orderBy(orderBy); - } - -- javax.persistence.Query query = repository.getEntityManager().createQuery(criteriaQuery); -+ jakarta.persistence.Query query = repository.getEntityManager().createQuery(criteriaQuery); - - if (limit != null) { - query.setMaxResults(limit); -diff --git a/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/storage/PostgreSqlStorageService.java b/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/storage/PostgreSqlStorageService.java -index 413e0a2b7..deab75186 100644 ---- a/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/storage/PostgreSqlStorageService.java -+++ b/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/storage/PostgreSqlStorageService.java -@@ -18,8 +18,8 @@ - */ - package org.kie.kogito.index.postgresql.storage; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import org.kie.kogito.index.model.Job; - import org.kie.kogito.index.model.ProcessDefinition; -diff --git a/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/storage/ProcessDefinitionEntityStorage.java b/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/storage/ProcessDefinitionEntityStorage.java -index 38d60c065..aaa6adc55 100644 ---- a/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/storage/ProcessDefinitionEntityStorage.java -+++ b/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/storage/ProcessDefinitionEntityStorage.java -@@ -20,11 +20,11 @@ package org.kie.kogito.index.postgresql.storage; - - import java.util.Optional; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; --import javax.persistence.EntityManager; --import javax.persistence.LockModeType; --import javax.transaction.Transactional; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; -+import jakarta.persistence.EntityManager; -+import jakarta.persistence.LockModeType; -+import jakarta.transaction.Transactional; - - import org.kie.kogito.index.model.ProcessDefinition; - import org.kie.kogito.index.postgresql.mapper.ProcessDefinitionEntityMapper; -diff --git a/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/storage/ProcessInstanceEntityStorage.java b/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/storage/ProcessInstanceEntityStorage.java -index 12e3960b0..c7c14fb45 100644 ---- a/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/storage/ProcessInstanceEntityStorage.java -+++ b/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/storage/ProcessInstanceEntityStorage.java -@@ -18,8 +18,8 @@ - */ - package org.kie.kogito.index.postgresql.storage; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import org.kie.kogito.index.model.ProcessInstance; - import org.kie.kogito.index.postgresql.mapper.ProcessInstanceEntityMapper; -diff --git a/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/storage/UserTaskInstanceEntityStorage.java b/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/storage/UserTaskInstanceEntityStorage.java -index ed7281b75..de4b8d82e 100644 ---- a/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/storage/UserTaskInstanceEntityStorage.java -+++ b/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/storage/UserTaskInstanceEntityStorage.java -@@ -18,8 +18,8 @@ - */ - package org.kie.kogito.index.postgresql.storage; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import org.kie.kogito.index.model.UserTaskInstance; - import org.kie.kogito.index.postgresql.mapper.UserTaskInstanceEntityMapper; -diff --git a/data-index/data-index-storage/data-index-storage-postgresql/src/test/java/org/kie/kogito/index/postgresql/mapper/JobEntityMapperIT.java b/data-index/data-index-storage/data-index-storage-postgresql/src/test/java/org/kie/kogito/index/postgresql/mapper/JobEntityMapperIT.java -index 96a36f757..c717d12dd 100644 ---- a/data-index/data-index-storage/data-index-storage-postgresql/src/test/java/org/kie/kogito/index/postgresql/mapper/JobEntityMapperIT.java -+++ b/data-index/data-index-storage/data-index-storage-postgresql/src/test/java/org/kie/kogito/index/postgresql/mapper/JobEntityMapperIT.java -@@ -20,7 +20,7 @@ package org.kie.kogito.index.postgresql.mapper; - - import java.time.ZonedDateTime; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.junit.jupiter.api.BeforeEach; - import org.junit.jupiter.api.Test; -diff --git a/data-index/data-index-storage/data-index-storage-postgresql/src/test/java/org/kie/kogito/index/postgresql/mapper/ProcessDefinitionEntityMapperIT.java b/data-index/data-index-storage/data-index-storage-postgresql/src/test/java/org/kie/kogito/index/postgresql/mapper/ProcessDefinitionEntityMapperIT.java -index 8fbb3ed04..ec398cf6b 100644 ---- a/data-index/data-index-storage/data-index-storage-postgresql/src/test/java/org/kie/kogito/index/postgresql/mapper/ProcessDefinitionEntityMapperIT.java -+++ b/data-index/data-index-storage/data-index-storage-postgresql/src/test/java/org/kie/kogito/index/postgresql/mapper/ProcessDefinitionEntityMapperIT.java -@@ -20,7 +20,7 @@ package org.kie.kogito.index.postgresql.mapper; - - import java.util.Set; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.junit.jupiter.api.BeforeEach; - import org.junit.jupiter.api.Test; -diff --git a/data-index/data-index-storage/data-index-storage-postgresql/src/test/java/org/kie/kogito/index/postgresql/mapper/ProcessInstanceEntityMapperIT.java b/data-index/data-index-storage/data-index-storage-postgresql/src/test/java/org/kie/kogito/index/postgresql/mapper/ProcessInstanceEntityMapperIT.java -index 14a7d89b5..2dc951cf8 100644 ---- a/data-index/data-index-storage/data-index-storage-postgresql/src/test/java/org/kie/kogito/index/postgresql/mapper/ProcessInstanceEntityMapperIT.java -+++ b/data-index/data-index-storage/data-index-storage-postgresql/src/test/java/org/kie/kogito/index/postgresql/mapper/ProcessInstanceEntityMapperIT.java -@@ -21,7 +21,7 @@ package org.kie.kogito.index.postgresql.mapper; - import java.time.ZonedDateTime; - import java.util.Set; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.junit.jupiter.api.BeforeEach; - import org.junit.jupiter.api.Test; -diff --git a/data-index/data-index-storage/data-index-storage-postgresql/src/test/java/org/kie/kogito/index/postgresql/mapper/UserTaskInstanceEntityMapperIT.java b/data-index/data-index-storage/data-index-storage-postgresql/src/test/java/org/kie/kogito/index/postgresql/mapper/UserTaskInstanceEntityMapperIT.java -index 9d0a71005..d538c75b1 100644 ---- a/data-index/data-index-storage/data-index-storage-postgresql/src/test/java/org/kie/kogito/index/postgresql/mapper/UserTaskInstanceEntityMapperIT.java -+++ b/data-index/data-index-storage/data-index-storage-postgresql/src/test/java/org/kie/kogito/index/postgresql/mapper/UserTaskInstanceEntityMapperIT.java -@@ -23,7 +23,7 @@ import java.util.HashMap; - import java.util.Map; - import java.util.Set; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.junit.jupiter.api.BeforeEach; - import org.junit.jupiter.api.Test; -diff --git a/data-index/data-index-storage/data-index-storage-postgresql/src/test/java/org/kie/kogito/index/postgresql/query/JobEntityQueryIT.java b/data-index/data-index-storage/data-index-storage-postgresql/src/test/java/org/kie/kogito/index/postgresql/query/JobEntityQueryIT.java -index abfe0411e..972aeca6e 100644 ---- a/data-index/data-index-storage/data-index-storage-postgresql/src/test/java/org/kie/kogito/index/postgresql/query/JobEntityQueryIT.java -+++ b/data-index/data-index-storage/data-index-storage-postgresql/src/test/java/org/kie/kogito/index/postgresql/query/JobEntityQueryIT.java -@@ -18,7 +18,7 @@ - */ - package org.kie.kogito.index.postgresql.query; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.kie.kogito.index.model.Job; - import org.kie.kogito.index.postgresql.storage.JobEntityStorage; -diff --git a/data-index/data-index-storage/data-index-storage-postgresql/src/test/java/org/kie/kogito/index/postgresql/query/ProcessDefinitionEntityQueryIT.java b/data-index/data-index-storage/data-index-storage-postgresql/src/test/java/org/kie/kogito/index/postgresql/query/ProcessDefinitionEntityQueryIT.java -index 3cbb177ac..c9374c38f 100644 ---- a/data-index/data-index-storage/data-index-storage-postgresql/src/test/java/org/kie/kogito/index/postgresql/query/ProcessDefinitionEntityQueryIT.java -+++ b/data-index/data-index-storage/data-index-storage-postgresql/src/test/java/org/kie/kogito/index/postgresql/query/ProcessDefinitionEntityQueryIT.java -@@ -18,7 +18,7 @@ - */ - package org.kie.kogito.index.postgresql.query; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.kie.kogito.index.model.ProcessDefinition; - import org.kie.kogito.index.postgresql.storage.ProcessDefinitionEntityStorage; -diff --git a/data-index/data-index-storage/data-index-storage-postgresql/src/test/java/org/kie/kogito/index/postgresql/query/ProcessInstanceEntityQueryIT.java b/data-index/data-index-storage/data-index-storage-postgresql/src/test/java/org/kie/kogito/index/postgresql/query/ProcessInstanceEntityQueryIT.java -index f8fe9be76..53ebea212 100644 ---- a/data-index/data-index-storage/data-index-storage-postgresql/src/test/java/org/kie/kogito/index/postgresql/query/ProcessInstanceEntityQueryIT.java -+++ b/data-index/data-index-storage/data-index-storage-postgresql/src/test/java/org/kie/kogito/index/postgresql/query/ProcessInstanceEntityQueryIT.java -@@ -18,7 +18,7 @@ - */ - package org.kie.kogito.index.postgresql.query; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.kie.kogito.index.model.ProcessInstance; - import org.kie.kogito.index.postgresql.storage.ProcessInstanceEntityStorage; -diff --git a/data-index/data-index-storage/data-index-storage-postgresql/src/test/java/org/kie/kogito/index/postgresql/query/UserTaskInstanceEntityQueryIT.java b/data-index/data-index-storage/data-index-storage-postgresql/src/test/java/org/kie/kogito/index/postgresql/query/UserTaskInstanceEntityQueryIT.java -index 126f642b3..8c63e274c 100644 ---- a/data-index/data-index-storage/data-index-storage-postgresql/src/test/java/org/kie/kogito/index/postgresql/query/UserTaskInstanceEntityQueryIT.java -+++ b/data-index/data-index-storage/data-index-storage-postgresql/src/test/java/org/kie/kogito/index/postgresql/query/UserTaskInstanceEntityQueryIT.java -@@ -18,7 +18,7 @@ - */ - package org.kie.kogito.index.postgresql.query; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.kie.kogito.index.model.UserTaskInstance; - import org.kie.kogito.index.postgresql.storage.UserTaskInstanceEntityStorage; -diff --git a/data-index/data-index-storage/data-index-storage-postgresql/src/test/java/org/kie/kogito/index/postgresql/storage/DomainQueryTest.java b/data-index/data-index-storage/data-index-storage-postgresql/src/test/java/org/kie/kogito/index/postgresql/storage/DomainQueryTest.java -index c39f5e2f6..a36748515 100644 ---- a/data-index/data-index-storage/data-index-storage-postgresql/src/test/java/org/kie/kogito/index/postgresql/storage/DomainQueryTest.java -+++ b/data-index/data-index-storage/data-index-storage-postgresql/src/test/java/org/kie/kogito/index/postgresql/storage/DomainQueryTest.java -@@ -21,14 +21,14 @@ package org.kie.kogito.index.postgresql.storage; - import java.util.List; - import java.util.function.Function; - --import javax.persistence.EntityManager; --import javax.persistence.TypedQuery; --import javax.persistence.criteria.CriteriaBuilder; --import javax.persistence.criteria.CriteriaQuery; --import javax.persistence.criteria.Order; --import javax.persistence.criteria.Path; --import javax.persistence.criteria.Predicate; --import javax.persistence.criteria.Root; -+import jakarta.persistence.EntityManager; -+import jakarta.persistence.TypedQuery; -+import jakarta.persistence.criteria.CriteriaBuilder; -+import jakarta.persistence.criteria.CriteriaQuery; -+import jakarta.persistence.criteria.Order; -+import jakarta.persistence.criteria.Path; -+import jakarta.persistence.criteria.Predicate; -+import jakarta.persistence.criteria.Root; - - import org.junit.jupiter.api.BeforeEach; - import org.junit.jupiter.api.Test; -diff --git a/data-index/data-index-storage/data-index-storage-postgresql/src/test/java/org/kie/kogito/index/postgresql/storage/JobStorageIT.java b/data-index/data-index-storage/data-index-storage-postgresql/src/test/java/org/kie/kogito/index/postgresql/storage/JobStorageIT.java -index b3845d834..6d11639ef 100644 ---- a/data-index/data-index-storage/data-index-storage-postgresql/src/test/java/org/kie/kogito/index/postgresql/storage/JobStorageIT.java -+++ b/data-index/data-index-storage/data-index-storage-postgresql/src/test/java/org/kie/kogito/index/postgresql/storage/JobStorageIT.java -@@ -20,7 +20,7 @@ package org.kie.kogito.index.postgresql.storage; - - import java.util.UUID; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.apache.commons.lang3.RandomStringUtils; - import org.junit.jupiter.api.Test; -diff --git a/data-index/data-index-storage/data-index-storage-postgresql/src/test/java/org/kie/kogito/index/postgresql/storage/ProcessDefinitionStorageIT.java b/data-index/data-index-storage/data-index-storage-postgresql/src/test/java/org/kie/kogito/index/postgresql/storage/ProcessDefinitionStorageIT.java -index 111d71d41..024da5368 100644 ---- a/data-index/data-index-storage/data-index-storage-postgresql/src/test/java/org/kie/kogito/index/postgresql/storage/ProcessDefinitionStorageIT.java -+++ b/data-index/data-index-storage/data-index-storage-postgresql/src/test/java/org/kie/kogito/index/postgresql/storage/ProcessDefinitionStorageIT.java -@@ -20,7 +20,7 @@ package org.kie.kogito.index.postgresql.storage; - - import java.util.Set; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.apache.commons.lang3.RandomStringUtils; - import org.junit.jupiter.api.Test; -diff --git a/data-index/data-index-storage/data-index-storage-postgresql/src/test/java/org/kie/kogito/index/postgresql/storage/ProcessInstanceStorageIT.java b/data-index/data-index-storage/data-index-storage-postgresql/src/test/java/org/kie/kogito/index/postgresql/storage/ProcessInstanceStorageIT.java -index 326229c13..cb0fda630 100644 ---- a/data-index/data-index-storage/data-index-storage-postgresql/src/test/java/org/kie/kogito/index/postgresql/storage/ProcessInstanceStorageIT.java -+++ b/data-index/data-index-storage/data-index-storage-postgresql/src/test/java/org/kie/kogito/index/postgresql/storage/ProcessInstanceStorageIT.java -@@ -20,7 +20,7 @@ package org.kie.kogito.index.postgresql.storage; - - import java.util.UUID; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.apache.commons.lang3.RandomStringUtils; - import org.junit.jupiter.api.Test; -diff --git a/data-index/data-index-storage/data-index-storage-postgresql/src/test/java/org/kie/kogito/index/postgresql/storage/UserTaskInstanceStorageIT.java b/data-index/data-index-storage/data-index-storage-postgresql/src/test/java/org/kie/kogito/index/postgresql/storage/UserTaskInstanceStorageIT.java -index f64359fdf..a866610a8 100644 ---- a/data-index/data-index-storage/data-index-storage-postgresql/src/test/java/org/kie/kogito/index/postgresql/storage/UserTaskInstanceStorageIT.java -+++ b/data-index/data-index-storage/data-index-storage-postgresql/src/test/java/org/kie/kogito/index/postgresql/storage/UserTaskInstanceStorageIT.java -@@ -20,7 +20,7 @@ package org.kie.kogito.index.postgresql.storage; - - import java.util.UUID; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.apache.commons.lang3.RandomStringUtils; - import org.junit.jupiter.api.Test; -diff --git a/data-index/data-index-storage/data-index-storage-protobuf/src/main/java/org/kie/kogito/index/protobuf/ProtostreamProducer.java b/data-index/data-index-storage/data-index-storage-protobuf/src/main/java/org/kie/kogito/index/protobuf/ProtostreamProducer.java -index f08e7b057..4bb9854bb 100644 ---- a/data-index/data-index-storage/data-index-storage-protobuf/src/main/java/org/kie/kogito/index/protobuf/ProtostreamProducer.java -+++ b/data-index/data-index-storage/data-index-storage-protobuf/src/main/java/org/kie/kogito/index/protobuf/ProtostreamProducer.java -@@ -20,8 +20,8 @@ package org.kie.kogito.index.protobuf; - - import java.io.IOException; - --import javax.enterprise.context.ApplicationScoped; --import javax.enterprise.inject.Produces; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.inject.Produces; - - import org.infinispan.protostream.FileDescriptorSource; - -diff --git a/data-index/kogito-addons-quarkus-data-index-persistence/kogito-addons-quarkus-data-index-persistence-common/runtime/src/main/java/org/kie/kogito/index/addon/DataIndexEventPublisher.java b/data-index/kogito-addons-quarkus-data-index-persistence/kogito-addons-quarkus-data-index-persistence-common/runtime/src/main/java/org/kie/kogito/index/addon/DataIndexEventPublisher.java -index 4c3c53e43..d437fa589 100644 ---- a/data-index/kogito-addons-quarkus-data-index-persistence/kogito-addons-quarkus-data-index-persistence-common/runtime/src/main/java/org/kie/kogito/index/addon/DataIndexEventPublisher.java -+++ b/data-index/kogito-addons-quarkus-data-index-persistence/kogito-addons-quarkus-data-index-persistence-common/runtime/src/main/java/org/kie/kogito/index/addon/DataIndexEventPublisher.java -@@ -22,9 +22,9 @@ import java.io.IOException; - import java.io.UncheckedIOException; - import java.util.Collection; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; --import javax.transaction.Transactional; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; -+import jakarta.transaction.Transactional; - - import org.kie.kogito.event.DataEvent; - import org.kie.kogito.event.EventPublisher; -diff --git a/data-index/kogito-addons-quarkus-data-index-persistence/kogito-addons-quarkus-data-index-persistence-common/runtime/src/main/java/org/kie/kogito/index/addon/ProcessDefinitionRegister.java b/data-index/kogito-addons-quarkus-data-index-persistence/kogito-addons-quarkus-data-index-persistence-common/runtime/src/main/java/org/kie/kogito/index/addon/ProcessDefinitionRegister.java -index c35992d1b..933234bd7 100644 ---- a/data-index/kogito-addons-quarkus-data-index-persistence/kogito-addons-quarkus-data-index-persistence-common/runtime/src/main/java/org/kie/kogito/index/addon/ProcessDefinitionRegister.java -+++ b/data-index/kogito-addons-quarkus-data-index-persistence/kogito-addons-quarkus-data-index-persistence-common/runtime/src/main/java/org/kie/kogito/index/addon/ProcessDefinitionRegister.java -@@ -22,9 +22,9 @@ import java.util.Optional; - import java.util.Set; - import java.util.function.Function; - --import javax.enterprise.context.ApplicationScoped; --import javax.enterprise.event.Observes; --import javax.enterprise.inject.Instance; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.event.Observes; -+import jakarta.enterprise.inject.Instance; - - import org.eclipse.microprofile.config.inject.ConfigProperty; - import org.kie.kogito.Application; -diff --git a/data-index/kogito-addons-quarkus-data-index-persistence/kogito-addons-quarkus-data-index-persistence-common/runtime/src/main/java/org/kie/kogito/index/addon/api/KogitoAddonRuntimeClientImpl.java b/data-index/kogito-addons-quarkus-data-index-persistence/kogito-addons-quarkus-data-index-persistence-common/runtime/src/main/java/org/kie/kogito/index/addon/api/KogitoAddonRuntimeClientImpl.java -index 4ac132c3d..c1b65512d 100644 ---- a/data-index/kogito-addons-quarkus-data-index-persistence/kogito-addons-quarkus-data-index-persistence-common/runtime/src/main/java/org/kie/kogito/index/addon/api/KogitoAddonRuntimeClientImpl.java -+++ b/data-index/kogito-addons-quarkus-data-index-persistence/kogito-addons-quarkus-data-index-persistence-common/runtime/src/main/java/org/kie/kogito/index/addon/api/KogitoAddonRuntimeClientImpl.java -@@ -27,9 +27,9 @@ import java.util.concurrent.CompletableFuture; - import java.util.function.Function; - import java.util.stream.Collectors; - --import javax.enterprise.context.ApplicationScoped; --import javax.enterprise.inject.Instance; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.inject.Instance; -+import jakarta.inject.Inject; - - import org.eclipse.microprofile.context.ManagedExecutor; - import org.kie.kogito.Application; -diff --git a/data-index/kogito-addons-quarkus-data-index-persistence/kogito-addons-quarkus-data-index-persistence-common/runtime/src/test/java/org/kie/kogito/index/addon/api/KogitoAddonRuntimeClientImplTest.java b/data-index/kogito-addons-quarkus-data-index-persistence/kogito-addons-quarkus-data-index-persistence-common/runtime/src/test/java/org/kie/kogito/index/addon/api/KogitoAddonRuntimeClientImplTest.java -index e1c56069a..6e08e93c6 100644 ---- a/data-index/kogito-addons-quarkus-data-index-persistence/kogito-addons-quarkus-data-index-persistence-common/runtime/src/test/java/org/kie/kogito/index/addon/api/KogitoAddonRuntimeClientImplTest.java -+++ b/data-index/kogito-addons-quarkus-data-index-persistence/kogito-addons-quarkus-data-index-persistence-common/runtime/src/test/java/org/kie/kogito/index/addon/api/KogitoAddonRuntimeClientImplTest.java -@@ -21,7 +21,7 @@ package org.kie.kogito.index.addon.api; - import java.nio.Buffer; - import java.util.Optional; - --import javax.enterprise.inject.Instance; -+import jakarta.enterprise.inject.Instance; - - import org.junit.jupiter.api.BeforeEach; - import org.junit.jupiter.api.Test; -diff --git a/data-index/kogito-addons-quarkus-data-index/kogito-addons-quarkus-data-index-common/runtime/src/main/java/org/kie/kogito/index/addon/graphql/GraphQLAddonSchemaManagerImpl.java b/data-index/kogito-addons-quarkus-data-index/kogito-addons-quarkus-data-index-common/runtime/src/main/java/org/kie/kogito/index/addon/graphql/GraphQLAddonSchemaManagerImpl.java -index 33b10f452..e885cf497 100644 ---- a/data-index/kogito-addons-quarkus-data-index/kogito-addons-quarkus-data-index-common/runtime/src/main/java/org/kie/kogito/index/addon/graphql/GraphQLAddonSchemaManagerImpl.java -+++ b/data-index/kogito-addons-quarkus-data-index/kogito-addons-quarkus-data-index-common/runtime/src/main/java/org/kie/kogito/index/addon/graphql/GraphQLAddonSchemaManagerImpl.java -@@ -18,7 +18,7 @@ - */ - package org.kie.kogito.index.addon.graphql; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - import org.kie.kogito.index.graphql.AbstractGraphQLSchemaManager; - import org.kie.kogito.index.model.ProcessInstanceState; -diff --git a/data-index/kogito-addons-quarkus-data-index/kogito-addons-quarkus-data-index-common/runtime/src/main/java/org/kie/kogito/index/addon/vertx/VertxGraphiQLSetup.java b/data-index/kogito-addons-quarkus-data-index/kogito-addons-quarkus-data-index-common/runtime/src/main/java/org/kie/kogito/index/addon/vertx/VertxGraphiQLSetup.java -index 29ab0a1d8..7aba3a8b5 100644 ---- a/data-index/kogito-addons-quarkus-data-index/kogito-addons-quarkus-data-index-common/runtime/src/main/java/org/kie/kogito/index/addon/vertx/VertxGraphiQLSetup.java -+++ b/data-index/kogito-addons-quarkus-data-index/kogito-addons-quarkus-data-index-common/runtime/src/main/java/org/kie/kogito/index/addon/vertx/VertxGraphiQLSetup.java -@@ -18,9 +18,9 @@ - */ - package org.kie.kogito.index.addon.vertx; - --import javax.enterprise.context.ApplicationScoped; --import javax.enterprise.event.Observes; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.event.Observes; -+import jakarta.inject.Inject; - - import org.eclipse.microprofile.config.inject.ConfigProperty; - -diff --git a/explainability/explainability-api/src/main/java/org/kie/kogito/explainability/api/BaseExplainabilityRequest.java b/explainability/explainability-api/src/main/java/org/kie/kogito/explainability/api/BaseExplainabilityRequest.java -index d8db183fe..1a7d9726d 100644 ---- a/explainability/explainability-api/src/main/java/org/kie/kogito/explainability/api/BaseExplainabilityRequest.java -+++ b/explainability/explainability-api/src/main/java/org/kie/kogito/explainability/api/BaseExplainabilityRequest.java -@@ -20,9 +20,9 @@ package org.kie.kogito.explainability.api; - - import java.util.Objects; - --import javax.validation.Valid; --import javax.validation.constraints.NotBlank; --import javax.validation.constraints.NotNull; -+import jakarta.validation.Valid; -+import jakarta.validation.constraints.NotBlank; -+import jakarta.validation.constraints.NotNull; - - import com.fasterxml.jackson.annotation.JsonIgnoreProperties; - import com.fasterxml.jackson.annotation.JsonProperty; -diff --git a/explainability/explainability-api/src/main/java/org/kie/kogito/explainability/api/BaseExplainabilityResult.java b/explainability/explainability-api/src/main/java/org/kie/kogito/explainability/api/BaseExplainabilityResult.java -index 1830a5968..d9b29011c 100644 ---- a/explainability/explainability-api/src/main/java/org/kie/kogito/explainability/api/BaseExplainabilityResult.java -+++ b/explainability/explainability-api/src/main/java/org/kie/kogito/explainability/api/BaseExplainabilityResult.java -@@ -20,7 +20,7 @@ package org.kie.kogito.explainability.api; - - import java.util.Objects; - --import javax.validation.constraints.NotNull; -+import jakarta.validation.constraints.NotNull; - - import com.fasterxml.jackson.annotation.JsonIgnoreProperties; - import com.fasterxml.jackson.annotation.JsonProperty; -diff --git a/explainability/explainability-api/src/main/java/org/kie/kogito/explainability/api/CounterfactualDomainCategorical.java b/explainability/explainability-api/src/main/java/org/kie/kogito/explainability/api/CounterfactualDomainCategorical.java -index 2a13a1a79..f571e5df7 100644 ---- a/explainability/explainability-api/src/main/java/org/kie/kogito/explainability/api/CounterfactualDomainCategorical.java -+++ b/explainability/explainability-api/src/main/java/org/kie/kogito/explainability/api/CounterfactualDomainCategorical.java -@@ -21,7 +21,7 @@ package org.kie.kogito.explainability.api; - import java.util.Collection; - import java.util.Objects; - --import javax.validation.constraints.NotNull; -+import jakarta.validation.constraints.NotNull; - - import com.fasterxml.jackson.annotation.JsonProperty; - import com.fasterxml.jackson.databind.JsonNode; -diff --git a/explainability/explainability-api/src/main/java/org/kie/kogito/explainability/api/CounterfactualDomainRange.java b/explainability/explainability-api/src/main/java/org/kie/kogito/explainability/api/CounterfactualDomainRange.java -index 9b19c3364..613b8c063 100644 ---- a/explainability/explainability-api/src/main/java/org/kie/kogito/explainability/api/CounterfactualDomainRange.java -+++ b/explainability/explainability-api/src/main/java/org/kie/kogito/explainability/api/CounterfactualDomainRange.java -@@ -20,7 +20,7 @@ package org.kie.kogito.explainability.api; - - import java.util.Objects; - --import javax.validation.constraints.NotNull; -+import jakarta.validation.constraints.NotNull; - - import com.fasterxml.jackson.annotation.JsonProperty; - import com.fasterxml.jackson.databind.JsonNode; -diff --git a/explainability/explainability-api/src/main/java/org/kie/kogito/explainability/api/CounterfactualExplainabilityRequest.java b/explainability/explainability-api/src/main/java/org/kie/kogito/explainability/api/CounterfactualExplainabilityRequest.java -index c35367153..dc0bf86b6 100644 ---- a/explainability/explainability-api/src/main/java/org/kie/kogito/explainability/api/CounterfactualExplainabilityRequest.java -+++ b/explainability/explainability-api/src/main/java/org/kie/kogito/explainability/api/CounterfactualExplainabilityRequest.java -@@ -21,8 +21,8 @@ package org.kie.kogito.explainability.api; - import java.util.Collection; - import java.util.Objects; - --import javax.validation.constraints.NotBlank; --import javax.validation.constraints.NotNull; -+import jakarta.validation.constraints.NotBlank; -+import jakarta.validation.constraints.NotNull; - - import com.fasterxml.jackson.annotation.JsonIgnoreProperties; - import com.fasterxml.jackson.annotation.JsonProperty; -diff --git a/explainability/explainability-api/src/main/java/org/kie/kogito/explainability/api/CounterfactualExplainabilityResult.java b/explainability/explainability-api/src/main/java/org/kie/kogito/explainability/api/CounterfactualExplainabilityResult.java -index 38580f144..09351fff3 100644 ---- a/explainability/explainability-api/src/main/java/org/kie/kogito/explainability/api/CounterfactualExplainabilityResult.java -+++ b/explainability/explainability-api/src/main/java/org/kie/kogito/explainability/api/CounterfactualExplainabilityResult.java -@@ -23,7 +23,7 @@ import java.util.Collections; - import java.util.Objects; - import java.util.UUID; - --import javax.validation.constraints.NotNull; -+import jakarta.validation.constraints.NotNull; - - import com.fasterxml.jackson.annotation.JsonIgnoreProperties; - import com.fasterxml.jackson.annotation.JsonProperty; -diff --git a/explainability/explainability-api/src/main/java/org/kie/kogito/explainability/api/LIMEExplainabilityRequest.java b/explainability/explainability-api/src/main/java/org/kie/kogito/explainability/api/LIMEExplainabilityRequest.java -index 02f18fc55..633e06dd6 100644 ---- a/explainability/explainability-api/src/main/java/org/kie/kogito/explainability/api/LIMEExplainabilityRequest.java -+++ b/explainability/explainability-api/src/main/java/org/kie/kogito/explainability/api/LIMEExplainabilityRequest.java -@@ -21,8 +21,8 @@ package org.kie.kogito.explainability.api; - import java.util.Collection; - import java.util.Objects; - --import javax.validation.constraints.NotBlank; --import javax.validation.constraints.NotNull; -+import jakarta.validation.constraints.NotBlank; -+import jakarta.validation.constraints.NotNull; - - import com.fasterxml.jackson.annotation.JsonProperty; - -diff --git a/explainability/explainability-api/src/main/java/org/kie/kogito/explainability/api/LIMEExplainabilityResult.java b/explainability/explainability-api/src/main/java/org/kie/kogito/explainability/api/LIMEExplainabilityResult.java -index af066bcd4..918827b88 100644 ---- a/explainability/explainability-api/src/main/java/org/kie/kogito/explainability/api/LIMEExplainabilityResult.java -+++ b/explainability/explainability-api/src/main/java/org/kie/kogito/explainability/api/LIMEExplainabilityResult.java -@@ -22,7 +22,7 @@ import java.util.Collections; - import java.util.List; - import java.util.Objects; - --import javax.validation.constraints.NotNull; -+import jakarta.validation.constraints.NotNull; - - import com.fasterxml.jackson.annotation.JsonIgnoreProperties; - import com.fasterxml.jackson.annotation.JsonProperty; -diff --git a/explainability/explainability-api/src/main/java/org/kie/kogito/explainability/api/ModelIdentifier.java b/explainability/explainability-api/src/main/java/org/kie/kogito/explainability/api/ModelIdentifier.java -index 3727bdf6f..3353ba1dc 100644 ---- a/explainability/explainability-api/src/main/java/org/kie/kogito/explainability/api/ModelIdentifier.java -+++ b/explainability/explainability-api/src/main/java/org/kie/kogito/explainability/api/ModelIdentifier.java -@@ -20,7 +20,7 @@ package org.kie.kogito.explainability.api; - - import java.util.Objects; - --import javax.validation.constraints.NotBlank; -+import jakarta.validation.constraints.NotBlank; - - import com.fasterxml.jackson.annotation.JsonIgnoreProperties; - import com.fasterxml.jackson.annotation.JsonProperty; -diff --git a/explainability/explainability-service-messaging/src/main/java/org/kie/kogito/explainability/messaging/ExplainabilityMessagingHandler.java b/explainability/explainability-service-messaging/src/main/java/org/kie/kogito/explainability/messaging/ExplainabilityMessagingHandler.java -index da33c98eb..ba7bff960 100644 ---- a/explainability/explainability-service-messaging/src/main/java/org/kie/kogito/explainability/messaging/ExplainabilityMessagingHandler.java -+++ b/explainability/explainability-service-messaging/src/main/java/org/kie/kogito/explainability/messaging/ExplainabilityMessagingHandler.java -@@ -25,8 +25,8 @@ import java.util.Optional; - import java.util.concurrent.CompletableFuture; - import java.util.concurrent.CompletionStage; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import org.eclipse.microprofile.reactive.messaging.Incoming; - import org.eclipse.microprofile.reactive.messaging.Message; -diff --git a/explainability/explainability-service-messaging/src/test/java/org/kie/kogito/explainability/messaging/BaseExplainabilityMessagingHandlerIT.java b/explainability/explainability-service-messaging/src/test/java/org/kie/kogito/explainability/messaging/BaseExplainabilityMessagingHandlerIT.java -index 2874f5f7c..50037afdf 100644 ---- a/explainability/explainability-service-messaging/src/test/java/org/kie/kogito/explainability/messaging/BaseExplainabilityMessagingHandlerIT.java -+++ b/explainability/explainability-service-messaging/src/test/java/org/kie/kogito/explainability/messaging/BaseExplainabilityMessagingHandlerIT.java -@@ -24,7 +24,7 @@ import java.util.concurrent.CountDownLatch; - import java.util.concurrent.TimeUnit; - import java.util.function.Consumer; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.eclipse.microprofile.config.inject.ConfigProperty; - import org.junit.jupiter.api.AfterEach; -diff --git a/explainability/explainability-service-rest/src/main/java/org/kie/kogito/explainability/rest/ExplainabilityApiV1.java b/explainability/explainability-service-rest/src/main/java/org/kie/kogito/explainability/rest/ExplainabilityApiV1.java -index 67b36a591..06440daca 100644 ---- a/explainability/explainability-service-rest/src/main/java/org/kie/kogito/explainability/rest/ExplainabilityApiV1.java -+++ b/explainability/explainability-service-rest/src/main/java/org/kie/kogito/explainability/rest/ExplainabilityApiV1.java -@@ -20,14 +20,14 @@ package org.kie.kogito.explainability.rest; - - import java.util.concurrent.CompletionStage; - --import javax.inject.Inject; --import javax.validation.Valid; --import javax.ws.rs.Consumes; --import javax.ws.rs.POST; --import javax.ws.rs.Path; --import javax.ws.rs.Produces; --import javax.ws.rs.core.MediaType; --import javax.ws.rs.core.Response; -+import jakarta.inject.Inject; -+import jakarta.validation.Valid; -+import jakarta.ws.rs.Consumes; -+import jakarta.ws.rs.POST; -+import jakarta.ws.rs.Path; -+import jakarta.ws.rs.Produces; -+import jakarta.ws.rs.core.MediaType; -+import jakarta.ws.rs.core.Response; - - import org.eclipse.microprofile.openapi.annotations.Operation; - import org.eclipse.microprofile.openapi.annotations.enums.SchemaType; -diff --git a/explainability/explainability-service-rest/src/test/java/org/kie/kogito/explainability/rest/LocalExplainerMock.java b/explainability/explainability-service-rest/src/test/java/org/kie/kogito/explainability/rest/LocalExplainerMock.java -index aadffa940..084a130f3 100644 ---- a/explainability/explainability-service-rest/src/test/java/org/kie/kogito/explainability/rest/LocalExplainerMock.java -+++ b/explainability/explainability-service-rest/src/test/java/org/kie/kogito/explainability/rest/LocalExplainerMock.java -@@ -22,7 +22,7 @@ import java.util.Map; - import java.util.concurrent.CompletableFuture; - import java.util.function.Consumer; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - import org.kie.kogito.explainability.local.LocalExplainer; - import org.kie.kogito.explainability.model.Prediction; -diff --git a/explainability/explainability-service-rest/src/test/java/org/kie/kogito/explainability/rest/PredictionProviderFactoryMock.java b/explainability/explainability-service-rest/src/test/java/org/kie/kogito/explainability/rest/PredictionProviderFactoryMock.java -index 958dcc404..cd9daa560 100644 ---- a/explainability/explainability-service-rest/src/test/java/org/kie/kogito/explainability/rest/PredictionProviderFactoryMock.java -+++ b/explainability/explainability-service-rest/src/test/java/org/kie/kogito/explainability/rest/PredictionProviderFactoryMock.java -@@ -20,7 +20,7 @@ package org.kie.kogito.explainability.rest; - - import java.util.Collection; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - import org.kie.kogito.explainability.PredictionProviderFactory; - import org.kie.kogito.explainability.api.HasNameValue; -diff --git a/explainability/explainability-service/src/main/java/org/kie/kogito/explainability/ExplanationServiceImpl.java b/explainability/explainability-service/src/main/java/org/kie/kogito/explainability/ExplanationServiceImpl.java -index f5b9f46e7..1d62d43a9 100644 ---- a/explainability/explainability-service/src/main/java/org/kie/kogito/explainability/ExplanationServiceImpl.java -+++ b/explainability/explainability-service/src/main/java/org/kie/kogito/explainability/ExplanationServiceImpl.java -@@ -21,8 +21,8 @@ package org.kie.kogito.explainability; - import java.util.concurrent.CompletionStage; - import java.util.function.Consumer; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import org.kie.kogito.explainability.api.BaseExplainabilityRequest; - import org.kie.kogito.explainability.api.BaseExplainabilityResult; -diff --git a/explainability/explainability-service/src/main/java/org/kie/kogito/explainability/PredictionProviderFactoryImpl.java b/explainability/explainability-service/src/main/java/org/kie/kogito/explainability/PredictionProviderFactoryImpl.java -index 76adbc616..ee20db64c 100644 ---- a/explainability/explainability-service/src/main/java/org/kie/kogito/explainability/PredictionProviderFactoryImpl.java -+++ b/explainability/explainability-service/src/main/java/org/kie/kogito/explainability/PredictionProviderFactoryImpl.java -@@ -20,8 +20,8 @@ package org.kie.kogito.explainability; - - import java.util.Collection; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import org.eclipse.microprofile.context.ManagedExecutor; - import org.eclipse.microprofile.context.ThreadContext; -diff --git a/explainability/explainability-service/src/main/java/org/kie/kogito/explainability/handlers/CounterfactualExplainerProducer.java b/explainability/explainability-service/src/main/java/org/kie/kogito/explainability/handlers/CounterfactualExplainerProducer.java -index dd7070d27..e9627760d 100644 ---- a/explainability/explainability-service/src/main/java/org/kie/kogito/explainability/handlers/CounterfactualExplainerProducer.java -+++ b/explainability/explainability-service/src/main/java/org/kie/kogito/explainability/handlers/CounterfactualExplainerProducer.java -@@ -18,9 +18,9 @@ - */ - package org.kie.kogito.explainability.handlers; - --import javax.enterprise.context.ApplicationScoped; --import javax.enterprise.inject.Produces; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.inject.Produces; -+import jakarta.inject.Inject; - - import org.eclipse.microprofile.config.inject.ConfigProperty; - import org.eclipse.microprofile.context.ManagedExecutor; -diff --git a/explainability/explainability-service/src/main/java/org/kie/kogito/explainability/handlers/CounterfactualExplainerServiceHandler.java b/explainability/explainability-service/src/main/java/org/kie/kogito/explainability/handlers/CounterfactualExplainerServiceHandler.java -index dc5ef5687..6ce9e2770 100644 ---- a/explainability/explainability-service/src/main/java/org/kie/kogito/explainability/handlers/CounterfactualExplainerServiceHandler.java -+++ b/explainability/explainability-service/src/main/java/org/kie/kogito/explainability/handlers/CounterfactualExplainerServiceHandler.java -@@ -29,8 +29,8 @@ import java.util.concurrent.CompletableFuture; - import java.util.function.Consumer; - import java.util.stream.Collectors; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import org.eclipse.microprofile.config.inject.ConfigProperty; - import org.kie.kogito.explainability.ConversionUtils; -diff --git a/explainability/explainability-service/src/main/java/org/kie/kogito/explainability/handlers/LimeExplainerProducer.java b/explainability/explainability-service/src/main/java/org/kie/kogito/explainability/handlers/LimeExplainerProducer.java -index 995ce31f3..a735a2ac6 100644 ---- a/explainability/explainability-service/src/main/java/org/kie/kogito/explainability/handlers/LimeExplainerProducer.java -+++ b/explainability/explainability-service/src/main/java/org/kie/kogito/explainability/handlers/LimeExplainerProducer.java -@@ -20,9 +20,9 @@ package org.kie.kogito.explainability.handlers; - - import java.security.SecureRandom; - --import javax.enterprise.context.ApplicationScoped; --import javax.enterprise.inject.Produces; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.inject.Produces; -+import jakarta.inject.Inject; - - import org.eclipse.microprofile.config.inject.ConfigProperty; - import org.kie.kogito.explainability.local.lime.LimeConfig; -diff --git a/explainability/explainability-service/src/main/java/org/kie/kogito/explainability/handlers/LimeExplainerServiceHandler.java b/explainability/explainability-service/src/main/java/org/kie/kogito/explainability/handlers/LimeExplainerServiceHandler.java -index bab144581..927280ebe 100644 ---- a/explainability/explainability-service/src/main/java/org/kie/kogito/explainability/handlers/LimeExplainerServiceHandler.java -+++ b/explainability/explainability-service/src/main/java/org/kie/kogito/explainability/handlers/LimeExplainerServiceHandler.java -@@ -24,8 +24,8 @@ import java.util.concurrent.CompletableFuture; - import java.util.function.Consumer; - import java.util.stream.Collectors; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import org.kie.kogito.explainability.PredictionProviderFactory; - import org.kie.kogito.explainability.api.BaseExplainabilityRequest; -diff --git a/explainability/explainability-service/src/main/java/org/kie/kogito/explainability/handlers/LocalExplainerServiceHandlerRegistry.java b/explainability/explainability-service/src/main/java/org/kie/kogito/explainability/handlers/LocalExplainerServiceHandlerRegistry.java -index 0653ceda2..b184cfcce 100644 ---- a/explainability/explainability-service/src/main/java/org/kie/kogito/explainability/handlers/LocalExplainerServiceHandlerRegistry.java -+++ b/explainability/explainability-service/src/main/java/org/kie/kogito/explainability/handlers/LocalExplainerServiceHandlerRegistry.java -@@ -22,10 +22,10 @@ import java.util.Optional; - import java.util.concurrent.CompletableFuture; - import java.util.function.Consumer; - --import javax.enterprise.context.ApplicationScoped; --import javax.enterprise.inject.Any; --import javax.enterprise.inject.Instance; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.inject.Any; -+import jakarta.enterprise.inject.Instance; -+import jakarta.inject.Inject; - - import org.kie.kogito.explainability.api.BaseExplainabilityRequest; - import org.kie.kogito.explainability.api.BaseExplainabilityResult; -diff --git a/explainability/explainability-service/src/test/java/org/kie/kogito/explainability/ExplanationServiceImplTest.java b/explainability/explainability-service/src/test/java/org/kie/kogito/explainability/ExplanationServiceImplTest.java -index 32fa35a3b..b75f6fb54 100644 ---- a/explainability/explainability-service/src/test/java/org/kie/kogito/explainability/ExplanationServiceImplTest.java -+++ b/explainability/explainability-service/src/test/java/org/kie/kogito/explainability/ExplanationServiceImplTest.java -@@ -22,7 +22,7 @@ import java.util.concurrent.CompletableFuture; - import java.util.function.Consumer; - import java.util.stream.Stream; - --import javax.enterprise.inject.Instance; -+import jakarta.enterprise.inject.Instance; - - import org.junit.jupiter.api.BeforeEach; - import org.junit.jupiter.api.Test; -diff --git a/explainability/explainability-service/src/test/java/org/kie/kogito/explainability/handlers/LocalExplainerServiceHandlerRegistryTest.java b/explainability/explainability-service/src/test/java/org/kie/kogito/explainability/handlers/LocalExplainerServiceHandlerRegistryTest.java -index a1ae055fe..a45934d83 100644 ---- a/explainability/explainability-service/src/test/java/org/kie/kogito/explainability/handlers/LocalExplainerServiceHandlerRegistryTest.java -+++ b/explainability/explainability-service/src/test/java/org/kie/kogito/explainability/handlers/LocalExplainerServiceHandlerRegistryTest.java -@@ -22,7 +22,7 @@ import java.util.Collections; - import java.util.function.Consumer; - import java.util.stream.Stream; - --import javax.enterprise.inject.Instance; -+import jakarta.enterprise.inject.Instance; - - import org.junit.jupiter.api.BeforeEach; - import org.junit.jupiter.api.Test; -diff --git a/jitexecutor/jitexecutor-bpmn/src/main/java/org/kie/kogito/jitexecutor/bpmn/JITBPMNServiceImpl.java b/jitexecutor/jitexecutor-bpmn/src/main/java/org/kie/kogito/jitexecutor/bpmn/JITBPMNServiceImpl.java -index c0b70cffb..b07248fe4 100644 ---- a/jitexecutor/jitexecutor-bpmn/src/main/java/org/kie/kogito/jitexecutor/bpmn/JITBPMNServiceImpl.java -+++ b/jitexecutor/jitexecutor-bpmn/src/main/java/org/kie/kogito/jitexecutor/bpmn/JITBPMNServiceImpl.java -@@ -25,7 +25,7 @@ import java.util.ArrayList; - import java.util.Collection; - import java.util.Collections; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - import org.drools.io.InputStreamResource; - import org.jbpm.bpmn2.xml.BPMNDISemanticModule; -diff --git a/jitexecutor/jitexecutor-bpmn/src/main/java/org/kie/kogito/jitexecutor/bpmn/api/BPMNValidationResource.java b/jitexecutor/jitexecutor-bpmn/src/main/java/org/kie/kogito/jitexecutor/bpmn/api/BPMNValidationResource.java -index 5022f4903..00985fd63 100644 ---- a/jitexecutor/jitexecutor-bpmn/src/main/java/org/kie/kogito/jitexecutor/bpmn/api/BPMNValidationResource.java -+++ b/jitexecutor/jitexecutor-bpmn/src/main/java/org/kie/kogito/jitexecutor/bpmn/api/BPMNValidationResource.java -@@ -18,13 +18,13 @@ - */ - package org.kie.kogito.jitexecutor.bpmn.api; - --import javax.inject.Inject; --import javax.ws.rs.Consumes; --import javax.ws.rs.POST; --import javax.ws.rs.Path; --import javax.ws.rs.Produces; --import javax.ws.rs.core.MediaType; --import javax.ws.rs.core.Response; -+import jakarta.inject.Inject; -+import jakarta.ws.rs.Consumes; -+import jakarta.ws.rs.POST; -+import jakarta.ws.rs.Path; -+import jakarta.ws.rs.Produces; -+import jakarta.ws.rs.core.MediaType; -+import jakarta.ws.rs.core.Response; - - import org.kie.kogito.jitexecutor.bpmn.JITBPMNService; - import org.kie.kogito.jitexecutor.bpmn.responses.JITBPMNValidationResult; -diff --git a/jitexecutor/jitexecutor-dmn/src/main/java/org/kie/kogito/jitexecutor/dmn/JITDMNObjectMapperCustomizer.java b/jitexecutor/jitexecutor-dmn/src/main/java/org/kie/kogito/jitexecutor/dmn/JITDMNObjectMapperCustomizer.java -index ec8b9bde9..44684aa50 100644 ---- a/jitexecutor/jitexecutor-dmn/src/main/java/org/kie/kogito/jitexecutor/dmn/JITDMNObjectMapperCustomizer.java -+++ b/jitexecutor/jitexecutor-dmn/src/main/java/org/kie/kogito/jitexecutor/dmn/JITDMNObjectMapperCustomizer.java -@@ -18,7 +18,7 @@ - */ - package org.kie.kogito.jitexecutor.dmn; - --import javax.inject.Singleton; -+import jakarta.inject.Singleton; - - import com.fasterxml.jackson.databind.ObjectMapper; - -diff --git a/jitexecutor/jitexecutor-dmn/src/main/java/org/kie/kogito/jitexecutor/dmn/JITDMNServiceImpl.java b/jitexecutor/jitexecutor-dmn/src/main/java/org/kie/kogito/jitexecutor/dmn/JITDMNServiceImpl.java -index b2230ecd4..9b305a37a 100644 ---- a/jitexecutor/jitexecutor-dmn/src/main/java/org/kie/kogito/jitexecutor/dmn/JITDMNServiceImpl.java -+++ b/jitexecutor/jitexecutor-dmn/src/main/java/org/kie/kogito/jitexecutor/dmn/JITDMNServiceImpl.java -@@ -27,7 +27,7 @@ import java.util.concurrent.ExecutionException; - import java.util.concurrent.TimeoutException; - import java.util.stream.Collectors; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - import org.eclipse.microprofile.config.inject.ConfigProperty; - import org.kie.dmn.api.core.DMNModel; -diff --git a/jitexecutor/jitexecutor-dmn/src/main/java/org/kie/kogito/jitexecutor/dmn/api/DMNValidationResource.java b/jitexecutor/jitexecutor-dmn/src/main/java/org/kie/kogito/jitexecutor/dmn/api/DMNValidationResource.java -index b50ad939e..ef709e8a3 100644 ---- a/jitexecutor/jitexecutor-dmn/src/main/java/org/kie/kogito/jitexecutor/dmn/api/DMNValidationResource.java -+++ b/jitexecutor/jitexecutor-dmn/src/main/java/org/kie/kogito/jitexecutor/dmn/api/DMNValidationResource.java -@@ -25,12 +25,12 @@ import java.util.List; - import java.util.Map; - import java.util.stream.Collectors; - --import javax.ws.rs.Consumes; --import javax.ws.rs.POST; --import javax.ws.rs.Path; --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.Produces; -+import jakarta.ws.rs.core.MediaType; -+import jakarta.ws.rs.core.Response; - - import org.kie.api.io.Resource; - import org.kie.dmn.api.core.DMNMessage; -diff --git a/jitexecutor/jitexecutor-dmn/src/main/java/org/kie/kogito/jitexecutor/dmn/api/JITDMNResource.java b/jitexecutor/jitexecutor-dmn/src/main/java/org/kie/kogito/jitexecutor/dmn/api/JITDMNResource.java -index 6ff12594c..d811adf50 100644 ---- a/jitexecutor/jitexecutor-dmn/src/main/java/org/kie/kogito/jitexecutor/dmn/api/JITDMNResource.java -+++ b/jitexecutor/jitexecutor-dmn/src/main/java/org/kie/kogito/jitexecutor/dmn/api/JITDMNResource.java -@@ -22,13 +22,13 @@ import java.util.HashMap; - import java.util.Map; - import java.util.Map.Entry; - --import javax.inject.Inject; --import javax.ws.rs.Consumes; --import javax.ws.rs.POST; --import javax.ws.rs.Path; --import javax.ws.rs.Produces; --import javax.ws.rs.core.MediaType; --import javax.ws.rs.core.Response; -+import jakarta.inject.Inject; -+import jakarta.ws.rs.Consumes; -+import jakarta.ws.rs.POST; -+import jakarta.ws.rs.Path; -+import jakarta.ws.rs.Produces; -+import jakarta.ws.rs.core.MediaType; -+import jakarta.ws.rs.core.Response; - - import org.kie.dmn.core.internal.utils.MarshallingStubUtils; - import org.kie.kogito.jitexecutor.dmn.JITDMNService; -diff --git a/jitexecutor/jitexecutor-dmn/src/main/java/org/kie/kogito/jitexecutor/dmn/api/SchemaResource.java b/jitexecutor/jitexecutor-dmn/src/main/java/org/kie/kogito/jitexecutor/dmn/api/SchemaResource.java -index cec99ab0e..8d673f674 100644 ---- a/jitexecutor/jitexecutor-dmn/src/main/java/org/kie/kogito/jitexecutor/dmn/api/SchemaResource.java -+++ b/jitexecutor/jitexecutor-dmn/src/main/java/org/kie/kogito/jitexecutor/dmn/api/SchemaResource.java -@@ -22,12 +22,12 @@ import java.util.Collections; - import java.util.List; - import java.util.Map; - --import javax.ws.rs.Consumes; --import javax.ws.rs.POST; --import javax.ws.rs.Path; --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.Produces; -+import jakarta.ws.rs.core.MediaType; -+import jakarta.ws.rs.core.Response; - - import org.eclipse.microprofile.openapi.OASFactory; - import org.eclipse.microprofile.openapi.models.OpenAPI; -diff --git a/jobs-service/jobs-recipients/job-http-recipient/deployment/src/test/java/org/kie/kogito/job/http/recipient/test/JobHttpRecipientTest.java b/jobs-service/jobs-recipients/job-http-recipient/deployment/src/test/java/org/kie/kogito/job/http/recipient/test/JobHttpRecipientTest.java -index cdff7c265..8ecdba586 100644 ---- a/jobs-service/jobs-recipients/job-http-recipient/deployment/src/test/java/org/kie/kogito/job/http/recipient/test/JobHttpRecipientTest.java -+++ b/jobs-service/jobs-recipients/job-http-recipient/deployment/src/test/java/org/kie/kogito/job/http/recipient/test/JobHttpRecipientTest.java -@@ -18,7 +18,7 @@ - */ - package org.kie.kogito.job.http.recipient.test; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.eclipse.microprofile.config.inject.ConfigProperty; - import org.jboss.shrinkwrap.api.ShrinkWrap; -diff --git a/jobs-service/jobs-recipients/job-http-recipient/runtime/pom.xml b/jobs-service/jobs-recipients/job-http-recipient/runtime/pom.xml -index ec1c1ffdb..b0f1e420e 100644 ---- a/jobs-service/jobs-recipients/job-http-recipient/runtime/pom.xml -+++ b/jobs-service/jobs-recipients/job-http-recipient/runtime/pom.xml -@@ -84,7 +84,7 @@ - - - io.quarkus -- quarkus-bootstrap-maven-plugin -+ quarkus-extension-maven-plugin - ${version.io.quarkus} - - -diff --git a/jobs-service/jobs-recipients/job-http-recipient/runtime/src/main/java/org/kie/kogito/job/http/recipient/HttpJobExecutor.java b/jobs-service/jobs-recipients/job-http-recipient/runtime/src/main/java/org/kie/kogito/job/http/recipient/HttpJobExecutor.java -index d174f283c..547db16b5 100644 ---- a/jobs-service/jobs-recipients/job-http-recipient/runtime/src/main/java/org/kie/kogito/job/http/recipient/HttpJobExecutor.java -+++ b/jobs-service/jobs-recipients/job-http-recipient/runtime/src/main/java/org/kie/kogito/job/http/recipient/HttpJobExecutor.java -@@ -18,10 +18,10 @@ - */ - package org.kie.kogito.job.http.recipient; - --import javax.annotation.PostConstruct; --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - -+import jakarta.annotation.PostConstruct; - import org.eclipse.microprofile.config.inject.ConfigProperty; - import org.kie.kogito.job.recipient.common.http.HTTPRequest; - import org.kie.kogito.job.recipient.common.http.HTTPRequestExecutor; -diff --git a/jobs-service/jobs-recipients/job-http-recipient/runtime/src/main/java/org/kie/kogito/job/http/recipient/HttpRecipientValidator.java b/jobs-service/jobs-recipients/job-http-recipient/runtime/src/main/java/org/kie/kogito/job/http/recipient/HttpRecipientValidator.java -index 07a7aae78..50107127c 100644 ---- a/jobs-service/jobs-recipients/job-http-recipient/runtime/src/main/java/org/kie/kogito/job/http/recipient/HttpRecipientValidator.java -+++ b/jobs-service/jobs-recipients/job-http-recipient/runtime/src/main/java/org/kie/kogito/job/http/recipient/HttpRecipientValidator.java -@@ -21,7 +21,7 @@ package org.kie.kogito.job.http.recipient; - import java.net.MalformedURLException; - import java.net.URL; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - import org.eclipse.microprofile.config.inject.ConfigProperty; - import org.kie.kogito.internal.utils.ConversionUtils; -diff --git a/jobs-service/jobs-recipients/job-recipient-common-http/src/main/java/org/kie/kogito/job/recipient/common/http/HTTPRequestExecutor.java b/jobs-service/jobs-recipients/job-recipient-common-http/src/main/java/org/kie/kogito/job/recipient/common/http/HTTPRequestExecutor.java -index 4761d0248..ffe6dc7a0 100644 ---- a/jobs-service/jobs-recipients/job-recipient-common-http/src/main/java/org/kie/kogito/job/recipient/common/http/HTTPRequestExecutor.java -+++ b/jobs-service/jobs-recipients/job-recipient-common-http/src/main/java/org/kie/kogito/job/recipient/common/http/HTTPRequestExecutor.java -@@ -24,7 +24,7 @@ import java.util.Collections; - import java.util.Map; - import java.util.stream.Collectors; - --import javax.ws.rs.core.Response; -+import jakarta.ws.rs.core.Response; - - import org.kie.kogito.job.recipient.common.http.converters.HttpConverters; - import org.kie.kogito.jobs.api.URIBuilder; -diff --git a/jobs-service/jobs-recipients/job-sink-recipient/runtime/pom.xml b/jobs-service/jobs-recipients/job-sink-recipient/runtime/pom.xml -index 1a5251c2a..c82c91daa 100644 ---- a/jobs-service/jobs-recipients/job-sink-recipient/runtime/pom.xml -+++ b/jobs-service/jobs-recipients/job-sink-recipient/runtime/pom.xml -@@ -90,7 +90,7 @@ - - - io.quarkus -- quarkus-bootstrap-maven-plugin -+ quarkus-extension-maven-plugin - ${version.io.quarkus} - - -diff --git a/jobs-service/jobs-recipients/job-sink-recipient/runtime/src/main/java/org/kie/kogito/job/sink/recipient/SinkJobExecutor.java b/jobs-service/jobs-recipients/job-sink-recipient/runtime/src/main/java/org/kie/kogito/job/sink/recipient/SinkJobExecutor.java -index fb3116828..505ebbee3 100644 ---- a/jobs-service/jobs-recipients/job-sink-recipient/runtime/src/main/java/org/kie/kogito/job/sink/recipient/SinkJobExecutor.java -+++ b/jobs-service/jobs-recipients/job-sink-recipient/runtime/src/main/java/org/kie/kogito/job/sink/recipient/SinkJobExecutor.java -@@ -21,10 +21,10 @@ package org.kie.kogito.job.sink.recipient; - import java.time.OffsetDateTime; - import java.util.UUID; - --import javax.annotation.PostConstruct; --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - -+import jakarta.annotation.PostConstruct; - import org.eclipse.microprofile.config.inject.ConfigProperty; - import org.kie.kogito.job.recipient.common.http.HTTPRequest; - import org.kie.kogito.job.recipient.common.http.HTTPRequestExecutor; -diff --git a/jobs-service/jobs-recipients/job-sink-recipient/runtime/src/main/java/org/kie/kogito/job/sink/recipient/SinkRecipientValidator.java b/jobs-service/jobs-recipients/job-sink-recipient/runtime/src/main/java/org/kie/kogito/job/sink/recipient/SinkRecipientValidator.java -index 5826feb9d..76d96ce49 100644 ---- a/jobs-service/jobs-recipients/job-sink-recipient/runtime/src/main/java/org/kie/kogito/job/sink/recipient/SinkRecipientValidator.java -+++ b/jobs-service/jobs-recipients/job-sink-recipient/runtime/src/main/java/org/kie/kogito/job/sink/recipient/SinkRecipientValidator.java -@@ -22,7 +22,7 @@ import java.net.MalformedURLException; - import java.net.URL; - import java.util.Objects; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - import org.eclipse.microprofile.config.inject.ConfigProperty; - import org.kie.kogito.internal.utils.ConversionUtils; -diff --git a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/executor/DefaultJobExecutorResolver.java b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/executor/DefaultJobExecutorResolver.java -index 207335f46..0eddc443f 100644 ---- a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/executor/DefaultJobExecutorResolver.java -+++ b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/executor/DefaultJobExecutorResolver.java -@@ -18,9 +18,9 @@ - */ - package org.kie.kogito.jobs.service.executor; - --import javax.enterprise.context.ApplicationScoped; --import javax.enterprise.inject.Instance; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.inject.Instance; -+import jakarta.inject.Inject; - - import org.kie.kogito.jobs.service.model.JobDetails; - -diff --git a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/json/JacksonConfiguration.java b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/json/JacksonConfiguration.java -index b334e424b..b42b5376f 100644 ---- a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/json/JacksonConfiguration.java -+++ b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/json/JacksonConfiguration.java -@@ -18,8 +18,8 @@ - */ - package org.kie.kogito.jobs.service.json; - --import javax.enterprise.inject.Produces; --import javax.inject.Singleton; -+import jakarta.enterprise.inject.Produces; -+import jakarta.inject.Singleton; - - import org.kie.kogito.jobs.service.api.serlialization.SerializationUtils; - import org.slf4j.Logger; -diff --git a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/management/HttpGatekeeperFilter.java b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/management/HttpGatekeeperFilter.java -index 37bda9e54..09203d2ad 100644 ---- a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/management/HttpGatekeeperFilter.java -+++ b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/management/HttpGatekeeperFilter.java -@@ -20,8 +20,8 @@ package org.kie.kogito.jobs.service.management; - - import java.util.concurrent.atomic.AtomicBoolean; - --import javax.enterprise.context.ApplicationScoped; --import javax.enterprise.event.Observes; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.event.Observes; - - import org.eclipse.microprofile.config.inject.ConfigProperty; - -diff --git a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/management/JobServiceInstanceManager.java b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/management/JobServiceInstanceManager.java -index 80101b912..a756746f6 100644 ---- a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/management/JobServiceInstanceManager.java -+++ b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/management/JobServiceInstanceManager.java -@@ -25,11 +25,11 @@ import java.util.concurrent.TimeUnit; - import java.util.concurrent.atomic.AtomicBoolean; - import java.util.concurrent.atomic.AtomicReference; - --import javax.enterprise.context.ApplicationScoped; --import javax.enterprise.event.Event; --import javax.enterprise.event.Observes; --import javax.enterprise.inject.Instance; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.event.Event; -+import jakarta.enterprise.event.Observes; -+import jakarta.enterprise.inject.Instance; -+import jakarta.inject.Inject; - - import org.eclipse.microprofile.config.inject.ConfigProperty; - import org.kie.kogito.jobs.service.messaging.MessagingHandler; -diff --git a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/management/JobServiceLeaderHealthCheck.java b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/management/JobServiceLeaderHealthCheck.java -index 0c0de570d..c07792b0e 100644 ---- a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/management/JobServiceLeaderHealthCheck.java -+++ b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/management/JobServiceLeaderHealthCheck.java -@@ -20,8 +20,8 @@ package org.kie.kogito.jobs.service.management; - - import java.util.concurrent.atomic.AtomicBoolean; - --import javax.enterprise.context.ApplicationScoped; --import javax.enterprise.event.Observes; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.event.Observes; - - import org.eclipse.microprofile.health.HealthCheck; - import org.eclipse.microprofile.health.HealthCheckResponse; -diff --git a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/repository/impl/DefaultJobServiceManagementRepository.java b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/repository/impl/DefaultJobServiceManagementRepository.java -index 3d2da793c..d7c36bbd4 100644 ---- a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/repository/impl/DefaultJobServiceManagementRepository.java -+++ b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/repository/impl/DefaultJobServiceManagementRepository.java -@@ -21,7 +21,7 @@ package org.kie.kogito.jobs.service.repository.impl; - import java.util.concurrent.atomic.AtomicReference; - import java.util.function.Function; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - import org.kie.kogito.jobs.service.model.JobServiceManagementInfo; - import org.kie.kogito.jobs.service.repository.JobServiceManagementRepository; -diff --git a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/repository/impl/InMemoryConfiguration.java b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/repository/impl/InMemoryConfiguration.java -index ee7a88b67..bf349c863 100644 ---- a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/repository/impl/InMemoryConfiguration.java -+++ b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/repository/impl/InMemoryConfiguration.java -@@ -18,8 +18,8 @@ - */ - package org.kie.kogito.jobs.service.repository.impl; - --import javax.enterprise.context.ApplicationScoped; --import javax.enterprise.inject.Produces; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.inject.Produces; - - import org.eclipse.microprofile.health.HealthCheck; - import org.eclipse.microprofile.health.HealthCheckResponse; -diff --git a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/repository/impl/InMemoryJobRepository.java b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/repository/impl/InMemoryJobRepository.java -index 4cbb0ad1b..ddbbe7e80 100644 ---- a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/repository/impl/InMemoryJobRepository.java -+++ b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/repository/impl/InMemoryJobRepository.java -@@ -28,8 +28,8 @@ import java.util.concurrent.ConcurrentHashMap; - import java.util.stream.Collectors; - import java.util.stream.Stream; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder; - import org.eclipse.microprofile.reactive.streams.operators.ReactiveStreams; -diff --git a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/repository/marshaller/JobDetailsMarshaller.java b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/repository/marshaller/JobDetailsMarshaller.java -index 3f1c2b9df..65e80f4b3 100644 ---- a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/repository/marshaller/JobDetailsMarshaller.java -+++ b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/repository/marshaller/JobDetailsMarshaller.java -@@ -24,8 +24,8 @@ import java.util.Date; - import java.util.Map; - import java.util.Optional; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import org.kie.kogito.jobs.service.model.JobDetails; - import org.kie.kogito.jobs.service.model.JobStatus; -diff --git a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/repository/marshaller/RecipientMarshaller.java b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/repository/marshaller/RecipientMarshaller.java -index 12812f945..c45bd7b10 100644 ---- a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/repository/marshaller/RecipientMarshaller.java -+++ b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/repository/marshaller/RecipientMarshaller.java -@@ -21,7 +21,7 @@ package org.kie.kogito.jobs.service.repository.marshaller; - import java.util.Objects; - import java.util.Optional; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - import org.kie.kogito.jobs.service.model.Recipient; - import org.kie.kogito.jobs.service.model.RecipientInstance; -diff --git a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/repository/marshaller/TriggerMarshaller.java b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/repository/marshaller/TriggerMarshaller.java -index 2359a7b2b..fecfa1f92 100644 ---- a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/repository/marshaller/TriggerMarshaller.java -+++ b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/repository/marshaller/TriggerMarshaller.java -@@ -22,7 +22,7 @@ import java.time.temporal.ChronoUnit; - import java.util.Date; - import java.util.Optional; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - import org.kie.kogito.timer.Trigger; - import org.kie.kogito.timer.impl.IntervalTrigger; -diff --git a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/resource/CallbackResourceTest.java b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/resource/CallbackResourceTest.java -index 48b9bb9e5..644a0d8e0 100644 ---- a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/resource/CallbackResourceTest.java -+++ b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/resource/CallbackResourceTest.java -@@ -21,13 +21,13 @@ package org.kie.kogito.jobs.service.resource; - import java.util.concurrent.CompletableFuture; - import java.util.concurrent.CompletionStage; - --import javax.ws.rs.Consumes; --import javax.ws.rs.GET; --import javax.ws.rs.POST; --import javax.ws.rs.Path; --import javax.ws.rs.Produces; --import javax.ws.rs.QueryParam; --import javax.ws.rs.core.MediaType; -+import jakarta.ws.rs.Consumes; -+import jakarta.ws.rs.GET; -+import jakarta.ws.rs.POST; -+import jakarta.ws.rs.Path; -+import jakarta.ws.rs.Produces; -+import jakarta.ws.rs.QueryParam; -+import jakarta.ws.rs.core.MediaType; - - import org.eclipse.microprofile.openapi.annotations.Operation; - import org.slf4j.Logger; -diff --git a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/resource/JobResource.java b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/resource/JobResource.java -index 9bb98f0a3..2a7cdc175 100644 ---- a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/resource/JobResource.java -+++ b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/resource/JobResource.java -@@ -18,18 +18,18 @@ - */ - package org.kie.kogito.jobs.service.resource; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; --import javax.ws.rs.Consumes; --import javax.ws.rs.DELETE; --import javax.ws.rs.GET; --import javax.ws.rs.NotFoundException; --import javax.ws.rs.PATCH; --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 jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; -+import jakarta.ws.rs.Consumes; -+import jakarta.ws.rs.DELETE; -+import jakarta.ws.rs.GET; -+import jakarta.ws.rs.NotFoundException; -+import jakarta.ws.rs.PATCH; -+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 org.eclipse.microprofile.openapi.annotations.Operation; - import org.eclipse.microprofile.openapi.annotations.parameters.RequestBody; -diff --git a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/resource/JobServiceManagementResource.java b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/resource/JobServiceManagementResource.java -index 0da279515..4a4cfe3af 100644 ---- a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/resource/JobServiceManagementResource.java -+++ b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/resource/JobServiceManagementResource.java -@@ -18,11 +18,11 @@ - */ - package org.kie.kogito.jobs.service.resource; - --import javax.enterprise.event.Event; --import javax.inject.Inject; --import javax.ws.rs.POST; --import javax.ws.rs.Path; --import javax.ws.rs.core.Response; -+import jakarta.enterprise.event.Event; -+import jakarta.inject.Inject; -+import jakarta.ws.rs.POST; -+import jakarta.ws.rs.Path; -+import jakarta.ws.rs.core.Response; - - import org.kie.kogito.jobs.service.management.ReleaseLeaderEvent; - import org.slf4j.Logger; -diff --git a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/resource/error/BaseExceptionMapper.java b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/resource/error/BaseExceptionMapper.java -index cd7557aa7..73476dfa3 100644 ---- a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/resource/error/BaseExceptionMapper.java -+++ b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/resource/error/BaseExceptionMapper.java -@@ -18,9 +18,9 @@ - */ - package org.kie.kogito.jobs.service.resource.error; - --import javax.ws.rs.core.MediaType; --import javax.ws.rs.core.Response; --import javax.ws.rs.ext.ExceptionMapper; -+import jakarta.ws.rs.core.MediaType; -+import jakarta.ws.rs.core.Response; -+import jakarta.ws.rs.ext.ExceptionMapper; - - import org.slf4j.Logger; - import org.slf4j.LoggerFactory; -diff --git a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/resource/error/DefaultExceptionMapper.java b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/resource/error/DefaultExceptionMapper.java -index 55cd6c55e..c9af24191 100644 ---- a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/resource/error/DefaultExceptionMapper.java -+++ b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/resource/error/DefaultExceptionMapper.java -@@ -18,7 +18,7 @@ - */ - package org.kie.kogito.jobs.service.resource.error; - --import javax.ws.rs.ext.Provider; -+import jakarta.ws.rs.ext.Provider; - - @Provider - public class DefaultExceptionMapper extends BaseExceptionMapper { -diff --git a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/resource/error/IllegalArgumentExceptionMapper.java b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/resource/error/IllegalArgumentExceptionMapper.java -index 0a7207d1a..d4af83f2f 100644 ---- a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/resource/error/IllegalArgumentExceptionMapper.java -+++ b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/resource/error/IllegalArgumentExceptionMapper.java -@@ -18,7 +18,7 @@ - */ - package org.kie.kogito.jobs.service.resource.error; - --import javax.ws.rs.ext.Provider; -+import jakarta.ws.rs.ext.Provider; - - @Provider - public class IllegalArgumentExceptionMapper extends BaseExceptionMapper { -diff --git a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/resource/error/InvalidScheduleTimeExceptionMapper.java b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/resource/error/InvalidScheduleTimeExceptionMapper.java -index d92d13528..1de5f6335 100644 ---- a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/resource/error/InvalidScheduleTimeExceptionMapper.java -+++ b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/resource/error/InvalidScheduleTimeExceptionMapper.java -@@ -18,7 +18,7 @@ - */ - package org.kie.kogito.jobs.service.resource.error; - --import javax.ws.rs.ext.Provider; -+import jakarta.ws.rs.ext.Provider; - - import org.kie.kogito.jobs.service.exception.InvalidScheduleTimeException; - -diff --git a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/resource/error/JobValidationExceptionMapper.java b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/resource/error/JobValidationExceptionMapper.java -index 1df46f4d3..b2e050e27 100644 ---- a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/resource/error/JobValidationExceptionMapper.java -+++ b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/resource/error/JobValidationExceptionMapper.java -@@ -18,7 +18,7 @@ - */ - package org.kie.kogito.jobs.service.resource.error; - --import javax.ws.rs.ext.Provider; -+import jakarta.ws.rs.ext.Provider; - - import org.kie.kogito.jobs.service.exception.JobValidationException; - -diff --git a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/resource/error/NotFoundExceptionMapper.java b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/resource/error/NotFoundExceptionMapper.java -index dc084bc41..176f5a955 100644 ---- a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/resource/error/NotFoundExceptionMapper.java -+++ b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/resource/error/NotFoundExceptionMapper.java -@@ -18,8 +18,8 @@ - */ - package org.kie.kogito.jobs.service.resource.error; - --import javax.ws.rs.NotFoundException; --import javax.ws.rs.ext.Provider; -+import jakarta.ws.rs.NotFoundException; -+import jakarta.ws.rs.ext.Provider; - - @Provider - public class NotFoundExceptionMapper extends BaseExceptionMapper { -diff --git a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/resource/error/WebApplicationExceptionMapper.java b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/resource/error/WebApplicationExceptionMapper.java -index 26cf01e54..d6c5382f8 100644 ---- a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/resource/error/WebApplicationExceptionMapper.java -+++ b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/resource/error/WebApplicationExceptionMapper.java -@@ -18,8 +18,8 @@ - */ - package org.kie.kogito.jobs.service.resource.error; - --import javax.ws.rs.WebApplicationException; --import javax.ws.rs.core.Response; -+import jakarta.ws.rs.WebApplicationException; -+import jakarta.ws.rs.core.Response; - - public class WebApplicationExceptionMapper extends BaseExceptionMapper { - -diff --git a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/resource/v2/JobResourceV2.java b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/resource/v2/JobResourceV2.java -index 4a17ec57d..34ed6ea97 100644 ---- a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/resource/v2/JobResourceV2.java -+++ b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/resource/v2/JobResourceV2.java -@@ -18,17 +18,17 @@ - */ - package org.kie.kogito.jobs.service.resource.v2; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; --import javax.ws.rs.Consumes; --import javax.ws.rs.DELETE; --import javax.ws.rs.GET; --import javax.ws.rs.NotFoundException; --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 jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; -+import jakarta.ws.rs.Consumes; -+import jakarta.ws.rs.DELETE; -+import jakarta.ws.rs.GET; -+import jakarta.ws.rs.NotFoundException; -+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 org.eclipse.microprofile.openapi.annotations.Operation; - import org.kie.kogito.jobs.service.adapter.JobDetailsAdapter; -diff --git a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/scheduler/JobSchedulerManager.java b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/scheduler/JobSchedulerManager.java -index 3649eafcd..fa80ae3cc 100644 ---- a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/scheduler/JobSchedulerManager.java -+++ b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/scheduler/JobSchedulerManager.java -@@ -23,9 +23,9 @@ import java.util.concurrent.TimeUnit; - import java.util.concurrent.atomic.AtomicBoolean; - import java.util.concurrent.atomic.AtomicLong; - --import javax.enterprise.context.ApplicationScoped; --import javax.enterprise.event.Observes; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.event.Observes; -+import jakarta.inject.Inject; - - import org.eclipse.microprofile.config.inject.ConfigProperty; - import org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder; -diff --git a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/scheduler/impl/TimerDelegateJobScheduler.java b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/scheduler/impl/TimerDelegateJobScheduler.java -index 8c0828e1d..06e396e2c 100644 ---- a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/scheduler/impl/TimerDelegateJobScheduler.java -+++ b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/scheduler/impl/TimerDelegateJobScheduler.java -@@ -22,8 +22,8 @@ import java.util.Objects; - import java.util.Optional; - import java.util.concurrent.CompletionStage; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import org.eclipse.microprofile.config.inject.ConfigProperty; - import org.eclipse.microprofile.reactive.messaging.Acknowledgment; -diff --git a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/scheduler/impl/VertxTimerServiceScheduler.java b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/scheduler/impl/VertxTimerServiceScheduler.java -index 503e08940..9c81c786f 100644 ---- a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/scheduler/impl/VertxTimerServiceScheduler.java -+++ b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/scheduler/impl/VertxTimerServiceScheduler.java -@@ -24,7 +24,7 @@ import java.time.chrono.ChronoZonedDateTime; - import java.util.Collection; - import java.util.Optional; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - import org.kie.kogito.jobs.service.model.ManageableJobHandle; - import org.kie.kogito.jobs.service.utils.DateUtil; -diff --git a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/stream/JobStreams.java b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/stream/JobStreams.java -index 793744677..35d392aab 100644 ---- a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/stream/JobStreams.java -+++ b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/stream/JobStreams.java -@@ -18,8 +18,8 @@ - */ - package org.kie.kogito.jobs.service.stream; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import org.eclipse.microprofile.reactive.messaging.Acknowledgment; - import org.eclipse.microprofile.reactive.messaging.Channel; -diff --git a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/validation/JobDetailsValidator.java b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/validation/JobDetailsValidator.java -index c3fae95e8..d4165a1f5 100644 ---- a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/validation/JobDetailsValidator.java -+++ b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/validation/JobDetailsValidator.java -@@ -20,8 +20,8 @@ package org.kie.kogito.jobs.service.validation; - - import java.util.Objects; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import org.apache.commons.lang3.StringUtils; - import org.kie.kogito.jobs.service.exception.JobValidationException; -diff --git a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/validation/JobValidator.java b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/validation/JobValidator.java -index 9ce3080cc..33a955645 100644 ---- a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/validation/JobValidator.java -+++ b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/validation/JobValidator.java -@@ -18,8 +18,8 @@ - */ - package org.kie.kogito.jobs.service.validation; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import org.apache.commons.lang3.StringUtils; - import org.kie.kogito.jobs.service.api.Job; -diff --git a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/validation/RecipientInstanceValidator.java b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/validation/RecipientInstanceValidator.java -index 8f752c617..0196fea03 100644 ---- a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/validation/RecipientInstanceValidator.java -+++ b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/validation/RecipientInstanceValidator.java -@@ -18,8 +18,8 @@ - */ - package org.kie.kogito.jobs.service.validation; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import org.kie.kogito.jobs.service.exception.JobValidationException; - import org.kie.kogito.jobs.service.model.Recipient; -diff --git a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/validation/RecipientValidatorProvider.java b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/validation/RecipientValidatorProvider.java -index 2c145433e..8a0d30773 100644 ---- a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/validation/RecipientValidatorProvider.java -+++ b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/validation/RecipientValidatorProvider.java -@@ -23,9 +23,9 @@ import java.util.Optional; - import java.util.stream.Collectors; - import java.util.stream.Stream; - --import javax.enterprise.context.ApplicationScoped; --import javax.enterprise.inject.Instance; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.inject.Instance; -+import jakarta.inject.Inject; - - @ApplicationScoped - public class RecipientValidatorProvider { -diff --git a/jobs-service/jobs-service-common/src/test/java/org/kie/kogito/jobs/service/management/JobServiceInstanceManagerTest.java b/jobs-service/jobs-service-common/src/test/java/org/kie/kogito/jobs/service/management/JobServiceInstanceManagerTest.java -index 9b6648d05..58a89f89e 100644 ---- a/jobs-service/jobs-service-common/src/test/java/org/kie/kogito/jobs/service/management/JobServiceInstanceManagerTest.java -+++ b/jobs-service/jobs-service-common/src/test/java/org/kie/kogito/jobs/service/management/JobServiceInstanceManagerTest.java -@@ -23,8 +23,8 @@ import java.util.Arrays; - import java.util.function.Function; - import java.util.stream.Stream; - --import javax.enterprise.event.Event; --import javax.enterprise.inject.Instance; -+import jakarta.enterprise.event.Event; -+import jakarta.enterprise.inject.Instance; - - import org.junit.jupiter.api.BeforeEach; - import org.junit.jupiter.api.Test; -diff --git a/jobs-service/jobs-service-common/src/test/java/org/kie/kogito/jobs/service/messaging/BaseCallbackResource.java b/jobs-service/jobs-service-common/src/test/java/org/kie/kogito/jobs/service/messaging/BaseCallbackResource.java -index 4fe11b8a5..ebfa5f531 100644 ---- a/jobs-service/jobs-service-common/src/test/java/org/kie/kogito/jobs/service/messaging/BaseCallbackResource.java -+++ b/jobs-service/jobs-service-common/src/test/java/org/kie/kogito/jobs/service/messaging/BaseCallbackResource.java -@@ -23,16 +23,16 @@ import java.util.HashMap; - import java.util.List; - import java.util.Map; - --import javax.ws.rs.Consumes; --import javax.ws.rs.DefaultValue; --import javax.ws.rs.GET; --import javax.ws.rs.POST; --import javax.ws.rs.Path; --import javax.ws.rs.PathParam; --import javax.ws.rs.Produces; --import javax.ws.rs.QueryParam; --import javax.ws.rs.core.MediaType; --import javax.ws.rs.core.Response; -+import jakarta.ws.rs.Consumes; -+import jakarta.ws.rs.DefaultValue; -+import jakarta.ws.rs.GET; -+import jakarta.ws.rs.POST; -+import jakarta.ws.rs.Path; -+import jakarta.ws.rs.PathParam; -+import jakarta.ws.rs.Produces; -+import jakarta.ws.rs.QueryParam; -+import jakarta.ws.rs.core.MediaType; -+import jakarta.ws.rs.core.Response; - - /** - * Helper resource for emulating the callback endpoint of a Job created by using the Job service events API and to have -diff --git a/jobs-service/jobs-service-common/src/test/java/org/kie/kogito/jobs/service/messaging/BaseMessagingApiTest.java b/jobs-service/jobs-service-common/src/test/java/org/kie/kogito/jobs/service/messaging/BaseMessagingApiTest.java -index 2cb4b7f72..aadf605f1 100644 ---- a/jobs-service/jobs-service-common/src/test/java/org/kie/kogito/jobs/service/messaging/BaseMessagingApiTest.java -+++ b/jobs-service/jobs-service-common/src/test/java/org/kie/kogito/jobs/service/messaging/BaseMessagingApiTest.java -@@ -26,7 +26,7 @@ import java.util.concurrent.atomic.AtomicInteger; - import java.util.function.Predicate; - import java.util.function.Supplier; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.eclipse.microprofile.config.inject.ConfigProperty; - import org.eclipse.microprofile.reactive.messaging.Channel; -diff --git a/jobs-service/jobs-service-common/src/test/java/org/kie/kogito/jobs/service/resource/BaseKeycloakJobServiceTest.java b/jobs-service/jobs-service-common/src/test/java/org/kie/kogito/jobs/service/resource/BaseKeycloakJobServiceTest.java -index d91a71402..c0c26dd16 100644 ---- a/jobs-service/jobs-service-common/src/test/java/org/kie/kogito/jobs/service/resource/BaseKeycloakJobServiceTest.java -+++ b/jobs-service/jobs-service-common/src/test/java/org/kie/kogito/jobs/service/resource/BaseKeycloakJobServiceTest.java -@@ -20,7 +20,7 @@ package org.kie.kogito.jobs.service.resource; - - import java.io.IOException; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.eclipse.microprofile.config.inject.ConfigProperty; - import org.junit.jupiter.api.BeforeAll; -diff --git a/jobs-service/jobs-service-common/src/test/java/org/kie/kogito/jobs/service/resource/CommonBaseJobResourceTest.java b/jobs-service/jobs-service-common/src/test/java/org/kie/kogito/jobs/service/resource/CommonBaseJobResourceTest.java -index 58adb4860..9daf41617 100644 ---- a/jobs-service/jobs-service-common/src/test/java/org/kie/kogito/jobs/service/resource/CommonBaseJobResourceTest.java -+++ b/jobs-service/jobs-service-common/src/test/java/org/kie/kogito/jobs/service/resource/CommonBaseJobResourceTest.java -@@ -20,7 +20,7 @@ package org.kie.kogito.jobs.service.resource; - - import java.io.IOException; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.eclipse.microprofile.config.inject.ConfigProperty; - import org.junit.jupiter.api.AfterEach; -diff --git a/jobs-service/jobs-service-common/src/test/java/org/kie/kogito/jobs/service/resource/v2/ExternalResourcesMock.java b/jobs-service/jobs-service-common/src/test/java/org/kie/kogito/jobs/service/resource/v2/ExternalResourcesMock.java -index 21c8e60d2..daa9edf7b 100644 ---- a/jobs-service/jobs-service-common/src/test/java/org/kie/kogito/jobs/service/resource/v2/ExternalResourcesMock.java -+++ b/jobs-service/jobs-service-common/src/test/java/org/kie/kogito/jobs/service/resource/v2/ExternalResourcesMock.java -@@ -40,10 +40,10 @@ import static com.github.tomakehurst.wiremock.client.WireMock.matchingJsonPath; - import static com.github.tomakehurst.wiremock.client.WireMock.post; - import static com.github.tomakehurst.wiremock.client.WireMock.stubFor; - import static com.github.tomakehurst.wiremock.core.WireMockConfiguration.options; --import static javax.ws.rs.core.HttpHeaders.CONTENT_TYPE; --import static javax.ws.rs.core.MediaType.APPLICATION_JSON; --import static javax.ws.rs.core.MediaType.APPLICATION_OCTET_STREAM; --import static javax.ws.rs.core.MediaType.TEXT_PLAIN; -+import static jakarta.ws.rs.core.HttpHeaders.CONTENT_TYPE; -+import static jakarta.ws.rs.core.MediaType.APPLICATION_JSON; -+import static jakarta.ws.rs.core.MediaType.APPLICATION_OCTET_STREAM; -+import static jakarta.ws.rs.core.MediaType.TEXT_PLAIN; - - /** - * This resource emulates external resources that can be used in different jobs service tests, for example to check -diff --git a/jobs-service/jobs-service-common/src/test/java/org/kie/kogito/jobs/service/resource/v2/http/recipient/BaseHttpRecipientPayloadTypesTest.java b/jobs-service/jobs-service-common/src/test/java/org/kie/kogito/jobs/service/resource/v2/http/recipient/BaseHttpRecipientPayloadTypesTest.java -index 914517a3b..3103f13fd 100644 ---- a/jobs-service/jobs-service-common/src/test/java/org/kie/kogito/jobs/service/resource/v2/http/recipient/BaseHttpRecipientPayloadTypesTest.java -+++ b/jobs-service/jobs-service-common/src/test/java/org/kie/kogito/jobs/service/resource/v2/http/recipient/BaseHttpRecipientPayloadTypesTest.java -@@ -20,7 +20,7 @@ package org.kie.kogito.jobs.service.resource.v2.http.recipient; - - import java.time.OffsetDateTime; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.junit.jupiter.api.BeforeEach; - import org.junit.jupiter.api.Test; -@@ -38,10 +38,10 @@ import com.fasterxml.jackson.databind.node.ObjectNode; - import com.github.tomakehurst.wiremock.WireMockServer; - - import static java.util.concurrent.TimeUnit.MINUTES; --import static javax.ws.rs.core.HttpHeaders.CONTENT_TYPE; --import static javax.ws.rs.core.MediaType.APPLICATION_JSON; --import static javax.ws.rs.core.MediaType.APPLICATION_OCTET_STREAM; --import static javax.ws.rs.core.MediaType.TEXT_PLAIN; -+import static jakarta.ws.rs.core.HttpHeaders.CONTENT_TYPE; -+import static jakarta.ws.rs.core.MediaType.APPLICATION_JSON; -+import static jakarta.ws.rs.core.MediaType.APPLICATION_OCTET_STREAM; -+import static jakarta.ws.rs.core.MediaType.TEXT_PLAIN; - import static org.assertj.core.api.Assertions.assertThat; - import static org.kie.kogito.jobs.service.TestUtils.assertJobHasFinishedV2; - import static org.kie.kogito.jobs.service.TestUtils.createJobV2; -diff --git a/jobs-service/jobs-service-common/src/test/java/org/kie/kogito/jobs/service/resource/v2/sink/recipient/BaseSinkRecipientPayloadTypesTest.java b/jobs-service/jobs-service-common/src/test/java/org/kie/kogito/jobs/service/resource/v2/sink/recipient/BaseSinkRecipientPayloadTypesTest.java -index bc3de5914..e58a5b5c8 100644 ---- a/jobs-service/jobs-service-common/src/test/java/org/kie/kogito/jobs/service/resource/v2/sink/recipient/BaseSinkRecipientPayloadTypesTest.java -+++ b/jobs-service/jobs-service-common/src/test/java/org/kie/kogito/jobs/service/resource/v2/sink/recipient/BaseSinkRecipientPayloadTypesTest.java -@@ -21,7 +21,7 @@ package org.kie.kogito.jobs.service.resource.v2.sink.recipient; - import java.net.URI; - import java.time.OffsetDateTime; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.junit.jupiter.api.BeforeEach; - import org.junit.jupiter.api.Test; -diff --git a/jobs-service/jobs-service-common/src/test/java/org/kie/kogito/jobs/service/validation/RecipientValidatorProviderTest.java b/jobs-service/jobs-service-common/src/test/java/org/kie/kogito/jobs/service/validation/RecipientValidatorProviderTest.java -index a23589deb..a1424980e 100644 ---- a/jobs-service/jobs-service-common/src/test/java/org/kie/kogito/jobs/service/validation/RecipientValidatorProviderTest.java -+++ b/jobs-service/jobs-service-common/src/test/java/org/kie/kogito/jobs/service/validation/RecipientValidatorProviderTest.java -@@ -21,7 +21,7 @@ package org.kie.kogito.jobs.service.validation; - import java.util.Arrays; - import java.util.stream.Stream; - --import javax.enterprise.inject.Instance; -+import jakarta.enterprise.inject.Instance; - - import org.junit.jupiter.api.Test; - import org.kie.kogito.jobs.service.api.PayloadData; -diff --git a/jobs-service/jobs-service-infinispan/src/main/java/org/kie/kogito/jobs/service/repository/infinispan/InfinispanConfiguration.java b/jobs-service/jobs-service-infinispan/src/main/java/org/kie/kogito/jobs/service/repository/infinispan/InfinispanConfiguration.java -index 510c6038f..0087c596a 100644 ---- a/jobs-service/jobs-service-infinispan/src/main/java/org/kie/kogito/jobs/service/repository/infinispan/InfinispanConfiguration.java -+++ b/jobs-service/jobs-service-infinispan/src/main/java/org/kie/kogito/jobs/service/repository/infinispan/InfinispanConfiguration.java -@@ -21,14 +21,13 @@ package org.kie.kogito.jobs.service.repository.infinispan; - import java.util.Optional; - import java.util.concurrent.atomic.AtomicBoolean; - --import javax.annotation.Priority; --import javax.enterprise.context.ApplicationScoped; --import javax.enterprise.event.Event; --import javax.enterprise.event.Observes; --import javax.enterprise.inject.Instance; --import javax.enterprise.inject.Produces; --import javax.interceptor.Interceptor; -- -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.event.Event; -+import jakarta.enterprise.event.Observes; -+import jakarta.enterprise.inject.Instance; -+import jakarta.enterprise.inject.Produces; -+import jakarta.interceptor.Interceptor; -+import jakarta.annotation.Priority; - import org.eclipse.microprofile.health.HealthCheck; - import org.eclipse.microprofile.health.Readiness; - import org.infinispan.client.hotrod.RemoteCacheManager; -diff --git a/jobs-service/jobs-service-infinispan/src/main/java/org/kie/kogito/jobs/service/repository/infinispan/InfinispanJobRepository.java b/jobs-service/jobs-service-infinispan/src/main/java/org/kie/kogito/jobs/service/repository/infinispan/InfinispanJobRepository.java -index b400dfddb..7fdf4464b 100644 ---- a/jobs-service/jobs-service-infinispan/src/main/java/org/kie/kogito/jobs/service/repository/infinispan/InfinispanJobRepository.java -+++ b/jobs-service/jobs-service-infinispan/src/main/java/org/kie/kogito/jobs/service/repository/infinispan/InfinispanJobRepository.java -@@ -23,9 +23,9 @@ import java.util.Arrays; - import java.util.concurrent.CompletionStage; - import java.util.stream.Collectors; - --import javax.enterprise.context.ApplicationScoped; --import javax.enterprise.event.Observes; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.event.Observes; -+import jakarta.inject.Inject; - - import org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder; - import org.eclipse.microprofile.reactive.streams.operators.ReactiveStreams; -diff --git a/jobs-service/jobs-service-infinispan/src/main/java/org/kie/kogito/jobs/service/repository/infinispan/marshaller/MarshallersProducer.java b/jobs-service/jobs-service-infinispan/src/main/java/org/kie/kogito/jobs/service/repository/infinispan/marshaller/MarshallersProducer.java -index 3952c06b8..a7e86a380 100644 ---- a/jobs-service/jobs-service-infinispan/src/main/java/org/kie/kogito/jobs/service/repository/infinispan/marshaller/MarshallersProducer.java -+++ b/jobs-service/jobs-service-infinispan/src/main/java/org/kie/kogito/jobs/service/repository/infinispan/marshaller/MarshallersProducer.java -@@ -20,8 +20,8 @@ package org.kie.kogito.jobs.service.repository.infinispan.marshaller; - - import java.io.IOException; - --import javax.enterprise.context.ApplicationScoped; --import javax.enterprise.inject.Produces; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.inject.Produces; - - import org.infinispan.protostream.FileDescriptorSource; - import org.infinispan.protostream.MessageMarshaller; -diff --git a/jobs-service/jobs-service-infinispan/src/test/java/org/kie/kogito/jobs/service/messaging/InfinispanCallbackResource.java b/jobs-service/jobs-service-infinispan/src/test/java/org/kie/kogito/jobs/service/messaging/InfinispanCallbackResource.java -index 12c168e81..aab7bf2fb 100644 ---- a/jobs-service/jobs-service-infinispan/src/test/java/org/kie/kogito/jobs/service/messaging/InfinispanCallbackResource.java -+++ b/jobs-service/jobs-service-infinispan/src/test/java/org/kie/kogito/jobs/service/messaging/InfinispanCallbackResource.java -@@ -18,8 +18,8 @@ - */ - package org.kie.kogito.jobs.service.messaging; - --import javax.enterprise.context.ApplicationScoped; --import javax.ws.rs.Path; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.ws.rs.Path; - - import static org.kie.kogito.jobs.service.messaging.BaseCallbackResource.CALLBACK_RESOURCE_PATH; - -diff --git a/jobs-service/jobs-service-infinispan/src/test/java/org/kie/kogito/jobs/service/repository/infinispan/InfinispanConfigurationTest.java b/jobs-service/jobs-service-infinispan/src/test/java/org/kie/kogito/jobs/service/repository/infinispan/InfinispanConfigurationTest.java -index 3d477730a..c4e7a56b8 100644 ---- a/jobs-service/jobs-service-infinispan/src/test/java/org/kie/kogito/jobs/service/repository/infinispan/InfinispanConfigurationTest.java -+++ b/jobs-service/jobs-service-infinispan/src/test/java/org/kie/kogito/jobs/service/repository/infinispan/InfinispanConfigurationTest.java -@@ -18,8 +18,8 @@ - */ - package org.kie.kogito.jobs.service.repository.infinispan; - --import javax.enterprise.event.Event; --import javax.enterprise.inject.Instance; -+import jakarta.enterprise.event.Event; -+import jakarta.enterprise.inject.Instance; - - import org.infinispan.client.hotrod.RemoteCache; - import org.infinispan.client.hotrod.RemoteCacheManager; -diff --git a/jobs-service/jobs-service-infinispan/src/test/java/org/kie/kogito/jobs/service/repository/infinispan/InfinispanJobRepositoryTest.java b/jobs-service/jobs-service-infinispan/src/test/java/org/kie/kogito/jobs/service/repository/infinispan/InfinispanJobRepositoryTest.java -index 54dd96b1d..3a339e7e6 100644 ---- a/jobs-service/jobs-service-infinispan/src/test/java/org/kie/kogito/jobs/service/repository/infinispan/InfinispanJobRepositoryTest.java -+++ b/jobs-service/jobs-service-infinispan/src/test/java/org/kie/kogito/jobs/service/repository/infinispan/InfinispanJobRepositoryTest.java -@@ -20,7 +20,7 @@ package org.kie.kogito.jobs.service.repository.infinispan; - - import java.util.concurrent.TimeUnit; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.infinispan.client.hotrod.RemoteCacheManager; - import org.junit.jupiter.api.BeforeEach; -diff --git a/jobs-service/jobs-service-inmemory/src/test/java/org/kie/kogito/jobs/service/messaging/InMemoryCallbackResource.java b/jobs-service/jobs-service-inmemory/src/test/java/org/kie/kogito/jobs/service/messaging/InMemoryCallbackResource.java -index 82d8b7f43..7d524ed4b 100644 ---- a/jobs-service/jobs-service-inmemory/src/test/java/org/kie/kogito/jobs/service/messaging/InMemoryCallbackResource.java -+++ b/jobs-service/jobs-service-inmemory/src/test/java/org/kie/kogito/jobs/service/messaging/InMemoryCallbackResource.java -@@ -18,8 +18,8 @@ - */ - package org.kie.kogito.jobs.service.messaging; - --import javax.enterprise.context.ApplicationScoped; --import javax.ws.rs.Path; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.ws.rs.Path; - - import static org.kie.kogito.jobs.service.messaging.BaseCallbackResource.CALLBACK_RESOURCE_PATH; - -diff --git a/jobs-service/jobs-service-inmemory/src/test/java/org/kie/kogito/jobs/service/repository/inmemory/postgresql/InmemoryPostgreSqlJobRepositoryTest.java b/jobs-service/jobs-service-inmemory/src/test/java/org/kie/kogito/jobs/service/repository/inmemory/postgresql/InmemoryPostgreSqlJobRepositoryTest.java -index ee59162e2..07df1fd1d 100644 ---- a/jobs-service/jobs-service-inmemory/src/test/java/org/kie/kogito/jobs/service/repository/inmemory/postgresql/InmemoryPostgreSqlJobRepositoryTest.java -+++ b/jobs-service/jobs-service-inmemory/src/test/java/org/kie/kogito/jobs/service/repository/inmemory/postgresql/InmemoryPostgreSqlJobRepositoryTest.java -@@ -20,7 +20,7 @@ package org.kie.kogito.jobs.service.repository.inmemory.postgresql; - - import java.time.Duration; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.junit.jupiter.api.BeforeEach; - import org.junit.jupiter.api.TestInstance; -diff --git a/jobs-service/jobs-service-messaging-http/src/main/java/org/kie/kogito/jobs/service/messaging/http/CloudEventConverter.java b/jobs-service/jobs-service-messaging-http/src/main/java/org/kie/kogito/jobs/service/messaging/http/CloudEventConverter.java -index 5e151206c..093a5c2f1 100644 ---- a/jobs-service/jobs-service-messaging-http/src/main/java/org/kie/kogito/jobs/service/messaging/http/CloudEventConverter.java -+++ b/jobs-service/jobs-service-messaging-http/src/main/java/org/kie/kogito/jobs/service/messaging/http/CloudEventConverter.java -@@ -20,7 +20,7 @@ package org.kie.kogito.jobs.service.messaging.http; - - import java.lang.reflect.Type; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - import org.eclipse.microprofile.reactive.messaging.Message; - import org.slf4j.Logger; -diff --git a/jobs-service/jobs-service-messaging-http/src/main/java/org/kie/kogito/jobs/service/messaging/http/HttpReactiveMessagingEventConsumer.java b/jobs-service/jobs-service-messaging-http/src/main/java/org/kie/kogito/jobs/service/messaging/http/HttpReactiveMessagingEventConsumer.java -index e52c40aac..f50f13710 100644 ---- a/jobs-service/jobs-service-messaging-http/src/main/java/org/kie/kogito/jobs/service/messaging/http/HttpReactiveMessagingEventConsumer.java -+++ b/jobs-service/jobs-service-messaging-http/src/main/java/org/kie/kogito/jobs/service/messaging/http/HttpReactiveMessagingEventConsumer.java -@@ -18,8 +18,8 @@ - */ - package org.kie.kogito.jobs.service.messaging.http; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import org.eclipse.microprofile.faulttolerance.Retry; - import org.eclipse.microprofile.reactive.messaging.Acknowledgment; -diff --git a/jobs-service/jobs-service-messaging-http/src/main/java/org/kie/kogito/jobs/service/messaging/http/health/knative/KSinkInjectionHealthCheck.java b/jobs-service/jobs-service-messaging-http/src/main/java/org/kie/kogito/jobs/service/messaging/http/health/knative/KSinkInjectionHealthCheck.java -index 6c11b0777..390381833 100644 ---- a/jobs-service/jobs-service-messaging-http/src/main/java/org/kie/kogito/jobs/service/messaging/http/health/knative/KSinkInjectionHealthCheck.java -+++ b/jobs-service/jobs-service-messaging-http/src/main/java/org/kie/kogito/jobs/service/messaging/http/health/knative/KSinkInjectionHealthCheck.java -@@ -24,7 +24,7 @@ import java.net.URISyntaxException; - import java.net.UnknownHostException; - import java.util.function.UnaryOperator; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - import org.eclipse.microprofile.health.HealthCheck; - import org.eclipse.microprofile.health.HealthCheckResponse; -diff --git a/jobs-service/jobs-service-messaging-http/src/main/java/org/kie/kogito/jobs/service/messaging/http/stream/HttpJobStreams.java b/jobs-service/jobs-service-messaging-http/src/main/java/org/kie/kogito/jobs/service/messaging/http/stream/HttpJobStreams.java -index 4119e7568..25541fc62 100644 ---- a/jobs-service/jobs-service-messaging-http/src/main/java/org/kie/kogito/jobs/service/messaging/http/stream/HttpJobStreams.java -+++ b/jobs-service/jobs-service-messaging-http/src/main/java/org/kie/kogito/jobs/service/messaging/http/stream/HttpJobStreams.java -@@ -21,9 +21,9 @@ package org.kie.kogito.jobs.service.messaging.http.stream; - import java.util.Optional; - import java.util.function.Supplier; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; --import javax.ws.rs.core.HttpHeaders; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; -+import jakarta.ws.rs.core.HttpHeaders; - - import org.eclipse.microprofile.config.inject.ConfigProperty; - import org.eclipse.microprofile.reactive.messaging.Acknowledgment; -diff --git a/jobs-service/jobs-service-messaging-http/src/main/java/org/kie/kogito/jobs/service/messaging/http/v2/HttpReactiveMessagingEventConsumer.java b/jobs-service/jobs-service-messaging-http/src/main/java/org/kie/kogito/jobs/service/messaging/http/v2/HttpReactiveMessagingEventConsumer.java -index ceb2cbf42..4199cfbd7 100644 ---- a/jobs-service/jobs-service-messaging-http/src/main/java/org/kie/kogito/jobs/service/messaging/http/v2/HttpReactiveMessagingEventConsumer.java -+++ b/jobs-service/jobs-service-messaging-http/src/main/java/org/kie/kogito/jobs/service/messaging/http/v2/HttpReactiveMessagingEventConsumer.java -@@ -18,8 +18,8 @@ - */ - package org.kie.kogito.jobs.service.messaging.http.v2; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import org.eclipse.microprofile.faulttolerance.Retry; - import org.eclipse.microprofile.reactive.messaging.Acknowledgment; -diff --git a/jobs-service/jobs-service-messaging-http/src/test/java/org/kie/kogito/jobs/service/messaging/http/CloudEventConverterTest.java b/jobs-service/jobs-service-messaging-http/src/test/java/org/kie/kogito/jobs/service/messaging/http/CloudEventConverterTest.java -index 61b6dee7f..8d2fde08b 100644 ---- a/jobs-service/jobs-service-messaging-http/src/test/java/org/kie/kogito/jobs/service/messaging/http/CloudEventConverterTest.java -+++ b/jobs-service/jobs-service-messaging-http/src/test/java/org/kie/kogito/jobs/service/messaging/http/CloudEventConverterTest.java -@@ -21,7 +21,7 @@ package org.kie.kogito.jobs.service.messaging.http; - import java.net.URI; - import java.time.OffsetDateTime; - --import javax.ws.rs.core.HttpHeaders; -+import jakarta.ws.rs.core.HttpHeaders; - - import org.eclipse.microprofile.reactive.messaging.Message; - import org.eclipse.microprofile.reactive.messaging.Metadata; -diff --git a/jobs-service/jobs-service-messaging-http/src/test/java/org/kie/kogito/jobs/service/messaging/http/stream/HttpJobStreamsTest.java b/jobs-service/jobs-service-messaging-http/src/test/java/org/kie/kogito/jobs/service/messaging/http/stream/HttpJobStreamsTest.java -index 6fc2836a2..f8e365f92 100644 ---- a/jobs-service/jobs-service-messaging-http/src/test/java/org/kie/kogito/jobs/service/messaging/http/stream/HttpJobStreamsTest.java -+++ b/jobs-service/jobs-service-messaging-http/src/test/java/org/kie/kogito/jobs/service/messaging/http/stream/HttpJobStreamsTest.java -@@ -20,7 +20,7 @@ package org.kie.kogito.jobs.service.messaging.http.stream; - - import java.util.Optional; - --import javax.ws.rs.core.HttpHeaders; -+import jakarta.ws.rs.core.HttpHeaders; - - import org.eclipse.microprofile.reactive.messaging.Message; - import org.kie.kogito.jobs.service.stream.AbstractJobStreamsTest; -diff --git a/jobs-service/jobs-service-messaging-kafka/src/main/java/org/kie/kogito/jobs/service/messaging/kafka/KafkaMessagingHandler.java b/jobs-service/jobs-service-messaging-kafka/src/main/java/org/kie/kogito/jobs/service/messaging/kafka/KafkaMessagingHandler.java -index 232c0fb3c..538c79f53 100644 ---- a/jobs-service/jobs-service-messaging-kafka/src/main/java/org/kie/kogito/jobs/service/messaging/kafka/KafkaMessagingHandler.java -+++ b/jobs-service/jobs-service-messaging-kafka/src/main/java/org/kie/kogito/jobs/service/messaging/kafka/KafkaMessagingHandler.java -@@ -18,8 +18,8 @@ - */ - package org.kie.kogito.jobs.service.messaging.kafka; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import org.eclipse.microprofile.reactive.messaging.spi.Connector; - import org.kie.kogito.jobs.service.messaging.MessagingHandler; -diff --git a/jobs-service/jobs-service-messaging-kafka/src/main/java/org/kie/kogito/jobs/service/messaging/kafka/KafkaReactiveMessagingEventConsumer.java b/jobs-service/jobs-service-messaging-kafka/src/main/java/org/kie/kogito/jobs/service/messaging/kafka/KafkaReactiveMessagingEventConsumer.java -index 90f2017c7..389ba67d5 100644 ---- a/jobs-service/jobs-service-messaging-kafka/src/main/java/org/kie/kogito/jobs/service/messaging/kafka/KafkaReactiveMessagingEventConsumer.java -+++ b/jobs-service/jobs-service-messaging-kafka/src/main/java/org/kie/kogito/jobs/service/messaging/kafka/KafkaReactiveMessagingEventConsumer.java -@@ -18,8 +18,8 @@ - */ - package org.kie.kogito.jobs.service.messaging.kafka; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import org.eclipse.microprofile.faulttolerance.Retry; - import org.eclipse.microprofile.reactive.messaging.Acknowledgment; -diff --git a/jobs-service/jobs-service-messaging-kafka/src/main/java/org/kie/kogito/jobs/service/messaging/kafka/stream/KafkaConfiguration.java b/jobs-service/jobs-service-messaging-kafka/src/main/java/org/kie/kogito/jobs/service/messaging/kafka/stream/KafkaConfiguration.java -index 1c428782f..97788d433 100644 ---- a/jobs-service/jobs-service-messaging-kafka/src/main/java/org/kie/kogito/jobs/service/messaging/kafka/stream/KafkaConfiguration.java -+++ b/jobs-service/jobs-service-messaging-kafka/src/main/java/org/kie/kogito/jobs/service/messaging/kafka/stream/KafkaConfiguration.java -@@ -23,9 +23,9 @@ import java.util.Map; - import java.util.Optional; - import java.util.stream.Collectors; - --import javax.enterprise.context.ApplicationScoped; --import javax.enterprise.inject.Instance; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.inject.Instance; -+import jakarta.inject.Inject; - - import org.eclipse.microprofile.config.inject.ConfigProperty; - import org.slf4j.Logger; -diff --git a/jobs-service/jobs-service-messaging-kafka/src/main/java/org/kie/kogito/jobs/service/messaging/kafka/stream/KafkaJobStreams.java b/jobs-service/jobs-service-messaging-kafka/src/main/java/org/kie/kogito/jobs/service/messaging/kafka/stream/KafkaJobStreams.java -index 9f852778a..91df88169 100644 ---- a/jobs-service/jobs-service-messaging-kafka/src/main/java/org/kie/kogito/jobs/service/messaging/kafka/stream/KafkaJobStreams.java -+++ b/jobs-service/jobs-service-messaging-kafka/src/main/java/org/kie/kogito/jobs/service/messaging/kafka/stream/KafkaJobStreams.java -@@ -20,8 +20,8 @@ package org.kie.kogito.jobs.service.messaging.kafka.stream; - - import java.util.Optional; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import org.eclipse.microprofile.config.inject.ConfigProperty; - import org.eclipse.microprofile.reactive.messaging.Acknowledgment; -diff --git a/jobs-service/jobs-service-messaging-kafka/src/main/java/org/kie/kogito/jobs/service/messaging/kafka/v2/KafkaReactiveMessagingEventConsumer.java b/jobs-service/jobs-service-messaging-kafka/src/main/java/org/kie/kogito/jobs/service/messaging/kafka/v2/KafkaReactiveMessagingEventConsumer.java -index e209fd759..91576ecf3 100644 ---- a/jobs-service/jobs-service-messaging-kafka/src/main/java/org/kie/kogito/jobs/service/messaging/kafka/v2/KafkaReactiveMessagingEventConsumer.java -+++ b/jobs-service/jobs-service-messaging-kafka/src/main/java/org/kie/kogito/jobs/service/messaging/kafka/v2/KafkaReactiveMessagingEventConsumer.java -@@ -18,8 +18,8 @@ - */ - package org.kie.kogito.jobs.service.messaging.kafka.v2; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import org.eclipse.microprofile.faulttolerance.Retry; - import org.eclipse.microprofile.reactive.messaging.Acknowledgment; -diff --git a/jobs-service/jobs-service-messaging-kafka/src/test/java/org/kie/kogito/jobs/service/messaging/kafka/stream/KafkaConfigurationTest.java b/jobs-service/jobs-service-messaging-kafka/src/test/java/org/kie/kogito/jobs/service/messaging/kafka/stream/KafkaConfigurationTest.java -index fc3cfa355..5c219aaea 100644 ---- a/jobs-service/jobs-service-messaging-kafka/src/test/java/org/kie/kogito/jobs/service/messaging/kafka/stream/KafkaConfigurationTest.java -+++ b/jobs-service/jobs-service-messaging-kafka/src/test/java/org/kie/kogito/jobs/service/messaging/kafka/stream/KafkaConfigurationTest.java -@@ -24,8 +24,8 @@ import java.util.Map; - import java.util.Optional; - import java.util.UUID; - --import javax.enterprise.inject.Instance; --import javax.inject.Inject; -+import jakarta.enterprise.inject.Instance; -+import jakarta.inject.Inject; - - import org.junit.jupiter.api.Test; - import org.kie.kogito.testcontainers.quarkus.KafkaQuarkusTestResource; -diff --git a/jobs-service/jobs-service-mongodb/src/main/java/org/kie/kogito/jobs/service/repository/mongodb/MongoDBJobRepository.java b/jobs-service/jobs-service-mongodb/src/main/java/org/kie/kogito/jobs/service/repository/mongodb/MongoDBJobRepository.java -index 3e18c05b7..bc615db4d 100644 ---- a/jobs-service/jobs-service-mongodb/src/main/java/org/kie/kogito/jobs/service/repository/mongodb/MongoDBJobRepository.java -+++ b/jobs-service/jobs-service-mongodb/src/main/java/org/kie/kogito/jobs/service/repository/mongodb/MongoDBJobRepository.java -@@ -21,9 +21,9 @@ package org.kie.kogito.jobs.service.repository.mongodb; - import java.time.ZonedDateTime; - import java.util.concurrent.CompletionStage; - --import javax.enterprise.context.ApplicationScoped; --import javax.enterprise.event.Observes; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.event.Observes; -+import jakarta.inject.Inject; - - import org.bson.Document; - import org.bson.json.JsonWriterSettings; -diff --git a/jobs-service/jobs-service-mongodb/src/main/java/org/kie/kogito/jobs/service/repository/mongodb/marshaller/MongoDBJobDetailsMarshaller.java b/jobs-service/jobs-service-mongodb/src/main/java/org/kie/kogito/jobs/service/repository/mongodb/marshaller/MongoDBJobDetailsMarshaller.java -index 869d921d5..537a7fa28 100644 ---- a/jobs-service/jobs-service-mongodb/src/main/java/org/kie/kogito/jobs/service/repository/mongodb/marshaller/MongoDBJobDetailsMarshaller.java -+++ b/jobs-service/jobs-service-mongodb/src/main/java/org/kie/kogito/jobs/service/repository/mongodb/marshaller/MongoDBJobDetailsMarshaller.java -@@ -18,8 +18,8 @@ - */ - package org.kie.kogito.jobs.service.repository.mongodb.marshaller; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import org.kie.kogito.jobs.service.model.JobDetails; - import org.kie.kogito.jobs.service.repository.marshaller.JobDetailsMarshaller; -diff --git a/jobs-service/jobs-service-mongodb/src/test/java/org/kie/kogito/jobs/service/messaging/MongoDBCallbackResource.java b/jobs-service/jobs-service-mongodb/src/test/java/org/kie/kogito/jobs/service/messaging/MongoDBCallbackResource.java -index 0907fa372..3cf723ce4 100644 ---- a/jobs-service/jobs-service-mongodb/src/test/java/org/kie/kogito/jobs/service/messaging/MongoDBCallbackResource.java -+++ b/jobs-service/jobs-service-mongodb/src/test/java/org/kie/kogito/jobs/service/messaging/MongoDBCallbackResource.java -@@ -18,8 +18,8 @@ - */ - package org.kie.kogito.jobs.service.messaging; - --import javax.enterprise.context.ApplicationScoped; --import javax.ws.rs.Path; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.ws.rs.Path; - - import static org.kie.kogito.jobs.service.messaging.BaseCallbackResource.CALLBACK_RESOURCE_PATH; - -diff --git a/jobs-service/jobs-service-mongodb/src/test/java/org/kie/kogito/jobs/service/repository/mongodb/MongoDBJobRepositoryTest.java b/jobs-service/jobs-service-mongodb/src/test/java/org/kie/kogito/jobs/service/repository/mongodb/MongoDBJobRepositoryTest.java -index d084da7df..b5f8cdbf1 100644 ---- a/jobs-service/jobs-service-mongodb/src/test/java/org/kie/kogito/jobs/service/repository/mongodb/MongoDBJobRepositoryTest.java -+++ b/jobs-service/jobs-service-mongodb/src/test/java/org/kie/kogito/jobs/service/repository/mongodb/MongoDBJobRepositoryTest.java -@@ -20,7 +20,7 @@ package org.kie.kogito.jobs.service.repository.mongodb; - - import java.time.Duration; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.bson.Document; - import org.eclipse.microprofile.config.inject.ConfigProperty; -diff --git a/jobs-service/jobs-service-postgresql-common/src/main/java/org/kie/kogito/jobs/service/repository/postgresql/PostgreSqlJobRepository.java b/jobs-service/jobs-service-postgresql-common/src/main/java/org/kie/kogito/jobs/service/repository/postgresql/PostgreSqlJobRepository.java -index 9a1fc1794..3363ff6fb 100644 ---- a/jobs-service/jobs-service-postgresql-common/src/main/java/org/kie/kogito/jobs/service/repository/postgresql/PostgreSqlJobRepository.java -+++ b/jobs-service/jobs-service-postgresql-common/src/main/java/org/kie/kogito/jobs/service/repository/postgresql/PostgreSqlJobRepository.java -@@ -26,8 +26,8 @@ import java.util.concurrent.CompletionStage; - import java.util.stream.Collectors; - import java.util.stream.Stream; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder; - import org.eclipse.microprofile.reactive.streams.operators.ReactiveStreams; -diff --git a/jobs-service/jobs-service-postgresql-common/src/main/java/org/kie/kogito/jobs/service/repository/postgresql/PostgreSqlJobServiceManagementRepository.java b/jobs-service/jobs-service-postgresql-common/src/main/java/org/kie/kogito/jobs/service/repository/postgresql/PostgreSqlJobServiceManagementRepository.java -index 1f617472a..951c20e94 100644 ---- a/jobs-service/jobs-service-postgresql-common/src/main/java/org/kie/kogito/jobs/service/repository/postgresql/PostgreSqlJobServiceManagementRepository.java -+++ b/jobs-service/jobs-service-postgresql-common/src/main/java/org/kie/kogito/jobs/service/repository/postgresql/PostgreSqlJobServiceManagementRepository.java -@@ -23,8 +23,8 @@ import java.util.function.Function; - import java.util.stream.Collectors; - import java.util.stream.Stream; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import org.kie.kogito.jobs.service.model.JobServiceManagementInfo; - import org.kie.kogito.jobs.service.repository.JobServiceManagementRepository; -diff --git a/jobs-service/jobs-service-postgresql-common/src/test/java/org/kie/kogito/jobs/service/repository/postgresql/PostgreSqlJobRepositoryTest.java b/jobs-service/jobs-service-postgresql-common/src/test/java/org/kie/kogito/jobs/service/repository/postgresql/PostgreSqlJobRepositoryTest.java -index 6f2d6244b..d5ce76aa0 100644 ---- a/jobs-service/jobs-service-postgresql-common/src/test/java/org/kie/kogito/jobs/service/repository/postgresql/PostgreSqlJobRepositoryTest.java -+++ b/jobs-service/jobs-service-postgresql-common/src/test/java/org/kie/kogito/jobs/service/repository/postgresql/PostgreSqlJobRepositoryTest.java -@@ -20,7 +20,7 @@ package org.kie.kogito.jobs.service.repository.postgresql; - - import java.time.Duration; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.junit.jupiter.api.BeforeEach; - import org.kie.kogito.jobs.service.repository.ReactiveJobRepository; -diff --git a/jobs-service/jobs-service-postgresql-common/src/test/java/org/kie/kogito/jobs/service/repository/postgresql/PostgreSqlJobServiceManagementRepositoryTest.java b/jobs-service/jobs-service-postgresql-common/src/test/java/org/kie/kogito/jobs/service/repository/postgresql/PostgreSqlJobServiceManagementRepositoryTest.java -index 569f92ee9..8c9d5c771 100644 ---- a/jobs-service/jobs-service-postgresql-common/src/test/java/org/kie/kogito/jobs/service/repository/postgresql/PostgreSqlJobServiceManagementRepositoryTest.java -+++ b/jobs-service/jobs-service-postgresql-common/src/test/java/org/kie/kogito/jobs/service/repository/postgresql/PostgreSqlJobServiceManagementRepositoryTest.java -@@ -21,7 +21,7 @@ package org.kie.kogito.jobs.service.repository.postgresql; - import java.time.OffsetDateTime; - import java.util.concurrent.atomic.AtomicReference; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.junit.jupiter.api.BeforeEach; - import org.junit.jupiter.api.Test; -diff --git a/jobs-service/jobs-service-postgresql/src/test/java/org/kie/kogito/jobs/service/messaging/PostgreSqlCallbackResource.java b/jobs-service/jobs-service-postgresql/src/test/java/org/kie/kogito/jobs/service/messaging/PostgreSqlCallbackResource.java -index dbc11be22..f2bea4ea9 100644 ---- a/jobs-service/jobs-service-postgresql/src/test/java/org/kie/kogito/jobs/service/messaging/PostgreSqlCallbackResource.java -+++ b/jobs-service/jobs-service-postgresql/src/test/java/org/kie/kogito/jobs/service/messaging/PostgreSqlCallbackResource.java -@@ -18,8 +18,8 @@ - */ - package org.kie.kogito.jobs.service.messaging; - --import javax.enterprise.context.ApplicationScoped; --import javax.ws.rs.Path; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.ws.rs.Path; - - import static org.kie.kogito.jobs.service.messaging.BaseCallbackResource.CALLBACK_RESOURCE_PATH; - -diff --git a/jobs-service/kogito-addons-jobs-service/kogito-addons-quarkus-jobs-service-embedded/runtime/src/main/java/org/kie/kogito/addons/quarkus/jobs/service/embedded/stream/EventPublisherJobStreams.java b/jobs-service/kogito-addons-jobs-service/kogito-addons-quarkus-jobs-service-embedded/runtime/src/main/java/org/kie/kogito/addons/quarkus/jobs/service/embedded/stream/EventPublisherJobStreams.java -index 9901ca4ff..c614353b8 100644 ---- a/jobs-service/kogito-addons-jobs-service/kogito-addons-quarkus-jobs-service-embedded/runtime/src/main/java/org/kie/kogito/addons/quarkus/jobs/service/embedded/stream/EventPublisherJobStreams.java -+++ b/jobs-service/kogito-addons-jobs-service/kogito-addons-quarkus-jobs-service-embedded/runtime/src/main/java/org/kie/kogito/addons/quarkus/jobs/service/embedded/stream/EventPublisherJobStreams.java -@@ -18,9 +18,9 @@ - */ - package org.kie.kogito.addons.quarkus.jobs.service.embedded.stream; - --import javax.enterprise.context.ApplicationScoped; --import javax.enterprise.inject.Instance; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.inject.Instance; -+import jakarta.inject.Inject; - - import org.eclipse.microprofile.config.inject.ConfigProperty; - import org.eclipse.microprofile.reactive.messaging.Acknowledgment; -diff --git a/jobs-service/kogito-addons-jobs-service/kogito-addons-quarkus-jobs-service-embedded/runtime/src/test/java/org/kie/kogito/addons/quarkus/jobs/service/embedded/stream/EventPublisherJobStreamsTest.java b/jobs-service/kogito-addons-jobs-service/kogito-addons-quarkus-jobs-service-embedded/runtime/src/test/java/org/kie/kogito/addons/quarkus/jobs/service/embedded/stream/EventPublisherJobStreamsTest.java -index c098cd2d8..72d07bfcb 100644 ---- a/jobs-service/kogito-addons-jobs-service/kogito-addons-quarkus-jobs-service-embedded/runtime/src/test/java/org/kie/kogito/addons/quarkus/jobs/service/embedded/stream/EventPublisherJobStreamsTest.java -+++ b/jobs-service/kogito-addons-jobs-service/kogito-addons-quarkus-jobs-service-embedded/runtime/src/test/java/org/kie/kogito/addons/quarkus/jobs/service/embedded/stream/EventPublisherJobStreamsTest.java -@@ -24,7 +24,7 @@ import java.util.Arrays; - import java.util.Date; - import java.util.stream.Stream; - --import javax.enterprise.inject.Instance; -+import jakarta.enterprise.inject.Instance; - - import org.junit.jupiter.api.Test; - import org.kie.kogito.event.EventPublisher; -diff --git a/kogito-apps-build-parent/pom.xml b/kogito-apps-build-parent/pom.xml -index 60a28dbe4..2ae4efff1 100644 ---- a/kogito-apps-build-parent/pom.xml -+++ b/kogito-apps-build-parent/pom.xml -@@ -65,13 +65,13 @@ - org.kie.kogito/integration-tests-trusty-service-quarkus:${project.version} - - -- 8.44.0.Final -+ 9.44.0.Final - - 2.12.1 - 1.9.2 - 1.8 - 2.0.0 -- 1.4.2.Final -+ 1.5.5.Final - 1.5.0 - 19.0 - -diff --git a/kogito-quarkus-serverless-workflow-devui-parent/kogito-quarkus-serverless-workflow-devui/pom.xml b/kogito-quarkus-serverless-workflow-devui-parent/kogito-quarkus-serverless-workflow-devui/pom.xml -index 64c87c399..db9be21fa 100644 ---- a/kogito-quarkus-serverless-workflow-devui-parent/kogito-quarkus-serverless-workflow-devui/pom.xml -+++ b/kogito-quarkus-serverless-workflow-devui-parent/kogito-quarkus-serverless-workflow-devui/pom.xml -@@ -123,7 +123,7 @@ - - - io.quarkus -- quarkus-bootstrap-maven-plugin -+ quarkus-extension-maven-plugin - ${version.io.quarkus} - - -diff --git a/kogito-quarkus-serverless-workflow-devui-parent/kogito-quarkus-serverless-workflow-devui/src/main/java/org/kie/kogito/swf/tools/custom/dashboard/CustomDashboardService.java b/kogito-quarkus-serverless-workflow-devui-parent/kogito-quarkus-serverless-workflow-devui/src/main/java/org/kie/kogito/swf/tools/custom/dashboard/CustomDashboardService.java -index 3f7398b44..b372926dc 100644 ---- a/kogito-quarkus-serverless-workflow-devui-parent/kogito-quarkus-serverless-workflow-devui/src/main/java/org/kie/kogito/swf/tools/custom/dashboard/CustomDashboardService.java -+++ b/kogito-quarkus-serverless-workflow-devui-parent/kogito-quarkus-serverless-workflow-devui/src/main/java/org/kie/kogito/swf/tools/custom/dashboard/CustomDashboardService.java -@@ -18,20 +18,20 @@ - */ - package org.kie.kogito.swf.tools.custom.dashboard; - --import javax.inject.Inject; --import javax.ws.rs.GET; --import javax.ws.rs.Path; --import javax.ws.rs.PathParam; --import javax.ws.rs.Produces; --import javax.ws.rs.QueryParam; --import javax.ws.rs.core.MediaType; --import javax.ws.rs.core.Response; -+import jakarta.inject.Inject; -+import jakarta.ws.rs.GET; -+import jakarta.ws.rs.Path; -+import jakarta.ws.rs.PathParam; -+import jakarta.ws.rs.Produces; -+import jakarta.ws.rs.QueryParam; -+import jakarta.ws.rs.core.MediaType; -+import jakarta.ws.rs.core.Response; - - import org.kie.kogito.swf.tools.custom.dashboard.model.CustomDashboardFilter; - import org.slf4j.Logger; - import org.slf4j.LoggerFactory; - --import static javax.ws.rs.core.Response.Status.INTERNAL_SERVER_ERROR; -+import static jakarta.ws.rs.core.Response.Status.INTERNAL_SERVER_ERROR; - - @Path("/customDashboard") - public class CustomDashboardService { -diff --git a/kogito-quarkus-serverless-workflow-devui-parent/kogito-quarkus-serverless-workflow-devui/src/main/java/org/kie/kogito/swf/tools/custom/dashboard/converter/CustomDashboardFilterParamConverter.java b/kogito-quarkus-serverless-workflow-devui-parent/kogito-quarkus-serverless-workflow-devui/src/main/java/org/kie/kogito/swf/tools/custom/dashboard/converter/CustomDashboardFilterParamConverter.java -index 9e7340b37..bc3f7d199 100644 ---- a/kogito-quarkus-serverless-workflow-devui-parent/kogito-quarkus-serverless-workflow-devui/src/main/java/org/kie/kogito/swf/tools/custom/dashboard/converter/CustomDashboardFilterParamConverter.java -+++ b/kogito-quarkus-serverless-workflow-devui-parent/kogito-quarkus-serverless-workflow-devui/src/main/java/org/kie/kogito/swf/tools/custom/dashboard/converter/CustomDashboardFilterParamConverter.java -@@ -22,8 +22,8 @@ import java.util.Collections; - import java.util.StringTokenizer; - import java.util.stream.Collectors; - --import javax.ws.rs.ext.ParamConverter; --import javax.ws.rs.ext.Provider; -+import jakarta.ws.rs.ext.ParamConverter; -+import jakarta.ws.rs.ext.Provider; - - import org.kie.kogito.swf.tools.custom.dashboard.model.CustomDashboardFilter; - -diff --git a/kogito-quarkus-serverless-workflow-devui-parent/kogito-quarkus-serverless-workflow-devui/src/main/java/org/kie/kogito/swf/tools/custom/dashboard/converter/CustomDashboardFilterParamConverterProvider.java b/kogito-quarkus-serverless-workflow-devui-parent/kogito-quarkus-serverless-workflow-devui/src/main/java/org/kie/kogito/swf/tools/custom/dashboard/converter/CustomDashboardFilterParamConverterProvider.java -index 45de74a77..fd968f5fa 100644 ---- a/kogito-quarkus-serverless-workflow-devui-parent/kogito-quarkus-serverless-workflow-devui/src/main/java/org/kie/kogito/swf/tools/custom/dashboard/converter/CustomDashboardFilterParamConverterProvider.java -+++ b/kogito-quarkus-serverless-workflow-devui-parent/kogito-quarkus-serverless-workflow-devui/src/main/java/org/kie/kogito/swf/tools/custom/dashboard/converter/CustomDashboardFilterParamConverterProvider.java -@@ -21,9 +21,9 @@ package org.kie.kogito.swf.tools.custom.dashboard.converter; - import java.lang.annotation.Annotation; - import java.lang.reflect.Type; - --import javax.ws.rs.ext.ParamConverter; --import javax.ws.rs.ext.ParamConverterProvider; --import javax.ws.rs.ext.Provider; -+import jakarta.ws.rs.ext.ParamConverter; -+import jakarta.ws.rs.ext.ParamConverterProvider; -+import jakarta.ws.rs.ext.Provider; - - import org.kie.kogito.swf.tools.custom.dashboard.model.CustomDashboardFilter; - -diff --git a/kogito-quarkus-serverless-workflow-devui-parent/kogito-quarkus-serverless-workflow-devui/src/main/java/org/kie/kogito/swf/tools/custom/dashboard/impl/CustomDashboardStorageImpl.java b/kogito-quarkus-serverless-workflow-devui-parent/kogito-quarkus-serverless-workflow-devui/src/main/java/org/kie/kogito/swf/tools/custom/dashboard/impl/CustomDashboardStorageImpl.java -index e6cd0387c..73583d44d 100644 ---- a/kogito-quarkus-serverless-workflow-devui-parent/kogito-quarkus-serverless-workflow-devui/src/main/java/org/kie/kogito/swf/tools/custom/dashboard/impl/CustomDashboardStorageImpl.java -+++ b/kogito-quarkus-serverless-workflow-devui-parent/kogito-quarkus-serverless-workflow-devui/src/main/java/org/kie/kogito/swf/tools/custom/dashboard/impl/CustomDashboardStorageImpl.java -@@ -43,7 +43,7 @@ import java.util.TimeZone; - import java.util.function.Consumer; - import java.util.stream.Collectors; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - import org.apache.commons.io.FileUtils; - import org.apache.commons.io.IOUtils; -diff --git a/management-console/src/main/java/org/kie/kogito/mgmt/VertxRouter.java b/management-console/src/main/java/org/kie/kogito/mgmt/VertxRouter.java -index 827b4dea1..47bff272f 100644 ---- a/management-console/src/main/java/org/kie/kogito/mgmt/VertxRouter.java -+++ b/management-console/src/main/java/org/kie/kogito/mgmt/VertxRouter.java -@@ -18,9 +18,8 @@ - */ - package org.kie.kogito.mgmt; - --import javax.annotation.PostConstruct; --import javax.enterprise.context.ApplicationScoped; --import javax.enterprise.event.Observes; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.event.Observes; - - import org.slf4j.Logger; - import org.slf4j.LoggerFactory; -@@ -31,6 +30,7 @@ import io.vertx.core.http.HttpHeaders; - import io.vertx.ext.web.Router; - import io.vertx.ext.web.RoutingContext; - import io.vertx.ext.web.handler.StaticHandler; -+import jakarta.annotation.PostConstruct; - - @ApplicationScoped - public class VertxRouter { -diff --git a/management-console/src/test/java/org/kie/kogito/mgmt/NativeStaticContentTestIT.java b/management-console/src/test/java/org/kie/kogito/mgmt/NativeStaticContentTestIT.java -index 62f2d796b..d6a4fc4df 100644 ---- a/management-console/src/test/java/org/kie/kogito/mgmt/NativeStaticContentTestIT.java -+++ b/management-console/src/test/java/org/kie/kogito/mgmt/NativeStaticContentTestIT.java -@@ -18,9 +18,9 @@ - */ - package org.kie.kogito.mgmt; - --import io.quarkus.test.junit.NativeImageTest; -+import io.quarkus.test.junit.QuarkusIntegrationTest; - --@NativeImageTest -+@QuarkusIntegrationTest - public class NativeStaticContentTestIT extends StaticContentIT { - - // Execute the same tests but in native mode. -diff --git a/persistence-commons/persistence-commons-infinispan/src/main/java/org/kie/kogito/persistence/infinispan/InfinispanHealthCheckProducer.java b/persistence-commons/persistence-commons-infinispan/src/main/java/org/kie/kogito/persistence/infinispan/InfinispanHealthCheckProducer.java -index 4d4ea17f9..6f60c7466 100644 ---- a/persistence-commons/persistence-commons-infinispan/src/main/java/org/kie/kogito/persistence/infinispan/InfinispanHealthCheckProducer.java -+++ b/persistence-commons/persistence-commons-infinispan/src/main/java/org/kie/kogito/persistence/infinispan/InfinispanHealthCheckProducer.java -@@ -18,9 +18,9 @@ - */ - package org.kie.kogito.persistence.infinispan; - --import javax.enterprise.context.ApplicationScoped; --import javax.enterprise.inject.Instance; --import javax.enterprise.inject.Produces; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.inject.Instance; -+import jakarta.enterprise.inject.Produces; - - import org.eclipse.microprofile.health.Readiness; - import org.infinispan.client.hotrod.RemoteCacheManager; -diff --git a/persistence-commons/persistence-commons-infinispan/src/main/java/org/kie/kogito/persistence/infinispan/cache/InfinispanCacheShutdownObserver.java b/persistence-commons/persistence-commons-infinispan/src/main/java/org/kie/kogito/persistence/infinispan/cache/InfinispanCacheShutdownObserver.java -index cfee4ee89..b8ee3ce36 100644 ---- a/persistence-commons/persistence-commons-infinispan/src/main/java/org/kie/kogito/persistence/infinispan/cache/InfinispanCacheShutdownObserver.java -+++ b/persistence-commons/persistence-commons-infinispan/src/main/java/org/kie/kogito/persistence/infinispan/cache/InfinispanCacheShutdownObserver.java -@@ -20,9 +20,9 @@ package org.kie.kogito.persistence.infinispan.cache; - - import java.util.Optional; - --import javax.enterprise.context.ApplicationScoped; --import javax.enterprise.event.Observes; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.event.Observes; -+import jakarta.inject.Inject; - - import org.eclipse.microprofile.config.inject.ConfigProperty; - import org.kie.kogito.persistence.api.StorageService; -diff --git a/persistence-commons/persistence-commons-infinispan/src/main/java/org/kie/kogito/persistence/infinispan/cache/InfinispanStorageService.java b/persistence-commons/persistence-commons-infinispan/src/main/java/org/kie/kogito/persistence/infinispan/cache/InfinispanStorageService.java -index ed1101d20..357694e2e 100644 ---- a/persistence-commons/persistence-commons-infinispan/src/main/java/org/kie/kogito/persistence/infinispan/cache/InfinispanStorageService.java -+++ b/persistence-commons/persistence-commons-infinispan/src/main/java/org/kie/kogito/persistence/infinispan/cache/InfinispanStorageService.java -@@ -20,11 +20,11 @@ package org.kie.kogito.persistence.infinispan.cache; - - import java.util.Optional; - --import javax.annotation.PostConstruct; --import javax.annotation.PreDestroy; --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - -+import jakarta.annotation.PostConstruct; -+import jakarta.annotation.PreDestroy; - import org.eclipse.microprofile.config.inject.ConfigProperty; - import org.infinispan.client.hotrod.DataFormat; - import org.infinispan.client.hotrod.RemoteCache; -diff --git a/persistence-commons/persistence-commons-infinispan/src/main/java/org/kie/kogito/persistence/infinispan/cache/JsonDataFormatMarshaller.java b/persistence-commons/persistence-commons-infinispan/src/main/java/org/kie/kogito/persistence/infinispan/cache/JsonDataFormatMarshaller.java -index a18994b5c..784187ccf 100644 ---- a/persistence-commons/persistence-commons-infinispan/src/main/java/org/kie/kogito/persistence/infinispan/cache/JsonDataFormatMarshaller.java -+++ b/persistence-commons/persistence-commons-infinispan/src/main/java/org/kie/kogito/persistence/infinispan/cache/JsonDataFormatMarshaller.java -@@ -21,8 +21,8 @@ package org.kie.kogito.persistence.infinispan.cache; - import java.io.IOException; - import java.nio.charset.StandardCharsets; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import org.infinispan.commons.dataconversion.MediaType; - import org.infinispan.commons.io.ByteBuffer; -diff --git a/persistence-commons/persistence-commons-infinispan/src/main/java/org/kie/kogito/persistence/infinispan/cache/ProtobufCacheService.java b/persistence-commons/persistence-commons-infinispan/src/main/java/org/kie/kogito/persistence/infinispan/cache/ProtobufCacheService.java -index 8e42cfda2..4f2d6768e 100644 ---- a/persistence-commons/persistence-commons-infinispan/src/main/java/org/kie/kogito/persistence/infinispan/cache/ProtobufCacheService.java -+++ b/persistence-commons/persistence-commons-infinispan/src/main/java/org/kie/kogito/persistence/infinispan/cache/ProtobufCacheService.java -@@ -18,8 +18,8 @@ - */ - package org.kie.kogito.persistence.infinispan.cache; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import org.kie.kogito.persistence.api.Storage; - import org.kie.kogito.persistence.api.StorageService; -diff --git a/persistence-commons/persistence-commons-infinispan/src/test/java/org/kie/kogito/persistence/infinispan/cache/InfinispanStorageIT.java b/persistence-commons/persistence-commons-infinispan/src/test/java/org/kie/kogito/persistence/infinispan/cache/InfinispanStorageIT.java -index 4eee6b1fe..8b79bba80 100644 ---- a/persistence-commons/persistence-commons-infinispan/src/test/java/org/kie/kogito/persistence/infinispan/cache/InfinispanStorageIT.java -+++ b/persistence-commons/persistence-commons-infinispan/src/test/java/org/kie/kogito/persistence/infinispan/cache/InfinispanStorageIT.java -@@ -23,7 +23,7 @@ import java.util.List; - import java.util.concurrent.CountDownLatch; - import java.util.concurrent.TimeUnit; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.infinispan.client.hotrod.DefaultTemplate; - import org.infinispan.client.hotrod.RemoteCache; -diff --git a/persistence-commons/persistence-commons-mongodb/src/main/java/org/kie/kogito/persistence/mongodb/client/MongoClientManager.java b/persistence-commons/persistence-commons-mongodb/src/main/java/org/kie/kogito/persistence/mongodb/client/MongoClientManager.java -index 4a918da36..6e0af17de 100644 ---- a/persistence-commons/persistence-commons-mongodb/src/main/java/org/kie/kogito/persistence/mongodb/client/MongoClientManager.java -+++ b/persistence-commons/persistence-commons-mongodb/src/main/java/org/kie/kogito/persistence/mongodb/client/MongoClientManager.java -@@ -18,8 +18,8 @@ - */ - package org.kie.kogito.persistence.mongodb.client; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import org.bson.Document; - import org.eclipse.microprofile.config.ConfigProvider; -diff --git a/persistence-commons/persistence-commons-mongodb/src/main/java/org/kie/kogito/persistence/mongodb/index/IndexManager.java b/persistence-commons/persistence-commons-mongodb/src/main/java/org/kie/kogito/persistence/mongodb/index/IndexManager.java -index eb379b3bd..173eb3f5f 100644 ---- a/persistence-commons/persistence-commons-mongodb/src/main/java/org/kie/kogito/persistence/mongodb/index/IndexManager.java -+++ b/persistence-commons/persistence-commons-mongodb/src/main/java/org/kie/kogito/persistence/mongodb/index/IndexManager.java -@@ -27,11 +27,11 @@ import java.util.concurrent.ConcurrentHashMap; - import java.util.stream.Stream; - import java.util.stream.StreamSupport; - --import javax.enterprise.context.ApplicationScoped; --import javax.enterprise.event.Event; --import javax.enterprise.event.Observes; --import javax.enterprise.inject.Instance; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.event.Event; -+import jakarta.enterprise.event.Observes; -+import jakarta.enterprise.inject.Instance; -+import jakarta.inject.Inject; - - import org.bson.Document; - import org.eclipse.microprofile.config.inject.ConfigProperty; -diff --git a/persistence-commons/persistence-commons-mongodb/src/main/java/org/kie/kogito/persistence/mongodb/index/IndexSchemaAcceptor.java b/persistence-commons/persistence-commons-mongodb/src/main/java/org/kie/kogito/persistence/mongodb/index/IndexSchemaAcceptor.java -index d68648d11..248ef1863 100644 ---- a/persistence-commons/persistence-commons-mongodb/src/main/java/org/kie/kogito/persistence/mongodb/index/IndexSchemaAcceptor.java -+++ b/persistence-commons/persistence-commons-mongodb/src/main/java/org/kie/kogito/persistence/mongodb/index/IndexSchemaAcceptor.java -@@ -20,7 +20,7 @@ package org.kie.kogito.persistence.mongodb.index; - - import java.util.Optional; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - import org.eclipse.microprofile.config.inject.ConfigProperty; - import org.kie.kogito.persistence.api.schema.SchemaAcceptor; -diff --git a/persistence-commons/persistence-commons-mongodb/src/main/java/org/kie/kogito/persistence/mongodb/storage/MongoStorageManager.java b/persistence-commons/persistence-commons-mongodb/src/main/java/org/kie/kogito/persistence/mongodb/storage/MongoStorageManager.java -index d51d0aba5..00297442b 100644 ---- a/persistence-commons/persistence-commons-mongodb/src/main/java/org/kie/kogito/persistence/mongodb/storage/MongoStorageManager.java -+++ b/persistence-commons/persistence-commons-mongodb/src/main/java/org/kie/kogito/persistence/mongodb/storage/MongoStorageManager.java -@@ -18,8 +18,8 @@ - */ - package org.kie.kogito.persistence.mongodb.storage; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import org.kie.kogito.persistence.api.Storage; - import org.kie.kogito.persistence.api.StorageService; -diff --git a/persistence-commons/persistence-commons-mongodb/src/test/java/org/kie/kogito/persistence/mongodb/client/MongoClientManagerIT.java b/persistence-commons/persistence-commons-mongodb/src/test/java/org/kie/kogito/persistence/mongodb/client/MongoClientManagerIT.java -index 737e0e587..2594c363f 100644 ---- a/persistence-commons/persistence-commons-mongodb/src/test/java/org/kie/kogito/persistence/mongodb/client/MongoClientManagerIT.java -+++ b/persistence-commons/persistence-commons-mongodb/src/test/java/org/kie/kogito/persistence/mongodb/client/MongoClientManagerIT.java -@@ -18,7 +18,7 @@ - */ - package org.kie.kogito.persistence.mongodb.client; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.bson.Document; - import org.junit.jupiter.api.Test; -diff --git a/persistence-commons/persistence-commons-mongodb/src/test/java/org/kie/kogito/persistence/mongodb/index/IndexManagerIT.java b/persistence-commons/persistence-commons-mongodb/src/test/java/org/kie/kogito/persistence/mongodb/index/IndexManagerIT.java -index 4a6021ba5..c9fab141a 100644 ---- a/persistence-commons/persistence-commons-mongodb/src/test/java/org/kie/kogito/persistence/mongodb/index/IndexManagerIT.java -+++ b/persistence-commons/persistence-commons-mongodb/src/test/java/org/kie/kogito/persistence/mongodb/index/IndexManagerIT.java -@@ -29,7 +29,7 @@ import java.util.UUID; - import java.util.stream.IntStream; - import java.util.stream.StreamSupport; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.bson.Document; - import org.bson.conversions.Bson; -diff --git a/persistence-commons/persistence-commons-mongodb/src/test/java/org/kie/kogito/persistence/mongodb/mock/MockMongoModelService.java b/persistence-commons/persistence-commons-mongodb/src/test/java/org/kie/kogito/persistence/mongodb/mock/MockMongoModelService.java -index 98e9f2984..0279ad54b 100644 ---- a/persistence-commons/persistence-commons-mongodb/src/test/java/org/kie/kogito/persistence/mongodb/mock/MockMongoModelService.java -+++ b/persistence-commons/persistence-commons-mongodb/src/test/java/org/kie/kogito/persistence/mongodb/mock/MockMongoModelService.java -@@ -18,7 +18,7 @@ - */ - package org.kie.kogito.persistence.mongodb.mock; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - import org.kie.kogito.persistence.mongodb.model.MongoEntityMapper; - import org.kie.kogito.persistence.mongodb.storage.MongoModelService; -diff --git a/persistence-commons/persistence-commons-mongodb/src/test/java/org/kie/kogito/persistence/mongodb/mock/MockProcessIndexEventListener.java b/persistence-commons/persistence-commons-mongodb/src/test/java/org/kie/kogito/persistence/mongodb/mock/MockProcessIndexEventListener.java -index 40a2dc61d..f5b5848e5 100644 ---- a/persistence-commons/persistence-commons-mongodb/src/test/java/org/kie/kogito/persistence/mongodb/mock/MockProcessIndexEventListener.java -+++ b/persistence-commons/persistence-commons-mongodb/src/test/java/org/kie/kogito/persistence/mongodb/mock/MockProcessIndexEventListener.java -@@ -20,8 +20,8 @@ package org.kie.kogito.persistence.mongodb.mock; - - import java.util.Map; - --import javax.enterprise.context.ApplicationScoped; --import javax.enterprise.event.Observes; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.event.Observes; - - import org.kie.kogito.persistence.mongodb.index.ProcessIndexEvent; - import org.mockito.Mockito; -diff --git a/persistence-commons/persistence-commons-mongodb/src/test/java/org/kie/kogito/persistence/mongodb/query/MongoQueryIT.java b/persistence-commons/persistence-commons-mongodb/src/test/java/org/kie/kogito/persistence/mongodb/query/MongoQueryIT.java -index 19289b04d..7c42b22d1 100644 ---- a/persistence-commons/persistence-commons-mongodb/src/test/java/org/kie/kogito/persistence/mongodb/query/MongoQueryIT.java -+++ b/persistence-commons/persistence-commons-mongodb/src/test/java/org/kie/kogito/persistence/mongodb/query/MongoQueryIT.java -@@ -20,7 +20,7 @@ package org.kie.kogito.persistence.mongodb.query; - - import java.util.List; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.bson.Document; - import org.junit.jupiter.api.AfterEach; -diff --git a/persistence-commons/persistence-commons-mongodb/src/test/java/org/kie/kogito/persistence/mongodb/storage/MongoStorageIT.java b/persistence-commons/persistence-commons-mongodb/src/test/java/org/kie/kogito/persistence/mongodb/storage/MongoStorageIT.java -index 92a69676b..15a20d147 100644 ---- a/persistence-commons/persistence-commons-mongodb/src/test/java/org/kie/kogito/persistence/mongodb/storage/MongoStorageIT.java -+++ b/persistence-commons/persistence-commons-mongodb/src/test/java/org/kie/kogito/persistence/mongodb/storage/MongoStorageIT.java -@@ -18,7 +18,7 @@ - */ - package org.kie.kogito.persistence.mongodb.storage; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.bson.Document; - import org.junit.jupiter.api.AfterEach; -diff --git a/persistence-commons/persistence-commons-mongodb/src/test/java/org/kie/kogito/persistence/mongodb/storage/MongoStorageManagerIT.java b/persistence-commons/persistence-commons-mongodb/src/test/java/org/kie/kogito/persistence/mongodb/storage/MongoStorageManagerIT.java -index e3bad6d69..c21664241 100644 ---- a/persistence-commons/persistence-commons-mongodb/src/test/java/org/kie/kogito/persistence/mongodb/storage/MongoStorageManagerIT.java -+++ b/persistence-commons/persistence-commons-mongodb/src/test/java/org/kie/kogito/persistence/mongodb/storage/MongoStorageManagerIT.java -@@ -18,7 +18,7 @@ - */ - package org.kie.kogito.persistence.mongodb.storage; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.junit.jupiter.api.AfterEach; - import org.junit.jupiter.api.Test; -diff --git a/persistence-commons/persistence-commons-mongodb/src/test/java/org/kie/kogito/persistence/mongodb/storage/StorageListenerIT.java b/persistence-commons/persistence-commons-mongodb/src/test/java/org/kie/kogito/persistence/mongodb/storage/StorageListenerIT.java -index 58e39d4d9..4dcb7f437 100644 ---- a/persistence-commons/persistence-commons-mongodb/src/test/java/org/kie/kogito/persistence/mongodb/storage/StorageListenerIT.java -+++ b/persistence-commons/persistence-commons-mongodb/src/test/java/org/kie/kogito/persistence/mongodb/storage/StorageListenerIT.java -@@ -18,7 +18,7 @@ - */ - package org.kie.kogito.persistence.mongodb.storage; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.bson.Document; - import org.junit.jupiter.api.AfterEach; -diff --git a/persistence-commons/persistence-commons-mongodb/src/test/java/org/kie/kogito/persistence/mongodb/storage/StorageUtilsIT.java b/persistence-commons/persistence-commons-mongodb/src/test/java/org/kie/kogito/persistence/mongodb/storage/StorageUtilsIT.java -index 36ffc7325..3191c32ce 100644 ---- a/persistence-commons/persistence-commons-mongodb/src/test/java/org/kie/kogito/persistence/mongodb/storage/StorageUtilsIT.java -+++ b/persistence-commons/persistence-commons-mongodb/src/test/java/org/kie/kogito/persistence/mongodb/storage/StorageUtilsIT.java -@@ -23,7 +23,7 @@ import java.util.concurrent.ConcurrentHashMap; - import java.util.concurrent.CountDownLatch; - import java.util.concurrent.TimeUnit; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.bson.Document; - import org.junit.jupiter.api.AfterEach; -diff --git a/persistence-commons/persistence-commons-oracle/src/main/java/org/kie/kogito/persistence/oracle/OracleQuery.java b/persistence-commons/persistence-commons-oracle/src/main/java/org/kie/kogito/persistence/oracle/OracleQuery.java -index 507ad8acd..45b33bc1f 100644 ---- a/persistence-commons/persistence-commons-oracle/src/main/java/org/kie/kogito/persistence/oracle/OracleQuery.java -+++ b/persistence-commons/persistence-commons-oracle/src/main/java/org/kie/kogito/persistence/oracle/OracleQuery.java -@@ -137,7 +137,7 @@ public class OracleQuery implements Query { - } - - LOGGER.debug("Executing Oracle query: {}", queryString); -- javax.persistence.Query query = repository.getEntityManager() -+ jakarta.persistence.Query query = repository.getEntityManager() - .createNativeQuery(queryString.toString()) - .unwrap(NativeQuery.class) - .addScalar("json_value", new JsonBlobType(type)); -diff --git a/persistence-commons/persistence-commons-oracle/src/main/java/org/kie/kogito/persistence/oracle/OracleStorageService.java b/persistence-commons/persistence-commons-oracle/src/main/java/org/kie/kogito/persistence/oracle/OracleStorageService.java -index e577e7e40..853cdb29c 100644 ---- a/persistence-commons/persistence-commons-oracle/src/main/java/org/kie/kogito/persistence/oracle/OracleStorageService.java -+++ b/persistence-commons/persistence-commons-oracle/src/main/java/org/kie/kogito/persistence/oracle/OracleStorageService.java -@@ -18,8 +18,8 @@ - */ - package org.kie.kogito.persistence.oracle; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import org.kie.kogito.persistence.api.Storage; - import org.kie.kogito.persistence.api.StorageService; -diff --git a/persistence-commons/persistence-commons-oracle/src/main/java/org/kie/kogito/persistence/oracle/model/CacheEntity.java b/persistence-commons/persistence-commons-oracle/src/main/java/org/kie/kogito/persistence/oracle/model/CacheEntity.java -index 2a215f6a1..996177bfc 100644 ---- a/persistence-commons/persistence-commons-oracle/src/main/java/org/kie/kogito/persistence/oracle/model/CacheEntity.java -+++ b/persistence-commons/persistence-commons-oracle/src/main/java/org/kie/kogito/persistence/oracle/model/CacheEntity.java -@@ -20,13 +20,13 @@ package org.kie.kogito.persistence.oracle.model; - - import java.util.Objects; - --import javax.persistence.Column; --import javax.persistence.Entity; --import javax.persistence.Id; --import javax.persistence.IdClass; --import javax.persistence.Index; --import javax.persistence.Table; --import javax.persistence.UniqueConstraint; -+import jakarta.persistence.Column; -+import jakarta.persistence.Entity; -+import jakarta.persistence.Id; -+import jakarta.persistence.IdClass; -+import jakarta.persistence.Index; -+import jakarta.persistence.Table; -+import jakarta.persistence.UniqueConstraint; - - import org.hibernate.annotations.Type; - import org.hibernate.annotations.TypeDef; -diff --git a/persistence-commons/persistence-commons-oracle/src/main/java/org/kie/kogito/persistence/oracle/model/CacheEntityRepository.java b/persistence-commons/persistence-commons-oracle/src/main/java/org/kie/kogito/persistence/oracle/model/CacheEntityRepository.java -index 12eba177c..73500e84a 100644 ---- a/persistence-commons/persistence-commons-oracle/src/main/java/org/kie/kogito/persistence/oracle/model/CacheEntityRepository.java -+++ b/persistence-commons/persistence-commons-oracle/src/main/java/org/kie/kogito/persistence/oracle/model/CacheEntityRepository.java -@@ -18,7 +18,7 @@ - */ - package org.kie.kogito.persistence.oracle.model; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - import io.quarkus.hibernate.orm.panache.PanacheRepositoryBase; - -diff --git a/persistence-commons/persistence-commons-oracle/src/test/java/org/kie/kogito/persistence/oracle/OracleStorageServiceIT.java b/persistence-commons/persistence-commons-oracle/src/test/java/org/kie/kogito/persistence/oracle/OracleStorageServiceIT.java -index 41134f0ff..60548c5de 100644 ---- a/persistence-commons/persistence-commons-oracle/src/test/java/org/kie/kogito/persistence/oracle/OracleStorageServiceIT.java -+++ b/persistence-commons/persistence-commons-oracle/src/test/java/org/kie/kogito/persistence/oracle/OracleStorageServiceIT.java -@@ -20,8 +20,8 @@ package org.kie.kogito.persistence.oracle; - - import java.util.List; - --import javax.inject.Inject; --import javax.transaction.Transactional; -+import jakarta.inject.Inject; -+import jakarta.transaction.Transactional; - - import org.junit.jupiter.api.BeforeEach; - import org.junit.jupiter.api.Test; -diff --git a/persistence-commons/persistence-commons-postgresql/src/main/java/org/kie/kogito/persistence/postgresql/PostgresQuery.java b/persistence-commons/persistence-commons-postgresql/src/main/java/org/kie/kogito/persistence/postgresql/PostgresQuery.java -index 61605f336..cd6ab38b2 100644 ---- a/persistence-commons/persistence-commons-postgresql/src/main/java/org/kie/kogito/persistence/postgresql/PostgresQuery.java -+++ b/persistence-commons/persistence-commons-postgresql/src/main/java/org/kie/kogito/persistence/postgresql/PostgresQuery.java -@@ -136,7 +136,7 @@ public class PostgresQuery implements Query { - } - - LOGGER.debug("Executing PostgreSQL query: {}", queryString); -- javax.persistence.Query query = repository.getEntityManager().createNativeQuery(queryString.toString()); -+ jakarta.persistence.Query query = repository.getEntityManager().createNativeQuery(queryString.toString()); - query.unwrap(org.hibernate.query.NativeQuery.class).addScalar("json_value", JsonNodeBinaryType.INSTANCE); - - if (limit != null) { -diff --git a/persistence-commons/persistence-commons-postgresql/src/main/java/org/kie/kogito/persistence/postgresql/PostgresStorageService.java b/persistence-commons/persistence-commons-postgresql/src/main/java/org/kie/kogito/persistence/postgresql/PostgresStorageService.java -index 4d5e60407..2517cc088 100644 ---- a/persistence-commons/persistence-commons-postgresql/src/main/java/org/kie/kogito/persistence/postgresql/PostgresStorageService.java -+++ b/persistence-commons/persistence-commons-postgresql/src/main/java/org/kie/kogito/persistence/postgresql/PostgresStorageService.java -@@ -18,8 +18,8 @@ - */ - package org.kie.kogito.persistence.postgresql; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import org.kie.kogito.persistence.api.Storage; - import org.kie.kogito.persistence.api.StorageService; -diff --git a/persistence-commons/persistence-commons-postgresql/src/main/java/org/kie/kogito/persistence/postgresql/model/CacheEntity.java b/persistence-commons/persistence-commons-postgresql/src/main/java/org/kie/kogito/persistence/postgresql/model/CacheEntity.java -index 1887cfc0f..0f58963f9 100644 ---- a/persistence-commons/persistence-commons-postgresql/src/main/java/org/kie/kogito/persistence/postgresql/model/CacheEntity.java -+++ b/persistence-commons/persistence-commons-postgresql/src/main/java/org/kie/kogito/persistence/postgresql/model/CacheEntity.java -@@ -20,13 +20,13 @@ package org.kie.kogito.persistence.postgresql.model; - - import java.util.Objects; - --import javax.persistence.Column; --import javax.persistence.Entity; --import javax.persistence.Id; --import javax.persistence.IdClass; --import javax.persistence.Index; --import javax.persistence.Table; --import javax.persistence.UniqueConstraint; -+import jakarta.persistence.Column; -+import jakarta.persistence.Entity; -+import jakarta.persistence.Id; -+import jakarta.persistence.IdClass; -+import jakarta.persistence.Index; -+import jakarta.persistence.Table; -+import jakarta.persistence.UniqueConstraint; - - import org.hibernate.annotations.Type; - import org.hibernate.annotations.TypeDef; -diff --git a/persistence-commons/persistence-commons-postgresql/src/main/java/org/kie/kogito/persistence/postgresql/model/CacheEntityRepository.java b/persistence-commons/persistence-commons-postgresql/src/main/java/org/kie/kogito/persistence/postgresql/model/CacheEntityRepository.java -index 41eb084f8..d10a53a86 100644 ---- a/persistence-commons/persistence-commons-postgresql/src/main/java/org/kie/kogito/persistence/postgresql/model/CacheEntityRepository.java -+++ b/persistence-commons/persistence-commons-postgresql/src/main/java/org/kie/kogito/persistence/postgresql/model/CacheEntityRepository.java -@@ -18,7 +18,7 @@ - */ - package org.kie.kogito.persistence.postgresql.model; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - import io.quarkus.hibernate.orm.panache.PanacheRepositoryBase; - -diff --git a/persistence-commons/persistence-commons-postgresql/src/test/java/org/kie/kogito/persistence/postgresql/PostgresStorageServiceIT.java b/persistence-commons/persistence-commons-postgresql/src/test/java/org/kie/kogito/persistence/postgresql/PostgresStorageServiceIT.java -index eb1c1cb7e..458bf5c04 100644 ---- a/persistence-commons/persistence-commons-postgresql/src/test/java/org/kie/kogito/persistence/postgresql/PostgresStorageServiceIT.java -+++ b/persistence-commons/persistence-commons-postgresql/src/test/java/org/kie/kogito/persistence/postgresql/PostgresStorageServiceIT.java -@@ -20,8 +20,8 @@ package org.kie.kogito.persistence.postgresql; - - import java.util.List; - --import javax.inject.Inject; --import javax.transaction.Transactional; -+import jakarta.inject.Inject; -+import jakarta.transaction.Transactional; - - import org.junit.jupiter.api.BeforeEach; - import org.junit.jupiter.api.Test; -diff --git a/persistence-commons/persistence-commons-protobuf/src/main/java/org/kie/kogito/persistence/protobuf/ProtobufMonitorService.java b/persistence-commons/persistence-commons-protobuf/src/main/java/org/kie/kogito/persistence/protobuf/ProtobufMonitorService.java -index 12ba72ae3..70f32eadf 100644 ---- a/persistence-commons/persistence-commons-protobuf/src/main/java/org/kie/kogito/persistence/protobuf/ProtobufMonitorService.java -+++ b/persistence-commons/persistence-commons-protobuf/src/main/java/org/kie/kogito/persistence/protobuf/ProtobufMonitorService.java -@@ -38,9 +38,9 @@ import java.util.concurrent.Executors; - import java.util.function.Consumer; - import java.util.stream.Stream; - --import javax.enterprise.context.ApplicationScoped; --import javax.enterprise.event.Observes; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.event.Observes; -+import jakarta.inject.Inject; - - import org.eclipse.microprofile.config.inject.ConfigProperty; - import org.slf4j.Logger; -diff --git a/persistence-commons/persistence-commons-protobuf/src/main/java/org/kie/kogito/persistence/protobuf/ProtobufService.java b/persistence-commons/persistence-commons-protobuf/src/main/java/org/kie/kogito/persistence/protobuf/ProtobufService.java -index 723bc2f8d..3dbd6ba87 100644 ---- a/persistence-commons/persistence-commons-protobuf/src/main/java/org/kie/kogito/persistence/protobuf/ProtobufService.java -+++ b/persistence-commons/persistence-commons-protobuf/src/main/java/org/kie/kogito/persistence/protobuf/ProtobufService.java -@@ -23,10 +23,10 @@ import java.util.Map; - import java.util.Objects; - import java.util.function.Function; - --import javax.enterprise.context.ApplicationScoped; --import javax.enterprise.event.Event; --import javax.enterprise.event.Observes; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.event.Event; -+import jakarta.enterprise.event.Observes; -+import jakarta.inject.Inject; - - import org.infinispan.protostream.FileDescriptorSource; - import org.infinispan.protostream.SerializationContext; -diff --git a/persistence-commons/persistence-commons-protobuf/src/main/java/org/kie/kogito/persistence/protobuf/domain/ProtoDomainModelProducer.java b/persistence-commons/persistence-commons-protobuf/src/main/java/org/kie/kogito/persistence/protobuf/domain/ProtoDomainModelProducer.java -index 3cec63c8e..dfb044c08 100644 ---- a/persistence-commons/persistence-commons-protobuf/src/main/java/org/kie/kogito/persistence/protobuf/domain/ProtoDomainModelProducer.java -+++ b/persistence-commons/persistence-commons-protobuf/src/main/java/org/kie/kogito/persistence/protobuf/domain/ProtoDomainModelProducer.java -@@ -22,10 +22,10 @@ import java.util.List; - import java.util.Map; - import java.util.function.Function; - --import javax.enterprise.context.ApplicationScoped; --import javax.enterprise.event.Event; --import javax.enterprise.event.Observes; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.event.Event; -+import jakarta.enterprise.event.Observes; -+import jakarta.inject.Inject; - - import org.infinispan.protostream.descriptors.Descriptor; - import org.infinispan.protostream.descriptors.FieldDescriptor; -diff --git a/persistence-commons/persistence-commons-protobuf/src/test/java/org/kie/kogito/persistence/protobuf/ProtoDomainModelProducerTest.java b/persistence-commons/persistence-commons-protobuf/src/test/java/org/kie/kogito/persistence/protobuf/ProtoDomainModelProducerTest.java -index 85177fe2e..03cdcfeaf 100644 ---- a/persistence-commons/persistence-commons-protobuf/src/test/java/org/kie/kogito/persistence/protobuf/ProtoDomainModelProducerTest.java -+++ b/persistence-commons/persistence-commons-protobuf/src/test/java/org/kie/kogito/persistence/protobuf/ProtoDomainModelProducerTest.java -@@ -18,7 +18,7 @@ - */ - package org.kie.kogito.persistence.protobuf; - --import javax.enterprise.event.Event; -+import jakarta.enterprise.event.Event; - - import org.infinispan.protostream.FileDescriptorSource; - import org.infinispan.protostream.SerializationContext; -diff --git a/persistence-commons/persistence-commons-protobuf/src/test/java/org/kie/kogito/persistence/protobuf/ProtobufServiceTest.java b/persistence-commons/persistence-commons-protobuf/src/test/java/org/kie/kogito/persistence/protobuf/ProtobufServiceTest.java -index 7d2ece432..ec696700d 100644 ---- a/persistence-commons/persistence-commons-protobuf/src/test/java/org/kie/kogito/persistence/protobuf/ProtobufServiceTest.java -+++ b/persistence-commons/persistence-commons-protobuf/src/test/java/org/kie/kogito/persistence/protobuf/ProtobufServiceTest.java -@@ -18,7 +18,7 @@ - */ - package org.kie.kogito.persistence.protobuf; - --import javax.enterprise.event.Event; -+import jakarta.enterprise.event.Event; - - import org.infinispan.protostream.FileDescriptorSource; - import org.junit.jupiter.api.BeforeEach; -diff --git a/persistence-commons/persistence-commons-redis/src/main/java/org/kie/kogito/persistence/redis/RedisCacheManager.java b/persistence-commons/persistence-commons-redis/src/main/java/org/kie/kogito/persistence/redis/RedisCacheManager.java -index 7ff1c43b9..edce31420 100644 ---- a/persistence-commons/persistence-commons-redis/src/main/java/org/kie/kogito/persistence/redis/RedisCacheManager.java -+++ b/persistence-commons/persistence-commons-redis/src/main/java/org/kie/kogito/persistence/redis/RedisCacheManager.java -@@ -18,8 +18,8 @@ - */ - package org.kie.kogito.persistence.redis; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import org.kie.kogito.persistence.api.Storage; - import org.kie.kogito.persistence.api.StorageService; -diff --git a/persistence-commons/persistence-commons-redis/src/main/java/org/kie/kogito/persistence/redis/RedisClientManager.java b/persistence-commons/persistence-commons-redis/src/main/java/org/kie/kogito/persistence/redis/RedisClientManager.java -index b66a40e2a..7bf6c212d 100644 ---- a/persistence-commons/persistence-commons-redis/src/main/java/org/kie/kogito/persistence/redis/RedisClientManager.java -+++ b/persistence-commons/persistence-commons-redis/src/main/java/org/kie/kogito/persistence/redis/RedisClientManager.java -@@ -20,7 +20,7 @@ package org.kie.kogito.persistence.redis; - - import java.net.URL; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - import org.eclipse.microprofile.config.inject.ConfigProperty; - -diff --git a/persistence-commons/persistence-commons-redis/src/main/java/org/kie/kogito/persistence/redis/index/RedisIndexManager.java b/persistence-commons/persistence-commons-redis/src/main/java/org/kie/kogito/persistence/redis/index/RedisIndexManager.java -index a56f6f5a6..c0670c91b 100644 ---- a/persistence-commons/persistence-commons-redis/src/main/java/org/kie/kogito/persistence/redis/index/RedisIndexManager.java -+++ b/persistence-commons/persistence-commons-redis/src/main/java/org/kie/kogito/persistence/redis/index/RedisIndexManager.java -@@ -23,8 +23,8 @@ import java.util.List; - import java.util.Map; - import java.util.stream.Collectors; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import org.kie.kogito.persistence.redis.RedisClientManager; - import org.slf4j.Logger; -diff --git a/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-api/src/main/java/org/kie/kogito/persistence/reporting/api/BaseMappingsApiV1.java b/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-api/src/main/java/org/kie/kogito/persistence/reporting/api/BaseMappingsApiV1.java -index 4fb44daba..e7b433759 100644 ---- a/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-api/src/main/java/org/kie/kogito/persistence/reporting/api/BaseMappingsApiV1.java -+++ b/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-api/src/main/java/org/kie/kogito/persistence/reporting/api/BaseMappingsApiV1.java -@@ -22,7 +22,7 @@ import java.util.List; - import java.util.Objects; - import java.util.Optional; - --import javax.ws.rs.core.Response; -+import jakarta.ws.rs.core.Response; - - import org.kie.kogito.persistence.reporting.database.DatabaseManager; - import org.kie.kogito.persistence.reporting.database.sqlbuilders.Context; -diff --git a/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-api/src/main/java/org/kie/kogito/persistence/reporting/database/BaseDatabaseManagerImpl.java b/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-api/src/main/java/org/kie/kogito/persistence/reporting/database/BaseDatabaseManagerImpl.java -index 26aaf9a90..1e36e9f8d 100644 ---- a/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-api/src/main/java/org/kie/kogito/persistence/reporting/database/BaseDatabaseManagerImpl.java -+++ b/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-api/src/main/java/org/kie/kogito/persistence/reporting/database/BaseDatabaseManagerImpl.java -@@ -24,7 +24,7 @@ import java.util.Map; - import java.util.Objects; - import java.util.Optional; - --import javax.persistence.EntityManager; -+import jakarta.persistence.EntityManager; - - import org.kie.kogito.event.cloudevents.utils.CloudEventUtils; - import org.kie.kogito.persistence.reporting.database.sqlbuilders.ApplyMappingSqlBuilder; -diff --git a/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-api/src/test/java/org/kie/kogito/persistence/reporting/database/BaseDatabaseManagerImplTest.java b/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-api/src/test/java/org/kie/kogito/persistence/reporting/database/BaseDatabaseManagerImplTest.java -index 87fe34377..d39bbd9ef 100644 ---- a/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-api/src/test/java/org/kie/kogito/persistence/reporting/database/BaseDatabaseManagerImplTest.java -+++ b/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-api/src/test/java/org/kie/kogito/persistence/reporting/database/BaseDatabaseManagerImplTest.java -@@ -22,8 +22,8 @@ import java.util.Collections; - import java.util.List; - import java.util.Map; - --import javax.persistence.EntityManager; --import javax.persistence.Query; -+import jakarta.persistence.EntityManager; -+import jakarta.persistence.Query; - - import org.junit.jupiter.api.BeforeEach; - import org.junit.jupiter.api.Test; -diff --git a/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-base/src/main/java/org/kie/kogito/persistence/postgresql/reporting/bootstrap/PostgresBootstrapLoaderImpl.java b/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-base/src/main/java/org/kie/kogito/persistence/postgresql/reporting/bootstrap/PostgresBootstrapLoaderImpl.java -index ac33ad148..6e221d6b0 100644 ---- a/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-base/src/main/java/org/kie/kogito/persistence/postgresql/reporting/bootstrap/PostgresBootstrapLoaderImpl.java -+++ b/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-base/src/main/java/org/kie/kogito/persistence/postgresql/reporting/bootstrap/PostgresBootstrapLoaderImpl.java -@@ -21,7 +21,7 @@ package org.kie.kogito.persistence.postgresql.reporting.bootstrap; - import java.io.InputStream; - import java.util.function.Supplier; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - import org.kie.kogito.persistence.postgresql.reporting.model.JsonType; - import org.kie.kogito.persistence.postgresql.reporting.model.PostgresField; -diff --git a/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-base/src/main/java/org/kie/kogito/persistence/postgresql/reporting/bootstrap/PostgresStartupHandlerImpl.java b/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-base/src/main/java/org/kie/kogito/persistence/postgresql/reporting/bootstrap/PostgresStartupHandlerImpl.java -index 5a11b721e..f0c29b19e 100644 ---- a/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-base/src/main/java/org/kie/kogito/persistence/postgresql/reporting/bootstrap/PostgresStartupHandlerImpl.java -+++ b/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-base/src/main/java/org/kie/kogito/persistence/postgresql/reporting/bootstrap/PostgresStartupHandlerImpl.java -@@ -18,9 +18,9 @@ - */ - package org.kie.kogito.persistence.postgresql.reporting.bootstrap; - --import javax.enterprise.context.ApplicationScoped; --import javax.enterprise.event.Observes; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.event.Observes; -+import jakarta.inject.Inject; - - import org.eclipse.microprofile.config.inject.ConfigProperty; - import org.kie.kogito.persistence.postgresql.reporting.database.BasePostgresDatabaseManagerImpl; -diff --git a/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-base/src/main/java/org/kie/kogito/persistence/postgresql/reporting/database/BasePostgresDatabaseManagerImpl.java b/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-base/src/main/java/org/kie/kogito/persistence/postgresql/reporting/database/BasePostgresDatabaseManagerImpl.java -index 2a5a0f2d2..9bd51c5ec 100644 ---- a/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-base/src/main/java/org/kie/kogito/persistence/postgresql/reporting/database/BasePostgresDatabaseManagerImpl.java -+++ b/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-base/src/main/java/org/kie/kogito/persistence/postgresql/reporting/database/BasePostgresDatabaseManagerImpl.java -@@ -22,15 +22,15 @@ import java.util.List; - import java.util.Map; - import java.util.stream.Collectors; - --import javax.persistence.Column; --import javax.persistence.Entity; --import javax.persistence.EntityManager; --import javax.persistence.EntityResult; --import javax.persistence.FieldResult; --import javax.persistence.Id; --import javax.persistence.Query; --import javax.persistence.SqlResultSetMapping; --import javax.transaction.Transactional; -+import jakarta.persistence.Column; -+import jakarta.persistence.Entity; -+import jakarta.persistence.EntityManager; -+import jakarta.persistence.EntityResult; -+import jakarta.persistence.FieldResult; -+import jakarta.persistence.Id; -+import jakarta.persistence.Query; -+import jakarta.persistence.SqlResultSetMapping; -+import jakarta.transaction.Transactional; - - import org.kie.kogito.persistence.postgresql.reporting.database.sqlbuilders.PostgresApplyMappingSqlBuilder; - import org.kie.kogito.persistence.postgresql.reporting.database.sqlbuilders.PostgresContext; -diff --git a/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-base/src/main/java/org/kie/kogito/persistence/postgresql/reporting/database/sqlbuilders/PostgresApplyMappingSqlBuilder.java b/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-base/src/main/java/org/kie/kogito/persistence/postgresql/reporting/database/sqlbuilders/PostgresApplyMappingSqlBuilder.java -index 3771d5f51..a1be37f41 100644 ---- a/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-base/src/main/java/org/kie/kogito/persistence/postgresql/reporting/database/sqlbuilders/PostgresApplyMappingSqlBuilder.java -+++ b/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-base/src/main/java/org/kie/kogito/persistence/postgresql/reporting/database/sqlbuilders/PostgresApplyMappingSqlBuilder.java -@@ -21,7 +21,7 @@ package org.kie.kogito.persistence.postgresql.reporting.database.sqlbuilders; - import java.util.List; - import java.util.stream.Collectors; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - import org.kie.kogito.persistence.postgresql.reporting.model.JsonType; - import org.kie.kogito.persistence.postgresql.reporting.model.PostgresField; -diff --git a/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-base/src/main/java/org/kie/kogito/persistence/postgresql/reporting/database/sqlbuilders/PostgresIndexesSqlBuilder.java b/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-base/src/main/java/org/kie/kogito/persistence/postgresql/reporting/database/sqlbuilders/PostgresIndexesSqlBuilder.java -index 6bd72bfa4..de26b8597 100644 ---- a/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-base/src/main/java/org/kie/kogito/persistence/postgresql/reporting/database/sqlbuilders/PostgresIndexesSqlBuilder.java -+++ b/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-base/src/main/java/org/kie/kogito/persistence/postgresql/reporting/database/sqlbuilders/PostgresIndexesSqlBuilder.java -@@ -22,7 +22,7 @@ import java.util.ArrayList; - import java.util.List; - import java.util.function.Consumer; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - import org.kie.kogito.persistence.postgresql.reporting.model.JsonType; - import org.kie.kogito.persistence.postgresql.reporting.model.PostgresField; -diff --git a/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-base/src/main/java/org/kie/kogito/persistence/postgresql/reporting/database/sqlbuilders/PostgresTableSqlBuilder.java b/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-base/src/main/java/org/kie/kogito/persistence/postgresql/reporting/database/sqlbuilders/PostgresTableSqlBuilder.java -index 3a694a96e..e48a86f53 100644 ---- a/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-base/src/main/java/org/kie/kogito/persistence/postgresql/reporting/database/sqlbuilders/PostgresTableSqlBuilder.java -+++ b/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-base/src/main/java/org/kie/kogito/persistence/postgresql/reporting/database/sqlbuilders/PostgresTableSqlBuilder.java -@@ -23,7 +23,7 @@ import java.util.List; - import java.util.Map; - import java.util.stream.Collectors; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - import org.kie.kogito.persistence.postgresql.reporting.model.JsonType; - import org.kie.kogito.persistence.postgresql.reporting.model.PostgresField; -diff --git a/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-base/src/main/java/org/kie/kogito/persistence/postgresql/reporting/database/sqlbuilders/PostgresTriggerDeleteSqlBuilder.java b/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-base/src/main/java/org/kie/kogito/persistence/postgresql/reporting/database/sqlbuilders/PostgresTriggerDeleteSqlBuilder.java -index 20066cde1..7606e345d 100644 ---- a/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-base/src/main/java/org/kie/kogito/persistence/postgresql/reporting/database/sqlbuilders/PostgresTriggerDeleteSqlBuilder.java -+++ b/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-base/src/main/java/org/kie/kogito/persistence/postgresql/reporting/database/sqlbuilders/PostgresTriggerDeleteSqlBuilder.java -@@ -22,7 +22,7 @@ import java.util.ArrayList; - import java.util.List; - import java.util.stream.Collectors; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - import org.kie.kogito.persistence.postgresql.reporting.model.JsonType; - import org.kie.kogito.persistence.postgresql.reporting.model.PostgresField; -diff --git a/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-base/src/main/java/org/kie/kogito/persistence/postgresql/reporting/database/sqlbuilders/PostgresTriggerInsertSqlBuilder.java b/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-base/src/main/java/org/kie/kogito/persistence/postgresql/reporting/database/sqlbuilders/PostgresTriggerInsertSqlBuilder.java -index 11abb8df0..23ba0a902 100644 ---- a/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-base/src/main/java/org/kie/kogito/persistence/postgresql/reporting/database/sqlbuilders/PostgresTriggerInsertSqlBuilder.java -+++ b/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-base/src/main/java/org/kie/kogito/persistence/postgresql/reporting/database/sqlbuilders/PostgresTriggerInsertSqlBuilder.java -@@ -25,7 +25,7 @@ import java.util.Objects; - import java.util.function.Consumer; - import java.util.stream.Collectors; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - import org.kie.kogito.persistence.postgresql.reporting.model.JsonType; - import org.kie.kogito.persistence.postgresql.reporting.model.PostgresField; -diff --git a/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-base/src/main/java/org/kie/kogito/persistence/postgresql/reporting/service/PostgresMappingServiceImpl.java b/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-base/src/main/java/org/kie/kogito/persistence/postgresql/reporting/service/PostgresMappingServiceImpl.java -index 55e83a500..d4fddb836 100644 ---- a/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-base/src/main/java/org/kie/kogito/persistence/postgresql/reporting/service/PostgresMappingServiceImpl.java -+++ b/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-base/src/main/java/org/kie/kogito/persistence/postgresql/reporting/service/PostgresMappingServiceImpl.java -@@ -23,9 +23,9 @@ import java.util.Collections; - import java.util.List; - import java.util.Objects; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; --import javax.transaction.Transactional; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; -+import jakarta.transaction.Transactional; - - import org.kie.kogito.persistence.api.Storage; - import org.kie.kogito.persistence.postgresql.PostgresStorageService; -diff --git a/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-base/src/test/java/org/kie/kogito/persistence/postgresql/reporting/database/sqlbuilders/BaseSqlBuilderImplTest.java b/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-base/src/test/java/org/kie/kogito/persistence/postgresql/reporting/database/sqlbuilders/BaseSqlBuilderImplTest.java -index 6d91ed383..0eb57ab35 100644 ---- a/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-base/src/test/java/org/kie/kogito/persistence/postgresql/reporting/database/sqlbuilders/BaseSqlBuilderImplTest.java -+++ b/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-base/src/test/java/org/kie/kogito/persistence/postgresql/reporting/database/sqlbuilders/BaseSqlBuilderImplTest.java -@@ -22,7 +22,7 @@ import java.util.List; - import java.util.Map; - import java.util.Objects; - --import javax.persistence.EntityManager; -+import jakarta.persistence.EntityManager; - - import org.junit.jupiter.api.BeforeEach; - import org.junit.jupiter.api.Test; -diff --git a/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-generic/src/main/java/org/kie/kogito/persistence/postgresql/reporting/api/PostgresMappingsApiV1.java b/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-generic/src/main/java/org/kie/kogito/persistence/postgresql/reporting/api/PostgresMappingsApiV1.java -index 842750fea..ea32d382a 100644 ---- a/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-generic/src/main/java/org/kie/kogito/persistence/postgresql/reporting/api/PostgresMappingsApiV1.java -+++ b/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-generic/src/main/java/org/kie/kogito/persistence/postgresql/reporting/api/PostgresMappingsApiV1.java -@@ -20,16 +20,16 @@ package org.kie.kogito.persistence.postgresql.reporting.api; - - import java.util.List; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; --import javax.ws.rs.Consumes; --import javax.ws.rs.DELETE; --import javax.ws.rs.GET; --import javax.ws.rs.POST; --import javax.ws.rs.Path; --import javax.ws.rs.Produces; --import javax.ws.rs.core.MediaType; --import javax.ws.rs.core.Response; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; -+import jakarta.ws.rs.Consumes; -+import jakarta.ws.rs.DELETE; -+import jakarta.ws.rs.GET; -+import jakarta.ws.rs.POST; -+import jakarta.ws.rs.Path; -+import jakarta.ws.rs.Produces; -+import jakarta.ws.rs.core.MediaType; -+import jakarta.ws.rs.core.Response; - - import org.eclipse.microprofile.openapi.annotations.Operation; - import org.eclipse.microprofile.openapi.annotations.enums.SchemaType; -diff --git a/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-generic/src/main/java/org/kie/kogito/persistence/postgresql/reporting/database/GenericPostgresDatabaseManagerImpl.java b/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-generic/src/main/java/org/kie/kogito/persistence/postgresql/reporting/database/GenericPostgresDatabaseManagerImpl.java -index 04b7b3e63..3aefb08bf 100644 ---- a/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-generic/src/main/java/org/kie/kogito/persistence/postgresql/reporting/database/GenericPostgresDatabaseManagerImpl.java -+++ b/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-generic/src/main/java/org/kie/kogito/persistence/postgresql/reporting/database/GenericPostgresDatabaseManagerImpl.java -@@ -20,9 +20,9 @@ package org.kie.kogito.persistence.postgresql.reporting.database; - - import java.util.Objects; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; --import javax.persistence.EntityManager; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; -+import jakarta.persistence.EntityManager; - - import org.kie.kogito.persistence.postgresql.model.CacheEntityRepository; - import org.kie.kogito.persistence.postgresql.reporting.database.sqlbuilders.PostgresApplyMappingSqlBuilder; -diff --git a/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-generic/src/test/java/org/kie/kogito/persistence/postgresql/reporting/BasicTypeMappingIT.java b/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-generic/src/test/java/org/kie/kogito/persistence/postgresql/reporting/BasicTypeMappingIT.java -index 275847a5b..72d39d221 100644 ---- a/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-generic/src/test/java/org/kie/kogito/persistence/postgresql/reporting/BasicTypeMappingIT.java -+++ b/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-generic/src/test/java/org/kie/kogito/persistence/postgresql/reporting/BasicTypeMappingIT.java -@@ -20,14 +20,14 @@ package org.kie.kogito.persistence.postgresql.reporting; - - import java.util.List; - --import javax.inject.Inject; --import javax.persistence.Column; --import javax.persistence.Entity; --import javax.persistence.EntityResult; --import javax.persistence.FieldResult; --import javax.persistence.Id; --import javax.persistence.SqlResultSetMapping; --import javax.transaction.Transactional; -+import jakarta.inject.Inject; -+import jakarta.persistence.Column; -+import jakarta.persistence.Entity; -+import jakarta.persistence.EntityResult; -+import jakarta.persistence.FieldResult; -+import jakarta.persistence.Id; -+import jakarta.persistence.SqlResultSetMapping; -+import jakarta.transaction.Transactional; - - import org.junit.jupiter.api.BeforeEach; - import org.junit.jupiter.api.Test; -diff --git a/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-generic/src/test/java/org/kie/kogito/persistence/postgresql/reporting/ComplexHierarchicalTypeMappingIT.java b/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-generic/src/test/java/org/kie/kogito/persistence/postgresql/reporting/ComplexHierarchicalTypeMappingIT.java -index 68f8b41fb..d8e3ec81d 100644 ---- a/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-generic/src/test/java/org/kie/kogito/persistence/postgresql/reporting/ComplexHierarchicalTypeMappingIT.java -+++ b/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-generic/src/test/java/org/kie/kogito/persistence/postgresql/reporting/ComplexHierarchicalTypeMappingIT.java -@@ -20,14 +20,14 @@ package org.kie.kogito.persistence.postgresql.reporting; - - import java.util.List; - --import javax.inject.Inject; --import javax.persistence.Column; --import javax.persistence.Entity; --import javax.persistence.EntityResult; --import javax.persistence.FieldResult; --import javax.persistence.Id; --import javax.persistence.SqlResultSetMapping; --import javax.transaction.Transactional; -+import jakarta.inject.Inject; -+import jakarta.persistence.Column; -+import jakarta.persistence.Entity; -+import jakarta.persistence.EntityResult; -+import jakarta.persistence.FieldResult; -+import jakarta.persistence.Id; -+import jakarta.persistence.SqlResultSetMapping; -+import jakarta.transaction.Transactional; - - import org.junit.jupiter.api.BeforeEach; - import org.junit.jupiter.api.Test; -diff --git a/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-generic/src/test/java/org/kie/kogito/persistence/postgresql/reporting/HierarchicalTypeMappingIT.java b/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-generic/src/test/java/org/kie/kogito/persistence/postgresql/reporting/HierarchicalTypeMappingIT.java -index 75143892e..8af6b9d1f 100644 ---- a/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-generic/src/test/java/org/kie/kogito/persistence/postgresql/reporting/HierarchicalTypeMappingIT.java -+++ b/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-generic/src/test/java/org/kie/kogito/persistence/postgresql/reporting/HierarchicalTypeMappingIT.java -@@ -20,14 +20,14 @@ package org.kie.kogito.persistence.postgresql.reporting; - - import java.util.List; - --import javax.inject.Inject; --import javax.persistence.Column; --import javax.persistence.Entity; --import javax.persistence.EntityResult; --import javax.persistence.FieldResult; --import javax.persistence.Id; --import javax.persistence.SqlResultSetMapping; --import javax.transaction.Transactional; -+import jakarta.inject.Inject; -+import jakarta.persistence.Column; -+import jakarta.persistence.Entity; -+import jakarta.persistence.EntityResult; -+import jakarta.persistence.FieldResult; -+import jakarta.persistence.Id; -+import jakarta.persistence.SqlResultSetMapping; -+import jakarta.transaction.Transactional; - - import org.junit.jupiter.api.BeforeEach; - import org.junit.jupiter.api.Test; -diff --git a/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-generic/src/test/java/org/kie/kogito/persistence/postgresql/reporting/api/PostgresMappingsApiV1Test.java b/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-generic/src/test/java/org/kie/kogito/persistence/postgresql/reporting/api/PostgresMappingsApiV1Test.java -index c41816090..be090a04b 100644 ---- a/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-generic/src/test/java/org/kie/kogito/persistence/postgresql/reporting/api/PostgresMappingsApiV1Test.java -+++ b/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-generic/src/test/java/org/kie/kogito/persistence/postgresql/reporting/api/PostgresMappingsApiV1Test.java -@@ -21,7 +21,7 @@ package org.kie.kogito.persistence.postgresql.reporting.api; - import java.util.Collection; - import java.util.List; - --import javax.ws.rs.core.Response; -+import jakarta.ws.rs.core.Response; - - import org.junit.jupiter.api.BeforeEach; - import org.junit.jupiter.api.Test; -diff --git a/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-generic/src/test/java/org/kie/kogito/persistence/postgresql/reporting/database/GenericPostgresDatabaseManagerImplTest.java b/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-generic/src/test/java/org/kie/kogito/persistence/postgresql/reporting/database/GenericPostgresDatabaseManagerImplTest.java -index c6ed8a0fa..31a64a437 100644 ---- a/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-generic/src/test/java/org/kie/kogito/persistence/postgresql/reporting/database/GenericPostgresDatabaseManagerImplTest.java -+++ b/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-generic/src/test/java/org/kie/kogito/persistence/postgresql/reporting/database/GenericPostgresDatabaseManagerImplTest.java -@@ -18,7 +18,7 @@ - */ - package org.kie.kogito.persistence.postgresql.reporting.database; - --import javax.persistence.EntityManager; -+import jakarta.persistence.EntityManager; - - import org.junit.jupiter.api.BeforeEach; - import org.junit.jupiter.api.Test; -diff --git a/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-generic/src/test/java/org/kie/kogito/persistence/postgresql/reporting/database/sqlbuilders/PostgresApplyMappingSqlBuilderIT.java b/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-generic/src/test/java/org/kie/kogito/persistence/postgresql/reporting/database/sqlbuilders/PostgresApplyMappingSqlBuilderIT.java -index d685ff1bf..7de319f57 100644 ---- a/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-generic/src/test/java/org/kie/kogito/persistence/postgresql/reporting/database/sqlbuilders/PostgresApplyMappingSqlBuilderIT.java -+++ b/persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-postgresql-generic/src/test/java/org/kie/kogito/persistence/postgresql/reporting/database/sqlbuilders/PostgresApplyMappingSqlBuilderIT.java -@@ -20,14 +20,14 @@ package org.kie.kogito.persistence.postgresql.reporting.database.sqlbuilders; - - import java.util.List; - --import javax.inject.Inject; --import javax.persistence.Column; --import javax.persistence.Entity; --import javax.persistence.EntityResult; --import javax.persistence.FieldResult; --import javax.persistence.Id; --import javax.persistence.SqlResultSetMapping; --import javax.transaction.Transactional; -+import jakarta.inject.Inject; -+import jakarta.persistence.Column; -+import jakarta.persistence.Entity; -+import jakarta.persistence.EntityResult; -+import jakarta.persistence.FieldResult; -+import jakarta.persistence.Id; -+import jakarta.persistence.SqlResultSetMapping; -+import jakarta.transaction.Transactional; - - import org.junit.jupiter.api.BeforeEach; - import org.junit.jupiter.api.Test; -diff --git a/runtime-tools-quarkus-extension-parent/runtime-tools-quarkus-extension/pom.xml b/runtime-tools-quarkus-extension-parent/runtime-tools-quarkus-extension/pom.xml -index e5dcfc806..adf8e901c 100644 ---- a/runtime-tools-quarkus-extension-parent/runtime-tools-quarkus-extension/pom.xml -+++ b/runtime-tools-quarkus-extension-parent/runtime-tools-quarkus-extension/pom.xml -@@ -118,7 +118,7 @@ - - - io.quarkus -- quarkus-bootstrap-maven-plugin -+ quarkus-extension-maven-plugin - ${version.io.quarkus} - - -diff --git a/runtime-tools-quarkus-extension-parent/runtime-tools-quarkus-extension/src/main/java/org/kie/kogito/runtime/tools/quarkus/extension/runtime/forms/FormsService.java b/runtime-tools-quarkus-extension-parent/runtime-tools-quarkus-extension/src/main/java/org/kie/kogito/runtime/tools/quarkus/extension/runtime/forms/FormsService.java -index 96a0cde27..2a3a7dc67 100644 ---- a/runtime-tools-quarkus-extension-parent/runtime-tools-quarkus-extension/src/main/java/org/kie/kogito/runtime/tools/quarkus/extension/runtime/forms/FormsService.java -+++ b/runtime-tools-quarkus-extension-parent/runtime-tools-quarkus-extension/src/main/java/org/kie/kogito/runtime/tools/quarkus/extension/runtime/forms/FormsService.java -@@ -20,23 +20,23 @@ package org.kie.kogito.runtime.tools.quarkus.extension.runtime.forms; - - import java.io.FileNotFoundException; - --import javax.inject.Inject; --import javax.ws.rs.Consumes; --import javax.ws.rs.GET; --import javax.ws.rs.POST; --import javax.ws.rs.Path; --import javax.ws.rs.PathParam; --import javax.ws.rs.Produces; --import javax.ws.rs.QueryParam; --import javax.ws.rs.core.MediaType; --import javax.ws.rs.core.Response; -+import jakarta.inject.Inject; -+import jakarta.ws.rs.Consumes; -+import jakarta.ws.rs.GET; -+import jakarta.ws.rs.POST; -+import jakarta.ws.rs.Path; -+import jakarta.ws.rs.PathParam; -+import jakarta.ws.rs.Produces; -+import jakarta.ws.rs.QueryParam; -+import jakarta.ws.rs.core.MediaType; -+import jakarta.ws.rs.core.Response; - - import org.kie.kogito.runtime.tools.quarkus.extension.runtime.forms.model.FormContent; - import org.kie.kogito.runtime.tools.quarkus.extension.runtime.forms.model.FormFilter; - import org.slf4j.Logger; - import org.slf4j.LoggerFactory; - --import static javax.ws.rs.core.Response.Status.INTERNAL_SERVER_ERROR; -+import static jakarta.ws.rs.core.Response.Status.INTERNAL_SERVER_ERROR; - - @Path("/forms") - public class FormsService { -diff --git a/runtime-tools-quarkus-extension-parent/runtime-tools-quarkus-extension/src/main/java/org/kie/kogito/runtime/tools/quarkus/extension/runtime/forms/converter/FormFilterParamConverter.java b/runtime-tools-quarkus-extension-parent/runtime-tools-quarkus-extension/src/main/java/org/kie/kogito/runtime/tools/quarkus/extension/runtime/forms/converter/FormFilterParamConverter.java -index 6a37f9014..ecd1c17c0 100644 ---- a/runtime-tools-quarkus-extension-parent/runtime-tools-quarkus-extension/src/main/java/org/kie/kogito/runtime/tools/quarkus/extension/runtime/forms/converter/FormFilterParamConverter.java -+++ b/runtime-tools-quarkus-extension-parent/runtime-tools-quarkus-extension/src/main/java/org/kie/kogito/runtime/tools/quarkus/extension/runtime/forms/converter/FormFilterParamConverter.java -@@ -22,8 +22,8 @@ import java.util.Collections; - import java.util.StringTokenizer; - import java.util.stream.Collectors; - --import javax.ws.rs.ext.ParamConverter; --import javax.ws.rs.ext.Provider; -+import jakarta.ws.rs.ext.ParamConverter; -+import jakarta.ws.rs.ext.Provider; - - import org.kie.kogito.runtime.tools.quarkus.extension.runtime.forms.model.FormFilter; - -diff --git a/runtime-tools-quarkus-extension-parent/runtime-tools-quarkus-extension/src/main/java/org/kie/kogito/runtime/tools/quarkus/extension/runtime/forms/converter/FormFilterParamConverterProvider.java b/runtime-tools-quarkus-extension-parent/runtime-tools-quarkus-extension/src/main/java/org/kie/kogito/runtime/tools/quarkus/extension/runtime/forms/converter/FormFilterParamConverterProvider.java -index 9104f319b..f63af8b16 100644 ---- a/runtime-tools-quarkus-extension-parent/runtime-tools-quarkus-extension/src/main/java/org/kie/kogito/runtime/tools/quarkus/extension/runtime/forms/converter/FormFilterParamConverterProvider.java -+++ b/runtime-tools-quarkus-extension-parent/runtime-tools-quarkus-extension/src/main/java/org/kie/kogito/runtime/tools/quarkus/extension/runtime/forms/converter/FormFilterParamConverterProvider.java -@@ -21,9 +21,9 @@ package org.kie.kogito.runtime.tools.quarkus.extension.runtime.forms.converter; - import java.lang.annotation.Annotation; - import java.lang.reflect.Type; - --import javax.ws.rs.ext.ParamConverter; --import javax.ws.rs.ext.ParamConverterProvider; --import javax.ws.rs.ext.Provider; -+import jakarta.ws.rs.ext.ParamConverter; -+import jakarta.ws.rs.ext.ParamConverterProvider; -+import jakarta.ws.rs.ext.Provider; - - import org.kie.kogito.runtime.tools.quarkus.extension.runtime.forms.model.FormFilter; - -diff --git a/runtime-tools-quarkus-extension-parent/runtime-tools-quarkus-extension/src/main/java/org/kie/kogito/runtime/tools/quarkus/extension/runtime/forms/impl/FormsStorageImpl.java b/runtime-tools-quarkus-extension-parent/runtime-tools-quarkus-extension/src/main/java/org/kie/kogito/runtime/tools/quarkus/extension/runtime/forms/impl/FormsStorageImpl.java -index 5f1b2cf03..a3ba9df62 100644 ---- a/runtime-tools-quarkus-extension-parent/runtime-tools-quarkus-extension/src/main/java/org/kie/kogito/runtime/tools/quarkus/extension/runtime/forms/impl/FormsStorageImpl.java -+++ b/runtime-tools-quarkus-extension-parent/runtime-tools-quarkus-extension/src/main/java/org/kie/kogito/runtime/tools/quarkus/extension/runtime/forms/impl/FormsStorageImpl.java -@@ -34,7 +34,7 @@ import java.util.Map; - import java.util.TimeZone; - import java.util.stream.Collectors; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - import org.apache.commons.io.FileUtils; - import org.apache.commons.io.FilenameUtils; -diff --git a/security-commons/src/main/java/org/kie/kogito/security/UserResource.java b/security-commons/src/main/java/org/kie/kogito/security/UserResource.java -index 149df3547..9cede72b8 100644 ---- a/security-commons/src/main/java/org/kie/kogito/security/UserResource.java -+++ b/security-commons/src/main/java/org/kie/kogito/security/UserResource.java -@@ -21,11 +21,11 @@ package org.kie.kogito.security; - import java.util.Collections; - import java.util.Set; - --import javax.inject.Inject; --import javax.ws.rs.GET; --import javax.ws.rs.Path; --import javax.ws.rs.Produces; --import javax.ws.rs.core.MediaType; -+import jakarta.inject.Inject; -+import jakarta.ws.rs.GET; -+import jakarta.ws.rs.Path; -+import jakarta.ws.rs.Produces; -+import jakarta.ws.rs.core.MediaType; - - import org.jboss.resteasy.annotations.cache.NoCache; - -diff --git a/task-console/src/main/java/org/kie/kogito/task/console/VertxRouter.java b/task-console/src/main/java/org/kie/kogito/task/console/VertxRouter.java -index a6540fbee..7635125d0 100644 ---- a/task-console/src/main/java/org/kie/kogito/task/console/VertxRouter.java -+++ b/task-console/src/main/java/org/kie/kogito/task/console/VertxRouter.java -@@ -18,9 +18,8 @@ - */ - package org.kie.kogito.task.console; - --import javax.annotation.PostConstruct; --import javax.enterprise.context.ApplicationScoped; --import javax.enterprise.event.Observes; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.event.Observes; - - import org.slf4j.Logger; - import org.slf4j.LoggerFactory; -@@ -31,6 +30,7 @@ import io.vertx.core.http.HttpHeaders; - import io.vertx.ext.web.Router; - import io.vertx.ext.web.RoutingContext; - import io.vertx.ext.web.handler.StaticHandler; -+import jakarta.annotation.PostConstruct; - - @ApplicationScoped - public class VertxRouter { -diff --git a/task-console/src/test/java/org/kie/kogito/task/console/NativeStaticContentTestIT.java b/task-console/src/test/java/org/kie/kogito/task/console/NativeStaticContentTestIT.java -index ea181adfa..39d094906 100644 ---- a/task-console/src/test/java/org/kie/kogito/task/console/NativeStaticContentTestIT.java -+++ b/task-console/src/test/java/org/kie/kogito/task/console/NativeStaticContentTestIT.java -@@ -18,9 +18,9 @@ - */ - package org.kie.kogito.task.console; - --import io.quarkus.test.junit.NativeImageTest; -+import io.quarkus.test.junit.QuarkusIntegrationTest; - --@NativeImageTest -+@QuarkusIntegrationTest - class NativeStaticContentTestIT extends StaticContentTest { - - // Execute the same tests but in native mode. -diff --git a/trusty-ui/src/main/java/org/kie/kogito/trusty/ui/VertxRouter.java b/trusty-ui/src/main/java/org/kie/kogito/trusty/ui/VertxRouter.java -index 4f7cb7e07..87b37272a 100644 ---- a/trusty-ui/src/main/java/org/kie/kogito/trusty/ui/VertxRouter.java -+++ b/trusty-ui/src/main/java/org/kie/kogito/trusty/ui/VertxRouter.java -@@ -18,9 +18,8 @@ - */ - package org.kie.kogito.trusty.ui; - --import javax.annotation.PostConstruct; --import javax.enterprise.context.ApplicationScoped; --import javax.enterprise.event.Observes; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.event.Observes; - - import org.slf4j.Logger; - import org.slf4j.LoggerFactory; -@@ -31,6 +30,7 @@ import io.vertx.core.http.HttpHeaders; - import io.vertx.ext.web.Router; - import io.vertx.ext.web.RoutingContext; - import io.vertx.ext.web.handler.StaticHandler; -+import jakarta.annotation.PostConstruct; - - @ApplicationScoped - public class VertxRouter { -diff --git a/trusty-ui/src/test/java/org/kie/kogito/trusty/ui/NativeStaticContentTestIT.java b/trusty-ui/src/test/java/org/kie/kogito/trusty/ui/NativeStaticContentTestIT.java -index b0a7e0c04..cbfdfba23 100644 ---- a/trusty-ui/src/test/java/org/kie/kogito/trusty/ui/NativeStaticContentTestIT.java -+++ b/trusty-ui/src/test/java/org/kie/kogito/trusty/ui/NativeStaticContentTestIT.java -@@ -18,9 +18,9 @@ - */ - package org.kie.kogito.trusty.ui; - --import io.quarkus.test.junit.NativeImageTest; -+import io.quarkus.test.junit.QuarkusIntegrationTest; - --@NativeImageTest -+@QuarkusIntegrationTest - public class NativeStaticContentTestIT extends StaticContentTest { - // Execute the same tests but in native mode. - } -diff --git a/trusty/trusty-service/trusty-service-api/src/main/java/org/kie/kogito/trusty/service/common/requests/CounterfactualRequest.java b/trusty/trusty-service/trusty-service-api/src/main/java/org/kie/kogito/trusty/service/common/requests/CounterfactualRequest.java -index 7bcda7da0..24dc09230 100644 ---- a/trusty/trusty-service/trusty-service-api/src/main/java/org/kie/kogito/trusty/service/common/requests/CounterfactualRequest.java -+++ b/trusty/trusty-service/trusty-service-api/src/main/java/org/kie/kogito/trusty/service/common/requests/CounterfactualRequest.java -@@ -21,7 +21,7 @@ package org.kie.kogito.trusty.service.common.requests; - import java.util.List; - import java.util.Objects; - --import javax.validation.constraints.NotNull; -+import jakarta.validation.constraints.NotNull; - - import org.kie.kogito.explainability.api.CounterfactualSearchDomain; - import org.kie.kogito.explainability.api.NamedTypedValue; -diff --git a/trusty/trusty-service/trusty-service-api/src/main/java/org/kie/kogito/trusty/service/common/responses/CounterfactualRequestResponse.java b/trusty/trusty-service/trusty-service-api/src/main/java/org/kie/kogito/trusty/service/common/responses/CounterfactualRequestResponse.java -index ba283d697..a6aa0cca6 100644 ---- a/trusty/trusty-service/trusty-service-api/src/main/java/org/kie/kogito/trusty/service/common/responses/CounterfactualRequestResponse.java -+++ b/trusty/trusty-service/trusty-service-api/src/main/java/org/kie/kogito/trusty/service/common/responses/CounterfactualRequestResponse.java -@@ -20,7 +20,7 @@ package org.kie.kogito.trusty.service.common.responses; - - import java.util.Objects; - --import javax.validation.constraints.NotNull; -+import jakarta.validation.constraints.NotNull; - - import com.fasterxml.jackson.annotation.JsonIgnoreProperties; - import com.fasterxml.jackson.annotation.JsonProperty; -diff --git a/trusty/trusty-service/trusty-service-api/src/main/java/org/kie/kogito/trusty/service/common/responses/CounterfactualResultsResponse.java b/trusty/trusty-service/trusty-service-api/src/main/java/org/kie/kogito/trusty/service/common/responses/CounterfactualResultsResponse.java -index 3998ed525..82bdf6dc1 100644 ---- a/trusty/trusty-service/trusty-service-api/src/main/java/org/kie/kogito/trusty/service/common/responses/CounterfactualResultsResponse.java -+++ b/trusty/trusty-service/trusty-service-api/src/main/java/org/kie/kogito/trusty/service/common/responses/CounterfactualResultsResponse.java -@@ -22,8 +22,8 @@ import java.util.Collection; - import java.util.List; - import java.util.Objects; - --import javax.validation.constraints.NotBlank; --import javax.validation.constraints.NotNull; -+import jakarta.validation.constraints.NotBlank; -+import jakarta.validation.constraints.NotNull; - - import org.kie.kogito.explainability.api.CounterfactualExplainabilityRequest; - import org.kie.kogito.explainability.api.CounterfactualExplainabilityResult; -diff --git a/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/TrustyServiceImpl.java b/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/TrustyServiceImpl.java -index 24f9f0b16..9ad7dede6 100644 ---- a/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/TrustyServiceImpl.java -+++ b/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/TrustyServiceImpl.java -@@ -27,8 +27,8 @@ import java.util.Objects; - import java.util.UUID; - import java.util.stream.Collectors; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import org.eclipse.microprofile.config.inject.ConfigProperty; - import org.kie.kogito.explainability.api.BaseExplainabilityResult; -diff --git a/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/api/DecisionsApiV1.java b/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/api/DecisionsApiV1.java -index 84f79a4b3..a50d84b2c 100644 ---- a/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/api/DecisionsApiV1.java -+++ b/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/api/DecisionsApiV1.java -@@ -20,12 +20,12 @@ package org.kie.kogito.trusty.service.common.api; - - import java.util.Optional; - --import javax.inject.Inject; --import javax.ws.rs.GET; --import javax.ws.rs.Path; --import javax.ws.rs.Produces; --import javax.ws.rs.core.MediaType; --import javax.ws.rs.core.Response; -+import jakarta.inject.Inject; -+import jakarta.ws.rs.GET; -+import jakarta.ws.rs.Path; -+import jakarta.ws.rs.Produces; -+import jakarta.ws.rs.core.MediaType; -+import jakarta.ws.rs.core.Response; - - import org.eclipse.microprofile.openapi.annotations.Operation; - import org.eclipse.microprofile.openapi.annotations.enums.SchemaType; -diff --git a/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/api/ExecutionsApiV1.java b/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/api/ExecutionsApiV1.java -index c31a31bb8..afbfb2071 100644 ---- a/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/api/ExecutionsApiV1.java -+++ b/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/api/ExecutionsApiV1.java -@@ -29,13 +29,13 @@ import java.util.ArrayList; - import java.util.List; - import java.util.Optional; - --import javax.inject.Inject; --import javax.ws.rs.DefaultValue; --import javax.ws.rs.GET; --import javax.ws.rs.Path; --import javax.ws.rs.Produces; --import javax.ws.rs.core.MediaType; --import javax.ws.rs.core.Response; -+import jakarta.inject.Inject; -+import jakarta.ws.rs.DefaultValue; -+import jakarta.ws.rs.GET; -+import jakarta.ws.rs.Path; -+import jakarta.ws.rs.Produces; -+import jakarta.ws.rs.core.MediaType; -+import jakarta.ws.rs.core.Response; - - import org.eclipse.microprofile.openapi.annotations.Operation; - import org.eclipse.microprofile.openapi.annotations.enums.SchemaType; -diff --git a/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/api/ExplainabilityApiV1.java b/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/api/ExplainabilityApiV1.java -index 5e42440b6..5d7d9067b 100644 ---- a/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/api/ExplainabilityApiV1.java -+++ b/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/api/ExplainabilityApiV1.java -@@ -22,14 +22,14 @@ import java.util.List; - import java.util.Optional; - import java.util.stream.Collectors; - --import javax.inject.Inject; --import javax.ws.rs.Consumes; --import javax.ws.rs.GET; --import javax.ws.rs.POST; --import javax.ws.rs.Path; --import javax.ws.rs.Produces; --import javax.ws.rs.core.MediaType; --import javax.ws.rs.core.Response; -+import jakarta.inject.Inject; -+import jakarta.ws.rs.Consumes; -+import jakarta.ws.rs.GET; -+import jakarta.ws.rs.POST; -+import jakarta.ws.rs.Path; -+import jakarta.ws.rs.Produces; -+import jakarta.ws.rs.core.MediaType; -+import jakarta.ws.rs.core.Response; - - import org.eclipse.microprofile.openapi.annotations.Operation; - import org.eclipse.microprofile.openapi.annotations.enums.SchemaType; -diff --git a/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/handlers/CounterfactualExplainabilityResultsManagerDuplicates.java b/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/handlers/CounterfactualExplainabilityResultsManagerDuplicates.java -index d4068a31a..35725a8d2 100644 ---- a/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/handlers/CounterfactualExplainabilityResultsManagerDuplicates.java -+++ b/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/handlers/CounterfactualExplainabilityResultsManagerDuplicates.java -@@ -22,8 +22,8 @@ import java.util.ArrayList; - import java.util.List; - import java.util.Objects; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import org.kie.kogito.explainability.api.CounterfactualExplainabilityResult; - import org.kie.kogito.persistence.api.Storage; -diff --git a/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/handlers/CounterfactualExplainabilityResultsManagerSlidingWindow.java b/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/handlers/CounterfactualExplainabilityResultsManagerSlidingWindow.java -index b0a361ae5..09fdd44f8 100644 ---- a/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/handlers/CounterfactualExplainabilityResultsManagerSlidingWindow.java -+++ b/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/handlers/CounterfactualExplainabilityResultsManagerSlidingWindow.java -@@ -21,7 +21,7 @@ package org.kie.kogito.trusty.service.common.handlers; - import java.util.ArrayList; - import java.util.List; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - import org.eclipse.microprofile.config.inject.ConfigProperty; - import org.kie.kogito.explainability.api.CounterfactualExplainabilityResult; -diff --git a/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/handlers/CounterfactualExplainerServiceHandler.java b/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/handlers/CounterfactualExplainerServiceHandler.java -index 0c0c73026..3199a033e 100644 ---- a/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/handlers/CounterfactualExplainerServiceHandler.java -+++ b/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/handlers/CounterfactualExplainerServiceHandler.java -@@ -22,8 +22,8 @@ import java.util.Collections; - import java.util.List; - import java.util.Objects; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import org.kie.kogito.explainability.api.BaseExplainabilityResult; - import org.kie.kogito.explainability.api.CounterfactualExplainabilityResult; -diff --git a/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/handlers/ExplainerServiceHandlerRegistry.java b/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/handlers/ExplainerServiceHandlerRegistry.java -index ea0a1a2f9..cd2654a92 100644 ---- a/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/handlers/ExplainerServiceHandlerRegistry.java -+++ b/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/handlers/ExplainerServiceHandlerRegistry.java -@@ -20,10 +20,10 @@ package org.kie.kogito.trusty.service.common.handlers; - - import java.util.Optional; - --import javax.enterprise.context.ApplicationScoped; --import javax.enterprise.inject.Any; --import javax.enterprise.inject.Instance; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.inject.Any; -+import jakarta.enterprise.inject.Instance; -+import jakarta.inject.Inject; - - import org.kie.kogito.explainability.api.BaseExplainabilityResult; - -diff --git a/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/handlers/LIMEExplainerServiceHandler.java b/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/handlers/LIMEExplainerServiceHandler.java -index 19471f3db..10d60d457 100644 ---- a/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/handlers/LIMEExplainerServiceHandler.java -+++ b/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/handlers/LIMEExplainerServiceHandler.java -@@ -18,8 +18,8 @@ - */ - package org.kie.kogito.trusty.service.common.handlers; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import org.kie.kogito.explainability.api.BaseExplainabilityResult; - import org.kie.kogito.explainability.api.LIMEExplainabilityResult; -diff --git a/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/handlers/LIMESaliencyConverter.java b/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/handlers/LIMESaliencyConverter.java -index af3cc0d2c..e111fe77e 100644 ---- a/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/handlers/LIMESaliencyConverter.java -+++ b/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/handlers/LIMESaliencyConverter.java -@@ -24,8 +24,8 @@ import java.util.Map; - import java.util.Objects; - import java.util.stream.Collectors; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import org.kie.kogito.explainability.api.LIMEExplainabilityResult; - import org.kie.kogito.explainability.api.SaliencyModel; -diff --git a/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/messaging/incoming/ExplainabilityResultConsumer.java b/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/messaging/incoming/ExplainabilityResultConsumer.java -index 7d238766e..81c5aaf71 100644 ---- a/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/messaging/incoming/ExplainabilityResultConsumer.java -+++ b/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/messaging/incoming/ExplainabilityResultConsumer.java -@@ -21,8 +21,8 @@ package org.kie.kogito.trusty.service.common.messaging.incoming; - import java.util.concurrent.CompletableFuture; - import java.util.concurrent.CompletionStage; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import org.eclipse.microprofile.context.ManagedExecutor; - import org.eclipse.microprofile.reactive.messaging.Incoming; -diff --git a/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/messaging/incoming/ModelEventConsumer.java b/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/messaging/incoming/ModelEventConsumer.java -index c1518e8fa..ffcf871c5 100644 ---- a/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/messaging/incoming/ModelEventConsumer.java -+++ b/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/messaging/incoming/ModelEventConsumer.java -@@ -21,8 +21,8 @@ package org.kie.kogito.trusty.service.common.messaging.incoming; - import java.util.concurrent.CompletableFuture; - import java.util.concurrent.CompletionStage; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import org.eclipse.microprofile.context.ManagedExecutor; - import org.eclipse.microprofile.reactive.messaging.Incoming; -diff --git a/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/messaging/incoming/TraceEventConsumer.java b/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/messaging/incoming/TraceEventConsumer.java -index 24ef1da19..cd0419710 100644 ---- a/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/messaging/incoming/TraceEventConsumer.java -+++ b/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/messaging/incoming/TraceEventConsumer.java -@@ -21,8 +21,8 @@ package org.kie.kogito.trusty.service.common.messaging.incoming; - import java.util.concurrent.CompletableFuture; - import java.util.concurrent.CompletionStage; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import org.eclipse.microprofile.context.ManagedExecutor; - import org.eclipse.microprofile.reactive.messaging.Incoming; -diff --git a/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/messaging/outgoing/ExplainabilityRequestProducer.java b/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/messaging/outgoing/ExplainabilityRequestProducer.java -index 87bd4862f..879931c81 100644 ---- a/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/messaging/outgoing/ExplainabilityRequestProducer.java -+++ b/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/messaging/outgoing/ExplainabilityRequestProducer.java -@@ -21,7 +21,7 @@ package org.kie.kogito.trusty.service.common.messaging.outgoing; - import java.net.URI; - import java.util.Optional; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - import org.eclipse.microprofile.reactive.messaging.Outgoing; - import org.kie.kogito.event.cloudevents.utils.CloudEventUtils; -diff --git a/trusty/trusty-service/trusty-service-common/src/test/java/org/kie/kogito/trusty/service/common/AbstractTrustyServiceIT.java b/trusty/trusty-service/trusty-service-common/src/test/java/org/kie/kogito/trusty/service/common/AbstractTrustyServiceIT.java -index df11cf48a..0783967a5 100644 ---- a/trusty/trusty-service/trusty-service-common/src/test/java/org/kie/kogito/trusty/service/common/AbstractTrustyServiceIT.java -+++ b/trusty/trusty-service/trusty-service-common/src/test/java/org/kie/kogito/trusty/service/common/AbstractTrustyServiceIT.java -@@ -26,7 +26,7 @@ import java.util.Collection; - import java.util.Collections; - import java.util.List; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.junit.jupiter.api.Assertions; - import org.junit.jupiter.api.BeforeEach; -diff --git a/trusty/trusty-service/trusty-service-common/src/test/java/org/kie/kogito/trusty/service/common/CacheManagerServiceMock.java b/trusty/trusty-service/trusty-service-common/src/test/java/org/kie/kogito/trusty/service/common/CacheManagerServiceMock.java -index adcb55291..607d21bcc 100644 ---- a/trusty/trusty-service/trusty-service-common/src/test/java/org/kie/kogito/trusty/service/common/CacheManagerServiceMock.java -+++ b/trusty/trusty-service/trusty-service-common/src/test/java/org/kie/kogito/trusty/service/common/CacheManagerServiceMock.java -@@ -18,7 +18,7 @@ - */ - package org.kie.kogito.trusty.service.common; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - import org.kie.kogito.persistence.api.Storage; - import org.kie.kogito.persistence.api.StorageService; -diff --git a/trusty/trusty-service/trusty-service-common/src/test/java/org/kie/kogito/trusty/service/common/StorageExceptionsProviderMock.java b/trusty/trusty-service/trusty-service-common/src/test/java/org/kie/kogito/trusty/service/common/StorageExceptionsProviderMock.java -index bf99e6d1d..9a8797bd1 100644 ---- a/trusty/trusty-service/trusty-service-common/src/test/java/org/kie/kogito/trusty/service/common/StorageExceptionsProviderMock.java -+++ b/trusty/trusty-service/trusty-service-common/src/test/java/org/kie/kogito/trusty/service/common/StorageExceptionsProviderMock.java -@@ -18,7 +18,7 @@ - */ - package org.kie.kogito.trusty.service.common; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - import org.kie.kogito.trusty.storage.api.StorageExceptionsProvider; - -diff --git a/trusty/trusty-service/trusty-service-common/src/test/java/org/kie/kogito/trusty/service/common/TrustyServiceTest.java b/trusty/trusty-service/trusty-service-common/src/test/java/org/kie/kogito/trusty/service/common/TrustyServiceTest.java -index df6a168f1..16a27996a 100644 ---- a/trusty/trusty-service/trusty-service-common/src/test/java/org/kie/kogito/trusty/service/common/TrustyServiceTest.java -+++ b/trusty/trusty-service/trusty-service-common/src/test/java/org/kie/kogito/trusty/service/common/TrustyServiceTest.java -@@ -27,7 +27,7 @@ import java.util.UUID; - import java.util.stream.IntStream; - import java.util.stream.Stream; - --import javax.enterprise.inject.Instance; -+import jakarta.enterprise.inject.Instance; - - import org.junit.jupiter.api.Assertions; - import org.junit.jupiter.api.BeforeEach; -diff --git a/trusty/trusty-service/trusty-service-common/src/test/java/org/kie/kogito/trusty/service/common/api/ExplainabilityApiV1IT.java b/trusty/trusty-service/trusty-service-common/src/test/java/org/kie/kogito/trusty/service/common/api/ExplainabilityApiV1IT.java -index d9b6e4cff..f1868a817 100644 ---- a/trusty/trusty-service/trusty-service-common/src/test/java/org/kie/kogito/trusty/service/common/api/ExplainabilityApiV1IT.java -+++ b/trusty/trusty-service/trusty-service-common/src/test/java/org/kie/kogito/trusty/service/common/api/ExplainabilityApiV1IT.java -@@ -26,7 +26,7 @@ import java.util.List; - import java.util.Map; - import java.util.stream.Collectors; - --import javax.ws.rs.core.MediaType; -+import jakarta.ws.rs.core.MediaType; - - import org.apache.commons.lang3.builder.CompareToBuilder; - import org.junit.jupiter.api.Test; -diff --git a/trusty/trusty-service/trusty-service-common/src/test/java/org/kie/kogito/trusty/service/common/api/ExplainabilityApiV1Test.java b/trusty/trusty-service/trusty-service-common/src/test/java/org/kie/kogito/trusty/service/common/api/ExplainabilityApiV1Test.java -index 851ec1f1d..57848b88e 100644 ---- a/trusty/trusty-service/trusty-service-common/src/test/java/org/kie/kogito/trusty/service/common/api/ExplainabilityApiV1Test.java -+++ b/trusty/trusty-service/trusty-service-common/src/test/java/org/kie/kogito/trusty/service/common/api/ExplainabilityApiV1Test.java -@@ -21,7 +21,7 @@ package org.kie.kogito.trusty.service.common.api; - import java.util.Collections; - import java.util.List; - --import javax.ws.rs.core.Response; -+import jakarta.ws.rs.core.Response; - - import org.junit.jupiter.api.BeforeAll; - import org.junit.jupiter.api.BeforeEach; -diff --git a/trusty/trusty-service/trusty-service-common/src/test/java/org/kie/kogito/trusty/service/common/handlers/ExplainerServiceHandlerRegistryTest.java b/trusty/trusty-service/trusty-service-common/src/test/java/org/kie/kogito/trusty/service/common/handlers/ExplainerServiceHandlerRegistryTest.java -index b4a3614be..d7a4a5204 100644 ---- a/trusty/trusty-service/trusty-service-common/src/test/java/org/kie/kogito/trusty/service/common/handlers/ExplainerServiceHandlerRegistryTest.java -+++ b/trusty/trusty-service/trusty-service-common/src/test/java/org/kie/kogito/trusty/service/common/handlers/ExplainerServiceHandlerRegistryTest.java -@@ -21,7 +21,7 @@ package org.kie.kogito.trusty.service.common.handlers; - import java.util.List; - import java.util.stream.Stream; - --import javax.enterprise.inject.Instance; -+import jakarta.enterprise.inject.Instance; - - import org.junit.jupiter.api.BeforeEach; - import org.junit.jupiter.api.Test; -diff --git a/trusty/trusty-service/trusty-service-common/src/test/java/org/kie/kogito/trusty/service/common/messaging/incoming/AbstractModelEventConsumerIT.java b/trusty/trusty-service/trusty-service-common/src/test/java/org/kie/kogito/trusty/service/common/messaging/incoming/AbstractModelEventConsumerIT.java -index a3abced09..ab482651c 100644 ---- a/trusty/trusty-service/trusty-service-common/src/test/java/org/kie/kogito/trusty/service/common/messaging/incoming/AbstractModelEventConsumerIT.java -+++ b/trusty/trusty-service/trusty-service-common/src/test/java/org/kie/kogito/trusty/service/common/messaging/incoming/AbstractModelEventConsumerIT.java -@@ -18,7 +18,7 @@ - */ - package org.kie.kogito.trusty.service.common.messaging.incoming; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.eclipse.microprofile.config.inject.ConfigProperty; - import org.junit.jupiter.api.AfterEach; -diff --git a/trusty/trusty-service/trusty-service-common/src/test/java/org/kie/kogito/trusty/service/common/messaging/incoming/AbstractTraceEventConsumerIT.java b/trusty/trusty-service/trusty-service-common/src/test/java/org/kie/kogito/trusty/service/common/messaging/incoming/AbstractTraceEventConsumerIT.java -index 2cab3ca97..5f7c2c970 100644 ---- a/trusty/trusty-service/trusty-service-common/src/test/java/org/kie/kogito/trusty/service/common/messaging/incoming/AbstractTraceEventConsumerIT.java -+++ b/trusty/trusty-service/trusty-service-common/src/test/java/org/kie/kogito/trusty/service/common/messaging/incoming/AbstractTraceEventConsumerIT.java -@@ -18,7 +18,7 @@ - */ - package org.kie.kogito.trusty.service.common.messaging.incoming; - --import javax.inject.Inject; -+import jakarta.inject.Inject; - - import org.eclipse.microprofile.config.inject.ConfigProperty; - import org.json.JSONException; -diff --git a/trusty/trusty-service/trusty-service-common/src/test/java/org/kie/kogito/trusty/service/common/messaging/incoming/ExplainabilityResultConsumerTest.java b/trusty/trusty-service/trusty-service-common/src/test/java/org/kie/kogito/trusty/service/common/messaging/incoming/ExplainabilityResultConsumerTest.java -index ac7ead7d3..8e6c9b2f8 100644 ---- a/trusty/trusty-service/trusty-service-common/src/test/java/org/kie/kogito/trusty/service/common/messaging/incoming/ExplainabilityResultConsumerTest.java -+++ b/trusty/trusty-service/trusty-service-common/src/test/java/org/kie/kogito/trusty/service/common/messaging/incoming/ExplainabilityResultConsumerTest.java -@@ -22,7 +22,7 @@ import java.net.URI; - import java.time.Duration; - import java.util.stream.Stream; - --import javax.enterprise.inject.Instance; -+import jakarta.enterprise.inject.Instance; - - import org.apache.commons.lang3.builder.CompareToBuilder; - import org.awaitility.Awaitility; -diff --git a/trusty/trusty-service/trusty-service-common/src/test/java/org/kie/kogito/trusty/service/common/mocks/StorageImplMock.java b/trusty/trusty-service/trusty-service-common/src/test/java/org/kie/kogito/trusty/service/common/mocks/StorageImplMock.java -index a045439cb..c32b031fa 100644 ---- a/trusty/trusty-service/trusty-service-common/src/test/java/org/kie/kogito/trusty/service/common/mocks/StorageImplMock.java -+++ b/trusty/trusty-service/trusty-service-common/src/test/java/org/kie/kogito/trusty/service/common/mocks/StorageImplMock.java -@@ -21,7 +21,7 @@ package org.kie.kogito.trusty.service.common.mocks; - import java.util.HashMap; - import java.util.Map; - --import javax.ws.rs.NotFoundException; -+import jakarta.ws.rs.NotFoundException; - - import org.kie.kogito.persistence.api.Storage; - import org.kie.kogito.persistence.api.query.Query; -diff --git a/trusty/trusty-service/trusty-service-infinispan/src/test/java/org/kie/kogito/trusty/service/infinispan/NativeInfinispanTrustyServiceIT.java b/trusty/trusty-service/trusty-service-infinispan/src/test/java/org/kie/kogito/trusty/service/infinispan/NativeInfinispanTrustyServiceIT.java -index ea32a4820..69d2cd0de 100644 ---- a/trusty/trusty-service/trusty-service-infinispan/src/test/java/org/kie/kogito/trusty/service/infinispan/NativeInfinispanTrustyServiceIT.java -+++ b/trusty/trusty-service/trusty-service-infinispan/src/test/java/org/kie/kogito/trusty/service/infinispan/NativeInfinispanTrustyServiceIT.java -@@ -22,12 +22,12 @@ import org.junit.jupiter.api.Test; - import org.kie.kogito.testcontainers.quarkus.InfinispanQuarkusTestResource; - - import io.quarkus.test.common.QuarkusTestResource; --import io.quarkus.test.junit.NativeImageTest; -+import io.quarkus.test.junit.QuarkusIntegrationTest; - - import static io.restassured.RestAssured.given; - import static org.hamcrest.CoreMatchers.is; - --@NativeImageTest -+@QuarkusIntegrationTest - @QuarkusTestResource(InfinispanQuarkusTestResource.class) - public class NativeInfinispanTrustyServiceIT { - -diff --git a/trusty/trusty-storage/trusty-storage-api/src/main/java/org/kie/kogito/trusty/storage/api/model/Execution.java b/trusty/trusty-storage/trusty-storage-api/src/main/java/org/kie/kogito/trusty/storage/api/model/Execution.java -index 0adc748c4..76674607f 100644 ---- a/trusty/trusty-storage/trusty-storage-api/src/main/java/org/kie/kogito/trusty/storage/api/model/Execution.java -+++ b/trusty/trusty-storage/trusty-storage-api/src/main/java/org/kie/kogito/trusty/storage/api/model/Execution.java -@@ -20,7 +20,7 @@ package org.kie.kogito.trusty.storage.api.model; - - import java.util.Objects; - --import javax.validation.constraints.NotNull; -+import jakarta.validation.constraints.NotNull; - - import org.kie.kogito.ModelDomain; - import org.kie.kogito.trusty.storage.api.model.decision.Decision; -diff --git a/trusty/trusty-storage/trusty-storage-api/src/main/java/org/kie/kogito/trusty/storage/api/model/decision/Decision.java b/trusty/trusty-storage/trusty-storage-api/src/main/java/org/kie/kogito/trusty/storage/api/model/decision/Decision.java -index 0e2f88c30..0d685d034 100644 ---- a/trusty/trusty-storage/trusty-storage-api/src/main/java/org/kie/kogito/trusty/storage/api/model/decision/Decision.java -+++ b/trusty/trusty-storage/trusty-storage-api/src/main/java/org/kie/kogito/trusty/storage/api/model/decision/Decision.java -@@ -21,7 +21,7 @@ package org.kie.kogito.trusty.storage.api.model.decision; - import java.util.Collection; - import java.util.List; - --import javax.validation.constraints.NotNull; -+import jakarta.validation.constraints.NotNull; - - import org.kie.kogito.ModelDomain; - import org.kie.kogito.trusty.storage.api.model.Execution; -diff --git a/trusty/trusty-storage/trusty-storage-api/src/main/java/org/kie/kogito/trusty/storage/api/model/process/Process.java b/trusty/trusty-storage/trusty-storage-api/src/main/java/org/kie/kogito/trusty/storage/api/model/process/Process.java -index 3dd0d6d2c..c6b63b4a7 100644 ---- a/trusty/trusty-storage/trusty-storage-api/src/main/java/org/kie/kogito/trusty/storage/api/model/process/Process.java -+++ b/trusty/trusty-storage/trusty-storage-api/src/main/java/org/kie/kogito/trusty/storage/api/model/process/Process.java -@@ -21,7 +21,7 @@ package org.kie.kogito.trusty.storage.api.model.process; - import java.util.Collection; - import java.util.List; - --import javax.validation.constraints.NotNull; -+import jakarta.validation.constraints.NotNull; - - import org.kie.kogito.ModelDomain; - import org.kie.kogito.trusty.storage.api.model.Execution; -diff --git a/trusty/trusty-storage/trusty-storage-common/src/main/java/org/kie/kogito/trusty/storage/common/TrustyStorageServiceImpl.java b/trusty/trusty-storage/trusty-storage-common/src/main/java/org/kie/kogito/trusty/storage/common/TrustyStorageServiceImpl.java -index 5b466b32c..1062295ad 100644 ---- a/trusty/trusty-storage/trusty-storage-common/src/main/java/org/kie/kogito/trusty/storage/common/TrustyStorageServiceImpl.java -+++ b/trusty/trusty-storage/trusty-storage-common/src/main/java/org/kie/kogito/trusty/storage/common/TrustyStorageServiceImpl.java -@@ -18,8 +18,8 @@ - */ - package org.kie.kogito.trusty.storage.common; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import org.kie.kogito.explainability.api.CounterfactualExplainabilityRequest; - import org.kie.kogito.explainability.api.CounterfactualExplainabilityResult; -diff --git a/trusty/trusty-storage/trusty-storage-infinispan/src/main/java/org/kie/kogito/trusty/storage/infinispan/InfinispanStorageExceptionsProviderImpl.java b/trusty/trusty-storage/trusty-storage-infinispan/src/main/java/org/kie/kogito/trusty/storage/infinispan/InfinispanStorageExceptionsProviderImpl.java -index 4019b0015..f9d5eed48 100644 ---- a/trusty/trusty-storage/trusty-storage-infinispan/src/main/java/org/kie/kogito/trusty/storage/infinispan/InfinispanStorageExceptionsProviderImpl.java -+++ b/trusty/trusty-storage/trusty-storage-infinispan/src/main/java/org/kie/kogito/trusty/storage/infinispan/InfinispanStorageExceptionsProviderImpl.java -@@ -18,7 +18,7 @@ - */ - package org.kie.kogito.trusty.storage.infinispan; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - import org.infinispan.client.hotrod.exceptions.HotRodClientException; - import org.kie.kogito.trusty.storage.api.StorageExceptionsProvider; -diff --git a/trusty/trusty-storage/trusty-storage-infinispan/src/main/java/org/kie/kogito/trusty/storage/infinispan/ProtostreamProducer.java b/trusty/trusty-storage/trusty-storage-infinispan/src/main/java/org/kie/kogito/trusty/storage/infinispan/ProtostreamProducer.java -index 46d7c5993..0fd3f3c45 100644 ---- a/trusty/trusty-storage/trusty-storage-infinispan/src/main/java/org/kie/kogito/trusty/storage/infinispan/ProtostreamProducer.java -+++ b/trusty/trusty-storage/trusty-storage-infinispan/src/main/java/org/kie/kogito/trusty/storage/infinispan/ProtostreamProducer.java -@@ -20,9 +20,9 @@ package org.kie.kogito.trusty.storage.infinispan; - - import java.io.IOException; - --import javax.enterprise.context.ApplicationScoped; --import javax.enterprise.inject.Produces; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.inject.Produces; -+import jakarta.inject.Inject; - - import org.infinispan.protostream.FileDescriptorSource; - -diff --git a/trusty/trusty-storage/trusty-storage-postgresql/src/main/java/org/kie/kogito/trusty/storage/postgresql/BaseTransactionalStorage.java b/trusty/trusty-storage/trusty-storage-postgresql/src/main/java/org/kie/kogito/trusty/storage/postgresql/BaseTransactionalStorage.java -index 34d80b0ca..bdc667512 100644 ---- a/trusty/trusty-storage/trusty-storage-postgresql/src/main/java/org/kie/kogito/trusty/storage/postgresql/BaseTransactionalStorage.java -+++ b/trusty/trusty-storage/trusty-storage-postgresql/src/main/java/org/kie/kogito/trusty/storage/postgresql/BaseTransactionalStorage.java -@@ -20,7 +20,7 @@ package org.kie.kogito.trusty.storage.postgresql; - - import java.util.Map; - --import javax.transaction.Transactional; -+import jakarta.transaction.Transactional; - - import org.kie.kogito.persistence.api.Storage; - import org.kie.kogito.persistence.api.query.Query; -diff --git a/trusty/trusty-storage/trusty-storage-postgresql/src/main/java/org/kie/kogito/trusty/storage/postgresql/CounterfactualRequestsStorage.java b/trusty/trusty-storage/trusty-storage-postgresql/src/main/java/org/kie/kogito/trusty/storage/postgresql/CounterfactualRequestsStorage.java -index 5d864d679..557a3fd60 100644 ---- a/trusty/trusty-storage/trusty-storage-postgresql/src/main/java/org/kie/kogito/trusty/storage/postgresql/CounterfactualRequestsStorage.java -+++ b/trusty/trusty-storage/trusty-storage-postgresql/src/main/java/org/kie/kogito/trusty/storage/postgresql/CounterfactualRequestsStorage.java -@@ -18,8 +18,8 @@ - */ - package org.kie.kogito.trusty.storage.postgresql; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import org.kie.kogito.explainability.api.CounterfactualExplainabilityRequest; - import org.kie.kogito.persistence.postgresql.model.CacheEntityRepository; -diff --git a/trusty/trusty-storage/trusty-storage-postgresql/src/main/java/org/kie/kogito/trusty/storage/postgresql/CounterfactualResultsStorage.java b/trusty/trusty-storage/trusty-storage-postgresql/src/main/java/org/kie/kogito/trusty/storage/postgresql/CounterfactualResultsStorage.java -index 5d32a751d..bfecf64ff 100644 ---- a/trusty/trusty-storage/trusty-storage-postgresql/src/main/java/org/kie/kogito/trusty/storage/postgresql/CounterfactualResultsStorage.java -+++ b/trusty/trusty-storage/trusty-storage-postgresql/src/main/java/org/kie/kogito/trusty/storage/postgresql/CounterfactualResultsStorage.java -@@ -18,8 +18,8 @@ - */ - package org.kie.kogito.trusty.storage.postgresql; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import org.kie.kogito.explainability.api.CounterfactualExplainabilityResult; - import org.kie.kogito.persistence.postgresql.model.CacheEntityRepository; -diff --git a/trusty/trusty-storage/trusty-storage-postgresql/src/main/java/org/kie/kogito/trusty/storage/postgresql/DMNModelWithMetadataStorage.java b/trusty/trusty-storage/trusty-storage-postgresql/src/main/java/org/kie/kogito/trusty/storage/postgresql/DMNModelWithMetadataStorage.java -index d65c93d5b..b82edfa73 100644 ---- a/trusty/trusty-storage/trusty-storage-postgresql/src/main/java/org/kie/kogito/trusty/storage/postgresql/DMNModelWithMetadataStorage.java -+++ b/trusty/trusty-storage/trusty-storage-postgresql/src/main/java/org/kie/kogito/trusty/storage/postgresql/DMNModelWithMetadataStorage.java -@@ -18,8 +18,8 @@ - */ - package org.kie.kogito.trusty.storage.postgresql; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import org.kie.kogito.persistence.postgresql.model.CacheEntityRepository; - import org.kie.kogito.trusty.storage.api.model.decision.DMNModelWithMetadata; -diff --git a/trusty/trusty-storage/trusty-storage-postgresql/src/main/java/org/kie/kogito/trusty/storage/postgresql/DecisionsStorage.java b/trusty/trusty-storage/trusty-storage-postgresql/src/main/java/org/kie/kogito/trusty/storage/postgresql/DecisionsStorage.java -index 088ac2254..ec0e3ef40 100644 ---- a/trusty/trusty-storage/trusty-storage-postgresql/src/main/java/org/kie/kogito/trusty/storage/postgresql/DecisionsStorage.java -+++ b/trusty/trusty-storage/trusty-storage-postgresql/src/main/java/org/kie/kogito/trusty/storage/postgresql/DecisionsStorage.java -@@ -18,8 +18,8 @@ - */ - package org.kie.kogito.trusty.storage.postgresql; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import org.kie.kogito.persistence.postgresql.model.CacheEntityRepository; - import org.kie.kogito.trusty.storage.api.model.decision.Decision; -diff --git a/trusty/trusty-storage/trusty-storage-postgresql/src/main/java/org/kie/kogito/trusty/storage/postgresql/LIMEResultsStorage.java b/trusty/trusty-storage/trusty-storage-postgresql/src/main/java/org/kie/kogito/trusty/storage/postgresql/LIMEResultsStorage.java -index 4a9682177..26f9859c5 100644 ---- a/trusty/trusty-storage/trusty-storage-postgresql/src/main/java/org/kie/kogito/trusty/storage/postgresql/LIMEResultsStorage.java -+++ b/trusty/trusty-storage/trusty-storage-postgresql/src/main/java/org/kie/kogito/trusty/storage/postgresql/LIMEResultsStorage.java -@@ -18,8 +18,8 @@ - */ - package org.kie.kogito.trusty.storage.postgresql; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import org.kie.kogito.explainability.api.LIMEExplainabilityResult; - import org.kie.kogito.persistence.postgresql.model.CacheEntityRepository; -diff --git a/trusty/trusty-storage/trusty-storage-postgresql/src/main/java/org/kie/kogito/trusty/storage/postgresql/PostgreSQLStorageExceptionsProviderImpl.java b/trusty/trusty-storage/trusty-storage-postgresql/src/main/java/org/kie/kogito/trusty/storage/postgresql/PostgreSQLStorageExceptionsProviderImpl.java -index 84708d27b..3ac411891 100644 ---- a/trusty/trusty-storage/trusty-storage-postgresql/src/main/java/org/kie/kogito/trusty/storage/postgresql/PostgreSQLStorageExceptionsProviderImpl.java -+++ b/trusty/trusty-storage/trusty-storage-postgresql/src/main/java/org/kie/kogito/trusty/storage/postgresql/PostgreSQLStorageExceptionsProviderImpl.java -@@ -18,7 +18,7 @@ - */ - package org.kie.kogito.trusty.storage.postgresql; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - import org.hibernate.exception.JDBCConnectionException; - import org.kie.kogito.trusty.storage.api.StorageExceptionsProvider; -diff --git a/trusty/trusty-storage/trusty-storage-postgresql/src/main/java/org/kie/kogito/trusty/storage/postgresql/PostgresStorageService.java b/trusty/trusty-storage/trusty-storage-postgresql/src/main/java/org/kie/kogito/trusty/storage/postgresql/PostgresStorageService.java -index 7e78902a8..6e174a82a 100644 ---- a/trusty/trusty-storage/trusty-storage-postgresql/src/main/java/org/kie/kogito/trusty/storage/postgresql/PostgresStorageService.java -+++ b/trusty/trusty-storage/trusty-storage-postgresql/src/main/java/org/kie/kogito/trusty/storage/postgresql/PostgresStorageService.java -@@ -18,8 +18,8 @@ - */ - package org.kie.kogito.trusty.storage.postgresql; - --import javax.enterprise.context.ApplicationScoped; --import javax.inject.Inject; -+import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.inject.Inject; - - import org.kie.kogito.explainability.api.CounterfactualExplainabilityRequest; - import org.kie.kogito.explainability.api.CounterfactualExplainabilityResult; -diff --git a/trusty/trusty-storage/trusty-storage-redis/src/main/java/org/kie/kogito/trusty/storage/redis/IndexProvider.java b/trusty/trusty-storage/trusty-storage-redis/src/main/java/org/kie/kogito/trusty/storage/redis/IndexProvider.java -index c27f0f914..a4e939c89 100644 ---- a/trusty/trusty-storage/trusty-storage-redis/src/main/java/org/kie/kogito/trusty/storage/redis/IndexProvider.java -+++ b/trusty/trusty-storage/trusty-storage-redis/src/main/java/org/kie/kogito/trusty/storage/redis/IndexProvider.java -@@ -18,10 +18,10 @@ - */ - package org.kie.kogito.trusty.storage.redis; - --import javax.annotation.PostConstruct; --import javax.inject.Inject; --import javax.inject.Singleton; -+import jakarta.inject.Inject; -+import jakarta.inject.Singleton; - -+import jakarta.annotation.PostConstruct; - import org.kie.kogito.explainability.api.CounterfactualExplainabilityResult; - import org.kie.kogito.persistence.redis.index.RedisCreateIndexEvent; - import org.kie.kogito.persistence.redis.index.RedisIndexManager; -diff --git a/trusty/trusty-storage/trusty-storage-redis/src/main/java/org/kie/kogito/trusty/storage/redis/RedisStorageExceptionsProviderImpl.java b/trusty/trusty-storage/trusty-storage-redis/src/main/java/org/kie/kogito/trusty/storage/redis/RedisStorageExceptionsProviderImpl.java -index a76720612..a5433220a 100644 ---- a/trusty/trusty-storage/trusty-storage-redis/src/main/java/org/kie/kogito/trusty/storage/redis/RedisStorageExceptionsProviderImpl.java -+++ b/trusty/trusty-storage/trusty-storage-redis/src/main/java/org/kie/kogito/trusty/storage/redis/RedisStorageExceptionsProviderImpl.java -@@ -18,7 +18,7 @@ - */ - package org.kie.kogito.trusty.storage.redis; - --import javax.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.context.ApplicationScoped; - - import org.kie.kogito.trusty.storage.api.StorageExceptionsProvider; - diff --git a/.ci/environments/quarkus-3/patches/0002_hibernate_changes.patch b/.ci/environments/quarkus-3/patches/0002_hibernate_changes.patch deleted file mode 100644 index edbb393ae0..0000000000 --- a/.ci/environments/quarkus-3/patches/0002_hibernate_changes.patch +++ /dev/null @@ -1,1218 +0,0 @@ -diff --git a/apps-integration-tests/integration-tests-data-index-service/integration-tests-data-index-service-common/src/test/java/org/kie/kogito/index/AbstractProcessDataIndexIT.java b/apps-integration-tests/integration-tests-data-index-service/integration-tests-data-index-service-common/src/test/java/org/kie/kogito/index/AbstractProcessDataIndexIT.java -index 72aebeb09..ee13a5625 100644 ---- a/apps-integration-tests/integration-tests-data-index-service/integration-tests-data-index-service-common/src/test/java/org/kie/kogito/index/AbstractProcessDataIndexIT.java -+++ b/apps-integration-tests/integration-tests-data-index-service/integration-tests-data-index-service-common/src/test/java/org/kie/kogito/index/AbstractProcessDataIndexIT.java -@@ -206,7 +206,7 @@ public abstract class AbstractProcessDataIndexIT { - .get("/approvals/{processId}/tasks") - .then() - .statusCode(200) -- .body("$.size()", is(1)) -+ .body("size()", is(1)) - .body("[0].name", is("secondLineApproval")) - .body("[0].id", notNullValue()) - .extract() -@@ -473,7 +473,7 @@ public abstract class AbstractProcessDataIndexIT { - .get("/approvals/{id}/firstLineApproval/{taskId}/comments") - .then() - .statusCode(200) -- .body("$.size()", is(1)) -+ .body("size()", is(1)) - .body("[0].content", is(commentContent))); - - await() -@@ -584,7 +584,7 @@ public abstract class AbstractProcessDataIndexIT { - .get("/approvals/{id}/firstLineApproval/{taskId}/attachments") - .then() - .statusCode(200) -- .body("$.size()", is(1)) -+ .body("size()", is(1)) - .body("[0].name", is(attachmentName))); - - AtomicReference> attachmentMapRef = new AtomicReference<>(); -diff --git a/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/GraphQLUtils.java b/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/GraphQLUtils.java -index 5109b4e11..a7ec15508 100644 ---- a/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/GraphQLUtils.java -+++ b/data-index/data-index-service/data-index-service-common/src/test/java/org/kie/kogito/index/service/GraphQLUtils.java -@@ -51,8 +51,27 @@ import static org.kie.kogito.index.json.JsonUtils.getObjectMapper; - - public class GraphQLUtils { - -+ private static final String ID = "id"; -+ private static final String VERSION = "version"; -+ private static final String STATE = "state"; -+ private static final String START = "start"; -+ private static final String PROCESS_ID = "processId"; -+ private static final String PARENT_PROCESS_INSTANCE_ID = "parentProcessInstanceId"; -+ private static final String IS_NULL = "isNull"; -+ private static final String NODE = "node"; -+ private static final String MILESTONE = "milestone"; -+ private static final String ADDON = "addon"; -+ private static final String STATUS = "status"; -+ private static final String BUSSINES_KEY = "bk"; -+ private static final String IDENT = "ident"; -+ private static final String ACTUAL_OWNER = "actualOwner"; -+ private static final String STARTED = "started"; -+ private static final String COMPLETED = "completed"; -+ private static final String POTENTIAL_GROUPS = "potentialGroups"; -+ private static final String POTENTIAL_USERS = "potentialUsers"; -+ - private static final Logger LOGGER = LoggerFactory.getLogger(GraphQLUtils.class); -- private static final Map QUERY_FIELDS = new HashMap<>(); -+ private static final Map, String> QUERY_FIELDS = new HashMap<>(); - private static final Map QUERIES = new HashMap<>(); - - static { -@@ -77,115 +96,115 @@ public class GraphQLUtils { - } - - public static String getProcessDefinitionByIdAndVersion(String id, String version) { -- return getProcessDefinitionQuery("ProcessDefinitionByIdAndVersion", id, version); -+ return getProcessDefinitionQuery("ProcessDefinitionByIdAndVersion", Map.of(ID, id, VERSION, version)); - } - - public static String getProcessInstanceById(String id) { -- return getProcessInstanceQuery("ProcessInstanceById", id); -+ return getProcessInstanceQuery("ProcessInstanceById", Map.of(ID, id)); - } - - public static String getProcessInstanceByIdAndState(String id, ProcessInstanceState state) { -- return getProcessInstanceQuery("ProcessInstanceByIdAndState", id, state.name()); -+ return getProcessInstanceQuery("ProcessInstanceByIdAndState", Map.of(ID, id, STATE, state.name())); - } - - public static String getProcessInstanceByIdAndStart(String id, String start) { -- return getProcessInstanceQuery("ProcessInstanceByIdAndStart", id, start); -+ return getProcessInstanceQuery("ProcessInstanceByIdAndStart", Map.of(ID, id, START, start)); - } - - public static String getProcessInstanceByIdAndProcessId(String id, String processId) { -- return getProcessInstanceQuery("ProcessInstanceByIdAndProcessId", id, processId); -+ return getProcessInstanceQuery("ProcessInstanceByIdAndProcessId", Map.of(ID, id, PROCESS_ID, processId)); - } - - public static String getProcessInstanceByIdAndParentProcessInstanceId(String id, String parentProcessInstanceId) { -- return getProcessInstanceQuery("ProcessInstanceByIdAndParentProcessInstanceId", id, parentProcessInstanceId); -+ return getProcessInstanceQuery("ProcessInstanceByIdAndParentProcessInstanceId", Map.of(ID, id, PARENT_PROCESS_INSTANCE_ID, parentProcessInstanceId)); - } - - public static String getProcessInstanceByParentProcessInstanceId(String parentProcessInstanceId) { -- return getProcessInstanceQuery("ProcessInstanceByParentProcessInstanceId", parentProcessInstanceId); -+ return getProcessInstanceQuery("ProcessInstanceByParentProcessInstanceId", Map.of(PARENT_PROCESS_INSTANCE_ID, parentProcessInstanceId)); - } - - public static String getProcessInstanceByIdAndNullParentProcessInstanceId(String id, Boolean isNull) { -- return getProcessInstanceQuery("ProcessInstanceByIdAndNullParentProcessInstanceId", id, isNull.toString()); -+ return getProcessInstanceQuery("ProcessInstanceByIdAndNullParentProcessInstanceId", Map.of(ID, id, IS_NULL, isNull)); - } - - public static String getProcessInstanceByIdAndNullRootProcessInstanceId(String id, Boolean isNull) { -- return getProcessInstanceQuery("ProcessInstanceByIdAndNullRootProcessInstanceId", id, isNull.toString()); -+ return getProcessInstanceQuery("ProcessInstanceByIdAndNullRootProcessInstanceId", Map.of(ID, id, IS_NULL, isNull)); - } - - public static String getProcessInstanceByRootProcessInstanceId(String rootProcessInstanceId) { -- return getProcessInstanceQuery("ProcessInstanceByRootProcessInstanceId", rootProcessInstanceId); -+ return getProcessInstanceQuery("ProcessInstanceByRootProcessInstanceId", Map.of(ID, rootProcessInstanceId)); - } - - public static String getProcessInstanceByIdAndErrorNode(String id, String nodeDefinitionId) { -- return getProcessInstanceQuery("ProcessInstanceByIdAndErrorNode", id, nodeDefinitionId); -+ return getProcessInstanceQuery("ProcessInstanceByIdAndErrorNode", Map.of(ID, id, NODE, nodeDefinitionId)); - } - - public static String getProcessInstanceByIdAndAddon(String id, String addon) { -- return getProcessInstanceQuery("ProcessInstanceByIdAndAddon", id, addon); -+ return getProcessInstanceQuery("ProcessInstanceByIdAndAddon", Map.of(ID, id, ADDON, addon)); - } - - public static String getProcessInstanceByIdAndMilestoneName(String id, String milestone) { -- return getProcessInstanceQuery("ProcessInstanceByIdAndMilestoneName", id, milestone); -+ return getProcessInstanceQuery("ProcessInstanceByIdAndMilestoneName", Map.of(ID, id, MILESTONE, milestone)); - } - - public static String getProcessInstanceByIdAndMilestoneStatus(String id, String status) { -- return getProcessInstanceQuery("ProcessInstanceByIdAndMilestoneStatus", id, status); -+ return getProcessInstanceQuery("ProcessInstanceByIdAndMilestoneStatus", Map.of(ID, id, STATUS, status)); - } - -- public static String getProcessInstanceByBusinessKey(String businessKeys) { -- return getProcessInstanceQuery("ProcessInstanceByBusinessKey", businessKeys); -+ public static String getProcessInstanceByBusinessKey(String businessKey) { -+ return getProcessInstanceQuery("ProcessInstanceByBusinessKey", Map.of(BUSSINES_KEY, businessKey)); - } - - public static String getProcessInstanceByCreatedBy(String identity) { -- return getProcessInstanceQuery("ProcessInstanceByCreatedBy", identity); -+ return getProcessInstanceQuery("ProcessInstanceByCreatedBy", Map.of(IDENT, identity)); - } - - public static String getProcessInstanceByUpdatedBy(String identity) { -- return getProcessInstanceQuery("ProcessInstanceByUpdatedBy", identity); -+ return getProcessInstanceQuery("ProcessInstanceByUpdatedBy", Map.of(IDENT, identity)); - } - - public static String getUserTaskInstanceById(String id) { -- return getUserTaskInstanceQuery("UserTaskInstanceById", id); -+ return getUserTaskInstanceQuery("UserTaskInstanceById", Map.of(ID, id)); - } - - public static String getUserTaskInstanceByProcessInstanceId(String id) { -- return getUserTaskInstanceQuery("UserTaskInstanceByProcessInstanceId", id); -+ return getUserTaskInstanceQuery("UserTaskInstanceByProcessInstanceId", Map.of(ID, id)); - } - - public static String getUserTaskInstanceByIdAndActualOwner(String id, String actualOwner) { -- return getUserTaskInstanceQuery("UserTaskInstanceByIdAndActualOwner", id, actualOwner); -+ return getUserTaskInstanceQuery("UserTaskInstanceByIdAndActualOwner", Map.of(ID, id, ACTUAL_OWNER, actualOwner)); - } - - public static String getUserTaskInstanceByIdAndProcessId(String id, String processId) { -- return getUserTaskInstanceQuery("UserTaskInstanceByIdAndProcessId", id, processId); -+ return getUserTaskInstanceQuery("UserTaskInstanceByIdAndProcessId", Map.of(ID, id, PROCESS_ID, processId)); - } - - public static String getUserTaskInstanceByIdNoActualOwner(String id) { -- return getUserTaskInstanceQuery("UserTaskInstanceByIdNoActualOwner", id); -+ return getUserTaskInstanceQuery("UserTaskInstanceByIdNoActualOwner", Map.of(ID, id)); - } - - public static String getUserTaskInstanceByIdAndState(String id, String state) { -- return getUserTaskInstanceQuery("UserTaskInstanceByIdAndState", id, state); -+ return getUserTaskInstanceQuery("UserTaskInstanceByIdAndState", Map.of(ID, id, STATE, state)); - } - - public static String getUserTaskInstanceByIdAndStarted(String id, String started) { -- return getUserTaskInstanceQuery("UserTaskInstanceByIdAndStarted", id, started); -+ return getUserTaskInstanceQuery("UserTaskInstanceByIdAndStarted", Map.of(ID, id, STARTED, started)); - } - - public static String getUserTaskInstanceByIdAndCompleted(String id, String completed) { -- return getUserTaskInstanceQuery("UserTaskInstanceByIdAndCompleted", id, completed); -+ return getUserTaskInstanceQuery("UserTaskInstanceByIdAndCompleted", Map.of(ID, id, COMPLETED, completed)); - } - - public static String getUserTaskInstanceByIdAndPotentialGroups(String id, List potentialGroups) throws Exception { -- return getUserTaskInstanceWithArray("UserTaskInstanceByIdAndPotentialGroups", potentialGroups, "potentialGroups", id); -+ return getUserTaskInstanceWithArray("UserTaskInstanceByIdAndPotentialGroups", potentialGroups, POTENTIAL_GROUPS, Map.of(ID, id)); - } - - public static String getUserTaskInstanceByIdAndPotentialUsers(String id, List potentialUsers) throws Exception { -- return getUserTaskInstanceWithArray("UserTaskInstanceByIdAndPotentialUsers", potentialUsers, "potentialUsers", id); -+ return getUserTaskInstanceWithArray("UserTaskInstanceByIdAndPotentialUsers", potentialUsers, POTENTIAL_USERS, Map.of(ID, id)); - } - - public static String getJobById(String id) { -- return getJobQuery("JobById", id); -+ return getJobQuery("JobById", Map.of(ID, id)); - } - - public static String getTravelsByUserTaskId(String id) { -@@ -208,7 +227,7 @@ public class GraphQLUtils { - return getQuery("DealsByTaskIdNoActualOwner", id); - } - -- private static String getUserTaskInstanceWithArray(String query, List values, String variable, String... args) throws Exception { -+ private static String getUserTaskInstanceWithArray(String query, List values, String variable, Map args) throws Exception { - String json = getUserTaskInstanceQuery(query, args); - ObjectNode jsonNode = (ObjectNode) getObjectMapper().readTree(json); - ArrayNode pg = (ArrayNode) jsonNode.get("variables").get(variable); -@@ -220,24 +239,32 @@ public class GraphQLUtils { - return format(QUERIES.get(name), args); - } - -- private static String getProcessInstanceQuery(String name, String... args) { -+ private static String getProcessInstanceQuery(String name, Map args) { - return getQuery(name, ProcessInstance.class, args); - } - -- private static String getProcessDefinitionQuery(String name, String... args) { -+ private static String getProcessDefinitionQuery(String name, Map args) { - return getQuery(name, ProcessDefinition.class, args); - } - -- private static String getUserTaskInstanceQuery(String name, String... args) { -+ private static String getUserTaskInstanceQuery(String name, Map args) { - return getQuery(name, UserTaskInstance.class, args); - } - -- private static String getJobQuery(String name, String... args) { -+ private static String getJobQuery(String name, Map args) { - return getQuery(name, Job.class, args); - } - -- private static String getQuery(String name, Class clazz, String... args) { -- return format(QUERIES.get(name), insert(0, args, QUERY_FIELDS.get(clazz))); -+ private static String getQuery(String name, Class clazz, Map args) { -+ try { -+ String query = format(QUERIES.get(name), QUERY_FIELDS.get(clazz)); -+ JsonNode jsonQuery = getObjectMapper().readTree(query); -+ ObjectNode jsonVars = getObjectMapper().valueToTree(args); -+ jsonQuery.withObject("/variables").setAll(jsonVars); -+ return jsonQuery.toString(); -+ } catch (Exception e) { -+ throw new RuntimeException(e); -+ } - } - - private static Stream getAllFieldsList(Class clazz) { -diff --git a/data-index/data-index-service/data-index-service-common/src/test/resources/graphql_queries.json b/data-index/data-index-service/data-index-service-common/src/test/resources/graphql_queries.json -index afc269c6e..543f91bc4 100644 ---- a/data-index/data-index-service/data-index-service-common/src/test/resources/graphql_queries.json -+++ b/data-index/data-index-service/data-index-service-common/src/test/resources/graphql_queries.json -@@ -1,219 +1,134 @@ - { - "ProcessDefinitionByIdAndVersion": { - "query": "query ($id: String, $version: String) { ProcessDefinitions( where: { id: { equal : $id }, version: { equal : $version } }, orderBy: { version: ASC }, pagination : { limit: 10, offset: 0 } ){ %s } }", -- "variables": { -- "id": "%s", -- "version": "%s" -- } -+ "variables": {} - }, - "ProcessInstanceById": { - "query": "query ($id: String) { ProcessInstances( where: { id: { equal : $id } }, orderBy: { lastUpdate: ASC }, pagination : { limit: 10, offset: 0 } ){ %s } }", -- "variables": { -- "id": "%s" -- } -+ "variables": {} - }, - "ProcessInstanceByIdAndState": { - "query": "query ($id: String, $state: ProcessInstanceState) { ProcessInstances( where: { id: { equal : $id }, state: { equal : $state } }, orderBy: { lastUpdate: ASC }, pagination : { limit: 10, offset: 0 } ){ %s } }", -- "variables": { -- "id": "%s", -- "state": "%s" -- } -+ "variables": {} - }, - "ProcessInstanceByIdAndAddon": { - "query": "query ($id: String, $addon: String) { ProcessInstances( where: { id: { equal : $id }, addons: { contains : $addon } }, pagination : { limit: 10, offset: 0 } ){ %s } }", -- "variables": { -- "id": "%s", -- "addon": "%s" -- } -+ "variables": {} - }, - "ProcessInstanceByIdAndMilestoneName": { - "query": "query ($id: String, $milestone: String) { ProcessInstances( where: { id: { equal : $id }, milestones: { name : { equal : $milestone } } }, pagination : { limit: 10, offset: 0 } ){ %s } }", -- "variables": { -- "id": "%s", -- "milestone": "%s" -- } -+ "variables": {} - }, - "ProcessInstanceByIdAndMilestoneStatus": { - "query": "query ($id: String, $status: MilestoneStatus) { ProcessInstances( where: { id: { equal : $id }, milestones: { status : { equal : $status } } }, pagination : { limit: 10, offset: 0 } ){ %s } }", -- "variables": { -- "id": "%s", -- "status": "%s" -- } -+ "variables": {} - }, - "ProcessInstanceByIdAndStart": { - "query": "query ($id: String, $start: DateTime) { ProcessInstances( where: { id: { equal : $id }, start: { equal : $start } }, pagination : { limit: 10, offset: 0 } ){ %s } }", -- "variables": { -- "id": "%s", -- "start": "%s" -- } -+ "variables": {} - }, - "ProcessInstanceByIdAndProcessId": { - "query": "query ($id: String, $processId: String) { ProcessInstances( where: { id: { equal : $id }, processId: { equal : $processId } }, pagination : { limit: 10, offset: 0 } ){ %s } }", -- "variables": { -- "id": "%s", -- "processId": "%s" -- } -+ "variables": {} - }, - "ProcessInstanceByParentProcessInstanceId": { - "query": "query ( $parentProcessInstanceId: String ) { ProcessInstances( where: { parentProcessInstanceId: { equal : $parentProcessInstanceId } } ){ %s } }", -- "variables": { -- "parentProcessInstanceId": "%s" -- } -+ "variables": {} - }, - "ProcessInstanceByIdAndNullParentProcessInstanceId": { - "query": "query ( $id: String, $isNull: Boolean ) { ProcessInstances( where: { id: { equal : $id }, parentProcessInstanceId: { isNull : $isNull } } ){ %s } }", -- "variables": { -- "id": "%s", -- "isNull": "%s" -- } -+ "variables": {} - }, - "ProcessInstanceByIdAndParentProcessInstanceId": { - "query": "query ( $id: String, $parentProcessInstanceId: String ) { ProcessInstances( where: { id: { equal : $id }, parentProcessInstanceId: { equal : $parentProcessInstanceId } } ){ %s } }", -- "variables": { -- "id": "%s", -- "parentProcessInstanceId": "%s" -- } -+ "variables": {} - }, - "ProcessInstanceByRootProcessInstanceId": { - "query": "query ( $id: String ) { ProcessInstances( where: { rootProcessInstanceId: { equal : $id } } ){ %s } }", -- "variables": { -- "id": "%s" -- } -+ "variables": {} - }, - "ProcessInstanceByIdAndNullRootProcessInstanceId": { - "query": "query ( $id: String, $isNull: Boolean ) { ProcessInstances( where: { id: { equal : $id }, rootProcessInstanceId: { isNull : $isNull } } ){ %s } }", -- "variables": { -- "id": "%s", -- "isNull": "%s" -- } -+ "variables": {} - }, - "ProcessInstanceByIdAndErrorNode": { - "query": "query ( $id: String, $node: String ) { ProcessInstances( where: { id: { equal : $id }, error : { nodeDefinitionId: { equal : $node } } }, orderBy: { error: { message: ASC }, lastUpdate: ASC } ){ %s } }", -- "variables": { -- "id": "%s", -- "node": "%s" -- } -+ "variables": {} - }, - "ProcessInstanceByBusinessKey": { - "query": "query ( $bk: [String!] ) { ProcessInstances(where: { businessKey : { in : $bk } }) { %s } }", -- "variables": { -- "bk": "%s" -- } -+ "variables": {} - }, - "ProcessInstanceByCreatedBy": { - "query": "query ( $ident: String ) { ProcessInstances(where: { createdBy : { equal : $ident } }) { %s } }", -- "variables": { -- "ident": "%s" -- } -+ "variables": {} - }, - "ProcessInstanceByUpdatedBy": { - "query": "query ( $ident: String ) { ProcessInstances(where: { updatedBy : { equal : $ident } }) { %s } }", -- "variables": { -- "ident": "%s" -- } -+ "variables": {} - }, - "UserTaskInstanceById": { - "query": "query ( $id: String ) { UserTaskInstances( where: { id: { equal : $id } } ){ %s } }", -- "variables": { -- "id": "%s" -- } -+ "variables": {} - }, - "UserTaskInstanceByProcessInstanceId": { - "query": "query ( $id: String ) { UserTaskInstances( where: { processInstanceId: { equal : $id } } ){ %s } }", -- "variables": { -- "id": "%s" -- } -+ "variables": {} - }, - "UserTaskInstanceByIdAndActualOwner": { - "query": "query ( $id: String, $actualOwner: String ) { UserTaskInstances( where: { id: { equal : $id }, actualOwner: { equal: $actualOwner }, not: { excludedUsers: { contains : $actualOwner } } } ){ %s } }", -- "variables": { -- "id": "%s", -- "actualOwner": "%s" -- } -+ "variables": {} - }, - "UserTaskInstanceByIdAndProcessId": { - "query": "query ( $id: String, $processId: String ) { UserTaskInstances( where: { id: { equal : $id }, processId: { equal: $processId } } ){ %s } }", -- "variables": { -- "id": "%s", -- "processId": "%s" -- } -+ "variables": {} - }, - "UserTaskInstanceByIdNoActualOwner": { - "query": "query ( $id: String ) { UserTaskInstances( where: { id: { equal : $id }, actualOwner: { isNull: true } } ){ %s } }", -- "variables": { -- "id": "%s" -- } -+ "variables": {} - }, - "UserTaskInstanceByIdAndState": { - "query": "query ( $id: String, $state: String ) { UserTaskInstances( where: { id: { equal : $id }, state: { equal: $state } } ){ %s } }", -- "variables": { -- "id": "%s", -- "state": "%s" -- } -+ "variables": {} - }, - "UserTaskInstanceByIdAndStarted": { - "query": "query ( $id: String, $started: DateTime ) { UserTaskInstances( where: { id: { equal : $id }, started: { lessThanEqual: $started } } ){ %s } }", -- "variables": { -- "id": "%s", -- "started": "%s" -- } -+ "variables": {} - }, - "UserTaskInstanceByIdAndCompleted": { - "query": "query ( $id: String, $completed: DateTime ) { UserTaskInstances( where: { id: { equal : $id }, completed: { greaterThanEqual: $completed } } ){ %s } }", -- "variables": { -- "id": "%s", -- "completed": "%s" -- } -+ "variables": {} - }, - "UserTaskInstanceByIdAndPotentialGroups": { - "query": "query ( $id: String, $potentialGroups: [String!] ) { UserTaskInstances( where: { id: { equal : $id }, potentialGroups: { containsAny: $potentialGroups } } ){ %s } }", -- "variables": { -- "id": "%s", -- "potentialGroups": [] -- } -+ "variables": {} - }, - "UserTaskInstanceByIdAndPotentialUsers": { - "query": "query ( $id: String, $potentialUsers: [String!] ) { UserTaskInstances( where: { id: { equal : $id }, potentialUsers: { containsAny: $potentialUsers } } ){ %s } }", -- "variables": { -- "id": "%s", -- "potentialUsers": [] -- } -+ "variables": {} - }, - "JobById": { - "query": "query ( $id: String ) { Jobs( where: { id: { equal : $id } } ){ %s } }", -- "variables": { -- "id": "%s" -- } -+ "variables": {} - }, - "TravelsByUserTaskId": { - "query": "query ( $taskId: String ) { Travels ( where: { metadata: { userTasks: { id : { equal : $taskId } } } } ){ id, __typename, flight { flightNumber, arrival, departure }, hotel { name }, traveller { firstName }, metadata { lastUpdate, processInstances { id, processId, processName, rootProcessId, rootProcessInstanceId, parentProcessInstanceId, start, end, lastUpdate, endpoint, serviceUrl }, userTasks { id, description, name, priority, processInstanceId, actualOwner, lastUpdate, state } } } }", -- "variables": { -- "taskId": "%s" -- } -+ "variables": {} - }, - "TravelsByProcessInstanceId": { - "query": "query ( $id: String ) { Travels ( where: { metadata: { processInstances : { id : { equal : $id } } } }){ id, __typename, flight { flightNumber, arrival, departure }, hotel { name }, traveller { firstName, email, nationality, locations { city, street, country, zipCode }, aliases}, metadata { lastUpdate, processInstances { id, processId, processName, rootProcessId, rootProcessInstanceId, parentProcessInstanceId, state, start, end, endpoint, serviceUrl, lastUpdate }, userTasks { id, description, name, priority, processInstanceId, actualOwner, lastUpdate } } } }", -- "variables": { -- "id": "%s" -- } -+ "variables": {} - }, - "TravelsByProcessInstanceIdAndTravellerFirstName": { - "query": "query ( $id: String, $name: String ) { Travels ( where: { metadata : { processInstances : { id : { equal : $id } } }, traveller : { firstName : { like : $name } } }){ id, flight { flightNumber, arrival, departure }, hotel { name }, traveller { firstName, email, nationality }, metadata { lastUpdate, processInstances { id, processId, processName, rootProcessId, rootProcessInstanceId, parentProcessInstanceId, start, end, endpoint, serviceUrl, lastUpdate } } } }", -- "variables": { -- "id": "%s", -- "name": "%s" -- } -+ "variables": {} - }, - "DealsByTaskId": { - "query": "query ( $id: String ) { Deals ( where: { metadata : { userTasks : { id : { equal : $id } } } } ){ id, __typename, name, review, metadata { lastUpdate, userTasks { id, description, state, name, priority, processInstanceId, actualOwner, started, completed, lastUpdate } } } }", -- "variables": { -- "id": "%s" -- } -+ "variables": {} - }, - "DealsByTaskIdNoActualOwner": { - "query": "query ( $id: String ) { Deals ( where: { metadata : { userTasks : { id : { equal : $id }, actualOwner: { isNull: true } } } } ){ id, __typename, name, review, metadata { lastUpdate, userTasks { id, description, state, name, priority, processInstanceId, actualOwner, started, completed, lastUpdate } } } }", -- "variables": { -- "id": "%s" -- } -+ "variables": {} - } - } -diff --git a/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/ProcessInstanceEntity.java b/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/ProcessInstanceEntity.java -index a9c041341..c7ea6b341 100644 ---- a/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/ProcessInstanceEntity.java -+++ b/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/ProcessInstanceEntity.java -@@ -38,14 +38,12 @@ import jakarta.persistence.Table; - import org.hibernate.annotations.OnDelete; - import org.hibernate.annotations.OnDeleteAction; - import org.hibernate.annotations.Type; --import org.hibernate.annotations.TypeDef; - - import com.fasterxml.jackson.databind.node.ObjectNode; --import com.vladmihalcea.hibernate.type.json.JsonBlobType; - -+import org.kie.kogito.persistence.oracle.hibernate.JsonBinaryType; - @Entity(name = "processes") - @Table(name = "processes") --@TypeDef(name = "jsonb", typeClass = JsonBlobType.class) - public class ProcessInstanceEntity extends AbstractEntity { - - @Id -@@ -75,7 +73,7 @@ public class ProcessInstanceEntity extends AbstractEntity { - private String createdBy; - @Column(name = "updated_by") - private String updatedBy; -- @Type(type = "jsonb") -+ @Type(JsonBinaryType.class) - private ObjectNode variables; - @OneToMany(cascade = CascadeType.ALL, mappedBy = "processInstance") - private List nodes; -diff --git a/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/UserTaskInstanceEntity.java b/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/UserTaskInstanceEntity.java -index 98cd6fd26..965a753b3 100644 ---- a/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/UserTaskInstanceEntity.java -+++ b/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/model/UserTaskInstanceEntity.java -@@ -38,13 +38,12 @@ import jakarta.persistence.Table; - import org.hibernate.annotations.OnDelete; - import org.hibernate.annotations.OnDeleteAction; - import org.hibernate.annotations.Type; --import org.hibernate.annotations.TypeDef; - - import com.fasterxml.jackson.databind.node.ObjectNode; --import com.vladmihalcea.hibernate.type.json.JsonBlobType; -+ -+import org.kie.kogito.persistence.oracle.hibernate.JsonBinaryType; - - @Entity(name = "tasks") --@TypeDef(name = "jsonb", typeClass = JsonBlobType.class) - @Table(name = "tasks") - public class UserTaskInstanceEntity extends AbstractEntity { - -@@ -93,9 +92,9 @@ public class UserTaskInstanceEntity extends AbstractEntity { - private String processId; - private String rootProcessId; - private String rootProcessInstanceId; -- @Type(type = "jsonb") -+ @Type(JsonBinaryType.class) - private ObjectNode inputs; -- @Type(type = "jsonb") -+ @Type(JsonBinaryType.class) - private ObjectNode outputs; - private String endpoint; - @OneToMany(cascade = CascadeType.ALL, mappedBy = "userTask", orphanRemoval = true, fetch = FetchType.LAZY) -diff --git a/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/storage/OracleQuery.java b/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/storage/OracleQuery.java -index a663c662b..dca6217b4 100644 ---- a/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/storage/OracleQuery.java -+++ b/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/storage/OracleQuery.java -@@ -29,8 +29,8 @@ import jakarta.persistence.criteria.Order; - import jakarta.persistence.criteria.Path; - import jakarta.persistence.criteria.Predicate; - import jakarta.persistence.criteria.Root; -+import jakarta.persistence.metamodel.Attribute; - --import org.hibernate.query.criteria.internal.path.PluralAttributePath; - import org.kie.kogito.index.oracle.model.AbstractEntity; - import org.kie.kogito.persistence.api.query.AttributeFilter; - import org.kie.kogito.persistence.api.query.AttributeSort; -@@ -137,10 +137,10 @@ public class OracleQuery implements Query { - return builder.equal(getAttributePath(root, attribute), value); - case IS_NULL: - Path pathNull = getAttributePath(root, attribute); -- return pathNull instanceof PluralAttributePath ? builder.isEmpty(pathNull) : builder.isNull(pathNull); -+ return isPluralAttribute(attribute) ? builder.isEmpty(pathNull) : builder.isNull(pathNull); - case NOT_NULL: - Path pathNotNull = getAttributePath(root, attribute); -- return pathNotNull instanceof PluralAttributePath ? builder.isNotEmpty(pathNotNull) : builder.isNotNull(pathNotNull); -+ return isPluralAttribute(attribute) ? builder.isNotEmpty(pathNotNull) : builder.isNotNull(pathNotNull); - case BETWEEN: - List v = (List) value; - return builder.between(getAttributePath(root, attribute), (Comparable) v.get(0), -@@ -179,6 +179,11 @@ public class OracleQuery implements Query { - return join.get(split[split.length - 1]); - } - -+ private boolean isPluralAttribute(final String attribute) { -+ return this.repository.getEntityManager().getMetamodel().entity(this.entityClass).getDeclaredPluralAttributes().stream() -+ .map(Attribute::getName) -+ .anyMatch(pluralAttribute -> pluralAttribute.equals(attribute)); -+ } - private List getRecursivePredicate(AttributeFilter filter, Root root, CriteriaBuilder builder) { - return ((List>) filter.getValue()) - .stream() -diff --git a/data-index/data-index-storage/data-index-storage-oracle/src/test/java/org/kie/kogito/index/oracle/schema/DDLSchemaExporter.java b/data-index/data-index-storage/data-index-storage-oracle/src/test/java/org/kie/kogito/index/oracle/schema/DDLSchemaExporter.java -index cdcd3cde9..a47fba0db 100644 ---- a/data-index/data-index-storage/data-index-storage-oracle/src/test/java/org/kie/kogito/index/oracle/schema/DDLSchemaExporter.java -+++ b/data-index/data-index-storage/data-index-storage-oracle/src/test/java/org/kie/kogito/index/oracle/schema/DDLSchemaExporter.java -@@ -46,7 +46,7 @@ public class DDLSchemaExporter { - public static void main(String[] args) { - try (KogitoOracleSqlContainer oracleSql = new KogitoOracleSqlContainer()) { - oracleSql.start(); -- Map settings = new HashMap<>(); -+ Map settings = new HashMap<>(); - settings.put(Environment.URL, oracleSql.getJdbcUrl()); - settings.put(Environment.USER, oracleSql.getUsername()); - settings.put(Environment.PASS, oracleSql.getPassword()); -diff --git a/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/ProcessInstanceEntity.java b/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/ProcessInstanceEntity.java -index 45ae037ac..fac15ead3 100644 ---- a/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/ProcessInstanceEntity.java -+++ b/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/ProcessInstanceEntity.java -@@ -38,13 +38,11 @@ import jakarta.persistence.Table; - import org.hibernate.annotations.OnDelete; - import org.hibernate.annotations.OnDeleteAction; - import org.hibernate.annotations.Type; --import org.hibernate.annotations.TypeDef; - import org.kie.kogito.persistence.postgresql.hibernate.JsonBinaryType; - - import com.fasterxml.jackson.databind.node.ObjectNode; - - @Entity(name = "processes") --@TypeDef(name = "jsonb", typeClass = JsonBinaryType.class) - @Table(name = "processes") - public class ProcessInstanceEntity extends AbstractEntity { - -@@ -74,7 +72,7 @@ public class ProcessInstanceEntity extends AbstractEntity { - private String createdBy; - - private String updatedBy; -- @Type(type = "jsonb") -+ @Type(JsonBinaryType.class) - @Column(columnDefinition = "jsonb") - private ObjectNode variables; - @OneToMany(cascade = CascadeType.ALL, mappedBy = "processInstance") -diff --git a/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/UserTaskInstanceEntity.java b/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/UserTaskInstanceEntity.java -index 94f6d5dbd..e8abc279b 100644 ---- a/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/UserTaskInstanceEntity.java -+++ b/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/model/UserTaskInstanceEntity.java -@@ -38,13 +38,11 @@ import jakarta.persistence.Table; - import org.hibernate.annotations.OnDelete; - import org.hibernate.annotations.OnDeleteAction; - import org.hibernate.annotations.Type; --import org.hibernate.annotations.TypeDef; - import org.kie.kogito.persistence.postgresql.hibernate.JsonBinaryType; - - import com.fasterxml.jackson.databind.node.ObjectNode; - - @Entity(name = "tasks") --@TypeDef(name = "jsonb", typeClass = JsonBinaryType.class) - @Table(name = "tasks") - public class UserTaskInstanceEntity extends AbstractEntity { - -@@ -93,10 +91,10 @@ public class UserTaskInstanceEntity extends AbstractEntity { - private String processId; - private String rootProcessId; - private String rootProcessInstanceId; -- @Type(type = "jsonb") -+ @Type(JsonBinaryType.class) - @Column(columnDefinition = "jsonb") - private ObjectNode inputs; -- @Type(type = "jsonb") -+ @Type(JsonBinaryType.class) - @Column(columnDefinition = "jsonb") - private ObjectNode outputs; - private String endpoint; -diff --git a/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/storage/PostgreSqlQuery.java b/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/storage/PostgreSqlQuery.java -index b3d980ec6..1df737162 100644 ---- a/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/storage/PostgreSqlQuery.java -+++ b/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/storage/PostgreSqlQuery.java -@@ -29,8 +29,8 @@ import jakarta.persistence.criteria.Order; - import jakarta.persistence.criteria.Path; - import jakarta.persistence.criteria.Predicate; - import jakarta.persistence.criteria.Root; -+import jakarta.persistence.metamodel.Attribute; - --import org.hibernate.query.criteria.internal.path.PluralAttributePath; - import org.kie.kogito.index.postgresql.model.AbstractEntity; - import org.kie.kogito.persistence.api.query.AttributeFilter; - import org.kie.kogito.persistence.api.query.AttributeSort; -@@ -135,10 +135,10 @@ public class PostgreSqlQuery implements Query - return builder.equal(getAttributePath(root, filter.getAttribute()), filter.getValue()); - case IS_NULL: - Path pathNull = getAttributePath(root, filter.getAttribute()); -- return pathNull instanceof PluralAttributePath ? builder.isEmpty(pathNull) : builder.isNull(pathNull); -+ return isPluralAttribute(filter.getAttribute()) ? builder.isEmpty(pathNull) : builder.isNull(pathNull); - case NOT_NULL: - Path pathNotNull = getAttributePath(root, filter.getAttribute()); -- return pathNotNull instanceof PluralAttributePath ? builder.isNotEmpty(pathNotNull) : builder.isNotNull(pathNotNull); -+ return isPluralAttribute(filter.getAttribute()) ? builder.isNotEmpty(pathNotNull) : builder.isNotNull(pathNotNull); - case BETWEEN: - List value = (List) filter.getValue(); - return builder -@@ -179,6 +179,12 @@ public class PostgreSqlQuery implements Query - return join.get(split[split.length - 1]); - } - -+ private boolean isPluralAttribute(final String attribute) { -+ return this.repository.getEntityManager().getMetamodel().entity(this.entityClass).getDeclaredPluralAttributes().stream() -+ .map(Attribute::getName) -+ .anyMatch(pluralAttribute -> pluralAttribute.equals(attribute)); -+ } -+ - private List getRecursivePredicate(AttributeFilter filter, Root root, CriteriaBuilder builder) { - return ((List>) filter.getValue()) - .stream() -diff --git a/data-index/data-index-storage/data-index-storage-postgresql/src/test/java/org/kie/kogito/index/postgresql/schema/DDLSchemaExporter.java b/data-index/data-index-storage/data-index-storage-postgresql/src/test/java/org/kie/kogito/index/postgresql/schema/DDLSchemaExporter.java -index 9b082ecd2..16aaa771e 100644 ---- a/data-index/data-index-storage/data-index-storage-postgresql/src/test/java/org/kie/kogito/index/postgresql/schema/DDLSchemaExporter.java -+++ b/data-index/data-index-storage/data-index-storage-postgresql/src/test/java/org/kie/kogito/index/postgresql/schema/DDLSchemaExporter.java -@@ -48,7 +48,7 @@ public class DDLSchemaExporter { - try (KogitoPostgreSqlContainer postgresql = new KogitoPostgreSqlContainer()) { - postgresql.waitingFor(Wait.forListeningPort()); - postgresql.start(); -- Map settings = new HashMap<>(); -+ Map settings = new HashMap<>(); - settings.put(Environment.URL, postgresql.getJdbcUrl()); - settings.put(Environment.USER, postgresql.getUsername()); - settings.put(Environment.PASS, postgresql.getPassword()); -diff --git a/kogito-apps-build-parent/pom.xml b/kogito-apps-build-parent/pom.xml -index 2ae4efff1..1dcf2e465 100644 ---- a/kogito-apps-build-parent/pom.xml -+++ b/kogito-apps-build-parent/pom.xml -@@ -67,7 +67,7 @@ - - 9.44.0.Final - -- 2.12.1 -+ 6.2.13.Final - 1.9.2 - 1.8 - 2.0.0 -@@ -184,9 +184,9 @@ - test - - -- com.vladmihalcea -- hibernate-types-55 -- ${version.com.vladmihalcea.hibernate-types-55} -+ org.hibernate.orm -+ hibernate-ant -+ ${version.org.hibernate} - - - com.graphql-java -diff --git a/persistence-commons/persistence-commons-oracle/pom.xml b/persistence-commons/persistence-commons-oracle/pom.xml -index ab6db2dbd..8e011f3c7 100644 ---- a/persistence-commons/persistence-commons-oracle/pom.xml -+++ b/persistence-commons/persistence-commons-oracle/pom.xml -@@ -46,8 +46,8 @@ - quarkus-jdbc-oracle - - -- com.vladmihalcea -- hibernate-types-55 -+ org.hibernate.orm -+ hibernate-ant - - - io.quarkus -diff --git a/persistence-commons/persistence-commons-oracle/src/main/java/org/kie/kogito/persistence/oracle/OracleQuery.java b/persistence-commons/persistence-commons-oracle/src/main/java/org/kie/kogito/persistence/oracle/OracleQuery.java -index 45b33bc1f..bc0c0e758 100644 ---- a/persistence-commons/persistence-commons-oracle/src/main/java/org/kie/kogito/persistence/oracle/OracleQuery.java -+++ b/persistence-commons/persistence-commons-oracle/src/main/java/org/kie/kogito/persistence/oracle/OracleQuery.java -@@ -25,17 +25,19 @@ import java.util.Objects; - import java.util.stream.Collectors; - - import org.hibernate.query.NativeQuery; -+import org.hibernate.type.CustomType; -+import org.hibernate.type.spi.TypeConfiguration; - import org.kie.kogito.persistence.api.query.AttributeFilter; - import org.kie.kogito.persistence.api.query.AttributeSort; - import org.kie.kogito.persistence.api.query.FilterCondition; - import org.kie.kogito.persistence.api.query.Query; -+import org.kie.kogito.persistence.oracle.hibernate.JsonBinaryType; - import org.kie.kogito.persistence.oracle.model.CacheEntityRepository; - import org.slf4j.Logger; - import org.slf4j.LoggerFactory; - - import com.fasterxml.jackson.core.JsonProcessingException; - import com.fasterxml.jackson.databind.ObjectMapper; --import com.vladmihalcea.hibernate.type.json.JsonBlobType; - - import static java.lang.String.format; - import static java.util.stream.Collectors.joining; -@@ -140,7 +142,7 @@ public class OracleQuery implements Query { - jakarta.persistence.Query query = repository.getEntityManager() - .createNativeQuery(queryString.toString()) - .unwrap(NativeQuery.class) -- .addScalar("json_value", new JsonBlobType(type)); -+ .addScalar("json_value", new CustomType<>(new JsonBinaryType(), new TypeConfiguration())); - - if (limit != null) { - query.setMaxResults(limit); -diff --git a/persistence-commons/persistence-commons-oracle/src/main/java/org/kie/kogito/persistence/oracle/hibernate/JsonBinaryType.java b/persistence-commons/persistence-commons-oracle/src/main/java/org/kie/kogito/persistence/oracle/hibernate/JsonBinaryType.java -index bee97ed84..667e799f6 100644 ---- a/persistence-commons/persistence-commons-oracle/src/main/java/org/kie/kogito/persistence/oracle/hibernate/JsonBinaryType.java -+++ b/persistence-commons/persistence-commons-oracle/src/main/java/org/kie/kogito/persistence/oracle/hibernate/JsonBinaryType.java -@@ -18,91 +18,83 @@ - */ - package org.kie.kogito.persistence.oracle.hibernate; - -+import java.io.ByteArrayInputStream; - import java.io.Serializable; -+import java.sql.Blob; - import java.sql.PreparedStatement; - import java.sql.ResultSet; - import java.sql.SQLException; --import java.sql.Types; - import java.util.Objects; - - import org.hibernate.HibernateException; - import org.hibernate.engine.spi.SharedSessionContractImplementor; -+import org.hibernate.type.SqlTypes; - import org.hibernate.usertype.UserType; - - import com.fasterxml.jackson.core.JsonProcessingException; - import com.fasterxml.jackson.databind.JsonNode; - import com.fasterxml.jackson.databind.ObjectMapper; --import com.fasterxml.jackson.databind.node.ObjectNode; - - import static java.lang.String.format; - --public class JsonBinaryType implements UserType { -+public class JsonBinaryType implements UserType { - - private ObjectMapper mapper = new ObjectMapper(); - - @Override -- public int[] sqlTypes() { -- return new int[] { Types.JAVA_OBJECT }; -+ public int getSqlType() { -+ return SqlTypes.BLOB; - } - - @Override -- public Class returnedClass() { -+ public Class returnedClass() { - return JsonNode.class; - } - - @Override -- public boolean equals(Object x, Object y) throws HibernateException { -+ public boolean equals(JsonNode x, JsonNode y) throws HibernateException { - return Objects.equals(x, y); - } - - @Override -- public int hashCode(Object x) throws HibernateException { -+ public int hashCode(JsonNode x) throws HibernateException { - return Objects.hashCode(x); - } - - @Override -- public Object nullSafeGet(ResultSet rs, String[] names, SharedSessionContractImplementor session, Object owner) -+ public JsonNode nullSafeGet(ResultSet rs, int position, SharedSessionContractImplementor session, Object owner) - throws HibernateException, SQLException { -- final String json = rs.getString(names[0]); -- if (json == null) { -+ final Blob json = rs.getBlob(position); -+ if (json.length() == 0) { - return null; - } - try { -- return mapper.readTree(json.getBytes("UTF-8")); -+ return mapper.readTree(json.getBinaryStream()); - } catch (final Exception ex) { -- throw new RuntimeException("Failed to convert String to Invoice: " + ex.getMessage(), ex); -+ throw new RuntimeException("Failed to convert String to JSON: " + ex.getMessage(), ex); - } - } - - @Override -- public void nullSafeSet(PreparedStatement ps, Object value, int index, SharedSessionContractImplementor session) -+ public void nullSafeSet(PreparedStatement ps, JsonNode value, int index, SharedSessionContractImplementor session) - throws HibernateException, SQLException { - if (value == null) { -- ps.setNull(index, Types.OTHER); -+ ps.setNull(index, SqlTypes.BLOB); - return; - } -- if (value instanceof ObjectNode) { -- try { -- //ps.setObject(index, value.toString(), Types.OTHER); -- ps.setObject(index, value.toString(), Types.LONGNVARCHAR); -- } catch (final Exception ex) { -- throw new RuntimeException(format("Failed to convert JSON to String: %s", ex.getMessage()), ex); -- } -- } else { -- throw new RuntimeException(format("Cannot convert type %s as JSON String", value.getClass().getCanonicalName())); -+ try { -+ ps.setBlob(index, new ByteArrayInputStream(value.toString().getBytes())); -+ } catch (final Exception ex) { -+ throw new RuntimeException(format("Failed to convert JSON to String: %s", ex.getMessage()), ex); - } - } - - @Override -- public Object deepCopy(Object value) throws HibernateException { -+ public JsonNode deepCopy(JsonNode value) throws HibernateException { - if (value == null) { - return null; - } -- if (value instanceof JsonNode) { -- return ((JsonNode) value).deepCopy(); -- } else { -- throw new RuntimeException(format("Cannot deep copy type %s", value.getClass().getCanonicalName())); -- } -+ return value.deepCopy(); - } - - @Override -@@ -111,12 +103,12 @@ public class JsonBinaryType implements UserType { - } - - @Override -- public Serializable disassemble(Object value) throws HibernateException { -+ public Serializable disassemble(JsonNode value) throws HibernateException { - return this.deepCopy(value).toString(); - } - - @Override -- public Object assemble(Serializable cached, Object owner) throws HibernateException { -+ public JsonNode assemble(Serializable cached, Object owner) throws HibernateException { - try { - return mapper.readTree(cached.toString()); - } catch (JsonProcessingException ex) { -@@ -125,7 +117,7 @@ public class JsonBinaryType implements UserType { - } - - @Override -- public Object replace(Object original, Object target, Object owner) throws HibernateException { -+ public JsonNode replace(JsonNode original, JsonNode target, Object owner) throws HibernateException { - return original; - } - } -diff --git a/persistence-commons/persistence-commons-oracle/src/main/java/org/kie/kogito/persistence/oracle/model/CacheEntity.java b/persistence-commons/persistence-commons-oracle/src/main/java/org/kie/kogito/persistence/oracle/model/CacheEntity.java -index 996177bfc..5c5660687 100644 ---- a/persistence-commons/persistence-commons-oracle/src/main/java/org/kie/kogito/persistence/oracle/model/CacheEntity.java -+++ b/persistence-commons/persistence-commons-oracle/src/main/java/org/kie/kogito/persistence/oracle/model/CacheEntity.java -@@ -29,16 +29,15 @@ import jakarta.persistence.Table; - import jakarta.persistence.UniqueConstraint; - - import org.hibernate.annotations.Type; --import org.hibernate.annotations.TypeDef; -+ -+import org.kie.kogito.persistence.oracle.hibernate.JsonBinaryType; - - import com.fasterxml.jackson.databind.node.ObjectNode; --import com.vladmihalcea.hibernate.type.json.JsonBlobType; - - @Entity - @IdClass(CacheId.class) - @Table(name = "kogito_data_cache", uniqueConstraints = @UniqueConstraint(columnNames = { "name", "key" }), - indexes = @Index(columnList = "name,key", unique = true)) --@TypeDef(name = "jsonb", typeClass = JsonBlobType.class) - public class CacheEntity { - - @Id -@@ -49,7 +48,7 @@ public class CacheEntity { - @Column(nullable = false) - private String key; - -- @Type(type = "jsonb") -+ @Type(JsonBinaryType.class) - @Column(name = "json_value") - private ObjectNode value; - -diff --git a/persistence-commons/persistence-commons-oracle/src/test/java/org/kie/kogito/persistence/schema/DDLSchemaExporter.java b/persistence-commons/persistence-commons-oracle/src/test/java/org/kie/kogito/persistence/schema/DDLSchemaExporter.java -index 9269c56b9..18d42b55d 100644 ---- a/persistence-commons/persistence-commons-oracle/src/test/java/org/kie/kogito/persistence/schema/DDLSchemaExporter.java -+++ b/persistence-commons/persistence-commons-oracle/src/test/java/org/kie/kogito/persistence/schema/DDLSchemaExporter.java -@@ -39,7 +39,7 @@ public class DDLSchemaExporter { - try (KogitoOracleSqlContainer oracle = new KogitoOracleSqlContainer()) { - oracle.waitingFor(Wait.forListeningPort()); - oracle.start(); -- Map settings = new HashMap<>(); -+ Map settings = new HashMap<>(); - settings.put(Environment.URL, oracle.getJdbcUrl()); - settings.put(Environment.USER, oracle.getUsername()); - settings.put(Environment.PASS, oracle.getPassword()); -diff --git a/persistence-commons/persistence-commons-postgresql/pom.xml b/persistence-commons/persistence-commons-postgresql/pom.xml -index 4a5ecaa1f..da5f3ca48 100644 ---- a/persistence-commons/persistence-commons-postgresql/pom.xml -+++ b/persistence-commons/persistence-commons-postgresql/pom.xml -@@ -46,8 +46,8 @@ - quarkus-jdbc-postgresql - - -- com.vladmihalcea -- hibernate-types-55 -+ org.hibernate.orm -+ hibernate-ant - - - io.quarkus -diff --git a/persistence-commons/persistence-commons-postgresql/src/main/java/org/kie/kogito/persistence/postgresql/PostgresQuery.java b/persistence-commons/persistence-commons-postgresql/src/main/java/org/kie/kogito/persistence/postgresql/PostgresQuery.java -index cd6ab38b2..ae831210e 100644 ---- a/persistence-commons/persistence-commons-postgresql/src/main/java/org/kie/kogito/persistence/postgresql/PostgresQuery.java -+++ b/persistence-commons/persistence-commons-postgresql/src/main/java/org/kie/kogito/persistence/postgresql/PostgresQuery.java -@@ -24,17 +24,19 @@ import java.util.Map; - import java.util.Objects; - import java.util.stream.Collectors; - -+import org.hibernate.type.CustomType; -+import org.hibernate.type.spi.TypeConfiguration; - import org.kie.kogito.persistence.api.query.AttributeFilter; - import org.kie.kogito.persistence.api.query.AttributeSort; - import org.kie.kogito.persistence.api.query.FilterCondition; - import org.kie.kogito.persistence.api.query.Query; -+import org.kie.kogito.persistence.postgresql.hibernate.JsonBinaryType; - import org.kie.kogito.persistence.postgresql.model.CacheEntityRepository; - import org.slf4j.Logger; - import org.slf4j.LoggerFactory; - - import com.fasterxml.jackson.core.JsonProcessingException; - import com.fasterxml.jackson.databind.ObjectMapper; --import com.vladmihalcea.hibernate.type.json.JsonNodeBinaryType; - - import static java.lang.String.format; - import static java.util.stream.Collectors.joining; -@@ -137,7 +139,7 @@ public class PostgresQuery implements Query { - - LOGGER.debug("Executing PostgreSQL query: {}", queryString); - jakarta.persistence.Query query = repository.getEntityManager().createNativeQuery(queryString.toString()); -- query.unwrap(org.hibernate.query.NativeQuery.class).addScalar("json_value", JsonNodeBinaryType.INSTANCE); -+ query.unwrap(org.hibernate.query.NativeQuery.class).addScalar("json_value", new CustomType<>(new JsonBinaryType(), new TypeConfiguration())); - - if (limit != null) { - query.setMaxResults(limit); -diff --git a/persistence-commons/persistence-commons-postgresql/src/main/java/org/kie/kogito/persistence/postgresql/hibernate/JsonBinaryType.java b/persistence-commons/persistence-commons-postgresql/src/main/java/org/kie/kogito/persistence/postgresql/hibernate/JsonBinaryType.java -index 3f360bba2..937851b9f 100644 ---- a/persistence-commons/persistence-commons-postgresql/src/main/java/org/kie/kogito/persistence/postgresql/hibernate/JsonBinaryType.java -+++ b/persistence-commons/persistence-commons-postgresql/src/main/java/org/kie/kogito/persistence/postgresql/hibernate/JsonBinaryType.java -@@ -27,81 +27,73 @@ import java.util.Objects; - - import org.hibernate.HibernateException; - import org.hibernate.engine.spi.SharedSessionContractImplementor; -+import org.hibernate.type.SqlTypes; - import org.hibernate.usertype.UserType; - - import com.fasterxml.jackson.core.JsonProcessingException; - import com.fasterxml.jackson.databind.JsonNode; - import com.fasterxml.jackson.databind.ObjectMapper; --import com.fasterxml.jackson.databind.node.ObjectNode; - - import static java.lang.String.format; - --public class JsonBinaryType implements UserType { -+public class JsonBinaryType implements UserType { - - private ObjectMapper mapper = new ObjectMapper(); - - @Override -- public int[] sqlTypes() { -- return new int[] { Types.JAVA_OBJECT }; -+ public int getSqlType() { -+ return SqlTypes.BLOB; - } - - @Override -- public Class returnedClass() { -+ public Class returnedClass() { - return JsonNode.class; - } - - @Override -- public boolean equals(Object x, Object y) throws HibernateException { -+ public boolean equals(JsonNode x, JsonNode y) throws HibernateException { - return Objects.equals(x, y); - } - - @Override -- public int hashCode(Object x) throws HibernateException { -+ public int hashCode(JsonNode x) throws HibernateException { - return Objects.hashCode(x); - } - - @Override -- public Object nullSafeGet(ResultSet rs, String[] names, SharedSessionContractImplementor session, Object owner) -+ public JsonNode nullSafeGet(ResultSet rs, int position, SharedSessionContractImplementor session, Object owner) - throws HibernateException, SQLException { -- final String json = rs.getString(names[0]); -+ final String json = rs.getString(position); - if (json == null) { - return null; - } - try { - return mapper.readTree(json.getBytes("UTF-8")); - } catch (final Exception ex) { -- throw new RuntimeException("Failed to convert String to Invoice: " + ex.getMessage(), ex); -+ throw new RuntimeException("Failed to convert String to JSON: " + ex.getMessage(), ex); - } - } - - @Override -- public void nullSafeSet(PreparedStatement ps, Object value, int index, SharedSessionContractImplementor session) -+ public void nullSafeSet(PreparedStatement ps, JsonNode value, int index, SharedSessionContractImplementor session) - throws HibernateException, SQLException { - if (value == null) { - ps.setNull(index, Types.OTHER); - return; - } -- if (value instanceof ObjectNode) { -- try { -- ps.setObject(index, value.toString(), Types.OTHER); -- } catch (final Exception ex) { -- throw new RuntimeException(format("Failed to convert JSON to String: %s", ex.getMessage()), ex); -- } -- } else { -- throw new RuntimeException(format("Cannot convert type %s as JSON String", value.getClass().getCanonicalName())); -+ try { -+ ps.setObject(index, value.toString(), Types.OTHER); -+ } catch (final Exception ex) { -+ throw new RuntimeException(format("Failed to convert JSON to String: %s", ex.getMessage()), ex); - } - } - - @Override -- public Object deepCopy(Object value) throws HibernateException { -+ public JsonNode deepCopy(JsonNode value) throws HibernateException { - if (value == null) { - return null; - } -- if (value instanceof JsonNode) { -- return ((JsonNode) value).deepCopy(); -- } else { -- throw new RuntimeException(format("Cannot deep copy type %s", value.getClass().getCanonicalName())); -- } -+ return value.deepCopy(); - } - - @Override -@@ -110,12 +102,12 @@ public class JsonBinaryType implements UserType { - } - - @Override -- public Serializable disassemble(Object value) throws HibernateException { -+ public Serializable disassemble(JsonNode value) throws HibernateException { - return this.deepCopy(value).toString(); - } - - @Override -- public Object assemble(Serializable cached, Object owner) throws HibernateException { -+ public JsonNode assemble(Serializable cached, Object owner) throws HibernateException { - try { - return mapper.readTree(cached.toString()); - } catch (JsonProcessingException ex) { -@@ -124,7 +116,7 @@ public class JsonBinaryType implements UserType { - } - - @Override -- public Object replace(Object original, Object target, Object owner) throws HibernateException { -+ public JsonNode replace(JsonNode original, JsonNode target, Object owner) throws HibernateException { - return original; - } - } -diff --git a/persistence-commons/persistence-commons-postgresql/src/main/java/org/kie/kogito/persistence/postgresql/model/CacheEntity.java b/persistence-commons/persistence-commons-postgresql/src/main/java/org/kie/kogito/persistence/postgresql/model/CacheEntity.java -index 0f58963f9..a77c306cf 100644 ---- a/persistence-commons/persistence-commons-postgresql/src/main/java/org/kie/kogito/persistence/postgresql/model/CacheEntity.java -+++ b/persistence-commons/persistence-commons-postgresql/src/main/java/org/kie/kogito/persistence/postgresql/model/CacheEntity.java -@@ -29,7 +29,6 @@ import jakarta.persistence.Table; - import jakarta.persistence.UniqueConstraint; - - import org.hibernate.annotations.Type; --import org.hibernate.annotations.TypeDef; - import org.kie.kogito.persistence.postgresql.hibernate.JsonBinaryType; - - import com.fasterxml.jackson.databind.node.ObjectNode; -@@ -38,7 +37,6 @@ import com.fasterxml.jackson.databind.node.ObjectNode; - @IdClass(CacheId.class) - @Table(name = "kogito_data_cache", uniqueConstraints = @UniqueConstraint(columnNames = { "name", - "key" }), indexes = @Index(columnList = "name,key", unique = true)) --@TypeDef(name = "jsonb", typeClass = JsonBinaryType.class) - public class CacheEntity { - - @Id -@@ -49,7 +47,7 @@ public class CacheEntity { - @Column(nullable = false) - private String key; - -- @Type(type = "jsonb") -+ @Type(JsonBinaryType.class) - @Column(name = "json_value", columnDefinition = "jsonb") - private ObjectNode value; - -diff --git a/persistence-commons/persistence-commons-postgresql/src/test/java/org/kie/kogito/persistence/schema/DDLSchemaExporter.java b/persistence-commons/persistence-commons-postgresql/src/test/java/org/kie/kogito/persistence/schema/DDLSchemaExporter.java -index 2d8e5734f..1092d6354 100644 ---- a/persistence-commons/persistence-commons-postgresql/src/test/java/org/kie/kogito/persistence/schema/DDLSchemaExporter.java -+++ b/persistence-commons/persistence-commons-postgresql/src/test/java/org/kie/kogito/persistence/schema/DDLSchemaExporter.java -@@ -39,7 +39,7 @@ public class DDLSchemaExporter { - try (KogitoPostgreSqlContainer postgresql = new KogitoPostgreSqlContainer()) { - postgresql.waitingFor(Wait.forListeningPort()); - postgresql.start(); -- Map settings = new HashMap<>(); -+ Map settings = new HashMap<>(); - settings.put(Environment.URL, postgresql.getJdbcUrl()); - settings.put(Environment.USER, postgresql.getUsername()); - settings.put(Environment.PASS, postgresql.getPassword()); diff --git a/.ci/environments/quarkus-3/patches/0003_mutiny_changes.patch b/.ci/environments/quarkus-3/patches/0003_mutiny_changes.patch deleted file mode 100644 index 71193532a1..0000000000 --- a/.ci/environments/quarkus-3/patches/0003_mutiny_changes.patch +++ /dev/null @@ -1,31 +0,0 @@ -diff --git a/persistence-commons/persistence-commons-infinispan/src/main/java/org/kie/kogito/persistence/infinispan/cache/InfinispanStorage.java b/persistence-commons/persistence-commons-infinispan/src/main/java/org/kie/kogito/persistence/infinispan/cache/InfinispanStorage.java -index 29292da9a..1beb34b0f 100644 ---- a/persistence-commons/persistence-commons-infinispan/src/main/java/org/kie/kogito/persistence/infinispan/cache/InfinispanStorage.java -+++ b/persistence-commons/persistence-commons-infinispan/src/main/java/org/kie/kogito/persistence/infinispan/cache/InfinispanStorage.java -@@ -78,7 +78,7 @@ public class InfinispanStorage implements Storage { - UnicastProcessor processor = UnicastProcessor.create(); - CacheObjectCreatedListener listener = new CacheObjectCreatedListener<>(delegate, v -> processor.onNext(v)); - return processor -- .onSubscribe().invoke(s -> delegate.addClientListener(listener)) -+ .onSubscription().invoke(s -> delegate.addClientListener(listener)) - .onTermination().invoke(() -> delegate.removeClientListener(listener)); - } - -@@ -88,7 +88,7 @@ public class InfinispanStorage implements Storage { - UnicastProcessor processor = UnicastProcessor.create(); - CacheObjectUpdatedListener listener = new CacheObjectUpdatedListener<>(delegate, v -> processor.onNext(v)); - return processor -- .onSubscribe().invoke(s -> delegate.addClientListener(listener)) -+ .onSubscription().invoke(s -> delegate.addClientListener(listener)) - .onTermination().invoke(() -> delegate.removeClientListener(listener)); - } - -@@ -98,7 +98,7 @@ public class InfinispanStorage implements Storage { - UnicastProcessor processor = UnicastProcessor.create(); - CacheObjectRemovedListener listener = new CacheObjectRemovedListener<>(v -> processor.onNext(v)); - return processor -- .onSubscribe().invoke(s -> delegate.addClientListener(listener)) -+ .onSubscription().invoke(s -> delegate.addClientListener(listener)) - .onTermination().invoke(() -> delegate.removeClientListener(listener)); - } - diff --git a/.ci/environments/quarkus-3/patches/0004_arc_changes.patch b/.ci/environments/quarkus-3/patches/0004_arc_changes.patch deleted file mode 100644 index 5a3f33b16b..0000000000 --- a/.ci/environments/quarkus-3/patches/0004_arc_changes.patch +++ /dev/null @@ -1,94 +0,0 @@ -diff --git a/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/storage/OracleStorageService.java b/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/storage/OracleStorageService.java -index 8c1d6dcfa..efadb2929 100644 ---- a/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/storage/OracleStorageService.java -+++ b/data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/storage/OracleStorageService.java -@@ -18,7 +18,9 @@ - */ - package org.kie.kogito.index.oracle.storage; - -+import jakarta.annotation.Priority; - import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.inject.Alternative; - import jakarta.inject.Inject; - - import org.kie.kogito.index.model.Job; -@@ -28,14 +30,14 @@ import org.kie.kogito.index.model.UserTaskInstance; - import org.kie.kogito.persistence.api.Storage; - import org.kie.kogito.persistence.api.StorageService; - --import io.quarkus.arc.AlternativePriority; - import io.quarkus.arc.properties.IfBuildProperty; - - import static java.lang.String.format; - import static org.kie.kogito.persistence.api.factory.Constants.PERSISTENCE_TYPE_PROPERTY; - import static org.kie.kogito.persistence.oracle.Constants.ORACLE_STORAGE; - --@AlternativePriority(1) -+@Alternative -+@Priority(1) - @ApplicationScoped - @IfBuildProperty(name = PERSISTENCE_TYPE_PROPERTY, stringValue = ORACLE_STORAGE) - public class OracleStorageService implements StorageService { -diff --git a/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/storage/PostgreSqlStorageService.java b/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/storage/PostgreSqlStorageService.java -index deab75186..93bb36faf 100644 ---- a/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/storage/PostgreSqlStorageService.java -+++ b/data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/storage/PostgreSqlStorageService.java -@@ -18,7 +18,9 @@ - */ - package org.kie.kogito.index.postgresql.storage; - -+import jakarta.annotation.Priority; - import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.inject.Alternative; - import jakarta.inject.Inject; - - import org.kie.kogito.index.model.Job; -@@ -28,14 +30,14 @@ import org.kie.kogito.index.model.UserTaskInstance; - import org.kie.kogito.persistence.api.Storage; - import org.kie.kogito.persistence.api.StorageService; - --import io.quarkus.arc.AlternativePriority; - import io.quarkus.arc.properties.IfBuildProperty; - - import static java.lang.String.format; - import static org.kie.kogito.persistence.api.factory.Constants.PERSISTENCE_TYPE_PROPERTY; - import static org.kie.kogito.persistence.postgresql.Constants.POSTGRESQL_STORAGE; - --@AlternativePriority(1) -+@Alternative -+@Priority(1) - @ApplicationScoped - @IfBuildProperty(name = PERSISTENCE_TYPE_PROPERTY, stringValue = POSTGRESQL_STORAGE) - public class PostgreSqlStorageService implements StorageService { -diff --git a/trusty/trusty-storage/trusty-storage-postgresql/src/main/java/org/kie/kogito/trusty/storage/postgresql/PostgresStorageService.java b/trusty/trusty-storage/trusty-storage-postgresql/src/main/java/org/kie/kogito/trusty/storage/postgresql/PostgresStorageService.java -index 6e174a82a..2adb6a2db 100644 ---- a/trusty/trusty-storage/trusty-storage-postgresql/src/main/java/org/kie/kogito/trusty/storage/postgresql/PostgresStorageService.java -+++ b/trusty/trusty-storage/trusty-storage-postgresql/src/main/java/org/kie/kogito/trusty/storage/postgresql/PostgresStorageService.java -@@ -18,7 +18,9 @@ - */ - package org.kie.kogito.trusty.storage.postgresql; - -+import jakarta.annotation.Priority; - import jakarta.enterprise.context.ApplicationScoped; -+import jakarta.enterprise.inject.Alternative; - import jakarta.inject.Inject; - - import org.kie.kogito.explainability.api.CounterfactualExplainabilityRequest; -@@ -29,15 +31,15 @@ import org.kie.kogito.persistence.api.StorageService; - import org.kie.kogito.trusty.storage.api.model.decision.DMNModelWithMetadata; - import org.kie.kogito.trusty.storage.api.model.decision.Decision; - --import io.quarkus.arc.AlternativePriority; - import io.quarkus.arc.properties.IfBuildProperty; - - import static java.lang.String.format; - import static org.kie.kogito.persistence.api.factory.Constants.PERSISTENCE_TYPE_PROPERTY; - import static org.kie.kogito.persistence.postgresql.Constants.POSTGRESQL_STORAGE; - -+@Alternative -+@Priority(1) - @ApplicationScoped --@AlternativePriority(1) - @IfBuildProperty(name = PERSISTENCE_TYPE_PROPERTY, stringValue = POSTGRESQL_STORAGE) - public class PostgresStorageService implements StorageService { - diff --git a/.ci/environments/quarkus-3/patches/0005_jobs-service-reactive-streams.patch b/.ci/environments/quarkus-3/patches/0005_jobs-service-reactive-streams.patch deleted file mode 100644 index f2e9f53733..0000000000 --- a/.ci/environments/quarkus-3/patches/0005_jobs-service-reactive-streams.patch +++ /dev/null @@ -1,347 +0,0 @@ -diff --git a/jobs-service/jobs-service-common/pom.xml b/jobs-service/jobs-service-common/pom.xml -index defe64921..0bbd7f8d2 100644 ---- a/jobs-service/jobs-service-common/pom.xml -+++ b/jobs-service/jobs-service-common/pom.xml -@@ -93,6 +93,10 @@ - io.quarkus - quarkus-smallrye-openapi - -+ -+ io.smallrye.reactive -+ mutiny-zero-flow-adapters -+ - - - -diff --git a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/messaging/ReactiveMessagingEventConsumer.java b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/messaging/ReactiveMessagingEventConsumer.java -index 5739f2544..07734ccbd 100644 ---- a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/messaging/ReactiveMessagingEventConsumer.java -+++ b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/messaging/ReactiveMessagingEventConsumer.java -@@ -32,6 +32,8 @@ import org.slf4j.LoggerFactory; - import io.cloudevents.CloudEvent; - import io.smallrye.mutiny.Uni; - -+import static mutiny.zero.flow.adapters.AdaptersToFlow.publisher; -+ - public abstract class ReactiveMessagingEventConsumer { - - private static final Logger LOGGER = LoggerFactory.getLogger(ReactiveMessagingEventConsumer.class); -@@ -77,7 +79,7 @@ public abstract class ReactiveMessagingEventConsumer { - return Uni.createFrom().completionStage(jobRepository.get(job.getId())) - .flatMap(existingJob -> { - if (existingJob == null || existingJob.getStatus() == JobStatus.SCHEDULED) { -- return Uni.createFrom().publisher(scheduler.schedule(job)); -+ return Uni.createFrom().publisher(publisher(scheduler.schedule(job))); - } else { - LOGGER.info("A Job in status: {} already exists for the job id: {}, no processing will be done fot the event: {}.", - existingJob.getStatus(), -diff --git a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/resource/JobResource.java b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/resource/JobResource.java -index 2a7cdc175..2bf124b82 100644 ---- a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/resource/JobResource.java -+++ b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/resource/JobResource.java -@@ -46,6 +46,8 @@ import org.slf4j.LoggerFactory; - - import io.smallrye.mutiny.Uni; - -+import static mutiny.zero.flow.adapters.AdaptersToFlow.publisher; -+ - @ApplicationScoped - @Path(RestApiConstants.JOBS_PATH) - public class JobResource { -@@ -68,7 +70,7 @@ public class JobResource { - public Uni create(Job job) { - LOGGER.debug("REST create {}", job); - JobDetails jobDetails = jobDetailsValidator.validateToCreate(ScheduledJobAdapter.to(ScheduledJob.builder().job(job).build())); -- return Uni.createFrom().publisher(scheduler.schedule(jobDetails)) -+ return Uni.createFrom().publisher(publisher(scheduler.schedule(jobDetails))) - .onItem().ifNull().failWith(new RuntimeException("Failed to schedule job " + job)) - .onItem().transform(ScheduledJobAdapter::of); - } -@@ -82,7 +84,7 @@ public class JobResource { - LOGGER.debug("REST patch update {}", job); - //validating allowed patch attributes - JobDetails jobToBeMerged = jobDetailsValidator.validateToMerge(ScheduledJobAdapter.to(ScheduledJobBuilder.from(job))); -- return Uni.createFrom().publisher(scheduler.reschedule(id, jobToBeMerged.getTrigger()).buildRs()) -+ return Uni.createFrom().publisher(publisher(scheduler.reschedule(id, jobToBeMerged.getTrigger()).buildRs())) - .onItem().ifNull().failWith(new NotFoundException("Failed to reschedule job " + job)) - .onItem().transform(ScheduledJobAdapter::of); - } -diff --git a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/resource/v2/JobResourceV2.java b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/resource/v2/JobResourceV2.java -index 34ed6ea97..a55727bed 100644 ---- a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/resource/v2/JobResourceV2.java -+++ b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/resource/v2/JobResourceV2.java -@@ -43,6 +43,8 @@ import org.slf4j.LoggerFactory; - - import io.smallrye.mutiny.Uni; - -+import static mutiny.zero.flow.adapters.AdaptersToFlow.publisher; -+ - @ApplicationScoped - @Path(RestApiConstants.V2 + RestApiConstants.JOBS_PATH) - public class JobResourceV2 { -@@ -66,7 +68,7 @@ public class JobResourceV2 { - LOGGER.debug("REST create {}", job); - jobValidator.validateToCreate(job); - JobDetails jobDetails = JobDetailsAdapter.from(job); -- return Uni.createFrom().publisher(scheduler.schedule(jobDetails)) -+ return Uni.createFrom().publisher(publisher(scheduler.schedule(jobDetails))) - .onItem().ifNull().failWith(new RuntimeException("Failed to schedule job " + job)) - .onItem().transform(JobDetailsAdapter::toJob); - } -diff --git a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/scheduler/BaseTimerJobScheduler.java b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/scheduler/BaseTimerJobScheduler.java -index c18029793..aa2b39a82 100644 ---- a/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/scheduler/BaseTimerJobScheduler.java -+++ b/jobs-service/jobs-service-common/src/main/java/org/kie/kogito/jobs/service/scheduler/BaseTimerJobScheduler.java -@@ -49,6 +49,8 @@ import org.slf4j.LoggerFactory; - - import io.smallrye.mutiny.Uni; - -+import static mutiny.zero.flow.adapters.AdaptersToFlow.publisher; -+ - /** - * Base reactive Job Scheduler that performs the fundamental operations and let to the concrete classes to - * implement the scheduling actions. -@@ -315,7 +317,7 @@ public abstract class BaseTimerJobScheduler implements ReactiveJobScheduler { - return Uni.createFrom().completionStage(futureJob) - .onItem().invoke(job -> LOGGER.debug("Cancel Job Scheduling {}", job)) - .chain(scheduledJob -> Optional.ofNullable(scheduledJob.getScheduledId()) -- .map(id -> Uni.createFrom().publisher(this.doCancel(scheduledJob)) -+ .map(id -> Uni.createFrom().publisher(publisher(this.doCancel(scheduledJob))) - .onItem().transform(b -> scheduledJob)) - .orElse(Uni.createFrom().item(scheduledJob))) - //final state, removing the job -diff --git a/jobs-service/jobs-service-common/src/test/java/org/kie/kogito/jobs/service/scheduler/BaseTimerJobSchedulerTest.java b/jobs-service/jobs-service-common/src/test/java/org/kie/kogito/jobs/service/scheduler/BaseTimerJobSchedulerTest.java -index 08185b4ee..62ebd9b2c 100644 ---- a/jobs-service/jobs-service-common/src/test/java/org/kie/kogito/jobs/service/scheduler/BaseTimerJobSchedulerTest.java -+++ b/jobs-service/jobs-service-common/src/test/java/org/kie/kogito/jobs/service/scheduler/BaseTimerJobSchedulerTest.java -@@ -51,6 +51,7 @@ import org.reactivestreams.Publisher; - import io.smallrye.mutiny.Multi; - import io.smallrye.mutiny.Uni; - -+import static mutiny.zero.flow.adapters.AdaptersToFlow.publisher; - import static org.assertj.core.api.Assertions.assertThat; - import static org.assertj.core.api.Assertions.assertThatThrownBy; - import static org.kie.kogito.jobs.service.model.JobStatus.CANCELED; -@@ -358,7 +359,7 @@ public abstract class BaseTimerJobSchedulerTest { - - private void subscribeOn(Publisher schedule) { - Multi.createFrom() -- .publisher(schedule) -+ .publisher(publisher(schedule)) - .subscribe() - .with(dummyCallback(), dummyCallback()); - } -diff --git a/jobs-service/jobs-service-common/src/test/java/org/kie/kogito/jobs/service/scheduler/impl/TimerDelegateJobSchedulerTest.java b/jobs-service/jobs-service-common/src/test/java/org/kie/kogito/jobs/service/scheduler/impl/TimerDelegateJobSchedulerTest.java -index b6567ce0c..9c5ca3bc9 100644 ---- a/jobs-service/jobs-service-common/src/test/java/org/kie/kogito/jobs/service/scheduler/impl/TimerDelegateJobSchedulerTest.java -+++ b/jobs-service/jobs-service-common/src/test/java/org/kie/kogito/jobs/service/scheduler/impl/TimerDelegateJobSchedulerTest.java -@@ -45,6 +45,7 @@ import org.reactivestreams.Publisher; - - import io.smallrye.mutiny.Multi; - -+import static mutiny.zero.flow.adapters.AdaptersToFlow.publisher; - import static org.assertj.core.api.Assertions.assertThat; - import static org.mockito.ArgumentMatchers.any; - import static org.mockito.ArgumentMatchers.eq; -@@ -79,14 +80,14 @@ class TimerDelegateJobSchedulerTest extends BaseTimerJobSchedulerTest { - @Test - void testDoSchedule() { - PublisherBuilder schedule = tested.doSchedule(scheduledJob, Optional.empty()); -- Multi.createFrom().publisher(schedule.buildRs()).subscribe().with(dummyCallback(), dummyCallback()); -+ Multi.createFrom().publisher(publisher(schedule.buildRs())).subscribe().with(dummyCallback(), dummyCallback()); - verify(timer).scheduleJob(any(DelegateJob.class), any(JobDetailsContext.class), eq(scheduledJob.getTrigger())); - } - - @Test - void testDoCancel() { - Publisher cancel = tested.doCancel(JobDetails.builder().of(scheduledJob).scheduledId(SCHEDULED_ID).build()); -- Multi.createFrom().publisher(cancel).subscribe().with(dummyCallback(), dummyCallback()); -+ Multi.createFrom().publisher(publisher(cancel)).subscribe().with(dummyCallback(), dummyCallback()); - verify(timer).removeJob(any(ManageableJobHandle.class)); - } - -@@ -94,7 +95,7 @@ class TimerDelegateJobSchedulerTest extends BaseTimerJobSchedulerTest { - void testDoCancelNullId() { - Publisher cancel = - tested.doCancel(JobDetails.builder().of(scheduledJob).scheduledId(null).build()); -- Multi.createFrom().publisher(cancel).subscribe().with(dummyCallback(), dummyCallback()); -+ Multi.createFrom().publisher(publisher(cancel)).subscribe().with(dummyCallback(), dummyCallback()); - verify(timer, never()).removeJob(any(ManageableJobHandle.class)); - } - -diff --git a/jobs-service/jobs-service-mongodb/pom.xml b/jobs-service/jobs-service-mongodb/pom.xml -index ebe22617f..87949efc5 100644 ---- a/jobs-service/jobs-service-mongodb/pom.xml -+++ b/jobs-service/jobs-service-mongodb/pom.xml -@@ -34,6 +34,10 @@ - Jobs Service (Timers and Async Jobs) with MongoDB - - -+ -+ io.smallrye.reactive -+ mutiny-zero-flow-adapters -+ - - org.kie.kogito - jobs-service-common -diff --git a/jobs-service/jobs-service-mongodb/src/main/java/org/kie/kogito/jobs/service/repository/mongodb/MongoDBJobRepository.java b/jobs-service/jobs-service-mongodb/src/main/java/org/kie/kogito/jobs/service/repository/mongodb/MongoDBJobRepository.java -index bc615db4d..3140f6cb5 100644 ---- a/jobs-service/jobs-service-mongodb/src/main/java/org/kie/kogito/jobs/service/repository/mongodb/MongoDBJobRepository.java -+++ b/jobs-service/jobs-service-mongodb/src/main/java/org/kie/kogito/jobs/service/repository/mongodb/MongoDBJobRepository.java -@@ -58,6 +58,7 @@ import static java.util.Arrays.stream; - import static java.util.Optional.ofNullable; - import static java.util.stream.Collectors.counting; - import static java.util.stream.Collectors.toList; -+import static mutiny.zero.flow.adapters.AdaptersToReactiveStreams.publisher; - import static org.bson.Document.parse; - import static org.eclipse.microprofile.reactive.streams.operators.ReactiveStreams.fromPublisher; - -@@ -144,17 +145,17 @@ public class MongoDBJobRepository extends BaseReactiveJobRepository implements R - - @Override - public PublisherBuilder findAll() { -- return fromPublisher(collection.find() -+ return fromPublisher(publisher(collection.find() - .map(document -> documentToJson(document)) - .map(jobDetailsMarshaller::unmarshall) - .emitOn(Infrastructure.getDefaultExecutor()) - .convert() -- .toPublisher()); -+ .toPublisher())); - } - - @Override - public PublisherBuilder findByStatusBetweenDatesOrderByPriority(ZonedDateTime from, ZonedDateTime to, JobStatus... status) { -- return fromPublisher( -+ return fromPublisher(publisher( - collection.find( - and( - in(STATUS_COLUMN, stream(status).map(Enum::name).collect(toList())), -@@ -165,7 +166,7 @@ public class MongoDBJobRepository extends BaseReactiveJobRepository implements R - .map(jobDetailsMarshaller::unmarshall) - .emitOn(Infrastructure.getDefaultExecutor()) - .convert() -- .toPublisher()); -+ .toPublisher())); - } - - static JsonObject documentToJson(Document document) { -diff --git a/jobs-service/jobs-service-mongodb/src/test/java/org/kie/kogito/jobs/service/repository/mongodb/MongoDBJobRepositoryExecutionTest.java b/jobs-service/jobs-service-mongodb/src/test/java/org/kie/kogito/jobs/service/repository/mongodb/MongoDBJobRepositoryExecutionTest.java -index bd92b95a5..216300e7a 100644 ---- a/jobs-service/jobs-service-mongodb/src/test/java/org/kie/kogito/jobs/service/repository/mongodb/MongoDBJobRepositoryExecutionTest.java -+++ b/jobs-service/jobs-service-mongodb/src/test/java/org/kie/kogito/jobs/service/repository/mongodb/MongoDBJobRepositoryExecutionTest.java -@@ -24,6 +24,7 @@ import java.util.HashMap; - import java.util.Map; - import java.util.concurrent.CompletableFuture; - import java.util.concurrent.CompletionStage; -+import java.util.concurrent.Flow; - - import org.bson.Document; - import org.bson.conversions.Bson; -@@ -39,7 +40,6 @@ import org.kie.kogito.jobs.service.model.RecipientInstance; - import org.kie.kogito.jobs.service.repository.marshaller.JobDetailsMarshaller; - import org.kie.kogito.timer.impl.PointInTimeTrigger; - import org.mockito.ArgumentCaptor; --import org.reactivestreams.Publisher; - - import com.mongodb.client.model.FindOneAndReplaceOptions; - import com.mongodb.client.model.ReturnDocument; -@@ -127,7 +127,7 @@ class MongoDBJobRepositoryExecutionTest { - MultiConvert convertMulti = mock(MultiConvert.class); - when(multi.emitOn(any())).thenReturn(multi); - when(multi.convert()).thenReturn(convertMulti); -- Publisher publisher = mock(Publisher.class); -+ Flow.Publisher publisher = mock(Flow.Publisher.class); - when(convertMulti.toPublisher()).thenReturn(publisher); - - completableFuture = mock(CompletableFuture.class); -diff --git a/jobs-service/jobs-service-postgresql-common/pom.xml b/jobs-service/jobs-service-postgresql-common/pom.xml -index 4f7550a54..448c807c4 100644 ---- a/jobs-service/jobs-service-postgresql-common/pom.xml -+++ b/jobs-service/jobs-service-postgresql-common/pom.xml -@@ -34,6 +34,10 @@ - Jobs Service (Timers and Async Jobs) PostgreSQL Common - - -+ -+ io.smallrye.reactive -+ mutiny-zero-flow-adapters -+ - - org.kie.kogito - jobs-service-common -diff --git a/jobs-service/jobs-service-postgresql-common/src/main/java/org/kie/kogito/jobs/service/repository/postgresql/PostgreSqlJobRepository.java b/jobs-service/jobs-service-postgresql-common/src/main/java/org/kie/kogito/jobs/service/repository/postgresql/PostgreSqlJobRepository.java -index 3363ff6fb..5bdd8b495 100644 ---- a/jobs-service/jobs-service-postgresql-common/src/main/java/org/kie/kogito/jobs/service/repository/postgresql/PostgreSqlJobRepository.java -+++ b/jobs-service/jobs-service-postgresql-common/src/main/java/org/kie/kogito/jobs/service/repository/postgresql/PostgreSqlJobRepository.java -@@ -50,6 +50,7 @@ import io.vertx.mutiny.sqlclient.RowSet; - import io.vertx.mutiny.sqlclient.Tuple; - - import static java.util.stream.Collectors.toList; -+import static mutiny.zero.flow.adapters.AdaptersToReactiveStreams.publisher; - import static org.kie.kogito.jobs.service.utils.DateUtil.DEFAULT_ZONE; - - @ApplicationScoped -@@ -140,18 +141,18 @@ public class PostgreSqlJobRepository extends BaseReactiveJobRepository implement - public PublisherBuilder findByStatus(JobStatus... status) { - String statusQuery = createStatusQuery(status); - String query = " WHERE " + statusQuery; -- return ReactiveStreams.fromPublisher( -+ return ReactiveStreams.fromPublisher(publisher( - client.preparedQuery("SELECT " + JOB_DETAILS_COLUMNS + " FROM " + JOB_DETAILS_TABLE + query + " ORDER BY priority DESC LIMIT $1").execute(Tuple.of(MAX_ITEMS_QUERY)) - .onItem().transformToMulti(rowSet -> Multi.createFrom().iterable(rowSet)) -- .onItem().transform(this::from)); -+ .onItem().transform(this::from))); - } - - @Override - public PublisherBuilder findAll() { -- return ReactiveStreams.fromPublisher( -+ return ReactiveStreams.fromPublisher(publisher( - client.preparedQuery("SELECT " + JOB_DETAILS_COLUMNS + " FROM " + JOB_DETAILS_TABLE + " LIMIT $1").execute(Tuple.of(MAX_ITEMS_QUERY)) - .onItem().transformToMulti(rowSet -> Multi.createFrom().iterable(rowSet)) -- .onItem().transform(this::from)); -+ .onItem().transform(this::from))); - } - - @Override -@@ -160,11 +161,11 @@ public class PostgreSqlJobRepository extends BaseReactiveJobRepository implement - String timeQuery = createTimeQuery("$2", "$3"); - String query = " WHERE " + statusQuery + " AND " + timeQuery; - -- return ReactiveStreams.fromPublisher( -+ return ReactiveStreams.fromPublisher(publisher( - client.preparedQuery("SELECT " + JOB_DETAILS_COLUMNS + " FROM " + JOB_DETAILS_TABLE + query + " ORDER BY priority DESC LIMIT $1") - .execute(Tuple.of(MAX_ITEMS_QUERY, from.toOffsetDateTime(), to.toOffsetDateTime())) - .onItem().transformToMulti(rowSet -> Multi.createFrom().iterable(rowSet)) -- .onItem().transform(this::from)); -+ .onItem().transform(this::from))); - } - - static String createStatusQuery(JobStatus... status) { -diff --git a/kogito-apps-build-parent/pom.xml b/kogito-apps-build-parent/pom.xml -index 1dcf2e465..d773ad06b 100644 ---- a/kogito-apps-build-parent/pom.xml -+++ b/kogito-apps-build-parent/pom.xml -@@ -77,6 +77,9 @@ - - - 1.22.1.Final -+ -+ -+ 1.0.0 - - - -@@ -177,6 +180,11 @@ - mapstruct - ${version.org.mapstruct} - -+ -+ io.smallrye.reactive -+ mutiny-zero-flow-adapters -+ ${version.io.smallrye.reactive.mutiny-zero} -+ - - org.skyscreamer - jsonassert diff --git a/.ci/environments/quarkus-3/patches/0006_data-index-reactive-streams.patch b/.ci/environments/quarkus-3/patches/0006_data-index-reactive-streams.patch deleted file mode 100644 index 50e4cd3799..0000000000 --- a/.ci/environments/quarkus-3/patches/0006_data-index-reactive-streams.patch +++ /dev/null @@ -1,55 +0,0 @@ -diff --git a/data-index/data-index-common/pom.xml b/data-index/data-index-common/pom.xml -index f25994ad6..72a276de2 100644 ---- a/data-index/data-index-common/pom.xml -+++ b/data-index/data-index-common/pom.xml -@@ -65,6 +65,10 @@ - io.quarkus - quarkus-oidc - -+ -+ io.smallrye.reactive -+ mutiny-zero-flow-adapters -+ - - io.quarkus - quarkus-junit5 -diff --git a/data-index/data-index-service/data-index-service-common/src/main/java/org/kie/kogito/index/service/graphql/GraphQLSchemaManagerImpl.java b/data-index/data-index-service/data-index-service-common/src/main/java/org/kie/kogito/index/service/graphql/GraphQLSchemaManagerImpl.java -index 3738fca0e..af2de1c99 100644 ---- a/data-index/data-index-service/data-index-service-common/src/main/java/org/kie/kogito/index/service/graphql/GraphQLSchemaManagerImpl.java -+++ b/data-index/data-index-service/data-index-service-common/src/main/java/org/kie/kogito/index/service/graphql/GraphQLSchemaManagerImpl.java -@@ -49,6 +49,7 @@ import graphql.schema.idl.TypeDefinitionRegistry; - - import static java.lang.String.format; - import static java.util.stream.Collectors.toList; -+import static mutiny.zero.flow.adapters.AdaptersToReactiveStreams.publisher; - import static org.kie.kogito.index.json.JsonUtils.getObjectMapper; - - @ApplicationScoped -@@ -184,11 +185,11 @@ public class GraphQLSchemaManagerImpl extends AbstractGraphQLSchemaManager { - } - - private DataFetcher> objectCreatedPublisher(Supplier cache) { -- return env -> cache.get().objectCreatedListener(); -+ return env -> publisher(cache.get().objectCreatedListener()); - } - - private DataFetcher> objectUpdatedPublisher(Supplier cache) { -- return env -> cache.get().objectUpdatedListener(); -+ return env -> publisher(cache.get().objectUpdatedListener()); - } - - private Supplier cacheNotFoundException(String processId) { -@@ -196,11 +197,11 @@ public class GraphQLSchemaManagerImpl extends AbstractGraphQLSchemaManager { - } - - protected DataFetcher> getDomainModelUpdatedDataFetcher(String processId) { -- return env -> Optional.ofNullable(getCacheService().getDomainModelCache(processId)).orElseThrow(cacheNotFoundException(processId)).objectUpdatedListener(); -+ return env -> publisher(Optional.ofNullable(getCacheService().getDomainModelCache(processId)).orElseThrow(cacheNotFoundException(processId)).objectUpdatedListener()); - } - - protected DataFetcher> getDomainModelAddedDataFetcher(String processId) { -- return env -> Optional.ofNullable(getCacheService().getDomainModelCache(processId)).orElseThrow(cacheNotFoundException(processId)).objectCreatedListener(); -+ return env -> publisher(Optional.ofNullable(getCacheService().getDomainModelCache(processId)).orElseThrow(cacheNotFoundException(processId)).objectCreatedListener()); - } - - protected DataFetcher> getDomainModelDataFetcher(String processId) { diff --git a/.ci/environments/quarkus-3/patches/0007_explainability_reactive-streams.patch b/.ci/environments/quarkus-3/patches/0007_explainability_reactive-streams.patch deleted file mode 100644 index 66c380e4da..0000000000 --- a/.ci/environments/quarkus-3/patches/0007_explainability_reactive-streams.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff --git a/explainability/explainability-service-messaging/src/main/java/org/kie/kogito/explainability/messaging/ExplainabilityMessagingHandler.java b/explainability/explainability-service-messaging/src/main/java/org/kie/kogito/explainability/messaging/ExplainabilityMessagingHandler.java -index bb7a91dca..607b814d5 100644 ---- a/explainability/explainability-service-messaging/src/main/java/org/kie/kogito/explainability/messaging/ExplainabilityMessagingHandler.java -+++ b/explainability/explainability-service-messaging/src/main/java/org/kie/kogito/explainability/messaging/ExplainabilityMessagingHandler.java -@@ -24,6 +24,7 @@ import java.util.concurrent.CompletionStage; - - import jakarta.enterprise.context.ApplicationScoped; - import jakarta.inject.Inject; -+import mutiny.zero.flow.adapters.AdaptersToReactiveStreams; - - import org.eclipse.microprofile.reactive.messaging.Incoming; - import org.eclipse.microprofile.reactive.messaging.Message; -@@ -130,6 +131,6 @@ public class ExplainabilityMessagingHandler { - - @Outgoing("trusty-explainability-result") - public Publisher getEventPublisher() { -- return eventSubject.toHotStream(); -+ return AdaptersToReactiveStreams.publisher(eventSubject.toHotStream()); - } - } diff --git a/.ci/environments/quarkus-3/patches/0008_trusty_reactive-streams.patch b/.ci/environments/quarkus-3/patches/0008_trusty_reactive-streams.patch deleted file mode 100644 index a3a678dccb..0000000000 --- a/.ci/environments/quarkus-3/patches/0008_trusty_reactive-streams.patch +++ /dev/null @@ -1,56 +0,0 @@ -diff --git a/trusty/trusty-service/trusty-service-common/pom.xml b/trusty/trusty-service/trusty-service-common/pom.xml -index 326b62576..33d2933e4 100644 ---- a/trusty/trusty-service/trusty-service-common/pom.xml -+++ b/trusty/trusty-service/trusty-service-common/pom.xml -@@ -65,6 +65,10 @@ - io.quarkus - quarkus-oidc - -+ -+ io.smallrye.reactive -+ mutiny-zero-flow-adapters -+ - - - io.quarkus -diff --git a/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/messaging/outgoing/ExplainabilityRequestProducer.java b/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/messaging/outgoing/ExplainabilityRequestProducer.java -index b031c22bd..eeba524c8 100644 ---- a/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/messaging/outgoing/ExplainabilityRequestProducer.java -+++ b/trusty/trusty-service/trusty-service-common/src/main/java/org/kie/kogito/trusty/service/common/messaging/outgoing/ExplainabilityRequestProducer.java -@@ -20,6 +20,7 @@ import java.net.URI; - import java.util.Optional; - - import jakarta.enterprise.context.ApplicationScoped; -+import mutiny.zero.flow.adapters.AdaptersToReactiveStreams; - - import org.eclipse.microprofile.reactive.messaging.Outgoing; - import org.kie.kogito.event.cloudevents.utils.CloudEventUtils; -@@ -53,6 +54,6 @@ public class ExplainabilityRequestProducer { - - @Outgoing("trusty-explainability-request") - public Publisher getEventPublisher() { -- return eventSubject.toHotStream(); -+ return AdaptersToReactiveStreams.publisher(eventSubject.toHotStream()); - } - } -diff --git a/trusty/trusty-service/trusty-service-common/src/test/java/org/kie/kogito/trusty/service/common/messaging/outgoing/ExplainabilityRequestProducerTest.java b/trusty/trusty-service/trusty-service-common/src/test/java/org/kie/kogito/trusty/service/common/messaging/outgoing/ExplainabilityRequestProducerTest.java -index 39af2fb0b..a2825c050 100644 ---- a/trusty/trusty-service/trusty-service-common/src/test/java/org/kie/kogito/trusty/service/common/messaging/outgoing/ExplainabilityRequestProducerTest.java -+++ b/trusty/trusty-service/trusty-service-common/src/test/java/org/kie/kogito/trusty/service/common/messaging/outgoing/ExplainabilityRequestProducerTest.java -@@ -23,6 +23,7 @@ import org.kie.kogito.explainability.api.LIMEExplainabilityRequest; - import org.kie.kogito.explainability.api.ModelIdentifier; - - import io.smallrye.mutiny.helpers.test.AssertSubscriber; -+import mutiny.zero.flow.adapters.AdaptersToReactiveStreams; - - import static org.junit.jupiter.api.Assertions.assertEquals; - -@@ -33,7 +34,7 @@ class ExplainabilityRequestProducerTest { - AssertSubscriber subscriber = AssertSubscriber.create(1); - - ExplainabilityRequestProducer producer = new ExplainabilityRequestProducer(); -- producer.getEventPublisher().subscribe(subscriber); -+ producer.getEventPublisher().subscribe(AdaptersToReactiveStreams.subscriber(subscriber)); - - producer.sendEvent(new LIMEExplainabilityRequest( - "executionId", "http://localhost:8080/model", diff --git a/.ci/environments/quarkus-3/patches/0009_spring-boot-test-localserverport.patch b/.ci/environments/quarkus-3/patches/0009_spring-boot-test-localserverport.patch deleted file mode 100644 index 18a31cf725..0000000000 --- a/.ci/environments/quarkus-3/patches/0009_spring-boot-test-localserverport.patch +++ /dev/null @@ -1,52 +0,0 @@ -diff --git a/apps-integration-tests/integration-tests-data-index-service/integration-tests-data-index-service-springboot/src/test/java/org/kie/kogito/index/ProcessDataIndexInfinispanIT.java b/apps-integration-tests/integration-tests-data-index-service/integration-tests-data-index-service-springboot/src/test/java/org/kie/kogito/index/ProcessDataIndexInfinispanIT.java -index 1d94ec968..2b318ee8b 100644 ---- a/apps-integration-tests/integration-tests-data-index-service/integration-tests-data-index-service-springboot/src/test/java/org/kie/kogito/index/ProcessDataIndexInfinispanIT.java -+++ b/apps-integration-tests/integration-tests-data-index-service/integration-tests-data-index-service-springboot/src/test/java/org/kie/kogito/index/ProcessDataIndexInfinispanIT.java -@@ -21,7 +21,7 @@ import org.kie.kogito.index.spring.DataIndexInfinispanSpringTestResource; - import org.kie.kogito.index.spring.KogitoServiceRandomPortSpringTestResource; - import org.springframework.beans.factory.annotation.Value; - import org.springframework.boot.test.context.SpringBootTest; --import org.springframework.boot.web.server.LocalServerPort; -+import org.springframework.boot.test.web.server.LocalServerPort; - import org.springframework.test.annotation.DirtiesContext; - import org.springframework.test.context.ContextConfiguration; - -diff --git a/apps-integration-tests/integration-tests-data-index-service/integration-tests-data-index-service-springboot/src/test/java/org/kie/kogito/index/ProcessDataIndexMongoDBIT.java b/apps-integration-tests/integration-tests-data-index-service/integration-tests-data-index-service-springboot/src/test/java/org/kie/kogito/index/ProcessDataIndexMongoDBIT.java -index 59c09494e..2528c4de8 100644 ---- a/apps-integration-tests/integration-tests-data-index-service/integration-tests-data-index-service-springboot/src/test/java/org/kie/kogito/index/ProcessDataIndexMongoDBIT.java -+++ b/apps-integration-tests/integration-tests-data-index-service/integration-tests-data-index-service-springboot/src/test/java/org/kie/kogito/index/ProcessDataIndexMongoDBIT.java -@@ -21,7 +21,7 @@ import org.kie.kogito.index.spring.DataIndexMongoDBSpringTestResource; - import org.kie.kogito.index.spring.KogitoServiceRandomPortSpringTestResource; - import org.springframework.beans.factory.annotation.Value; - import org.springframework.boot.test.context.SpringBootTest; --import org.springframework.boot.web.server.LocalServerPort; -+import org.springframework.boot.test.web.server.LocalServerPort; - import org.springframework.test.annotation.DirtiesContext; - import org.springframework.test.context.ContextConfiguration; - -diff --git a/apps-integration-tests/integration-tests-data-index-service/integration-tests-data-index-service-springboot/src/test/java/org/kie/kogito/index/ProcessDataIndexOracleIT.java b/apps-integration-tests/integration-tests-data-index-service/integration-tests-data-index-service-springboot/src/test/java/org/kie/kogito/index/ProcessDataIndexOracleIT.java -index bcb7bcaf8..ea60983a3 100644 ---- a/apps-integration-tests/integration-tests-data-index-service/integration-tests-data-index-service-springboot/src/test/java/org/kie/kogito/index/ProcessDataIndexOracleIT.java -+++ b/apps-integration-tests/integration-tests-data-index-service/integration-tests-data-index-service-springboot/src/test/java/org/kie/kogito/index/ProcessDataIndexOracleIT.java -@@ -21,7 +21,7 @@ import org.kie.kogito.index.spring.DataIndexOracleSpringTestResource; - import org.kie.kogito.index.spring.KogitoServiceRandomPortSpringTestResource; - import org.springframework.beans.factory.annotation.Value; - import org.springframework.boot.test.context.SpringBootTest; --import org.springframework.boot.web.server.LocalServerPort; -+import org.springframework.boot.test.web.server.LocalServerPort; - import org.springframework.test.annotation.DirtiesContext; - import org.springframework.test.context.ContextConfiguration; - -diff --git a/apps-integration-tests/integration-tests-data-index-service/integration-tests-data-index-service-springboot/src/test/java/org/kie/kogito/index/ProcessDataIndexPostgreSqlIT.java b/apps-integration-tests/integration-tests-data-index-service/integration-tests-data-index-service-springboot/src/test/java/org/kie/kogito/index/ProcessDataIndexPostgreSqlIT.java -index 0997ab672..3da9114da 100644 ---- a/apps-integration-tests/integration-tests-data-index-service/integration-tests-data-index-service-springboot/src/test/java/org/kie/kogito/index/ProcessDataIndexPostgreSqlIT.java -+++ b/apps-integration-tests/integration-tests-data-index-service/integration-tests-data-index-service-springboot/src/test/java/org/kie/kogito/index/ProcessDataIndexPostgreSqlIT.java -@@ -21,7 +21,7 @@ import org.kie.kogito.index.spring.DataIndexPostgreSqlSpringTestResource; - import org.kie.kogito.index.spring.KogitoServiceRandomPortSpringTestResource; - import org.springframework.beans.factory.annotation.Value; - import org.springframework.boot.test.context.SpringBootTest; --import org.springframework.boot.web.server.LocalServerPort; -+import org.springframework.boot.test.web.server.LocalServerPort; - import org.springframework.test.annotation.DirtiesContext; - import org.springframework.test.context.ContextConfiguration; - diff --git a/.ci/environments/quarkus-3/patches/0010_quarkus_dev_ui_static_content_routes.patch b/.ci/environments/quarkus-3/patches/0010_quarkus_dev_ui_static_content_routes.patch deleted file mode 100644 index 3be721ec87..0000000000 --- a/.ci/environments/quarkus-3/patches/0010_quarkus_dev_ui_static_content_routes.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff --git a/kogito-quarkus-serverless-workflow-devui-parent/kogito-quarkus-serverless-workflow-devui-deployment/src/main/java/org/kie/kogito/swf/tools/deployment/DevConsoleProcessor.java b/kogito-quarkus-serverless-workflow-devui-parent/kogito-quarkus-serverless-workflow-devui-deployment/src/main/java/org/kie/kogito/swf/tools/deployment/DevConsoleProcessor.java -index 93b58135d..effce8f5a 100644 ---- a/kogito-quarkus-serverless-workflow-devui-parent/kogito-quarkus-serverless-workflow-devui-deployment/src/main/java/org/kie/kogito/swf/tools/deployment/DevConsoleProcessor.java -+++ b/kogito-quarkus-serverless-workflow-devui-parent/kogito-quarkus-serverless-workflow-devui-deployment/src/main/java/org/kie/kogito/swf/tools/deployment/DevConsoleProcessor.java -@@ -43,7 +43,7 @@ import io.quarkus.vertx.http.runtime.devmode.DevConsoleRecorder; - public class DevConsoleProcessor { - - private static final String STATIC_RESOURCES_PATH = "dev-static/"; -- private static final String BASE_RELATIVE_URL = "/q/dev/org.kie.kogito.kogito-quarkus-serverless-workflow-devui"; -+ private static final String BASE_RELATIVE_URL = "/q/dev-v1/org.kie.kogito.kogito-quarkus-serverless-workflow-devui"; - private static final String DATA_INDEX_CAPABILITY = "org.kie.kogito.data-index"; - - @BuildStep(onlyIf = IsDevelopment.class) -diff --git a/runtime-tools-quarkus-extension-parent/runtime-tools-quarkus-extension-deployment/src/main/java/org/kie/kogito/runtime/tools/quarkus/extension/deployment/DevConsoleProcessor.java b/runtime-tools-quarkus-extension-parent/runtime-tools-quarkus-extension-deployment/src/main/java/org/kie/kogito/runtime/tools/quarkus/extension/deployment/DevConsoleProcessor.java -index f2b39a6f5..a5337babd 100644 ---- a/runtime-tools-quarkus-extension-parent/runtime-tools-quarkus-extension-deployment/src/main/java/org/kie/kogito/runtime/tools/quarkus/extension/deployment/DevConsoleProcessor.java -+++ b/runtime-tools-quarkus-extension-parent/runtime-tools-quarkus-extension-deployment/src/main/java/org/kie/kogito/runtime/tools/quarkus/extension/deployment/DevConsoleProcessor.java -@@ -46,7 +46,7 @@ import io.quarkus.vertx.http.runtime.devmode.DevConsoleRecorder; - public class DevConsoleProcessor { - - private static final String STATIC_RESOURCES_PATH = "dev-static/"; -- private static final String BASE_RELATIVE_URL = "/q/dev/org.kie.kogito.runtime-tools-quarkus-extension"; -+ private static final String BASE_RELATIVE_URL = "/q/dev-v1/org.kie.kogito.runtime-tools-quarkus-extension"; - private static final String DATA_INDEX_CAPABILITY = "org.kie.kogito.data-index"; - - @SuppressWarnings("unused") diff --git a/.ci/environments/quarkus-3/project-recipe.yml b/.ci/environments/quarkus-3/project-recipe.yml deleted file mode 100644 index ff264dc5cc..0000000000 --- a/.ci/environments/quarkus-3/project-recipe.yml +++ /dev/null @@ -1,9 +0,0 @@ ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.kie.kogito-apps.Quarkus3Migration -displayName: All Quarkus 3 Migration for Kogito-Apps project -recipeList: - - org.openrewrite.maven.ChangePropertyValue: { - newValue: 1.5.5.Final, - key: version.org.mapstruct - } \ No newline at end of file diff --git a/.ci/environments/quarkus-3/quarkus3-base-recipe.yml b/.ci/environments/quarkus-3/quarkus3-base-recipe.yml deleted file mode 100644 index 5321d4c40d..0000000000 --- a/.ci/environments/quarkus-3/quarkus3-base-recipe.yml +++ /dev/null @@ -1,3379 +0,0 @@ -# -# 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. -# - -##### -# Rules coming from https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml -# modified to: -# - use the Jakarta EE 10 versions (except for JPA as we are waiting for the Hibernate ORM 6 upgrade) -# - not add new dependencies but transform them -##### - -##### -# Update the Quarkiverse extensions -##### ---- -type: specs.openrewrite.org/v1beta/recipe -name: io.quarkus.updates.core.quarkus30.UpgradeQuarkiverse -recipeList: - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: io.quarkus.bot - artifactId: "build-reporter-*" - newVersion: 3.x - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: io.quarkiverse.vault - artifactId: "*" - newVersion: 3.x - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: io.quarkiverse.amazonservices - artifactId: "*" - newVersion: 2.x - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: io.quarkiverse.cxf - artifactId: "*" - newVersion: 2.x - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: io.quarkiverse.jsch - artifactId: "*" - newVersion: 3.x - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: io.quarkiverse.jberet - artifactId: "*" - newVersion: 2.x - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: io.quarkiverse.artemis - artifactId: "*" - newVersion: 3.x - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: io.quarkiverse.config - artifactId: "*" - newVersion: 2.x - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: io.quarkiverse.freemarker - artifactId: "*" - newVersion: 1.x - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: io.quarkiverse.githubapp - artifactId: "*" - newVersion: 2.x - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: io.quarkiverse.mybatis - artifactId: "*" - newVersion: 2.x - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: io.quarkiverse.messaginghub - artifactId: "*" - newVersion: 2.x - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: io.quarkiverse.prettytime - artifactId: "*" - newVersion: 2.x - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: io.quarkiverse.xmlsec - artifactId: "*" - newVersion: 2.x - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: io.quarkiverse.jef - artifactId: "*" - newVersion: 3.x - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: io.quarkiverse.githubaction - artifactId: "*" - newVersion: 2.x - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: io.quarkiverse.hibernatesearchextras - artifactId: "*" - newVersion: 2.x - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: io.quarkiverse.jackson-jq - artifactId: "*" - newVersion: 2.x - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: io.quarkiverse.jdbc - artifactId: "*" - newVersion: 3.x - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: io.quarkiverse.microprofile - artifactId: "*" - newVersion: 3.x - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: io.quarkiverse.minio - artifactId: "*" - newVersion: 3.x - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: io.quarkiverse.pact - artifactId: "*" - newVersion: 1.x - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: io.quarkiverse.poi - artifactId: "*" - newVersion: 2.x - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: io.quarkiverse.primefaces - artifactId: "*" - newVersion: 3.x - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: io.quarkiverse.reactivemessaging.http - artifactId: "*" - newVersion: 2.x - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: io.quarkiverse.renarde - artifactId: "*" - newVersion: 3.x - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: io.quarkiverse.shardingsphere - artifactId: "*" - newVersion: 2.x - ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxActivationMigrationToJakartaActivation -displayName: Migrate deprecated `javax.activation` packages to `jakarta.activation` -description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. -tags: - - activation - - javax - - jakarta - -recipeList: - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: jakarta.activation - artifactId: jakarta.activation-api - newVersion: 2.x - - org.openrewrite.java.ChangePackage: - oldPackageName: javax.activation - newPackageName: jakarta.activation - recursive: true - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: javax.activation - oldArtifactId: javax.activation-api - newGroupId: jakarta.activation - newArtifactId: jakarta.activation-api - newVersion: 2.x - ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxAnnotationMigrationToJakartaAnnotation -displayName: Migrate deprecated `javax.annotation` packages to `jakarta.annotation` -description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. -tags: - - annotation - - javax - - jakarta - -recipeList: - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: jakarta.annotation - artifactId: jakarta.annotation-api - newVersion: 2.x - - org.openrewrite.java.migrate.jakarta.ChangeJavaxAnnotationToJakarta - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: javax.annotation - oldArtifactId: javax.annotation-api - newGroupId: jakarta.annotation - newArtifactId: jakarta.annotation-api - newVersion: 2.x - ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.ChangeJavaxAnnotationToJakarta -displayName: Migrate deprecated `javax.annotation` packages to `jakarta.annotation` -description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. Excludes `javax.annotation.processing`. -tags: - - batch - - javax - - jakarta - -recipeList: - - org.openrewrite.java.migrate.jakarta.JavaxAnnotationPackageToJakarta - - org.openrewrite.java.migrate.jakarta.JavaxAnnotationSecurityPackageToJakarta - - org.openrewrite.java.migrate.jakarta.JavaxAnnotationSqlPackageToJakarta - ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxAnnotationPackageToJakarta -displayName: Migrate deprecated `javax.annotation` packages to `jakarta.annotation` -description: Change type of classes in the `javax.annotation` package to jakarta. -tags: - - batch - - javax - - jakarta - -recipeList: - - org.openrewrite.java.ChangeType: - oldFullyQualifiedTypeName: javax.annotation.Generated - newFullyQualifiedTypeName: jakarta.annotation.Generated - - org.openrewrite.java.ChangeType: - oldFullyQualifiedTypeName: javax.annotation.ManagedBean - newFullyQualifiedTypeName: jakarta.annotation.ManagedBean - - org.openrewrite.java.ChangeType: - oldFullyQualifiedTypeName: javax.annotation.PostConstruct - newFullyQualifiedTypeName: jakarta.annotation.PostConstruct - - org.openrewrite.java.ChangeType: - oldFullyQualifiedTypeName: javax.annotation.PreDestroy - newFullyQualifiedTypeName: jakarta.annotation.PreDestroy - - org.openrewrite.java.ChangeType: - oldFullyQualifiedTypeName: javax.annotation.Priority - newFullyQualifiedTypeName: jakarta.annotation.Priority - - org.openrewrite.java.ChangeType: - oldFullyQualifiedTypeName: javax.annotation.Resource - newFullyQualifiedTypeName: jakarta.annotation.Resource - - org.openrewrite.java.ChangeType: - oldFullyQualifiedTypeName: javax.annotation.Resources - newFullyQualifiedTypeName: jakarta.annotation.Resources - ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxAnnotationSecurityPackageToJakarta -displayName: Migrate deprecated `javax.annotation.security` packages to `jakarta.annotation.security` -description: Change type of classes in the `javax.annotation.security` package to jakarta. -tags: - - batch - - javax - - jakarta - -recipeList: - - org.openrewrite.java.ChangeType: - oldFullyQualifiedTypeName: javax.annotation.security.DeclareRoles - newFullyQualifiedTypeName: jakarta.annotation.security.DeclareRoles - - org.openrewrite.java.ChangeType: - oldFullyQualifiedTypeName: javax.annotation.security.DenyAll - newFullyQualifiedTypeName: jakarta.annotation.security.DenyAll - - org.openrewrite.java.ChangeType: - oldFullyQualifiedTypeName: javax.annotation.security.PermitAll - newFullyQualifiedTypeName: jakarta.annotation.security.PermitAll - - org.openrewrite.java.ChangeType: - oldFullyQualifiedTypeName: javax.annotation.security.RolesAllowed - newFullyQualifiedTypeName: jakarta.annotation.security.RolesAllowed - - org.openrewrite.java.ChangeType: - oldFullyQualifiedTypeName: javax.annotation.security.RunAs - newFullyQualifiedTypeName: jakarta.annotation.security.RunAs - ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxAnnotationSqlPackageToJakarta -displayName: Migrate deprecated `javax.annotation.sql` packages to `jakarta.annotation.sql` -description: Change type of classes in the `javax.annotation.sql` package to jakarta. -tags: - - batch - - javax - - jakarta - -recipeList: - - org.openrewrite.java.ChangeType: - oldFullyQualifiedTypeName: javax.annotation.sql.DataSourceDefinition - newFullyQualifiedTypeName: jakarta.annotation.sql.DataSourceDefinition - - org.openrewrite.java.ChangeType: - oldFullyQualifiedTypeName: javax.annotation.sql.DataSourceDefinitions - newFullyQualifiedTypeName: jakarta.annotation.sql.DataSourceDefinitions - ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxAuthenticationMigrationToJakartaAuthentication -displayName: Migrate deprecated `javax.security.auth.message` packages to `jakarta.security.auth.message` -description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. -tags: - - authentication - - security - - javax - - jakarta - -recipeList: - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: jakarta.authorization - artifactId: jakarta.authorization-api - newVersion: 2.x - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: jakarta.authentication - artifactId: jakarta.authentication-api - newVersion: 2.x - - org.openrewrite.java.ChangePackage: - oldPackageName: javax.security.auth.message - newPackageName: jakarta.security.auth.message - recursive: true - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: javax.security.auth.message - oldArtifactId: javax.security.auth.message-api - newGroupId: jakarta.authentication - newArtifactId: jakarta.authentication-api - newVersion: 2.x - ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxAuthorizationMigrationToJakartaAuthorization -displayName: Migrate deprecated `javax.security.jacc` packages to `jakarta.security.jacc` -description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. -tags: - - authorization - - security - - javax - - jakarta - -recipeList: - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: jakarta.authorization - artifactId: jakarta.authorization-api - newVersion: 2.x - - org.openrewrite.java.ChangePackage: - oldPackageName: javax.security.jacc - newPackageName: jakarta.security.jacc - recursive: true - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: javax.security.jacc - oldArtifactId: javax.security.jacc-api - newGroupId: jakarta.authorization - newArtifactId: jakarta.authorization-api - newVersion: 2.x - ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxBatchMigrationToJakartaBatch -displayName: Migrate deprecated `javax.batch` packages to `jakarta.batch` -description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. -tags: - - batch - - javax - - jakarta - -recipeList: - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: jakarta.batch - artifactId: jakarta.batch-api - newVersion: 2.x - - org.openrewrite.java.ChangePackage: - oldPackageName: javax.batch - newPackageName: jakarta.batch - recursive: true - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: javax.batch - oldArtifactId: javax.batch-api - newGroupId: jakarta.batch - newArtifactId: jakarta.batch-api - newVersion: 2.x - ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxValidationMigrationToJakartaValidation -displayName: Migrate deprecated `javax.validation` packages to `jakarta.validation` -description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. -tags: - - validation - - javax - - jakarta - -recipeList: - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: jakarta.validation - artifactId: jakarta.validation-api - newVersion: 3.x - - org.openrewrite.java.ChangePackage: - oldPackageName: javax.validation - newPackageName: jakarta.validation - recursive: true - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: javax.validation - oldArtifactId: validation-api - newGroupId: jakarta.validation - newArtifactId: jakarta.validation-api - newVersion: 3.x - ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxDecoratorToJakartaDecorator -displayName: Migrate deprecated `javax.decorator` packages to `jakarta.decorator` -description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. -recipeList: - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: jakarta.enterprise - artifactId: jakarta.enterprise.cdi-api - newVersion: 4.x - - org.openrewrite.java.ChangePackage: - oldPackageName: javax.decorator - newPackageName: jakarta.decorator - recursive: true - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: javax.enterprise - oldArtifactId: cdi-api - newGroupId: jakarta.enterprise - newArtifactId: jakarta.enterprise.cdi-api - newVersion: 4.x - ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxEjbToJakartaEjb -displayName: Migrate deprecated `javax.ejb` packages to `jakarta.ejb` -description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. -recipeList: - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: jakarta.ejb - artifactId: jakarta.ejb-api - newVersion: 4.x - - org.openrewrite.java.ChangePackage: - oldPackageName: javax.ejb - newPackageName: jakarta.ejb - recursive: true - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: javax.ejb - oldArtifactId: javax.ejb-api - newGroupId: jakarta.ejb - newArtifactId: jakarta.ejb-api - newVersion: 4.x - ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxElToJakartaEl -displayName: Migrate deprecated `javax.el` packages to `jakarta.el` -description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. -recipeList: - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: jakarta.el - artifactId: jakarta.el-api - newVersion: 4.x - - org.openrewrite.java.ChangePackage: - oldPackageName: javax.el - newPackageName: jakarta.el - recursive: true - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: javax.el - oldArtifactId: javax.el-api - newGroupId: jakarta.el - newArtifactId: jakarta.el-api - newVersion: 4.x - ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxEnterpriseToJakartaEnterprise -displayName: Migrate deprecated `javax.enterprise` packages to `jakarta.enterprise` -description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. -recipeList: - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: jakarta.enterprise - artifactId: jakarta.enterprise.cdi-api - newVersion: 4.x - - org.openrewrite.java.ChangePackage: - oldPackageName: javax.enterprise - newPackageName: jakarta.enterprise - recursive: true - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: javax.enterprise - oldArtifactId: cdi-api - newGroupId: jakarta.enterprise - newArtifactId: jakarta.enterprise.cdi-api - newVersion: 4.x - ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxFacesToJakartaFaces -displayName: Migrate deprecated `javax.faces` packages to `jakarta.faces` -description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. -recipeList: - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: jakarta.faces - artifactId: jakarta.faces-api - newVersion: 4.x - - org.openrewrite.java.ChangePackage: - oldPackageName: javax.faces - newPackageName: jakarta.faces - recursive: true - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: javax.faces - oldArtifactId: javax.faces-api - newGroupId: jakarta.faces - newArtifactId: jakarta.faces-api - newVersion: 4.x - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - groupId: org.glassfish - artifactId: javax.faces - newGroupId: org.glassfish - newArtifactId: jakarta.faces - newVersion: 4.x - ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxInjectMigrationToJakartaInject -displayName: Migrate deprecated `javax.inject` packages to `jakarta.inject` -description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. -tags: - - inject - - javax - - jakarta - -recipeList: - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: jakarta.inject - artifactId: jakarta.inject-api - newVersion: 2.x - - org.openrewrite.java.ChangePackage: - oldPackageName: javax.inject - newPackageName: jakarta.inject - recursive: true - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: javax.inject - oldArtifactId: javax.inject-api - newGroupId: jakarta.inject - newArtifactId: jakarta.inject-api - newVersion: 2.x - ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxInterceptorToJakartaInterceptor -displayName: Migrate deprecated `javax.interceptor` packages to `jakarta.interceptor` -description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. -recipeList: - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: jakarta.interceptor - artifactId: jakarta.interceptor-api - newVersion: 2.x - - org.openrewrite.java.ChangePackage: - oldPackageName: javax.interceptor - newPackageName: jakarta.interceptor - recursive: true - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: javax.interceptor - oldArtifactId: javax.interceptor-api - newGroupId: jakarta.interceptor - newArtifactId: jakarta.interceptor-api - newVersion: 2.x - ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxJmsToJakartaJms -displayName: Migrate deprecated `javax.jms` packages to `jakarta.jms` -description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. -recipeList: - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: jakarta.jms - artifactId: jakarta.jms-api - newVersion: 3.x - - org.openrewrite.java.ChangePackage: - oldPackageName: javax.jms - newPackageName: jakarta.jms - recursive: true - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: javax.jms - oldArtifactId: javax.jms-api - newGroupId: jakarta.jms - newArtifactId: jakarta.jms-api - newVersion: 3.x - ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxJsonToJakartaJson -displayName: Migrate deprecated `javax.json` packages to `jakarta.json` -description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. -recipeList: - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: jakarta.json - artifactId: jakarta.json-api - newVersion: 2.x - - org.openrewrite.java.ChangePackage: - oldPackageName: javax.json - newPackageName: jakarta.json - recursive: true - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: javax.json - oldArtifactId: javax.json-api - newGroupId: jakarta.json - newArtifactId: jakarta.json-api - newVersion: 2.x - ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxJwsToJakartaJws -displayName: Migrate deprecated `javax.jws` packages to `jakarta.jws` -description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. -recipeList: - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: jakarta.jws - artifactId: jakarta.jws-api - newVersion: 3.x - - org.openrewrite.java.ChangePackage: - oldPackageName: javax.jws - newPackageName: jakarta.jws - recursive: true - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: javax.jws - oldArtifactId: javax.jws-api - newGroupId: jakarta.jws - newArtifactId: jakarta.jws-api - newVersion: 3.x - ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxMailToJakartaMail -displayName: Migrate deprecated `javax.mail` packages to `jakarta.mail` -description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. -recipeList: - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: jakarta.mail - artifactId: jakarta.mail-api - newVersion: 2.x - - org.openrewrite.java.ChangePackage: - oldPackageName: javax.mail - newPackageName: jakarta.mail - recursive: true - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: javax.mail - oldArtifactId: javax.mail-api - newGroupId: jakarta.mail - newArtifactId: jakarta.mail-api - newVersion: 2.x - ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxPersistenceToJakartaPersistence -displayName: Migrate deprecated `javax.persistence` packages to `jakarta.persistence` -description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation -recipeList: - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: jakarta.persistence - artifactId: jakarta.persistence-api - # TODO upgrade this to 3.x once we have Hibernate ORM 6 - newVersion: 3.0.x - - org.openrewrite.java.ChangePackage: - oldPackageName: javax.persistence - newPackageName: jakarta.persistence - recursive: true - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: javax.persistence - oldArtifactId: javax.persistence - newGroupId: jakarta.persistence - newArtifactId: jakarta.persistence-api - # TODO upgrade this to 3.x once we have Hibernate ORM 6 - newVersion: 3.0.x - ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxResourceToJakartaResource -displayName: Migrate deprecated `javax.resource` packages to `jakarta.resource` -description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. -recipeList: - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: jakarta.resource - artifactId: jakarta.resource-api - newVersion: 2.x - - org.openrewrite.java.ChangePackage: - oldPackageName: javax.resource - newPackageName: jakarta.resource - recursive: true - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: javax.resource - oldArtifactId: javax.resource-api - newGroupId: jakarta.resource - newArtifactId: jakarta.resource-api - newVersion: 2.x - ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxSecurityToJakartaSecurity -displayName: Migrate deprecated `javax.security.enterprise` packages to `jakarta.security.enterprise` -description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. -recipeList: - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: jakarta.security.enterprise - artifactId: jakarta.security.enterprise-api - newVersion: 3.x - - org.openrewrite.java.ChangePackage: - oldPackageName: javax.security.enterprise - newPackageName: jakarta.security.enterprise - recursive: true - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: javax.security.enterprise - oldArtifactId: javax.security.enterprise-api - newGroupId: jakarta.security.enterprise - newArtifactId: jakarta.security.enterprise-api - newVersion: 3.x - ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxServletToJakartaServlet -displayName: Migrate deprecated `javax.servlet` packages to `jakarta.servlet` -description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. -recipeList: - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: jakarta.servlet - artifactId: jakarta.servlet-api - newVersion: 6.x - - org.openrewrite.java.ChangePackage: - oldPackageName: javax.servlet - newPackageName: jakarta.servlet - recursive: true - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: javax.servlet - oldArtifactId: javax.servlet-api - newGroupId: jakarta.servlet - newArtifactId: jakarta.servlet-api - newVersion: 6.x - ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxTransactionMigrationToJakartaTransaction -displayName: Migrate deprecated `javax.transaction` packages to `jakarta.transaction` -description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. -tags: - - transaction - - javax - - jakarta - -recipeList: - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: jakarta.transaction - artifactId: jakarta.transaction-api - newVersion: 2.x - - org.openrewrite.java.ChangePackage: - oldPackageName: javax.transaction - newPackageName: jakarta.transaction - recursive: true - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: javax.transaction - oldArtifactId: javax.transaction-api - newGroupId: jakarta.transaction - newArtifactId: jakarta.transaction-api - newVersion: 2.x - ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxWebsocketToJakartaWebsocket -displayName: Migrate deprecated `javax.websocket` packages to `jakarta.websocket` -description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. -recipeList: - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: jakarta.websocket - artifactId: jakarta.websocket-api - newVersion: 2.x - - org.openrewrite.java.ChangePackage: - oldPackageName: javax.websocket - newPackageName: jakarta.websocket - recursive: true - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: javax.websocket - oldArtifactId: javax.websocket-api - newGroupId: jakarta.websocket - newArtifactId: jakarta.websocket-api - newVersion: 2.x - ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxWsToJakartaWs -displayName: Migrate deprecated `javax.ws` packages to `jakarta.ws` -description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. -recipeList: - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: jakarta.ws.rs - artifactId: jakarta.ws.rs-api - newVersion: 3.x - - org.openrewrite.java.ChangePackage: - oldPackageName: javax.ws - newPackageName: jakarta.ws - recursive: true - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: javax.ws.rs - oldArtifactId: javax.ws.rs-api - newGroupId: jakarta.ws.rs - newArtifactId: jakarta.ws.rs-api - newVersion: 3.x - ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxXmlBindMigrationToJakartaXmlBind -displayName: Migrate deprecated `javax.xml.bind` packages to `jakarta.xml.bind` -description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. -tags: - - jaxb - - javax - - jakarta - -recipeList: - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: jakarta.xml.bind - artifactId: jakarta.xml.bind-api - newVersion: 4.x - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: org.glassfish.jaxb - artifactId: jaxb-runtime - newVersion: 4.x - - org.openrewrite.java.ChangePackage: - oldPackageName: javax.xml.bind - newPackageName: jakarta.xml.bind - recursive: true - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: javax.xml.bind - oldArtifactId: jaxb-api - newGroupId: jakarta.xml.bind - newArtifactId: jakarta.xml.bind-api - newVersion: 4.x - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: com.sun.xml.bind - oldArtifactId: jaxb-impl - newGroupId: org.glassfish.jaxb - newArtifactId: jaxb-runtime - newVersion: 4.x - ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxXmlSoapToJakartaXmlSoap -displayName: Migrate deprecated `javax.soap` packages to `jakarta.soap` -description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. -recipeList: - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: jakarta.xml.soap - artifactId: jakarta.xml.soap-api - newVersion: 3.x - - org.openrewrite.java.ChangePackage: - oldPackageName: javax.xml.soap - newPackageName: jakarta.xml.soap - recursive: true - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: javax.xml.soap - oldArtifactId: javax.xml.soap-api - newGroupId: jakarta.xml.soap - newArtifactId: jakarta.xml.soap-api - newVersion: 3.x - ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxXmlWsMigrationToJakartaXmlWs -displayName: Migrate deprecated `javax.xml.ws` packages to `jakarta.xml.ws` -description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. -tags: - - jaxws - - javax - - jakarta - -recipeList: - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: jakarta.xml.ws - artifactId: jakarta.xml.ws-api - newVersion: 4.x - - org.openrewrite.java.ChangePackage: - oldPackageName: javax.xml.ws - newPackageName: jakarta.xml.ws - recursive: true - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: javax.xml.ws - oldArtifactId: jaxws-api - newGroupId: jakarta.xml.ws - newArtifactId: jakarta.xml.ws-api - newVersion: 4.x - ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxPersistenceXmlToJakartaPersistenceXml -displayName: Migrate xmlns entries in `persistence.xml` files -description: Java EE has been rebranded to Jakarta EE, necessitating an XML namespace relocation. - -recipeList: - # TODO upgrade for JPA 3.1 - - org.openrewrite.xml.ChangeTagAttribute: - attributeName: name - elementName: //property - oldValue: javax.persistence - newValue: jakarta.persistence - fileMatcher: "**/persistence.xml" - - org.openrewrite.xml.ChangeTagAttribute: - attributeName: version - elementName: persistence - newValue: 3.0 - fileMatcher: "**/persistence.xml" - - org.openrewrite.xml.ChangeTagAttribute: - attributeName: xmlns - elementName: persistence - oldValue: http://xmlns.jcp.org - newValue: https://jakarta.ee - fileMatcher: "**/persistence.xml" - - org.openrewrite.xml.ChangeTagAttribute: - attributeName: xsi:schemaLocation - elementName: persistence - newValue: https://jakarta.ee/xml/ns/persistence https://jakarta.ee/xml/ns/persistence/persistence_3_0.xsd - fileMatcher: "**/persistence.xml" - ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JacksonJavaxToJakarta -displayName: Migrate Jackson from javax to jakarta namespace -description: > - Java EE has been rebranded to Jakarta EE. This recipe replaces existing Jackson dependencies with their counterparts - that are compatible with Jakarta EE. - -recipeList: - # JAXB annotations support - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: com.fasterxml.jackson.module - oldArtifactId: jackson-module-jaxb-annotations - newGroupId: com.fasterxml.jackson.module - newArtifactId: jackson-module-jakarta-xmlbind-annotations - - org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: - oldGroupId: com.fasterxml.jackson.module - oldArtifactId: jackson-module-jaxb-annotations - newGroupId: com.fasterxml.jackson.module - newArtifactId: jackson-module-jakarta-xmlbind-annotations - # JAXRS providers - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: com.fasterxml.jackson.jaxrs - oldArtifactId: jackson-jaxrs-cbor-provider - newGroupId: com.fasterxml.jackson.jakarta.rs - newArtifactId: jackson-jakarta-rs-cbor-provider - - org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: - oldGroupId: com.fasterxml.jackson.jaxrs - oldArtifactId: jackson-jaxrs-cbor-provider - newGroupId: com.fasterxml.jackson.jakarta.rs - newArtifactId: jackson-jakarta-rs-cbor-provider - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: com.fasterxml.jackson.jaxrs - oldArtifactId: jackson-jaxrs-json-provider - newGroupId: com.fasterxml.jackson.jakarta.rs - newArtifactId: jackson-jakarta-rs-json-provider - - org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: - oldGroupId: com.fasterxml.jackson.jaxrs - oldArtifactId: jackson-jaxrs-json-provider - newGroupId: com.fasterxml.jackson.jakarta.rs - newArtifactId: jackson-jakarta-rs-json-provider - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: com.fasterxml.jackson.jaxrs - oldArtifactId: jackson-jaxrs-smile-provider - newGroupId: com.fasterxml.jackson.jakarta.rs - newArtifactId: jackson-jakarta-rs-smile-provider - - org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: - oldGroupId: com.fasterxml.jackson.jaxrs - oldArtifactId: jackson-jaxrs-smile-provider - newGroupId: com.fasterxml.jackson.jakarta.rs - newArtifactId: jackson-jakarta-rs-smile-provider - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: com.fasterxml.jackson.jaxrs - oldArtifactId: jackson-jaxrs-xml-provider - newGroupId: com.fasterxml.jackson.jakarta.rs - newArtifactId: jackson-jakarta-rs-xml-provider - - org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: - oldGroupId: com.fasterxml.jackson.jaxrs - oldArtifactId: jackson-jaxrs-xml-provider - newGroupId: com.fasterxml.jackson.jakarta.rs - newArtifactId: jackson-jakarta-rs-xml-provider - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: com.fasterxml.jackson.jaxrs - oldArtifactId: jackson-jaxrs-yaml-provider - newGroupId: com.fasterxml.jackson.jakarta.rs - newArtifactId: jackson-jakarta-rs-yaml-provider - - org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: - oldGroupId: com.fasterxml.jackson.jaxrs - oldArtifactId: jackson-jaxrs-yaml-provider - newGroupId: com.fasterxml.jackson.jakarta.rs - newArtifactId: jackson-jakarta-rs-yaml-provider - # JSONP datatypes - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: com.fasterxml.jackson.datatype - oldArtifactId: jackson-datatype-jsr353 - newGroupId: com.fasterxml.jackson.datatype - newArtifactId: jackson-datatype-jakarta-jsonp - - org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: - oldGroupId: com.fasterxml.jackson.datatype - oldArtifactId: jackson-datatype-jsr353 - newGroupId: com.fasterxml.jackson.datatype - newArtifactId: jackson-datatype-jakarta-jsonp - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: org.glassfish - oldArtifactId: javax.json - newGroupId: org.eclipse.parsson - newArtifactId: parsson - - org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: - oldGroupId: org.glassfish - oldArtifactId: javax.json - newGroupId: org.eclipse.parsson - newArtifactId: parsson - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: org.glassfish - oldArtifactId: jakarta.json - newGroupId: org.eclipse.parsson - newArtifactId: parsson - - org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: - oldGroupId: org.glassfish - oldArtifactId: jakarta.json - newGroupId: org.eclipse.parsson - newArtifactId: parsson - - org.openrewrite.java.ChangeType: - oldFullyQualifiedTypeName: com.fasterxml.jackson.datatype.jsr353.JSR353Module - newFullyQualifiedTypeName: com.fasterxml.jackson.datatype.jsonp.JSONPModule - - org.openrewrite.java.ChangePackage: - oldPackageName: com.fasterxml.jackson.jaxrs - newPackageName: com.fasterxml.jackson.jakarta.rs - recursive: true - ---- -# Currently this recipe is only updating the artifacts to a version that is compatible with J2EE 9. There still may be -# breaking changes to the Rest Assured API that need to be addressed. -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.RestAssuredJavaxToJakarta -displayName: Migrate RestAssured from javax to jakarta namespace by upgrading to a version compatible with J2EE9 -description: > - Java EE has been rebranded to Jakarta EE. This recipe replaces existing RestAssured dependencies with their - counterparts that are compatible with Jakarta EE. -recipeList: - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: io.rest-assured - artifactId: "*" - newVersion: 5.x -##### -# Additional rules coming from our Quarkus Jakarta migration and feedback from the field -##### ---- -type: specs.openrewrite.org/v1beta/recipe -name: io.quarkus.updates.core.quarkus30.JavaxToJakartaAdditionalMigration -recipeList: - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: org.glassfish - oldArtifactId: jakarta.el - newGroupId: org.glassfish.expressly - newArtifactId: expressly - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: org.hibernate - oldArtifactId: hibernate-core - newGroupId: org.hibernate.orm - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: org.hibernate - oldArtifactId: hibernate-envers - newGroupId: org.hibernate.orm - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: org.hibernate - oldArtifactId: hibernate-jpamodelgen - newGroupId: org.hibernate.orm - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: org.hibernate - oldArtifactId: hibernate-spatial - newGroupId: org.hibernate.orm - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: org.hibernate - oldArtifactId: hibernate-testing - newGroupId: org.hibernate.orm - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: org.hibernate - oldArtifactId: hibernate-micrometer - newGroupId: org.hibernate.orm - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: org.hibernate - oldArtifactId: hibernate-jcache - newGroupId: org.hibernate.orm - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: org.hibernate - oldArtifactId: hibernate-infinispan - newGroupId: org.hibernate.orm - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: org.hibernate - oldArtifactId: hibernate-ehcache - newGroupId: org.hibernate.orm - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: org.hibernate.search - oldArtifactId: hibernate-search-mapper-orm-coordination-outbox-polling - newGroupId: org.hibernate.search - newArtifactId: hibernate-search-mapper-orm-coordination-outbox-polling-jakarta - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: org.hibernate.search - oldArtifactId: hibernate-search-mapper-orm - newGroupId: org.hibernate.search - newArtifactId: hibernate-search-mapper-orm-jakarta - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: org.hibernate - oldArtifactId: quarkus-local-cache - newGroupId: org.hibernate - newArtifactId: quarkus-local-cache-jakarta - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: org.jboss.spec.javax.ws.rs - oldArtifactId: jboss-jaxrs-api_2.1_spec - newGroupId: jakarta.ws.rs - newArtifactId: jakarta.ws.rs-api - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: org.jboss.spec.javax.xml.bind - oldArtifactId: jboss-jaxb-api_2.3_spec - newGroupId: jakarta.xml.bind - newArtifactId: jakarta.xml.bind-api - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: org.jboss.spec.javax.transaction - oldArtifactId: jboss-transaction-api_1.3_spec - newGroupId: jakarta.transaction - newArtifactId: jakarta.transaction-api - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: com.sun.activation - oldArtifactId: jakarta.activation - newGroupId: org.eclipse.angus - newArtifactId: angus-activation - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: com.sun.activation - oldArtifactId: javax.activation - newGroupId: org.eclipse.angus - newArtifactId: angus-activation - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: org.jboss.spec.javax.ejb - oldArtifactId: jboss-ejb-api_3.1_spec - newGroupId: jakarta.ejb - newArtifactId: jakarta.ejb-api - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: org.keycloak - oldArtifactId: keycloak-admin-client - newGroupId: org.keycloak - newArtifactId: keycloak-admin-client-jakarta - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: org.keycloak - oldArtifactId: keycloak-admin-client - newGroupId: org.keycloak - newArtifactId: keycloak-admin-client-jakarta -# Commented for now as OpenRewrite doesn't reload the model and adds the exclusions -# even when the artifacts are not transitive dependencies in Quarkus 3 -# - org.openrewrite.maven.ExcludeDependency: -# groupId: com.sun.activation -# artifactId: jakarta.activation -# - org.openrewrite.maven.ExcludeDependency: -# groupId: com.sun.activation -# artifactId: javax.activation -# - org.openrewrite.maven.ExcludeDependency: -# groupId: org.glassfish -# artifactId: jakarta.el - -#### -# Rename javax service files -#### ---- -type: specs.openrewrite.org/v1beta/recipe -name: io.quarkus.updates.core.quarkus30.RenameJavaxServiceFiles -displayName: Rename a file example -recipeList: - - org.openrewrite.RenameFile: - fileMatcher: "**/META-INF/services/javax.ws.rs.ext.Providers" - fileName: jakarta.ws.rs.ext.Providers - - org.openrewrite.RenameFile: - fileMatcher: "**/META-INF/services/javax.ws.rs.client.ClientBuilder" - fileName: jakarta.ws.rs.client.ClientBuilder - - org.openrewrite.RenameFile: - fileMatcher: "**/META-INF/services/javax.ws.rs.sse.SseEventSource$Builder" - fileName: jakarta.ws.rs.sse.SseEventSource$Builder - -##### -# Additional recipes for Quarkus 3 not related to the Jakarta migration -##### ---- -type: specs.openrewrite.org/v1beta/recipe -name: io.quarkus.updates.core.quarkus30.AdditionalChanges -recipeList: - - org.openrewrite.java.ChangeType: - oldFullyQualifiedTypeName: org.jboss.resteasy.reactive.server.core.multipart.MultipartFormDataOutput - newFullyQualifiedTypeName: org.jboss.resteasy.reactive.server.multipart.MultipartFormDataOutput - - org.openrewrite.java.ChangeType: - oldFullyQualifiedTypeName: org.jboss.resteasy.reactive.server.core.multipart.PartItem - newFullyQualifiedTypeName: org.jboss.resteasy.reactive.server.multipart.PartItem - - org.openrewrite.java.ChangeType: - oldFullyQualifiedTypeName: org.jboss.resteasy.reactive.server.core.multipart.FormData.FormValue - newFullyQualifiedTypeName: org.jboss.resteasy.reactive.server.multipart.FormValue - - org.openrewrite.java.ChangeType: - oldFullyQualifiedTypeName: io.quarkus.test.junit.NativeImageTest - newFullyQualifiedTypeName: io.quarkus.test.junit.QuarkusIntegrationTest - - org.openrewrite.java.ChangeType: - oldFullyQualifiedTypeName: io.quarkus.test.junit.DisabledOnNativeImage - newFullyQualifiedTypeName: io.quarkus.test.junit.DisabledOnIntegrationTest - - org.openrewrite.java.ChangeType: - oldFullyQualifiedTypeName: org.jboss.resteasy.reactive.MultipartForm - newFullyQualifiedTypeName: jakarta.ws.rs.BeanParam - - org.openrewrite.java.ChangeType: - oldFullyQualifiedTypeName: io.smallrye.reactive.messaging.providers.connectors.InMemoryConnector - newFullyQualifiedTypeName: io.smallrye.reactive.messaging.memory.InMemoryConnector - - org.openrewrite.java.ChangeType: - oldFullyQualifiedTypeName: io.quarkus.hibernate.reactive.panache.common.runtime.ReactiveTransactional - newFullyQualifiedTypeName: io.quarkus.hibernate.reactive.panache.common.WithTransaction - - org.openrewrite.java.ChangeType: - oldFullyQualifiedTypeName: io.quarkus.arc.Priority - newFullyQualifiedTypeName: jakarta.annotation.Priority - - org.openrewrite.text.FindAndReplace: - find: quarkus-bootstrap-maven-plugin - replace: quarkus-extension-maven-plugin - fileMatcher: "**/pom.xml" - -##### -# Adjust properties in application.properties -##### ---- -type: specs.openrewrite.org/v1beta/recipe -name: io.quarkus.updates.core.quarkus30.ApplicationProperties -applicability: - singleSource: - - org.openrewrite.FindSourceFiles: - filePattern: "**/application*.properties" -recipeList: - - org.openrewrite.properties.ChangePropertyKey: - oldPropertyKey: quarkus.kubernetes.expose - newPropertyKey: quarkus.kubernetes.ingress.expose - - org.openrewrite.properties.ChangePropertyKey: - oldPropertyKey: quarkus.openshift.expose - newPropertyKey: quarkus.openshift.route.expose - - org.openrewrite.properties.ChangePropertyKey: - oldPropertyKey: quarkus.kubernetes.host - newPropertyKey: quarkus.kubernetes.ingress.host - - org.openrewrite.properties.ChangePropertyKey: - oldPropertyKey: quarkus.openshift.host - newPropertyKey: quarkus.openshift.route.host - - org.openrewrite.properties.ChangePropertyKey: - oldPropertyKey: quarkus.kubernetes.group - newPropertyKey: quarkus.kubernetes.part-of - - org.openrewrite.properties.ChangePropertyKey: - oldPropertyKey: quarkus.openshift.group - newPropertyKey: quarkus.openshift.part-of - - org.openrewrite.properties.ChangePropertyKey: - oldPropertyKey: quarkus.jib.labels - newPropertyKey: quarkus.container-image.labels - -##### -# Adjust properties in application.yml -##### ---- -type: specs.openrewrite.org/v1beta/recipe -name: io.quarkus.updates.core.quarkus30.ApplicationYml -applicability: - singleSource: - - org.openrewrite.FindSourceFiles: - filePattern: "**/application*.yml" -recipeList: - - org.openrewrite.yaml.ChangePropertyKey: - oldPropertyKey: quarkus.kubernetes.expose - newPropertyKey: quarkus.kubernetes.ingress.expose - - org.openrewrite.yaml.ChangePropertyKey: - oldPropertyKey: quarkus.openshift.expose - newPropertyKey: quarkus.openshift.route.expose - - org.openrewrite.yaml.ChangePropertyKey: - oldPropertyKey: quarkus.kubernetes.host - newPropertyKey: quarkus.kubernetes.ingress.host - - org.openrewrite.yaml.ChangePropertyKey: - oldPropertyKey: quarkus.openshift.host - newPropertyKey: quarkus.openshift.route.host - - org.openrewrite.yaml.ChangePropertyKey: - oldPropertyKey: quarkus.kubernetes.group - newPropertyKey: quarkus.kubernetes.part-of - - org.openrewrite.yaml.ChangePropertyKey: - oldPropertyKey: quarkus.openshift.group - newPropertyKey: quarkus.openshift.part-of - - org.openrewrite.properties.ChangePropertyKey: - oldPropertyKey: quarkus.jib.labels - newPropertyKey: quarkus.container-image.labels - -##### -# Adjust properties in application.yaml -##### ---- -type: specs.openrewrite.org/v1beta/recipe -name: io.quarkus.updates.core.quarkus30.ApplicationYaml -applicability: - singleSource: - - org.openrewrite.FindSourceFiles: - filePattern: "**/application*.yaml" -recipeList: - - org.openrewrite.yaml.ChangePropertyKey: - oldPropertyKey: quarkus.kubernetes.expose - newPropertyKey: quarkus.kubernetes.ingress.expose - - org.openrewrite.yaml.ChangePropertyKey: - oldPropertyKey: quarkus.openshift.expose - newPropertyKey: quarkus.openshift.route.expose - - org.openrewrite.yaml.ChangePropertyKey: - oldPropertyKey: quarkus.kubernetes.host - newPropertyKey: quarkus.kubernetes.ingress.host - - org.openrewrite.yaml.ChangePropertyKey: - oldPropertyKey: quarkus.openshift.host - newPropertyKey: quarkus.openshift.route.host - - org.openrewrite.yaml.ChangePropertyKey: - oldPropertyKey: quarkus.kubernetes.group - newPropertyKey: quarkus.kubernetes.part-of - - org.openrewrite.yaml.ChangePropertyKey: - oldPropertyKey: quarkus.openshift.group - newPropertyKey: quarkus.openshift.part-of - - org.openrewrite.properties.ChangePropertyKey: - oldPropertyKey: quarkus.jib.labels - newPropertyKey: quarkus.container-image.labels - -##### -# Generated by PropertiesToRecipe.java from jakarta-renames.properties -##### ---- -type: specs.openrewrite.org/v1beta/recipe -name: io.quarkus.updates.core.quarkus30.JavaxToJakartaDocumentationAdoc -applicability: - singleSource: - - org.openrewrite.FindSourceFiles: - filePattern: "**/*.adoc" -recipeList: - - org.openrewrite.text.FindAndReplace: - find: javax.json.bind.config. - replace: jakarta.json.bind.config. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.soap. - replace: jakarta.xml.soap. - - org.openrewrite.text.FindAndReplace: - find: javax.security.jacc. - replace: jakarta.security.jacc. - - org.openrewrite.text.FindAndReplace: - find: javax.mail.internet. - replace: jakarta.mail.internet. - - org.openrewrite.text.FindAndReplace: - find: javax.batch.api.chunk. - replace: jakarta.batch.api.chunk. - - org.openrewrite.text.FindAndReplace: - find: javax.json.spi. - replace: jakarta.json.spi. - - org.openrewrite.text.FindAndReplace: - find: javax.resource. - replace: jakarta.resource. - - org.openrewrite.text.FindAndReplace: - find: javax.resource.spi.work. - replace: jakarta.resource.spi.work. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.bind.annotation.adapters. - replace: jakarta.xml.bind.annotation.adapters. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.webapp. - replace: jakarta.faces.webapp. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.application. - replace: jakarta.faces.application. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.bind.util. - replace: jakarta.xml.bind.util. - - org.openrewrite.text.FindAndReplace: - find: javax.persistence.criteria. - replace: jakarta.persistence.criteria. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.event. - replace: jakarta.faces.event. - - org.openrewrite.text.FindAndReplace: - find: javax.activation. - replace: jakarta.activation. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.flow.builder. - replace: jakarta.faces.flow.builder. - - org.openrewrite.text.FindAndReplace: - find: javax.websocket. - replace: jakarta.websocket. - - org.openrewrite.text.FindAndReplace: - find: javax.json.bind.serializer. - replace: jakarta.json.bind.serializer. - - org.openrewrite.text.FindAndReplace: - find: javax.enterprise.inject.se. - replace: jakarta.enterprise.inject.se. - - org.openrewrite.text.FindAndReplace: - find: javax.resource.cci. - replace: jakarta.resource.cci. - - org.openrewrite.text.FindAndReplace: - find: javax.validation.spi. - replace: jakarta.validation.spi. - - org.openrewrite.text.FindAndReplace: - find: javax.transaction. - replace: jakarta.transaction. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.bind.attachment. - replace: jakarta.xml.bind.attachment. - - org.openrewrite.text.FindAndReplace: - find: javax.interceptor. - replace: jakarta.interceptor. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.bind.helpers. - replace: jakarta.xml.bind.helpers. - - org.openrewrite.text.FindAndReplace: - find: javax.ejb.embeddable. - replace: jakarta.ejb.embeddable. - - org.openrewrite.text.FindAndReplace: - find: javax.persistence. - replace: jakarta.persistence. - - org.openrewrite.text.FindAndReplace: - find: javax.enterprise.inject. - replace: jakarta.enterprise.inject. - - org.openrewrite.text.FindAndReplace: - find: javax.mail.event. - replace: jakarta.mail.event. - - org.openrewrite.text.FindAndReplace: - find: javax.resource.spi.endpoint. - replace: jakarta.resource.spi.endpoint. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.component.visit. - replace: jakarta.faces.component.visit. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.jsp.jstl. - replace: jakarta.servlet.jsp.jstl. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.jsp.el. - replace: jakarta.servlet.jsp.el. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.el. - replace: jakarta.faces.el. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.bind. - replace: jakarta.xml.bind. - - org.openrewrite.text.FindAndReplace: - find: javax.json.bind.adapter. - replace: jakarta.json.bind.adapter. - - org.openrewrite.text.FindAndReplace: - find: javax.validation.valueextraction. - replace: jakarta.validation.valueextraction. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.view.facelets. - replace: jakarta.faces.view.facelets. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.flow. - replace: jakarta.faces.flow. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.render. - replace: jakarta.faces.render. - - org.openrewrite.text.FindAndReplace: - find: javax.mail.util. - replace: jakarta.mail.util. - - org.openrewrite.text.FindAndReplace: - find: javax.batch.runtime.context. - replace: jakarta.batch.runtime.context. - - org.openrewrite.text.FindAndReplace: - find: javax.annotation.security. - replace: jakarta.annotation.security. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.component. - replace: jakarta.faces.component. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.jsp.jstl.fmt. - replace: jakarta.servlet.jsp.jstl.fmt. - - org.openrewrite.text.FindAndReplace: - find: javax.json.bind.spi. - replace: jakarta.json.bind.spi. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet. - replace: jakarta.servlet. - - org.openrewrite.text.FindAndReplace: - find: javax.batch.operations. - replace: jakarta.batch.operations. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.push. - replace: jakarta.faces.push. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.descriptor. - replace: jakarta.servlet.descriptor. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.ws.handler.soap. - replace: jakarta.xml.ws.handler.soap. - - org.openrewrite.text.FindAndReplace: - find: javax.validation.executable. - replace: jakarta.validation.executable. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.component.behavior. - replace: jakarta.faces.component.behavior. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.bind.annotation. - replace: jakarta.xml.bind.annotation. - - org.openrewrite.text.FindAndReplace: - find: javax.batch.runtime. - replace: jakarta.batch.runtime. - - org.openrewrite.text.FindAndReplace: - find: javax.json.stream. - replace: jakarta.json.stream. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.annotation. - replace: jakarta.servlet.annotation. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.resources. - replace: jakarta.servlet.resources. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.http. - replace: jakarta.servlet.http. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.ws.spi.http. - replace: jakarta.xml.ws.spi.http. - - org.openrewrite.text.FindAndReplace: - find: javax.ws.rs.container. - replace: jakarta.ws.rs.container. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.ws. - replace: jakarta.xml.ws. - - org.openrewrite.text.FindAndReplace: - find: javax.enterprise.context.spi. - replace: jakarta.enterprise.context.spi. - - org.openrewrite.text.FindAndReplace: - find: javax.resource.spi. - replace: jakarta.resource.spi. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.validator. - replace: jakarta.faces.validator. - - org.openrewrite.text.FindAndReplace: - find: javax.jws. - replace: jakarta.jws. - - org.openrewrite.text.FindAndReplace: - find: javax.annotation. - replace: jakarta.annotation. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.component.search. - replace: jakarta.faces.component.search. - - org.openrewrite.text.FindAndReplace: - find: javax.json.bind. - replace: jakarta.json.bind. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.jsp.jstl.tlv. - replace: jakarta.servlet.jsp.jstl.tlv. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.jsp.jstl.core. - replace: jakarta.servlet.jsp.jstl.core. - - org.openrewrite.text.FindAndReplace: - find: javax.decorator. - replace: jakarta.decorator. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.bean. - replace: jakarta.faces.bean. - - org.openrewrite.text.FindAndReplace: - find: javax.ws.rs.sse. - replace: jakarta.ws.rs.sse. - - org.openrewrite.text.FindAndReplace: - find: javax.persistence.metamodel. - replace: jakarta.persistence.metamodel. - - org.openrewrite.text.FindAndReplace: - find: javax.enterprise.context. - replace: jakarta.enterprise.context. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.ws.spi. - replace: jakarta.xml.ws.spi. - - org.openrewrite.text.FindAndReplace: - find: javax.batch.api. - replace: jakarta.batch.api. - - org.openrewrite.text.FindAndReplace: - find: javax.el. - replace: jakarta.el. - - org.openrewrite.text.FindAndReplace: - find: javax.json. - replace: jakarta.json. - - org.openrewrite.text.FindAndReplace: - find: javax.batch.api.chunk.listener. - replace: jakarta.batch.api.chunk.listener. - - org.openrewrite.text.FindAndReplace: - find: javax.persistence.spi. - replace: jakarta.persistence.spi. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.ws.handler. - replace: jakarta.xml.ws.handler. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.jsp.jstl.sql. - replace: jakarta.servlet.jsp.jstl.sql. - - org.openrewrite.text.FindAndReplace: - find: javax.enterprise.inject.literal. - replace: jakarta.enterprise.inject.literal. - - org.openrewrite.text.FindAndReplace: - find: javax.ws.rs.ext. - replace: jakarta.ws.rs.ext. - - org.openrewrite.text.FindAndReplace: - find: javax.validation.constraints. - replace: jakarta.validation.constraints. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.jsp.resources. - replace: jakarta.servlet.jsp.resources. - - org.openrewrite.text.FindAndReplace: - find: javax.validation.constraintvalidation. - replace: jakarta.validation.constraintvalidation. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.lifecycle. - replace: jakarta.faces.lifecycle. - - org.openrewrite.text.FindAndReplace: - find: javax.security.auth.message.callback. - replace: jakarta.security.auth.message.callback. - - org.openrewrite.text.FindAndReplace: - find: javax.ws.rs. - replace: jakarta.ws.rs. - - org.openrewrite.text.FindAndReplace: - find: javax.security.auth.message.config. - replace: jakarta.security.auth.message.config. - - org.openrewrite.text.FindAndReplace: - find: javax.websocket.server. - replace: jakarta.websocket.server. - - org.openrewrite.text.FindAndReplace: - find: javax.security.enterprise.authentication.mechanism.http. - replace: jakarta.security.enterprise.authentication.mechanism.http. - - org.openrewrite.text.FindAndReplace: - find: javax.enterprise.event. - replace: jakarta.enterprise.event. - - org.openrewrite.text.FindAndReplace: - find: javax.inject. - replace: jakarta.inject. - - org.openrewrite.text.FindAndReplace: - find: javax.batch.api.listener. - replace: jakarta.batch.api.listener. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.ws.http. - replace: jakarta.xml.ws.http. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.ws.soap. - replace: jakarta.xml.ws.soap. - - org.openrewrite.text.FindAndReplace: - find: javax.enterprise.inject.spi. - replace: jakarta.enterprise.inject.spi. - - org.openrewrite.text.FindAndReplace: - find: javax.faces. - replace: jakarta.faces. - - org.openrewrite.text.FindAndReplace: - find: javax.jms. - replace: jakarta.jms. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.ws.wsaddressing. - replace: jakarta.xml.ws.wsaddressing. - - org.openrewrite.text.FindAndReplace: - find: javax.validation.bootstrap. - replace: jakarta.validation.bootstrap. - - org.openrewrite.text.FindAndReplace: - find: javax.ejb.spi. - replace: jakarta.ejb.spi. - - org.openrewrite.text.FindAndReplace: - find: javax.validation.metadata. - replace: jakarta.validation.metadata. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.jsp. - replace: jakarta.servlet.jsp. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.convert. - replace: jakarta.faces.convert. - - org.openrewrite.text.FindAndReplace: - find: javax.mail. - replace: jakarta.mail. - - org.openrewrite.text.FindAndReplace: - find: javax.enterprise.concurrent. - replace: jakarta.enterprise.concurrent. - - org.openrewrite.text.FindAndReplace: - find: javax.batch.api.partition. - replace: jakarta.batch.api.partition. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.component.html. - replace: jakarta.faces.component.html. - - org.openrewrite.text.FindAndReplace: - find: javax.enterprise.inject.spi.configurator. - replace: jakarta.enterprise.inject.spi.configurator. - - org.openrewrite.text.FindAndReplace: - find: javax.security.enterprise.credential. - replace: jakarta.security.enterprise.credential. - - org.openrewrite.text.FindAndReplace: - find: javax.enterprise.context.control. - replace: jakarta.enterprise.context.control. - - org.openrewrite.text.FindAndReplace: - find: javax.json.bind.annotation. - replace: jakarta.json.bind.annotation. - - org.openrewrite.text.FindAndReplace: - find: javax.mail.search. - replace: jakarta.mail.search. - - org.openrewrite.text.FindAndReplace: - find: javax.enterprise.util. - replace: jakarta.enterprise.util. - - org.openrewrite.text.FindAndReplace: - find: javax.ws.rs.client. - replace: jakarta.ws.rs.client. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.model. - replace: jakarta.faces.model. - - org.openrewrite.text.FindAndReplace: - find: javax.resource.spi.security. - replace: jakarta.resource.spi.security. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.view. - replace: jakarta.faces.view. - - org.openrewrite.text.FindAndReplace: - find: javax.security.enterprise. - replace: jakarta.security.enterprise. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.jsp.tagext. - replace: jakarta.servlet.jsp.tagext. - - org.openrewrite.text.FindAndReplace: - find: javax.ws.rs.core. - replace: jakarta.ws.rs.core. - - org.openrewrite.text.FindAndReplace: - find: javax.security.auth.message.module. - replace: jakarta.security.auth.message.module. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.context. - replace: jakarta.faces.context. - - org.openrewrite.text.FindAndReplace: - find: javax.security.auth.message. - replace: jakarta.security.auth.message. - - org.openrewrite.text.FindAndReplace: - find: javax.annotation.sql. - replace: jakarta.annotation.sql. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.annotation. - replace: jakarta.faces.annotation. - - org.openrewrite.text.FindAndReplace: - find: javax.validation.groups. - replace: jakarta.validation.groups. - - org.openrewrite.text.FindAndReplace: - find: javax.jws.soap. - replace: jakarta.jws.soap. - - org.openrewrite.text.FindAndReplace: - find: javax.ejb. - replace: jakarta.ejb. - - org.openrewrite.text.FindAndReplace: - find: javax.security.enterprise.identitystore. - replace: jakarta.security.enterprise.identitystore. - - org.openrewrite.text.FindAndReplace: - find: javax.validation. - replace: jakarta.validation. ---- -type: specs.openrewrite.org/v1beta/recipe -name: io.quarkus.updates.core.quarkus30.JavaxToJakartaDocumentationMd -applicability: - singleSource: - - org.openrewrite.FindSourceFiles: - filePattern: "**/*.md" -recipeList: - - org.openrewrite.text.FindAndReplace: - find: javax.json.bind.config. - replace: jakarta.json.bind.config. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.soap. - replace: jakarta.xml.soap. - - org.openrewrite.text.FindAndReplace: - find: javax.security.jacc. - replace: jakarta.security.jacc. - - org.openrewrite.text.FindAndReplace: - find: javax.mail.internet. - replace: jakarta.mail.internet. - - org.openrewrite.text.FindAndReplace: - find: javax.batch.api.chunk. - replace: jakarta.batch.api.chunk. - - org.openrewrite.text.FindAndReplace: - find: javax.json.spi. - replace: jakarta.json.spi. - - org.openrewrite.text.FindAndReplace: - find: javax.resource. - replace: jakarta.resource. - - org.openrewrite.text.FindAndReplace: - find: javax.resource.spi.work. - replace: jakarta.resource.spi.work. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.bind.annotation.adapters. - replace: jakarta.xml.bind.annotation.adapters. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.webapp. - replace: jakarta.faces.webapp. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.application. - replace: jakarta.faces.application. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.bind.util. - replace: jakarta.xml.bind.util. - - org.openrewrite.text.FindAndReplace: - find: javax.persistence.criteria. - replace: jakarta.persistence.criteria. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.event. - replace: jakarta.faces.event. - - org.openrewrite.text.FindAndReplace: - find: javax.activation. - replace: jakarta.activation. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.flow.builder. - replace: jakarta.faces.flow.builder. - - org.openrewrite.text.FindAndReplace: - find: javax.websocket. - replace: jakarta.websocket. - - org.openrewrite.text.FindAndReplace: - find: javax.json.bind.serializer. - replace: jakarta.json.bind.serializer. - - org.openrewrite.text.FindAndReplace: - find: javax.enterprise.inject.se. - replace: jakarta.enterprise.inject.se. - - org.openrewrite.text.FindAndReplace: - find: javax.resource.cci. - replace: jakarta.resource.cci. - - org.openrewrite.text.FindAndReplace: - find: javax.validation.spi. - replace: jakarta.validation.spi. - - org.openrewrite.text.FindAndReplace: - find: javax.transaction. - replace: jakarta.transaction. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.bind.attachment. - replace: jakarta.xml.bind.attachment. - - org.openrewrite.text.FindAndReplace: - find: javax.interceptor. - replace: jakarta.interceptor. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.bind.helpers. - replace: jakarta.xml.bind.helpers. - - org.openrewrite.text.FindAndReplace: - find: javax.ejb.embeddable. - replace: jakarta.ejb.embeddable. - - org.openrewrite.text.FindAndReplace: - find: javax.persistence. - replace: jakarta.persistence. - - org.openrewrite.text.FindAndReplace: - find: javax.enterprise.inject. - replace: jakarta.enterprise.inject. - - org.openrewrite.text.FindAndReplace: - find: javax.mail.event. - replace: jakarta.mail.event. - - org.openrewrite.text.FindAndReplace: - find: javax.resource.spi.endpoint. - replace: jakarta.resource.spi.endpoint. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.component.visit. - replace: jakarta.faces.component.visit. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.jsp.jstl. - replace: jakarta.servlet.jsp.jstl. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.jsp.el. - replace: jakarta.servlet.jsp.el. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.el. - replace: jakarta.faces.el. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.bind. - replace: jakarta.xml.bind. - - org.openrewrite.text.FindAndReplace: - find: javax.json.bind.adapter. - replace: jakarta.json.bind.adapter. - - org.openrewrite.text.FindAndReplace: - find: javax.validation.valueextraction. - replace: jakarta.validation.valueextraction. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.view.facelets. - replace: jakarta.faces.view.facelets. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.flow. - replace: jakarta.faces.flow. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.render. - replace: jakarta.faces.render. - - org.openrewrite.text.FindAndReplace: - find: javax.mail.util. - replace: jakarta.mail.util. - - org.openrewrite.text.FindAndReplace: - find: javax.batch.runtime.context. - replace: jakarta.batch.runtime.context. - - org.openrewrite.text.FindAndReplace: - find: javax.annotation.security. - replace: jakarta.annotation.security. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.component. - replace: jakarta.faces.component. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.jsp.jstl.fmt. - replace: jakarta.servlet.jsp.jstl.fmt. - - org.openrewrite.text.FindAndReplace: - find: javax.json.bind.spi. - replace: jakarta.json.bind.spi. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet. - replace: jakarta.servlet. - - org.openrewrite.text.FindAndReplace: - find: javax.batch.operations. - replace: jakarta.batch.operations. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.push. - replace: jakarta.faces.push. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.descriptor. - replace: jakarta.servlet.descriptor. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.ws.handler.soap. - replace: jakarta.xml.ws.handler.soap. - - org.openrewrite.text.FindAndReplace: - find: javax.validation.executable. - replace: jakarta.validation.executable. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.component.behavior. - replace: jakarta.faces.component.behavior. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.bind.annotation. - replace: jakarta.xml.bind.annotation. - - org.openrewrite.text.FindAndReplace: - find: javax.batch.runtime. - replace: jakarta.batch.runtime. - - org.openrewrite.text.FindAndReplace: - find: javax.json.stream. - replace: jakarta.json.stream. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.annotation. - replace: jakarta.servlet.annotation. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.resources. - replace: jakarta.servlet.resources. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.http. - replace: jakarta.servlet.http. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.ws.spi.http. - replace: jakarta.xml.ws.spi.http. - - org.openrewrite.text.FindAndReplace: - find: javax.ws.rs.container. - replace: jakarta.ws.rs.container. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.ws. - replace: jakarta.xml.ws. - - org.openrewrite.text.FindAndReplace: - find: javax.enterprise.context.spi. - replace: jakarta.enterprise.context.spi. - - org.openrewrite.text.FindAndReplace: - find: javax.resource.spi. - replace: jakarta.resource.spi. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.validator. - replace: jakarta.faces.validator. - - org.openrewrite.text.FindAndReplace: - find: javax.jws. - replace: jakarta.jws. - - org.openrewrite.text.FindAndReplace: - find: javax.annotation. - replace: jakarta.annotation. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.component.search. - replace: jakarta.faces.component.search. - - org.openrewrite.text.FindAndReplace: - find: javax.json.bind. - replace: jakarta.json.bind. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.jsp.jstl.tlv. - replace: jakarta.servlet.jsp.jstl.tlv. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.jsp.jstl.core. - replace: jakarta.servlet.jsp.jstl.core. - - org.openrewrite.text.FindAndReplace: - find: javax.decorator. - replace: jakarta.decorator. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.bean. - replace: jakarta.faces.bean. - - org.openrewrite.text.FindAndReplace: - find: javax.ws.rs.sse. - replace: jakarta.ws.rs.sse. - - org.openrewrite.text.FindAndReplace: - find: javax.persistence.metamodel. - replace: jakarta.persistence.metamodel. - - org.openrewrite.text.FindAndReplace: - find: javax.enterprise.context. - replace: jakarta.enterprise.context. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.ws.spi. - replace: jakarta.xml.ws.spi. - - org.openrewrite.text.FindAndReplace: - find: javax.batch.api. - replace: jakarta.batch.api. - - org.openrewrite.text.FindAndReplace: - find: javax.el. - replace: jakarta.el. - - org.openrewrite.text.FindAndReplace: - find: javax.json. - replace: jakarta.json. - - org.openrewrite.text.FindAndReplace: - find: javax.batch.api.chunk.listener. - replace: jakarta.batch.api.chunk.listener. - - org.openrewrite.text.FindAndReplace: - find: javax.persistence.spi. - replace: jakarta.persistence.spi. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.ws.handler. - replace: jakarta.xml.ws.handler. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.jsp.jstl.sql. - replace: jakarta.servlet.jsp.jstl.sql. - - org.openrewrite.text.FindAndReplace: - find: javax.enterprise.inject.literal. - replace: jakarta.enterprise.inject.literal. - - org.openrewrite.text.FindAndReplace: - find: javax.ws.rs.ext. - replace: jakarta.ws.rs.ext. - - org.openrewrite.text.FindAndReplace: - find: javax.validation.constraints. - replace: jakarta.validation.constraints. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.jsp.resources. - replace: jakarta.servlet.jsp.resources. - - org.openrewrite.text.FindAndReplace: - find: javax.validation.constraintvalidation. - replace: jakarta.validation.constraintvalidation. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.lifecycle. - replace: jakarta.faces.lifecycle. - - org.openrewrite.text.FindAndReplace: - find: javax.security.auth.message.callback. - replace: jakarta.security.auth.message.callback. - - org.openrewrite.text.FindAndReplace: - find: javax.ws.rs. - replace: jakarta.ws.rs. - - org.openrewrite.text.FindAndReplace: - find: javax.security.auth.message.config. - replace: jakarta.security.auth.message.config. - - org.openrewrite.text.FindAndReplace: - find: javax.websocket.server. - replace: jakarta.websocket.server. - - org.openrewrite.text.FindAndReplace: - find: javax.security.enterprise.authentication.mechanism.http. - replace: jakarta.security.enterprise.authentication.mechanism.http. - - org.openrewrite.text.FindAndReplace: - find: javax.enterprise.event. - replace: jakarta.enterprise.event. - - org.openrewrite.text.FindAndReplace: - find: javax.inject. - replace: jakarta.inject. - - org.openrewrite.text.FindAndReplace: - find: javax.batch.api.listener. - replace: jakarta.batch.api.listener. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.ws.http. - replace: jakarta.xml.ws.http. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.ws.soap. - replace: jakarta.xml.ws.soap. - - org.openrewrite.text.FindAndReplace: - find: javax.enterprise.inject.spi. - replace: jakarta.enterprise.inject.spi. - - org.openrewrite.text.FindAndReplace: - find: javax.faces. - replace: jakarta.faces. - - org.openrewrite.text.FindAndReplace: - find: javax.jms. - replace: jakarta.jms. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.ws.wsaddressing. - replace: jakarta.xml.ws.wsaddressing. - - org.openrewrite.text.FindAndReplace: - find: javax.validation.bootstrap. - replace: jakarta.validation.bootstrap. - - org.openrewrite.text.FindAndReplace: - find: javax.ejb.spi. - replace: jakarta.ejb.spi. - - org.openrewrite.text.FindAndReplace: - find: javax.validation.metadata. - replace: jakarta.validation.metadata. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.jsp. - replace: jakarta.servlet.jsp. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.convert. - replace: jakarta.faces.convert. - - org.openrewrite.text.FindAndReplace: - find: javax.mail. - replace: jakarta.mail. - - org.openrewrite.text.FindAndReplace: - find: javax.enterprise.concurrent. - replace: jakarta.enterprise.concurrent. - - org.openrewrite.text.FindAndReplace: - find: javax.batch.api.partition. - replace: jakarta.batch.api.partition. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.component.html. - replace: jakarta.faces.component.html. - - org.openrewrite.text.FindAndReplace: - find: javax.enterprise.inject.spi.configurator. - replace: jakarta.enterprise.inject.spi.configurator. - - org.openrewrite.text.FindAndReplace: - find: javax.security.enterprise.credential. - replace: jakarta.security.enterprise.credential. - - org.openrewrite.text.FindAndReplace: - find: javax.enterprise.context.control. - replace: jakarta.enterprise.context.control. - - org.openrewrite.text.FindAndReplace: - find: javax.json.bind.annotation. - replace: jakarta.json.bind.annotation. - - org.openrewrite.text.FindAndReplace: - find: javax.mail.search. - replace: jakarta.mail.search. - - org.openrewrite.text.FindAndReplace: - find: javax.enterprise.util. - replace: jakarta.enterprise.util. - - org.openrewrite.text.FindAndReplace: - find: javax.ws.rs.client. - replace: jakarta.ws.rs.client. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.model. - replace: jakarta.faces.model. - - org.openrewrite.text.FindAndReplace: - find: javax.resource.spi.security. - replace: jakarta.resource.spi.security. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.view. - replace: jakarta.faces.view. - - org.openrewrite.text.FindAndReplace: - find: javax.security.enterprise. - replace: jakarta.security.enterprise. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.jsp.tagext. - replace: jakarta.servlet.jsp.tagext. - - org.openrewrite.text.FindAndReplace: - find: javax.ws.rs.core. - replace: jakarta.ws.rs.core. - - org.openrewrite.text.FindAndReplace: - find: javax.security.auth.message.module. - replace: jakarta.security.auth.message.module. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.context. - replace: jakarta.faces.context. - - org.openrewrite.text.FindAndReplace: - find: javax.security.auth.message. - replace: jakarta.security.auth.message. - - org.openrewrite.text.FindAndReplace: - find: javax.annotation.sql. - replace: jakarta.annotation.sql. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.annotation. - replace: jakarta.faces.annotation. - - org.openrewrite.text.FindAndReplace: - find: javax.validation.groups. - replace: jakarta.validation.groups. - - org.openrewrite.text.FindAndReplace: - find: javax.jws.soap. - replace: jakarta.jws.soap. - - org.openrewrite.text.FindAndReplace: - find: javax.ejb. - replace: jakarta.ejb. - - org.openrewrite.text.FindAndReplace: - find: javax.security.enterprise.identitystore. - replace: jakarta.security.enterprise.identitystore. - - org.openrewrite.text.FindAndReplace: - find: javax.validation. - replace: jakarta.validation. ---- -type: specs.openrewrite.org/v1beta/recipe -name: io.quarkus.updates.core.quarkus30.JavaxToJakartaCodestarts -applicability: - singleSource: - - org.openrewrite.FindSourceFiles: - filePattern: "**/src/main/codestarts/**/*.java" -recipeList: - - org.openrewrite.text.FindAndReplace: - find: javax.json.bind.config. - replace: jakarta.json.bind.config. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.soap. - replace: jakarta.xml.soap. - - org.openrewrite.text.FindAndReplace: - find: javax.security.jacc. - replace: jakarta.security.jacc. - - org.openrewrite.text.FindAndReplace: - find: javax.mail.internet. - replace: jakarta.mail.internet. - - org.openrewrite.text.FindAndReplace: - find: javax.batch.api.chunk. - replace: jakarta.batch.api.chunk. - - org.openrewrite.text.FindAndReplace: - find: javax.json.spi. - replace: jakarta.json.spi. - - org.openrewrite.text.FindAndReplace: - find: javax.resource. - replace: jakarta.resource. - - org.openrewrite.text.FindAndReplace: - find: javax.resource.spi.work. - replace: jakarta.resource.spi.work. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.bind.annotation.adapters. - replace: jakarta.xml.bind.annotation.adapters. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.webapp. - replace: jakarta.faces.webapp. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.application. - replace: jakarta.faces.application. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.bind.util. - replace: jakarta.xml.bind.util. - - org.openrewrite.text.FindAndReplace: - find: javax.persistence.criteria. - replace: jakarta.persistence.criteria. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.event. - replace: jakarta.faces.event. - - org.openrewrite.text.FindAndReplace: - find: javax.activation. - replace: jakarta.activation. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.flow.builder. - replace: jakarta.faces.flow.builder. - - org.openrewrite.text.FindAndReplace: - find: javax.websocket. - replace: jakarta.websocket. - - org.openrewrite.text.FindAndReplace: - find: javax.json.bind.serializer. - replace: jakarta.json.bind.serializer. - - org.openrewrite.text.FindAndReplace: - find: javax.enterprise.inject.se. - replace: jakarta.enterprise.inject.se. - - org.openrewrite.text.FindAndReplace: - find: javax.resource.cci. - replace: jakarta.resource.cci. - - org.openrewrite.text.FindAndReplace: - find: javax.validation.spi. - replace: jakarta.validation.spi. - - org.openrewrite.text.FindAndReplace: - find: javax.transaction. - replace: jakarta.transaction. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.bind.attachment. - replace: jakarta.xml.bind.attachment. - - org.openrewrite.text.FindAndReplace: - find: javax.interceptor. - replace: jakarta.interceptor. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.bind.helpers. - replace: jakarta.xml.bind.helpers. - - org.openrewrite.text.FindAndReplace: - find: javax.ejb.embeddable. - replace: jakarta.ejb.embeddable. - - org.openrewrite.text.FindAndReplace: - find: javax.persistence. - replace: jakarta.persistence. - - org.openrewrite.text.FindAndReplace: - find: javax.enterprise.inject. - replace: jakarta.enterprise.inject. - - org.openrewrite.text.FindAndReplace: - find: javax.mail.event. - replace: jakarta.mail.event. - - org.openrewrite.text.FindAndReplace: - find: javax.resource.spi.endpoint. - replace: jakarta.resource.spi.endpoint. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.component.visit. - replace: jakarta.faces.component.visit. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.jsp.jstl. - replace: jakarta.servlet.jsp.jstl. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.jsp.el. - replace: jakarta.servlet.jsp.el. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.el. - replace: jakarta.faces.el. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.bind. - replace: jakarta.xml.bind. - - org.openrewrite.text.FindAndReplace: - find: javax.json.bind.adapter. - replace: jakarta.json.bind.adapter. - - org.openrewrite.text.FindAndReplace: - find: javax.validation.valueextraction. - replace: jakarta.validation.valueextraction. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.view.facelets. - replace: jakarta.faces.view.facelets. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.flow. - replace: jakarta.faces.flow. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.render. - replace: jakarta.faces.render. - - org.openrewrite.text.FindAndReplace: - find: javax.mail.util. - replace: jakarta.mail.util. - - org.openrewrite.text.FindAndReplace: - find: javax.batch.runtime.context. - replace: jakarta.batch.runtime.context. - - org.openrewrite.text.FindAndReplace: - find: javax.annotation.security. - replace: jakarta.annotation.security. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.component. - replace: jakarta.faces.component. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.jsp.jstl.fmt. - replace: jakarta.servlet.jsp.jstl.fmt. - - org.openrewrite.text.FindAndReplace: - find: javax.json.bind.spi. - replace: jakarta.json.bind.spi. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet. - replace: jakarta.servlet. - - org.openrewrite.text.FindAndReplace: - find: javax.batch.operations. - replace: jakarta.batch.operations. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.push. - replace: jakarta.faces.push. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.descriptor. - replace: jakarta.servlet.descriptor. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.ws.handler.soap. - replace: jakarta.xml.ws.handler.soap. - - org.openrewrite.text.FindAndReplace: - find: javax.validation.executable. - replace: jakarta.validation.executable. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.component.behavior. - replace: jakarta.faces.component.behavior. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.bind.annotation. - replace: jakarta.xml.bind.annotation. - - org.openrewrite.text.FindAndReplace: - find: javax.batch.runtime. - replace: jakarta.batch.runtime. - - org.openrewrite.text.FindAndReplace: - find: javax.json.stream. - replace: jakarta.json.stream. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.annotation. - replace: jakarta.servlet.annotation. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.resources. - replace: jakarta.servlet.resources. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.http. - replace: jakarta.servlet.http. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.ws.spi.http. - replace: jakarta.xml.ws.spi.http. - - org.openrewrite.text.FindAndReplace: - find: javax.ws.rs.container. - replace: jakarta.ws.rs.container. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.ws. - replace: jakarta.xml.ws. - - org.openrewrite.text.FindAndReplace: - find: javax.enterprise.context.spi. - replace: jakarta.enterprise.context.spi. - - org.openrewrite.text.FindAndReplace: - find: javax.resource.spi. - replace: jakarta.resource.spi. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.validator. - replace: jakarta.faces.validator. - - org.openrewrite.text.FindAndReplace: - find: javax.jws. - replace: jakarta.jws. - - org.openrewrite.text.FindAndReplace: - find: javax.annotation. - replace: jakarta.annotation. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.component.search. - replace: jakarta.faces.component.search. - - org.openrewrite.text.FindAndReplace: - find: javax.json.bind. - replace: jakarta.json.bind. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.jsp.jstl.tlv. - replace: jakarta.servlet.jsp.jstl.tlv. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.jsp.jstl.core. - replace: jakarta.servlet.jsp.jstl.core. - - org.openrewrite.text.FindAndReplace: - find: javax.decorator. - replace: jakarta.decorator. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.bean. - replace: jakarta.faces.bean. - - org.openrewrite.text.FindAndReplace: - find: javax.ws.rs.sse. - replace: jakarta.ws.rs.sse. - - org.openrewrite.text.FindAndReplace: - find: javax.persistence.metamodel. - replace: jakarta.persistence.metamodel. - - org.openrewrite.text.FindAndReplace: - find: javax.enterprise.context. - replace: jakarta.enterprise.context. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.ws.spi. - replace: jakarta.xml.ws.spi. - - org.openrewrite.text.FindAndReplace: - find: javax.batch.api. - replace: jakarta.batch.api. - - org.openrewrite.text.FindAndReplace: - find: javax.el. - replace: jakarta.el. - - org.openrewrite.text.FindAndReplace: - find: javax.json. - replace: jakarta.json. - - org.openrewrite.text.FindAndReplace: - find: javax.batch.api.chunk.listener. - replace: jakarta.batch.api.chunk.listener. - - org.openrewrite.text.FindAndReplace: - find: javax.persistence.spi. - replace: jakarta.persistence.spi. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.ws.handler. - replace: jakarta.xml.ws.handler. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.jsp.jstl.sql. - replace: jakarta.servlet.jsp.jstl.sql. - - org.openrewrite.text.FindAndReplace: - find: javax.enterprise.inject.literal. - replace: jakarta.enterprise.inject.literal. - - org.openrewrite.text.FindAndReplace: - find: javax.ws.rs.ext. - replace: jakarta.ws.rs.ext. - - org.openrewrite.text.FindAndReplace: - find: javax.validation.constraints. - replace: jakarta.validation.constraints. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.jsp.resources. - replace: jakarta.servlet.jsp.resources. - - org.openrewrite.text.FindAndReplace: - find: javax.validation.constraintvalidation. - replace: jakarta.validation.constraintvalidation. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.lifecycle. - replace: jakarta.faces.lifecycle. - - org.openrewrite.text.FindAndReplace: - find: javax.security.auth.message.callback. - replace: jakarta.security.auth.message.callback. - - org.openrewrite.text.FindAndReplace: - find: javax.ws.rs. - replace: jakarta.ws.rs. - - org.openrewrite.text.FindAndReplace: - find: javax.security.auth.message.config. - replace: jakarta.security.auth.message.config. - - org.openrewrite.text.FindAndReplace: - find: javax.websocket.server. - replace: jakarta.websocket.server. - - org.openrewrite.text.FindAndReplace: - find: javax.security.enterprise.authentication.mechanism.http. - replace: jakarta.security.enterprise.authentication.mechanism.http. - - org.openrewrite.text.FindAndReplace: - find: javax.enterprise.event. - replace: jakarta.enterprise.event. - - org.openrewrite.text.FindAndReplace: - find: javax.inject. - replace: jakarta.inject. - - org.openrewrite.text.FindAndReplace: - find: javax.batch.api.listener. - replace: jakarta.batch.api.listener. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.ws.http. - replace: jakarta.xml.ws.http. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.ws.soap. - replace: jakarta.xml.ws.soap. - - org.openrewrite.text.FindAndReplace: - find: javax.enterprise.inject.spi. - replace: jakarta.enterprise.inject.spi. - - org.openrewrite.text.FindAndReplace: - find: javax.faces. - replace: jakarta.faces. - - org.openrewrite.text.FindAndReplace: - find: javax.jms. - replace: jakarta.jms. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.ws.wsaddressing. - replace: jakarta.xml.ws.wsaddressing. - - org.openrewrite.text.FindAndReplace: - find: javax.validation.bootstrap. - replace: jakarta.validation.bootstrap. - - org.openrewrite.text.FindAndReplace: - find: javax.ejb.spi. - replace: jakarta.ejb.spi. - - org.openrewrite.text.FindAndReplace: - find: javax.validation.metadata. - replace: jakarta.validation.metadata. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.jsp. - replace: jakarta.servlet.jsp. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.convert. - replace: jakarta.faces.convert. - - org.openrewrite.text.FindAndReplace: - find: javax.mail. - replace: jakarta.mail. - - org.openrewrite.text.FindAndReplace: - find: javax.enterprise.concurrent. - replace: jakarta.enterprise.concurrent. - - org.openrewrite.text.FindAndReplace: - find: javax.batch.api.partition. - replace: jakarta.batch.api.partition. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.component.html. - replace: jakarta.faces.component.html. - - org.openrewrite.text.FindAndReplace: - find: javax.enterprise.inject.spi.configurator. - replace: jakarta.enterprise.inject.spi.configurator. - - org.openrewrite.text.FindAndReplace: - find: javax.security.enterprise.credential. - replace: jakarta.security.enterprise.credential. - - org.openrewrite.text.FindAndReplace: - find: javax.enterprise.context.control. - replace: jakarta.enterprise.context.control. - - org.openrewrite.text.FindAndReplace: - find: javax.json.bind.annotation. - replace: jakarta.json.bind.annotation. - - org.openrewrite.text.FindAndReplace: - find: javax.mail.search. - replace: jakarta.mail.search. - - org.openrewrite.text.FindAndReplace: - find: javax.enterprise.util. - replace: jakarta.enterprise.util. - - org.openrewrite.text.FindAndReplace: - find: javax.ws.rs.client. - replace: jakarta.ws.rs.client. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.model. - replace: jakarta.faces.model. - - org.openrewrite.text.FindAndReplace: - find: javax.resource.spi.security. - replace: jakarta.resource.spi.security. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.view. - replace: jakarta.faces.view. - - org.openrewrite.text.FindAndReplace: - find: javax.security.enterprise. - replace: jakarta.security.enterprise. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.jsp.tagext. - replace: jakarta.servlet.jsp.tagext. - - org.openrewrite.text.FindAndReplace: - find: javax.ws.rs.core. - replace: jakarta.ws.rs.core. - - org.openrewrite.text.FindAndReplace: - find: javax.security.auth.message.module. - replace: jakarta.security.auth.message.module. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.context. - replace: jakarta.faces.context. - - org.openrewrite.text.FindAndReplace: - find: javax.security.auth.message. - replace: jakarta.security.auth.message. - - org.openrewrite.text.FindAndReplace: - find: javax.annotation.sql. - replace: jakarta.annotation.sql. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.annotation. - replace: jakarta.faces.annotation. - - org.openrewrite.text.FindAndReplace: - find: javax.validation.groups. - replace: jakarta.validation.groups. - - org.openrewrite.text.FindAndReplace: - find: javax.jws.soap. - replace: jakarta.jws.soap. - - org.openrewrite.text.FindAndReplace: - find: javax.ejb. - replace: jakarta.ejb. - - org.openrewrite.text.FindAndReplace: - find: javax.security.enterprise.identitystore. - replace: jakarta.security.enterprise.identitystore. - - org.openrewrite.text.FindAndReplace: - find: javax.validation. - replace: jakarta.validation. ---- -type: specs.openrewrite.org/v1beta/recipe -name: io.quarkus.updates.core.quarkus30.JavaxToJakartaCodestartsTests -applicability: - singleSource: - - org.openrewrite.FindSourceFiles: - filePattern: "**/src/test/resources/__snapshots__/**/*.java" -recipeList: - - org.openrewrite.text.FindAndReplace: - find: javax.json.bind.config. - replace: jakarta.json.bind.config. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.soap. - replace: jakarta.xml.soap. - - org.openrewrite.text.FindAndReplace: - find: javax.security.jacc. - replace: jakarta.security.jacc. - - org.openrewrite.text.FindAndReplace: - find: javax.mail.internet. - replace: jakarta.mail.internet. - - org.openrewrite.text.FindAndReplace: - find: javax.batch.api.chunk. - replace: jakarta.batch.api.chunk. - - org.openrewrite.text.FindAndReplace: - find: javax.json.spi. - replace: jakarta.json.spi. - - org.openrewrite.text.FindAndReplace: - find: javax.resource. - replace: jakarta.resource. - - org.openrewrite.text.FindAndReplace: - find: javax.resource.spi.work. - replace: jakarta.resource.spi.work. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.bind.annotation.adapters. - replace: jakarta.xml.bind.annotation.adapters. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.webapp. - replace: jakarta.faces.webapp. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.application. - replace: jakarta.faces.application. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.bind.util. - replace: jakarta.xml.bind.util. - - org.openrewrite.text.FindAndReplace: - find: javax.persistence.criteria. - replace: jakarta.persistence.criteria. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.event. - replace: jakarta.faces.event. - - org.openrewrite.text.FindAndReplace: - find: javax.activation. - replace: jakarta.activation. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.flow.builder. - replace: jakarta.faces.flow.builder. - - org.openrewrite.text.FindAndReplace: - find: javax.websocket. - replace: jakarta.websocket. - - org.openrewrite.text.FindAndReplace: - find: javax.json.bind.serializer. - replace: jakarta.json.bind.serializer. - - org.openrewrite.text.FindAndReplace: - find: javax.enterprise.inject.se. - replace: jakarta.enterprise.inject.se. - - org.openrewrite.text.FindAndReplace: - find: javax.resource.cci. - replace: jakarta.resource.cci. - - org.openrewrite.text.FindAndReplace: - find: javax.validation.spi. - replace: jakarta.validation.spi. - - org.openrewrite.text.FindAndReplace: - find: javax.transaction. - replace: jakarta.transaction. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.bind.attachment. - replace: jakarta.xml.bind.attachment. - - org.openrewrite.text.FindAndReplace: - find: javax.interceptor. - replace: jakarta.interceptor. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.bind.helpers. - replace: jakarta.xml.bind.helpers. - - org.openrewrite.text.FindAndReplace: - find: javax.ejb.embeddable. - replace: jakarta.ejb.embeddable. - - org.openrewrite.text.FindAndReplace: - find: javax.persistence. - replace: jakarta.persistence. - - org.openrewrite.text.FindAndReplace: - find: javax.enterprise.inject. - replace: jakarta.enterprise.inject. - - org.openrewrite.text.FindAndReplace: - find: javax.mail.event. - replace: jakarta.mail.event. - - org.openrewrite.text.FindAndReplace: - find: javax.resource.spi.endpoint. - replace: jakarta.resource.spi.endpoint. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.component.visit. - replace: jakarta.faces.component.visit. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.jsp.jstl. - replace: jakarta.servlet.jsp.jstl. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.jsp.el. - replace: jakarta.servlet.jsp.el. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.el. - replace: jakarta.faces.el. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.bind. - replace: jakarta.xml.bind. - - org.openrewrite.text.FindAndReplace: - find: javax.json.bind.adapter. - replace: jakarta.json.bind.adapter. - - org.openrewrite.text.FindAndReplace: - find: javax.validation.valueextraction. - replace: jakarta.validation.valueextraction. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.view.facelets. - replace: jakarta.faces.view.facelets. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.flow. - replace: jakarta.faces.flow. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.render. - replace: jakarta.faces.render. - - org.openrewrite.text.FindAndReplace: - find: javax.mail.util. - replace: jakarta.mail.util. - - org.openrewrite.text.FindAndReplace: - find: javax.batch.runtime.context. - replace: jakarta.batch.runtime.context. - - org.openrewrite.text.FindAndReplace: - find: javax.annotation.security. - replace: jakarta.annotation.security. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.component. - replace: jakarta.faces.component. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.jsp.jstl.fmt. - replace: jakarta.servlet.jsp.jstl.fmt. - - org.openrewrite.text.FindAndReplace: - find: javax.json.bind.spi. - replace: jakarta.json.bind.spi. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet. - replace: jakarta.servlet. - - org.openrewrite.text.FindAndReplace: - find: javax.batch.operations. - replace: jakarta.batch.operations. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.push. - replace: jakarta.faces.push. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.descriptor. - replace: jakarta.servlet.descriptor. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.ws.handler.soap. - replace: jakarta.xml.ws.handler.soap. - - org.openrewrite.text.FindAndReplace: - find: javax.validation.executable. - replace: jakarta.validation.executable. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.component.behavior. - replace: jakarta.faces.component.behavior. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.bind.annotation. - replace: jakarta.xml.bind.annotation. - - org.openrewrite.text.FindAndReplace: - find: javax.batch.runtime. - replace: jakarta.batch.runtime. - - org.openrewrite.text.FindAndReplace: - find: javax.json.stream. - replace: jakarta.json.stream. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.annotation. - replace: jakarta.servlet.annotation. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.resources. - replace: jakarta.servlet.resources. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.http. - replace: jakarta.servlet.http. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.ws.spi.http. - replace: jakarta.xml.ws.spi.http. - - org.openrewrite.text.FindAndReplace: - find: javax.ws.rs.container. - replace: jakarta.ws.rs.container. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.ws. - replace: jakarta.xml.ws. - - org.openrewrite.text.FindAndReplace: - find: javax.enterprise.context.spi. - replace: jakarta.enterprise.context.spi. - - org.openrewrite.text.FindAndReplace: - find: javax.resource.spi. - replace: jakarta.resource.spi. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.validator. - replace: jakarta.faces.validator. - - org.openrewrite.text.FindAndReplace: - find: javax.jws. - replace: jakarta.jws. - - org.openrewrite.text.FindAndReplace: - find: javax.annotation. - replace: jakarta.annotation. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.component.search. - replace: jakarta.faces.component.search. - - org.openrewrite.text.FindAndReplace: - find: javax.json.bind. - replace: jakarta.json.bind. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.jsp.jstl.tlv. - replace: jakarta.servlet.jsp.jstl.tlv. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.jsp.jstl.core. - replace: jakarta.servlet.jsp.jstl.core. - - org.openrewrite.text.FindAndReplace: - find: javax.decorator. - replace: jakarta.decorator. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.bean. - replace: jakarta.faces.bean. - - org.openrewrite.text.FindAndReplace: - find: javax.ws.rs.sse. - replace: jakarta.ws.rs.sse. - - org.openrewrite.text.FindAndReplace: - find: javax.persistence.metamodel. - replace: jakarta.persistence.metamodel. - - org.openrewrite.text.FindAndReplace: - find: javax.enterprise.context. - replace: jakarta.enterprise.context. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.ws.spi. - replace: jakarta.xml.ws.spi. - - org.openrewrite.text.FindAndReplace: - find: javax.batch.api. - replace: jakarta.batch.api. - - org.openrewrite.text.FindAndReplace: - find: javax.el. - replace: jakarta.el. - - org.openrewrite.text.FindAndReplace: - find: javax.json. - replace: jakarta.json. - - org.openrewrite.text.FindAndReplace: - find: javax.batch.api.chunk.listener. - replace: jakarta.batch.api.chunk.listener. - - org.openrewrite.text.FindAndReplace: - find: javax.persistence.spi. - replace: jakarta.persistence.spi. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.ws.handler. - replace: jakarta.xml.ws.handler. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.jsp.jstl.sql. - replace: jakarta.servlet.jsp.jstl.sql. - - org.openrewrite.text.FindAndReplace: - find: javax.enterprise.inject.literal. - replace: jakarta.enterprise.inject.literal. - - org.openrewrite.text.FindAndReplace: - find: javax.ws.rs.ext. - replace: jakarta.ws.rs.ext. - - org.openrewrite.text.FindAndReplace: - find: javax.validation.constraints. - replace: jakarta.validation.constraints. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.jsp.resources. - replace: jakarta.servlet.jsp.resources. - - org.openrewrite.text.FindAndReplace: - find: javax.validation.constraintvalidation. - replace: jakarta.validation.constraintvalidation. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.lifecycle. - replace: jakarta.faces.lifecycle. - - org.openrewrite.text.FindAndReplace: - find: javax.security.auth.message.callback. - replace: jakarta.security.auth.message.callback. - - org.openrewrite.text.FindAndReplace: - find: javax.ws.rs. - replace: jakarta.ws.rs. - - org.openrewrite.text.FindAndReplace: - find: javax.security.auth.message.config. - replace: jakarta.security.auth.message.config. - - org.openrewrite.text.FindAndReplace: - find: javax.websocket.server. - replace: jakarta.websocket.server. - - org.openrewrite.text.FindAndReplace: - find: javax.security.enterprise.authentication.mechanism.http. - replace: jakarta.security.enterprise.authentication.mechanism.http. - - org.openrewrite.text.FindAndReplace: - find: javax.enterprise.event. - replace: jakarta.enterprise.event. - - org.openrewrite.text.FindAndReplace: - find: javax.inject. - replace: jakarta.inject. - - org.openrewrite.text.FindAndReplace: - find: javax.batch.api.listener. - replace: jakarta.batch.api.listener. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.ws.http. - replace: jakarta.xml.ws.http. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.ws.soap. - replace: jakarta.xml.ws.soap. - - org.openrewrite.text.FindAndReplace: - find: javax.enterprise.inject.spi. - replace: jakarta.enterprise.inject.spi. - - org.openrewrite.text.FindAndReplace: - find: javax.faces. - replace: jakarta.faces. - - org.openrewrite.text.FindAndReplace: - find: javax.jms. - replace: jakarta.jms. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.ws.wsaddressing. - replace: jakarta.xml.ws.wsaddressing. - - org.openrewrite.text.FindAndReplace: - find: javax.validation.bootstrap. - replace: jakarta.validation.bootstrap. - - org.openrewrite.text.FindAndReplace: - find: javax.ejb.spi. - replace: jakarta.ejb.spi. - - org.openrewrite.text.FindAndReplace: - find: javax.validation.metadata. - replace: jakarta.validation.metadata. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.jsp. - replace: jakarta.servlet.jsp. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.convert. - replace: jakarta.faces.convert. - - org.openrewrite.text.FindAndReplace: - find: javax.mail. - replace: jakarta.mail. - - org.openrewrite.text.FindAndReplace: - find: javax.enterprise.concurrent. - replace: jakarta.enterprise.concurrent. - - org.openrewrite.text.FindAndReplace: - find: javax.batch.api.partition. - replace: jakarta.batch.api.partition. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.component.html. - replace: jakarta.faces.component.html. - - org.openrewrite.text.FindAndReplace: - find: javax.enterprise.inject.spi.configurator. - replace: jakarta.enterprise.inject.spi.configurator. - - org.openrewrite.text.FindAndReplace: - find: javax.security.enterprise.credential. - replace: jakarta.security.enterprise.credential. - - org.openrewrite.text.FindAndReplace: - find: javax.enterprise.context.control. - replace: jakarta.enterprise.context.control. - - org.openrewrite.text.FindAndReplace: - find: javax.json.bind.annotation. - replace: jakarta.json.bind.annotation. - - org.openrewrite.text.FindAndReplace: - find: javax.mail.search. - replace: jakarta.mail.search. - - org.openrewrite.text.FindAndReplace: - find: javax.enterprise.util. - replace: jakarta.enterprise.util. - - org.openrewrite.text.FindAndReplace: - find: javax.ws.rs.client. - replace: jakarta.ws.rs.client. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.model. - replace: jakarta.faces.model. - - org.openrewrite.text.FindAndReplace: - find: javax.resource.spi.security. - replace: jakarta.resource.spi.security. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.view. - replace: jakarta.faces.view. - - org.openrewrite.text.FindAndReplace: - find: javax.security.enterprise. - replace: jakarta.security.enterprise. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.jsp.tagext. - replace: jakarta.servlet.jsp.tagext. - - org.openrewrite.text.FindAndReplace: - find: javax.ws.rs.core. - replace: jakarta.ws.rs.core. - - org.openrewrite.text.FindAndReplace: - find: javax.security.auth.message.module. - replace: jakarta.security.auth.message.module. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.context. - replace: jakarta.faces.context. - - org.openrewrite.text.FindAndReplace: - find: javax.security.auth.message. - replace: jakarta.security.auth.message. - - org.openrewrite.text.FindAndReplace: - find: javax.annotation.sql. - replace: jakarta.annotation.sql. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.annotation. - replace: jakarta.faces.annotation. - - org.openrewrite.text.FindAndReplace: - find: javax.validation.groups. - replace: jakarta.validation.groups. - - org.openrewrite.text.FindAndReplace: - find: javax.jws.soap. - replace: jakarta.jws.soap. - - org.openrewrite.text.FindAndReplace: - find: javax.ejb. - replace: jakarta.ejb. - - org.openrewrite.text.FindAndReplace: - find: javax.security.enterprise.identitystore. - replace: jakarta.security.enterprise.identitystore. - - org.openrewrite.text.FindAndReplace: - find: javax.validation. - replace: jakarta.validation. ---- -type: specs.openrewrite.org/v1beta/recipe -name: io.quarkus.updates.core.quarkus30.JavaxToJakartaKotlin -applicability: - singleSource: - - org.openrewrite.FindSourceFiles: - filePattern: "**/*.kt" -recipeList: - - org.openrewrite.text.FindAndReplace: - find: javax.json.bind.config. - replace: jakarta.json.bind.config. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.soap. - replace: jakarta.xml.soap. - - org.openrewrite.text.FindAndReplace: - find: javax.security.jacc. - replace: jakarta.security.jacc. - - org.openrewrite.text.FindAndReplace: - find: javax.mail.internet. - replace: jakarta.mail.internet. - - org.openrewrite.text.FindAndReplace: - find: javax.batch.api.chunk. - replace: jakarta.batch.api.chunk. - - org.openrewrite.text.FindAndReplace: - find: javax.json.spi. - replace: jakarta.json.spi. - - org.openrewrite.text.FindAndReplace: - find: javax.resource. - replace: jakarta.resource. - - org.openrewrite.text.FindAndReplace: - find: javax.resource.spi.work. - replace: jakarta.resource.spi.work. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.bind.annotation.adapters. - replace: jakarta.xml.bind.annotation.adapters. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.webapp. - replace: jakarta.faces.webapp. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.application. - replace: jakarta.faces.application. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.bind.util. - replace: jakarta.xml.bind.util. - - org.openrewrite.text.FindAndReplace: - find: javax.persistence.criteria. - replace: jakarta.persistence.criteria. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.event. - replace: jakarta.faces.event. - - org.openrewrite.text.FindAndReplace: - find: javax.activation. - replace: jakarta.activation. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.flow.builder. - replace: jakarta.faces.flow.builder. - - org.openrewrite.text.FindAndReplace: - find: javax.websocket. - replace: jakarta.websocket. - - org.openrewrite.text.FindAndReplace: - find: javax.json.bind.serializer. - replace: jakarta.json.bind.serializer. - - org.openrewrite.text.FindAndReplace: - find: javax.enterprise.inject.se. - replace: jakarta.enterprise.inject.se. - - org.openrewrite.text.FindAndReplace: - find: javax.resource.cci. - replace: jakarta.resource.cci. - - org.openrewrite.text.FindAndReplace: - find: javax.validation.spi. - replace: jakarta.validation.spi. - - org.openrewrite.text.FindAndReplace: - find: javax.transaction. - replace: jakarta.transaction. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.bind.attachment. - replace: jakarta.xml.bind.attachment. - - org.openrewrite.text.FindAndReplace: - find: javax.interceptor. - replace: jakarta.interceptor. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.bind.helpers. - replace: jakarta.xml.bind.helpers. - - org.openrewrite.text.FindAndReplace: - find: javax.ejb.embeddable. - replace: jakarta.ejb.embeddable. - - org.openrewrite.text.FindAndReplace: - find: javax.persistence. - replace: jakarta.persistence. - - org.openrewrite.text.FindAndReplace: - find: javax.enterprise.inject. - replace: jakarta.enterprise.inject. - - org.openrewrite.text.FindAndReplace: - find: javax.mail.event. - replace: jakarta.mail.event. - - org.openrewrite.text.FindAndReplace: - find: javax.resource.spi.endpoint. - replace: jakarta.resource.spi.endpoint. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.component.visit. - replace: jakarta.faces.component.visit. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.jsp.jstl. - replace: jakarta.servlet.jsp.jstl. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.jsp.el. - replace: jakarta.servlet.jsp.el. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.el. - replace: jakarta.faces.el. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.bind. - replace: jakarta.xml.bind. - - org.openrewrite.text.FindAndReplace: - find: javax.json.bind.adapter. - replace: jakarta.json.bind.adapter. - - org.openrewrite.text.FindAndReplace: - find: javax.validation.valueextraction. - replace: jakarta.validation.valueextraction. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.view.facelets. - replace: jakarta.faces.view.facelets. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.flow. - replace: jakarta.faces.flow. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.render. - replace: jakarta.faces.render. - - org.openrewrite.text.FindAndReplace: - find: javax.mail.util. - replace: jakarta.mail.util. - - org.openrewrite.text.FindAndReplace: - find: javax.batch.runtime.context. - replace: jakarta.batch.runtime.context. - - org.openrewrite.text.FindAndReplace: - find: javax.annotation.security. - replace: jakarta.annotation.security. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.component. - replace: jakarta.faces.component. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.jsp.jstl.fmt. - replace: jakarta.servlet.jsp.jstl.fmt. - - org.openrewrite.text.FindAndReplace: - find: javax.json.bind.spi. - replace: jakarta.json.bind.spi. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet. - replace: jakarta.servlet. - - org.openrewrite.text.FindAndReplace: - find: javax.batch.operations. - replace: jakarta.batch.operations. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.push. - replace: jakarta.faces.push. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.descriptor. - replace: jakarta.servlet.descriptor. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.ws.handler.soap. - replace: jakarta.xml.ws.handler.soap. - - org.openrewrite.text.FindAndReplace: - find: javax.validation.executable. - replace: jakarta.validation.executable. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.component.behavior. - replace: jakarta.faces.component.behavior. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.bind.annotation. - replace: jakarta.xml.bind.annotation. - - org.openrewrite.text.FindAndReplace: - find: javax.batch.runtime. - replace: jakarta.batch.runtime. - - org.openrewrite.text.FindAndReplace: - find: javax.json.stream. - replace: jakarta.json.stream. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.annotation. - replace: jakarta.servlet.annotation. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.resources. - replace: jakarta.servlet.resources. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.http. - replace: jakarta.servlet.http. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.ws.spi.http. - replace: jakarta.xml.ws.spi.http. - - org.openrewrite.text.FindAndReplace: - find: javax.ws.rs.container. - replace: jakarta.ws.rs.container. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.ws. - replace: jakarta.xml.ws. - - org.openrewrite.text.FindAndReplace: - find: javax.enterprise.context.spi. - replace: jakarta.enterprise.context.spi. - - org.openrewrite.text.FindAndReplace: - find: javax.resource.spi. - replace: jakarta.resource.spi. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.validator. - replace: jakarta.faces.validator. - - org.openrewrite.text.FindAndReplace: - find: javax.jws. - replace: jakarta.jws. - - org.openrewrite.text.FindAndReplace: - find: javax.annotation. - replace: jakarta.annotation. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.component.search. - replace: jakarta.faces.component.search. - - org.openrewrite.text.FindAndReplace: - find: javax.json.bind. - replace: jakarta.json.bind. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.jsp.jstl.tlv. - replace: jakarta.servlet.jsp.jstl.tlv. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.jsp.jstl.core. - replace: jakarta.servlet.jsp.jstl.core. - - org.openrewrite.text.FindAndReplace: - find: javax.decorator. - replace: jakarta.decorator. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.bean. - replace: jakarta.faces.bean. - - org.openrewrite.text.FindAndReplace: - find: javax.ws.rs.sse. - replace: jakarta.ws.rs.sse. - - org.openrewrite.text.FindAndReplace: - find: javax.persistence.metamodel. - replace: jakarta.persistence.metamodel. - - org.openrewrite.text.FindAndReplace: - find: javax.enterprise.context. - replace: jakarta.enterprise.context. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.ws.spi. - replace: jakarta.xml.ws.spi. - - org.openrewrite.text.FindAndReplace: - find: javax.batch.api. - replace: jakarta.batch.api. - - org.openrewrite.text.FindAndReplace: - find: javax.el. - replace: jakarta.el. - - org.openrewrite.text.FindAndReplace: - find: javax.json. - replace: jakarta.json. - - org.openrewrite.text.FindAndReplace: - find: javax.batch.api.chunk.listener. - replace: jakarta.batch.api.chunk.listener. - - org.openrewrite.text.FindAndReplace: - find: javax.persistence.spi. - replace: jakarta.persistence.spi. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.ws.handler. - replace: jakarta.xml.ws.handler. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.jsp.jstl.sql. - replace: jakarta.servlet.jsp.jstl.sql. - - org.openrewrite.text.FindAndReplace: - find: javax.enterprise.inject.literal. - replace: jakarta.enterprise.inject.literal. - - org.openrewrite.text.FindAndReplace: - find: javax.ws.rs.ext. - replace: jakarta.ws.rs.ext. - - org.openrewrite.text.FindAndReplace: - find: javax.validation.constraints. - replace: jakarta.validation.constraints. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.jsp.resources. - replace: jakarta.servlet.jsp.resources. - - org.openrewrite.text.FindAndReplace: - find: javax.validation.constraintvalidation. - replace: jakarta.validation.constraintvalidation. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.lifecycle. - replace: jakarta.faces.lifecycle. - - org.openrewrite.text.FindAndReplace: - find: javax.security.auth.message.callback. - replace: jakarta.security.auth.message.callback. - - org.openrewrite.text.FindAndReplace: - find: javax.ws.rs. - replace: jakarta.ws.rs. - - org.openrewrite.text.FindAndReplace: - find: javax.security.auth.message.config. - replace: jakarta.security.auth.message.config. - - org.openrewrite.text.FindAndReplace: - find: javax.websocket.server. - replace: jakarta.websocket.server. - - org.openrewrite.text.FindAndReplace: - find: javax.security.enterprise.authentication.mechanism.http. - replace: jakarta.security.enterprise.authentication.mechanism.http. - - org.openrewrite.text.FindAndReplace: - find: javax.enterprise.event. - replace: jakarta.enterprise.event. - - org.openrewrite.text.FindAndReplace: - find: javax.inject. - replace: jakarta.inject. - - org.openrewrite.text.FindAndReplace: - find: javax.batch.api.listener. - replace: jakarta.batch.api.listener. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.ws.http. - replace: jakarta.xml.ws.http. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.ws.soap. - replace: jakarta.xml.ws.soap. - - org.openrewrite.text.FindAndReplace: - find: javax.enterprise.inject.spi. - replace: jakarta.enterprise.inject.spi. - - org.openrewrite.text.FindAndReplace: - find: javax.faces. - replace: jakarta.faces. - - org.openrewrite.text.FindAndReplace: - find: javax.jms. - replace: jakarta.jms. - - org.openrewrite.text.FindAndReplace: - find: javax.xml.ws.wsaddressing. - replace: jakarta.xml.ws.wsaddressing. - - org.openrewrite.text.FindAndReplace: - find: javax.validation.bootstrap. - replace: jakarta.validation.bootstrap. - - org.openrewrite.text.FindAndReplace: - find: javax.ejb.spi. - replace: jakarta.ejb.spi. - - org.openrewrite.text.FindAndReplace: - find: javax.validation.metadata. - replace: jakarta.validation.metadata. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.jsp. - replace: jakarta.servlet.jsp. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.convert. - replace: jakarta.faces.convert. - - org.openrewrite.text.FindAndReplace: - find: javax.mail. - replace: jakarta.mail. - - org.openrewrite.text.FindAndReplace: - find: javax.enterprise.concurrent. - replace: jakarta.enterprise.concurrent. - - org.openrewrite.text.FindAndReplace: - find: javax.batch.api.partition. - replace: jakarta.batch.api.partition. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.component.html. - replace: jakarta.faces.component.html. - - org.openrewrite.text.FindAndReplace: - find: javax.enterprise.inject.spi.configurator. - replace: jakarta.enterprise.inject.spi.configurator. - - org.openrewrite.text.FindAndReplace: - find: javax.security.enterprise.credential. - replace: jakarta.security.enterprise.credential. - - org.openrewrite.text.FindAndReplace: - find: javax.enterprise.context.control. - replace: jakarta.enterprise.context.control. - - org.openrewrite.text.FindAndReplace: - find: javax.json.bind.annotation. - replace: jakarta.json.bind.annotation. - - org.openrewrite.text.FindAndReplace: - find: javax.mail.search. - replace: jakarta.mail.search. - - org.openrewrite.text.FindAndReplace: - find: javax.enterprise.util. - replace: jakarta.enterprise.util. - - org.openrewrite.text.FindAndReplace: - find: javax.ws.rs.client. - replace: jakarta.ws.rs.client. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.model. - replace: jakarta.faces.model. - - org.openrewrite.text.FindAndReplace: - find: javax.resource.spi.security. - replace: jakarta.resource.spi.security. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.view. - replace: jakarta.faces.view. - - org.openrewrite.text.FindAndReplace: - find: javax.security.enterprise. - replace: jakarta.security.enterprise. - - org.openrewrite.text.FindAndReplace: - find: javax.servlet.jsp.tagext. - replace: jakarta.servlet.jsp.tagext. - - org.openrewrite.text.FindAndReplace: - find: javax.ws.rs.core. - replace: jakarta.ws.rs.core. - - org.openrewrite.text.FindAndReplace: - find: javax.security.auth.message.module. - replace: jakarta.security.auth.message.module. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.context. - replace: jakarta.faces.context. - - org.openrewrite.text.FindAndReplace: - find: javax.security.auth.message. - replace: jakarta.security.auth.message. - - org.openrewrite.text.FindAndReplace: - find: javax.annotation.sql. - replace: jakarta.annotation.sql. - - org.openrewrite.text.FindAndReplace: - find: javax.faces.annotation. - replace: jakarta.faces.annotation. - - org.openrewrite.text.FindAndReplace: - find: javax.validation.groups. - replace: jakarta.validation.groups. - - org.openrewrite.text.FindAndReplace: - find: javax.jws.soap. - replace: jakarta.jws.soap. - - org.openrewrite.text.FindAndReplace: - find: javax.ejb. - replace: jakarta.ejb. - - org.openrewrite.text.FindAndReplace: - find: javax.security.enterprise.identitystore. - replace: jakarta.security.enterprise.identitystore. - - org.openrewrite.text.FindAndReplace: - find: javax.validation. - replace: jakarta.validation. diff --git a/.ci/environments/quarkus-3/quarkus3.yml b/.ci/environments/quarkus-3/quarkus3.yml deleted file mode 100644 index d3a1ebfbd7..0000000000 --- a/.ci/environments/quarkus-3/quarkus3.yml +++ /dev/null @@ -1,4638 +0,0 @@ -name: io.quarkus.openrewrite.Quarkus -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.2.9.Final - } -- org.openrewrite.maven.ChangePropertyValue: { - key: version.org.optaplanner, - newValue: 9.44.0.Final - } -- org.kie.kogito-apps.Quarkus3Migration -- org.kie.ManagedDependencies -- io.quarkus.updates.core.quarkus30.UpgradeQuarkiverse -- org.openrewrite.java.migrate.jakarta.JavaxActivationMigrationToJakartaActivation -- org.openrewrite.java.migrate.jakarta.JavaxAnnotationMigrationToJakartaAnnotation -- org.openrewrite.java.migrate.jakarta.ChangeJavaxAnnotationToJakarta -- org.openrewrite.java.migrate.jakarta.JavaxAnnotationPackageToJakarta -- org.openrewrite.java.migrate.jakarta.JavaxAnnotationSecurityPackageToJakarta -- org.openrewrite.java.migrate.jakarta.JavaxAnnotationSqlPackageToJakarta -- org.openrewrite.java.migrate.jakarta.JavaxAuthenticationMigrationToJakartaAuthentication -- org.openrewrite.java.migrate.jakarta.JavaxAuthorizationMigrationToJakartaAuthorization -- org.openrewrite.java.migrate.jakarta.JavaxBatchMigrationToJakartaBatch -- org.openrewrite.java.migrate.jakarta.JavaxValidationMigrationToJakartaValidation -- org.openrewrite.java.migrate.jakarta.JavaxDecoratorToJakartaDecorator -- org.openrewrite.java.migrate.jakarta.JavaxEjbToJakartaEjb -- org.openrewrite.java.migrate.jakarta.JavaxElToJakartaEl -- org.openrewrite.java.migrate.jakarta.JavaxEnterpriseToJakartaEnterprise -- org.openrewrite.java.migrate.jakarta.JavaxFacesToJakartaFaces -- org.openrewrite.java.migrate.jakarta.JavaxInjectMigrationToJakartaInject -- org.openrewrite.java.migrate.jakarta.JavaxInterceptorToJakartaInterceptor -- org.openrewrite.java.migrate.jakarta.JavaxJmsToJakartaJms -- org.openrewrite.java.migrate.jakarta.JavaxJsonToJakartaJson -- org.openrewrite.java.migrate.jakarta.JavaxJwsToJakartaJws -- org.openrewrite.java.migrate.jakarta.JavaxMailToJakartaMail -- org.openrewrite.java.migrate.jakarta.JavaxPersistenceToJakartaPersistence -- org.openrewrite.java.migrate.jakarta.JavaxResourceToJakartaResource -- org.openrewrite.java.migrate.jakarta.JavaxSecurityToJakartaSecurity -- org.openrewrite.java.migrate.jakarta.JavaxServletToJakartaServlet -- org.openrewrite.java.migrate.jakarta.JavaxTransactionMigrationToJakartaTransaction -- org.openrewrite.java.migrate.jakarta.JavaxWebsocketToJakartaWebsocket -- org.openrewrite.java.migrate.jakarta.JavaxWsToJakartaWs -- org.openrewrite.java.migrate.jakarta.JavaxXmlBindMigrationToJakartaXmlBind -- org.openrewrite.java.migrate.jakarta.JavaxXmlSoapToJakartaXmlSoap -- org.openrewrite.java.migrate.jakarta.JavaxXmlWsMigrationToJakartaXmlWs -- org.openrewrite.java.migrate.jakarta.JavaxPersistenceXmlToJakartaPersistenceXml -- org.openrewrite.java.migrate.jakarta.JacksonJavaxToJakarta -- org.openrewrite.java.migrate.jakarta.RestAssuredJavaxToJakarta -- io.quarkus.updates.core.quarkus30.JavaxToJakartaAdditionalMigration -- io.quarkus.updates.core.quarkus30.RenameJavaxServiceFiles -- io.quarkus.updates.core.quarkus30.AdditionalChanges -- io.quarkus.updates.core.quarkus30.ApplicationProperties -- io.quarkus.updates.core.quarkus30.ApplicationYml -- io.quarkus.updates.core.quarkus30.ApplicationYaml -- io.quarkus.updates.core.quarkus30.JavaxToJakartaDocumentationAdoc -- io.quarkus.updates.core.quarkus30.JavaxToJakartaDocumentationMd -- io.quarkus.updates.core.quarkus30.JavaxToJakartaCodestarts -- io.quarkus.updates.core.quarkus30.JavaxToJakartaCodestartsTests -- io.quarkus.updates.core.quarkus30.JavaxToJakartaKotlin -displayName: Migrate quarkus project to a new version -tags: [ - quarkus -] ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.kie.kogito-apps.Quarkus3Migration -displayName: All Quarkus 3 Migration for Kogito-Apps project -recipeList: -- org.openrewrite.maven.ChangePropertyValue: { - newValue: 1.5.5.Final, - key: version.org.mapstruct - } ---- -name: org.kie.ManagedDependencies -description: Update all managed dependencies based on dependency updates from Quarkus. -type: specs.openrewrite.org/v1beta/recipe -recipeList: -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: javax.activation, - oldArtifactId: javax.activation-api, - newGroupId: jakarta.activation, - newArtifactId: jakarta.activation-api, - newVersion: 2.x - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: javax.annotation, - oldArtifactId: javax.annotation-api, - newGroupId: jakarta.annotation, - newArtifactId: jakarta.annotation-api, - newVersion: 2.x - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: javax.security.auth.message, - oldArtifactId: javax.security.auth.message-api, - newGroupId: jakarta.authentication, - newArtifactId: jakarta.authentication-api, - newVersion: 2.x - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: javax.security.jacc, - oldArtifactId: javax.security.jacc-api, - newGroupId: jakarta.authorization, - newArtifactId: jakarta.authorization-api, - newVersion: 2.x - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: javax.batch, - oldArtifactId: javax.batch-api, - newGroupId: jakarta.batch, - newArtifactId: jakarta.batch-api, - newVersion: 2.x - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: javax.validation, - oldArtifactId: validation-api, - newGroupId: jakarta.validation, - newArtifactId: jakarta.validation-api, - newVersion: 3.x - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: javax.enterprise, - oldArtifactId: cdi-api, - newGroupId: jakarta.enterprise, - newArtifactId: jakarta.enterprise.cdi-api, - newVersion: 4.x - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: javax.ejb, - oldArtifactId: javax.ejb-api, - newGroupId: jakarta.ejb, - newArtifactId: jakarta.ejb-api, - newVersion: 4.x - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: javax.el, - oldArtifactId: javax.el-api, - newGroupId: jakarta.el, - newArtifactId: jakarta.el-api, - newVersion: 4.x - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: javax.enterprise, - oldArtifactId: cdi-api, - newGroupId: jakarta.enterprise, - newArtifactId: jakarta.enterprise.cdi-api, - newVersion: 4.x - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: javax.faces, - oldArtifactId: javax.faces-api, - newGroupId: jakarta.faces, - newArtifactId: jakarta.faces-api, - newVersion: 4.x - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - groupId: org.glassfish, - artifactId: javax.faces, - newGroupId: org.glassfish, - newArtifactId: jakarta.faces, - newVersion: 4.x - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: javax.inject, - oldArtifactId: javax.inject-api, - newGroupId: jakarta.inject, - newArtifactId: jakarta.inject-api, - newVersion: 2.x - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: javax.interceptor, - oldArtifactId: javax.interceptor-api, - newGroupId: jakarta.interceptor, - newArtifactId: jakarta.interceptor-api, - newVersion: 2.x - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: javax.jms, - oldArtifactId: javax.jms-api, - newGroupId: jakarta.jms, - newArtifactId: jakarta.jms-api, - newVersion: 3.x - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: javax.json, - oldArtifactId: javax.json-api, - newGroupId: jakarta.json, - newArtifactId: jakarta.json-api, - newVersion: 2.x - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: javax.jws, - oldArtifactId: javax.jws-api, - newGroupId: jakarta.jws, - newArtifactId: jakarta.jws-api, - newVersion: 3.x - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: javax.mail, - oldArtifactId: javax.mail-api, - newGroupId: jakarta.mail, - newArtifactId: jakarta.mail-api, - newVersion: 2.x - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: javax.persistence, - oldArtifactId: javax.persistence, - newGroupId: jakarta.persistence, - newArtifactId: jakarta.persistence-api, - newVersion: 3.0.x - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: javax.resource, - oldArtifactId: javax.resource-api, - newGroupId: jakarta.resource, - newArtifactId: jakarta.resource-api, - newVersion: 2.x - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: javax.security.enterprise, - oldArtifactId: javax.security.enterprise-api, - newGroupId: jakarta.security.enterprise, - newArtifactId: jakarta.security.enterprise-api, - newVersion: 3.x - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: javax.servlet, - oldArtifactId: javax.servlet-api, - newGroupId: jakarta.servlet, - newArtifactId: jakarta.servlet-api, - newVersion: 6.x - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: javax.transaction, - oldArtifactId: javax.transaction-api, - newGroupId: jakarta.transaction, - newArtifactId: jakarta.transaction-api, - newVersion: 2.x - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: javax.websocket, - oldArtifactId: javax.websocket-api, - newGroupId: jakarta.websocket, - newArtifactId: jakarta.websocket-api, - newVersion: 2.x - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: javax.ws.rs, - oldArtifactId: javax.ws.rs-api, - newGroupId: jakarta.ws.rs, - newArtifactId: jakarta.ws.rs-api, - newVersion: 3.x - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: javax.xml.bind, - oldArtifactId: jaxb-api, - newGroupId: jakarta.xml.bind, - newArtifactId: jakarta.xml.bind-api, - newVersion: 4.x - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: com.sun.xml.bind, - oldArtifactId: jaxb-impl, - newGroupId: org.glassfish.jaxb, - newArtifactId: jaxb-runtime, - newVersion: 4.x - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: javax.xml.soap, - oldArtifactId: javax.xml.soap-api, - newGroupId: jakarta.xml.soap, - newArtifactId: jakarta.xml.soap-api, - newVersion: 3.x - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: javax.xml.ws, - oldArtifactId: jaxws-api, - newGroupId: jakarta.xml.ws, - newArtifactId: jakarta.xml.ws-api, - newVersion: 4.x - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: com.fasterxml.jackson.module, - oldArtifactId: jackson-module-jaxb-annotations, - newGroupId: com.fasterxml.jackson.module, - newArtifactId: jackson-module-jakarta-xmlbind-annotations - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: com.fasterxml.jackson.jaxrs, - oldArtifactId: jackson-jaxrs-cbor-provider, - newGroupId: com.fasterxml.jackson.jakarta.rs, - newArtifactId: jackson-jakarta-rs-cbor-provider - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: com.fasterxml.jackson.jaxrs, - oldArtifactId: jackson-jaxrs-json-provider, - newGroupId: com.fasterxml.jackson.jakarta.rs, - newArtifactId: jackson-jakarta-rs-json-provider - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: com.fasterxml.jackson.jaxrs, - oldArtifactId: jackson-jaxrs-smile-provider, - newGroupId: com.fasterxml.jackson.jakarta.rs, - newArtifactId: jackson-jakarta-rs-smile-provider - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: com.fasterxml.jackson.jaxrs, - oldArtifactId: jackson-jaxrs-xml-provider, - newGroupId: com.fasterxml.jackson.jakarta.rs, - newArtifactId: jackson-jakarta-rs-xml-provider - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: com.fasterxml.jackson.jaxrs, - oldArtifactId: jackson-jaxrs-yaml-provider, - newGroupId: com.fasterxml.jackson.jakarta.rs, - newArtifactId: jackson-jakarta-rs-yaml-provider - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: com.fasterxml.jackson.datatype, - oldArtifactId: jackson-datatype-jsr353, - newGroupId: com.fasterxml.jackson.datatype, - newArtifactId: jackson-datatype-jakarta-jsonp - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: org.glassfish, - oldArtifactId: javax.json, - newGroupId: org.eclipse.parsson, - newArtifactId: parsson - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: org.glassfish, - oldArtifactId: jakarta.json, - newGroupId: org.eclipse.parsson, - newArtifactId: parsson - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: org.glassfish, - oldArtifactId: jakarta.el, - newGroupId: org.glassfish.expressly, - newArtifactId: expressly - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: org.hibernate, - oldArtifactId: hibernate-core, - newGroupId: org.hibernate.orm, - newArtifactId: hibernate-core - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: org.hibernate, - oldArtifactId: hibernate-envers, - newGroupId: org.hibernate.orm, - newArtifactId: hibernate-envers - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: org.hibernate, - oldArtifactId: hibernate-jpamodelgen, - newGroupId: org.hibernate.orm, - newArtifactId: hibernate-jpamodelgen - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: org.hibernate, - oldArtifactId: hibernate-spatial, - newGroupId: org.hibernate.orm, - newArtifactId: hibernate-spatial - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: org.hibernate, - oldArtifactId: hibernate-testing, - newGroupId: org.hibernate.orm, - newArtifactId: hibernate-testing - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: org.hibernate, - oldArtifactId: hibernate-micrometer, - newGroupId: org.hibernate.orm, - newArtifactId: hibernate-micrometer - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: org.hibernate, - oldArtifactId: hibernate-jcache, - newGroupId: org.hibernate.orm, - newArtifactId: hibernate-jcache - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: org.hibernate, - oldArtifactId: hibernate-infinispan, - newGroupId: org.hibernate.orm, - newArtifactId: hibernate-infinispan - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: org.hibernate, - oldArtifactId: hibernate-ehcache, - newGroupId: org.hibernate.orm, - newArtifactId: hibernate-ehcache - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: org.hibernate.search, - oldArtifactId: hibernate-search-mapper-orm-coordination-outbox-polling, - newGroupId: org.hibernate.search, - newArtifactId: hibernate-search-mapper-orm-coordination-outbox-polling-jakarta - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: org.hibernate.search, - oldArtifactId: hibernate-search-mapper-orm, - newGroupId: org.hibernate.search, - newArtifactId: hibernate-search-mapper-orm-jakarta - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: org.hibernate, - oldArtifactId: quarkus-local-cache, - newGroupId: org.hibernate, - newArtifactId: quarkus-local-cache-jakarta - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: org.jboss.spec.javax.ws.rs, - oldArtifactId: jboss-jaxrs-api_2.1_spec, - newGroupId: jakarta.ws.rs, - newArtifactId: jakarta.ws.rs-api - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: org.jboss.spec.javax.xml.bind, - oldArtifactId: jboss-jaxb-api_2.3_spec, - newGroupId: jakarta.xml.bind, - newArtifactId: jakarta.xml.bind-api - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: org.jboss.spec.javax.transaction, - oldArtifactId: jboss-transaction-api_1.3_spec, - newGroupId: jakarta.transaction, - newArtifactId: jakarta.transaction-api - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: com.sun.activation, - oldArtifactId: jakarta.activation, - newGroupId: org.eclipse.angus, - newArtifactId: angus-activation - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: com.sun.activation, - oldArtifactId: javax.activation, - newGroupId: org.eclipse.angus, - newArtifactId: angus-activation - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: org.jboss.spec.javax.ejb, - oldArtifactId: jboss-ejb-api_3.1_spec, - newGroupId: jakarta.ejb, - newArtifactId: jakarta.ejb-api - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: org.keycloak, - oldArtifactId: keycloak-admin-client, - newGroupId: org.keycloak, - newArtifactId: keycloak-admin-client-jakarta - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: org.keycloak, - oldArtifactId: keycloak-admin-client, - newGroupId: org.keycloak, - newArtifactId: keycloak-admin-client-jakarta - } -displayName: Update Managed Dependencies ---- -type: specs.openrewrite.org/v1beta/recipe -name: io.quarkus.updates.core.quarkus30.UpgradeQuarkiverse -recipeList: -- org.openrewrite.maven.UpgradeDependencyVersion: { - groupId: io.quarkus.bot, - artifactId: build-reporter-*, - newVersion: 3.x - } -- org.openrewrite.maven.UpgradeDependencyVersion: { - groupId: io.quarkiverse.vault, - artifactId: '*', - newVersion: 3.x - } -- org.openrewrite.maven.UpgradeDependencyVersion: { - groupId: io.quarkiverse.amazonservices, - artifactId: '*', - newVersion: 2.x - } -- org.openrewrite.maven.UpgradeDependencyVersion: { - groupId: io.quarkiverse.cxf, - artifactId: '*', - newVersion: 2.x - } -- org.openrewrite.maven.UpgradeDependencyVersion: { - groupId: io.quarkiverse.jsch, - artifactId: '*', - newVersion: 3.x - } -- org.openrewrite.maven.UpgradeDependencyVersion: { - groupId: io.quarkiverse.jberet, - artifactId: '*', - newVersion: 2.x - } -- org.openrewrite.maven.UpgradeDependencyVersion: { - groupId: io.quarkiverse.artemis, - artifactId: '*', - newVersion: 3.x - } -- org.openrewrite.maven.UpgradeDependencyVersion: { - groupId: io.quarkiverse.config, - artifactId: '*', - newVersion: 2.x - } -- org.openrewrite.maven.UpgradeDependencyVersion: { - groupId: io.quarkiverse.freemarker, - artifactId: '*', - newVersion: 1.x - } -- org.openrewrite.maven.UpgradeDependencyVersion: { - groupId: io.quarkiverse.githubapp, - artifactId: '*', - newVersion: 2.x - } -- org.openrewrite.maven.UpgradeDependencyVersion: { - groupId: io.quarkiverse.mybatis, - artifactId: '*', - newVersion: 2.x - } -- org.openrewrite.maven.UpgradeDependencyVersion: { - groupId: io.quarkiverse.messaginghub, - artifactId: '*', - newVersion: 2.x - } -- org.openrewrite.maven.UpgradeDependencyVersion: { - groupId: io.quarkiverse.prettytime, - artifactId: '*', - newVersion: 2.x - } -- org.openrewrite.maven.UpgradeDependencyVersion: { - groupId: io.quarkiverse.xmlsec, - artifactId: '*', - newVersion: 2.x - } -- org.openrewrite.maven.UpgradeDependencyVersion: { - groupId: io.quarkiverse.jef, - artifactId: '*', - newVersion: 3.x - } -- org.openrewrite.maven.UpgradeDependencyVersion: { - groupId: io.quarkiverse.githubaction, - artifactId: '*', - newVersion: 2.x - } -- org.openrewrite.maven.UpgradeDependencyVersion: { - groupId: io.quarkiverse.hibernatesearchextras, - artifactId: '*', - newVersion: 2.x - } -- org.openrewrite.maven.UpgradeDependencyVersion: { - groupId: io.quarkiverse.jackson-jq, - artifactId: '*', - newVersion: 2.x - } -- org.openrewrite.maven.UpgradeDependencyVersion: { - groupId: io.quarkiverse.jdbc, - artifactId: '*', - newVersion: 3.x - } -- org.openrewrite.maven.UpgradeDependencyVersion: { - groupId: io.quarkiverse.microprofile, - artifactId: '*', - newVersion: 3.x - } -- org.openrewrite.maven.UpgradeDependencyVersion: { - groupId: io.quarkiverse.minio, - artifactId: '*', - newVersion: 3.x - } -- org.openrewrite.maven.UpgradeDependencyVersion: { - groupId: io.quarkiverse.pact, - artifactId: '*', - newVersion: 1.x - } -- org.openrewrite.maven.UpgradeDependencyVersion: { - groupId: io.quarkiverse.poi, - artifactId: '*', - newVersion: 2.x - } -- org.openrewrite.maven.UpgradeDependencyVersion: { - groupId: io.quarkiverse.primefaces, - artifactId: '*', - newVersion: 3.x - } -- org.openrewrite.maven.UpgradeDependencyVersion: { - groupId: io.quarkiverse.reactivemessaging.http, - artifactId: '*', - newVersion: 2.x - } -- org.openrewrite.maven.UpgradeDependencyVersion: { - groupId: io.quarkiverse.renarde, - artifactId: '*', - newVersion: 3.x - } -- org.openrewrite.maven.UpgradeDependencyVersion: { - groupId: io.quarkiverse.shardingsphere, - artifactId: '*', - newVersion: 2.x - } ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxActivationMigrationToJakartaActivation -displayName: Migrate deprecated `javax.activation` packages to `jakarta.activation` -description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. -tags: [ - activation, - javax, - jakarta -] -recipeList: -- org.openrewrite.maven.UpgradeDependencyVersion: { - groupId: jakarta.activation, - artifactId: jakarta.activation-api, - newVersion: 2.x - } -- org.openrewrite.java.ChangePackage: { - oldPackageName: javax.activation, - newPackageName: jakarta.activation, - recursive: true - } -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: javax.activation, - oldArtifactId: javax.activation-api, - newGroupId: jakarta.activation, - newArtifactId: jakarta.activation-api, - newVersion: 2.x - } ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxAnnotationMigrationToJakartaAnnotation -displayName: Migrate deprecated `javax.annotation` packages to `jakarta.annotation` -description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. -tags: [ - annotation, - javax, - jakarta -] -recipeList: -- org.openrewrite.maven.UpgradeDependencyVersion: { - groupId: jakarta.annotation, - artifactId: jakarta.annotation-api, - newVersion: 2.x - } -- org.openrewrite.java.migrate.jakarta.ChangeJavaxAnnotationToJakarta -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: javax.annotation, - oldArtifactId: javax.annotation-api, - newGroupId: jakarta.annotation, - newArtifactId: jakarta.annotation-api, - newVersion: 2.x - } ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.ChangeJavaxAnnotationToJakarta -displayName: Migrate deprecated `javax.annotation` packages to `jakarta.annotation` -description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. - Excludes `javax.annotation.processing`. -tags: [ - batch, - javax, - jakarta -] -recipeList: [ - org.openrewrite.java.migrate.jakarta.JavaxAnnotationPackageToJakarta, - org.openrewrite.java.migrate.jakarta.JavaxAnnotationSecurityPackageToJakarta, - org.openrewrite.java.migrate.jakarta.JavaxAnnotationSqlPackageToJakarta -] ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxAnnotationPackageToJakarta -displayName: Migrate deprecated `javax.annotation` packages to `jakarta.annotation` -description: Change type of classes in the `javax.annotation` package to jakarta. -tags: [ - batch, - javax, - jakarta -] -recipeList: -- org.openrewrite.java.ChangeType: { - oldFullyQualifiedTypeName: javax.annotation.Generated, - newFullyQualifiedTypeName: jakarta.annotation.Generated - } -- org.openrewrite.java.ChangeType: { - oldFullyQualifiedTypeName: javax.annotation.ManagedBean, - newFullyQualifiedTypeName: jakarta.annotation.ManagedBean - } -- org.openrewrite.java.ChangeType: { - oldFullyQualifiedTypeName: javax.annotation.PostConstruct, - newFullyQualifiedTypeName: jakarta.annotation.PostConstruct - } -- org.openrewrite.java.ChangeType: { - oldFullyQualifiedTypeName: javax.annotation.PreDestroy, - newFullyQualifiedTypeName: jakarta.annotation.PreDestroy - } -- org.openrewrite.java.ChangeType: { - oldFullyQualifiedTypeName: javax.annotation.Priority, - newFullyQualifiedTypeName: jakarta.annotation.Priority - } -- org.openrewrite.java.ChangeType: { - oldFullyQualifiedTypeName: javax.annotation.Resource, - newFullyQualifiedTypeName: jakarta.annotation.Resource - } -- org.openrewrite.java.ChangeType: { - oldFullyQualifiedTypeName: javax.annotation.Resources, - newFullyQualifiedTypeName: jakarta.annotation.Resources - } ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxAnnotationSecurityPackageToJakarta -displayName: Migrate deprecated `javax.annotation.security` packages to `jakarta.annotation.security` -description: Change type of classes in the `javax.annotation.security` package to - jakarta. -tags: [ - batch, - javax, - jakarta -] -recipeList: -- org.openrewrite.java.ChangeType: { - oldFullyQualifiedTypeName: javax.annotation.security.DeclareRoles, - newFullyQualifiedTypeName: jakarta.annotation.security.DeclareRoles - } -- org.openrewrite.java.ChangeType: { - oldFullyQualifiedTypeName: javax.annotation.security.DenyAll, - newFullyQualifiedTypeName: jakarta.annotation.security.DenyAll - } -- org.openrewrite.java.ChangeType: { - oldFullyQualifiedTypeName: javax.annotation.security.PermitAll, - newFullyQualifiedTypeName: jakarta.annotation.security.PermitAll - } -- org.openrewrite.java.ChangeType: { - oldFullyQualifiedTypeName: javax.annotation.security.RolesAllowed, - newFullyQualifiedTypeName: jakarta.annotation.security.RolesAllowed - } -- org.openrewrite.java.ChangeType: { - oldFullyQualifiedTypeName: javax.annotation.security.RunAs, - newFullyQualifiedTypeName: jakarta.annotation.security.RunAs - } ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxAnnotationSqlPackageToJakarta -displayName: Migrate deprecated `javax.annotation.sql` packages to `jakarta.annotation.sql` -description: Change type of classes in the `javax.annotation.sql` package to jakarta. -tags: [ - batch, - javax, - jakarta -] -recipeList: -- org.openrewrite.java.ChangeType: { - oldFullyQualifiedTypeName: javax.annotation.sql.DataSourceDefinition, - newFullyQualifiedTypeName: jakarta.annotation.sql.DataSourceDefinition - } -- org.openrewrite.java.ChangeType: { - oldFullyQualifiedTypeName: javax.annotation.sql.DataSourceDefinitions, - newFullyQualifiedTypeName: jakarta.annotation.sql.DataSourceDefinitions - } ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxAuthenticationMigrationToJakartaAuthentication -displayName: Migrate deprecated `javax.security.auth.message` packages to `jakarta.security.auth.message` -description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. -tags: [ - authentication, - security, - javax, - jakarta -] -recipeList: -- org.openrewrite.maven.UpgradeDependencyVersion: { - groupId: jakarta.authorization, - artifactId: jakarta.authorization-api, - newVersion: 2.x - } -- org.openrewrite.maven.UpgradeDependencyVersion: { - groupId: jakarta.authentication, - artifactId: jakarta.authentication-api, - newVersion: 2.x - } -- org.openrewrite.java.ChangePackage: { - oldPackageName: javax.security.auth.message, - newPackageName: jakarta.security.auth.message, - recursive: true - } -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: javax.security.auth.message, - oldArtifactId: javax.security.auth.message-api, - newGroupId: jakarta.authentication, - newArtifactId: jakarta.authentication-api, - newVersion: 2.x - } ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxAuthorizationMigrationToJakartaAuthorization -displayName: Migrate deprecated `javax.security.jacc` packages to `jakarta.security.jacc` -description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. -tags: [ - authorization, - security, - javax, - jakarta -] -recipeList: -- org.openrewrite.maven.UpgradeDependencyVersion: { - groupId: jakarta.authorization, - artifactId: jakarta.authorization-api, - newVersion: 2.x - } -- org.openrewrite.java.ChangePackage: { - oldPackageName: javax.security.jacc, - newPackageName: jakarta.security.jacc, - recursive: true - } -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: javax.security.jacc, - oldArtifactId: javax.security.jacc-api, - newGroupId: jakarta.authorization, - newArtifactId: jakarta.authorization-api, - newVersion: 2.x - } ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxBatchMigrationToJakartaBatch -displayName: Migrate deprecated `javax.batch` packages to `jakarta.batch` -description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. -tags: [ - batch, - javax, - jakarta -] -recipeList: -- org.openrewrite.maven.UpgradeDependencyVersion: { - groupId: jakarta.batch, - artifactId: jakarta.batch-api, - newVersion: 2.x - } -- org.openrewrite.java.ChangePackage: { - oldPackageName: javax.batch, - newPackageName: jakarta.batch, - recursive: true - } -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: javax.batch, - oldArtifactId: javax.batch-api, - newGroupId: jakarta.batch, - newArtifactId: jakarta.batch-api, - newVersion: 2.x - } ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxValidationMigrationToJakartaValidation -displayName: Migrate deprecated `javax.validation` packages to `jakarta.validation` -description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. -tags: [ - validation, - javax, - jakarta -] -recipeList: -- org.openrewrite.maven.UpgradeDependencyVersion: { - groupId: jakarta.validation, - artifactId: jakarta.validation-api, - newVersion: 3.x - } -- org.openrewrite.java.ChangePackage: { - oldPackageName: javax.validation, - newPackageName: jakarta.validation, - recursive: true - } -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: javax.validation, - oldArtifactId: validation-api, - newGroupId: jakarta.validation, - newArtifactId: jakarta.validation-api, - newVersion: 3.x - } ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxDecoratorToJakartaDecorator -displayName: Migrate deprecated `javax.decorator` packages to `jakarta.decorator` -description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. -recipeList: -- org.openrewrite.maven.UpgradeDependencyVersion: { - groupId: jakarta.enterprise, - artifactId: jakarta.enterprise.cdi-api, - newVersion: 4.x - } -- org.openrewrite.java.ChangePackage: { - oldPackageName: javax.decorator, - newPackageName: jakarta.decorator, - recursive: true - } -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: javax.enterprise, - oldArtifactId: cdi-api, - newGroupId: jakarta.enterprise, - newArtifactId: jakarta.enterprise.cdi-api, - newVersion: 4.x - } ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxEjbToJakartaEjb -displayName: Migrate deprecated `javax.ejb` packages to `jakarta.ejb` -description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. -recipeList: -- org.openrewrite.maven.UpgradeDependencyVersion: { - groupId: jakarta.ejb, - artifactId: jakarta.ejb-api, - newVersion: 4.x - } -- org.openrewrite.java.ChangePackage: { - oldPackageName: javax.ejb, - newPackageName: jakarta.ejb, - recursive: true - } -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: javax.ejb, - oldArtifactId: javax.ejb-api, - newGroupId: jakarta.ejb, - newArtifactId: jakarta.ejb-api, - newVersion: 4.x - } ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxElToJakartaEl -displayName: Migrate deprecated `javax.el` packages to `jakarta.el` -description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. -recipeList: -- org.openrewrite.maven.UpgradeDependencyVersion: { - groupId: jakarta.el, - artifactId: jakarta.el-api, - newVersion: 4.x - } -- org.openrewrite.java.ChangePackage: { - oldPackageName: javax.el, - newPackageName: jakarta.el, - recursive: true - } -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: javax.el, - oldArtifactId: javax.el-api, - newGroupId: jakarta.el, - newArtifactId: jakarta.el-api, - newVersion: 4.x - } ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxEnterpriseToJakartaEnterprise -displayName: Migrate deprecated `javax.enterprise` packages to `jakarta.enterprise` -description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. -recipeList: -- org.openrewrite.maven.UpgradeDependencyVersion: { - groupId: jakarta.enterprise, - artifactId: jakarta.enterprise.cdi-api, - newVersion: 4.x - } -- org.openrewrite.java.ChangePackage: { - oldPackageName: javax.enterprise, - newPackageName: jakarta.enterprise, - recursive: true - } -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: javax.enterprise, - oldArtifactId: cdi-api, - newGroupId: jakarta.enterprise, - newArtifactId: jakarta.enterprise.cdi-api, - newVersion: 4.x - } ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxFacesToJakartaFaces -displayName: Migrate deprecated `javax.faces` packages to `jakarta.faces` -description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. -recipeList: -- org.openrewrite.maven.UpgradeDependencyVersion: { - groupId: jakarta.faces, - artifactId: jakarta.faces-api, - newVersion: 4.x - } -- org.openrewrite.java.ChangePackage: { - oldPackageName: javax.faces, - newPackageName: jakarta.faces, - recursive: true - } -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: javax.faces, - oldArtifactId: javax.faces-api, - newGroupId: jakarta.faces, - newArtifactId: jakarta.faces-api, - newVersion: 4.x - } -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - groupId: org.glassfish, - artifactId: javax.faces, - newGroupId: org.glassfish, - newArtifactId: jakarta.faces, - newVersion: 4.x - } ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxInjectMigrationToJakartaInject -displayName: Migrate deprecated `javax.inject` packages to `jakarta.inject` -description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. -tags: [ - inject, - javax, - jakarta -] -recipeList: -- org.openrewrite.maven.UpgradeDependencyVersion: { - groupId: jakarta.inject, - artifactId: jakarta.inject-api, - newVersion: 2.x - } -- org.openrewrite.java.ChangePackage: { - oldPackageName: javax.inject, - newPackageName: jakarta.inject, - recursive: true - } -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: javax.inject, - oldArtifactId: javax.inject-api, - newGroupId: jakarta.inject, - newArtifactId: jakarta.inject-api, - newVersion: 2.x - } ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxInterceptorToJakartaInterceptor -displayName: Migrate deprecated `javax.interceptor` packages to `jakarta.interceptor` -description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. -recipeList: -- org.openrewrite.maven.UpgradeDependencyVersion: { - groupId: jakarta.interceptor, - artifactId: jakarta.interceptor-api, - newVersion: 2.x - } -- org.openrewrite.java.ChangePackage: { - oldPackageName: javax.interceptor, - newPackageName: jakarta.interceptor, - recursive: true - } -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: javax.interceptor, - oldArtifactId: javax.interceptor-api, - newGroupId: jakarta.interceptor, - newArtifactId: jakarta.interceptor-api, - newVersion: 2.x - } ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxJmsToJakartaJms -displayName: Migrate deprecated `javax.jms` packages to `jakarta.jms` -description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. -recipeList: -- org.openrewrite.maven.UpgradeDependencyVersion: { - groupId: jakarta.jms, - artifactId: jakarta.jms-api, - newVersion: 3.x - } -- org.openrewrite.java.ChangePackage: { - oldPackageName: javax.jms, - newPackageName: jakarta.jms, - recursive: true - } -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: javax.jms, - oldArtifactId: javax.jms-api, - newGroupId: jakarta.jms, - newArtifactId: jakarta.jms-api, - newVersion: 3.x - } ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxJsonToJakartaJson -displayName: Migrate deprecated `javax.json` packages to `jakarta.json` -description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. -recipeList: -- org.openrewrite.maven.UpgradeDependencyVersion: { - groupId: jakarta.json, - artifactId: jakarta.json-api, - newVersion: 2.x - } -- org.openrewrite.java.ChangePackage: { - oldPackageName: javax.json, - newPackageName: jakarta.json, - recursive: true - } -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: javax.json, - oldArtifactId: javax.json-api, - newGroupId: jakarta.json, - newArtifactId: jakarta.json-api, - newVersion: 2.x - } ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxJwsToJakartaJws -displayName: Migrate deprecated `javax.jws` packages to `jakarta.jws` -description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. -recipeList: -- org.openrewrite.maven.UpgradeDependencyVersion: { - groupId: jakarta.jws, - artifactId: jakarta.jws-api, - newVersion: 3.x - } -- org.openrewrite.java.ChangePackage: { - oldPackageName: javax.jws, - newPackageName: jakarta.jws, - recursive: true - } -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: javax.jws, - oldArtifactId: javax.jws-api, - newGroupId: jakarta.jws, - newArtifactId: jakarta.jws-api, - newVersion: 3.x - } ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxMailToJakartaMail -displayName: Migrate deprecated `javax.mail` packages to `jakarta.mail` -description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. -recipeList: -- org.openrewrite.maven.UpgradeDependencyVersion: { - groupId: jakarta.mail, - artifactId: jakarta.mail-api, - newVersion: 2.x - } -- org.openrewrite.java.ChangePackage: { - oldPackageName: javax.mail, - newPackageName: jakarta.mail, - recursive: true - } -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: javax.mail, - oldArtifactId: javax.mail-api, - newGroupId: jakarta.mail, - newArtifactId: jakarta.mail-api, - newVersion: 2.x - } ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxPersistenceToJakartaPersistence -displayName: Migrate deprecated `javax.persistence` packages to `jakarta.persistence` -description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation -recipeList: -- org.openrewrite.maven.UpgradeDependencyVersion: { - groupId: jakarta.persistence, - artifactId: jakarta.persistence-api, - newVersion: 3.0.x - } -- org.openrewrite.java.ChangePackage: { - oldPackageName: javax.persistence, - newPackageName: jakarta.persistence, - recursive: true - } -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: javax.persistence, - oldArtifactId: javax.persistence, - newGroupId: jakarta.persistence, - newArtifactId: jakarta.persistence-api, - newVersion: 3.0.x - } ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxResourceToJakartaResource -displayName: Migrate deprecated `javax.resource` packages to `jakarta.resource` -description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. -recipeList: -- org.openrewrite.maven.UpgradeDependencyVersion: { - groupId: jakarta.resource, - artifactId: jakarta.resource-api, - newVersion: 2.x - } -- org.openrewrite.java.ChangePackage: { - oldPackageName: javax.resource, - newPackageName: jakarta.resource, - recursive: true - } -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: javax.resource, - oldArtifactId: javax.resource-api, - newGroupId: jakarta.resource, - newArtifactId: jakarta.resource-api, - newVersion: 2.x - } ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxSecurityToJakartaSecurity -displayName: Migrate deprecated `javax.security.enterprise` packages to `jakarta.security.enterprise` -description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. -recipeList: -- org.openrewrite.maven.UpgradeDependencyVersion: { - groupId: jakarta.security.enterprise, - artifactId: jakarta.security.enterprise-api, - newVersion: 3.x - } -- org.openrewrite.java.ChangePackage: { - oldPackageName: javax.security.enterprise, - newPackageName: jakarta.security.enterprise, - recursive: true - } -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: javax.security.enterprise, - oldArtifactId: javax.security.enterprise-api, - newGroupId: jakarta.security.enterprise, - newArtifactId: jakarta.security.enterprise-api, - newVersion: 3.x - } ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxServletToJakartaServlet -displayName: Migrate deprecated `javax.servlet` packages to `jakarta.servlet` -description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. -recipeList: -- org.openrewrite.maven.UpgradeDependencyVersion: { - groupId: jakarta.servlet, - artifactId: jakarta.servlet-api, - newVersion: 6.x - } -- org.openrewrite.java.ChangePackage: { - oldPackageName: javax.servlet, - newPackageName: jakarta.servlet, - recursive: true - } -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: javax.servlet, - oldArtifactId: javax.servlet-api, - newGroupId: jakarta.servlet, - newArtifactId: jakarta.servlet-api, - newVersion: 6.x - } ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxTransactionMigrationToJakartaTransaction -displayName: Migrate deprecated `javax.transaction` packages to `jakarta.transaction` -description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. -tags: [ - transaction, - javax, - jakarta -] -recipeList: -- org.openrewrite.maven.UpgradeDependencyVersion: { - groupId: jakarta.transaction, - artifactId: jakarta.transaction-api, - newVersion: 2.x - } -- org.openrewrite.java.ChangePackage: { - oldPackageName: javax.transaction, - newPackageName: jakarta.transaction, - recursive: true - } -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: javax.transaction, - oldArtifactId: javax.transaction-api, - newGroupId: jakarta.transaction, - newArtifactId: jakarta.transaction-api, - newVersion: 2.x - } ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxWebsocketToJakartaWebsocket -displayName: Migrate deprecated `javax.websocket` packages to `jakarta.websocket` -description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. -recipeList: -- org.openrewrite.maven.UpgradeDependencyVersion: { - groupId: jakarta.websocket, - artifactId: jakarta.websocket-api, - newVersion: 2.x - } -- org.openrewrite.java.ChangePackage: { - oldPackageName: javax.websocket, - newPackageName: jakarta.websocket, - recursive: true - } -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: javax.websocket, - oldArtifactId: javax.websocket-api, - newGroupId: jakarta.websocket, - newArtifactId: jakarta.websocket-api, - newVersion: 2.x - } ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxWsToJakartaWs -displayName: Migrate deprecated `javax.ws` packages to `jakarta.ws` -description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. -recipeList: -- org.openrewrite.maven.UpgradeDependencyVersion: { - groupId: jakarta.ws.rs, - artifactId: jakarta.ws.rs-api, - newVersion: 3.x - } -- org.openrewrite.java.ChangePackage: { - oldPackageName: javax.ws, - newPackageName: jakarta.ws, - recursive: true - } -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: javax.ws.rs, - oldArtifactId: javax.ws.rs-api, - newGroupId: jakarta.ws.rs, - newArtifactId: jakarta.ws.rs-api, - newVersion: 3.x - } ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxXmlBindMigrationToJakartaXmlBind -displayName: Migrate deprecated `javax.xml.bind` packages to `jakarta.xml.bind` -description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. -tags: [ - jaxb, - javax, - jakarta -] -recipeList: -- org.openrewrite.maven.UpgradeDependencyVersion: { - groupId: jakarta.xml.bind, - artifactId: jakarta.xml.bind-api, - newVersion: 4.x - } -- org.openrewrite.maven.UpgradeDependencyVersion: { - groupId: org.glassfish.jaxb, - artifactId: jaxb-runtime, - newVersion: 4.x - } -- org.openrewrite.java.ChangePackage: { - oldPackageName: javax.xml.bind, - newPackageName: jakarta.xml.bind, - recursive: true - } -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: javax.xml.bind, - oldArtifactId: jaxb-api, - newGroupId: jakarta.xml.bind, - newArtifactId: jakarta.xml.bind-api, - newVersion: 4.x - } -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: com.sun.xml.bind, - oldArtifactId: jaxb-impl, - newGroupId: org.glassfish.jaxb, - newArtifactId: jaxb-runtime, - newVersion: 4.x - } ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxXmlSoapToJakartaXmlSoap -displayName: Migrate deprecated `javax.soap` packages to `jakarta.soap` -description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. -recipeList: -- org.openrewrite.maven.UpgradeDependencyVersion: { - groupId: jakarta.xml.soap, - artifactId: jakarta.xml.soap-api, - newVersion: 3.x - } -- org.openrewrite.java.ChangePackage: { - oldPackageName: javax.xml.soap, - newPackageName: jakarta.xml.soap, - recursive: true - } -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: javax.xml.soap, - oldArtifactId: javax.xml.soap-api, - newGroupId: jakarta.xml.soap, - newArtifactId: jakarta.xml.soap-api, - newVersion: 3.x - } ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxXmlWsMigrationToJakartaXmlWs -displayName: Migrate deprecated `javax.xml.ws` packages to `jakarta.xml.ws` -description: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. -tags: [ - jaxws, - javax, - jakarta -] -recipeList: -- org.openrewrite.maven.UpgradeDependencyVersion: { - groupId: jakarta.xml.ws, - artifactId: jakarta.xml.ws-api, - newVersion: 4.x - } -- org.openrewrite.java.ChangePackage: { - oldPackageName: javax.xml.ws, - newPackageName: jakarta.xml.ws, - recursive: true - } -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: javax.xml.ws, - oldArtifactId: jaxws-api, - newGroupId: jakarta.xml.ws, - newArtifactId: jakarta.xml.ws-api, - newVersion: 4.x - } ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxPersistenceXmlToJakartaPersistenceXml -displayName: Migrate xmlns entries in `persistence.xml` files -description: Java EE has been rebranded to Jakarta EE, necessitating an XML namespace - relocation. -recipeList: -- org.openrewrite.xml.ChangeTagAttribute: { - attributeName: name, - elementName: //property, - oldValue: javax.persistence, - newValue: jakarta.persistence, - fileMatcher: '**/persistence.xml' - } -- org.openrewrite.xml.ChangeTagAttribute: { - attributeName: version, - elementName: persistence, - newValue: 3.0, - fileMatcher: '**/persistence.xml' - } -- org.openrewrite.xml.ChangeTagAttribute: { - attributeName: xmlns, - elementName: persistence, - oldValue: 'http://xmlns.jcp.org', - newValue: 'https://jakarta.ee', - fileMatcher: '**/persistence.xml' - } -- org.openrewrite.xml.ChangeTagAttribute: { - attributeName: 'xsi:schemaLocation', - elementName: persistence, - newValue: 'https://jakarta.ee/xml/ns/persistence https://jakarta.ee/xml/ns/persistence/persistence_3_0.xsd', - fileMatcher: '**/persistence.xml' - } ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JacksonJavaxToJakarta -displayName: Migrate Jackson from javax to jakarta namespace -description: | - Java EE has been rebranded to Jakarta EE. This recipe replaces existing Jackson dependencies with their counterparts that are compatible with Jakarta EE. -recipeList: -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: com.fasterxml.jackson.module, - oldArtifactId: jackson-module-jaxb-annotations, - newGroupId: com.fasterxml.jackson.module, - newArtifactId: jackson-module-jakarta-xmlbind-annotations - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: com.fasterxml.jackson.module, - oldArtifactId: jackson-module-jaxb-annotations, - newGroupId: com.fasterxml.jackson.module, - newArtifactId: jackson-module-jakarta-xmlbind-annotations - } -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: com.fasterxml.jackson.jaxrs, - oldArtifactId: jackson-jaxrs-cbor-provider, - newGroupId: com.fasterxml.jackson.jakarta.rs, - newArtifactId: jackson-jakarta-rs-cbor-provider - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: com.fasterxml.jackson.jaxrs, - oldArtifactId: jackson-jaxrs-cbor-provider, - newGroupId: com.fasterxml.jackson.jakarta.rs, - newArtifactId: jackson-jakarta-rs-cbor-provider - } -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: com.fasterxml.jackson.jaxrs, - oldArtifactId: jackson-jaxrs-json-provider, - newGroupId: com.fasterxml.jackson.jakarta.rs, - newArtifactId: jackson-jakarta-rs-json-provider - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: com.fasterxml.jackson.jaxrs, - oldArtifactId: jackson-jaxrs-json-provider, - newGroupId: com.fasterxml.jackson.jakarta.rs, - newArtifactId: jackson-jakarta-rs-json-provider - } -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: com.fasterxml.jackson.jaxrs, - oldArtifactId: jackson-jaxrs-smile-provider, - newGroupId: com.fasterxml.jackson.jakarta.rs, - newArtifactId: jackson-jakarta-rs-smile-provider - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: com.fasterxml.jackson.jaxrs, - oldArtifactId: jackson-jaxrs-smile-provider, - newGroupId: com.fasterxml.jackson.jakarta.rs, - newArtifactId: jackson-jakarta-rs-smile-provider - } -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: com.fasterxml.jackson.jaxrs, - oldArtifactId: jackson-jaxrs-xml-provider, - newGroupId: com.fasterxml.jackson.jakarta.rs, - newArtifactId: jackson-jakarta-rs-xml-provider - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: com.fasterxml.jackson.jaxrs, - oldArtifactId: jackson-jaxrs-xml-provider, - newGroupId: com.fasterxml.jackson.jakarta.rs, - newArtifactId: jackson-jakarta-rs-xml-provider - } -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: com.fasterxml.jackson.jaxrs, - oldArtifactId: jackson-jaxrs-yaml-provider, - newGroupId: com.fasterxml.jackson.jakarta.rs, - newArtifactId: jackson-jakarta-rs-yaml-provider - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: com.fasterxml.jackson.jaxrs, - oldArtifactId: jackson-jaxrs-yaml-provider, - newGroupId: com.fasterxml.jackson.jakarta.rs, - newArtifactId: jackson-jakarta-rs-yaml-provider - } -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: com.fasterxml.jackson.datatype, - oldArtifactId: jackson-datatype-jsr353, - newGroupId: com.fasterxml.jackson.datatype, - newArtifactId: jackson-datatype-jakarta-jsonp - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: com.fasterxml.jackson.datatype, - oldArtifactId: jackson-datatype-jsr353, - newGroupId: com.fasterxml.jackson.datatype, - newArtifactId: jackson-datatype-jakarta-jsonp - } -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: org.glassfish, - oldArtifactId: javax.json, - newGroupId: org.eclipse.parsson, - newArtifactId: parsson - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: org.glassfish, - oldArtifactId: javax.json, - newGroupId: org.eclipse.parsson, - newArtifactId: parsson - } -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: org.glassfish, - oldArtifactId: jakarta.json, - newGroupId: org.eclipse.parsson, - newArtifactId: parsson - } -- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: { - oldGroupId: org.glassfish, - oldArtifactId: jakarta.json, - newGroupId: org.eclipse.parsson, - newArtifactId: parsson - } -- org.openrewrite.java.ChangeType: { - oldFullyQualifiedTypeName: com.fasterxml.jackson.datatype.jsr353.JSR353Module, - newFullyQualifiedTypeName: com.fasterxml.jackson.datatype.jsonp.JSONPModule - } -- org.openrewrite.java.ChangePackage: { - oldPackageName: com.fasterxml.jackson.jaxrs, - newPackageName: com.fasterxml.jackson.jakarta.rs, - recursive: true - } ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.RestAssuredJavaxToJakarta -displayName: Migrate RestAssured from javax to jakarta namespace by upgrading to a - version compatible with J2EE9 -description: | - Java EE has been rebranded to Jakarta EE. This recipe replaces existing RestAssured dependencies with their counterparts that are compatible with Jakarta EE. -recipeList: -- org.openrewrite.maven.UpgradeDependencyVersion: { - groupId: io.rest-assured, - artifactId: '*', - newVersion: 5.x - } ---- -type: specs.openrewrite.org/v1beta/recipe -name: io.quarkus.updates.core.quarkus30.JavaxToJakartaAdditionalMigration -recipeList: -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: org.glassfish, - oldArtifactId: jakarta.el, - newGroupId: org.glassfish.expressly, - newArtifactId: expressly - } -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: org.hibernate, - oldArtifactId: hibernate-core, - newGroupId: org.hibernate.orm, - newArtifactId: hibernate-core - } -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: org.hibernate, - oldArtifactId: hibernate-envers, - newGroupId: org.hibernate.orm, - newArtifactId: hibernate-envers - } -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: org.hibernate, - oldArtifactId: hibernate-jpamodelgen, - newGroupId: org.hibernate.orm, - newArtifactId: hibernate-jpamodelgen - } -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: org.hibernate, - oldArtifactId: hibernate-spatial, - newGroupId: org.hibernate.orm, - newArtifactId: hibernate-spatial - } -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: org.hibernate, - oldArtifactId: hibernate-testing, - newGroupId: org.hibernate.orm, - newArtifactId: hibernate-testing - } -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: org.hibernate, - oldArtifactId: hibernate-micrometer, - newGroupId: org.hibernate.orm, - newArtifactId: hibernate-micrometer - } -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: org.hibernate, - oldArtifactId: hibernate-jcache, - newGroupId: org.hibernate.orm, - newArtifactId: hibernate-jcache - } -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: org.hibernate, - oldArtifactId: hibernate-infinispan, - newGroupId: org.hibernate.orm, - newArtifactId: hibernate-infinispan - } -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: org.hibernate, - oldArtifactId: hibernate-ehcache, - newGroupId: org.hibernate.orm, - newArtifactId: hibernate-ehcache - } -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: org.hibernate.search, - oldArtifactId: hibernate-search-mapper-orm-coordination-outbox-polling, - newGroupId: org.hibernate.search, - newArtifactId: hibernate-search-mapper-orm-coordination-outbox-polling-jakarta - } -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: org.hibernate.search, - oldArtifactId: hibernate-search-mapper-orm, - newGroupId: org.hibernate.search, - newArtifactId: hibernate-search-mapper-orm-jakarta - } -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: org.hibernate, - oldArtifactId: quarkus-local-cache, - newGroupId: org.hibernate, - newArtifactId: quarkus-local-cache-jakarta - } -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: org.jboss.spec.javax.ws.rs, - oldArtifactId: jboss-jaxrs-api_2.1_spec, - newGroupId: jakarta.ws.rs, - newArtifactId: jakarta.ws.rs-api - } -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: org.jboss.spec.javax.xml.bind, - oldArtifactId: jboss-jaxb-api_2.3_spec, - newGroupId: jakarta.xml.bind, - newArtifactId: jakarta.xml.bind-api - } -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: org.jboss.spec.javax.transaction, - oldArtifactId: jboss-transaction-api_1.3_spec, - newGroupId: jakarta.transaction, - newArtifactId: jakarta.transaction-api - } -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: com.sun.activation, - oldArtifactId: jakarta.activation, - newGroupId: org.eclipse.angus, - newArtifactId: angus-activation - } -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: com.sun.activation, - oldArtifactId: javax.activation, - newGroupId: org.eclipse.angus, - newArtifactId: angus-activation - } -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: org.jboss.spec.javax.ejb, - oldArtifactId: jboss-ejb-api_3.1_spec, - newGroupId: jakarta.ejb, - newArtifactId: jakarta.ejb-api - } -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: org.keycloak, - oldArtifactId: keycloak-admin-client, - newGroupId: org.keycloak, - newArtifactId: keycloak-admin-client-jakarta - } -- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: { - oldGroupId: org.keycloak, - oldArtifactId: keycloak-admin-client, - newGroupId: org.keycloak, - newArtifactId: keycloak-admin-client-jakarta - } ---- -type: specs.openrewrite.org/v1beta/recipe -name: io.quarkus.updates.core.quarkus30.RenameJavaxServiceFiles -displayName: Rename a file example -recipeList: -- org.openrewrite.RenameFile: { - fileMatcher: '**/META-INF/services/javax.ws.rs.ext.Providers', - fileName: jakarta.ws.rs.ext.Providers - } -- org.openrewrite.RenameFile: { - fileMatcher: '**/META-INF/services/javax.ws.rs.client.ClientBuilder', - fileName: jakarta.ws.rs.client.ClientBuilder - } -- org.openrewrite.RenameFile: { - fileMatcher: '**/META-INF/services/javax.ws.rs.sse.SseEventSource$Builder', - fileName: jakarta.ws.rs.sse.SseEventSource$Builder - } ---- -type: specs.openrewrite.org/v1beta/recipe -name: io.quarkus.updates.core.quarkus30.AdditionalChanges -recipeList: -- org.openrewrite.java.ChangeType: { - oldFullyQualifiedTypeName: org.jboss.resteasy.reactive.server.core.multipart.MultipartFormDataOutput, - newFullyQualifiedTypeName: org.jboss.resteasy.reactive.server.multipart.MultipartFormDataOutput - } -- org.openrewrite.java.ChangeType: { - oldFullyQualifiedTypeName: org.jboss.resteasy.reactive.server.core.multipart.PartItem, - newFullyQualifiedTypeName: org.jboss.resteasy.reactive.server.multipart.PartItem - } -- org.openrewrite.java.ChangeType: { - oldFullyQualifiedTypeName: org.jboss.resteasy.reactive.server.core.multipart.FormData.FormValue, - newFullyQualifiedTypeName: org.jboss.resteasy.reactive.server.multipart.FormValue - } -- org.openrewrite.java.ChangeType: { - oldFullyQualifiedTypeName: io.quarkus.test.junit.NativeImageTest, - newFullyQualifiedTypeName: io.quarkus.test.junit.QuarkusIntegrationTest - } -- org.openrewrite.java.ChangeType: { - oldFullyQualifiedTypeName: io.quarkus.test.junit.DisabledOnNativeImage, - newFullyQualifiedTypeName: io.quarkus.test.junit.DisabledOnIntegrationTest - } -- org.openrewrite.java.ChangeType: { - oldFullyQualifiedTypeName: org.jboss.resteasy.reactive.MultipartForm, - newFullyQualifiedTypeName: jakarta.ws.rs.BeanParam - } -- org.openrewrite.java.ChangeType: { - oldFullyQualifiedTypeName: io.smallrye.reactive.messaging.providers.connectors.InMemoryConnector, - newFullyQualifiedTypeName: io.smallrye.reactive.messaging.memory.InMemoryConnector - } -- org.openrewrite.java.ChangeType: { - oldFullyQualifiedTypeName: io.quarkus.hibernate.reactive.panache.common.runtime.ReactiveTransactional, - newFullyQualifiedTypeName: io.quarkus.hibernate.reactive.panache.common.WithTransaction - } -- org.openrewrite.java.ChangeType: { - oldFullyQualifiedTypeName: io.quarkus.arc.Priority, - newFullyQualifiedTypeName: jakarta.annotation.Priority - } -- org.openrewrite.text.FindAndReplace: { - find: quarkus-bootstrap-maven-plugin, - replace: quarkus-extension-maven-plugin, - fileMatcher: '**/pom.xml' - } ---- -type: specs.openrewrite.org/v1beta/recipe -name: io.quarkus.updates.core.quarkus30.ApplicationProperties -applicability: - singleSource: - - org.openrewrite.FindSourceFiles: { - filePattern: '**/application*.properties' - } -recipeList: -- org.openrewrite.properties.ChangePropertyKey: { - oldPropertyKey: quarkus.kubernetes.expose, - newPropertyKey: quarkus.kubernetes.ingress.expose - } -- org.openrewrite.properties.ChangePropertyKey: { - oldPropertyKey: quarkus.openshift.expose, - newPropertyKey: quarkus.openshift.route.expose - } -- org.openrewrite.properties.ChangePropertyKey: { - oldPropertyKey: quarkus.kubernetes.host, - newPropertyKey: quarkus.kubernetes.ingress.host - } -- org.openrewrite.properties.ChangePropertyKey: { - oldPropertyKey: quarkus.openshift.host, - newPropertyKey: quarkus.openshift.route.host - } -- org.openrewrite.properties.ChangePropertyKey: { - oldPropertyKey: quarkus.kubernetes.group, - newPropertyKey: quarkus.kubernetes.part-of - } -- org.openrewrite.properties.ChangePropertyKey: { - oldPropertyKey: quarkus.openshift.group, - newPropertyKey: quarkus.openshift.part-of - } -- org.openrewrite.properties.ChangePropertyKey: { - oldPropertyKey: quarkus.jib.labels, - newPropertyKey: quarkus.container-image.labels - } ---- -type: specs.openrewrite.org/v1beta/recipe -name: io.quarkus.updates.core.quarkus30.ApplicationYml -applicability: - singleSource: - - org.openrewrite.FindSourceFiles: { - filePattern: '**/application*.yml' - } -recipeList: -- org.openrewrite.yaml.ChangePropertyKey: { - oldPropertyKey: quarkus.kubernetes.expose, - newPropertyKey: quarkus.kubernetes.ingress.expose - } -- org.openrewrite.yaml.ChangePropertyKey: { - oldPropertyKey: quarkus.openshift.expose, - newPropertyKey: quarkus.openshift.route.expose - } -- org.openrewrite.yaml.ChangePropertyKey: { - oldPropertyKey: quarkus.kubernetes.host, - newPropertyKey: quarkus.kubernetes.ingress.host - } -- org.openrewrite.yaml.ChangePropertyKey: { - oldPropertyKey: quarkus.openshift.host, - newPropertyKey: quarkus.openshift.route.host - } -- org.openrewrite.yaml.ChangePropertyKey: { - oldPropertyKey: quarkus.kubernetes.group, - newPropertyKey: quarkus.kubernetes.part-of - } -- org.openrewrite.yaml.ChangePropertyKey: { - oldPropertyKey: quarkus.openshift.group, - newPropertyKey: quarkus.openshift.part-of - } -- org.openrewrite.properties.ChangePropertyKey: { - oldPropertyKey: quarkus.jib.labels, - newPropertyKey: quarkus.container-image.labels - } ---- -type: specs.openrewrite.org/v1beta/recipe -name: io.quarkus.updates.core.quarkus30.ApplicationYaml -applicability: - singleSource: - - org.openrewrite.FindSourceFiles: { - filePattern: '**/application*.yaml' - } -recipeList: -- org.openrewrite.yaml.ChangePropertyKey: { - oldPropertyKey: quarkus.kubernetes.expose, - newPropertyKey: quarkus.kubernetes.ingress.expose - } -- org.openrewrite.yaml.ChangePropertyKey: { - oldPropertyKey: quarkus.openshift.expose, - newPropertyKey: quarkus.openshift.route.expose - } -- org.openrewrite.yaml.ChangePropertyKey: { - oldPropertyKey: quarkus.kubernetes.host, - newPropertyKey: quarkus.kubernetes.ingress.host - } -- org.openrewrite.yaml.ChangePropertyKey: { - oldPropertyKey: quarkus.openshift.host, - newPropertyKey: quarkus.openshift.route.host - } -- org.openrewrite.yaml.ChangePropertyKey: { - oldPropertyKey: quarkus.kubernetes.group, - newPropertyKey: quarkus.kubernetes.part-of - } -- org.openrewrite.yaml.ChangePropertyKey: { - oldPropertyKey: quarkus.openshift.group, - newPropertyKey: quarkus.openshift.part-of - } -- org.openrewrite.properties.ChangePropertyKey: { - oldPropertyKey: quarkus.jib.labels, - newPropertyKey: quarkus.container-image.labels - } ---- -type: specs.openrewrite.org/v1beta/recipe -name: io.quarkus.updates.core.quarkus30.JavaxToJakartaDocumentationAdoc -applicability: - singleSource: - - org.openrewrite.FindSourceFiles: { - filePattern: '**/*.adoc' - } -recipeList: -- org.openrewrite.text.FindAndReplace: { - find: javax.json.bind.config., - replace: jakarta.json.bind.config. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.soap., - replace: jakarta.xml.soap. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.security.jacc., - replace: jakarta.security.jacc. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.mail.internet., - replace: jakarta.mail.internet. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.batch.api.chunk., - replace: jakarta.batch.api.chunk. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.json.spi., - replace: jakarta.json.spi. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.resource., - replace: jakarta.resource. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.resource.spi.work., - replace: jakarta.resource.spi.work. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.bind.annotation.adapters., - replace: jakarta.xml.bind.annotation.adapters. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.webapp., - replace: jakarta.faces.webapp. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.application., - replace: jakarta.faces.application. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.bind.util., - replace: jakarta.xml.bind.util. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.persistence.criteria., - replace: jakarta.persistence.criteria. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.event., - replace: jakarta.faces.event. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.activation., - replace: jakarta.activation. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.flow.builder., - replace: jakarta.faces.flow.builder. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.websocket., - replace: jakarta.websocket. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.json.bind.serializer., - replace: jakarta.json.bind.serializer. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.enterprise.inject.se., - replace: jakarta.enterprise.inject.se. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.resource.cci., - replace: jakarta.resource.cci. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.validation.spi., - replace: jakarta.validation.spi. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.transaction., - replace: jakarta.transaction. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.bind.attachment., - replace: jakarta.xml.bind.attachment. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.interceptor., - replace: jakarta.interceptor. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.bind.helpers., - replace: jakarta.xml.bind.helpers. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.ejb.embeddable., - replace: jakarta.ejb.embeddable. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.persistence., - replace: jakarta.persistence. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.enterprise.inject., - replace: jakarta.enterprise.inject. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.mail.event., - replace: jakarta.mail.event. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.resource.spi.endpoint., - replace: jakarta.resource.spi.endpoint. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.component.visit., - replace: jakarta.faces.component.visit. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.jsp.jstl., - replace: jakarta.servlet.jsp.jstl. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.jsp.el., - replace: jakarta.servlet.jsp.el. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.el., - replace: jakarta.faces.el. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.bind., - replace: jakarta.xml.bind. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.json.bind.adapter., - replace: jakarta.json.bind.adapter. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.validation.valueextraction., - replace: jakarta.validation.valueextraction. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.view.facelets., - replace: jakarta.faces.view.facelets. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.flow., - replace: jakarta.faces.flow. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.render., - replace: jakarta.faces.render. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.mail.util., - replace: jakarta.mail.util. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.batch.runtime.context., - replace: jakarta.batch.runtime.context. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.annotation.security., - replace: jakarta.annotation.security. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.component., - replace: jakarta.faces.component. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.jsp.jstl.fmt., - replace: jakarta.servlet.jsp.jstl.fmt. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.json.bind.spi., - replace: jakarta.json.bind.spi. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet., - replace: jakarta.servlet. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.batch.operations., - replace: jakarta.batch.operations. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.push., - replace: jakarta.faces.push. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.descriptor., - replace: jakarta.servlet.descriptor. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.ws.handler.soap., - replace: jakarta.xml.ws.handler.soap. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.validation.executable., - replace: jakarta.validation.executable. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.component.behavior., - replace: jakarta.faces.component.behavior. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.bind.annotation., - replace: jakarta.xml.bind.annotation. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.batch.runtime., - replace: jakarta.batch.runtime. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.json.stream., - replace: jakarta.json.stream. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.annotation., - replace: jakarta.servlet.annotation. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.resources., - replace: jakarta.servlet.resources. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.http., - replace: jakarta.servlet.http. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.ws.spi.http., - replace: jakarta.xml.ws.spi.http. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.ws.rs.container., - replace: jakarta.ws.rs.container. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.ws., - replace: jakarta.xml.ws. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.enterprise.context.spi., - replace: jakarta.enterprise.context.spi. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.resource.spi., - replace: jakarta.resource.spi. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.validator., - replace: jakarta.faces.validator. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.jws., - replace: jakarta.jws. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.annotation., - replace: jakarta.annotation. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.component.search., - replace: jakarta.faces.component.search. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.json.bind., - replace: jakarta.json.bind. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.jsp.jstl.tlv., - replace: jakarta.servlet.jsp.jstl.tlv. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.jsp.jstl.core., - replace: jakarta.servlet.jsp.jstl.core. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.decorator., - replace: jakarta.decorator. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.bean., - replace: jakarta.faces.bean. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.ws.rs.sse., - replace: jakarta.ws.rs.sse. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.persistence.metamodel., - replace: jakarta.persistence.metamodel. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.enterprise.context., - replace: jakarta.enterprise.context. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.ws.spi., - replace: jakarta.xml.ws.spi. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.batch.api., - replace: jakarta.batch.api. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.el., - replace: jakarta.el. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.json., - replace: jakarta.json. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.batch.api.chunk.listener., - replace: jakarta.batch.api.chunk.listener. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.persistence.spi., - replace: jakarta.persistence.spi. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.ws.handler., - replace: jakarta.xml.ws.handler. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.jsp.jstl.sql., - replace: jakarta.servlet.jsp.jstl.sql. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.enterprise.inject.literal., - replace: jakarta.enterprise.inject.literal. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.ws.rs.ext., - replace: jakarta.ws.rs.ext. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.validation.constraints., - replace: jakarta.validation.constraints. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.jsp.resources., - replace: jakarta.servlet.jsp.resources. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.validation.constraintvalidation., - replace: jakarta.validation.constraintvalidation. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.lifecycle., - replace: jakarta.faces.lifecycle. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.security.auth.message.callback., - replace: jakarta.security.auth.message.callback. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.ws.rs., - replace: jakarta.ws.rs. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.security.auth.message.config., - replace: jakarta.security.auth.message.config. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.websocket.server., - replace: jakarta.websocket.server. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.security.enterprise.authentication.mechanism.http., - replace: jakarta.security.enterprise.authentication.mechanism.http. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.enterprise.event., - replace: jakarta.enterprise.event. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.inject., - replace: jakarta.inject. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.batch.api.listener., - replace: jakarta.batch.api.listener. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.ws.http., - replace: jakarta.xml.ws.http. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.ws.soap., - replace: jakarta.xml.ws.soap. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.enterprise.inject.spi., - replace: jakarta.enterprise.inject.spi. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces., - replace: jakarta.faces. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.jms., - replace: jakarta.jms. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.ws.wsaddressing., - replace: jakarta.xml.ws.wsaddressing. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.validation.bootstrap., - replace: jakarta.validation.bootstrap. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.ejb.spi., - replace: jakarta.ejb.spi. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.validation.metadata., - replace: jakarta.validation.metadata. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.jsp., - replace: jakarta.servlet.jsp. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.convert., - replace: jakarta.faces.convert. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.mail., - replace: jakarta.mail. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.enterprise.concurrent., - replace: jakarta.enterprise.concurrent. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.batch.api.partition., - replace: jakarta.batch.api.partition. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.component.html., - replace: jakarta.faces.component.html. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.enterprise.inject.spi.configurator., - replace: jakarta.enterprise.inject.spi.configurator. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.security.enterprise.credential., - replace: jakarta.security.enterprise.credential. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.enterprise.context.control., - replace: jakarta.enterprise.context.control. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.json.bind.annotation., - replace: jakarta.json.bind.annotation. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.mail.search., - replace: jakarta.mail.search. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.enterprise.util., - replace: jakarta.enterprise.util. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.ws.rs.client., - replace: jakarta.ws.rs.client. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.model., - replace: jakarta.faces.model. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.resource.spi.security., - replace: jakarta.resource.spi.security. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.view., - replace: jakarta.faces.view. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.security.enterprise., - replace: jakarta.security.enterprise. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.jsp.tagext., - replace: jakarta.servlet.jsp.tagext. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.ws.rs.core., - replace: jakarta.ws.rs.core. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.security.auth.message.module., - replace: jakarta.security.auth.message.module. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.context., - replace: jakarta.faces.context. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.security.auth.message., - replace: jakarta.security.auth.message. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.annotation.sql., - replace: jakarta.annotation.sql. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.annotation., - replace: jakarta.faces.annotation. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.validation.groups., - replace: jakarta.validation.groups. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.jws.soap., - replace: jakarta.jws.soap. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.ejb., - replace: jakarta.ejb. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.security.enterprise.identitystore., - replace: jakarta.security.enterprise.identitystore. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.validation., - replace: jakarta.validation. - } ---- -type: specs.openrewrite.org/v1beta/recipe -name: io.quarkus.updates.core.quarkus30.JavaxToJakartaDocumentationMd -applicability: - singleSource: - - org.openrewrite.FindSourceFiles: { - filePattern: '**/*.md' - } -recipeList: -- org.openrewrite.text.FindAndReplace: { - find: javax.json.bind.config., - replace: jakarta.json.bind.config. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.soap., - replace: jakarta.xml.soap. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.security.jacc., - replace: jakarta.security.jacc. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.mail.internet., - replace: jakarta.mail.internet. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.batch.api.chunk., - replace: jakarta.batch.api.chunk. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.json.spi., - replace: jakarta.json.spi. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.resource., - replace: jakarta.resource. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.resource.spi.work., - replace: jakarta.resource.spi.work. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.bind.annotation.adapters., - replace: jakarta.xml.bind.annotation.adapters. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.webapp., - replace: jakarta.faces.webapp. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.application., - replace: jakarta.faces.application. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.bind.util., - replace: jakarta.xml.bind.util. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.persistence.criteria., - replace: jakarta.persistence.criteria. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.event., - replace: jakarta.faces.event. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.activation., - replace: jakarta.activation. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.flow.builder., - replace: jakarta.faces.flow.builder. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.websocket., - replace: jakarta.websocket. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.json.bind.serializer., - replace: jakarta.json.bind.serializer. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.enterprise.inject.se., - replace: jakarta.enterprise.inject.se. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.resource.cci., - replace: jakarta.resource.cci. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.validation.spi., - replace: jakarta.validation.spi. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.transaction., - replace: jakarta.transaction. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.bind.attachment., - replace: jakarta.xml.bind.attachment. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.interceptor., - replace: jakarta.interceptor. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.bind.helpers., - replace: jakarta.xml.bind.helpers. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.ejb.embeddable., - replace: jakarta.ejb.embeddable. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.persistence., - replace: jakarta.persistence. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.enterprise.inject., - replace: jakarta.enterprise.inject. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.mail.event., - replace: jakarta.mail.event. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.resource.spi.endpoint., - replace: jakarta.resource.spi.endpoint. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.component.visit., - replace: jakarta.faces.component.visit. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.jsp.jstl., - replace: jakarta.servlet.jsp.jstl. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.jsp.el., - replace: jakarta.servlet.jsp.el. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.el., - replace: jakarta.faces.el. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.bind., - replace: jakarta.xml.bind. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.json.bind.adapter., - replace: jakarta.json.bind.adapter. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.validation.valueextraction., - replace: jakarta.validation.valueextraction. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.view.facelets., - replace: jakarta.faces.view.facelets. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.flow., - replace: jakarta.faces.flow. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.render., - replace: jakarta.faces.render. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.mail.util., - replace: jakarta.mail.util. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.batch.runtime.context., - replace: jakarta.batch.runtime.context. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.annotation.security., - replace: jakarta.annotation.security. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.component., - replace: jakarta.faces.component. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.jsp.jstl.fmt., - replace: jakarta.servlet.jsp.jstl.fmt. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.json.bind.spi., - replace: jakarta.json.bind.spi. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet., - replace: jakarta.servlet. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.batch.operations., - replace: jakarta.batch.operations. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.push., - replace: jakarta.faces.push. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.descriptor., - replace: jakarta.servlet.descriptor. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.ws.handler.soap., - replace: jakarta.xml.ws.handler.soap. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.validation.executable., - replace: jakarta.validation.executable. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.component.behavior., - replace: jakarta.faces.component.behavior. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.bind.annotation., - replace: jakarta.xml.bind.annotation. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.batch.runtime., - replace: jakarta.batch.runtime. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.json.stream., - replace: jakarta.json.stream. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.annotation., - replace: jakarta.servlet.annotation. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.resources., - replace: jakarta.servlet.resources. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.http., - replace: jakarta.servlet.http. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.ws.spi.http., - replace: jakarta.xml.ws.spi.http. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.ws.rs.container., - replace: jakarta.ws.rs.container. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.ws., - replace: jakarta.xml.ws. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.enterprise.context.spi., - replace: jakarta.enterprise.context.spi. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.resource.spi., - replace: jakarta.resource.spi. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.validator., - replace: jakarta.faces.validator. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.jws., - replace: jakarta.jws. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.annotation., - replace: jakarta.annotation. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.component.search., - replace: jakarta.faces.component.search. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.json.bind., - replace: jakarta.json.bind. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.jsp.jstl.tlv., - replace: jakarta.servlet.jsp.jstl.tlv. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.jsp.jstl.core., - replace: jakarta.servlet.jsp.jstl.core. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.decorator., - replace: jakarta.decorator. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.bean., - replace: jakarta.faces.bean. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.ws.rs.sse., - replace: jakarta.ws.rs.sse. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.persistence.metamodel., - replace: jakarta.persistence.metamodel. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.enterprise.context., - replace: jakarta.enterprise.context. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.ws.spi., - replace: jakarta.xml.ws.spi. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.batch.api., - replace: jakarta.batch.api. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.el., - replace: jakarta.el. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.json., - replace: jakarta.json. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.batch.api.chunk.listener., - replace: jakarta.batch.api.chunk.listener. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.persistence.spi., - replace: jakarta.persistence.spi. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.ws.handler., - replace: jakarta.xml.ws.handler. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.jsp.jstl.sql., - replace: jakarta.servlet.jsp.jstl.sql. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.enterprise.inject.literal., - replace: jakarta.enterprise.inject.literal. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.ws.rs.ext., - replace: jakarta.ws.rs.ext. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.validation.constraints., - replace: jakarta.validation.constraints. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.jsp.resources., - replace: jakarta.servlet.jsp.resources. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.validation.constraintvalidation., - replace: jakarta.validation.constraintvalidation. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.lifecycle., - replace: jakarta.faces.lifecycle. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.security.auth.message.callback., - replace: jakarta.security.auth.message.callback. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.ws.rs., - replace: jakarta.ws.rs. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.security.auth.message.config., - replace: jakarta.security.auth.message.config. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.websocket.server., - replace: jakarta.websocket.server. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.security.enterprise.authentication.mechanism.http., - replace: jakarta.security.enterprise.authentication.mechanism.http. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.enterprise.event., - replace: jakarta.enterprise.event. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.inject., - replace: jakarta.inject. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.batch.api.listener., - replace: jakarta.batch.api.listener. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.ws.http., - replace: jakarta.xml.ws.http. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.ws.soap., - replace: jakarta.xml.ws.soap. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.enterprise.inject.spi., - replace: jakarta.enterprise.inject.spi. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces., - replace: jakarta.faces. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.jms., - replace: jakarta.jms. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.ws.wsaddressing., - replace: jakarta.xml.ws.wsaddressing. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.validation.bootstrap., - replace: jakarta.validation.bootstrap. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.ejb.spi., - replace: jakarta.ejb.spi. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.validation.metadata., - replace: jakarta.validation.metadata. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.jsp., - replace: jakarta.servlet.jsp. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.convert., - replace: jakarta.faces.convert. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.mail., - replace: jakarta.mail. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.enterprise.concurrent., - replace: jakarta.enterprise.concurrent. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.batch.api.partition., - replace: jakarta.batch.api.partition. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.component.html., - replace: jakarta.faces.component.html. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.enterprise.inject.spi.configurator., - replace: jakarta.enterprise.inject.spi.configurator. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.security.enterprise.credential., - replace: jakarta.security.enterprise.credential. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.enterprise.context.control., - replace: jakarta.enterprise.context.control. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.json.bind.annotation., - replace: jakarta.json.bind.annotation. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.mail.search., - replace: jakarta.mail.search. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.enterprise.util., - replace: jakarta.enterprise.util. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.ws.rs.client., - replace: jakarta.ws.rs.client. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.model., - replace: jakarta.faces.model. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.resource.spi.security., - replace: jakarta.resource.spi.security. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.view., - replace: jakarta.faces.view. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.security.enterprise., - replace: jakarta.security.enterprise. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.jsp.tagext., - replace: jakarta.servlet.jsp.tagext. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.ws.rs.core., - replace: jakarta.ws.rs.core. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.security.auth.message.module., - replace: jakarta.security.auth.message.module. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.context., - replace: jakarta.faces.context. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.security.auth.message., - replace: jakarta.security.auth.message. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.annotation.sql., - replace: jakarta.annotation.sql. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.annotation., - replace: jakarta.faces.annotation. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.validation.groups., - replace: jakarta.validation.groups. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.jws.soap., - replace: jakarta.jws.soap. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.ejb., - replace: jakarta.ejb. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.security.enterprise.identitystore., - replace: jakarta.security.enterprise.identitystore. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.validation., - replace: jakarta.validation. - } ---- -type: specs.openrewrite.org/v1beta/recipe -name: io.quarkus.updates.core.quarkus30.JavaxToJakartaCodestarts -applicability: - singleSource: - - org.openrewrite.FindSourceFiles: { - filePattern: '**/src/main/codestarts/**/*.java' - } -recipeList: -- org.openrewrite.text.FindAndReplace: { - find: javax.json.bind.config., - replace: jakarta.json.bind.config. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.soap., - replace: jakarta.xml.soap. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.security.jacc., - replace: jakarta.security.jacc. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.mail.internet., - replace: jakarta.mail.internet. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.batch.api.chunk., - replace: jakarta.batch.api.chunk. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.json.spi., - replace: jakarta.json.spi. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.resource., - replace: jakarta.resource. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.resource.spi.work., - replace: jakarta.resource.spi.work. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.bind.annotation.adapters., - replace: jakarta.xml.bind.annotation.adapters. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.webapp., - replace: jakarta.faces.webapp. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.application., - replace: jakarta.faces.application. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.bind.util., - replace: jakarta.xml.bind.util. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.persistence.criteria., - replace: jakarta.persistence.criteria. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.event., - replace: jakarta.faces.event. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.activation., - replace: jakarta.activation. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.flow.builder., - replace: jakarta.faces.flow.builder. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.websocket., - replace: jakarta.websocket. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.json.bind.serializer., - replace: jakarta.json.bind.serializer. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.enterprise.inject.se., - replace: jakarta.enterprise.inject.se. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.resource.cci., - replace: jakarta.resource.cci. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.validation.spi., - replace: jakarta.validation.spi. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.transaction., - replace: jakarta.transaction. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.bind.attachment., - replace: jakarta.xml.bind.attachment. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.interceptor., - replace: jakarta.interceptor. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.bind.helpers., - replace: jakarta.xml.bind.helpers. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.ejb.embeddable., - replace: jakarta.ejb.embeddable. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.persistence., - replace: jakarta.persistence. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.enterprise.inject., - replace: jakarta.enterprise.inject. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.mail.event., - replace: jakarta.mail.event. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.resource.spi.endpoint., - replace: jakarta.resource.spi.endpoint. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.component.visit., - replace: jakarta.faces.component.visit. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.jsp.jstl., - replace: jakarta.servlet.jsp.jstl. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.jsp.el., - replace: jakarta.servlet.jsp.el. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.el., - replace: jakarta.faces.el. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.bind., - replace: jakarta.xml.bind. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.json.bind.adapter., - replace: jakarta.json.bind.adapter. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.validation.valueextraction., - replace: jakarta.validation.valueextraction. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.view.facelets., - replace: jakarta.faces.view.facelets. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.flow., - replace: jakarta.faces.flow. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.render., - replace: jakarta.faces.render. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.mail.util., - replace: jakarta.mail.util. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.batch.runtime.context., - replace: jakarta.batch.runtime.context. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.annotation.security., - replace: jakarta.annotation.security. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.component., - replace: jakarta.faces.component. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.jsp.jstl.fmt., - replace: jakarta.servlet.jsp.jstl.fmt. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.json.bind.spi., - replace: jakarta.json.bind.spi. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet., - replace: jakarta.servlet. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.batch.operations., - replace: jakarta.batch.operations. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.push., - replace: jakarta.faces.push. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.descriptor., - replace: jakarta.servlet.descriptor. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.ws.handler.soap., - replace: jakarta.xml.ws.handler.soap. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.validation.executable., - replace: jakarta.validation.executable. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.component.behavior., - replace: jakarta.faces.component.behavior. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.bind.annotation., - replace: jakarta.xml.bind.annotation. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.batch.runtime., - replace: jakarta.batch.runtime. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.json.stream., - replace: jakarta.json.stream. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.annotation., - replace: jakarta.servlet.annotation. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.resources., - replace: jakarta.servlet.resources. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.http., - replace: jakarta.servlet.http. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.ws.spi.http., - replace: jakarta.xml.ws.spi.http. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.ws.rs.container., - replace: jakarta.ws.rs.container. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.ws., - replace: jakarta.xml.ws. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.enterprise.context.spi., - replace: jakarta.enterprise.context.spi. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.resource.spi., - replace: jakarta.resource.spi. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.validator., - replace: jakarta.faces.validator. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.jws., - replace: jakarta.jws. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.annotation., - replace: jakarta.annotation. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.component.search., - replace: jakarta.faces.component.search. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.json.bind., - replace: jakarta.json.bind. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.jsp.jstl.tlv., - replace: jakarta.servlet.jsp.jstl.tlv. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.jsp.jstl.core., - replace: jakarta.servlet.jsp.jstl.core. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.decorator., - replace: jakarta.decorator. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.bean., - replace: jakarta.faces.bean. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.ws.rs.sse., - replace: jakarta.ws.rs.sse. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.persistence.metamodel., - replace: jakarta.persistence.metamodel. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.enterprise.context., - replace: jakarta.enterprise.context. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.ws.spi., - replace: jakarta.xml.ws.spi. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.batch.api., - replace: jakarta.batch.api. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.el., - replace: jakarta.el. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.json., - replace: jakarta.json. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.batch.api.chunk.listener., - replace: jakarta.batch.api.chunk.listener. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.persistence.spi., - replace: jakarta.persistence.spi. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.ws.handler., - replace: jakarta.xml.ws.handler. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.jsp.jstl.sql., - replace: jakarta.servlet.jsp.jstl.sql. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.enterprise.inject.literal., - replace: jakarta.enterprise.inject.literal. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.ws.rs.ext., - replace: jakarta.ws.rs.ext. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.validation.constraints., - replace: jakarta.validation.constraints. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.jsp.resources., - replace: jakarta.servlet.jsp.resources. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.validation.constraintvalidation., - replace: jakarta.validation.constraintvalidation. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.lifecycle., - replace: jakarta.faces.lifecycle. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.security.auth.message.callback., - replace: jakarta.security.auth.message.callback. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.ws.rs., - replace: jakarta.ws.rs. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.security.auth.message.config., - replace: jakarta.security.auth.message.config. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.websocket.server., - replace: jakarta.websocket.server. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.security.enterprise.authentication.mechanism.http., - replace: jakarta.security.enterprise.authentication.mechanism.http. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.enterprise.event., - replace: jakarta.enterprise.event. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.inject., - replace: jakarta.inject. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.batch.api.listener., - replace: jakarta.batch.api.listener. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.ws.http., - replace: jakarta.xml.ws.http. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.ws.soap., - replace: jakarta.xml.ws.soap. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.enterprise.inject.spi., - replace: jakarta.enterprise.inject.spi. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces., - replace: jakarta.faces. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.jms., - replace: jakarta.jms. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.ws.wsaddressing., - replace: jakarta.xml.ws.wsaddressing. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.validation.bootstrap., - replace: jakarta.validation.bootstrap. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.ejb.spi., - replace: jakarta.ejb.spi. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.validation.metadata., - replace: jakarta.validation.metadata. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.jsp., - replace: jakarta.servlet.jsp. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.convert., - replace: jakarta.faces.convert. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.mail., - replace: jakarta.mail. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.enterprise.concurrent., - replace: jakarta.enterprise.concurrent. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.batch.api.partition., - replace: jakarta.batch.api.partition. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.component.html., - replace: jakarta.faces.component.html. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.enterprise.inject.spi.configurator., - replace: jakarta.enterprise.inject.spi.configurator. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.security.enterprise.credential., - replace: jakarta.security.enterprise.credential. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.enterprise.context.control., - replace: jakarta.enterprise.context.control. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.json.bind.annotation., - replace: jakarta.json.bind.annotation. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.mail.search., - replace: jakarta.mail.search. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.enterprise.util., - replace: jakarta.enterprise.util. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.ws.rs.client., - replace: jakarta.ws.rs.client. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.model., - replace: jakarta.faces.model. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.resource.spi.security., - replace: jakarta.resource.spi.security. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.view., - replace: jakarta.faces.view. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.security.enterprise., - replace: jakarta.security.enterprise. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.jsp.tagext., - replace: jakarta.servlet.jsp.tagext. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.ws.rs.core., - replace: jakarta.ws.rs.core. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.security.auth.message.module., - replace: jakarta.security.auth.message.module. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.context., - replace: jakarta.faces.context. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.security.auth.message., - replace: jakarta.security.auth.message. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.annotation.sql., - replace: jakarta.annotation.sql. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.annotation., - replace: jakarta.faces.annotation. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.validation.groups., - replace: jakarta.validation.groups. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.jws.soap., - replace: jakarta.jws.soap. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.ejb., - replace: jakarta.ejb. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.security.enterprise.identitystore., - replace: jakarta.security.enterprise.identitystore. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.validation., - replace: jakarta.validation. - } ---- -type: specs.openrewrite.org/v1beta/recipe -name: io.quarkus.updates.core.quarkus30.JavaxToJakartaCodestartsTests -applicability: - singleSource: - - org.openrewrite.FindSourceFiles: { - filePattern: '**/src/test/resources/__snapshots__/**/*.java' - } -recipeList: -- org.openrewrite.text.FindAndReplace: { - find: javax.json.bind.config., - replace: jakarta.json.bind.config. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.soap., - replace: jakarta.xml.soap. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.security.jacc., - replace: jakarta.security.jacc. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.mail.internet., - replace: jakarta.mail.internet. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.batch.api.chunk., - replace: jakarta.batch.api.chunk. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.json.spi., - replace: jakarta.json.spi. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.resource., - replace: jakarta.resource. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.resource.spi.work., - replace: jakarta.resource.spi.work. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.bind.annotation.adapters., - replace: jakarta.xml.bind.annotation.adapters. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.webapp., - replace: jakarta.faces.webapp. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.application., - replace: jakarta.faces.application. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.bind.util., - replace: jakarta.xml.bind.util. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.persistence.criteria., - replace: jakarta.persistence.criteria. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.event., - replace: jakarta.faces.event. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.activation., - replace: jakarta.activation. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.flow.builder., - replace: jakarta.faces.flow.builder. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.websocket., - replace: jakarta.websocket. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.json.bind.serializer., - replace: jakarta.json.bind.serializer. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.enterprise.inject.se., - replace: jakarta.enterprise.inject.se. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.resource.cci., - replace: jakarta.resource.cci. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.validation.spi., - replace: jakarta.validation.spi. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.transaction., - replace: jakarta.transaction. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.bind.attachment., - replace: jakarta.xml.bind.attachment. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.interceptor., - replace: jakarta.interceptor. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.bind.helpers., - replace: jakarta.xml.bind.helpers. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.ejb.embeddable., - replace: jakarta.ejb.embeddable. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.persistence., - replace: jakarta.persistence. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.enterprise.inject., - replace: jakarta.enterprise.inject. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.mail.event., - replace: jakarta.mail.event. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.resource.spi.endpoint., - replace: jakarta.resource.spi.endpoint. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.component.visit., - replace: jakarta.faces.component.visit. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.jsp.jstl., - replace: jakarta.servlet.jsp.jstl. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.jsp.el., - replace: jakarta.servlet.jsp.el. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.el., - replace: jakarta.faces.el. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.bind., - replace: jakarta.xml.bind. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.json.bind.adapter., - replace: jakarta.json.bind.adapter. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.validation.valueextraction., - replace: jakarta.validation.valueextraction. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.view.facelets., - replace: jakarta.faces.view.facelets. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.flow., - replace: jakarta.faces.flow. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.render., - replace: jakarta.faces.render. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.mail.util., - replace: jakarta.mail.util. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.batch.runtime.context., - replace: jakarta.batch.runtime.context. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.annotation.security., - replace: jakarta.annotation.security. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.component., - replace: jakarta.faces.component. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.jsp.jstl.fmt., - replace: jakarta.servlet.jsp.jstl.fmt. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.json.bind.spi., - replace: jakarta.json.bind.spi. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet., - replace: jakarta.servlet. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.batch.operations., - replace: jakarta.batch.operations. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.push., - replace: jakarta.faces.push. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.descriptor., - replace: jakarta.servlet.descriptor. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.ws.handler.soap., - replace: jakarta.xml.ws.handler.soap. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.validation.executable., - replace: jakarta.validation.executable. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.component.behavior., - replace: jakarta.faces.component.behavior. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.bind.annotation., - replace: jakarta.xml.bind.annotation. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.batch.runtime., - replace: jakarta.batch.runtime. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.json.stream., - replace: jakarta.json.stream. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.annotation., - replace: jakarta.servlet.annotation. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.resources., - replace: jakarta.servlet.resources. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.http., - replace: jakarta.servlet.http. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.ws.spi.http., - replace: jakarta.xml.ws.spi.http. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.ws.rs.container., - replace: jakarta.ws.rs.container. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.ws., - replace: jakarta.xml.ws. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.enterprise.context.spi., - replace: jakarta.enterprise.context.spi. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.resource.spi., - replace: jakarta.resource.spi. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.validator., - replace: jakarta.faces.validator. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.jws., - replace: jakarta.jws. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.annotation., - replace: jakarta.annotation. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.component.search., - replace: jakarta.faces.component.search. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.json.bind., - replace: jakarta.json.bind. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.jsp.jstl.tlv., - replace: jakarta.servlet.jsp.jstl.tlv. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.jsp.jstl.core., - replace: jakarta.servlet.jsp.jstl.core. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.decorator., - replace: jakarta.decorator. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.bean., - replace: jakarta.faces.bean. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.ws.rs.sse., - replace: jakarta.ws.rs.sse. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.persistence.metamodel., - replace: jakarta.persistence.metamodel. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.enterprise.context., - replace: jakarta.enterprise.context. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.ws.spi., - replace: jakarta.xml.ws.spi. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.batch.api., - replace: jakarta.batch.api. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.el., - replace: jakarta.el. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.json., - replace: jakarta.json. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.batch.api.chunk.listener., - replace: jakarta.batch.api.chunk.listener. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.persistence.spi., - replace: jakarta.persistence.spi. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.ws.handler., - replace: jakarta.xml.ws.handler. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.jsp.jstl.sql., - replace: jakarta.servlet.jsp.jstl.sql. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.enterprise.inject.literal., - replace: jakarta.enterprise.inject.literal. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.ws.rs.ext., - replace: jakarta.ws.rs.ext. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.validation.constraints., - replace: jakarta.validation.constraints. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.jsp.resources., - replace: jakarta.servlet.jsp.resources. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.validation.constraintvalidation., - replace: jakarta.validation.constraintvalidation. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.lifecycle., - replace: jakarta.faces.lifecycle. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.security.auth.message.callback., - replace: jakarta.security.auth.message.callback. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.ws.rs., - replace: jakarta.ws.rs. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.security.auth.message.config., - replace: jakarta.security.auth.message.config. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.websocket.server., - replace: jakarta.websocket.server. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.security.enterprise.authentication.mechanism.http., - replace: jakarta.security.enterprise.authentication.mechanism.http. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.enterprise.event., - replace: jakarta.enterprise.event. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.inject., - replace: jakarta.inject. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.batch.api.listener., - replace: jakarta.batch.api.listener. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.ws.http., - replace: jakarta.xml.ws.http. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.ws.soap., - replace: jakarta.xml.ws.soap. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.enterprise.inject.spi., - replace: jakarta.enterprise.inject.spi. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces., - replace: jakarta.faces. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.jms., - replace: jakarta.jms. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.ws.wsaddressing., - replace: jakarta.xml.ws.wsaddressing. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.validation.bootstrap., - replace: jakarta.validation.bootstrap. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.ejb.spi., - replace: jakarta.ejb.spi. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.validation.metadata., - replace: jakarta.validation.metadata. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.jsp., - replace: jakarta.servlet.jsp. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.convert., - replace: jakarta.faces.convert. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.mail., - replace: jakarta.mail. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.enterprise.concurrent., - replace: jakarta.enterprise.concurrent. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.batch.api.partition., - replace: jakarta.batch.api.partition. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.component.html., - replace: jakarta.faces.component.html. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.enterprise.inject.spi.configurator., - replace: jakarta.enterprise.inject.spi.configurator. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.security.enterprise.credential., - replace: jakarta.security.enterprise.credential. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.enterprise.context.control., - replace: jakarta.enterprise.context.control. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.json.bind.annotation., - replace: jakarta.json.bind.annotation. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.mail.search., - replace: jakarta.mail.search. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.enterprise.util., - replace: jakarta.enterprise.util. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.ws.rs.client., - replace: jakarta.ws.rs.client. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.model., - replace: jakarta.faces.model. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.resource.spi.security., - replace: jakarta.resource.spi.security. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.view., - replace: jakarta.faces.view. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.security.enterprise., - replace: jakarta.security.enterprise. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.jsp.tagext., - replace: jakarta.servlet.jsp.tagext. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.ws.rs.core., - replace: jakarta.ws.rs.core. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.security.auth.message.module., - replace: jakarta.security.auth.message.module. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.context., - replace: jakarta.faces.context. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.security.auth.message., - replace: jakarta.security.auth.message. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.annotation.sql., - replace: jakarta.annotation.sql. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.annotation., - replace: jakarta.faces.annotation. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.validation.groups., - replace: jakarta.validation.groups. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.jws.soap., - replace: jakarta.jws.soap. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.ejb., - replace: jakarta.ejb. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.security.enterprise.identitystore., - replace: jakarta.security.enterprise.identitystore. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.validation., - replace: jakarta.validation. - } ---- -type: specs.openrewrite.org/v1beta/recipe -name: io.quarkus.updates.core.quarkus30.JavaxToJakartaKotlin -applicability: - singleSource: - - org.openrewrite.FindSourceFiles: { - filePattern: '**/*.kt' - } -recipeList: -- org.openrewrite.text.FindAndReplace: { - find: javax.json.bind.config., - replace: jakarta.json.bind.config. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.soap., - replace: jakarta.xml.soap. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.security.jacc., - replace: jakarta.security.jacc. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.mail.internet., - replace: jakarta.mail.internet. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.batch.api.chunk., - replace: jakarta.batch.api.chunk. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.json.spi., - replace: jakarta.json.spi. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.resource., - replace: jakarta.resource. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.resource.spi.work., - replace: jakarta.resource.spi.work. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.bind.annotation.adapters., - replace: jakarta.xml.bind.annotation.adapters. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.webapp., - replace: jakarta.faces.webapp. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.application., - replace: jakarta.faces.application. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.bind.util., - replace: jakarta.xml.bind.util. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.persistence.criteria., - replace: jakarta.persistence.criteria. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.event., - replace: jakarta.faces.event. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.activation., - replace: jakarta.activation. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.flow.builder., - replace: jakarta.faces.flow.builder. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.websocket., - replace: jakarta.websocket. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.json.bind.serializer., - replace: jakarta.json.bind.serializer. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.enterprise.inject.se., - replace: jakarta.enterprise.inject.se. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.resource.cci., - replace: jakarta.resource.cci. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.validation.spi., - replace: jakarta.validation.spi. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.transaction., - replace: jakarta.transaction. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.bind.attachment., - replace: jakarta.xml.bind.attachment. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.interceptor., - replace: jakarta.interceptor. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.bind.helpers., - replace: jakarta.xml.bind.helpers. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.ejb.embeddable., - replace: jakarta.ejb.embeddable. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.persistence., - replace: jakarta.persistence. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.enterprise.inject., - replace: jakarta.enterprise.inject. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.mail.event., - replace: jakarta.mail.event. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.resource.spi.endpoint., - replace: jakarta.resource.spi.endpoint. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.component.visit., - replace: jakarta.faces.component.visit. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.jsp.jstl., - replace: jakarta.servlet.jsp.jstl. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.jsp.el., - replace: jakarta.servlet.jsp.el. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.el., - replace: jakarta.faces.el. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.bind., - replace: jakarta.xml.bind. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.json.bind.adapter., - replace: jakarta.json.bind.adapter. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.validation.valueextraction., - replace: jakarta.validation.valueextraction. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.view.facelets., - replace: jakarta.faces.view.facelets. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.flow., - replace: jakarta.faces.flow. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.render., - replace: jakarta.faces.render. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.mail.util., - replace: jakarta.mail.util. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.batch.runtime.context., - replace: jakarta.batch.runtime.context. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.annotation.security., - replace: jakarta.annotation.security. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.component., - replace: jakarta.faces.component. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.jsp.jstl.fmt., - replace: jakarta.servlet.jsp.jstl.fmt. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.json.bind.spi., - replace: jakarta.json.bind.spi. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet., - replace: jakarta.servlet. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.batch.operations., - replace: jakarta.batch.operations. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.push., - replace: jakarta.faces.push. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.descriptor., - replace: jakarta.servlet.descriptor. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.ws.handler.soap., - replace: jakarta.xml.ws.handler.soap. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.validation.executable., - replace: jakarta.validation.executable. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.component.behavior., - replace: jakarta.faces.component.behavior. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.bind.annotation., - replace: jakarta.xml.bind.annotation. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.batch.runtime., - replace: jakarta.batch.runtime. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.json.stream., - replace: jakarta.json.stream. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.annotation., - replace: jakarta.servlet.annotation. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.resources., - replace: jakarta.servlet.resources. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.http., - replace: jakarta.servlet.http. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.ws.spi.http., - replace: jakarta.xml.ws.spi.http. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.ws.rs.container., - replace: jakarta.ws.rs.container. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.ws., - replace: jakarta.xml.ws. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.enterprise.context.spi., - replace: jakarta.enterprise.context.spi. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.resource.spi., - replace: jakarta.resource.spi. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.validator., - replace: jakarta.faces.validator. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.jws., - replace: jakarta.jws. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.annotation., - replace: jakarta.annotation. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.component.search., - replace: jakarta.faces.component.search. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.json.bind., - replace: jakarta.json.bind. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.jsp.jstl.tlv., - replace: jakarta.servlet.jsp.jstl.tlv. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.jsp.jstl.core., - replace: jakarta.servlet.jsp.jstl.core. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.decorator., - replace: jakarta.decorator. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.bean., - replace: jakarta.faces.bean. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.ws.rs.sse., - replace: jakarta.ws.rs.sse. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.persistence.metamodel., - replace: jakarta.persistence.metamodel. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.enterprise.context., - replace: jakarta.enterprise.context. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.ws.spi., - replace: jakarta.xml.ws.spi. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.batch.api., - replace: jakarta.batch.api. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.el., - replace: jakarta.el. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.json., - replace: jakarta.json. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.batch.api.chunk.listener., - replace: jakarta.batch.api.chunk.listener. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.persistence.spi., - replace: jakarta.persistence.spi. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.ws.handler., - replace: jakarta.xml.ws.handler. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.jsp.jstl.sql., - replace: jakarta.servlet.jsp.jstl.sql. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.enterprise.inject.literal., - replace: jakarta.enterprise.inject.literal. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.ws.rs.ext., - replace: jakarta.ws.rs.ext. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.validation.constraints., - replace: jakarta.validation.constraints. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.jsp.resources., - replace: jakarta.servlet.jsp.resources. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.validation.constraintvalidation., - replace: jakarta.validation.constraintvalidation. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.lifecycle., - replace: jakarta.faces.lifecycle. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.security.auth.message.callback., - replace: jakarta.security.auth.message.callback. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.ws.rs., - replace: jakarta.ws.rs. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.security.auth.message.config., - replace: jakarta.security.auth.message.config. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.websocket.server., - replace: jakarta.websocket.server. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.security.enterprise.authentication.mechanism.http., - replace: jakarta.security.enterprise.authentication.mechanism.http. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.enterprise.event., - replace: jakarta.enterprise.event. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.inject., - replace: jakarta.inject. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.batch.api.listener., - replace: jakarta.batch.api.listener. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.ws.http., - replace: jakarta.xml.ws.http. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.ws.soap., - replace: jakarta.xml.ws.soap. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.enterprise.inject.spi., - replace: jakarta.enterprise.inject.spi. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces., - replace: jakarta.faces. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.jms., - replace: jakarta.jms. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.xml.ws.wsaddressing., - replace: jakarta.xml.ws.wsaddressing. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.validation.bootstrap., - replace: jakarta.validation.bootstrap. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.ejb.spi., - replace: jakarta.ejb.spi. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.validation.metadata., - replace: jakarta.validation.metadata. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.jsp., - replace: jakarta.servlet.jsp. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.convert., - replace: jakarta.faces.convert. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.mail., - replace: jakarta.mail. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.enterprise.concurrent., - replace: jakarta.enterprise.concurrent. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.batch.api.partition., - replace: jakarta.batch.api.partition. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.component.html., - replace: jakarta.faces.component.html. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.enterprise.inject.spi.configurator., - replace: jakarta.enterprise.inject.spi.configurator. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.security.enterprise.credential., - replace: jakarta.security.enterprise.credential. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.enterprise.context.control., - replace: jakarta.enterprise.context.control. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.json.bind.annotation., - replace: jakarta.json.bind.annotation. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.mail.search., - replace: jakarta.mail.search. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.enterprise.util., - replace: jakarta.enterprise.util. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.ws.rs.client., - replace: jakarta.ws.rs.client. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.model., - replace: jakarta.faces.model. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.resource.spi.security., - replace: jakarta.resource.spi.security. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.view., - replace: jakarta.faces.view. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.security.enterprise., - replace: jakarta.security.enterprise. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.servlet.jsp.tagext., - replace: jakarta.servlet.jsp.tagext. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.ws.rs.core., - replace: jakarta.ws.rs.core. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.security.auth.message.module., - replace: jakarta.security.auth.message.module. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.context., - replace: jakarta.faces.context. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.security.auth.message., - replace: jakarta.security.auth.message. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.annotation.sql., - replace: jakarta.annotation.sql. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.faces.annotation., - replace: jakarta.faces.annotation. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.validation.groups., - replace: jakarta.validation.groups. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.jws.soap., - replace: jakarta.jws.soap. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.ejb., - replace: jakarta.ejb. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.security.enterprise.identitystore., - replace: jakarta.security.enterprise.identitystore. - } -- org.openrewrite.text.FindAndReplace: { - find: javax.validation., - replace: jakarta.validation. - } diff --git a/.ci/environments/quarkus-branch/before.sh b/.ci/environments/quarkus-branch/before.sh deleted file mode 100755 index d2cf2e71c0..0000000000 --- a/.ci/environments/quarkus-branch/before.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -set -euo pipefail - -script_dir_path=$(cd `dirname "${BASH_SOURCE[0]}"`; pwd -P) - -"${script_dir_path}"/../common/update_quarkus.sh diff --git a/.ci/environments/quarkus-lts/README.md b/.ci/environments/quarkus-lts/README.md deleted file mode 100644 index 2c8fd03bf0..0000000000 --- a/.ci/environments/quarkus-lts/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# How to create a patch from a revert commit ? - -**NOTE:** Execute those commands at the root of your project - -First, set the variables to be used (change the values): - -``` bash -commit_id={COMMIT_HASH} -patch_name={ANY_MEANINGFUL_NAME} -``` - -Finally, create the patch file: - -``` bash -git revert --no-commit ${commit_id} -git commit -m "Revert ${patch_name}" -git show $(git rev-parse HEAD) > .ci/environments/quarkus-lts/patches/${patch_name} -git reset HEAD~1 --hard -``` diff --git a/.ci/environments/quarkus-lts/before.sh b/.ci/environments/quarkus-lts/before.sh deleted file mode 100755 index d2cf2e71c0..0000000000 --- a/.ci/environments/quarkus-lts/before.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -set -euo pipefail - -script_dir_path=$(cd `dirname "${BASH_SOURCE[0]}"`; pwd -P) - -"${script_dir_path}"/../common/update_quarkus.sh diff --git a/.ci/environments/quarkus-main/before.sh b/.ci/environments/quarkus-main/before.sh deleted file mode 100755 index d2cf2e71c0..0000000000 --- a/.ci/environments/quarkus-main/before.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -set -euo pipefail - -script_dir_path=$(cd `dirname "${BASH_SOURCE[0]}"`; pwd -P) - -"${script_dir_path}"/../common/update_quarkus.sh