From 39274d25b4a7684221cdaf187c751222013c6f1a Mon Sep 17 00:00:00 2001 From: Jenkins CI Date: Mon, 4 Sep 2023 00:13:22 -0400 Subject: [PATCH] Update for quarkus-3 environment --- .../decisiontable-quarkus-example/pom.xml | 12 ++--- .../quarkus/NativeRestQueryIT.java | 4 +- .../dmn-drools-quarkus-metrics/pom.xml | 10 ++-- .../app/CustomDMNRuntimeEventListener.java | 4 +- .../kogito/app/RuleEventListenerConfig.java | 4 +- .../dmn-event-driven-quarkus/pom.xml | 10 ++-- .../examples/NativeDmnEventDrivenIT.java | 4 +- .../dmn-incubation-api-quarkus/pom.xml | 10 ++-- .../java/org/acme/CustomRestDecision.java | 12 ++--- .../dmn-knative-quickstart-quarkus/pom.xml | 10 ++-- .../examples/CloudEventListenerTest.java | 2 +- .../dmn-listener-dtable/pom.xml | 10 ++-- .../ExampleDMNRuntimeEventListener.java | 2 +- .../example/dtlistener/PeriodicJobBean.java | 4 +- .../example/dtlistener/DecisionTableTest.java | 2 +- .../dmn-listener-quarkus/pom.xml | 10 ++-- .../ExampleDMNRuntimeEventListener.java | 2 +- .../ExampleDecisionEventListenerConfig.java | 2 +- .../listener/NativeTrafficViolationIT.java | 4 +- .../TrafficViolationListenerTest.java | 2 +- .../mock/MockDMNRuntimeEventListener.java | 2 +- .../dmn-pmml-quarkus-example/pom.xml | 10 ++-- .../example/NativeDMNRegressionIT.java | 4 +- .../pmml/quarkus/example/NativeDMNTreeIT.java | 4 +- .../quarkus/example/NativeDecisionTreeIT.java | 4 +- .../pmml/quarkus/example/NativeLinRegIT.java | 4 +- .../dmn-quarkus-example/pom.xml | 10 ++-- .../example/NativeTrafficViolationIT.java | 4 +- .../dmn-tracing-quarkus/pom.xml | 10 ++-- .../tracing/NativeLoanEligibilityIT.java | 4 +- .../flexible-process-quarkus/pom.xml | 10 ++-- .../example/service/CommentService.java | 2 +- .../example/service/StateService.java | 2 +- .../example/service/TriageService.java | 2 +- .../kogito-travel-agency/basic/pom.xml | 12 ++--- .../travels/service/FlightBookingService.java | 2 +- .../travels/service/HotelBookingService.java | 2 +- .../java/org/acme/travel/BookFlightTest.java | 4 +- .../java/org/acme/travel/BookHotelTest.java | 4 +- .../test/java/org/acme/travel/TravelTest.java | 4 +- .../java/org/acme/travel/VisaRulesTest.java | 2 +- .../kogito-travel-agency/extended/pom.xml | 6 +-- .../extended/travels/pom.xml | 12 ++--- .../main/java/org/acme/travels/Traveller.java | 8 +-- .../service/FlightBookingResource.java | 12 ++--- .../travels/service/FlightBookingService.java | 2 +- .../travels/service/HotelBookingService.java | 2 +- .../java/org/kie/kogito/app/VertxRouter.java | 6 +-- .../java/org/acme/travel/BookFlightIT.java | 4 +- .../java/org/acme/travel/BookHotelIT.java | 4 +- .../test/java/org/acme/travel/TravelIT.java | 4 +- .../java/org/acme/travel/VisaRulesIT.java | 2 +- .../extended/visas/pom.xml | 10 ++-- .../app/ProcessEventListenerConfig.java | 9 ++-- .../java/org/kie/kogito/app/VertxRouter.java | 6 +-- .../kogito-travel-agency/pom.xml | 6 +-- .../onboarding-example/hr/pom.xml | 2 +- .../kie/kogito/examples/hr/IdResource.java | 10 ++-- .../onboarding-quarkus/pom.xml | 2 +- .../examples/BaseWorkItemHandlerConfig.java | 4 +- .../examples/WorkItemHandlerConfig.java | 2 +- .../DecisionTaskWorkItemHandler.java | 2 +- .../onboarding/OnboardingEndpointIT.java | 2 +- .../onboarding-example/payroll/pom.xml | 6 +-- .../onboarding-example/pom.xml | 10 ++-- .../pmml-event-driven-quarkus/pom.xml | 10 ++-- .../pmml-incubation-api-quarkus/pom.xml | 10 ++-- .../java/org/acme/CustomRestPrediction.java | 12 ++--- .../pmml-quarkus-example/pom.xml | 10 ++-- .../quarkus/example/NativeLinRegTestIT.java | 4 +- .../example/NativeMiningModelTestIT.java | 4 +- .../example/NativeSampleMineTestIT.java | 4 +- .../example/NativeSimpleScorecardTestIT.java | 4 +- kogito-quarkus-examples/pom.xml | 2 +- .../process-business-rules-quarkus/pom.xml | 10 ++-- .../org/acme/travels/PersonProcessTest.java | 4 +- .../process-decisions-quarkus/pom.xml | 10 ++-- .../org/kie/kogito/traffic/DriverService.java | 2 +- .../traffic/NativeTrafficProcessIT.java | 4 +- .../process-decisions-rest-quarkus/pom.xml | 10 ++-- .../org/kie/kogito/traffic/DriverService.java | 2 +- .../traffic/LicenseValidationRestClient.java | 10 ++-- .../traffic/LicenseValidationRestService.java | 4 +- .../traffic/TrafficViolationRestClient.java | 10 ++-- .../traffic/TrafficViolationRestService.java | 4 +- .../traffic/NativeTrafficProcessIT.java | 4 +- .../process-decisions-rules-quarkus/pom.xml | 10 ++-- .../org/kie/kogito/traffic/DriverService.java | 2 +- .../traffic/NativeTrafficProcessIT.java | 4 +- .../process-error-handling/pom.xml | 10 ++-- .../acme/wih/CustomWorkItemHandlerConfig.java | 2 +- .../quarkus/HelloErrorProcessTest.java | 4 +- .../process-incubation-api-quarkus/pom.xml | 10 ++-- .../main/java/org/acme/CustomRestProcess.java | 12 ++--- .../pom.xml | 10 ++-- .../org/acme/deals/NativeDealsRestIT.java | 4 +- .../process-kafka-avro-multi-quarkus/pom.xml | 10 ++-- .../acme/travel/AvroMarshallerProducer.java | 6 +-- .../org/acme/travel/StringKeyDecorator.java | 2 +- .../tests/avro/quarkus/MultiMessagingIT.java | 2 +- .../process-kafka-multi-quarkus/pom.xml | 10 ++-- .../process-kafka-persistence-quarkus/pom.xml | 10 ++-- .../main/java/org/acme/deals/Application.java | 6 +-- .../process-kafka-quickstart-quarkus/pom.xml | 10 ++-- .../pom.xml | 10 ++-- .../acme/travel/CloudEventListenerTest.java | 2 +- .../pom.xml | 10 ++-- .../org/acme/deals/NativeDealsRestIT.java | 4 +- .../process-monitoring-quarkus/pom.xml | 10 ++-- .../examples/quarkus/CalculationService.java | 2 +- .../quarkus/NativeDashboardGenerationIT.java | 4 +- .../examples/quarkus/ProcessMetricsTest.java | 4 +- .../process-outbox-mongodb-quarkus/pom.xml | 10 ++-- .../kogito/examples/CalculationService.java | 2 +- .../process-performance-client/pom.xml | 10 ++-- .../process-performance-quarkus/pom.xml | 10 ++-- .../pom.xml | 10 ++-- .../process-quarkus-example/pom.xml | 10 ++-- .../kogito/examples/CalculationService.java | 2 +- .../kie/kogito/examples/OrdersProcessIT.java | 4 +- .../org/kie/kogito/examples/OrdersRestIT.java | 4 +- .../kie/kogito/examples/PersonProcessIT.java | 4 +- .../kie/kogito/examples/PersonsRestIT.java | 4 +- .../process-rest-service-call-quarkus/pom.xml | 12 ++--- .../acme/travels/rest/UsersRemoteService.java | 8 +-- .../acme/travels/services/AuditService.java | 2 +- .../acme/travels/services/UserService.java | 4 +- .../travels/quarkus/UsersProcessTest.java | 4 +- .../pom.xml | 10 ++-- .../org/acme/numbers/NumbersResource.java | 22 ++++---- .../numbers/NativeForRestExampleTestIT.java | 4 +- .../process-rest-workitem-quarkus/pom.xml | 10 ++-- .../acme/travels/rest/UsersRemoteService.java | 8 +-- .../acme/travels/services/AuditService.java | 2 +- .../org/acme/travels/UsersProcessTest.java | 4 +- .../process-saga-quarkus/pom.xml | 10 ++-- .../org/kie/kogito/examples/MockService.java | 2 +- .../org/kie/kogito/examples/OrderService.java | 2 +- .../kie/kogito/examples/PaymentService.java | 4 +- .../kie/kogito/examples/ShippingService.java | 4 +- .../org/kie/kogito/examples/StockService.java | 4 +- .../process-scripts-quarkus/pom.xml | 10 ++-- .../travels/quarkus/ScriptsProcessTest.java | 4 +- .../process-service-calls-quarkus/pom.xml | 10 ++-- .../services/GreetingTravellerService.java | 2 +- .../acme/travels/services/HelloService.java | 2 +- .../services/StoreTravellerService.java | 2 +- .../services/TravellerAuditService.java | 2 +- .../quarkus/MultiParamServiceProcessTest.java | 4 +- .../quarkus/TravellersProcessTest.java | 4 +- .../process-timer-quarkus/pom.xml | 10 ++-- .../pom.xml | 10 ++-- .../config/CustomWorkItemHandlerConfig.java | 2 +- .../quarkus/ApprovalsProcessTest.java | 4 +- .../pom.xml | 10 ++-- .../org/kie/kogito/hr/HiringProcessIT.java | 4 +- .../process-usertasks-quarkus/pom.xml | 10 ++-- .../travels/quarkus/ApprovalsProcessTest.java | 4 +- .../pom.xml | 10 ++-- .../org/kie/kogito/hr/HiringProcessIT.java | 4 +- .../pom.xml | 10 ++-- .../org/acme/travels/ApprovalsProcessIT.java | 4 +- .../acme/travels/NativeApprovalsRestIT.java | 4 +- .../pom.xml | 10 ++-- .../org/acme/travels/ApprovalsProcessIT.java | 4 +- .../acme/travels/NativeApprovalsRestIT.java | 4 +- .../pom.xml | 10 ++-- .../quarkus/ApprovalsProcessTest.java | 4 +- .../rules-incubation-api-quarkus/pom.xml | 10 ++-- .../main/java/org/acme/CustomRestRules.java | 12 ++--- .../rules-legacy-quarkus-example/pom.xml | 10 ++-- .../legacy/FindApprovedLoansEndpoint.java | 12 ++--- .../org/kie/kogito/NativeRestQueryTestIT.java | 4 +- .../rules-quarkus-helloworld/pom.xml | 10 ++-- .../examples/MyAgendaEventListener.java | 2 +- .../org/kie/kogito/examples/HelloTest.java | 2 +- .../ruleunit-event-driven-quarkus/pom.xml | 10 ++-- .../ruleunit-quarkus-example/pom.xml | 10 ++-- .../ruleunit/NativeRestQueryTestIT.java | 4 +- .../pom.xml | 10 ++-- .../decisiontable-springboot-example/pom.xml | 6 +-- .../springboot/RestQueryTest.java | 2 +- .../dmn-drools-springboot-metrics/pom.xml | 6 +-- .../springboot/DashboardsListTest.java | 2 +- .../springboot/DroolsMetricsTest.java | 2 +- .../springboot/LoanEligibilityTest.java | 2 +- .../dmn-event-driven-springboot/pom.xml | 6 +-- .../dmn-listener-springboot/pom.xml | 6 +-- .../TrafficViolationListenerTest.java | 2 +- .../listener/TrafficViolationTest.java | 2 +- .../dmn-pmml-springboot-example/pom.xml | 6 +-- .../example/DMNMiningModelTest.java | 2 +- .../springboot/example/DMNRegressionTest.java | 2 +- .../springboot/example/DMNScoreCardTest.java | 2 +- .../pmml/springboot/example/DMNTreeTest.java | 2 +- .../springboot/example/DecisionTreeTest.java | 2 +- .../pmml/springboot/example/LinRegTest.java | 2 +- .../springboot/example/MiningModelTest.java | 2 +- .../springboot/example/ScoreCardTest.java | 2 +- .../dmn-springboot-example/pom.xml | 6 +-- .../example/TrafficViolationTest.java | 2 +- .../dmn-tracing-springboot/pom.xml | 6 +-- .../springboot/tracing/LoanEligibilityIT.java | 2 +- .../flexible-process-springboot/pom.xml | 6 +-- .../springboot/ServiceDeskProcessTest.java | 2 +- .../onboarding-springboot/pom.xml | 6 +-- .../examples/WorkItemHandlerConfig.java | 4 +- .../onboarding/OnboardingEndpointIT.java | 2 +- .../pmml-event-driven-springboot/pom.xml | 6 +-- .../pmml-springboot-example/pom.xml | 6 +-- .../pmml/springboot/example/LinRegTest.java | 2 +- .../springboot/example/MiningModelTest.java | 2 +- .../springboot/example/SampleMineTest.java | 2 +- .../example/SimpleScorecardTest.java | 2 +- kogito-springboot-examples/pom.xml | 2 +- .../process-business-rules-springboot/pom.xml | 6 +-- .../process-decisions-rest-springboot/pom.xml | 6 +-- .../pom.xml | 6 +-- .../TrafficProcessIT.java | 2 +- .../process-decisions-springboot/pom.xml | 6 +-- .../TrafficProcessIT.java | 2 +- .../pom.xml | 6 +-- .../test/java/org/acme/deals/DealsRestIT.java | 2 +- .../process-kafka-multi-springboot/pom.xml | 6 +-- .../pom.xml | 6 +-- .../pom.xml | 6 +-- .../test/java/org/acme/deals/DealsRestIT.java | 2 +- .../process-monitoring-springboot/pom.xml | 6 +-- .../springboot/DashboardGenerationTest.java | 2 +- .../springboot/ProcessMetricsTest.java | 2 +- .../process-outbox-mongodb-springboot/pom.xml | 6 +-- .../process-performance-springboot/pom.xml | 8 +-- .../pom.xml | 6 +-- .../test/java/org/acme/deals/DealsRestIT.java | 2 +- .../pom.xml | 6 +-- .../process-scripts-springboot/pom.xml | 6 +-- .../process-service-calls-springboot/pom.xml | 6 +-- .../process-springboot-example/pom.xml | 6 +-- .../kogito/examples/demo/OrdersRestIT.java | 2 +- .../kogito/examples/demo/PersonsRestIT.java | 2 +- .../process-timer-springboot/pom.xml | 6 +-- .../pom.xml | 6 +-- .../pom.xml | 6 +-- .../process-usertasks-springboot/pom.xml | 6 +-- .../docker-compose/docker-compose.yml | 16 ------ .../pom.xml | 19 +++---- .../springboot/DefaultWebSecurityConfig.java | 48 +++++------------ .../springboot/KeycloakResolverConfig.java | 30 ----------- .../src/main/resources/application.properties | 17 +----- .../org/acme/travels/ApprovalsRestIT.java | 21 ++++---- .../src/test/resources/application.properties | 5 +- .../pom.xml | 17 ++---- .../springboot/DefaultWebSecurityConfig.java | 54 ++++++------------- .../springboot/KeycloakResolverConfig.java | 30 ----------- .../src/main/resources/application.properties | 6 +-- .../org/acme/travels/ApprovalsRestIT.java | 19 +++---- .../src/test/resources/application.properties | 6 +-- .../pom.xml | 12 +++-- .../tests/DefaultWebSecurityConfig.java | 16 +++--- .../kie/kogito/tests/LogEventPublisher.java | 8 ++- .../springboot/ApprovalsRestTest.java | 6 ++- .../rules-legacy-springboot-example/pom.xml | 6 +-- .../java/org/kie/kogito/RestQueryTest.java | 2 +- .../ruleunit-event-driven-springboot/pom.xml | 6 +-- .../ruleunit-springboot-example/pom.xml | 6 +-- .../springboot/ruleunit/RestQueryTest.java | 2 +- pom.xml | 4 +- serverless-workflow-examples/pom.xml | 2 +- .../pom.xml | 6 +-- .../callback-event-service/pom.xml | 6 +-- .../kie/kogito/examples/CallbackResource.java | 14 ++--- .../kogito/examples/RegisterObjectMapper.java | 2 +- .../callback-workflow/pom.xml | 6 +-- .../pom.xml | 6 +-- .../org/kie/kogito/examples/PrintService.java | 4 +- .../serverless-workflow-camel-routes/pom.xml | 8 +-- .../pom.xml | 6 +-- .../pom.xml | 6 +-- .../pom.xml | 6 +-- .../kie/kogito/examples/EventsService.java | 4 +- .../kie/kogito/examples/WorkflowResource.java | 12 ++--- .../custom-function-knative-service/pom.xml | 6 +-- .../workflow/pom.xml | 6 +-- .../serverless-workflow-custom-type/pom.xml | 6 +-- .../sw/custom/RPCCustomWorkItemHandler.java | 2 +- .../RPCCustomWorkItemHandlerConfig.java | 7 +-- .../pom.xml | 6 +-- .../org/kie/kogito/examples/PrintService.java | 4 +- .../serverless-workflow-error-quarkus/pom.xml | 6 +-- .../org/kie/kogito/examples/EvenService.java | 2 +- .../pom.xml | 8 +-- .../examples/ApplicantResource.java | 16 +++--- .../examples/AvroMarshallerProducer.java | 8 +-- .../serverless/examples/DecisionResource.java | 10 ++-- .../examples/ApplicantWorkflowIT.java | 10 ++-- .../pom.xml | 6 +-- .../pom.xml | 6 +-- .../pom.xml | 6 +-- .../resources/AppointmentResource.java | 22 ++++---- .../onboarding/resources/PatientResource.java | 20 +++---- .../onboarding/services/ScheduleService.java | 2 +- .../resources/AppointmentResourceIT.java | 2 +- .../sw/onboarding/resources/OnboardingIT.java | 2 +- .../services/ScheduleServiceTest.java | 2 +- .../pom.xml | 6 +-- .../org/acme/numbers/NumbersResource.java | 23 ++++---- .../sw-funqy-services/pom.xml | 4 +- .../functions/ClassificationFunction.java | 2 +- .../examples/functions/CountriesFunction.java | 2 +- .../functions/PopulationFunction.java | 2 +- .../services/ClassificationService.java | 2 +- .../examples/services/CountriesService.java | 2 +- .../examples/services/PopulationService.java | 2 +- .../sw-funqy-workflow/pom.xml | 6 +-- .../pom.xml | 6 +-- .../pom.xml | 6 +-- .../pom.xml | 4 +- .../serverless-workflow-hello-world/pom.xml | 8 +-- .../aggregator/CloudEventDataFormat.java | 4 +- .../aggregator/CloudEventsConverter.java | 6 +-- .../InMemoryQuotesRepositoryProcessor.java | 2 +- .../aggregator/QuotesAggregatorRoute.java | 4 +- .../resources/QuotesCloudEventsResource.java | 14 ++--- .../resources/QuotesExceptionMapper.java | 6 +-- .../aggregator/resources/QuotesResource.java | 16 +++--- .../aggregator/QuotesAggregatorRouteTest.java | 4 +- .../loanbroker/flow/CreditBureauMock.java | 2 +- .../loanbroker/flow/LoanBrokerFlowTest.java | 2 +- .../loanbroker/flow/QuotesAggregatorMock.java | 2 +- .../java/org/acme/loanbroker/AppResource.java | 16 +++--- .../org/acme/loanbroker/NewQuoteSocket.java | 10 ++-- .../org/acme/loanbroker/QuotesRepository.java | 4 +- .../org/acme/loanbroker/AppResourceTest.java | 14 ++--- .../pom.xml | 8 +-- .../pom.xml | 6 +-- .../org/kie/kogito/examples/VertxRouter.java | 4 +- .../flow/SubscriptionServiceMock.java | 4 +- .../InMemorySubscriptionRepository.java | 4 +- .../PostgreSqlSubscriptionRepository.java | 6 +-- .../service/SubscriptionResource.java | 26 ++++----- .../service/SubscriptionServiceImpl.java | 4 +- .../acme-financial-service/pom.xml | 6 +-- .../org/acme/AcmeFinancialApplication.java | 2 +- .../java/org/acme/AcmeFinancialResource.java | 12 ++--- .../main/java/org/acme/ExchangeRatesDB.java | 5 +- .../currency-exchange-workflow/pom.xml | 6 +-- .../examples/ExchangeWorkflowHelper.java | 2 +- .../pom.xml | 6 +-- .../pom.xml | 6 +-- .../processing/VerifyWorkflowExecutionIT.java | 2 +- .../pom.xml | 8 +-- .../pom.xml | 6 +-- .../query-answer-service/pom.xml | 6 +-- .../acme/InMemoryQueryRecordRepository.java | 5 +- .../acme/PostgreSqlQueryRecordRepository.java | 7 ++- .../org/acme/QueryAnswerServiceHelper.java | 4 +- .../org/acme/QueryAnswerServiceResource.java | 8 +-- .../acme/it/WireMockQueryServiceResource.java | 4 +- .../query-service/pom.xml | 8 +-- .../java/org/acme/CloudEventsCustomizer.java | 2 +- .../acme/InMemoryQueryRequestRepository.java | 4 +- .../PostgreSqlQueryRequestRepository.java | 7 ++- .../java/org/acme/QueryServiceResource.java | 18 +++---- .../serverless-workflow-saga-quarkus/pom.xml | 6 +-- .../org/kie/kogito/examples/MockService.java | 2 +- .../org/kie/kogito/examples/OrderService.java | 2 +- .../kie/kogito/examples/PaymentService.java | 4 +- .../kie/kogito/examples/ShippingService.java | 4 +- .../org/kie/kogito/examples/StockService.java | 4 +- .../pom.xml | 6 +-- .../examples/CountriesClassifierResource.java | 10 ++-- .../examples/CountryServiceWorkflowTest.java | 4 +- .../java/org/acme/FakeStockPriceResource.java | 6 +-- .../serverless-workflow-stock-profit/pom.xml | 8 +-- .../java/org/acme/RealStockPriceResource.java | 10 ++-- .../main/java/org/acme/ProfitResource.java | 8 +-- .../stock-profit/pom.xml | 2 +- .../conversion-workflow-full/pom.xml | 6 +-- .../conversion-workflow-function/pom.xml | 6 +-- .../conversion-workflow-spec/pom.xml | 6 +-- .../conversion-workflow/pom.xml | 6 +-- .../multiplication-service/pom.xml | 4 +- .../multiplication/OperationResource.java | 14 ++--- .../subtraction-service/pom.xml | 4 +- .../temp/subtraction/OperationResource.java | 14 ++--- .../pom.xml | 6 +-- .../pom.xml | 4 +- .../examples/EventsProducerResource.java | 18 +++---- .../org/kie/kogito/examples/VertxRouter.java | 4 +- .../pom.xml | 4 +- .../examples/EventsProducerResource.java | 20 +++---- .../org/kie/kogito/examples/VertxRouter.java | 4 +- .../pom.xml | 4 +- .../examples/CallbackStateTimeoutsClient.java | 22 ++++---- .../examples/CloudEventsCustomizer.java | 2 +- .../examples/EventStateTimeoutsClient.java | 22 ++++---- .../examples/EventsProducerResource.java | 18 +++---- .../examples/SwitchStateTimeoutsClient.java | 22 ++++---- .../org/kie/kogito/examples/VertxRouter.java | 4 +- .../kie/kogito/examples/WorkflowClient.java | 12 ++--- .../examples/WorkflowTimeoutsClient.java | 22 ++++---- .../examples/WorkflowsProxyResource.java | 26 ++++----- 402 files changed, 1267 insertions(+), 1424 deletions(-) delete mode 100644 kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/main/java/org/kie/kogito/springboot/KeycloakResolverConfig.java delete mode 100644 kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/main/java/org/kie/kogito/springboot/KeycloakResolverConfig.java diff --git a/kogito-quarkus-examples/decisiontable-quarkus-example/pom.xml b/kogito-quarkus-examples/decisiontable-quarkus-example/pom.xml index c584434b69..66a71a4c16 100644 --- a/kogito-quarkus-examples/decisiontable-quarkus-example/pom.xml +++ b/kogito-quarkus-examples/decisiontable-quarkus-example/pom.xml @@ -5,20 +5,20 @@ org.kie.kogito.examples kogito-quarkus-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT decisiontable-quarkus-example Kogito Example :: Decision Table - Quarkus - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT - 8.44.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 9.44.0-SNAPSHOT diff --git a/kogito-quarkus-examples/decisiontable-quarkus-example/src/test/java/org/kie/kogito/decisiontable/quarkus/NativeRestQueryIT.java b/kogito-quarkus-examples/decisiontable-quarkus-example/src/test/java/org/kie/kogito/decisiontable/quarkus/NativeRestQueryIT.java index eb6ce553f6..379ac3c452 100644 --- a/kogito-quarkus-examples/decisiontable-quarkus-example/src/test/java/org/kie/kogito/decisiontable/quarkus/NativeRestQueryIT.java +++ b/kogito-quarkus-examples/decisiontable-quarkus-example/src/test/java/org/kie/kogito/decisiontable/quarkus/NativeRestQueryIT.java @@ -15,9 +15,9 @@ */ package org.kie.kogito.decisiontable.quarkus; -import io.quarkus.test.junit.NativeImageTest; +import io.quarkus.test.junit.QuarkusIntegrationTest; -@NativeImageTest +@QuarkusIntegrationTest public class NativeRestQueryIT extends RestQueryTest { // Execute the same tests but in native mode. diff --git a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/pom.xml b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/pom.xml index 5edc5ee797..1d4126a3ed 100755 --- a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/pom.xml +++ b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/pom.xml @@ -5,19 +5,19 @@ org.kie.kogito.examples kogito-quarkus-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT dmn-drools-quarkus-metrics Kogito Example :: DMN Metrics Quarkus - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/java/org/kie/kogito/app/CustomDMNRuntimeEventListener.java b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/java/org/kie/kogito/app/CustomDMNRuntimeEventListener.java index 7744eb66d2..352066fca9 100644 --- a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/java/org/kie/kogito/app/CustomDMNRuntimeEventListener.java +++ b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/java/org/kie/kogito/app/CustomDMNRuntimeEventListener.java @@ -15,8 +15,8 @@ */ package org.kie.kogito.app; -import javax.enterprise.context.ApplicationScoped; -import javax.inject.Inject; +import jakarta.enterprise.context.ApplicationScoped; +import jakarta.inject.Inject; import org.kie.dmn.api.core.event.AfterEvaluateAllEvent; import org.kie.dmn.api.core.event.AfterEvaluateContextEntryEvent; diff --git a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/java/org/kie/kogito/app/RuleEventListenerConfig.java b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/java/org/kie/kogito/app/RuleEventListenerConfig.java index de6b18ed73..206a1665d0 100644 --- a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/java/org/kie/kogito/app/RuleEventListenerConfig.java +++ b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/java/org/kie/kogito/app/RuleEventListenerConfig.java @@ -15,8 +15,8 @@ */ package org.kie.kogito.app; -import javax.enterprise.context.ApplicationScoped; -import javax.inject.Inject; +import jakarta.enterprise.context.ApplicationScoped; +import jakarta.inject.Inject; import org.kie.kogito.drools.core.config.DefaultRuleEventListenerConfig; import org.kie.kogito.examples.CustomRuleEventListener; diff --git a/kogito-quarkus-examples/dmn-event-driven-quarkus/pom.xml b/kogito-quarkus-examples/dmn-event-driven-quarkus/pom.xml index f494fc03e0..85bb578fbd 100644 --- a/kogito-quarkus-examples/dmn-event-driven-quarkus/pom.xml +++ b/kogito-quarkus-examples/dmn-event-driven-quarkus/pom.xml @@ -7,19 +7,19 @@ org.kie.kogito.examples kogito-quarkus-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT dmn-event-driven-quarkus Kogito Example :: DMN Event-Driven :: Quarkus - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/dmn-event-driven-quarkus/src/test/java/org/kie/kogito/examples/NativeDmnEventDrivenIT.java b/kogito-quarkus-examples/dmn-event-driven-quarkus/src/test/java/org/kie/kogito/examples/NativeDmnEventDrivenIT.java index 663d5b38a9..d84f879930 100644 --- a/kogito-quarkus-examples/dmn-event-driven-quarkus/src/test/java/org/kie/kogito/examples/NativeDmnEventDrivenIT.java +++ b/kogito-quarkus-examples/dmn-event-driven-quarkus/src/test/java/org/kie/kogito/examples/NativeDmnEventDrivenIT.java @@ -18,9 +18,9 @@ import org.kie.kogito.testcontainers.quarkus.KafkaQuarkusTestResource; import io.quarkus.test.common.QuarkusTestResource; -import io.quarkus.test.junit.NativeImageTest; +import io.quarkus.test.junit.QuarkusIntegrationTest; -@NativeImageTest +@QuarkusIntegrationTest @QuarkusTestResource(KafkaQuarkusTestResource.class) public class NativeDmnEventDrivenIT extends DmnEventDrivenIT { diff --git a/kogito-quarkus-examples/dmn-incubation-api-quarkus/pom.xml b/kogito-quarkus-examples/dmn-incubation-api-quarkus/pom.xml index c5abbd378e..6bdbe52a29 100644 --- a/kogito-quarkus-examples/dmn-incubation-api-quarkus/pom.xml +++ b/kogito-quarkus-examples/dmn-incubation-api-quarkus/pom.xml @@ -5,19 +5,19 @@ org.kie.kogito.examples kogito-quarkus-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT dmn-incubation-api-quarkus Kogito Example :: DMN Incubation API With Quarkus - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/dmn-incubation-api-quarkus/src/main/java/org/acme/CustomRestDecision.java b/kogito-quarkus-examples/dmn-incubation-api-quarkus/src/main/java/org/acme/CustomRestDecision.java index 6b130eb447..a0d601529c 100644 --- a/kogito-quarkus-examples/dmn-incubation-api-quarkus/src/main/java/org/acme/CustomRestDecision.java +++ b/kogito-quarkus-examples/dmn-incubation-api-quarkus/src/main/java/org/acme/CustomRestDecision.java @@ -17,12 +17,12 @@ import java.util.Map; -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 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 org.kie.kogito.incubation.application.AppRoot; import org.kie.kogito.incubation.common.DataContext; diff --git a/kogito-quarkus-examples/dmn-knative-quickstart-quarkus/pom.xml b/kogito-quarkus-examples/dmn-knative-quickstart-quarkus/pom.xml index 52abe49c3e..e504028c07 100644 --- a/kogito-quarkus-examples/dmn-knative-quickstart-quarkus/pom.xml +++ b/kogito-quarkus-examples/dmn-knative-quickstart-quarkus/pom.xml @@ -5,7 +5,7 @@ org.kie.kogito.examples kogito-quarkus-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT dmn-knative-quickstart-quarkus @@ -14,14 +14,14 @@ 2.33.2 - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/dmn-knative-quickstart-quarkus/src/test/java/org/kie/kogito/examples/CloudEventListenerTest.java b/kogito-quarkus-examples/dmn-knative-quickstart-quarkus/src/test/java/org/kie/kogito/examples/CloudEventListenerTest.java index d4156050fe..5f258cd40e 100644 --- a/kogito-quarkus-examples/dmn-knative-quickstart-quarkus/src/test/java/org/kie/kogito/examples/CloudEventListenerTest.java +++ b/kogito-quarkus-examples/dmn-knative-quickstart-quarkus/src/test/java/org/kie/kogito/examples/CloudEventListenerTest.java @@ -17,7 +17,7 @@ import java.util.Map; -import javax.ws.rs.core.MediaType; +import jakarta.ws.rs.core.MediaType; import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.BeforeAll; diff --git a/kogito-quarkus-examples/dmn-listener-dtable/pom.xml b/kogito-quarkus-examples/dmn-listener-dtable/pom.xml index 8b3abdb384..f149e917f3 100644 --- a/kogito-quarkus-examples/dmn-listener-dtable/pom.xml +++ b/kogito-quarkus-examples/dmn-listener-dtable/pom.xml @@ -5,19 +5,19 @@ org.kie.kogito.examples kogito-quarkus-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT dmn-listener-dtable Kogito Example :: DMN Decision Table listener - Quarkus - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/dmn-listener-dtable/src/main/java/org/kie/kogito/dmn/quarkus/example/dtlistener/ExampleDMNRuntimeEventListener.java b/kogito-quarkus-examples/dmn-listener-dtable/src/main/java/org/kie/kogito/dmn/quarkus/example/dtlistener/ExampleDMNRuntimeEventListener.java index 5c9c238d31..527490b64e 100644 --- a/kogito-quarkus-examples/dmn-listener-dtable/src/main/java/org/kie/kogito/dmn/quarkus/example/dtlistener/ExampleDMNRuntimeEventListener.java +++ b/kogito-quarkus-examples/dmn-listener-dtable/src/main/java/org/kie/kogito/dmn/quarkus/example/dtlistener/ExampleDMNRuntimeEventListener.java @@ -18,7 +18,7 @@ import java.util.Queue; import java.util.concurrent.ConcurrentLinkedQueue; -import javax.enterprise.context.ApplicationScoped; +import jakarta.enterprise.context.ApplicationScoped; import org.kie.dmn.api.core.event.AfterEvaluateDecisionTableEvent; import org.kie.dmn.core.api.event.DefaultDMNRuntimeEventListener; diff --git a/kogito-quarkus-examples/dmn-listener-dtable/src/main/java/org/kie/kogito/dmn/quarkus/example/dtlistener/PeriodicJobBean.java b/kogito-quarkus-examples/dmn-listener-dtable/src/main/java/org/kie/kogito/dmn/quarkus/example/dtlistener/PeriodicJobBean.java index 2069192122..b0def9c39b 100644 --- a/kogito-quarkus-examples/dmn-listener-dtable/src/main/java/org/kie/kogito/dmn/quarkus/example/dtlistener/PeriodicJobBean.java +++ b/kogito-quarkus-examples/dmn-listener-dtable/src/main/java/org/kie/kogito/dmn/quarkus/example/dtlistener/PeriodicJobBean.java @@ -17,8 +17,8 @@ import java.util.concurrent.TimeUnit; -import javax.enterprise.context.ApplicationScoped; -import javax.inject.Inject; +import jakarta.enterprise.context.ApplicationScoped; +import jakarta.inject.Inject; import org.kie.dmn.api.core.event.AfterEvaluateDecisionTableEvent; import org.kie.dmn.model.api.DecisionTable; diff --git a/kogito-quarkus-examples/dmn-listener-dtable/src/test/java/org/kie/kogito/dmn/quarkus/example/dtlistener/DecisionTableTest.java b/kogito-quarkus-examples/dmn-listener-dtable/src/test/java/org/kie/kogito/dmn/quarkus/example/dtlistener/DecisionTableTest.java index 58d847b1e7..3b7d821f6a 100644 --- a/kogito-quarkus-examples/dmn-listener-dtable/src/test/java/org/kie/kogito/dmn/quarkus/example/dtlistener/DecisionTableTest.java +++ b/kogito-quarkus-examples/dmn-listener-dtable/src/test/java/org/kie/kogito/dmn/quarkus/example/dtlistener/DecisionTableTest.java @@ -17,7 +17,7 @@ import java.util.concurrent.TimeUnit; -import javax.inject.Inject; +import jakarta.inject.Inject; import org.junit.jupiter.api.Test; diff --git a/kogito-quarkus-examples/dmn-listener-quarkus/pom.xml b/kogito-quarkus-examples/dmn-listener-quarkus/pom.xml index df719ac5b3..6ea5cd5597 100644 --- a/kogito-quarkus-examples/dmn-listener-quarkus/pom.xml +++ b/kogito-quarkus-examples/dmn-listener-quarkus/pom.xml @@ -5,19 +5,19 @@ org.kie.kogito.examples kogito-quarkus-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT dmn-listener-quarkus Kogito Example :: DMN with listeners - Quarkus - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/dmn-listener-quarkus/src/main/java/org/kie/kogito/dmn/quarkus/example/listener/ExampleDMNRuntimeEventListener.java b/kogito-quarkus-examples/dmn-listener-quarkus/src/main/java/org/kie/kogito/dmn/quarkus/example/listener/ExampleDMNRuntimeEventListener.java index 5be5815cd1..f2524241d0 100644 --- a/kogito-quarkus-examples/dmn-listener-quarkus/src/main/java/org/kie/kogito/dmn/quarkus/example/listener/ExampleDMNRuntimeEventListener.java +++ b/kogito-quarkus-examples/dmn-listener-quarkus/src/main/java/org/kie/kogito/dmn/quarkus/example/listener/ExampleDMNRuntimeEventListener.java @@ -15,7 +15,7 @@ */ package org.kie.kogito.dmn.quarkus.example.listener; -import javax.enterprise.context.ApplicationScoped; +import jakarta.enterprise.context.ApplicationScoped; /** * This class demonstrates one of the two methods offered by Kogito to inject custom diff --git a/kogito-quarkus-examples/dmn-listener-quarkus/src/main/java/org/kie/kogito/dmn/quarkus/example/listener/ExampleDecisionEventListenerConfig.java b/kogito-quarkus-examples/dmn-listener-quarkus/src/main/java/org/kie/kogito/dmn/quarkus/example/listener/ExampleDecisionEventListenerConfig.java index 02e7e6b876..bfe7fee1ba 100644 --- a/kogito-quarkus-examples/dmn-listener-quarkus/src/main/java/org/kie/kogito/dmn/quarkus/example/listener/ExampleDecisionEventListenerConfig.java +++ b/kogito-quarkus-examples/dmn-listener-quarkus/src/main/java/org/kie/kogito/dmn/quarkus/example/listener/ExampleDecisionEventListenerConfig.java @@ -15,7 +15,7 @@ */ package org.kie.kogito.dmn.quarkus.example.listener; -import javax.enterprise.context.ApplicationScoped; +import jakarta.enterprise.context.ApplicationScoped; import org.kie.kogito.dmn.config.CachedDecisionEventListenerConfig; diff --git a/kogito-quarkus-examples/dmn-listener-quarkus/src/test/java/org/kie/kogito/dmn/quarkus/example/listener/NativeTrafficViolationIT.java b/kogito-quarkus-examples/dmn-listener-quarkus/src/test/java/org/kie/kogito/dmn/quarkus/example/listener/NativeTrafficViolationIT.java index a4223fe04b..04eaa0c31e 100644 --- a/kogito-quarkus-examples/dmn-listener-quarkus/src/test/java/org/kie/kogito/dmn/quarkus/example/listener/NativeTrafficViolationIT.java +++ b/kogito-quarkus-examples/dmn-listener-quarkus/src/test/java/org/kie/kogito/dmn/quarkus/example/listener/NativeTrafficViolationIT.java @@ -15,9 +15,9 @@ */ package org.kie.kogito.dmn.quarkus.example.listener; -import io.quarkus.test.junit.NativeImageTest; +import io.quarkus.test.junit.QuarkusIntegrationTest; -@NativeImageTest +@QuarkusIntegrationTest public class NativeTrafficViolationIT extends TrafficViolationTest { // Execute the same tests but in native mode. diff --git a/kogito-quarkus-examples/dmn-listener-quarkus/src/test/java/org/kie/kogito/dmn/quarkus/example/listener/TrafficViolationListenerTest.java b/kogito-quarkus-examples/dmn-listener-quarkus/src/test/java/org/kie/kogito/dmn/quarkus/example/listener/TrafficViolationListenerTest.java index 207d9e43e7..ee82faee90 100644 --- a/kogito-quarkus-examples/dmn-listener-quarkus/src/test/java/org/kie/kogito/dmn/quarkus/example/listener/TrafficViolationListenerTest.java +++ b/kogito-quarkus-examples/dmn-listener-quarkus/src/test/java/org/kie/kogito/dmn/quarkus/example/listener/TrafficViolationListenerTest.java @@ -19,7 +19,7 @@ import java.util.Map; import java.util.Optional; -import javax.inject.Inject; +import jakarta.inject.Inject; import org.junit.jupiter.api.Test; import org.kie.dmn.api.core.event.DMNRuntimeEventListener; diff --git a/kogito-quarkus-examples/dmn-listener-quarkus/src/test/java/org/kie/kogito/dmn/quarkus/example/mock/MockDMNRuntimeEventListener.java b/kogito-quarkus-examples/dmn-listener-quarkus/src/test/java/org/kie/kogito/dmn/quarkus/example/mock/MockDMNRuntimeEventListener.java index 427bad341c..fe300f8c06 100644 --- a/kogito-quarkus-examples/dmn-listener-quarkus/src/test/java/org/kie/kogito/dmn/quarkus/example/mock/MockDMNRuntimeEventListener.java +++ b/kogito-quarkus-examples/dmn-listener-quarkus/src/test/java/org/kie/kogito/dmn/quarkus/example/mock/MockDMNRuntimeEventListener.java @@ -18,7 +18,7 @@ import java.util.HashMap; import java.util.Map; -import javax.enterprise.context.ApplicationScoped; +import jakarta.enterprise.context.ApplicationScoped; import org.kie.dmn.api.core.event.AfterEvaluateAllEvent; import org.kie.dmn.api.core.event.BeforeEvaluateAllEvent; diff --git a/kogito-quarkus-examples/dmn-pmml-quarkus-example/pom.xml b/kogito-quarkus-examples/dmn-pmml-quarkus-example/pom.xml index 2b502a0451..5fa0715173 100644 --- a/kogito-quarkus-examples/dmn-pmml-quarkus-example/pom.xml +++ b/kogito-quarkus-examples/dmn-pmml-quarkus-example/pom.xml @@ -5,19 +5,19 @@ org.kie.kogito.examples kogito-quarkus-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT dmn-pmml-quarkus-example Kogito Example :: DMN :: PMML - QUARKUS - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/NativeDMNRegressionIT.java b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/NativeDMNRegressionIT.java index 1c752f6d62..2792343e6a 100644 --- a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/NativeDMNRegressionIT.java +++ b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/NativeDMNRegressionIT.java @@ -15,9 +15,9 @@ */ package org.kie.kogito.dmn.pmml.quarkus.example; -import io.quarkus.test.junit.NativeImageTest; +import io.quarkus.test.junit.QuarkusIntegrationTest; -@NativeImageTest +@QuarkusIntegrationTest public class NativeDMNRegressionIT extends DMNRegressionTest { // Execute the same tests but in native mode. diff --git a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/NativeDMNTreeIT.java b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/NativeDMNTreeIT.java index 174768ce4c..1509a3f88a 100644 --- a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/NativeDMNTreeIT.java +++ b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/NativeDMNTreeIT.java @@ -15,9 +15,9 @@ */ package org.kie.kogito.dmn.pmml.quarkus.example; -import io.quarkus.test.junit.NativeImageTest; +import io.quarkus.test.junit.QuarkusIntegrationTest; -@NativeImageTest +@QuarkusIntegrationTest public class NativeDMNTreeIT extends DMNTreeTest { // Execute the same tests but in native mode. diff --git a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/NativeDecisionTreeIT.java b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/NativeDecisionTreeIT.java index c227f3ff26..6e84ddf29e 100644 --- a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/NativeDecisionTreeIT.java +++ b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/NativeDecisionTreeIT.java @@ -15,9 +15,9 @@ */ package org.kie.kogito.dmn.pmml.quarkus.example; -import io.quarkus.test.junit.NativeImageTest; +import io.quarkus.test.junit.QuarkusIntegrationTest; -@NativeImageTest +@QuarkusIntegrationTest public class NativeDecisionTreeIT extends DecisionTreeTest { // Execute the same tests but in native mode. diff --git a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/NativeLinRegIT.java b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/NativeLinRegIT.java index 1718164ec6..7c979f9c96 100644 --- a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/NativeLinRegIT.java +++ b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/NativeLinRegIT.java @@ -15,9 +15,9 @@ */ package org.kie.kogito.dmn.pmml.quarkus.example; -import io.quarkus.test.junit.NativeImageTest; +import io.quarkus.test.junit.QuarkusIntegrationTest; -@NativeImageTest +@QuarkusIntegrationTest public class NativeLinRegIT extends LinRegTest { // Execute the same tests but in native mode. diff --git a/kogito-quarkus-examples/dmn-quarkus-example/pom.xml b/kogito-quarkus-examples/dmn-quarkus-example/pom.xml index 38ccc03702..013dd700e4 100644 --- a/kogito-quarkus-examples/dmn-quarkus-example/pom.xml +++ b/kogito-quarkus-examples/dmn-quarkus-example/pom.xml @@ -5,19 +5,19 @@ org.kie.kogito.examples kogito-quarkus-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT dmn-quarkus-example Kogito Example :: DMN - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/dmn-quarkus-example/src/test/java/org/kie/kogito/dmn/quarkus/example/NativeTrafficViolationIT.java b/kogito-quarkus-examples/dmn-quarkus-example/src/test/java/org/kie/kogito/dmn/quarkus/example/NativeTrafficViolationIT.java index cbd459afc1..6e8fc9234a 100644 --- a/kogito-quarkus-examples/dmn-quarkus-example/src/test/java/org/kie/kogito/dmn/quarkus/example/NativeTrafficViolationIT.java +++ b/kogito-quarkus-examples/dmn-quarkus-example/src/test/java/org/kie/kogito/dmn/quarkus/example/NativeTrafficViolationIT.java @@ -15,9 +15,9 @@ */ package org.kie.kogito.dmn.quarkus.example; -import io.quarkus.test.junit.NativeImageTest; +import io.quarkus.test.junit.QuarkusIntegrationTest; -@NativeImageTest +@QuarkusIntegrationTest public class NativeTrafficViolationIT extends TrafficViolationTest { // Execute the same tests but in native mode. diff --git a/kogito-quarkus-examples/dmn-tracing-quarkus/pom.xml b/kogito-quarkus-examples/dmn-tracing-quarkus/pom.xml index 07fc0c4cec..2b2eba5901 100644 --- a/kogito-quarkus-examples/dmn-tracing-quarkus/pom.xml +++ b/kogito-quarkus-examples/dmn-tracing-quarkus/pom.xml @@ -5,19 +5,19 @@ org.kie.kogito.examples kogito-quarkus-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT dmn-tracing-quarkus Kogito Example :: DMN Tracing - Quarkus - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/dmn-tracing-quarkus/src/test/java/org/kie/kogito/dmn/quarkus/tracing/NativeLoanEligibilityIT.java b/kogito-quarkus-examples/dmn-tracing-quarkus/src/test/java/org/kie/kogito/dmn/quarkus/tracing/NativeLoanEligibilityIT.java index 75cb111740..e20d0f8718 100644 --- a/kogito-quarkus-examples/dmn-tracing-quarkus/src/test/java/org/kie/kogito/dmn/quarkus/tracing/NativeLoanEligibilityIT.java +++ b/kogito-quarkus-examples/dmn-tracing-quarkus/src/test/java/org/kie/kogito/dmn/quarkus/tracing/NativeLoanEligibilityIT.java @@ -18,9 +18,9 @@ import org.kie.kogito.testcontainers.quarkus.KafkaQuarkusTestResource; import io.quarkus.test.common.QuarkusTestResource; -import io.quarkus.test.junit.NativeImageTest; +import io.quarkus.test.junit.QuarkusIntegrationTest; -@NativeImageTest +@QuarkusIntegrationTest @QuarkusTestResource(KafkaQuarkusTestResource.class) public class NativeLoanEligibilityIT extends LoanEligibilityIT { diff --git a/kogito-quarkus-examples/flexible-process-quarkus/pom.xml b/kogito-quarkus-examples/flexible-process-quarkus/pom.xml index f59b52e1f0..13b6bdc47f 100644 --- a/kogito-quarkus-examples/flexible-process-quarkus/pom.xml +++ b/kogito-quarkus-examples/flexible-process-quarkus/pom.xml @@ -5,19 +5,19 @@ org.kie.kogito.examples kogito-quarkus-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT flexible-process-quarkus Kogito Example :: Flexible Process - Quarkus - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/kie/kogito/flexible/example/service/CommentService.java b/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/kie/kogito/flexible/example/service/CommentService.java index 70061b61cb..449f2ad291 100644 --- a/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/kie/kogito/flexible/example/service/CommentService.java +++ b/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/kie/kogito/flexible/example/service/CommentService.java @@ -15,7 +15,7 @@ */ package org.kie.kogito.flexible.example.service; -import javax.enterprise.context.ApplicationScoped; +import jakarta.enterprise.context.ApplicationScoped; import org.kie.kogito.flexible.example.model.Comment; import org.kie.kogito.flexible.example.model.State; diff --git a/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/kie/kogito/flexible/example/service/StateService.java b/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/kie/kogito/flexible/example/service/StateService.java index 68d512c101..95f7cc2eae 100644 --- a/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/kie/kogito/flexible/example/service/StateService.java +++ b/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/kie/kogito/flexible/example/service/StateService.java @@ -15,7 +15,7 @@ */ package org.kie.kogito.flexible.example.service; -import javax.enterprise.context.ApplicationScoped; +import jakarta.enterprise.context.ApplicationScoped; import org.kie.kogito.flexible.example.model.Questionnaire; import org.kie.kogito.flexible.example.model.State; diff --git a/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/kie/kogito/flexible/example/service/TriageService.java b/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/kie/kogito/flexible/example/service/TriageService.java index 2f98e73717..7e08d7b26f 100644 --- a/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/kie/kogito/flexible/example/service/TriageService.java +++ b/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/kie/kogito/flexible/example/service/TriageService.java @@ -17,7 +17,7 @@ import java.util.Random; -import javax.enterprise.context.ApplicationScoped; +import jakarta.enterprise.context.ApplicationScoped; import org.kie.kogito.flexible.example.model.State; import org.kie.kogito.flexible.example.model.SupportCase; diff --git a/kogito-quarkus-examples/kogito-travel-agency/basic/pom.xml b/kogito-quarkus-examples/kogito-travel-agency/basic/pom.xml index ef3c38177f..8d60df8344 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/basic/pom.xml +++ b/kogito-quarkus-examples/kogito-travel-agency/basic/pom.xml @@ -5,22 +5,22 @@ org.kie.kogito.examples kogito-travel-agency-example - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT kogito-travel-agency-example-basic Kogito Example :: Travel Agency :: Basic UTF-8 UTF-8 - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT - 8.44.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 9.44.0-SNAPSHOT diff --git a/kogito-quarkus-examples/kogito-travel-agency/basic/src/main/java/org/acme/travels/service/FlightBookingService.java b/kogito-quarkus-examples/kogito-travel-agency/basic/src/main/java/org/acme/travels/service/FlightBookingService.java index 952adcee98..a696fe5242 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/basic/src/main/java/org/acme/travels/service/FlightBookingService.java +++ b/kogito-quarkus-examples/kogito-travel-agency/basic/src/main/java/org/acme/travels/service/FlightBookingService.java @@ -15,7 +15,7 @@ */ package org.acme.travels.service; -import javax.enterprise.context.ApplicationScoped; +import jakarta.enterprise.context.ApplicationScoped; import org.acme.travels.Flight; import org.acme.travels.Trip; diff --git a/kogito-quarkus-examples/kogito-travel-agency/basic/src/main/java/org/acme/travels/service/HotelBookingService.java b/kogito-quarkus-examples/kogito-travel-agency/basic/src/main/java/org/acme/travels/service/HotelBookingService.java index d03812216f..39119f13b9 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/basic/src/main/java/org/acme/travels/service/HotelBookingService.java +++ b/kogito-quarkus-examples/kogito-travel-agency/basic/src/main/java/org/acme/travels/service/HotelBookingService.java @@ -15,7 +15,7 @@ */ package org.acme.travels.service; -import javax.enterprise.context.ApplicationScoped; +import jakarta.enterprise.context.ApplicationScoped; import org.acme.travels.Address; import org.acme.travels.Hotel; diff --git a/kogito-quarkus-examples/kogito-travel-agency/basic/src/test/java/org/acme/travel/BookFlightTest.java b/kogito-quarkus-examples/kogito-travel-agency/basic/src/test/java/org/acme/travel/BookFlightTest.java index 5f5d08ebf2..8342d60cd8 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/basic/src/test/java/org/acme/travel/BookFlightTest.java +++ b/kogito-quarkus-examples/kogito-travel-agency/basic/src/test/java/org/acme/travel/BookFlightTest.java @@ -19,8 +19,8 @@ import java.util.HashMap; import java.util.Map; -import javax.inject.Inject; -import javax.inject.Named; +import jakarta.inject.Inject; +import jakarta.inject.Named; import org.acme.travels.Address; import org.acme.travels.Flight; diff --git a/kogito-quarkus-examples/kogito-travel-agency/basic/src/test/java/org/acme/travel/BookHotelTest.java b/kogito-quarkus-examples/kogito-travel-agency/basic/src/test/java/org/acme/travel/BookHotelTest.java index 6161bde5dd..350aa3d47c 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/basic/src/test/java/org/acme/travel/BookHotelTest.java +++ b/kogito-quarkus-examples/kogito-travel-agency/basic/src/test/java/org/acme/travel/BookHotelTest.java @@ -19,8 +19,8 @@ import java.util.HashMap; import java.util.Map; -import javax.inject.Inject; -import javax.inject.Named; +import jakarta.inject.Inject; +import jakarta.inject.Named; import org.acme.travels.Address; import org.acme.travels.Hotel; diff --git a/kogito-quarkus-examples/kogito-travel-agency/basic/src/test/java/org/acme/travel/TravelTest.java b/kogito-quarkus-examples/kogito-travel-agency/basic/src/test/java/org/acme/travel/TravelTest.java index a79fa3e355..38262abf07 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/basic/src/test/java/org/acme/travel/TravelTest.java +++ b/kogito-quarkus-examples/kogito-travel-agency/basic/src/test/java/org/acme/travel/TravelTest.java @@ -21,8 +21,8 @@ import java.util.List; import java.util.Map; -import javax.inject.Inject; -import javax.inject.Named; +import jakarta.inject.Inject; +import jakarta.inject.Named; import org.acme.travels.Address; import org.acme.travels.Flight; diff --git a/kogito-quarkus-examples/kogito-travel-agency/basic/src/test/java/org/acme/travel/VisaRulesTest.java b/kogito-quarkus-examples/kogito-travel-agency/basic/src/test/java/org/acme/travel/VisaRulesTest.java index a45f594c85..cbff499508 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/basic/src/test/java/org/acme/travel/VisaRulesTest.java +++ b/kogito-quarkus-examples/kogito-travel-agency/basic/src/test/java/org/acme/travel/VisaRulesTest.java @@ -17,7 +17,7 @@ import java.util.Date; -import javax.inject.Inject; +import jakarta.inject.Inject; import org.acme.travels.Address; import org.acme.travels.Traveller; diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/pom.xml b/kogito-quarkus-examples/kogito-travel-agency/extended/pom.xml index c95c812518..bfff114a1e 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/extended/pom.xml +++ b/kogito-quarkus-examples/kogito-travel-agency/extended/pom.xml @@ -5,7 +5,7 @@ org.kie.kogito.examples kogito-travel-agency-example - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT kogito-travel-agency-example-extended pom @@ -15,10 +15,10 @@ visas - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/pom.xml b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/pom.xml index 7495c8277f..fe1059e071 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/pom.xml +++ b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/pom.xml @@ -5,20 +5,20 @@ org.kie.kogito.examples kogito-travel-agency-example-extended - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT travels Kogito Example :: Travel Agency :: Travels - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT - 8.44.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 9.44.0-SNAPSHOT diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/java/org/acme/travels/Traveller.java b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/java/org/acme/travels/Traveller.java index 2f2f9c0041..eee3f54bb0 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/java/org/acme/travels/Traveller.java +++ b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/java/org/acme/travels/Traveller.java @@ -15,10 +15,10 @@ */ package org.acme.travels; -import javax.validation.constraints.Email; -import javax.validation.constraints.NotBlank; -import javax.validation.constraints.NotNull; -import javax.validation.constraints.Size; +import jakarta.validation.constraints.Email; +import jakarta.validation.constraints.NotBlank; +import jakarta.validation.constraints.NotNull; +import jakarta.validation.constraints.Size; public class Traveller { diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/java/org/acme/travels/service/FlightBookingResource.java b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/java/org/acme/travels/service/FlightBookingResource.java index 6963ac09db..84927223da 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/java/org/acme/travels/service/FlightBookingResource.java +++ b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/java/org/acme/travels/service/FlightBookingResource.java @@ -15,12 +15,12 @@ */ package org.acme.travels.service; -import javax.inject.Inject; -import javax.ws.rs.GET; -import javax.ws.rs.PUT; -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.PUT; +import jakarta.ws.rs.Path; +import jakarta.ws.rs.Produces; +import jakarta.ws.rs.core.MediaType; @Path("/flightservice") public class FlightBookingResource { diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/java/org/acme/travels/service/FlightBookingService.java b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/java/org/acme/travels/service/FlightBookingService.java index fd8dca72b2..f8f2dbdb71 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/java/org/acme/travels/service/FlightBookingService.java +++ b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/java/org/acme/travels/service/FlightBookingService.java @@ -15,7 +15,7 @@ */ package org.acme.travels.service; -import javax.enterprise.context.ApplicationScoped; +import jakarta.enterprise.context.ApplicationScoped; import org.acme.travels.Flight; import org.acme.travels.Trip; diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/java/org/acme/travels/service/HotelBookingService.java b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/java/org/acme/travels/service/HotelBookingService.java index d03812216f..39119f13b9 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/java/org/acme/travels/service/HotelBookingService.java +++ b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/java/org/acme/travels/service/HotelBookingService.java @@ -15,7 +15,7 @@ */ package org.acme.travels.service; -import javax.enterprise.context.ApplicationScoped; +import jakarta.enterprise.context.ApplicationScoped; import org.acme.travels.Address; import org.acme.travels.Hotel; diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/java/org/kie/kogito/app/VertxRouter.java b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/java/org/kie/kogito/app/VertxRouter.java index 5a5f7ed9b4..5414e1756c 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/java/org/kie/kogito/app/VertxRouter.java +++ b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/java/org/kie/kogito/app/VertxRouter.java @@ -15,9 +15,9 @@ */ package org.kie.kogito.app; -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 io.quarkus.qute.Location; import io.quarkus.qute.Template; diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/test/java/org/acme/travel/BookFlightIT.java b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/test/java/org/acme/travel/BookFlightIT.java index 70283a30aa..cda81b09d5 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/test/java/org/acme/travel/BookFlightIT.java +++ b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/test/java/org/acme/travel/BookFlightIT.java @@ -19,8 +19,8 @@ import java.util.HashMap; import java.util.Map; -import javax.inject.Inject; -import javax.inject.Named; +import jakarta.inject.Inject; +import jakarta.inject.Named; import org.acme.travels.Address; import org.acme.travels.Flight; diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/test/java/org/acme/travel/BookHotelIT.java b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/test/java/org/acme/travel/BookHotelIT.java index 506a681771..909d1ebefb 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/test/java/org/acme/travel/BookHotelIT.java +++ b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/test/java/org/acme/travel/BookHotelIT.java @@ -19,8 +19,8 @@ import java.util.HashMap; import java.util.Map; -import javax.inject.Inject; -import javax.inject.Named; +import jakarta.inject.Inject; +import jakarta.inject.Named; import org.acme.travels.Address; import org.acme.travels.Hotel; diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/test/java/org/acme/travel/TravelIT.java b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/test/java/org/acme/travel/TravelIT.java index e9d522dee0..3420a34d22 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/test/java/org/acme/travel/TravelIT.java +++ b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/test/java/org/acme/travel/TravelIT.java @@ -21,8 +21,8 @@ import java.util.List; import java.util.Map; -import javax.inject.Inject; -import javax.inject.Named; +import jakarta.inject.Inject; +import jakarta.inject.Named; import org.acme.travels.Address; import org.acme.travels.Flight; diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/test/java/org/acme/travel/VisaRulesIT.java b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/test/java/org/acme/travel/VisaRulesIT.java index 608ca9daa6..dcfe44dfa9 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/test/java/org/acme/travel/VisaRulesIT.java +++ b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/test/java/org/acme/travel/VisaRulesIT.java @@ -17,7 +17,7 @@ import java.util.Date; -import javax.inject.Inject; +import jakarta.inject.Inject; import org.acme.travels.Address; import org.acme.travels.Traveller; diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/visas/pom.xml b/kogito-quarkus-examples/kogito-travel-agency/extended/visas/pom.xml index 8e8342f2a6..fdc86c1b2a 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/extended/visas/pom.xml +++ b/kogito-quarkus-examples/kogito-travel-agency/extended/visas/pom.xml @@ -5,19 +5,19 @@ org.kie.kogito.examples kogito-travel-agency-example-extended - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT visas Kogito Example :: Travel Agency :: Visas - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/java/org/kie/kogito/app/ProcessEventListenerConfig.java b/kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/java/org/kie/kogito/app/ProcessEventListenerConfig.java index e49595a347..51a2282a38 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/java/org/kie/kogito/app/ProcessEventListenerConfig.java +++ b/kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/java/org/kie/kogito/app/ProcessEventListenerConfig.java @@ -14,11 +14,10 @@ * limitations under the License. */ package org.kie.kogito.app; - -import javax.annotation.PostConstruct; -import javax.annotation.PreDestroy; -import javax.enterprise.context.ApplicationScoped; -import javax.inject.Inject; +import jakarta.annotation.PostConstruct; +import jakarta.annotation.PreDestroy; +import jakarta.enterprise.context.ApplicationScoped; +import jakarta.inject.Inject; import org.kie.kogito.KogitoGAV; import org.kie.kogito.config.ConfigBean; diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/java/org/kie/kogito/app/VertxRouter.java b/kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/java/org/kie/kogito/app/VertxRouter.java index 20705faa7f..e8b278eacd 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/java/org/kie/kogito/app/VertxRouter.java +++ b/kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/java/org/kie/kogito/app/VertxRouter.java @@ -15,9 +15,9 @@ */ package org.kie.kogito.app; -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 io.quarkus.qute.Location; import io.quarkus.qute.Template; diff --git a/kogito-quarkus-examples/kogito-travel-agency/pom.xml b/kogito-quarkus-examples/kogito-travel-agency/pom.xml index 57f6d1b31d..38acc50186 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/pom.xml +++ b/kogito-quarkus-examples/kogito-travel-agency/pom.xml @@ -5,7 +5,7 @@ org.kie.kogito.examples kogito-quarkus-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT kogito-travel-agency-example pom @@ -15,10 +15,10 @@ extended - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final diff --git a/kogito-quarkus-examples/onboarding-example/hr/pom.xml b/kogito-quarkus-examples/onboarding-example/hr/pom.xml index e3d2c3b14a..6e34575163 100644 --- a/kogito-quarkus-examples/onboarding-example/hr/pom.xml +++ b/kogito-quarkus-examples/onboarding-example/hr/pom.xml @@ -5,7 +5,7 @@ org.kie.kogito.examples onboarding-example - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT hr Kogito Example :: Onboarding Example :: HR with Drools diff --git a/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/IdResource.java b/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/IdResource.java index b34a44c828..1ee05ccf7e 100644 --- a/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/IdResource.java +++ b/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/IdResource.java @@ -15,11 +15,11 @@ */ package org.kie.kogito.examples.hr; -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 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; @Path("/id") public class IdResource { diff --git a/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/pom.xml b/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/pom.xml index 18712bc1c0..8b5023b9a0 100644 --- a/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/pom.xml +++ b/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/pom.xml @@ -5,7 +5,7 @@ org.kie.kogito.examples onboarding-example - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT onboarding-quarkus Kogito Example :: Onboarding Example :: Onboarding with Business Process Quarkus diff --git a/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/kie/kogito/examples/BaseWorkItemHandlerConfig.java b/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/kie/kogito/examples/BaseWorkItemHandlerConfig.java index cf8e63d123..544a249a67 100644 --- a/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/kie/kogito/examples/BaseWorkItemHandlerConfig.java +++ b/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/kie/kogito/examples/BaseWorkItemHandlerConfig.java @@ -15,6 +15,7 @@ */ package org.kie.kogito.examples; +import jakarta.annotation.PostConstruct; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; @@ -22,8 +23,7 @@ import java.util.List; import java.util.Map; -import javax.annotation.PostConstruct; -import javax.inject.Inject; +import jakarta.inject.Inject; import org.eclipse.microprofile.config.inject.ConfigProperty; import org.kie.kogito.addons.k8s.Endpoint; diff --git a/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/kie/kogito/examples/WorkItemHandlerConfig.java b/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/kie/kogito/examples/WorkItemHandlerConfig.java index a56957ec57..f183cf98a8 100644 --- a/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/kie/kogito/examples/WorkItemHandlerConfig.java +++ b/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/kie/kogito/examples/WorkItemHandlerConfig.java @@ -15,7 +15,7 @@ */ package org.kie.kogito.examples; -import javax.enterprise.context.ApplicationScoped; +import jakarta.enterprise.context.ApplicationScoped; @ApplicationScoped public class WorkItemHandlerConfig extends BaseWorkItemHandlerConfig { diff --git a/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/kie/kogito/examples/onboarding/DecisionTaskWorkItemHandler.java b/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/kie/kogito/examples/onboarding/DecisionTaskWorkItemHandler.java index 5caf31508f..424aaaab72 100644 --- a/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/kie/kogito/examples/onboarding/DecisionTaskWorkItemHandler.java +++ b/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/kie/kogito/examples/onboarding/DecisionTaskWorkItemHandler.java @@ -17,7 +17,7 @@ import java.util.Map; -import javax.ws.rs.HttpMethod; +import jakarta.ws.rs.HttpMethod; import org.kie.kogito.addons.quarkus.k8s.workitems.QuarkusDiscoveredEndpointCaller; import org.kie.kogito.internal.process.runtime.KogitoWorkItem; diff --git a/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/test/java/org/kie/kogito/examples/onboarding/OnboardingEndpointIT.java b/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/test/java/org/kie/kogito/examples/onboarding/OnboardingEndpointIT.java index 31e5150554..dd582af134 100644 --- a/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/test/java/org/kie/kogito/examples/onboarding/OnboardingEndpointIT.java +++ b/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/test/java/org/kie/kogito/examples/onboarding/OnboardingEndpointIT.java @@ -23,7 +23,7 @@ import java.util.Map; import java.util.function.Function; -import javax.inject.Inject; +import jakarta.inject.Inject; import org.junit.jupiter.api.Test; import org.kie.kogito.examples.test.RecordedOutputWorkItemHandler; diff --git a/kogito-quarkus-examples/onboarding-example/payroll/pom.xml b/kogito-quarkus-examples/onboarding-example/payroll/pom.xml index dc3a6cfa0e..d457c55546 100644 --- a/kogito-quarkus-examples/onboarding-example/payroll/pom.xml +++ b/kogito-quarkus-examples/onboarding-example/payroll/pom.xml @@ -5,16 +5,16 @@ org.kie.kogito.examples onboarding-example - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT payroll Kogito Example :: Onboarding Example :: Payroll with DMN Payroll related decisions for onboarding - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final diff --git a/kogito-quarkus-examples/onboarding-example/pom.xml b/kogito-quarkus-examples/onboarding-example/pom.xml index 0c349c8b1e..340279635f 100644 --- a/kogito-quarkus-examples/onboarding-example/pom.xml +++ b/kogito-quarkus-examples/onboarding-example/pom.xml @@ -5,7 +5,7 @@ org.kie.kogito.examples kogito-quarkus-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT onboarding-example pom @@ -17,14 +17,14 @@ onboarding-quarkus - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/pmml-event-driven-quarkus/pom.xml b/kogito-quarkus-examples/pmml-event-driven-quarkus/pom.xml index 04ad43e099..bb11cb2cfa 100644 --- a/kogito-quarkus-examples/pmml-event-driven-quarkus/pom.xml +++ b/kogito-quarkus-examples/pmml-event-driven-quarkus/pom.xml @@ -5,19 +5,19 @@ org.kie.kogito.examples kogito-quarkus-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT pmml-event-driven-quarkus Kogito Example :: PMML Event-Driven - Quarkus - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/pmml-incubation-api-quarkus/pom.xml b/kogito-quarkus-examples/pmml-incubation-api-quarkus/pom.xml index 4a930255b5..beec2645e3 100644 --- a/kogito-quarkus-examples/pmml-incubation-api-quarkus/pom.xml +++ b/kogito-quarkus-examples/pmml-incubation-api-quarkus/pom.xml @@ -5,19 +5,19 @@ org.kie.kogito.examples kogito-quarkus-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT pmml-incubation-api-quarkus Kogito Example :: PMML Incubation API With Quarkus - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/pmml-incubation-api-quarkus/src/main/java/org/acme/CustomRestPrediction.java b/kogito-quarkus-examples/pmml-incubation-api-quarkus/src/main/java/org/acme/CustomRestPrediction.java index ff7152a4f4..8da1acfc7c 100644 --- a/kogito-quarkus-examples/pmml-incubation-api-quarkus/src/main/java/org/acme/CustomRestPrediction.java +++ b/kogito-quarkus-examples/pmml-incubation-api-quarkus/src/main/java/org/acme/CustomRestPrediction.java @@ -17,12 +17,12 @@ import java.util.Map; -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 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 org.kie.kogito.incubation.application.AppRoot; import org.kie.kogito.incubation.common.DataContext; diff --git a/kogito-quarkus-examples/pmml-quarkus-example/pom.xml b/kogito-quarkus-examples/pmml-quarkus-example/pom.xml index 40fb97a021..9c10aa564f 100644 --- a/kogito-quarkus-examples/pmml-quarkus-example/pom.xml +++ b/kogito-quarkus-examples/pmml-quarkus-example/pom.xml @@ -5,19 +5,19 @@ org.kie.kogito.examples kogito-quarkus-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT pmml-quarkus-example Kogito Example :: PMML - Quarkus - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/NativeLinRegTestIT.java b/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/NativeLinRegTestIT.java index d173b1e4d8..422f91590a 100644 --- a/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/NativeLinRegTestIT.java +++ b/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/NativeLinRegTestIT.java @@ -15,9 +15,9 @@ */ package org.kie.kogito.pmml.quarkus.example; -import io.quarkus.test.junit.NativeImageTest; +import io.quarkus.test.junit.QuarkusIntegrationTest; -@NativeImageTest +@QuarkusIntegrationTest public class NativeLinRegTestIT extends LinRegTest { // Execute the same tests but in native mode. diff --git a/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/NativeMiningModelTestIT.java b/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/NativeMiningModelTestIT.java index f29e5a049f..e4e6e02a00 100644 --- a/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/NativeMiningModelTestIT.java +++ b/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/NativeMiningModelTestIT.java @@ -15,9 +15,9 @@ */ package org.kie.kogito.pmml.quarkus.example; -import io.quarkus.test.junit.NativeImageTest; +import io.quarkus.test.junit.QuarkusIntegrationTest; -@NativeImageTest +@QuarkusIntegrationTest public class NativeMiningModelTestIT extends MiningModelTest { // Execute the same tests but in native mode. diff --git a/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/NativeSampleMineTestIT.java b/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/NativeSampleMineTestIT.java index 8b4160f802..a75ea13c59 100644 --- a/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/NativeSampleMineTestIT.java +++ b/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/NativeSampleMineTestIT.java @@ -15,9 +15,9 @@ */ package org.kie.kogito.pmml.quarkus.example; -import io.quarkus.test.junit.NativeImageTest; +import io.quarkus.test.junit.QuarkusIntegrationTest; -@NativeImageTest +@QuarkusIntegrationTest public class NativeSampleMineTestIT extends SampleMineTest { // Execute the same tests but in native mode. diff --git a/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/NativeSimpleScorecardTestIT.java b/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/NativeSimpleScorecardTestIT.java index e2ebcb606f..57ca4ae5aa 100644 --- a/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/NativeSimpleScorecardTestIT.java +++ b/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/NativeSimpleScorecardTestIT.java @@ -15,9 +15,9 @@ */ package org.kie.kogito.pmml.quarkus.example; -import io.quarkus.test.junit.NativeImageTest; +import io.quarkus.test.junit.QuarkusIntegrationTest; -@NativeImageTest +@QuarkusIntegrationTest public class NativeSimpleScorecardTestIT extends SimpleScorecardTest { // Execute the same tests but in native mode. diff --git a/kogito-quarkus-examples/pom.xml b/kogito-quarkus-examples/pom.xml index 3fe564b87e..c2f9520a09 100644 --- a/kogito-quarkus-examples/pom.xml +++ b/kogito-quarkus-examples/pom.xml @@ -7,7 +7,7 @@ org.kie.kogito.examples kogito-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT kogito-quarkus-examples diff --git a/kogito-quarkus-examples/process-business-rules-quarkus/pom.xml b/kogito-quarkus-examples/process-business-rules-quarkus/pom.xml index d20e8e4f84..937f7b5b5e 100644 --- a/kogito-quarkus-examples/process-business-rules-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-business-rules-quarkus/pom.xml @@ -5,20 +5,20 @@ org.kie.kogito.examples kogito-quarkus-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT process-business-rules-quarkus Kogito Example :: Process Business Rules Quarkus Kogito business rules invocation - Quarkus - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/process-business-rules-quarkus/src/test/java/org/acme/travels/PersonProcessTest.java b/kogito-quarkus-examples/process-business-rules-quarkus/src/test/java/org/acme/travels/PersonProcessTest.java index 9ff19f5140..727a32d48e 100644 --- a/kogito-quarkus-examples/process-business-rules-quarkus/src/test/java/org/acme/travels/PersonProcessTest.java +++ b/kogito-quarkus-examples/process-business-rules-quarkus/src/test/java/org/acme/travels/PersonProcessTest.java @@ -19,8 +19,8 @@ import java.util.List; import java.util.Map; -import javax.inject.Inject; -import javax.inject.Named; +import jakarta.inject.Inject; +import jakarta.inject.Named; import org.junit.jupiter.api.Test; import org.kie.kogito.Model; diff --git a/kogito-quarkus-examples/process-decisions-quarkus/pom.xml b/kogito-quarkus-examples/process-decisions-quarkus/pom.xml index d13f21a705..aca39d20ac 100644 --- a/kogito-quarkus-examples/process-decisions-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-decisions-quarkus/pom.xml @@ -5,20 +5,20 @@ org.kie.kogito.examples kogito-quarkus-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT process-decisions-quarkus Kogito Example :: Process :: Decisions :: Quarkus Process with DMN and DRL integration - Quarkus - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/process-decisions-quarkus/src/main/java/org/kie/kogito/traffic/DriverService.java b/kogito-quarkus-examples/process-decisions-quarkus/src/main/java/org/kie/kogito/traffic/DriverService.java index 595aa50e4b..78510ddd28 100644 --- a/kogito-quarkus-examples/process-decisions-quarkus/src/main/java/org/kie/kogito/traffic/DriverService.java +++ b/kogito-quarkus-examples/process-decisions-quarkus/src/main/java/org/kie/kogito/traffic/DriverService.java @@ -19,7 +19,7 @@ import java.time.ZonedDateTime; import java.util.Date; -import javax.enterprise.context.ApplicationScoped; +import jakarta.enterprise.context.ApplicationScoped; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/kogito-quarkus-examples/process-decisions-quarkus/src/test/java/org/kie/kogito/traffic/NativeTrafficProcessIT.java b/kogito-quarkus-examples/process-decisions-quarkus/src/test/java/org/kie/kogito/traffic/NativeTrafficProcessIT.java index 1697330392..1a49b80db2 100644 --- a/kogito-quarkus-examples/process-decisions-quarkus/src/test/java/org/kie/kogito/traffic/NativeTrafficProcessIT.java +++ b/kogito-quarkus-examples/process-decisions-quarkus/src/test/java/org/kie/kogito/traffic/NativeTrafficProcessIT.java @@ -15,8 +15,8 @@ */ package org.kie.kogito.traffic; -import io.quarkus.test.junit.NativeImageTest; +import io.quarkus.test.junit.QuarkusIntegrationTest; -@NativeImageTest +@QuarkusIntegrationTest public class NativeTrafficProcessIT extends TrafficProcessIT { } diff --git a/kogito-quarkus-examples/process-decisions-rest-quarkus/pom.xml b/kogito-quarkus-examples/process-decisions-rest-quarkus/pom.xml index 852e7997b7..e6f76658fa 100644 --- a/kogito-quarkus-examples/process-decisions-rest-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-decisions-rest-quarkus/pom.xml @@ -5,21 +5,21 @@ org.kie.kogito.examples kogito-quarkus-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT process-decisions-rest-quarkus Kogito Example :: Process :: Decisions :: REST Quarkus Process with DMN and DRL integration through REST - Quarkus 8080 - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/DriverService.java b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/DriverService.java index 595aa50e4b..78510ddd28 100644 --- a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/DriverService.java +++ b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/DriverService.java @@ -19,7 +19,7 @@ import java.time.ZonedDateTime; import java.util.Date; -import javax.enterprise.context.ApplicationScoped; +import jakarta.enterprise.context.ApplicationScoped; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/LicenseValidationRestClient.java b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/LicenseValidationRestClient.java index d624fcbe21..e70f818977 100644 --- a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/LicenseValidationRestClient.java +++ b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/LicenseValidationRestClient.java @@ -17,11 +17,11 @@ 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 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 org.eclipse.microprofile.rest.client.inject.RegisterRestClient; diff --git a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/LicenseValidationRestService.java b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/LicenseValidationRestService.java index f8dc393091..ff6c99787b 100644 --- a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/LicenseValidationRestService.java +++ b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/LicenseValidationRestService.java @@ -17,8 +17,8 @@ import java.util.Collections; -import javax.enterprise.context.ApplicationScoped; -import javax.inject.Inject; +import jakarta.enterprise.context.ApplicationScoped; +import jakarta.inject.Inject; import org.eclipse.microprofile.rest.client.inject.RestClient; diff --git a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/TrafficViolationRestClient.java b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/TrafficViolationRestClient.java index 7c6945cbf2..8cc4bff875 100644 --- a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/TrafficViolationRestClient.java +++ b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/TrafficViolationRestClient.java @@ -17,11 +17,11 @@ 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 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 org.eclipse.microprofile.rest.client.inject.RegisterRestClient; diff --git a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/TrafficViolationRestService.java b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/TrafficViolationRestService.java index 881e999698..b22e2e212b 100644 --- a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/TrafficViolationRestService.java +++ b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/TrafficViolationRestService.java @@ -18,8 +18,8 @@ import java.util.HashMap; import java.util.Map; -import javax.enterprise.context.ApplicationScoped; -import javax.inject.Inject; +import jakarta.enterprise.context.ApplicationScoped; +import jakarta.inject.Inject; import org.eclipse.microprofile.rest.client.inject.RestClient; diff --git a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/test/java/org/kie/kogito/traffic/NativeTrafficProcessIT.java b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/test/java/org/kie/kogito/traffic/NativeTrafficProcessIT.java index 1697330392..1a49b80db2 100644 --- a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/test/java/org/kie/kogito/traffic/NativeTrafficProcessIT.java +++ b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/test/java/org/kie/kogito/traffic/NativeTrafficProcessIT.java @@ -15,8 +15,8 @@ */ package org.kie.kogito.traffic; -import io.quarkus.test.junit.NativeImageTest; +import io.quarkus.test.junit.QuarkusIntegrationTest; -@NativeImageTest +@QuarkusIntegrationTest public class NativeTrafficProcessIT extends TrafficProcessIT { } diff --git a/kogito-quarkus-examples/process-decisions-rules-quarkus/pom.xml b/kogito-quarkus-examples/process-decisions-rules-quarkus/pom.xml index d80e3fe235..632d2dbddc 100644 --- a/kogito-quarkus-examples/process-decisions-rules-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-decisions-rules-quarkus/pom.xml @@ -5,20 +5,20 @@ org.kie.kogito.examples kogito-quarkus-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT process-decisions-rules-quarkus Kogito Example :: Process :: Decisions :: Rules :: Quarkus Process with DRL, DMN and DRL integration - Quarkus - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/kie/kogito/traffic/DriverService.java b/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/kie/kogito/traffic/DriverService.java index 38ebb18de8..471e273520 100644 --- a/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/kie/kogito/traffic/DriverService.java +++ b/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/kie/kogito/traffic/DriverService.java @@ -19,7 +19,7 @@ import java.time.ZonedDateTime; import java.util.Date; -import javax.enterprise.context.ApplicationScoped; +import jakarta.enterprise.context.ApplicationScoped; import org.kie.kogito.traffic.licensevalidation.Driver; import org.slf4j.Logger; diff --git a/kogito-quarkus-examples/process-decisions-rules-quarkus/src/test/java/org/kie/kogito/traffic/NativeTrafficProcessIT.java b/kogito-quarkus-examples/process-decisions-rules-quarkus/src/test/java/org/kie/kogito/traffic/NativeTrafficProcessIT.java index 1697330392..1a49b80db2 100644 --- a/kogito-quarkus-examples/process-decisions-rules-quarkus/src/test/java/org/kie/kogito/traffic/NativeTrafficProcessIT.java +++ b/kogito-quarkus-examples/process-decisions-rules-quarkus/src/test/java/org/kie/kogito/traffic/NativeTrafficProcessIT.java @@ -15,8 +15,8 @@ */ package org.kie.kogito.traffic; -import io.quarkus.test.junit.NativeImageTest; +import io.quarkus.test.junit.QuarkusIntegrationTest; -@NativeImageTest +@QuarkusIntegrationTest public class NativeTrafficProcessIT extends TrafficProcessIT { } diff --git a/kogito-quarkus-examples/process-error-handling/pom.xml b/kogito-quarkus-examples/process-error-handling/pom.xml index a8ea2e0d9c..2003075f46 100644 --- a/kogito-quarkus-examples/process-error-handling/pom.xml +++ b/kogito-quarkus-examples/process-error-handling/pom.xml @@ -4,20 +4,20 @@ org.kie.kogito.examples kogito-quarkus-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT process-error-handling Kogito Example :: Process Scripts With Quarkus Kogito scripts invocation - Quarkus - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/process-error-handling/src/main/java/org/acme/wih/CustomWorkItemHandlerConfig.java b/kogito-quarkus-examples/process-error-handling/src/main/java/org/acme/wih/CustomWorkItemHandlerConfig.java index 99b78b853d..1bbb71cf7e 100644 --- a/kogito-quarkus-examples/process-error-handling/src/main/java/org/acme/wih/CustomWorkItemHandlerConfig.java +++ b/kogito-quarkus-examples/process-error-handling/src/main/java/org/acme/wih/CustomWorkItemHandlerConfig.java @@ -15,7 +15,7 @@ */ package org.acme.wih; -import javax.enterprise.context.ApplicationScoped; +import jakarta.enterprise.context.ApplicationScoped; import org.kie.kogito.process.impl.DefaultWorkItemHandlerConfig; diff --git a/kogito-quarkus-examples/process-error-handling/src/test/java/org/acme/travels/quarkus/HelloErrorProcessTest.java b/kogito-quarkus-examples/process-error-handling/src/test/java/org/acme/travels/quarkus/HelloErrorProcessTest.java index 1764afdf57..1861f1fe55 100644 --- a/kogito-quarkus-examples/process-error-handling/src/test/java/org/acme/travels/quarkus/HelloErrorProcessTest.java +++ b/kogito-quarkus-examples/process-error-handling/src/test/java/org/acme/travels/quarkus/HelloErrorProcessTest.java @@ -18,8 +18,8 @@ import java.util.HashMap; import java.util.Map; -import javax.inject.Inject; -import javax.inject.Named; +import jakarta.inject.Inject; +import jakarta.inject.Named; import org.junit.jupiter.api.Test; import org.kie.kogito.Model; diff --git a/kogito-quarkus-examples/process-incubation-api-quarkus/pom.xml b/kogito-quarkus-examples/process-incubation-api-quarkus/pom.xml index bddd25ce0d..e7785c19d8 100644 --- a/kogito-quarkus-examples/process-incubation-api-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-incubation-api-quarkus/pom.xml @@ -5,19 +5,19 @@ org.kie.kogito.examples kogito-quarkus-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT process-incubation-api-quarkus Kogito Example :: Process Incubation API With Quarkus - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/process-incubation-api-quarkus/src/main/java/org/acme/CustomRestProcess.java b/kogito-quarkus-examples/process-incubation-api-quarkus/src/main/java/org/acme/CustomRestProcess.java index 2d6846e20a..9b83e574a6 100644 --- a/kogito-quarkus-examples/process-incubation-api-quarkus/src/main/java/org/acme/CustomRestProcess.java +++ b/kogito-quarkus-examples/process-incubation-api-quarkus/src/main/java/org/acme/CustomRestProcess.java @@ -17,12 +17,12 @@ import java.util.Map; -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 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 org.kie.kogito.incubation.application.AppRoot; import org.kie.kogito.incubation.common.DataContext; diff --git a/kogito-quarkus-examples/process-infinispan-persistence-quarkus/pom.xml b/kogito-quarkus-examples/process-infinispan-persistence-quarkus/pom.xml index fdecf09f82..60fe4d329e 100644 --- a/kogito-quarkus-examples/process-infinispan-persistence-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-infinispan-persistence-quarkus/pom.xml @@ -5,20 +5,20 @@ org.kie.kogito.examples kogito-quarkus-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT process-infinispan-persistence-quarkus Kogito Example :: Process Infinispan Persistence Quarkus Process with Infinispan persistence - Quarkus - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/process-infinispan-persistence-quarkus/src/test/java/org/acme/deals/NativeDealsRestIT.java b/kogito-quarkus-examples/process-infinispan-persistence-quarkus/src/test/java/org/acme/deals/NativeDealsRestIT.java index 81b8e1b433..09dfeba1b2 100644 --- a/kogito-quarkus-examples/process-infinispan-persistence-quarkus/src/test/java/org/acme/deals/NativeDealsRestIT.java +++ b/kogito-quarkus-examples/process-infinispan-persistence-quarkus/src/test/java/org/acme/deals/NativeDealsRestIT.java @@ -15,9 +15,9 @@ */ package org.acme.deals; -import io.quarkus.test.junit.NativeImageTest; +import io.quarkus.test.junit.QuarkusIntegrationTest; -@NativeImageTest +@QuarkusIntegrationTest public class NativeDealsRestIT extends DealsRestIT { } diff --git a/kogito-quarkus-examples/process-kafka-avro-multi-quarkus/pom.xml b/kogito-quarkus-examples/process-kafka-avro-multi-quarkus/pom.xml index 2473da2ba2..6b6acebafe 100644 --- a/kogito-quarkus-examples/process-kafka-avro-multi-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-kafka-avro-multi-quarkus/pom.xml @@ -5,20 +5,20 @@ org.kie.kogito.examples kogito-quarkus-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT process-kafka-avro-multi-quarkus Kogito Example :: Process with Kafka and Quarkus, multiple channels, avro serialization Kogito with Kafka - Quarkus, using one channel per message name - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/process-kafka-avro-multi-quarkus/src/main/java/org/acme/travel/AvroMarshallerProducer.java b/kogito-quarkus-examples/process-kafka-avro-multi-quarkus/src/main/java/org/acme/travel/AvroMarshallerProducer.java index d10c672086..1a96476f57 100644 --- a/kogito-quarkus-examples/process-kafka-avro-multi-quarkus/src/main/java/org/acme/travel/AvroMarshallerProducer.java +++ b/kogito-quarkus-examples/process-kafka-avro-multi-quarkus/src/main/java/org/acme/travel/AvroMarshallerProducer.java @@ -15,11 +15,11 @@ */ package org.acme.travel; +import jakarta.annotation.PostConstruct; import java.io.IOException; -import javax.annotation.PostConstruct; -import javax.enterprise.context.ApplicationScoped; -import javax.enterprise.inject.Produces; +import jakarta.enterprise.context.ApplicationScoped; +import jakarta.enterprise.inject.Produces; import org.kie.kogito.event.EventMarshaller; import org.kie.kogito.event.EventUnmarshaller; diff --git a/kogito-quarkus-examples/process-kafka-avro-multi-quarkus/src/main/java/org/acme/travel/StringKeyDecorator.java b/kogito-quarkus-examples/process-kafka-avro-multi-quarkus/src/main/java/org/acme/travel/StringKeyDecorator.java index b86ac3eed9..8573a244d7 100644 --- a/kogito-quarkus-examples/process-kafka-avro-multi-quarkus/src/main/java/org/acme/travel/StringKeyDecorator.java +++ b/kogito-quarkus-examples/process-kafka-avro-multi-quarkus/src/main/java/org/acme/travel/StringKeyDecorator.java @@ -15,7 +15,7 @@ */ package org.acme.travel; -import javax.enterprise.context.ApplicationScoped; +import jakarta.enterprise.context.ApplicationScoped; import org.eclipse.microprofile.reactive.messaging.Message; import org.kie.kogito.addon.quarkus.common.reactive.messaging.MessageDecorator; diff --git a/kogito-quarkus-examples/process-kafka-avro-multi-quarkus/src/test/java/org/acme/travel/tests/avro/quarkus/MultiMessagingIT.java b/kogito-quarkus-examples/process-kafka-avro-multi-quarkus/src/test/java/org/acme/travel/tests/avro/quarkus/MultiMessagingIT.java index 11bd3766ab..32f56442c3 100644 --- a/kogito-quarkus-examples/process-kafka-avro-multi-quarkus/src/test/java/org/acme/travel/tests/avro/quarkus/MultiMessagingIT.java +++ b/kogito-quarkus-examples/process-kafka-avro-multi-quarkus/src/test/java/org/acme/travel/tests/avro/quarkus/MultiMessagingIT.java @@ -22,7 +22,7 @@ import java.util.concurrent.TimeUnit; import java.util.stream.IntStream; -import javax.inject.Inject; +import jakarta.inject.Inject; import org.acme.travel.Traveller; import org.eclipse.microprofile.reactive.messaging.Channel; diff --git a/kogito-quarkus-examples/process-kafka-multi-quarkus/pom.xml b/kogito-quarkus-examples/process-kafka-multi-quarkus/pom.xml index 3fa03011a6..830f190e65 100644 --- a/kogito-quarkus-examples/process-kafka-multi-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-kafka-multi-quarkus/pom.xml @@ -5,20 +5,20 @@ org.kie.kogito.examples kogito-quarkus-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT process-kafka-multi-quarkus Kogito Example :: Process with Kafka and Quarkus, multiple channels Kogito with Kafka - Quarkus, using one channel per message name - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/process-kafka-persistence-quarkus/pom.xml b/kogito-quarkus-examples/process-kafka-persistence-quarkus/pom.xml index c0d02b120a..edec29de52 100644 --- a/kogito-quarkus-examples/process-kafka-persistence-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-kafka-persistence-quarkus/pom.xml @@ -21,7 +21,7 @@ org.kie.kogito.examples kogito-quarkus-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT 4.0.0 @@ -29,14 +29,14 @@ Kogito Example :: Process Kafka Persistence Quarkus Process with Kafka persistence - Quarkus - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/process-kafka-persistence-quarkus/src/main/java/org/acme/deals/Application.java b/kogito-quarkus-examples/process-kafka-persistence-quarkus/src/main/java/org/acme/deals/Application.java index 533137b030..971e11bf68 100644 --- a/kogito-quarkus-examples/process-kafka-persistence-quarkus/src/main/java/org/acme/deals/Application.java +++ b/kogito-quarkus-examples/process-kafka-persistence-quarkus/src/main/java/org/acme/deals/Application.java @@ -19,10 +19,10 @@ import java.util.Set; import java.util.concurrent.TimeUnit; -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.apache.kafka.clients.admin.AdminClient; import org.apache.kafka.clients.admin.NewTopic; import org.slf4j.Logger; diff --git a/kogito-quarkus-examples/process-kafka-quickstart-quarkus/pom.xml b/kogito-quarkus-examples/process-kafka-quickstart-quarkus/pom.xml index 294e08f529..ec23fe68be 100644 --- a/kogito-quarkus-examples/process-kafka-quickstart-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-kafka-quickstart-quarkus/pom.xml @@ -5,20 +5,20 @@ org.kie.kogito.examples kogito-quarkus-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT process-kafka-quickstart-quarkus Kogito Example :: Process with Kafka and Quarkus Kogito with Kafka - Quarkus - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/process-knative-quickstart-quarkus/pom.xml b/kogito-quarkus-examples/process-knative-quickstart-quarkus/pom.xml index 5d32855e63..8a6619036b 100644 --- a/kogito-quarkus-examples/process-knative-quickstart-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-knative-quickstart-quarkus/pom.xml @@ -5,21 +5,21 @@ org.kie.kogito.examples kogito-quarkus-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT process-knative-quickstart-quarkus Kogito Example :: Process with Knative Eventing and Quarkus Kogito with Knative Eventing - Quarkus 2.33.2 - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/process-knative-quickstart-quarkus/src/test/java/org/acme/travel/CloudEventListenerTest.java b/kogito-quarkus-examples/process-knative-quickstart-quarkus/src/test/java/org/acme/travel/CloudEventListenerTest.java index 0fddbe0974..9f587f7443 100644 --- a/kogito-quarkus-examples/process-knative-quickstart-quarkus/src/test/java/org/acme/travel/CloudEventListenerTest.java +++ b/kogito-quarkus-examples/process-knative-quickstart-quarkus/src/test/java/org/acme/travel/CloudEventListenerTest.java @@ -15,7 +15,7 @@ */ package org.acme.travel; -import javax.ws.rs.core.MediaType; +import jakarta.ws.rs.core.MediaType; import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.BeforeAll; diff --git a/kogito-quarkus-examples/process-mongodb-persistence-quarkus/pom.xml b/kogito-quarkus-examples/process-mongodb-persistence-quarkus/pom.xml index 094560f07e..1de6de18a5 100644 --- a/kogito-quarkus-examples/process-mongodb-persistence-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-mongodb-persistence-quarkus/pom.xml @@ -5,20 +5,20 @@ org.kie.kogito.examples kogito-quarkus-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT process-mongodb-persistence-quarkus Kogito Example :: Process MongoDB Persistence Quarkus Process with MongoDB persistence - Quarkus - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/process-mongodb-persistence-quarkus/src/test/java/org/acme/deals/NativeDealsRestIT.java b/kogito-quarkus-examples/process-mongodb-persistence-quarkus/src/test/java/org/acme/deals/NativeDealsRestIT.java index 81b8e1b433..09dfeba1b2 100644 --- a/kogito-quarkus-examples/process-mongodb-persistence-quarkus/src/test/java/org/acme/deals/NativeDealsRestIT.java +++ b/kogito-quarkus-examples/process-mongodb-persistence-quarkus/src/test/java/org/acme/deals/NativeDealsRestIT.java @@ -15,9 +15,9 @@ */ package org.acme.deals; -import io.quarkus.test.junit.NativeImageTest; +import io.quarkus.test.junit.QuarkusIntegrationTest; -@NativeImageTest +@QuarkusIntegrationTest public class NativeDealsRestIT extends DealsRestIT { } diff --git a/kogito-quarkus-examples/process-monitoring-quarkus/pom.xml b/kogito-quarkus-examples/process-monitoring-quarkus/pom.xml index 1669a3fdfc..3149dbaad8 100755 --- a/kogito-quarkus-examples/process-monitoring-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-monitoring-quarkus/pom.xml @@ -5,20 +5,20 @@ org.kie.kogito.examples kogito-quarkus-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT process-monitoring-quarkus Kogito Example :: Process Monitoring :: Quarkus - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/process-monitoring-quarkus/src/main/java/org/kie/kogito/examples/quarkus/CalculationService.java b/kogito-quarkus-examples/process-monitoring-quarkus/src/main/java/org/kie/kogito/examples/quarkus/CalculationService.java index 11dfcb97e2..aaaf456b74 100644 --- a/kogito-quarkus-examples/process-monitoring-quarkus/src/main/java/org/kie/kogito/examples/quarkus/CalculationService.java +++ b/kogito-quarkus-examples/process-monitoring-quarkus/src/main/java/org/kie/kogito/examples/quarkus/CalculationService.java @@ -17,7 +17,7 @@ import java.util.Random; -import javax.enterprise.context.ApplicationScoped; +import jakarta.enterprise.context.ApplicationScoped; import org.kie.kogito.examples.quarkus.demo.Order; diff --git a/kogito-quarkus-examples/process-monitoring-quarkus/src/test/java/org/kie/kogito/examples/quarkus/NativeDashboardGenerationIT.java b/kogito-quarkus-examples/process-monitoring-quarkus/src/test/java/org/kie/kogito/examples/quarkus/NativeDashboardGenerationIT.java index 7bf4ac629a..a229710734 100644 --- a/kogito-quarkus-examples/process-monitoring-quarkus/src/test/java/org/kie/kogito/examples/quarkus/NativeDashboardGenerationIT.java +++ b/kogito-quarkus-examples/process-monitoring-quarkus/src/test/java/org/kie/kogito/examples/quarkus/NativeDashboardGenerationIT.java @@ -16,9 +16,9 @@ package org.kie.kogito.examples.quarkus; -import io.quarkus.test.junit.NativeImageTest; +import io.quarkus.test.junit.QuarkusIntegrationTest; -@NativeImageTest +@QuarkusIntegrationTest public class NativeDashboardGenerationIT extends DashboardGenerationIT { // Execute the same tests but in native mode. diff --git a/kogito-quarkus-examples/process-monitoring-quarkus/src/test/java/org/kie/kogito/examples/quarkus/ProcessMetricsTest.java b/kogito-quarkus-examples/process-monitoring-quarkus/src/test/java/org/kie/kogito/examples/quarkus/ProcessMetricsTest.java index a51cd75eee..291197179a 100644 --- a/kogito-quarkus-examples/process-monitoring-quarkus/src/test/java/org/kie/kogito/examples/quarkus/ProcessMetricsTest.java +++ b/kogito-quarkus-examples/process-monitoring-quarkus/src/test/java/org/kie/kogito/examples/quarkus/ProcessMetricsTest.java @@ -19,8 +19,8 @@ import java.util.HashMap; import java.util.Map; -import javax.inject.Inject; -import javax.inject.Named; +import jakarta.inject.Inject; +import jakarta.inject.Named; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; diff --git a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/pom.xml b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/pom.xml index 47aa6727e5..b55d610577 100644 --- a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/pom.xml @@ -6,7 +6,7 @@ org.kie.kogito.examples kogito-quarkus-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT process-outbox-mongodb-quarkus @@ -15,14 +15,14 @@ 1.7 - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/java/org/kie/kogito/examples/CalculationService.java b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/java/org/kie/kogito/examples/CalculationService.java index fc2e8fee76..54f7827a26 100644 --- a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/java/org/kie/kogito/examples/CalculationService.java +++ b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/java/org/kie/kogito/examples/CalculationService.java @@ -17,7 +17,7 @@ import java.util.Random; -import javax.enterprise.context.ApplicationScoped; +import jakarta.enterprise.context.ApplicationScoped; import org.kie.kogito.examples.demo.Order; diff --git a/kogito-quarkus-examples/process-performance-client/pom.xml b/kogito-quarkus-examples/process-performance-client/pom.xml index 99cf83fa06..698a3dc997 100755 --- a/kogito-quarkus-examples/process-performance-client/pom.xml +++ b/kogito-quarkus-examples/process-performance-client/pom.xml @@ -7,20 +7,20 @@ org.kie.kogito.examples kogito-quarkus-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT process-performance-client Kogito Example :: Client Performance test Client Performance test - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/process-performance-quarkus/pom.xml b/kogito-quarkus-examples/process-performance-quarkus/pom.xml index 0d527b4389..65b71d8994 100755 --- a/kogito-quarkus-examples/process-performance-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-performance-quarkus/pom.xml @@ -7,20 +7,20 @@ org.kie.kogito.examples kogito-quarkus-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT process-performance-quarkus Kogito Example :: Quarkus Performance test Quarkus Performance test - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/process-postgresql-persistence-quarkus/pom.xml b/kogito-quarkus-examples/process-postgresql-persistence-quarkus/pom.xml index 9068e217f4..a45cb440d3 100644 --- a/kogito-quarkus-examples/process-postgresql-persistence-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-postgresql-persistence-quarkus/pom.xml @@ -8,7 +8,7 @@ org.kie.kogito.examples kogito-quarkus-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT process-postgresql-persistence-quarkus @@ -16,14 +16,14 @@ Kogito Example :: Process PostgreSQL Persistence Quarkus Process with PostgreSQL persistence - Quarkus - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/process-quarkus-example/pom.xml b/kogito-quarkus-examples/process-quarkus-example/pom.xml index 828f07f1fd..ddc8d893bb 100755 --- a/kogito-quarkus-examples/process-quarkus-example/pom.xml +++ b/kogito-quarkus-examples/process-quarkus-example/pom.xml @@ -5,20 +5,20 @@ org.kie.kogito.examples kogito-quarkus-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT process-quarkus-example Kogito Example :: Process and Quarkus Order management service - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/process-quarkus-example/src/main/java/org/kie/kogito/examples/CalculationService.java b/kogito-quarkus-examples/process-quarkus-example/src/main/java/org/kie/kogito/examples/CalculationService.java index bf28039f05..455c486352 100644 --- a/kogito-quarkus-examples/process-quarkus-example/src/main/java/org/kie/kogito/examples/CalculationService.java +++ b/kogito-quarkus-examples/process-quarkus-example/src/main/java/org/kie/kogito/examples/CalculationService.java @@ -17,7 +17,7 @@ import java.util.Random; -import javax.enterprise.context.ApplicationScoped; +import jakarta.enterprise.context.ApplicationScoped; import org.kie.kogito.examples.demo.Order; diff --git a/kogito-quarkus-examples/process-quarkus-example/src/test/java/org/kie/kogito/examples/OrdersProcessIT.java b/kogito-quarkus-examples/process-quarkus-example/src/test/java/org/kie/kogito/examples/OrdersProcessIT.java index 55a9515e73..426886e074 100644 --- a/kogito-quarkus-examples/process-quarkus-example/src/test/java/org/kie/kogito/examples/OrdersProcessIT.java +++ b/kogito-quarkus-examples/process-quarkus-example/src/test/java/org/kie/kogito/examples/OrdersProcessIT.java @@ -21,8 +21,8 @@ import java.util.Map; import java.util.Optional; -import javax.inject.Inject; -import javax.inject.Named; +import jakarta.inject.Inject; +import jakarta.inject.Named; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; diff --git a/kogito-quarkus-examples/process-quarkus-example/src/test/java/org/kie/kogito/examples/OrdersRestIT.java b/kogito-quarkus-examples/process-quarkus-example/src/test/java/org/kie/kogito/examples/OrdersRestIT.java index a6c91f37bb..c136b806e5 100644 --- a/kogito-quarkus-examples/process-quarkus-example/src/test/java/org/kie/kogito/examples/OrdersRestIT.java +++ b/kogito-quarkus-examples/process-quarkus-example/src/test/java/org/kie/kogito/examples/OrdersRestIT.java @@ -15,8 +15,8 @@ */ package org.kie.kogito.examples; -import javax.inject.Inject; -import javax.inject.Named; +import jakarta.inject.Inject; +import jakarta.inject.Named; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; diff --git a/kogito-quarkus-examples/process-quarkus-example/src/test/java/org/kie/kogito/examples/PersonProcessIT.java b/kogito-quarkus-examples/process-quarkus-example/src/test/java/org/kie/kogito/examples/PersonProcessIT.java index bf8bec9a80..c5367ec3c2 100644 --- a/kogito-quarkus-examples/process-quarkus-example/src/test/java/org/kie/kogito/examples/PersonProcessIT.java +++ b/kogito-quarkus-examples/process-quarkus-example/src/test/java/org/kie/kogito/examples/PersonProcessIT.java @@ -20,8 +20,8 @@ import java.util.List; import java.util.Map; -import javax.inject.Inject; -import javax.inject.Named; +import jakarta.inject.Inject; +import jakarta.inject.Named; import org.junit.jupiter.api.Test; import org.kie.kogito.Model; diff --git a/kogito-quarkus-examples/process-quarkus-example/src/test/java/org/kie/kogito/examples/PersonsRestIT.java b/kogito-quarkus-examples/process-quarkus-example/src/test/java/org/kie/kogito/examples/PersonsRestIT.java index 3dece4add2..934c56d385 100644 --- a/kogito-quarkus-examples/process-quarkus-example/src/test/java/org/kie/kogito/examples/PersonsRestIT.java +++ b/kogito-quarkus-examples/process-quarkus-example/src/test/java/org/kie/kogito/examples/PersonsRestIT.java @@ -15,8 +15,8 @@ */ package org.kie.kogito.examples; -import javax.inject.Inject; -import javax.inject.Named; +import jakarta.inject.Inject; +import jakarta.inject.Named; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; diff --git a/kogito-quarkus-examples/process-rest-service-call-quarkus/pom.xml b/kogito-quarkus-examples/process-rest-service-call-quarkus/pom.xml index f15c86c1ef..2eadf60dc7 100644 --- a/kogito-quarkus-examples/process-rest-service-call-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-rest-service-call-quarkus/pom.xml @@ -5,20 +5,20 @@ org.kie.kogito.examples kogito-quarkus-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT process-rest-service-call-quarkus Kogito Example :: Process Service Rest Cal with Quarkus Kogito service invocation using REST - Quarkus - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT @@ -66,7 +66,7 @@ io.smallrye smallrye-context-propagation-propagators-rxjava2 - 1.2.2 + 2.1.0 io.quarkus diff --git a/kogito-quarkus-examples/process-rest-service-call-quarkus/src/main/java/org/acme/travels/rest/UsersRemoteService.java b/kogito-quarkus-examples/process-rest-service-call-quarkus/src/main/java/org/acme/travels/rest/UsersRemoteService.java index 7fb378539d..9456473717 100644 --- a/kogito-quarkus-examples/process-rest-service-call-quarkus/src/main/java/org/acme/travels/rest/UsersRemoteService.java +++ b/kogito-quarkus-examples/process-rest-service-call-quarkus/src/main/java/org/acme/travels/rest/UsersRemoteService.java @@ -15,10 +15,10 @@ */ package org.acme.travels.rest; -import javax.ws.rs.GET; -import javax.ws.rs.Path; -import javax.ws.rs.PathParam; -import javax.ws.rs.Produces; +import jakarta.ws.rs.GET; +import jakarta.ws.rs.Path; +import jakarta.ws.rs.PathParam; +import jakarta.ws.rs.Produces; import org.acme.travels.quarkus.User; import org.eclipse.microprofile.rest.client.inject.RegisterRestClient; diff --git a/kogito-quarkus-examples/process-rest-service-call-quarkus/src/main/java/org/acme/travels/services/AuditService.java b/kogito-quarkus-examples/process-rest-service-call-quarkus/src/main/java/org/acme/travels/services/AuditService.java index 8db780db9f..e102ce2944 100644 --- a/kogito-quarkus-examples/process-rest-service-call-quarkus/src/main/java/org/acme/travels/services/AuditService.java +++ b/kogito-quarkus-examples/process-rest-service-call-quarkus/src/main/java/org/acme/travels/services/AuditService.java @@ -15,7 +15,7 @@ */ package org.acme.travels.services; -import javax.enterprise.context.ApplicationScoped; +import jakarta.enterprise.context.ApplicationScoped; import org.acme.travels.quarkus.User; import org.slf4j.Logger; diff --git a/kogito-quarkus-examples/process-rest-service-call-quarkus/src/main/java/org/acme/travels/services/UserService.java b/kogito-quarkus-examples/process-rest-service-call-quarkus/src/main/java/org/acme/travels/services/UserService.java index a6b61d8696..dfe4133399 100644 --- a/kogito-quarkus-examples/process-rest-service-call-quarkus/src/main/java/org/acme/travels/services/UserService.java +++ b/kogito-quarkus-examples/process-rest-service-call-quarkus/src/main/java/org/acme/travels/services/UserService.java @@ -15,8 +15,8 @@ */ package org.acme.travels.services; -import javax.enterprise.context.ApplicationScoped; -import javax.inject.Inject; +import jakarta.enterprise.context.ApplicationScoped; +import jakarta.inject.Inject; import org.acme.travels.quarkus.User; import org.acme.travels.rest.UsersRemoteService; diff --git a/kogito-quarkus-examples/process-rest-service-call-quarkus/src/test/java/org/acme/travels/quarkus/UsersProcessTest.java b/kogito-quarkus-examples/process-rest-service-call-quarkus/src/test/java/org/acme/travels/quarkus/UsersProcessTest.java index 9d4f229204..8288398779 100644 --- a/kogito-quarkus-examples/process-rest-service-call-quarkus/src/test/java/org/acme/travels/quarkus/UsersProcessTest.java +++ b/kogito-quarkus-examples/process-rest-service-call-quarkus/src/test/java/org/acme/travels/quarkus/UsersProcessTest.java @@ -18,8 +18,8 @@ import java.util.HashMap; import java.util.Map; -import javax.inject.Inject; -import javax.inject.Named; +import jakarta.inject.Inject; +import jakarta.inject.Named; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; diff --git a/kogito-quarkus-examples/process-rest-workitem-multi-quarkus/pom.xml b/kogito-quarkus-examples/process-rest-workitem-multi-quarkus/pom.xml index a0cdb59184..4be22f6f0e 100644 --- a/kogito-quarkus-examples/process-rest-workitem-multi-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-rest-workitem-multi-quarkus/pom.xml @@ -5,20 +5,20 @@ org.kie.kogito.examples kogito-quarkus-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT process-rest-workitem-multi-quarkus Kogito Example :: Process Rest :: Quarkus Invoking multiple Rest WS using RestWorkItemHandler - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/process-rest-workitem-multi-quarkus/src/main/java/org/acme/numbers/NumbersResource.java b/kogito-quarkus-examples/process-rest-workitem-multi-quarkus/src/main/java/org/acme/numbers/NumbersResource.java index 71dbca9bc1..4b29149c6c 100644 --- a/kogito-quarkus-examples/process-rest-workitem-multi-quarkus/src/main/java/org/acme/numbers/NumbersResource.java +++ b/kogito-quarkus-examples/process-rest-workitem-multi-quarkus/src/main/java/org/acme/numbers/NumbersResource.java @@ -15,20 +15,20 @@ */ package org.acme.numbers; +import jakarta.annotation.PostConstruct; import java.util.Random; import java.util.stream.Collectors; -import javax.annotation.PostConstruct; -import javax.enterprise.context.ApplicationScoped; -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.enterprise.context.ApplicationScoped; +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; @Path("/numbers") @Produces(MediaType.APPLICATION_JSON) diff --git a/kogito-quarkus-examples/process-rest-workitem-multi-quarkus/src/test/java/org/acme/numbers/NativeForRestExampleTestIT.java b/kogito-quarkus-examples/process-rest-workitem-multi-quarkus/src/test/java/org/acme/numbers/NativeForRestExampleTestIT.java index 9852e8da3b..5eb5487150 100644 --- a/kogito-quarkus-examples/process-rest-workitem-multi-quarkus/src/test/java/org/acme/numbers/NativeForRestExampleTestIT.java +++ b/kogito-quarkus-examples/process-rest-workitem-multi-quarkus/src/test/java/org/acme/numbers/NativeForRestExampleTestIT.java @@ -15,9 +15,9 @@ */ package org.acme.numbers; -import io.quarkus.test.junit.NativeImageTest; +import io.quarkus.test.junit.QuarkusIntegrationTest; -@NativeImageTest +@QuarkusIntegrationTest class NativeForRestExampleTestIT extends RestExampleTestIT { } diff --git a/kogito-quarkus-examples/process-rest-workitem-quarkus/pom.xml b/kogito-quarkus-examples/process-rest-workitem-quarkus/pom.xml index 70c6af42c8..f462df9dc5 100644 --- a/kogito-quarkus-examples/process-rest-workitem-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-rest-workitem-quarkus/pom.xml @@ -5,20 +5,20 @@ org.kie.kogito.examples kogito-quarkus-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT process-rest-workitem-quarkus Kogito Example :: Process Service Rest WorkItem call with Quarkus Kogito service invocation using REST work item and Quarkus - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/process-rest-workitem-quarkus/src/main/java/org/acme/travels/rest/UsersRemoteService.java b/kogito-quarkus-examples/process-rest-workitem-quarkus/src/main/java/org/acme/travels/rest/UsersRemoteService.java index e5f3223c65..179dc4d97e 100644 --- a/kogito-quarkus-examples/process-rest-workitem-quarkus/src/main/java/org/acme/travels/rest/UsersRemoteService.java +++ b/kogito-quarkus-examples/process-rest-workitem-quarkus/src/main/java/org/acme/travels/rest/UsersRemoteService.java @@ -15,10 +15,10 @@ */ package org.acme.travels.rest; -import javax.ws.rs.GET; -import javax.ws.rs.Path; -import javax.ws.rs.PathParam; -import javax.ws.rs.Produces; +import jakarta.ws.rs.GET; +import jakarta.ws.rs.Path; +import jakarta.ws.rs.PathParam; +import jakarta.ws.rs.Produces; import org.acme.travels.User; import org.eclipse.microprofile.rest.client.inject.RegisterRestClient; diff --git a/kogito-quarkus-examples/process-rest-workitem-quarkus/src/main/java/org/acme/travels/services/AuditService.java b/kogito-quarkus-examples/process-rest-workitem-quarkus/src/main/java/org/acme/travels/services/AuditService.java index e9c805c39c..b053ec38c1 100644 --- a/kogito-quarkus-examples/process-rest-workitem-quarkus/src/main/java/org/acme/travels/services/AuditService.java +++ b/kogito-quarkus-examples/process-rest-workitem-quarkus/src/main/java/org/acme/travels/services/AuditService.java @@ -15,7 +15,7 @@ */ package org.acme.travels.services; -import javax.enterprise.context.ApplicationScoped; +import jakarta.enterprise.context.ApplicationScoped; import org.acme.travels.User; import org.slf4j.Logger; diff --git a/kogito-quarkus-examples/process-rest-workitem-quarkus/src/test/java/org/acme/travels/UsersProcessTest.java b/kogito-quarkus-examples/process-rest-workitem-quarkus/src/test/java/org/acme/travels/UsersProcessTest.java index ee59e05025..64fcf49a33 100644 --- a/kogito-quarkus-examples/process-rest-workitem-quarkus/src/test/java/org/acme/travels/UsersProcessTest.java +++ b/kogito-quarkus-examples/process-rest-workitem-quarkus/src/test/java/org/acme/travels/UsersProcessTest.java @@ -18,8 +18,8 @@ import java.util.HashMap; import java.util.Map; -import javax.inject.Inject; -import javax.inject.Named; +import jakarta.inject.Inject; +import jakarta.inject.Named; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; diff --git a/kogito-quarkus-examples/process-saga-quarkus/pom.xml b/kogito-quarkus-examples/process-saga-quarkus/pom.xml index 1cf3201035..b26e645d73 100644 --- a/kogito-quarkus-examples/process-saga-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-saga-quarkus/pom.xml @@ -4,7 +4,7 @@ org.kie.kogito.examples kogito-quarkus-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT process-saga-quarkus @@ -13,14 +13,14 @@ How to implement Saga with a BPMN Process using Compensations - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/kie/kogito/examples/MockService.java b/kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/kie/kogito/examples/MockService.java index f54ca193e4..933bc91257 100644 --- a/kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/kie/kogito/examples/MockService.java +++ b/kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/kie/kogito/examples/MockService.java @@ -19,7 +19,7 @@ import java.util.Optional; import java.util.UUID; -import javax.enterprise.context.ApplicationScoped; +import jakarta.enterprise.context.ApplicationScoped; @ApplicationScoped public class MockService { diff --git a/kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/kie/kogito/examples/OrderService.java b/kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/kie/kogito/examples/OrderService.java index 516164b9b3..402e2a7b32 100644 --- a/kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/kie/kogito/examples/OrderService.java +++ b/kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/kie/kogito/examples/OrderService.java @@ -15,7 +15,7 @@ */ package org.kie.kogito.examples; -import javax.enterprise.context.ApplicationScoped; +import jakarta.enterprise.context.ApplicationScoped; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/kie/kogito/examples/PaymentService.java b/kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/kie/kogito/examples/PaymentService.java index 960c190f4f..e26abd3a46 100644 --- a/kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/kie/kogito/examples/PaymentService.java +++ b/kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/kie/kogito/examples/PaymentService.java @@ -15,8 +15,8 @@ */ package org.kie.kogito.examples; -import javax.enterprise.context.ApplicationScoped; -import javax.inject.Inject; +import jakarta.enterprise.context.ApplicationScoped; +import jakarta.inject.Inject; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/kie/kogito/examples/ShippingService.java b/kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/kie/kogito/examples/ShippingService.java index 26c06a016c..941da9902a 100644 --- a/kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/kie/kogito/examples/ShippingService.java +++ b/kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/kie/kogito/examples/ShippingService.java @@ -15,8 +15,8 @@ */ package org.kie.kogito.examples; -import javax.enterprise.context.ApplicationScoped; -import javax.inject.Inject; +import jakarta.enterprise.context.ApplicationScoped; +import jakarta.inject.Inject; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/kie/kogito/examples/StockService.java b/kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/kie/kogito/examples/StockService.java index 8c74346bdf..113a1f8692 100644 --- a/kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/kie/kogito/examples/StockService.java +++ b/kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/kie/kogito/examples/StockService.java @@ -15,8 +15,8 @@ */ package org.kie.kogito.examples; -import javax.enterprise.context.ApplicationScoped; -import javax.inject.Inject; +import jakarta.enterprise.context.ApplicationScoped; +import jakarta.inject.Inject; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/kogito-quarkus-examples/process-scripts-quarkus/pom.xml b/kogito-quarkus-examples/process-scripts-quarkus/pom.xml index 8515e4db68..86336a16c5 100644 --- a/kogito-quarkus-examples/process-scripts-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-scripts-quarkus/pom.xml @@ -5,20 +5,20 @@ org.kie.kogito.examples kogito-quarkus-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT process-scripts-quarkus Kogito Example :: Process Scripts With Quarkus Kogito scripts invocation - Quarkus - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/process-scripts-quarkus/src/test/java/org/acme/travels/quarkus/ScriptsProcessTest.java b/kogito-quarkus-examples/process-scripts-quarkus/src/test/java/org/acme/travels/quarkus/ScriptsProcessTest.java index 066d0a4e66..c46942eced 100644 --- a/kogito-quarkus-examples/process-scripts-quarkus/src/test/java/org/acme/travels/quarkus/ScriptsProcessTest.java +++ b/kogito-quarkus-examples/process-scripts-quarkus/src/test/java/org/acme/travels/quarkus/ScriptsProcessTest.java @@ -18,8 +18,8 @@ import java.util.HashMap; import java.util.Map; -import javax.inject.Inject; -import javax.inject.Named; +import jakarta.inject.Inject; +import jakarta.inject.Named; import org.junit.jupiter.api.Test; import org.kie.kogito.Model; diff --git a/kogito-quarkus-examples/process-service-calls-quarkus/pom.xml b/kogito-quarkus-examples/process-service-calls-quarkus/pom.xml index 8c439f2359..6257a52bf6 100644 --- a/kogito-quarkus-examples/process-service-calls-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-service-calls-quarkus/pom.xml @@ -5,20 +5,20 @@ org.kie.kogito.examples kogito-quarkus-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT process-service-calls-quarkus Kogito Example :: Process Service Calls with Quarkus Kogito service invocation - Quarkus - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/process-service-calls-quarkus/src/main/java/org/acme/travels/services/GreetingTravellerService.java b/kogito-quarkus-examples/process-service-calls-quarkus/src/main/java/org/acme/travels/services/GreetingTravellerService.java index 155659b4fd..8075006f10 100644 --- a/kogito-quarkus-examples/process-service-calls-quarkus/src/main/java/org/acme/travels/services/GreetingTravellerService.java +++ b/kogito-quarkus-examples/process-service-calls-quarkus/src/main/java/org/acme/travels/services/GreetingTravellerService.java @@ -15,7 +15,7 @@ */ package org.acme.travels.services; -import javax.enterprise.context.ApplicationScoped; +import jakarta.enterprise.context.ApplicationScoped; import org.acme.travels.quarkus.Traveller; import org.slf4j.Logger; diff --git a/kogito-quarkus-examples/process-service-calls-quarkus/src/main/java/org/acme/travels/services/HelloService.java b/kogito-quarkus-examples/process-service-calls-quarkus/src/main/java/org/acme/travels/services/HelloService.java index 4506a6d8e3..c163ec36c2 100644 --- a/kogito-quarkus-examples/process-service-calls-quarkus/src/main/java/org/acme/travels/services/HelloService.java +++ b/kogito-quarkus-examples/process-service-calls-quarkus/src/main/java/org/acme/travels/services/HelloService.java @@ -15,7 +15,7 @@ */ package org.acme.travels.services; -import javax.enterprise.context.ApplicationScoped; +import jakarta.enterprise.context.ApplicationScoped; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/kogito-quarkus-examples/process-service-calls-quarkus/src/main/java/org/acme/travels/services/StoreTravellerService.java b/kogito-quarkus-examples/process-service-calls-quarkus/src/main/java/org/acme/travels/services/StoreTravellerService.java index 808b07ffa7..122f357cd4 100644 --- a/kogito-quarkus-examples/process-service-calls-quarkus/src/main/java/org/acme/travels/services/StoreTravellerService.java +++ b/kogito-quarkus-examples/process-service-calls-quarkus/src/main/java/org/acme/travels/services/StoreTravellerService.java @@ -18,7 +18,7 @@ import java.util.HashMap; import java.util.Map; -import javax.enterprise.context.ApplicationScoped; +import jakarta.enterprise.context.ApplicationScoped; import org.acme.travels.quarkus.Traveller; diff --git a/kogito-quarkus-examples/process-service-calls-quarkus/src/main/java/org/acme/travels/services/TravellerAuditService.java b/kogito-quarkus-examples/process-service-calls-quarkus/src/main/java/org/acme/travels/services/TravellerAuditService.java index 6068492ea6..a348da7051 100644 --- a/kogito-quarkus-examples/process-service-calls-quarkus/src/main/java/org/acme/travels/services/TravellerAuditService.java +++ b/kogito-quarkus-examples/process-service-calls-quarkus/src/main/java/org/acme/travels/services/TravellerAuditService.java @@ -15,7 +15,7 @@ */ package org.acme.travels.services; -import javax.enterprise.context.ApplicationScoped; +import jakarta.enterprise.context.ApplicationScoped; import org.acme.travels.quarkus.Traveller; import org.slf4j.Logger; diff --git a/kogito-quarkus-examples/process-service-calls-quarkus/src/test/java/org/acme/travels/quarkus/MultiParamServiceProcessTest.java b/kogito-quarkus-examples/process-service-calls-quarkus/src/test/java/org/acme/travels/quarkus/MultiParamServiceProcessTest.java index bd2a390014..de85de4aea 100644 --- a/kogito-quarkus-examples/process-service-calls-quarkus/src/test/java/org/acme/travels/quarkus/MultiParamServiceProcessTest.java +++ b/kogito-quarkus-examples/process-service-calls-quarkus/src/test/java/org/acme/travels/quarkus/MultiParamServiceProcessTest.java @@ -18,8 +18,8 @@ import java.util.HashMap; import java.util.Map; -import javax.inject.Inject; -import javax.inject.Named; +import jakarta.inject.Inject; +import jakarta.inject.Named; import org.junit.jupiter.api.Test; import org.kie.kogito.Model; diff --git a/kogito-quarkus-examples/process-service-calls-quarkus/src/test/java/org/acme/travels/quarkus/TravellersProcessTest.java b/kogito-quarkus-examples/process-service-calls-quarkus/src/test/java/org/acme/travels/quarkus/TravellersProcessTest.java index 0b17a56003..ff04f1fdef 100644 --- a/kogito-quarkus-examples/process-service-calls-quarkus/src/test/java/org/acme/travels/quarkus/TravellersProcessTest.java +++ b/kogito-quarkus-examples/process-service-calls-quarkus/src/test/java/org/acme/travels/quarkus/TravellersProcessTest.java @@ -18,8 +18,8 @@ import java.util.HashMap; import java.util.Map; -import javax.inject.Inject; -import javax.inject.Named; +import jakarta.inject.Inject; +import jakarta.inject.Named; import org.junit.jupiter.api.Test; import org.kie.kogito.Model; diff --git a/kogito-quarkus-examples/process-timer-quarkus/pom.xml b/kogito-quarkus-examples/process-timer-quarkus/pom.xml index 32533e0903..e0a3457ebf 100644 --- a/kogito-quarkus-examples/process-timer-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-timer-quarkus/pom.xml @@ -5,20 +5,20 @@ org.kie.kogito.examples kogito-quarkus-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT process-timer-quarkus Kogito Example :: Process Timer with Quarkus Kogito with timers - Quarkus - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/pom.xml b/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/pom.xml index 50dffbd7f2..e1d6259339 100644 --- a/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/pom.xml @@ -5,20 +5,20 @@ org.kie.kogito.examples kogito-quarkus-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT process-usertasks-custom-lifecycle-quarkus Kogito Example :: Process Usertasks With Custom Lifecycle Kogito user tasks orchestration with custom life cycle - Quarkus - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/src/main/java/org/acme/travels/config/CustomWorkItemHandlerConfig.java b/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/src/main/java/org/acme/travels/config/CustomWorkItemHandlerConfig.java index ad0e0178c7..8e0ac14ca8 100644 --- a/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/src/main/java/org/acme/travels/config/CustomWorkItemHandlerConfig.java +++ b/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/src/main/java/org/acme/travels/config/CustomWorkItemHandlerConfig.java @@ -15,7 +15,7 @@ */ package org.acme.travels.config; -import javax.enterprise.context.ApplicationScoped; +import jakarta.enterprise.context.ApplicationScoped; import org.acme.travels.usertasks.CustomHumanTaskLifeCycle; import org.jbpm.process.instance.impl.humantask.HumanTaskWorkItemHandler; diff --git a/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/src/test/java/org/acme/travels/custom/lifecycle/quarkus/ApprovalsProcessTest.java b/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/src/test/java/org/acme/travels/custom/lifecycle/quarkus/ApprovalsProcessTest.java index 59efe6c705..b88193f30c 100644 --- a/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/src/test/java/org/acme/travels/custom/lifecycle/quarkus/ApprovalsProcessTest.java +++ b/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/src/test/java/org/acme/travels/custom/lifecycle/quarkus/ApprovalsProcessTest.java @@ -20,8 +20,8 @@ import java.util.List; import java.util.Map; -import javax.inject.Inject; -import javax.inject.Named; +import jakarta.inject.Inject; +import jakarta.inject.Named; import org.acme.travels.Address; import org.acme.travels.Traveller; diff --git a/kogito-quarkus-examples/process-usertasks-quarkus-with-console/pom.xml b/kogito-quarkus-examples/process-usertasks-quarkus-with-console/pom.xml index d0a90b39a0..dab333f8c7 100644 --- a/kogito-quarkus-examples/process-usertasks-quarkus-with-console/pom.xml +++ b/kogito-quarkus-examples/process-usertasks-quarkus-with-console/pom.xml @@ -4,20 +4,20 @@ org.kie.kogito.examples kogito-quarkus-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT process-usertasks-quarkus-with-console Kogito Example :: Process with Usertasks Quarkus :: Console - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/process-usertasks-quarkus-with-console/src/test/java/org/kie/kogito/hr/HiringProcessIT.java b/kogito-quarkus-examples/process-usertasks-quarkus-with-console/src/test/java/org/kie/kogito/hr/HiringProcessIT.java index 01c683b6ee..a99cfd301e 100644 --- a/kogito-quarkus-examples/process-usertasks-quarkus-with-console/src/test/java/org/kie/kogito/hr/HiringProcessIT.java +++ b/kogito-quarkus-examples/process-usertasks-quarkus-with-console/src/test/java/org/kie/kogito/hr/HiringProcessIT.java @@ -20,8 +20,8 @@ import java.util.List; import java.util.Map; -import javax.inject.Inject; -import javax.inject.Named; +import jakarta.inject.Inject; +import jakarta.inject.Named; import org.junit.jupiter.api.Test; import org.kie.kogito.Model; diff --git a/kogito-quarkus-examples/process-usertasks-quarkus/pom.xml b/kogito-quarkus-examples/process-usertasks-quarkus/pom.xml index 912b403358..d36fcbd0d4 100644 --- a/kogito-quarkus-examples/process-usertasks-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-usertasks-quarkus/pom.xml @@ -5,20 +5,20 @@ org.kie.kogito.examples kogito-quarkus-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT process-usertasks-quarkus Kogito Example :: Process with Usertasks Quarkus Kogito user tasks orchestration - Quarkus - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/process-usertasks-quarkus/src/test/java/org/acme/travels/quarkus/ApprovalsProcessTest.java b/kogito-quarkus-examples/process-usertasks-quarkus/src/test/java/org/acme/travels/quarkus/ApprovalsProcessTest.java index 385ee84c01..7d9a447199 100644 --- a/kogito-quarkus-examples/process-usertasks-quarkus/src/test/java/org/acme/travels/quarkus/ApprovalsProcessTest.java +++ b/kogito-quarkus-examples/process-usertasks-quarkus/src/test/java/org/acme/travels/quarkus/ApprovalsProcessTest.java @@ -20,8 +20,8 @@ import java.util.List; import java.util.Map; -import javax.inject.Inject; -import javax.inject.Named; +import jakarta.inject.Inject; +import jakarta.inject.Named; import org.acme.travels.Address; import org.acme.travels.Traveller; diff --git a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/pom.xml b/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/pom.xml index d2f0609460..2731295a50 100644 --- a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/pom.xml +++ b/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/pom.xml @@ -4,20 +4,20 @@ org.kie.kogito.examples kogito-quarkus-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT process-usertasks-timer-quarkus-with-console Kogito Example :: Process UserTasks with Timer Quarkus :: Console - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/src/test/java/org/kie/kogito/hr/HiringProcessIT.java b/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/src/test/java/org/kie/kogito/hr/HiringProcessIT.java index 01c683b6ee..a99cfd301e 100644 --- a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/src/test/java/org/kie/kogito/hr/HiringProcessIT.java +++ b/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/src/test/java/org/kie/kogito/hr/HiringProcessIT.java @@ -20,8 +20,8 @@ import java.util.List; import java.util.Map; -import javax.inject.Inject; -import javax.inject.Named; +import jakarta.inject.Inject; +import jakarta.inject.Named; import org.junit.jupiter.api.Test; import org.kie.kogito.Model; diff --git a/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/pom.xml b/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/pom.xml index 85006df8d8..98f8bd5aca 100644 --- a/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/pom.xml +++ b/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/pom.xml @@ -5,20 +5,20 @@ org.kie.kogito.examples kogito-quarkus-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT process-usertasks-with-security-oidc-quarkus-with-console Kogito Example :: Process Usertasks Security OIDC Keycloak Quarkus :: Console Kogito user tasks orchestration with security enabled on REST api - open id connect adapter(keycloak) - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/src/test/java/org/acme/travels/ApprovalsProcessIT.java b/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/src/test/java/org/acme/travels/ApprovalsProcessIT.java index 54b0e1f027..1b4d54b2db 100644 --- a/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/src/test/java/org/acme/travels/ApprovalsProcessIT.java +++ b/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/src/test/java/org/acme/travels/ApprovalsProcessIT.java @@ -21,8 +21,8 @@ import java.util.List; import java.util.Map; -import javax.inject.Inject; -import javax.inject.Named; +import jakarta.inject.Inject; +import jakarta.inject.Named; import org.jbpm.process.instance.impl.humantask.HumanTaskTransition; import org.jbpm.process.instance.impl.humantask.phases.Claim; diff --git a/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/src/test/java/org/acme/travels/NativeApprovalsRestIT.java b/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/src/test/java/org/acme/travels/NativeApprovalsRestIT.java index 4cdffa0e72..5de8dec892 100644 --- a/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/src/test/java/org/acme/travels/NativeApprovalsRestIT.java +++ b/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/src/test/java/org/acme/travels/NativeApprovalsRestIT.java @@ -19,9 +19,9 @@ import org.kie.kogito.testcontainers.quarkus.KeycloakQuarkusTestResource; import io.quarkus.test.common.QuarkusTestResource; -import io.quarkus.test.junit.NativeImageTest; +import io.quarkus.test.junit.QuarkusIntegrationTest; -@NativeImageTest +@QuarkusIntegrationTest @QuarkusTestResource(KeycloakQuarkusTestResource.class) @QuarkusTestResource(KafkaQuarkusTestResource.class) public class NativeApprovalsRestIT extends ApprovalsRestIT { diff --git a/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus/pom.xml b/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus/pom.xml index f6b3936147..dae37e67fd 100644 --- a/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus/pom.xml @@ -5,20 +5,20 @@ org.kie.kogito.examples kogito-quarkus-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT process-usertasks-with-security-oidc-quarkus Kogito Example :: Process Usertasks With Security OIDC Keycloak Quarkus Kogito user tasks orchestration with security enabled on REST api - open id connect adapter(keycloak) - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus/src/test/java/org/acme/travels/ApprovalsProcessIT.java b/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus/src/test/java/org/acme/travels/ApprovalsProcessIT.java index 94a13ad0b0..d9b495a4b4 100644 --- a/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus/src/test/java/org/acme/travels/ApprovalsProcessIT.java +++ b/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus/src/test/java/org/acme/travels/ApprovalsProcessIT.java @@ -21,8 +21,8 @@ import java.util.List; import java.util.Map; -import javax.inject.Inject; -import javax.inject.Named; +import jakarta.inject.Inject; +import jakarta.inject.Named; import org.jbpm.process.instance.impl.humantask.HumanTaskTransition; import org.jbpm.process.instance.impl.humantask.phases.Claim; diff --git a/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus/src/test/java/org/acme/travels/NativeApprovalsRestIT.java b/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus/src/test/java/org/acme/travels/NativeApprovalsRestIT.java index 1d1eeaccfd..122ce4f777 100644 --- a/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus/src/test/java/org/acme/travels/NativeApprovalsRestIT.java +++ b/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus/src/test/java/org/acme/travels/NativeApprovalsRestIT.java @@ -18,9 +18,9 @@ import org.kie.kogito.testcontainers.quarkus.KeycloakQuarkusTestResource; import io.quarkus.test.common.QuarkusTestResource; -import io.quarkus.test.junit.NativeImageTest; +import io.quarkus.test.junit.QuarkusIntegrationTest; -@NativeImageTest +@QuarkusIntegrationTest @QuarkusTestResource(KeycloakQuarkusTestResource.class) public class NativeApprovalsRestIT extends ApprovalsRestIT { // run the same tests only against native image diff --git a/kogito-quarkus-examples/process-usertasks-with-security-quarkus/pom.xml b/kogito-quarkus-examples/process-usertasks-with-security-quarkus/pom.xml index 6f84b3d3ed..f00b943c01 100644 --- a/kogito-quarkus-examples/process-usertasks-with-security-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-usertasks-with-security-quarkus/pom.xml @@ -5,20 +5,20 @@ org.kie.kogito.examples kogito-quarkus-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT process-usertasks-with-security-quarkus Kogito Example :: Process Usertasks With Security Quarkus Kogito user tasks orchestration with security enabled on REST api - Quarkus - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/process-usertasks-with-security-quarkus/src/test/java/org/acme/travels/security/quarkus/ApprovalsProcessTest.java b/kogito-quarkus-examples/process-usertasks-with-security-quarkus/src/test/java/org/acme/travels/security/quarkus/ApprovalsProcessTest.java index b752b25a54..a96c2739ac 100644 --- a/kogito-quarkus-examples/process-usertasks-with-security-quarkus/src/test/java/org/acme/travels/security/quarkus/ApprovalsProcessTest.java +++ b/kogito-quarkus-examples/process-usertasks-with-security-quarkus/src/test/java/org/acme/travels/security/quarkus/ApprovalsProcessTest.java @@ -20,8 +20,8 @@ import java.util.List; import java.util.Map; -import javax.inject.Inject; -import javax.inject.Named; +import jakarta.inject.Inject; +import jakarta.inject.Named; import org.acme.travels.Address; import org.acme.travels.Traveller; diff --git a/kogito-quarkus-examples/rules-incubation-api-quarkus/pom.xml b/kogito-quarkus-examples/rules-incubation-api-quarkus/pom.xml index 75331b945f..f75c4cbd63 100644 --- a/kogito-quarkus-examples/rules-incubation-api-quarkus/pom.xml +++ b/kogito-quarkus-examples/rules-incubation-api-quarkus/pom.xml @@ -5,19 +5,19 @@ org.kie.kogito.examples kogito-quarkus-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT rules-incubation-api-quarkus Kogito Example :: Rules Incubation API With Quarkus - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/rules-incubation-api-quarkus/src/main/java/org/acme/CustomRestRules.java b/kogito-quarkus-examples/rules-incubation-api-quarkus/src/main/java/org/acme/CustomRestRules.java index 923a30f4f5..c354510ec6 100644 --- a/kogito-quarkus-examples/rules-incubation-api-quarkus/src/main/java/org/acme/CustomRestRules.java +++ b/kogito-quarkus-examples/rules-incubation-api-quarkus/src/main/java/org/acme/CustomRestRules.java @@ -18,12 +18,12 @@ import java.util.Map; import java.util.stream.Stream; -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 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 org.kie.kogito.examples.Hello; import org.kie.kogito.incubation.application.AppRoot; diff --git a/kogito-quarkus-examples/rules-legacy-quarkus-example/pom.xml b/kogito-quarkus-examples/rules-legacy-quarkus-example/pom.xml index 3b0a409833..b836109d26 100644 --- a/kogito-quarkus-examples/rules-legacy-quarkus-example/pom.xml +++ b/kogito-quarkus-examples/rules-legacy-quarkus-example/pom.xml @@ -5,19 +5,19 @@ org.kie.kogito.examples kogito-quarkus-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT rules-legacy-quarkus-example Kogito Example :: Rules Legacy API - Quarkus - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/rules-legacy-quarkus-example/src/main/java/org/kie/kogito/legacy/FindApprovedLoansEndpoint.java b/kogito-quarkus-examples/rules-legacy-quarkus-example/src/main/java/org/kie/kogito/legacy/FindApprovedLoansEndpoint.java index 7eb1ae4e38..b7dae2e9eb 100644 --- a/kogito-quarkus-examples/rules-legacy-quarkus-example/src/main/java/org/kie/kogito/legacy/FindApprovedLoansEndpoint.java +++ b/kogito-quarkus-examples/rules-legacy-quarkus-example/src/main/java/org/kie/kogito/legacy/FindApprovedLoansEndpoint.java @@ -18,12 +18,12 @@ import java.util.ArrayList; import java.util.List; -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 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 org.kie.api.runtime.KieRuntimeBuilder; import org.kie.api.runtime.KieSession; diff --git a/kogito-quarkus-examples/rules-legacy-quarkus-example/src/test/java/org/kie/kogito/NativeRestQueryTestIT.java b/kogito-quarkus-examples/rules-legacy-quarkus-example/src/test/java/org/kie/kogito/NativeRestQueryTestIT.java index 3455e8798f..b7324fef5f 100644 --- a/kogito-quarkus-examples/rules-legacy-quarkus-example/src/test/java/org/kie/kogito/NativeRestQueryTestIT.java +++ b/kogito-quarkus-examples/rules-legacy-quarkus-example/src/test/java/org/kie/kogito/NativeRestQueryTestIT.java @@ -15,9 +15,9 @@ */ package org.kie.kogito; -import io.quarkus.test.junit.NativeImageTest; +import io.quarkus.test.junit.QuarkusIntegrationTest; -@NativeImageTest +@QuarkusIntegrationTest public class NativeRestQueryTestIT extends RestQueryTest { // Execute the same tests but in native mode. diff --git a/kogito-quarkus-examples/rules-quarkus-helloworld/pom.xml b/kogito-quarkus-examples/rules-quarkus-helloworld/pom.xml index 3f593a1550..b3cf6b2494 100755 --- a/kogito-quarkus-examples/rules-quarkus-helloworld/pom.xml +++ b/kogito-quarkus-examples/rules-quarkus-helloworld/pom.xml @@ -5,19 +5,19 @@ org.kie.kogito.examples kogito-quarkus-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT rules-quarkus-helloworld Kogito Example :: Rules HelloWorld - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/rules-quarkus-helloworld/src/main/java/org/kie/kogito/examples/MyAgendaEventListener.java b/kogito-quarkus-examples/rules-quarkus-helloworld/src/main/java/org/kie/kogito/examples/MyAgendaEventListener.java index 0af433e963..1861cba5ad 100644 --- a/kogito-quarkus-examples/rules-quarkus-helloworld/src/main/java/org/kie/kogito/examples/MyAgendaEventListener.java +++ b/kogito-quarkus-examples/rules-quarkus-helloworld/src/main/java/org/kie/kogito/examples/MyAgendaEventListener.java @@ -17,7 +17,7 @@ import java.util.concurrent.atomic.AtomicInteger; -import javax.inject.Singleton; +import jakarta.inject.Singleton; import org.drools.core.event.DefaultAgendaEventListener; import org.jboss.logging.Logger; diff --git a/kogito-quarkus-examples/rules-quarkus-helloworld/src/test/java/org/kie/kogito/examples/HelloTest.java b/kogito-quarkus-examples/rules-quarkus-helloworld/src/test/java/org/kie/kogito/examples/HelloTest.java index 689a1fd08c..f2f6fd2d4f 100644 --- a/kogito-quarkus-examples/rules-quarkus-helloworld/src/test/java/org/kie/kogito/examples/HelloTest.java +++ b/kogito-quarkus-examples/rules-quarkus-helloworld/src/test/java/org/kie/kogito/examples/HelloTest.java @@ -15,7 +15,7 @@ */ package org.kie.kogito.examples; -import javax.inject.Inject; +import jakarta.inject.Inject; import org.junit.jupiter.api.Test; diff --git a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/pom.xml b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/pom.xml index d04d837993..9557d0a896 100644 --- a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/pom.xml +++ b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/pom.xml @@ -7,19 +7,19 @@ org.kie.kogito.examples kogito-quarkus-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT ruleunit-event-driven-quarkus Kogito Example :: Rule Unit Event-Driven :: Quarkus - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/ruleunit-quarkus-example/pom.xml b/kogito-quarkus-examples/ruleunit-quarkus-example/pom.xml index 8093fb0f02..c7ca85ef60 100644 --- a/kogito-quarkus-examples/ruleunit-quarkus-example/pom.xml +++ b/kogito-quarkus-examples/ruleunit-quarkus-example/pom.xml @@ -5,19 +5,19 @@ org.kie.kogito.examples kogito-quarkus-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT ruleunit-quarkus-example Kogito Example :: RuleUnit - Quarkus - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/ruleunit-quarkus-example/src/test/java/org/kie/kogito/decisiontable/quarkus/ruleunit/NativeRestQueryTestIT.java b/kogito-quarkus-examples/ruleunit-quarkus-example/src/test/java/org/kie/kogito/decisiontable/quarkus/ruleunit/NativeRestQueryTestIT.java index ae65452de2..244cc6e028 100644 --- a/kogito-quarkus-examples/ruleunit-quarkus-example/src/test/java/org/kie/kogito/decisiontable/quarkus/ruleunit/NativeRestQueryTestIT.java +++ b/kogito-quarkus-examples/ruleunit-quarkus-example/src/test/java/org/kie/kogito/decisiontable/quarkus/ruleunit/NativeRestQueryTestIT.java @@ -15,9 +15,9 @@ */ package org.kie.kogito.decisiontable.quarkus.ruleunit; -import io.quarkus.test.junit.NativeImageTest; +import io.quarkus.test.junit.QuarkusIntegrationTest; -@NativeImageTest +@QuarkusIntegrationTest public class NativeRestQueryTestIT extends RestQueryTest { // Execute the same tests but in native mode. diff --git a/kogito-quarkus-examples/trusty-tracing-quarkus-devservices/pom.xml b/kogito-quarkus-examples/trusty-tracing-quarkus-devservices/pom.xml index 90831591a0..6d72a2ccad 100644 --- a/kogito-quarkus-examples/trusty-tracing-quarkus-devservices/pom.xml +++ b/kogito-quarkus-examples/trusty-tracing-quarkus-devservices/pom.xml @@ -5,19 +5,19 @@ org.kie.kogito.examples kogito-quarkus-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT trusty-tracing-quarkus-devservices Kogito Example :: Trusty Tracing - Quarkus DevServices - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-springboot-examples/decisiontable-springboot-example/pom.xml b/kogito-springboot-examples/decisiontable-springboot-example/pom.xml index a6cc7875ee..83e900c777 100644 --- a/kogito-springboot-examples/decisiontable-springboot-example/pom.xml +++ b/kogito-springboot-examples/decisiontable-springboot-example/pom.xml @@ -5,14 +5,14 @@ org.kie.kogito.examples kogito-springboot-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT decisiontable-springboot-example Kogito Example :: Decision Table - Spring Boot - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-springboot-examples/decisiontable-springboot-example/src/test/java/org/kie/kogito/decisiontable/springboot/RestQueryTest.java b/kogito-springboot-examples/decisiontable-springboot-example/src/test/java/org/kie/kogito/decisiontable/springboot/RestQueryTest.java index 30860d23fb..4e3121e9b1 100644 --- a/kogito-springboot-examples/decisiontable-springboot-example/src/test/java/org/kie/kogito/decisiontable/springboot/RestQueryTest.java +++ b/kogito-springboot-examples/decisiontable-springboot-example/src/test/java/org/kie/kogito/decisiontable/springboot/RestQueryTest.java @@ -19,7 +19,7 @@ import org.junit.jupiter.api.Test; import org.kie.kogito.queries.KogitoSpringbootApplication; 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 io.restassured.RestAssured; diff --git a/kogito-springboot-examples/dmn-drools-springboot-metrics/pom.xml b/kogito-springboot-examples/dmn-drools-springboot-metrics/pom.xml index 67de35feea..9e371e4de7 100755 --- a/kogito-springboot-examples/dmn-drools-springboot-metrics/pom.xml +++ b/kogito-springboot-examples/dmn-drools-springboot-metrics/pom.xml @@ -7,14 +7,14 @@ org.kie.kogito.examples kogito-springboot-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT dmn-drools-springboot-metrics Kogito Example :: DMN Metrics SpringBoot - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/java/org/kie/kogito/examples/springboot/DashboardsListTest.java b/kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/java/org/kie/kogito/examples/springboot/DashboardsListTest.java index a0ae9e8eb2..dccbf1c39b 100644 --- a/kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/java/org/kie/kogito/examples/springboot/DashboardsListTest.java +++ b/kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/java/org/kie/kogito/examples/springboot/DashboardsListTest.java @@ -22,7 +22,7 @@ import org.junit.jupiter.api.Test; import org.springframework.boot.test.autoconfigure.actuate.metrics.AutoConfigureMetrics; import org.springframework.boot.test.context.SpringBootTest; -import org.springframework.boot.web.server.LocalServerPort; +import org.springframework.boot.test.web.server.LocalServerPort; import io.restassured.RestAssured; import io.restassured.http.ContentType; diff --git a/kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/java/org/kie/kogito/examples/springboot/DroolsMetricsTest.java b/kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/java/org/kie/kogito/examples/springboot/DroolsMetricsTest.java index abebfb6da0..b4b1f78706 100644 --- a/kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/java/org/kie/kogito/examples/springboot/DroolsMetricsTest.java +++ b/kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/java/org/kie/kogito/examples/springboot/DroolsMetricsTest.java @@ -19,7 +19,7 @@ import org.junit.jupiter.api.Test; import org.springframework.boot.test.autoconfigure.actuate.metrics.AutoConfigureMetrics; 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 io.restassured.RestAssured; diff --git a/kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/java/org/kie/kogito/examples/springboot/LoanEligibilityTest.java b/kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/java/org/kie/kogito/examples/springboot/LoanEligibilityTest.java index 894f46759c..ba697254c6 100644 --- a/kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/java/org/kie/kogito/examples/springboot/LoanEligibilityTest.java +++ b/kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/java/org/kie/kogito/examples/springboot/LoanEligibilityTest.java @@ -19,7 +19,7 @@ import org.junit.jupiter.api.Test; import org.springframework.boot.test.autoconfigure.actuate.metrics.AutoConfigureMetrics; import org.springframework.boot.test.context.SpringBootTest; -import org.springframework.boot.web.server.LocalServerPort; +import org.springframework.boot.test.web.server.LocalServerPort; import io.restassured.RestAssured; import io.restassured.http.ContentType; diff --git a/kogito-springboot-examples/dmn-event-driven-springboot/pom.xml b/kogito-springboot-examples/dmn-event-driven-springboot/pom.xml index dfb740f571..6f7f5f4a6c 100644 --- a/kogito-springboot-examples/dmn-event-driven-springboot/pom.xml +++ b/kogito-springboot-examples/dmn-event-driven-springboot/pom.xml @@ -8,14 +8,14 @@ org.kie.kogito.examples kogito-springboot-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT dmn-event-driven-springboot Kogito Example :: DMN Event-Driven :: Spring Boot - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-springboot-examples/dmn-listener-springboot/pom.xml b/kogito-springboot-examples/dmn-listener-springboot/pom.xml index 4bf7103971..2abf782f09 100644 --- a/kogito-springboot-examples/dmn-listener-springboot/pom.xml +++ b/kogito-springboot-examples/dmn-listener-springboot/pom.xml @@ -8,14 +8,14 @@ org.kie.kogito.examples kogito-springboot-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT dmn-listener-springboot Kogito Example :: DMN with listeners - Spring Boot - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-springboot-examples/dmn-listener-springboot/src/test/java/org/kie/kogito/dmn/springboot/example/listener/TrafficViolationListenerTest.java b/kogito-springboot-examples/dmn-listener-springboot/src/test/java/org/kie/kogito/dmn/springboot/example/listener/TrafficViolationListenerTest.java index a17dfd4c20..0239fcae04 100644 --- a/kogito-springboot-examples/dmn-listener-springboot/src/test/java/org/kie/kogito/dmn/springboot/example/listener/TrafficViolationListenerTest.java +++ b/kogito-springboot-examples/dmn-listener-springboot/src/test/java/org/kie/kogito/dmn/springboot/example/listener/TrafficViolationListenerTest.java @@ -27,7 +27,7 @@ import org.kie.kogito.dmn.springboot.example.mock.MockDMNRuntimeEventListener; import org.springframework.beans.factory.annotation.Autowired; 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 io.restassured.RestAssured; diff --git a/kogito-springboot-examples/dmn-listener-springboot/src/test/java/org/kie/kogito/dmn/springboot/example/listener/TrafficViolationTest.java b/kogito-springboot-examples/dmn-listener-springboot/src/test/java/org/kie/kogito/dmn/springboot/example/listener/TrafficViolationTest.java index d440b2f912..18dcf9eba7 100644 --- a/kogito-springboot-examples/dmn-listener-springboot/src/test/java/org/kie/kogito/dmn/springboot/example/listener/TrafficViolationTest.java +++ b/kogito-springboot-examples/dmn-listener-springboot/src/test/java/org/kie/kogito/dmn/springboot/example/listener/TrafficViolationTest.java @@ -18,7 +18,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; 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 io.restassured.RestAssured; diff --git a/kogito-springboot-examples/dmn-pmml-springboot-example/pom.xml b/kogito-springboot-examples/dmn-pmml-springboot-example/pom.xml index 48564bdf33..1077de0b1b 100644 --- a/kogito-springboot-examples/dmn-pmml-springboot-example/pom.xml +++ b/kogito-springboot-examples/dmn-pmml-springboot-example/pom.xml @@ -7,14 +7,14 @@ org.kie.kogito.examples kogito-springboot-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT dmn-pmml-springboot-example Kogito Example :: DMN :: PMML - Spring Boot - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/DMNMiningModelTest.java b/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/DMNMiningModelTest.java index 3d9de5cda8..4dbc61d2fd 100644 --- a/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/DMNMiningModelTest.java +++ b/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/DMNMiningModelTest.java @@ -18,7 +18,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; 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 io.restassured.RestAssured; diff --git a/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/DMNRegressionTest.java b/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/DMNRegressionTest.java index 0db95dc71b..6fbda4ff58 100644 --- a/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/DMNRegressionTest.java +++ b/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/DMNRegressionTest.java @@ -18,7 +18,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; 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 io.restassured.RestAssured; diff --git a/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/DMNScoreCardTest.java b/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/DMNScoreCardTest.java index 6287eaa2aa..4320fc756d 100644 --- a/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/DMNScoreCardTest.java +++ b/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/DMNScoreCardTest.java @@ -18,7 +18,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; 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 io.restassured.RestAssured; diff --git a/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/DMNTreeTest.java b/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/DMNTreeTest.java index 3885a8b888..ee1064bb4a 100644 --- a/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/DMNTreeTest.java +++ b/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/DMNTreeTest.java @@ -18,7 +18,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; 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 io.restassured.RestAssured; diff --git a/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/DecisionTreeTest.java b/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/DecisionTreeTest.java index 617b877357..d39fd3534b 100644 --- a/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/DecisionTreeTest.java +++ b/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/DecisionTreeTest.java @@ -21,7 +21,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; 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 io.restassured.RestAssured; diff --git a/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/LinRegTest.java b/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/LinRegTest.java index 24ff9ec0c8..37a9d745ba 100644 --- a/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/LinRegTest.java +++ b/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/LinRegTest.java @@ -21,7 +21,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; 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 io.restassured.RestAssured; diff --git a/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/MiningModelTest.java b/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/MiningModelTest.java index 0c57345b4d..95452775f9 100644 --- a/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/MiningModelTest.java +++ b/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/MiningModelTest.java @@ -21,7 +21,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; 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 io.restassured.RestAssured; diff --git a/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/ScoreCardTest.java b/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/ScoreCardTest.java index 64a10b51df..655408c6f9 100644 --- a/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/ScoreCardTest.java +++ b/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/ScoreCardTest.java @@ -21,7 +21,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; 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 io.restassured.RestAssured; diff --git a/kogito-springboot-examples/dmn-springboot-example/pom.xml b/kogito-springboot-examples/dmn-springboot-example/pom.xml index 1016db26ac..920e9effb3 100644 --- a/kogito-springboot-examples/dmn-springboot-example/pom.xml +++ b/kogito-springboot-examples/dmn-springboot-example/pom.xml @@ -8,14 +8,14 @@ org.kie.kogito.examples kogito-springboot-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT dmn-springboot-example Kogito Example :: DMN - Spring Boot - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-springboot-examples/dmn-springboot-example/src/test/java/org/kie/kogito/dmn/springboot/example/TrafficViolationTest.java b/kogito-springboot-examples/dmn-springboot-example/src/test/java/org/kie/kogito/dmn/springboot/example/TrafficViolationTest.java index cdd4237320..f38894360d 100644 --- a/kogito-springboot-examples/dmn-springboot-example/src/test/java/org/kie/kogito/dmn/springboot/example/TrafficViolationTest.java +++ b/kogito-springboot-examples/dmn-springboot-example/src/test/java/org/kie/kogito/dmn/springboot/example/TrafficViolationTest.java @@ -18,7 +18,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; 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 io.restassured.RestAssured; diff --git a/kogito-springboot-examples/dmn-tracing-springboot/pom.xml b/kogito-springboot-examples/dmn-tracing-springboot/pom.xml index 458b024c42..b11058082e 100644 --- a/kogito-springboot-examples/dmn-tracing-springboot/pom.xml +++ b/kogito-springboot-examples/dmn-tracing-springboot/pom.xml @@ -8,14 +8,14 @@ org.kie.kogito.examples kogito-springboot-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT dmn-tracing-springboot Kogito Example :: DMN Tracing - Spring Boot - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-springboot-examples/dmn-tracing-springboot/src/test/java/org/kie/kogito/dmn/springboot/tracing/LoanEligibilityIT.java b/kogito-springboot-examples/dmn-tracing-springboot/src/test/java/org/kie/kogito/dmn/springboot/tracing/LoanEligibilityIT.java index e3db89f928..becc38fc45 100644 --- a/kogito-springboot-examples/dmn-tracing-springboot/src/test/java/org/kie/kogito/dmn/springboot/tracing/LoanEligibilityIT.java +++ b/kogito-springboot-examples/dmn-tracing-springboot/src/test/java/org/kie/kogito/dmn/springboot/tracing/LoanEligibilityIT.java @@ -28,7 +28,7 @@ import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; 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.context.ContextConfiguration; import io.restassured.RestAssured; diff --git a/kogito-springboot-examples/flexible-process-springboot/pom.xml b/kogito-springboot-examples/flexible-process-springboot/pom.xml index a54b5b752d..d5881804db 100644 --- a/kogito-springboot-examples/flexible-process-springboot/pom.xml +++ b/kogito-springboot-examples/flexible-process-springboot/pom.xml @@ -6,7 +6,7 @@ org.kie.kogito.examples kogito-springboot-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT flexible-process-springboot @@ -14,8 +14,8 @@ Kogito service invocation - Spring Boot - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-springboot-examples/flexible-process-springboot/src/test/java/org/kie/kogito/flexible/example/springboot/ServiceDeskProcessTest.java b/kogito-springboot-examples/flexible-process-springboot/src/test/java/org/kie/kogito/flexible/example/springboot/ServiceDeskProcessTest.java index cdcfba2ad2..a0843eb7b9 100644 --- a/kogito-springboot-examples/flexible-process-springboot/src/test/java/org/kie/kogito/flexible/example/springboot/ServiceDeskProcessTest.java +++ b/kogito-springboot-examples/flexible-process-springboot/src/test/java/org/kie/kogito/flexible/example/springboot/ServiceDeskProcessTest.java @@ -27,7 +27,7 @@ import org.kie.kogito.flexible.example.service.TriageService; import org.kie.kogito.tests.KogitoSpringbootApplication; 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.annotation.DirtiesContext.ClassMode; diff --git a/kogito-springboot-examples/onboarding-springboot/pom.xml b/kogito-springboot-examples/onboarding-springboot/pom.xml index cbf0db3c57..d471520bc8 100644 --- a/kogito-springboot-examples/onboarding-springboot/pom.xml +++ b/kogito-springboot-examples/onboarding-springboot/pom.xml @@ -5,15 +5,15 @@ org.kie.kogito.examples kogito-springboot-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT onboarding-springboot Kogito Example :: Onboarding Example :: Onboarding with Business Process Spring Boot Onboarding function and service orchestration - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-springboot-examples/onboarding-springboot/src/main/java/org/kie/kogito/examples/WorkItemHandlerConfig.java b/kogito-springboot-examples/onboarding-springboot/src/main/java/org/kie/kogito/examples/WorkItemHandlerConfig.java index 92d7ecb125..02c0f90a28 100644 --- a/kogito-springboot-examples/onboarding-springboot/src/main/java/org/kie/kogito/examples/WorkItemHandlerConfig.java +++ b/kogito-springboot-examples/onboarding-springboot/src/main/java/org/kie/kogito/examples/WorkItemHandlerConfig.java @@ -22,8 +22,6 @@ import java.util.List; import java.util.Map; -import javax.annotation.PostConstruct; - import org.kie.kogito.addons.k8s.Endpoint; import org.kie.kogito.addons.k8s.EndpointQueryKey; import org.kie.kogito.addons.k8s.LocalEndpointDiscovery; @@ -35,6 +33,8 @@ import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Component; +import jakarta.annotation.PostConstruct; + @Component public class WorkItemHandlerConfig extends DefaultWorkItemHandlerConfig { diff --git a/kogito-springboot-examples/onboarding-springboot/src/test/java/org/kie/kogito/examples/onboarding/OnboardingEndpointIT.java b/kogito-springboot-examples/onboarding-springboot/src/test/java/org/kie/kogito/examples/onboarding/OnboardingEndpointIT.java index 03279f7644..4a7dc01e25 100644 --- a/kogito-springboot-examples/onboarding-springboot/src/test/java/org/kie/kogito/examples/onboarding/OnboardingEndpointIT.java +++ b/kogito-springboot-examples/onboarding-springboot/src/test/java/org/kie/kogito/examples/onboarding/OnboardingEndpointIT.java @@ -34,7 +34,7 @@ import org.kie.kogito.testcontainers.springboot.InfinispanSpringBootTestResource; import org.springframework.beans.factory.annotation.Autowired; 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.context.ContextConfiguration; import org.springframework.test.context.junit.jupiter.SpringExtension; diff --git a/kogito-springboot-examples/pmml-event-driven-springboot/pom.xml b/kogito-springboot-examples/pmml-event-driven-springboot/pom.xml index 9a46b97a15..b7b3013564 100644 --- a/kogito-springboot-examples/pmml-event-driven-springboot/pom.xml +++ b/kogito-springboot-examples/pmml-event-driven-springboot/pom.xml @@ -7,14 +7,14 @@ org.kie.kogito.examples kogito-springboot-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT pmml-event-driven-springboot Kogito Example :: PMML Event-Driven - Spring Boot - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-springboot-examples/pmml-springboot-example/pom.xml b/kogito-springboot-examples/pmml-springboot-example/pom.xml index 8f7ef4a2f8..5f0ad3cacc 100644 --- a/kogito-springboot-examples/pmml-springboot-example/pom.xml +++ b/kogito-springboot-examples/pmml-springboot-example/pom.xml @@ -7,14 +7,14 @@ org.kie.kogito.examples kogito-springboot-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT pmml-springboot-example Kogito Example :: PMML - Spring Boot - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-springboot-examples/pmml-springboot-example/src/test/java/org/kie/kogito/pmml/springboot/example/LinRegTest.java b/kogito-springboot-examples/pmml-springboot-example/src/test/java/org/kie/kogito/pmml/springboot/example/LinRegTest.java index e2be1f17ab..ea8ec38501 100644 --- a/kogito-springboot-examples/pmml-springboot-example/src/test/java/org/kie/kogito/pmml/springboot/example/LinRegTest.java +++ b/kogito-springboot-examples/pmml-springboot-example/src/test/java/org/kie/kogito/pmml/springboot/example/LinRegTest.java @@ -21,7 +21,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; 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 io.restassured.RestAssured; diff --git a/kogito-springboot-examples/pmml-springboot-example/src/test/java/org/kie/kogito/pmml/springboot/example/MiningModelTest.java b/kogito-springboot-examples/pmml-springboot-example/src/test/java/org/kie/kogito/pmml/springboot/example/MiningModelTest.java index 875c7a2f1f..cf0d651c6b 100644 --- a/kogito-springboot-examples/pmml-springboot-example/src/test/java/org/kie/kogito/pmml/springboot/example/MiningModelTest.java +++ b/kogito-springboot-examples/pmml-springboot-example/src/test/java/org/kie/kogito/pmml/springboot/example/MiningModelTest.java @@ -21,7 +21,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; 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 io.restassured.RestAssured; diff --git a/kogito-springboot-examples/pmml-springboot-example/src/test/java/org/kie/kogito/pmml/springboot/example/SampleMineTest.java b/kogito-springboot-examples/pmml-springboot-example/src/test/java/org/kie/kogito/pmml/springboot/example/SampleMineTest.java index 686593bf21..af14c7aec4 100644 --- a/kogito-springboot-examples/pmml-springboot-example/src/test/java/org/kie/kogito/pmml/springboot/example/SampleMineTest.java +++ b/kogito-springboot-examples/pmml-springboot-example/src/test/java/org/kie/kogito/pmml/springboot/example/SampleMineTest.java @@ -21,7 +21,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; 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 io.restassured.RestAssured; diff --git a/kogito-springboot-examples/pmml-springboot-example/src/test/java/org/kie/kogito/pmml/springboot/example/SimpleScorecardTest.java b/kogito-springboot-examples/pmml-springboot-example/src/test/java/org/kie/kogito/pmml/springboot/example/SimpleScorecardTest.java index 0ab88633a0..58852e3c4f 100644 --- a/kogito-springboot-examples/pmml-springboot-example/src/test/java/org/kie/kogito/pmml/springboot/example/SimpleScorecardTest.java +++ b/kogito-springboot-examples/pmml-springboot-example/src/test/java/org/kie/kogito/pmml/springboot/example/SimpleScorecardTest.java @@ -21,7 +21,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; 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 io.restassured.RestAssured; diff --git a/kogito-springboot-examples/pom.xml b/kogito-springboot-examples/pom.xml index df57d4a323..fb3be5f3a3 100644 --- a/kogito-springboot-examples/pom.xml +++ b/kogito-springboot-examples/pom.xml @@ -7,7 +7,7 @@ org.kie.kogito.examples kogito-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT kogito-springboot-examples diff --git a/kogito-springboot-examples/process-business-rules-springboot/pom.xml b/kogito-springboot-examples/process-business-rules-springboot/pom.xml index e770ea884d..3d2f407635 100644 --- a/kogito-springboot-examples/process-business-rules-springboot/pom.xml +++ b/kogito-springboot-examples/process-business-rules-springboot/pom.xml @@ -6,7 +6,7 @@ org.kie.kogito.examples kogito-springboot-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT Kogito Example :: Process Business Rules Spring Boot @@ -14,8 +14,8 @@ Kogito business rules invocation - Spring Boot - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-springboot-examples/process-decisions-rest-springboot/pom.xml b/kogito-springboot-examples/process-decisions-rest-springboot/pom.xml index ce8928da69..aa69f1d176 100644 --- a/kogito-springboot-examples/process-decisions-rest-springboot/pom.xml +++ b/kogito-springboot-examples/process-decisions-rest-springboot/pom.xml @@ -5,15 +5,15 @@ org.kie.kogito.examples kogito-springboot-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT process-decisions-rest-springboot Kogito Example :: Process :: Decisions :: REST :: Spring Boot Process with DMN and DRL integration through REST - Spring Boot - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-springboot-examples/process-decisions-rules-springboot/pom.xml b/kogito-springboot-examples/process-decisions-rules-springboot/pom.xml index 72beacfa13..066fb9c360 100644 --- a/kogito-springboot-examples/process-decisions-rules-springboot/pom.xml +++ b/kogito-springboot-examples/process-decisions-rules-springboot/pom.xml @@ -5,15 +5,15 @@ org.kie.kogito.examples kogito-springboot-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT process-decisions-rules-springboot Kogito Example :: Process :: Decisions :: Rules :: Spring Boot Process with DRL, DMN and DRL integration - Spring Boot - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-springboot-examples/process-decisions-rules-springboot/src/test/java/org.kie.kogito.traffic/TrafficProcessIT.java b/kogito-springboot-examples/process-decisions-rules-springboot/src/test/java/org.kie.kogito.traffic/TrafficProcessIT.java index 35fe70cf43..a28941480d 100644 --- a/kogito-springboot-examples/process-decisions-rules-springboot/src/test/java/org.kie.kogito.traffic/TrafficProcessIT.java +++ b/kogito-springboot-examples/process-decisions-rules-springboot/src/test/java/org.kie.kogito.traffic/TrafficProcessIT.java @@ -22,7 +22,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; -import org.springframework.boot.web.server.LocalServerPort; +import org.springframework.boot.test.web.server.LocalServerPort; import io.restassured.RestAssured; import io.restassured.http.ContentType; diff --git a/kogito-springboot-examples/process-decisions-springboot/pom.xml b/kogito-springboot-examples/process-decisions-springboot/pom.xml index 24b7e98096..7c9126fa1d 100644 --- a/kogito-springboot-examples/process-decisions-springboot/pom.xml +++ b/kogito-springboot-examples/process-decisions-springboot/pom.xml @@ -5,15 +5,15 @@ org.kie.kogito.examples kogito-springboot-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT process-decisions-springboot Kogito Example :: Process :: Decisions :: Spring Boot Process with DMN and DRL integration - Spring Boot - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-springboot-examples/process-decisions-springboot/src/test/java/org.kie.kogito.traffic/TrafficProcessIT.java b/kogito-springboot-examples/process-decisions-springboot/src/test/java/org.kie.kogito.traffic/TrafficProcessIT.java index b3e8048df7..69c650592b 100644 --- a/kogito-springboot-examples/process-decisions-springboot/src/test/java/org.kie.kogito.traffic/TrafficProcessIT.java +++ b/kogito-springboot-examples/process-decisions-springboot/src/test/java/org.kie.kogito.traffic/TrafficProcessIT.java @@ -22,7 +22,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; -import org.springframework.boot.web.server.LocalServerPort; +import org.springframework.boot.test.web.server.LocalServerPort; import io.restassured.RestAssured; import io.restassured.http.ContentType; diff --git a/kogito-springboot-examples/process-infinispan-persistence-springboot/pom.xml b/kogito-springboot-examples/process-infinispan-persistence-springboot/pom.xml index fa6e8e5f3b..601fad3750 100644 --- a/kogito-springboot-examples/process-infinispan-persistence-springboot/pom.xml +++ b/kogito-springboot-examples/process-infinispan-persistence-springboot/pom.xml @@ -6,7 +6,7 @@ org.kie.kogito.examples kogito-springboot-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT process-infinispan-persistence-springboot @@ -14,8 +14,8 @@ Kogito with Infinispan persistence - Spring Boot - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-springboot-examples/process-infinispan-persistence-springboot/src/test/java/org/acme/deals/DealsRestIT.java b/kogito-springboot-examples/process-infinispan-persistence-springboot/src/test/java/org/acme/deals/DealsRestIT.java index 6495d06f88..79875699d9 100644 --- a/kogito-springboot-examples/process-infinispan-persistence-springboot/src/test/java/org/acme/deals/DealsRestIT.java +++ b/kogito-springboot-examples/process-infinispan-persistence-springboot/src/test/java/org/acme/deals/DealsRestIT.java @@ -21,7 +21,7 @@ import org.junit.jupiter.api.Test; import org.kie.kogito.testcontainers.springboot.InfinispanSpringBootTestResource; 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.context.ContextConfiguration; import io.restassured.RestAssured; diff --git a/kogito-springboot-examples/process-kafka-multi-springboot/pom.xml b/kogito-springboot-examples/process-kafka-multi-springboot/pom.xml index a0ac301010..efc711ab41 100644 --- a/kogito-springboot-examples/process-kafka-multi-springboot/pom.xml +++ b/kogito-springboot-examples/process-kafka-multi-springboot/pom.xml @@ -6,7 +6,7 @@ org.kie.kogito.examples kogito-springboot-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT process-kafka-multi-springboot @@ -14,8 +14,8 @@ Kogito with Kafka - Spring Boot, using multiple channels - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-springboot-examples/process-kafka-quickstart-springboot/pom.xml b/kogito-springboot-examples/process-kafka-quickstart-springboot/pom.xml index aee4a36fde..2e6577ba04 100644 --- a/kogito-springboot-examples/process-kafka-quickstart-springboot/pom.xml +++ b/kogito-springboot-examples/process-kafka-quickstart-springboot/pom.xml @@ -6,7 +6,7 @@ org.kie.kogito.examples kogito-springboot-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT process-kafka-quickstart-springboot @@ -14,8 +14,8 @@ Kogito with Kafka - Spring Boot - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-springboot-examples/process-mongodb-persistence-springboot/pom.xml b/kogito-springboot-examples/process-mongodb-persistence-springboot/pom.xml index 252f7d39e0..0c026a984d 100644 --- a/kogito-springboot-examples/process-mongodb-persistence-springboot/pom.xml +++ b/kogito-springboot-examples/process-mongodb-persistence-springboot/pom.xml @@ -6,7 +6,7 @@ org.kie.kogito.examples kogito-springboot-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT process-mongodb-persistence-springboot @@ -15,8 +15,8 @@ true - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-springboot-examples/process-mongodb-persistence-springboot/src/test/java/org/acme/deals/DealsRestIT.java b/kogito-springboot-examples/process-mongodb-persistence-springboot/src/test/java/org/acme/deals/DealsRestIT.java index 66682d68d6..0b88d67e73 100644 --- a/kogito-springboot-examples/process-mongodb-persistence-springboot/src/test/java/org/acme/deals/DealsRestIT.java +++ b/kogito-springboot-examples/process-mongodb-persistence-springboot/src/test/java/org/acme/deals/DealsRestIT.java @@ -20,7 +20,7 @@ import org.junit.jupiter.api.Test; import org.kie.kogito.testcontainers.springboot.MongoDBSpringBootTestResource; 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.context.ContextConfiguration; import io.restassured.RestAssured; diff --git a/kogito-springboot-examples/process-monitoring-springboot/pom.xml b/kogito-springboot-examples/process-monitoring-springboot/pom.xml index 06d75a9cfd..d9a74ee1a0 100644 --- a/kogito-springboot-examples/process-monitoring-springboot/pom.xml +++ b/kogito-springboot-examples/process-monitoring-springboot/pom.xml @@ -6,15 +6,15 @@ org.kie.kogito.examples kogito-springboot-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT process-monitoring-springboot Kogito Example :: Process Monitoring :: Spring Boot - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-springboot-examples/process-monitoring-springboot/src/test/java/org/kie/kogito/examples/springboot/DashboardGenerationTest.java b/kogito-springboot-examples/process-monitoring-springboot/src/test/java/org/kie/kogito/examples/springboot/DashboardGenerationTest.java index abc62570ff..a4b22b1431 100644 --- a/kogito-springboot-examples/process-monitoring-springboot/src/test/java/org/kie/kogito/examples/springboot/DashboardGenerationTest.java +++ b/kogito-springboot-examples/process-monitoring-springboot/src/test/java/org/kie/kogito/examples/springboot/DashboardGenerationTest.java @@ -23,7 +23,7 @@ import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; 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.context.junit.jupiter.SpringExtension; import io.restassured.RestAssured; diff --git a/kogito-springboot-examples/process-monitoring-springboot/src/test/java/org/kie/kogito/examples/springboot/ProcessMetricsTest.java b/kogito-springboot-examples/process-monitoring-springboot/src/test/java/org/kie/kogito/examples/springboot/ProcessMetricsTest.java index 67e78bfa51..489d18b49b 100644 --- a/kogito-springboot-examples/process-monitoring-springboot/src/test/java/org/kie/kogito/examples/springboot/ProcessMetricsTest.java +++ b/kogito-springboot-examples/process-monitoring-springboot/src/test/java/org/kie/kogito/examples/springboot/ProcessMetricsTest.java @@ -25,7 +25,7 @@ import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.boot.test.autoconfigure.actuate.metrics.AutoConfigureMetrics; 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.context.junit.jupiter.SpringExtension; import io.restassured.RestAssured; diff --git a/kogito-springboot-examples/process-outbox-mongodb-springboot/pom.xml b/kogito-springboot-examples/process-outbox-mongodb-springboot/pom.xml index 703fb4bcad..5ab66c819e 100644 --- a/kogito-springboot-examples/process-outbox-mongodb-springboot/pom.xml +++ b/kogito-springboot-examples/process-outbox-mongodb-springboot/pom.xml @@ -6,7 +6,7 @@ org.kie.kogito.examples kogito-springboot-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT process-outbox-mongodb-springboot @@ -15,8 +15,8 @@ 1.7 - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-springboot-examples/process-performance-springboot/pom.xml b/kogito-springboot-examples/process-performance-springboot/pom.xml index 2c3f44867b..0250aa1402 100755 --- a/kogito-springboot-examples/process-performance-springboot/pom.xml +++ b/kogito-springboot-examples/process-performance-springboot/pom.xml @@ -7,15 +7,15 @@ org.kie.kogito.examples kogito-springboot-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT process-performance-springboot Kogito Example :: Springboot Performance test Springboot Performance test - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT @@ -61,7 +61,7 @@ org.springdoc - springdoc-openapi-ui + springdoc-openapi-starter-webmvc-ui org.springframework.boot diff --git a/kogito-springboot-examples/process-postgresql-persistence-springboot/pom.xml b/kogito-springboot-examples/process-postgresql-persistence-springboot/pom.xml index b64ac9d404..eab562cb4e 100644 --- a/kogito-springboot-examples/process-postgresql-persistence-springboot/pom.xml +++ b/kogito-springboot-examples/process-postgresql-persistence-springboot/pom.xml @@ -6,7 +6,7 @@ org.kie.kogito.examples kogito-springboot-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT process-postgresql-persistence-springboot @@ -14,8 +14,8 @@ Kogito with PostgreSQL persistence - Spring Boot - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-springboot-examples/process-postgresql-persistence-springboot/src/test/java/org/acme/deals/DealsRestIT.java b/kogito-springboot-examples/process-postgresql-persistence-springboot/src/test/java/org/acme/deals/DealsRestIT.java index 2cd9176a6d..83e8ecd7cc 100644 --- a/kogito-springboot-examples/process-postgresql-persistence-springboot/src/test/java/org/acme/deals/DealsRestIT.java +++ b/kogito-springboot-examples/process-postgresql-persistence-springboot/src/test/java/org/acme/deals/DealsRestIT.java @@ -20,7 +20,7 @@ import org.junit.jupiter.api.Test; import org.kie.kogito.testcontainers.springboot.PostgreSqlSpringBootTestResource; 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.context.ContextConfiguration; import io.restassured.RestAssured; diff --git a/kogito-springboot-examples/process-rest-service-call-springboot/pom.xml b/kogito-springboot-examples/process-rest-service-call-springboot/pom.xml index 21ffc3289e..5e7587b198 100644 --- a/kogito-springboot-examples/process-rest-service-call-springboot/pom.xml +++ b/kogito-springboot-examples/process-rest-service-call-springboot/pom.xml @@ -6,7 +6,7 @@ org.kie.kogito.examples kogito-springboot-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT process-rest-service-call-springboot @@ -14,8 +14,8 @@ Kogito service invocation with REST - Spring Boot - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-springboot-examples/process-scripts-springboot/pom.xml b/kogito-springboot-examples/process-scripts-springboot/pom.xml index 1dfd2631dc..039feb2e89 100644 --- a/kogito-springboot-examples/process-scripts-springboot/pom.xml +++ b/kogito-springboot-examples/process-scripts-springboot/pom.xml @@ -6,7 +6,7 @@ org.kie.kogito.examples kogito-springboot-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT process-scripts-springboot @@ -14,8 +14,8 @@ Kogito script invocation - Spring Boot - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-springboot-examples/process-service-calls-springboot/pom.xml b/kogito-springboot-examples/process-service-calls-springboot/pom.xml index b689418ad1..d937ba467c 100644 --- a/kogito-springboot-examples/process-service-calls-springboot/pom.xml +++ b/kogito-springboot-examples/process-service-calls-springboot/pom.xml @@ -6,7 +6,7 @@ org.kie.kogito.examples kogito-springboot-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT process-service-calls-springboot @@ -14,8 +14,8 @@ Kogito service invocation - Spring Boot - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-springboot-examples/process-springboot-example/pom.xml b/kogito-springboot-examples/process-springboot-example/pom.xml index 4ba2e55543..0d9f2ac365 100644 --- a/kogito-springboot-examples/process-springboot-example/pom.xml +++ b/kogito-springboot-examples/process-springboot-example/pom.xml @@ -6,7 +6,7 @@ org.kie.kogito.examples kogito-springboot-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT process-springboot-example @@ -14,8 +14,8 @@ Order management service - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-springboot-examples/process-springboot-example/src/test/java/org/kie/kogito/examples/demo/OrdersRestIT.java b/kogito-springboot-examples/process-springboot-example/src/test/java/org/kie/kogito/examples/demo/OrdersRestIT.java index 975926ef57..209a7245ae 100644 --- a/kogito-springboot-examples/process-springboot-example/src/test/java/org/kie/kogito/examples/demo/OrdersRestIT.java +++ b/kogito-springboot-examples/process-springboot-example/src/test/java/org/kie/kogito/examples/demo/OrdersRestIT.java @@ -26,7 +26,7 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; 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.context.ContextConfiguration; import org.springframework.test.context.junit.jupiter.SpringExtension; diff --git a/kogito-springboot-examples/process-springboot-example/src/test/java/org/kie/kogito/examples/demo/PersonsRestIT.java b/kogito-springboot-examples/process-springboot-example/src/test/java/org/kie/kogito/examples/demo/PersonsRestIT.java index ca00f4a9bd..b31ac9498f 100644 --- a/kogito-springboot-examples/process-springboot-example/src/test/java/org/kie/kogito/examples/demo/PersonsRestIT.java +++ b/kogito-springboot-examples/process-springboot-example/src/test/java/org/kie/kogito/examples/demo/PersonsRestIT.java @@ -27,7 +27,7 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; 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.context.ContextConfiguration; import org.springframework.test.context.junit.jupiter.SpringExtension; diff --git a/kogito-springboot-examples/process-timer-springboot/pom.xml b/kogito-springboot-examples/process-timer-springboot/pom.xml index 00b0b708b6..af56dfc464 100644 --- a/kogito-springboot-examples/process-timer-springboot/pom.xml +++ b/kogito-springboot-examples/process-timer-springboot/pom.xml @@ -4,7 +4,7 @@ org.kie.kogito.examples kogito-springboot-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT process-timer-springboot @@ -12,8 +12,8 @@ Kogito with timers - Spring Boot - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/pom.xml b/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/pom.xml index 8a3914d269..c474c3706d 100644 --- a/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/pom.xml +++ b/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/pom.xml @@ -6,7 +6,7 @@ org.kie.kogito.examples kogito-springboot-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT process-usertasks-custom-lifecycle-springboot @@ -14,8 +14,8 @@ Kogito usertasks orchestration with custom life cycle - Spring Boot - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-springboot-examples/process-usertasks-springboot-with-console/pom.xml b/kogito-springboot-examples/process-usertasks-springboot-with-console/pom.xml index 7b1859a5ff..92d73b37ef 100644 --- a/kogito-springboot-examples/process-usertasks-springboot-with-console/pom.xml +++ b/kogito-springboot-examples/process-usertasks-springboot-with-console/pom.xml @@ -6,7 +6,7 @@ org.kie.kogito.examples kogito-springboot-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT process-usertasks-springboot-with-console @@ -15,8 +15,8 @@ true - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-springboot-examples/process-usertasks-springboot/pom.xml b/kogito-springboot-examples/process-usertasks-springboot/pom.xml index 0261a5c95a..9adca82267 100644 --- a/kogito-springboot-examples/process-usertasks-springboot/pom.xml +++ b/kogito-springboot-examples/process-usertasks-springboot/pom.xml @@ -6,7 +6,7 @@ org.kie.kogito.examples kogito-springboot-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT process-usertasks-springboot @@ -14,8 +14,8 @@ Kogito usertasks orchestration - Spring Boot - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/docker-compose/docker-compose.yml b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/docker-compose/docker-compose.yml index a9167a60e4..a4d8633e62 100755 --- a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/docker-compose/docker-compose.yml +++ b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/docker-compose/docker-compose.yml @@ -115,19 +115,3 @@ services: environment: KOGITO_DATAINDEX_HTTP_URL: http://${DOCKER_GATEWAY_HOST:-host.docker.internal}:8180/graphql KOGITO_TASK_CONSOLE_PROPS: -Dkogito.consoles.keycloak.config.url=http://${DOCKER_GATEWAY_HOST:-host.docker.internal}:8480/auth -Dkogito.consoles.keycloak.config.health-check-url=http://${DOCKER_GATEWAY_HOST:-host.docker.internal}:8480/auth/realms/kogito/.well-known/openid-configuration - - process-usertasks-with-security-oidc-springboot-with-console: - container_name: process-usertasks-with-security-oidc-springboot-with-console - image: org.kie.kogito.examples/process-usertasks-with-security-oidc-springboot-with-console:1.0 - ports: - - 8080:8080 - depends_on: - infinispan: - condition: service_healthy - data-index: - condition: service_started - environment: - MANAGEMENT_ENDPOINTS_WEB_CORS_ALLOWED_ORIGINS: "/.*/" - INFINISPAN_REMOTE_SERVER_LIST: infinispan:11222 - SPRING_KAFKA_BOOTSTRAP_SERVERS: kafka:29092 - KEYCLOAK_AUTH_SERVER_URL: http://${DOCKER_GATEWAY_HOST:-host.docker.internal}:8480/auth \ No newline at end of file diff --git a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/pom.xml b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/pom.xml index 5eb4ea4ffc..97377457b3 100644 --- a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/pom.xml +++ b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/pom.xml @@ -6,7 +6,7 @@ org.kie.kogito.examples kogito-springboot-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT process-usertasks-with-security-oidc-springboot-with-console @@ -15,8 +15,8 @@ true - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT @@ -28,13 +28,6 @@ pom import - - org.keycloak.bom - keycloak-adapter-bom - ${version.org.keycloak} - pom - import - org.infinispan infinispan-bom @@ -65,8 +58,8 @@ spring-boot-starter-security - org.keycloak - keycloak-spring-boot-starter + org.springframework.security + spring-security-oauth2-authorization-server @@ -79,7 +72,7 @@ org.infinispan - infinispan-spring-boot-starter-remote + infinispan-spring-boot3-starter-remote org.kie.kogito diff --git a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/main/java/org/kie/kogito/springboot/DefaultWebSecurityConfig.java b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/main/java/org/kie/kogito/springboot/DefaultWebSecurityConfig.java index d72bb6a176..b7bae3369d 100644 --- a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/main/java/org/kie/kogito/springboot/DefaultWebSecurityConfig.java +++ b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/main/java/org/kie/kogito/springboot/DefaultWebSecurityConfig.java @@ -15,50 +15,26 @@ */ package org.kie.kogito.springboot; -import org.keycloak.adapters.springsecurity.KeycloakConfiguration; -import org.keycloak.adapters.springsecurity.KeycloakSecurityComponents; -import org.keycloak.adapters.springsecurity.authentication.KeycloakAuthenticationProvider; -import org.keycloak.adapters.springsecurity.config.KeycloakWebSecurityConfigurerAdapter; -import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; -import org.springframework.context.annotation.ComponentScan; -import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder; +import org.springframework.context.annotation.Configuration; import org.springframework.security.config.annotation.web.builders.HttpSecurity; -import org.springframework.security.core.authority.mapping.SimpleAuthorityMapper; -import org.springframework.security.core.session.SessionRegistryImpl; -import org.springframework.security.web.authentication.session.RegisterSessionAuthenticationStrategy; -import org.springframework.security.web.authentication.session.SessionAuthenticationStrategy; +import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity; +import org.springframework.security.web.SecurityFilterChain; -@KeycloakConfiguration -@ComponentScan(basePackageClasses = KeycloakSecurityComponents.class) -class DefaultWebSecurityConfig extends KeycloakWebSecurityConfigurerAdapter { - - @Autowired - public void configureGlobal(AuthenticationManagerBuilder auth) { - SimpleAuthorityMapper grantedAuthorityMapper = new SimpleAuthorityMapper(); - grantedAuthorityMapper.setPrefix("ROLE_"); - - KeycloakAuthenticationProvider keycloakAuthenticationProvider = keycloakAuthenticationProvider(); - keycloakAuthenticationProvider.setGrantedAuthoritiesMapper(grantedAuthorityMapper); - - auth.authenticationProvider(keycloakAuthenticationProvider); - } +@Configuration +@EnableWebSecurity +class DefaultWebSecurityConfig { @Bean - @Override - protected SessionAuthenticationStrategy sessionAuthenticationStrategy() { - return new RegisterSessionAuthenticationStrategy( - new SessionRegistryImpl()); - } - - @Override - protected void configure(HttpSecurity http) throws Exception { - super.configure(http); - http.authorizeRequests() + public SecurityFilterChain configure(HttpSecurity http) throws Exception { + http.authorizeHttpRequests() .anyRequest() - .permitAll(); + .authenticated() + .and() + .oauth2ResourceServer().jwt(); http.cors() .and() .csrf().disable(); + return http.build(); } } diff --git a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/main/java/org/kie/kogito/springboot/KeycloakResolverConfig.java b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/main/java/org/kie/kogito/springboot/KeycloakResolverConfig.java deleted file mode 100644 index add510733f..0000000000 --- a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/main/java/org/kie/kogito/springboot/KeycloakResolverConfig.java +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. - * - * 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 - * - * 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.springboot; - -import org.keycloak.adapters.springboot.KeycloakSpringBootConfigResolver; -import org.springframework.context.annotation.Bean; -import org.springframework.context.annotation.Configuration; - -@Configuration -public class KeycloakResolverConfig { - - @Bean - public KeycloakSpringBootConfigResolver KeycloakConfigResolver() { - return new KeycloakSpringBootConfigResolver(); - } -} diff --git a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/main/resources/application.properties b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/main/resources/application.properties index 171e1bc030..3d3238bea1 100644 --- a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/main/resources/application.properties +++ b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/main/resources/application.properties @@ -1,22 +1,7 @@ server.address=0.0.0.0 infinispan.remote.server-list=127.0.0.1:11222 -keycloak.auth-server-url=http://localhost:8480/auth - -keycloak.realm=kogito -keycloak.resource=kogito-app -keycloak.credentials.secret=secret -keycloak.cors=true -keycloak.ssl-required=external -keycloak.bearer-only=true -keycloak.use-resource-role-mappings=true - -kogito.dataindex.http.url=http://localhost:8180 -kogito.service.url=http://localhost:8080 -kogito.persistence.type=infinispan - -spring.kafka.bootstrap-servers=localhost:9092 - +spring.security.oauth2.resourceserver.jwt.issuer-uri=http://localhost:8480/auth/realms/kogito #mp.messaging.outgoing.kogito-processinstances-events.bootstrap.servers=localhost:9092 mp.messaging.outgoing.kogito-processinstances-events.connector=smallrye-kafka diff --git a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/test/java/org/acme/travels/ApprovalsRestIT.java b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/test/java/org/acme/travels/ApprovalsRestIT.java index e45fefd324..1ec08b142b 100644 --- a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/test/java/org/acme/travels/ApprovalsRestIT.java +++ b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/test/java/org/acme/travels/ApprovalsRestIT.java @@ -15,30 +15,28 @@ */ package org.acme.travels; +import io.restassured.RestAssured; +import io.restassured.http.ContentType; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; -import org.keycloak.representations.AccessTokenResponse; import org.kie.kogito.springboot.KogitoSpringbootApplication; import org.kie.kogito.testcontainers.springboot.InfinispanSpringBootTestResource; import org.kie.kogito.testcontainers.springboot.KafkaSpringBootTestResource; import org.kie.kogito.testcontainers.springboot.KeycloakSpringBootTestResource; 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.context.ContextConfiguration; import org.springframework.test.context.junit.jupiter.SpringExtension; -import io.restassured.RestAssured; -import io.restassured.http.ContentType; - import static io.restassured.RestAssured.given; import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.CoreMatchers.notNullValue; @ExtendWith(SpringExtension.class) @SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT, classes = KogitoSpringbootApplication.class) -@ContextConfiguration(initializers = { KeycloakSpringBootTestResource.class, InfinispanSpringBootTestResource.Conditional.class, KafkaSpringBootTestResource.class }) +@ContextConfiguration(initializers = {KeycloakSpringBootTestResource.class, InfinispanSpringBootTestResource.Conditional.class, KafkaSpringBootTestResource.class}) public class ApprovalsRestIT { @LocalServerPort @@ -60,8 +58,7 @@ public void testStartApprovalUnauthenticated() { .when() .post("/approvals") .then() - .statusCode(400); - + .statusCode(401); } @Test @@ -96,7 +93,7 @@ public void testStartApprovalAuthorized() { .get("/approvals/" + id + "/tasks?user=admin&group=managers") .then() .statusCode(200) - .body("$.size", is(1)) + .body("size()", is(1)) .body("[0].name", is("firstLineApproval")) .extract() .path("[0].id"); @@ -135,8 +132,8 @@ private String getAccessToken(String userName) { .param("client_secret", "secret") .when() .post(keycloakUrl + "/realms/kogito/protocol/openid-connect/token") - .as(AccessTokenResponse.class).getToken(); - + .then() + .extract() + .path("access_token"); } - } diff --git a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/test/resources/application.properties b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/test/resources/application.properties index 7740348dd8..a1451ed66f 100644 --- a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/test/resources/application.properties +++ b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/test/resources/application.properties @@ -1,8 +1,5 @@ -keycloak.realm=kogito -keycloak.resource=kogito-app -keycloak.credentials.secret=secret -keycloak.bearer-only=true +spring.security.oauth2.resourceserver.jwt.issuer-uri=http://localhost:8480/auth/realms/kogito spring.main.allow-bean-definition-overriding=true diff --git a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/pom.xml b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/pom.xml index e242442ecc..861df30b6f 100644 --- a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/pom.xml +++ b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/pom.xml @@ -6,7 +6,7 @@ org.kie.kogito.examples kogito-springboot-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT process-usertasks-with-security-oidc-springboot @@ -14,8 +14,8 @@ Kogito usertasks orchestration with security enabled on REST api - Spring Boot - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT @@ -27,13 +27,6 @@ pom import - - org.keycloak.bom - keycloak-adapter-bom - ${version.org.keycloak} - pom - import - @@ -47,8 +40,8 @@ spring-boot-starter-security - org.keycloak - keycloak-spring-boot-starter + org.springframework.security + spring-security-oauth2-authorization-server diff --git a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/main/java/org/kie/kogito/springboot/DefaultWebSecurityConfig.java b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/main/java/org/kie/kogito/springboot/DefaultWebSecurityConfig.java index e1e9fc439b..b7bae3369d 100644 --- a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/main/java/org/kie/kogito/springboot/DefaultWebSecurityConfig.java +++ b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/main/java/org/kie/kogito/springboot/DefaultWebSecurityConfig.java @@ -15,50 +15,26 @@ */ package org.kie.kogito.springboot; -import org.keycloak.adapters.springsecurity.KeycloakConfiguration; -import org.keycloak.adapters.springsecurity.KeycloakSecurityComponents; -import org.keycloak.adapters.springsecurity.authentication.KeycloakAuthenticationProvider; -import org.keycloak.adapters.springsecurity.config.KeycloakWebSecurityConfigurerAdapter; -import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; -import org.springframework.context.annotation.ComponentScan; -import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder; +import org.springframework.context.annotation.Configuration; import org.springframework.security.config.annotation.web.builders.HttpSecurity; -import org.springframework.security.core.authority.mapping.SimpleAuthorityMapper; -import org.springframework.security.core.session.SessionRegistryImpl; -import org.springframework.security.web.authentication.session.RegisterSessionAuthenticationStrategy; -import org.springframework.security.web.authentication.session.SessionAuthenticationStrategy; +import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity; +import org.springframework.security.web.SecurityFilterChain; -@KeycloakConfiguration -@ComponentScan(basePackageClasses = KeycloakSecurityComponents.class) -class DefaultWebSecurityConfig extends KeycloakWebSecurityConfigurerAdapter { - - @Autowired - public void configureGlobal(AuthenticationManagerBuilder auth) { - SimpleAuthorityMapper grantedAuthorityMapper = new SimpleAuthorityMapper(); - grantedAuthorityMapper.setPrefix("ROLE_"); - - KeycloakAuthenticationProvider keycloakAuthenticationProvider = keycloakAuthenticationProvider(); - keycloakAuthenticationProvider.setGrantedAuthoritiesMapper(grantedAuthorityMapper); - - auth.authenticationProvider(keycloakAuthenticationProvider); - } +@Configuration +@EnableWebSecurity +class DefaultWebSecurityConfig { @Bean - @Override - protected SessionAuthenticationStrategy sessionAuthenticationStrategy() { - return new RegisterSessionAuthenticationStrategy( - new SessionRegistryImpl()); - } - - @Override - protected void configure(HttpSecurity http) throws Exception { - super.configure(http); - http.csrf().disable() - .authorizeRequests() - .antMatchers("/approvals/**") + public SecurityFilterChain configure(HttpSecurity http) throws Exception { + http.authorizeHttpRequests() + .anyRequest() .authenticated() - .antMatchers("/docs/**").permitAll() - .anyRequest().permitAll(); + .and() + .oauth2ResourceServer().jwt(); + http.cors() + .and() + .csrf().disable(); + return http.build(); } } diff --git a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/main/java/org/kie/kogito/springboot/KeycloakResolverConfig.java b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/main/java/org/kie/kogito/springboot/KeycloakResolverConfig.java deleted file mode 100644 index add510733f..0000000000 --- a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/main/java/org/kie/kogito/springboot/KeycloakResolverConfig.java +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. - * - * 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 - * - * 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.springboot; - -import org.keycloak.adapters.springboot.KeycloakSpringBootConfigResolver; -import org.springframework.context.annotation.Bean; -import org.springframework.context.annotation.Configuration; - -@Configuration -public class KeycloakResolverConfig { - - @Bean - public KeycloakSpringBootConfigResolver KeycloakConfigResolver() { - return new KeycloakSpringBootConfigResolver(); - } -} diff --git a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/main/resources/application.properties b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/main/resources/application.properties index 05c02cbc06..2453665425 100644 --- a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/main/resources/application.properties +++ b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/main/resources/application.properties @@ -2,10 +2,6 @@ server.address=0.0.0.0 spring.main.allow-bean-definition-overriding=true -keycloak.auth-server-url=http://localhost:8281/auth -keycloak.realm=kogito -keycloak.resource=kogito-app -keycloak.credentials.secret=secret -keycloak.bearer-only=true +spring.security.oauth2.resourceserver.jwt.issuer-uri=http://localhost:8281/auth/realms/kogito diff --git a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/test/java/org/acme/travels/ApprovalsRestIT.java b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/test/java/org/acme/travels/ApprovalsRestIT.java index 32f63e398b..193d703afd 100644 --- a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/test/java/org/acme/travels/ApprovalsRestIT.java +++ b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/test/java/org/acme/travels/ApprovalsRestIT.java @@ -15,21 +15,19 @@ */ package org.acme.travels; +import io.restassured.RestAssured; +import io.restassured.http.ContentType; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; -import org.keycloak.representations.AccessTokenResponse; import org.kie.kogito.springboot.KogitoSpringbootApplication; import org.kie.kogito.testcontainers.springboot.KeycloakSpringBootTestResource; 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.context.ContextConfiguration; import org.springframework.test.context.junit.jupiter.SpringExtension; -import io.restassured.RestAssured; -import io.restassured.http.ContentType; - import static io.restassured.RestAssured.given; import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.CoreMatchers.notNullValue; @@ -59,7 +57,6 @@ public void testStartApprovalUnauthorized() { .post("/approvals") .then() .statusCode(401); - } @Test @@ -83,7 +80,7 @@ public void testStartApprovalAuthorized() { .get("/approvals") .then() .statusCode(200) - .body("$.size()", is(1), "[0].id", is(id)); + .body("size()", is(1), "[0].id", is(id)); // get just started approval given() @@ -105,7 +102,7 @@ public void testStartApprovalAuthorized() { .get("/approvals/" + id + "/tasks?user=admin&group=managers") .then() .statusCode(200) - .body("$.size", is(1)) + .body("size()", is(1)) .body("[0].name", is("firstLineApproval")) .extract() .path("[0].id"); @@ -144,8 +141,8 @@ private String getAccessToken(String userName) { .param("client_secret", "secret") .when() .post(keycloakUrl + "/realms/kogito/protocol/openid-connect/token") - .as(AccessTokenResponse.class).getToken(); - + .then() + .extract() + .path("access_token"); } - } diff --git a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/test/resources/application.properties b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/test/resources/application.properties index a2dac0b066..3be2ed5924 100644 --- a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/test/resources/application.properties +++ b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/test/resources/application.properties @@ -1,7 +1,3 @@ -keycloak.auth-server-url=http://localhost:8281/auth -keycloak.realm=kogito -keycloak.resource=kogito-app -keycloak.credentials.secret=secret -keycloak.bearer-only=true +spring.security.oauth2.resourceserver.jwt.issuer-uri=http://localhost:8281/auth/realms/kogito spring.main.allow-bean-definition-overriding=true \ No newline at end of file diff --git a/kogito-springboot-examples/process-usertasks-with-security-springboot/pom.xml b/kogito-springboot-examples/process-usertasks-with-security-springboot/pom.xml index 7da2721b9b..2615427754 100644 --- a/kogito-springboot-examples/process-usertasks-with-security-springboot/pom.xml +++ b/kogito-springboot-examples/process-usertasks-with-security-springboot/pom.xml @@ -6,7 +6,7 @@ org.kie.kogito.examples kogito-springboot-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT process-usertasks-with-security-springboot @@ -14,8 +14,8 @@ Kogito usertasks orchestration with security enabled on REST api - Spring Boot - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT @@ -45,6 +45,12 @@ org.kie.kogito kogito-processes-spring-boot-starter + + + com.fasterxml.jackson.datatype + jackson-datatype-jakarta-jsonp + + org.springframework.boot spring-boot-starter-test diff --git a/kogito-springboot-examples/process-usertasks-with-security-springboot/src/main/java/org/kie/kogito/tests/DefaultWebSecurityConfig.java b/kogito-springboot-examples/process-usertasks-with-security-springboot/src/main/java/org/kie/kogito/tests/DefaultWebSecurityConfig.java index 714b155cb0..0c1092cd3e 100644 --- a/kogito-springboot-examples/process-usertasks-with-security-springboot/src/main/java/org/kie/kogito/tests/DefaultWebSecurityConfig.java +++ b/kogito-springboot-examples/process-usertasks-with-security-springboot/src/main/java/org/kie/kogito/tests/DefaultWebSecurityConfig.java @@ -21,22 +21,24 @@ import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder; import org.springframework.security.config.annotation.web.builders.HttpSecurity; import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity; -import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter; import org.springframework.security.crypto.password.NoOpPasswordEncoder; import org.springframework.security.crypto.password.PasswordEncoder; +import org.springframework.security.web.SecurityFilterChain; -@Configuration("kieServerSecurity") +@Configuration @EnableWebSecurity -public class DefaultWebSecurityConfig extends WebSecurityConfigurerAdapter { +public class DefaultWebSecurityConfig { - @Override - protected void configure(HttpSecurity http) throws Exception { + @Bean + public SecurityFilterChain configure(HttpSecurity http) throws Exception { http .csrf().disable() - .authorizeRequests() - .antMatchers("/**").authenticated() + .authorizeHttpRequests() + .requestMatchers("/**").authenticated() .and() .httpBasic(); + + return http.build(); } @Autowired diff --git a/kogito-springboot-examples/process-usertasks-with-security-springboot/src/main/java/org/kie/kogito/tests/LogEventPublisher.java b/kogito-springboot-examples/process-usertasks-with-security-springboot/src/main/java/org/kie/kogito/tests/LogEventPublisher.java index 882c0ef2ee..017ae966b7 100644 --- a/kogito-springboot-examples/process-usertasks-with-security-springboot/src/main/java/org/kie/kogito/tests/LogEventPublisher.java +++ b/kogito-springboot-examples/process-usertasks-with-security-springboot/src/main/java/org/kie/kogito/tests/LogEventPublisher.java @@ -19,6 +19,7 @@ import org.kie.kogito.event.DataEvent; import org.kie.kogito.event.EventPublisher; +import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import com.fasterxml.jackson.core.JsonProcessingException; @@ -27,7 +28,12 @@ @Component public class LogEventPublisher implements EventPublisher { - ObjectMapper json = new ObjectMapper(); + private ObjectMapper json; + + @Autowired + public void setMapper(ObjectMapper json) { + this.json = json; + } @Override public void publish(DataEvent event) { diff --git a/kogito-springboot-examples/process-usertasks-with-security-springboot/src/test/java/org/acme/travels/security/springboot/ApprovalsRestTest.java b/kogito-springboot-examples/process-usertasks-with-security-springboot/src/test/java/org/acme/travels/security/springboot/ApprovalsRestTest.java index 18d52fdca0..d9cca3c9a1 100644 --- a/kogito-springboot-examples/process-usertasks-with-security-springboot/src/test/java/org/acme/travels/security/springboot/ApprovalsRestTest.java +++ b/kogito-springboot-examples/process-usertasks-with-security-springboot/src/test/java/org/acme/travels/security/springboot/ApprovalsRestTest.java @@ -15,12 +15,14 @@ */ package org.acme.travels.security.springboot; +import org.hamcrest.Description; +import org.hamcrest.Matcher; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.kie.kogito.tests.KogitoInfinispanSpringbootApplication; 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.annotation.DirtiesContext.ClassMode; import org.springframework.test.context.junit.jupiter.SpringExtension; @@ -99,7 +101,7 @@ public void testStartApprovalAuthorized() { .get("/approvals/" + id + "/tasks?user=admin&group=managers") .then() .statusCode(200) - .body("$.size", is(1)) + .body("size()", is(1)) .body("[0].name", is("firstLineApproval")) .extract() .path("[0].id"); diff --git a/kogito-springboot-examples/rules-legacy-springboot-example/pom.xml b/kogito-springboot-examples/rules-legacy-springboot-example/pom.xml index 6f98382b49..2411286e0b 100644 --- a/kogito-springboot-examples/rules-legacy-springboot-example/pom.xml +++ b/kogito-springboot-examples/rules-legacy-springboot-example/pom.xml @@ -7,14 +7,14 @@ org.kie.kogito.examples kogito-springboot-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT rules-legacy-springboot-example Kogito Example :: Rules Legacy API - Spring Boot - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-springboot-examples/rules-legacy-springboot-example/src/test/java/org/kie/kogito/RestQueryTest.java b/kogito-springboot-examples/rules-legacy-springboot-example/src/test/java/org/kie/kogito/RestQueryTest.java index cd61a4ad93..17ea83ca0f 100644 --- a/kogito-springboot-examples/rules-legacy-springboot-example/src/test/java/org/kie/kogito/RestQueryTest.java +++ b/kogito-springboot-examples/rules-legacy-springboot-example/src/test/java/org/kie/kogito/RestQueryTest.java @@ -19,7 +19,7 @@ import org.junit.jupiter.api.Test; import org.kie.kogito.legacy.KogitoSpringbootApplication; 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 io.restassured.RestAssured; diff --git a/kogito-springboot-examples/ruleunit-event-driven-springboot/pom.xml b/kogito-springboot-examples/ruleunit-event-driven-springboot/pom.xml index 77decd35e6..7fc19fe614 100644 --- a/kogito-springboot-examples/ruleunit-event-driven-springboot/pom.xml +++ b/kogito-springboot-examples/ruleunit-event-driven-springboot/pom.xml @@ -7,14 +7,14 @@ org.kie.kogito.examples kogito-springboot-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT ruleunit-event-driven-springboot Kogito Example :: RuleUnit Event Driven :: Spring Boot - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-springboot-examples/ruleunit-springboot-example/pom.xml b/kogito-springboot-examples/ruleunit-springboot-example/pom.xml index e14f65ecb0..39792b5f42 100644 --- a/kogito-springboot-examples/ruleunit-springboot-example/pom.xml +++ b/kogito-springboot-examples/ruleunit-springboot-example/pom.xml @@ -7,14 +7,14 @@ org.kie.kogito.examples kogito-springboot-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT ruleunit-springboot-example Kogito Example :: RuleUnit - Spring Boot - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/kogito-springboot-examples/ruleunit-springboot-example/src/test/java/org/kie/kogito/decisiontable/springboot/ruleunit/RestQueryTest.java b/kogito-springboot-examples/ruleunit-springboot-example/src/test/java/org/kie/kogito/decisiontable/springboot/ruleunit/RestQueryTest.java index 8f54299cf6..9a94bc1938 100644 --- a/kogito-springboot-examples/ruleunit-springboot-example/src/test/java/org/kie/kogito/decisiontable/springboot/ruleunit/RestQueryTest.java +++ b/kogito-springboot-examples/ruleunit-springboot-example/src/test/java/org/kie/kogito/decisiontable/springboot/ruleunit/RestQueryTest.java @@ -19,7 +19,7 @@ import org.junit.jupiter.api.Test; import org.kie.kogito.queries.KogitoSpringbootApplication; 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 io.restassured.RestAssured; diff --git a/pom.xml b/pom.xml index e51bbf6983..390c245ff2 100755 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ org.kie.kogito kogito-build-no-bom-parent - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT org.kie.kogito.examples @@ -34,7 +34,7 @@ UTF-8 - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT 1 **/*IT.java diff --git a/serverless-workflow-examples/pom.xml b/serverless-workflow-examples/pom.xml index 1955a85d45..a53680e0af 100644 --- a/serverless-workflow-examples/pom.xml +++ b/serverless-workflow-examples/pom.xml @@ -7,7 +7,7 @@ org.kie.kogito.examples kogito-examples - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT serverless-workflow-examples diff --git a/serverless-workflow-examples/serverless-workflow-annotations-description/pom.xml b/serverless-workflow-examples/serverless-workflow-annotations-description/pom.xml index 13129a50ae..a0b3ebde7b 100644 --- a/serverless-workflow-examples/serverless-workflow-annotations-description/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-annotations-description/pom.xml @@ -11,14 +11,14 @@ Kogito Example :: Serverless Workflow Annotations and Description:: Quarkus Kogito Serverless Workflow Example - Quarkus - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final 3.22.0 org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT 3.8.1 11 3.0.0-M7 diff --git a/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-event-service/pom.xml b/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-event-service/pom.xml index 4e46021483..6f4e3d8578 100644 --- a/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-event-service/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-event-service/pom.xml @@ -12,13 +12,13 @@ callback-event-service Kogito Example :: Serverless Workflow CallBack Over HTTP Quarkus :: Callback Event Service - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT 3.8.1 11 3.0.0-M7 diff --git a/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-event-service/src/main/java/org/kie/kogito/examples/CallbackResource.java b/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-event-service/src/main/java/org/kie/kogito/examples/CallbackResource.java index 91ad34b972..a28d9f40ee 100644 --- a/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-event-service/src/main/java/org/kie/kogito/examples/CallbackResource.java +++ b/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-event-service/src/main/java/org/kie/kogito/examples/CallbackResource.java @@ -20,14 +20,14 @@ import java.util.Collections; import java.util.UUID; -import javax.annotation.PostConstruct; -import javax.enterprise.context.ApplicationScoped; -import javax.inject.Inject; -import javax.ws.rs.Consumes; -import javax.ws.rs.POST; -import javax.ws.rs.Path; -import javax.ws.rs.core.MediaType; +import jakarta.enterprise.context.ApplicationScoped; +import jakarta.inject.Inject; +import jakarta.ws.rs.Consumes; +import jakarta.ws.rs.POST; +import jakarta.ws.rs.Path; +import jakarta.ws.rs.core.MediaType; +import jakarta.annotation.PostConstruct; import org.kie.kogito.event.cloudevents.CloudEventExtensionConstants; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-event-service/src/main/java/org/kie/kogito/examples/RegisterObjectMapper.java b/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-event-service/src/main/java/org/kie/kogito/examples/RegisterObjectMapper.java index e0477fba44..36f2aac9c7 100644 --- a/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-event-service/src/main/java/org/kie/kogito/examples/RegisterObjectMapper.java +++ b/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-event-service/src/main/java/org/kie/kogito/examples/RegisterObjectMapper.java @@ -15,7 +15,7 @@ */ package org.kie.kogito.examples; -import javax.enterprise.context.ApplicationScoped; +import jakarta.enterprise.context.ApplicationScoped; import com.fasterxml.jackson.databind.ObjectMapper; diff --git a/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-workflow/pom.xml b/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-workflow/pom.xml index 76a5fd0180..a20b704ede 100644 --- a/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-workflow/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-workflow/pom.xml @@ -13,13 +13,13 @@ Kogito Example :: Serverless Workflow CallBack Over HTTP Quarkus :: Service Kogito Serverless Workflow Callback Example Over HTTP - Quarkus - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT 3.8.1 11 3.0.0-M7 diff --git a/serverless-workflow-examples/serverless-workflow-callback-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-callback-quarkus/pom.xml index 2f1c84d571..4dbcc325b8 100644 --- a/serverless-workflow-examples/serverless-workflow-callback-quarkus/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-callback-quarkus/pom.xml @@ -10,13 +10,13 @@ Kogito Example :: Serverless Workflow Callback :: Quarkus Kogito Serverless Workflow Callback Example - Quarkus - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT 3.8.1 11 3.0.0-M7 diff --git a/serverless-workflow-examples/serverless-workflow-callback-quarkus/src/main/java/org/kie/kogito/examples/PrintService.java b/serverless-workflow-examples/serverless-workflow-callback-quarkus/src/main/java/org/kie/kogito/examples/PrintService.java index a1ee770e73..77b6364207 100644 --- a/serverless-workflow-examples/serverless-workflow-callback-quarkus/src/main/java/org/kie/kogito/examples/PrintService.java +++ b/serverless-workflow-examples/serverless-workflow-callback-quarkus/src/main/java/org/kie/kogito/examples/PrintService.java @@ -22,8 +22,8 @@ import java.util.Optional; import java.util.UUID; -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.Acknowledgment.Strategy; diff --git a/serverless-workflow-examples/serverless-workflow-camel-routes/pom.xml b/serverless-workflow-examples/serverless-workflow-camel-routes/pom.xml index 5192348973..05e2b0dd8a 100644 --- a/serverless-workflow-examples/serverless-workflow-camel-routes/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-camel-routes/pom.xml @@ -12,20 +12,20 @@ Kogito Serverless Workflow Camel Routes Example - Quarkus - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT 11 3.8.1 3.0.0-M7 3.5.4 - 2.16.0 + 3.0.0-M1 diff --git a/serverless-workflow-examples/serverless-workflow-compensation-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-compensation-quarkus/pom.xml index 4802066871..015d827844 100644 --- a/serverless-workflow-examples/serverless-workflow-compensation-quarkus/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-compensation-quarkus/pom.xml @@ -10,13 +10,13 @@ Kogito Example :: Serverless Workflow Compensation :: Quarkus Kogito Serverless Workflow Error Compensation - Quarkus - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT 3.8.1 3.0.0-M7 11 diff --git a/serverless-workflow-examples/serverless-workflow-consuming-events-over-http-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-consuming-events-over-http-quarkus/pom.xml index 4cc5b957be..15d303eec6 100644 --- a/serverless-workflow-examples/serverless-workflow-consuming-events-over-http-quarkus/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-consuming-events-over-http-quarkus/pom.xml @@ -12,13 +12,13 @@ Kogito Example :: Serverless Workflow Consuming Events Over HTTP :: Quarkus Kogito Serverless Workflow Consuming Events Over HTTP - Quarkus - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT 3.8.1 11 3.0.0-M7 diff --git a/serverless-workflow-examples/serverless-workflow-correlation-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-correlation-quarkus/pom.xml index 4cb87747c5..f67a88ec09 100644 --- a/serverless-workflow-examples/serverless-workflow-correlation-quarkus/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-correlation-quarkus/pom.xml @@ -10,13 +10,13 @@ Kogito Example :: Serverless Workflow Correlation :: Quarkus Kogito Serverless Workflow Correlation Example - Quarkus - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT 3.8.1 11 3.0.0-M7 diff --git a/serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/main/java/org/kie/kogito/examples/EventsService.java b/serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/main/java/org/kie/kogito/examples/EventsService.java index ff08208ed8..82e1404b22 100644 --- a/serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/main/java/org/kie/kogito/examples/EventsService.java +++ b/serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/main/java/org/kie/kogito/examples/EventsService.java @@ -22,8 +22,8 @@ import java.util.UUID; import java.util.concurrent.ConcurrentHashMap; -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.Acknowledgment.Strategy; diff --git a/serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/main/java/org/kie/kogito/examples/WorkflowResource.java b/serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/main/java/org/kie/kogito/examples/WorkflowResource.java index bb3edca5f7..59f5860600 100644 --- a/serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/main/java/org/kie/kogito/examples/WorkflowResource.java +++ b/serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/main/java/org/kie/kogito/examples/WorkflowResource.java @@ -21,12 +21,12 @@ import java.util.Map; import java.util.UUID; -import javax.inject.Inject; -import javax.ws.rs.GET; -import javax.ws.rs.POST; -import javax.ws.rs.Path; -import javax.ws.rs.PathParam; -import javax.ws.rs.core.Response; +import jakarta.inject.Inject; +import jakarta.ws.rs.GET; +import jakarta.ws.rs.POST; +import jakarta.ws.rs.Path; +import jakarta.ws.rs.PathParam; +import jakarta.ws.rs.core.Response; import org.eclipse.microprofile.reactive.messaging.Channel; import org.eclipse.microprofile.reactive.messaging.Emitter; diff --git a/serverless-workflow-examples/serverless-workflow-custom-function-knative/custom-function-knative-service/pom.xml b/serverless-workflow-examples/serverless-workflow-custom-function-knative/custom-function-knative-service/pom.xml index bb232125fa..ceedd02721 100644 --- a/serverless-workflow-examples/serverless-workflow-custom-function-knative/custom-function-knative-service/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-custom-function-knative/custom-function-knative-service/pom.xml @@ -12,13 +12,13 @@ custom-function-knative-service Kogito Example :: Serverless Workflow Custom Function Knative :: Service - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT 3.8.1 11 3.0.0-M7 diff --git a/serverless-workflow-examples/serverless-workflow-custom-function-knative/workflow/pom.xml b/serverless-workflow-examples/serverless-workflow-custom-function-knative/workflow/pom.xml index a92ad9e896..94b538fb12 100644 --- a/serverless-workflow-examples/serverless-workflow-custom-function-knative/workflow/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-custom-function-knative/workflow/pom.xml @@ -13,13 +13,13 @@ Kogito Example :: Serverless Workflow Custom Function Knative :: Workflow Kogito Serverless Workflow Custom Function Knative - Workflow - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT 3.8.1 11 3.0.0-M7 diff --git a/serverless-workflow-examples/serverless-workflow-custom-type/pom.xml b/serverless-workflow-examples/serverless-workflow-custom-type/pom.xml index 519f3d2369..43270cc84f 100644 --- a/serverless-workflow-examples/serverless-workflow-custom-type/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-custom-type/pom.xml @@ -12,13 +12,13 @@ 3.8.1 3.1.0 - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT 3.0.0-M7 11 1.7.30 diff --git a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc/src/main/java/org/kie/kogito/examples/sw/custom/RPCCustomWorkItemHandler.java b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc/src/main/java/org/kie/kogito/examples/sw/custom/RPCCustomWorkItemHandler.java index 309c561ef5..53d216c13f 100644 --- a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc/src/main/java/org/kie/kogito/examples/sw/custom/RPCCustomWorkItemHandler.java +++ b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc/src/main/java/org/kie/kogito/examples/sw/custom/RPCCustomWorkItemHandler.java @@ -20,7 +20,7 @@ import java.util.Iterator; import java.util.Map; -import javax.enterprise.context.ApplicationScoped; +import jakarta.enterprise.context.ApplicationScoped; import org.kie.kogito.examples.sw.custom.CalculatorClient.OperationId; import org.kie.kogito.internal.process.runtime.KogitoWorkItem; diff --git a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc/src/main/java/org/kie/kogito/examples/sw/custom/RPCCustomWorkItemHandlerConfig.java b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc/src/main/java/org/kie/kogito/examples/sw/custom/RPCCustomWorkItemHandlerConfig.java index e1bbe63aa2..b87cc7206c 100644 --- a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc/src/main/java/org/kie/kogito/examples/sw/custom/RPCCustomWorkItemHandlerConfig.java +++ b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc/src/main/java/org/kie/kogito/examples/sw/custom/RPCCustomWorkItemHandlerConfig.java @@ -15,9 +15,10 @@ */ package org.kie.kogito.examples.sw.custom; -import javax.annotation.PostConstruct; -import javax.enterprise.context.ApplicationScoped; -import javax.inject.Inject; +import jakarta.annotation.PostConstruct; + +import jakarta.enterprise.context.ApplicationScoped; +import jakarta.inject.Inject; import org.kie.kogito.process.impl.CachedWorkItemHandlerConfig; diff --git a/serverless-workflow-examples/serverless-workflow-data-index-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-data-index-quarkus/pom.xml index b7b0a4ada4..2e0b986daa 100644 --- a/serverless-workflow-examples/serverless-workflow-data-index-quarkus/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-data-index-quarkus/pom.xml @@ -10,13 +10,13 @@ Kogito Example :: Serverless Workflow Data Index :: Quarkus Kogito Serverless Workflow Data Index Example - Quarkus - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT 3.8.1 11 3.0.0-M7 diff --git a/serverless-workflow-examples/serverless-workflow-data-index-quarkus/src/main/java/org/kie/kogito/examples/PrintService.java b/serverless-workflow-examples/serverless-workflow-data-index-quarkus/src/main/java/org/kie/kogito/examples/PrintService.java index 80259f870f..14cb03297c 100644 --- a/serverless-workflow-examples/serverless-workflow-data-index-quarkus/src/main/java/org/kie/kogito/examples/PrintService.java +++ b/serverless-workflow-examples/serverless-workflow-data-index-quarkus/src/main/java/org/kie/kogito/examples/PrintService.java @@ -22,8 +22,8 @@ import java.util.Optional; import java.util.UUID; -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.Acknowledgment.Strategy; diff --git a/serverless-workflow-examples/serverless-workflow-error-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-error-quarkus/pom.xml index f4f65c528b..17baa4d8a3 100644 --- a/serverless-workflow-examples/serverless-workflow-error-quarkus/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-error-quarkus/pom.xml @@ -10,13 +10,13 @@ Kogito Example :: Serverless Workflow Error :: Quarkus Kogito Serverless Workflow Error Example - Quarkus - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT 11 3.8.1 3.0.0-M7 diff --git a/serverless-workflow-examples/serverless-workflow-error-quarkus/src/main/java/org/kie/kogito/examples/EvenService.java b/serverless-workflow-examples/serverless-workflow-error-quarkus/src/main/java/org/kie/kogito/examples/EvenService.java index 59c077d862..6468384d5e 100644 --- a/serverless-workflow-examples/serverless-workflow-error-quarkus/src/main/java/org/kie/kogito/examples/EvenService.java +++ b/serverless-workflow-examples/serverless-workflow-error-quarkus/src/main/java/org/kie/kogito/examples/EvenService.java @@ -15,7 +15,7 @@ */ package org.kie.kogito.examples; -import javax.enterprise.context.ApplicationScoped; +import jakarta.enterprise.context.ApplicationScoped; @ApplicationScoped public class EvenService { diff --git a/serverless-workflow-examples/serverless-workflow-events-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-events-quarkus/pom.xml index 874e192c9d..7379a037ae 100644 --- a/serverless-workflow-examples/serverless-workflow-events-quarkus/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-events-quarkus/pom.xml @@ -10,17 +10,17 @@ Kogito Example :: Serverless Workflow Events :: Quarkus Kogito Serverless Workflow Example - Quarkus - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT 3.8.1 11 3.0.0-M7 - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT diff --git a/serverless-workflow-examples/serverless-workflow-events-quarkus/src/main/java/org/kogito/serverless/examples/ApplicantResource.java b/serverless-workflow-examples/serverless-workflow-events-quarkus/src/main/java/org/kogito/serverless/examples/ApplicantResource.java index 50492d1e2f..065a317f60 100644 --- a/serverless-workflow-examples/serverless-workflow-events-quarkus/src/main/java/org/kogito/serverless/examples/ApplicantResource.java +++ b/serverless-workflow-examples/serverless-workflow-events-quarkus/src/main/java/org/kogito/serverless/examples/ApplicantResource.java @@ -19,15 +19,15 @@ import java.net.URI; import java.util.UUID; -import javax.annotation.PostConstruct; -import javax.inject.Inject; -import javax.ws.rs.Consumes; -import javax.ws.rs.InternalServerErrorException; -import javax.ws.rs.POST; -import javax.ws.rs.Path; -import javax.ws.rs.Produces; -import javax.ws.rs.core.MediaType; +import jakarta.inject.Inject; +import jakarta.ws.rs.Consumes; +import jakarta.ws.rs.InternalServerErrorException; +import jakarta.ws.rs.POST; +import jakarta.ws.rs.Path; +import jakarta.ws.rs.Produces; +import jakarta.ws.rs.core.MediaType; +import jakarta.annotation.PostConstruct; import org.eclipse.microprofile.reactive.messaging.Channel; import org.eclipse.microprofile.reactive.messaging.Emitter; import org.kie.kogito.event.CloudEventMarshaller; diff --git a/serverless-workflow-examples/serverless-workflow-events-quarkus/src/main/java/org/kogito/serverless/examples/AvroMarshallerProducer.java b/serverless-workflow-examples/serverless-workflow-events-quarkus/src/main/java/org/kogito/serverless/examples/AvroMarshallerProducer.java index 287b775c63..c969da8c7f 100644 --- a/serverless-workflow-examples/serverless-workflow-events-quarkus/src/main/java/org/kogito/serverless/examples/AvroMarshallerProducer.java +++ b/serverless-workflow-examples/serverless-workflow-events-quarkus/src/main/java/org/kogito/serverless/examples/AvroMarshallerProducer.java @@ -17,11 +17,11 @@ import java.io.IOException; -import javax.annotation.PostConstruct; -import javax.enterprise.context.ApplicationScoped; -import javax.enterprise.inject.Produces; -import javax.inject.Named; +import jakarta.enterprise.context.ApplicationScoped; +import jakarta.enterprise.inject.Produces; +import jakarta.inject.Named; +import jakarta.annotation.PostConstruct; import org.kie.kogito.addon.quarkus.messaging.common.ChannelFormat; import org.kie.kogito.event.CloudEventUnmarshallerFactory; import org.kie.kogito.event.avro.AvroCloudEventUnmarshallerFactory; diff --git a/serverless-workflow-examples/serverless-workflow-events-quarkus/src/main/java/org/kogito/serverless/examples/DecisionResource.java b/serverless-workflow-examples/serverless-workflow-events-quarkus/src/main/java/org/kogito/serverless/examples/DecisionResource.java index a9615feff0..54a8b9a5ac 100644 --- a/serverless-workflow-examples/serverless-workflow-events-quarkus/src/main/java/org/kogito/serverless/examples/DecisionResource.java +++ b/serverless-workflow-examples/serverless-workflow-events-quarkus/src/main/java/org/kogito/serverless/examples/DecisionResource.java @@ -15,11 +15,11 @@ */ package org.kogito.serverless.examples; -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.eclipse.microprofile.reactive.messaging.Channel; import org.jboss.resteasy.annotations.SseElementType; diff --git a/serverless-workflow-examples/serverless-workflow-events-quarkus/src/test/java/org/kogito/serverless/examples/ApplicantWorkflowIT.java b/serverless-workflow-examples/serverless-workflow-events-quarkus/src/test/java/org/kogito/serverless/examples/ApplicantWorkflowIT.java index 22a64e6dbe..4ea73f3a2b 100644 --- a/serverless-workflow-examples/serverless-workflow-events-quarkus/src/test/java/org/kogito/serverless/examples/ApplicantWorkflowIT.java +++ b/serverless-workflow-examples/serverless-workflow-events-quarkus/src/test/java/org/kogito/serverless/examples/ApplicantWorkflowIT.java @@ -27,11 +27,11 @@ import java.util.concurrent.CopyOnWriteArrayList; import java.util.concurrent.TimeUnit; -import javax.ws.rs.client.Client; -import javax.ws.rs.client.ClientBuilder; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.sse.SseEventSource; +import jakarta.ws.rs.client.Client; +import jakarta.ws.rs.client.ClientBuilder; +import jakarta.ws.rs.client.WebTarget; +import jakarta.ws.rs.core.MediaType; +import jakarta.ws.rs.sse.SseEventSource; import org.apache.kafka.common.serialization.ByteArrayDeserializer; import org.apache.kafka.common.serialization.ByteArraySerializer; diff --git a/serverless-workflow-examples/serverless-workflow-expression-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-expression-quarkus/pom.xml index d866929bf2..2144e8b6ba 100644 --- a/serverless-workflow-examples/serverless-workflow-expression-quarkus/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-expression-quarkus/pom.xml @@ -10,13 +10,13 @@ Kogito Example :: Serverless Workflow Expression :: Quarkus Kogito Serverless Workflow Expression Example - Quarkus - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT 11 3.8.1 3.0.0-M7 diff --git a/serverless-workflow-examples/serverless-workflow-foreach-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-foreach-quarkus/pom.xml index 781162a984..dffac31717 100644 --- a/serverless-workflow-examples/serverless-workflow-foreach-quarkus/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-foreach-quarkus/pom.xml @@ -10,13 +10,13 @@ Kogito Example :: Serverless Workflow For Each :: Quarkus Kogito Serverless Workflow For Each Example - Quarkus - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT 11 3.8.1 3.0.0-M7 diff --git a/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/pom.xml index 9424dc1b5e..1d43def936 100644 --- a/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/pom.xml @@ -12,13 +12,13 @@ 8080 - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT 3.8.1 11 3.0.0-M7 diff --git a/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/java/org/acme/sw/onboarding/resources/AppointmentResource.java b/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/java/org/acme/sw/onboarding/resources/AppointmentResource.java index b5584de030..1f9a0bdb82 100644 --- a/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/java/org/acme/sw/onboarding/resources/AppointmentResource.java +++ b/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/java/org/acme/sw/onboarding/resources/AppointmentResource.java @@ -20,17 +20,17 @@ import java.util.List; import java.util.stream.Collectors; -import javax.inject.Inject; -import javax.validation.constraints.NotEmpty; -import javax.validation.constraints.NotNull; -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.core.MediaType; -import javax.ws.rs.core.Response; +import jakarta.inject.Inject; +import jakarta.validation.constraints.NotEmpty; +import jakarta.validation.constraints.NotNull; +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.core.MediaType; +import jakarta.ws.rs.core.Response; import org.acme.sw.onboarding.model.Appointment; import org.acme.sw.onboarding.model.Error; diff --git a/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/java/org/acme/sw/onboarding/resources/PatientResource.java b/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/java/org/acme/sw/onboarding/resources/PatientResource.java index d7aab2dbc1..1d6a6c06ef 100644 --- a/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/java/org/acme/sw/onboarding/resources/PatientResource.java +++ b/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/java/org/acme/sw/onboarding/resources/PatientResource.java @@ -20,16 +20,16 @@ import java.util.Optional; import java.util.UUID; -import javax.validation.constraints.NotEmpty; -import javax.validation.constraints.NotNull; -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.core.MediaType; -import javax.ws.rs.core.Response; +import jakarta.validation.constraints.NotEmpty; +import jakarta.validation.constraints.NotNull; +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.core.MediaType; +import jakarta.ws.rs.core.Response; import org.acme.sw.onboarding.model.Patient; import org.slf4j.Logger; diff --git a/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/java/org/acme/sw/onboarding/services/ScheduleService.java b/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/java/org/acme/sw/onboarding/services/ScheduleService.java index 52ac7f7bc1..08cf946ac8 100644 --- a/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/java/org/acme/sw/onboarding/services/ScheduleService.java +++ b/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/java/org/acme/sw/onboarding/services/ScheduleService.java @@ -23,7 +23,7 @@ import java.util.Optional; import java.util.concurrent.ConcurrentHashMap; -import javax.enterprise.context.ApplicationScoped; +import jakarta.enterprise.context.ApplicationScoped; import org.acme.sw.onboarding.model.Appointment; import org.acme.sw.onboarding.model.Patient; diff --git a/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/test/java/org/acme/sw/onboarding/resources/AppointmentResourceIT.java b/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/test/java/org/acme/sw/onboarding/resources/AppointmentResourceIT.java index f6beebbbef..aadaa1c8df 100644 --- a/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/test/java/org/acme/sw/onboarding/resources/AppointmentResourceIT.java +++ b/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/test/java/org/acme/sw/onboarding/resources/AppointmentResourceIT.java @@ -20,7 +20,7 @@ import java.text.SimpleDateFormat; import java.util.Date; -import javax.ws.rs.core.MediaType; +import jakarta.ws.rs.core.MediaType; import org.junit.jupiter.api.Test; diff --git a/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/test/java/org/acme/sw/onboarding/resources/OnboardingIT.java b/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/test/java/org/acme/sw/onboarding/resources/OnboardingIT.java index 41d8e03075..0f6b374f6a 100644 --- a/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/test/java/org/acme/sw/onboarding/resources/OnboardingIT.java +++ b/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/test/java/org/acme/sw/onboarding/resources/OnboardingIT.java @@ -18,7 +18,7 @@ import java.time.Duration; import java.util.UUID; -import javax.ws.rs.core.MediaType; +import jakarta.ws.rs.core.MediaType; import org.junit.jupiter.api.Test; diff --git a/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/test/java/org/acme/sw/onboarding/services/ScheduleServiceTest.java b/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/test/java/org/acme/sw/onboarding/services/ScheduleServiceTest.java index 8fc1044fe1..81f8a9b04c 100644 --- a/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/test/java/org/acme/sw/onboarding/services/ScheduleServiceTest.java +++ b/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/test/java/org/acme/sw/onboarding/services/ScheduleServiceTest.java @@ -18,7 +18,7 @@ import java.time.LocalDateTime; import java.util.List; -import javax.inject.Inject; +import jakarta.inject.Inject; import org.acme.sw.onboarding.model.Appointment; import org.acme.sw.onboarding.model.Doctor; diff --git a/serverless-workflow-examples/serverless-workflow-functions-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-functions-quarkus/pom.xml index 35c91d68b2..a4136e6f84 100644 --- a/serverless-workflow-examples/serverless-workflow-functions-quarkus/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-functions-quarkus/pom.xml @@ -12,13 +12,13 @@ 8080 - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT 3.8.1 11 3.0.0-M7 diff --git a/serverless-workflow-examples/serverless-workflow-functions-quarkus/src/main/java/org/acme/numbers/NumbersResource.java b/serverless-workflow-examples/serverless-workflow-functions-quarkus/src/main/java/org/acme/numbers/NumbersResource.java index b9cbab2e87..6980366b7a 100644 --- a/serverless-workflow-examples/serverless-workflow-functions-quarkus/src/main/java/org/acme/numbers/NumbersResource.java +++ b/serverless-workflow-examples/serverless-workflow-functions-quarkus/src/main/java/org/acme/numbers/NumbersResource.java @@ -14,21 +14,20 @@ * limitations under the License. */ package org.acme.numbers; - +import jakarta.annotation.PostConstruct; import java.util.Random; import java.util.stream.Collectors; -import javax.annotation.PostConstruct; -import javax.enterprise.context.ApplicationScoped; -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.enterprise.context.ApplicationScoped; +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; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/pom.xml b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/pom.xml index cda3b72964..011e971471 100644 --- a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/pom.xml @@ -11,10 +11,10 @@ Kogito Example :: Serverless Workflow :: Funqy :: Services Kogito Serverless Workflow Funqy Services - Quarkus - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final 3.8.1 11 3.0.0-M7 diff --git a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/functions/ClassificationFunction.java b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/functions/ClassificationFunction.java index 6f90bae6d1..56b1e20e5c 100644 --- a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/functions/ClassificationFunction.java +++ b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/functions/ClassificationFunction.java @@ -15,7 +15,7 @@ */ package org.kogito.serverless.examples.functions; -import javax.inject.Inject; +import jakarta.inject.Inject; import org.kogito.serverless.examples.input.Country; import org.kogito.serverless.examples.services.ClassificationService; diff --git a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/functions/CountriesFunction.java b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/functions/CountriesFunction.java index 7508235461..f17e7bea9f 100644 --- a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/functions/CountriesFunction.java +++ b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/functions/CountriesFunction.java @@ -15,7 +15,7 @@ */ package org.kogito.serverless.examples.functions; -import javax.inject.Inject; +import jakarta.inject.Inject; import org.kogito.serverless.examples.input.Country; import org.kogito.serverless.examples.services.CountriesService; diff --git a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/functions/PopulationFunction.java b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/functions/PopulationFunction.java index 69066c4ec4..8249c76b2b 100644 --- a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/functions/PopulationFunction.java +++ b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/functions/PopulationFunction.java @@ -15,7 +15,7 @@ */ package org.kogito.serverless.examples.functions; -import javax.inject.Inject; +import jakarta.inject.Inject; import org.kogito.serverless.examples.input.Country; import org.kogito.serverless.examples.services.CountriesService; diff --git a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/services/ClassificationService.java b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/services/ClassificationService.java index 3731e37073..1f9bd1377f 100644 --- a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/services/ClassificationService.java +++ b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/services/ClassificationService.java @@ -18,7 +18,7 @@ import java.util.HashMap; import java.util.Map; -import javax.enterprise.context.ApplicationScoped; +import jakarta.enterprise.context.ApplicationScoped; import org.kogito.serverless.examples.input.Country; diff --git a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/services/CountriesService.java b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/services/CountriesService.java index acce334962..a6ffe63d99 100644 --- a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/services/CountriesService.java +++ b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/services/CountriesService.java @@ -18,7 +18,7 @@ import java.util.ArrayList; import java.util.List; -import javax.enterprise.context.ApplicationScoped; +import jakarta.enterprise.context.ApplicationScoped; import org.kogito.serverless.examples.input.Country; diff --git a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/services/PopulationService.java b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/services/PopulationService.java index 8aa404d54b..60910c5805 100644 --- a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/services/PopulationService.java +++ b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/services/PopulationService.java @@ -18,7 +18,7 @@ import java.util.HashMap; import java.util.Map; -import javax.enterprise.context.ApplicationScoped; +import jakarta.enterprise.context.ApplicationScoped; import org.kogito.serverless.examples.input.Country; diff --git a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-workflow/pom.xml b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-workflow/pom.xml index f651b169dc..f72762b0b9 100644 --- a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-workflow/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-workflow/pom.xml @@ -11,13 +11,13 @@ Kogito Example :: Serverless Workflow :: Funqy :: Workflow Kogito Serverless Workflow Funqy Workflow - Quarkus - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT 3.8.1 11 3.0.0-M7 diff --git a/serverless-workflow-examples/serverless-workflow-greeting-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-greeting-quarkus/pom.xml index 7ac2e39db5..738e86c3f9 100644 --- a/serverless-workflow-examples/serverless-workflow-greeting-quarkus/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-greeting-quarkus/pom.xml @@ -10,13 +10,13 @@ Kogito Example :: Serverless Workflow Greeting :: Quarkus Kogito Serverless Workflow Example - Quarkus - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT 11 3.8.1 3.0.0-M7 diff --git a/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-client-rpc-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-client-rpc-quarkus/pom.xml index 8c65633396..707894ba9a 100644 --- a/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-client-rpc-quarkus/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-client-rpc-quarkus/pom.xml @@ -11,13 +11,13 @@ Kogito Example :: Serverless Workflow Greeting :: gRPC Client :: Quarkus Kogito Serverless Workflow Example that test a simple gRPC service - Quarkus - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT 3.8.1 11 3.0.0-M7 diff --git a/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-server-rpc-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-server-rpc-quarkus/pom.xml index c2ca6f9308..d004b2cc1e 100644 --- a/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-server-rpc-quarkus/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-server-rpc-quarkus/pom.xml @@ -16,7 +16,7 @@ 11 3.0.0-M7 3.22.0 - 1.51.1 + 1.54.0 1.6.0 0.6.1 3.3.0 @@ -49,7 +49,7 @@ org.junit.jupiter junit-jupiter - 5.8.1 + 5.9.2 diff --git a/serverless-workflow-examples/serverless-workflow-hello-world/pom.xml b/serverless-workflow-examples/serverless-workflow-hello-world/pom.xml index 12e44987a6..a2eeb214aa 100644 --- a/serverless-workflow-examples/serverless-workflow-hello-world/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-hello-world/pom.xml @@ -12,14 +12,14 @@ Kogito Serverless Workflow Example - Quarkus - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT 11 3.8.1 3.0.0-M7 diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/java/org/acme/serverless/loanbroker/aggregator/CloudEventDataFormat.java b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/java/org/acme/serverless/loanbroker/aggregator/CloudEventDataFormat.java index 4a5671fe40..d3039a1418 100644 --- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/java/org/acme/serverless/loanbroker/aggregator/CloudEventDataFormat.java +++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/java/org/acme/serverless/loanbroker/aggregator/CloudEventDataFormat.java @@ -3,8 +3,8 @@ import java.io.InputStream; import java.io.OutputStream; -import javax.inject.Inject; -import javax.inject.Singleton; +import jakarta.inject.Inject; +import jakarta.inject.Singleton; import org.apache.camel.Exchange; import org.apache.camel.spi.DataFormat; diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/java/org/acme/serverless/loanbroker/aggregator/CloudEventsConverter.java b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/java/org/acme/serverless/loanbroker/aggregator/CloudEventsConverter.java index 89031cba28..2f53813553 100644 --- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/java/org/acme/serverless/loanbroker/aggregator/CloudEventsConverter.java +++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/java/org/acme/serverless/loanbroker/aggregator/CloudEventsConverter.java @@ -3,9 +3,9 @@ import java.net.URI; import java.util.UUID; -import javax.inject.Inject; -import javax.inject.Singleton; -import javax.ws.rs.core.MediaType; +import jakarta.inject.Inject; +import jakarta.inject.Singleton; +import jakarta.ws.rs.core.MediaType; import org.apache.camel.Exchange; import org.apache.camel.TypeConversionException; diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/java/org/acme/serverless/loanbroker/aggregator/InMemoryQuotesRepositoryProcessor.java b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/java/org/acme/serverless/loanbroker/aggregator/InMemoryQuotesRepositoryProcessor.java index 83d5611b8d..7f3dce6c46 100644 --- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/java/org/acme/serverless/loanbroker/aggregator/InMemoryQuotesRepositoryProcessor.java +++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/java/org/acme/serverless/loanbroker/aggregator/InMemoryQuotesRepositoryProcessor.java @@ -5,7 +5,7 @@ import java.util.Map; import java.util.concurrent.ConcurrentHashMap; -import javax.enterprise.context.ApplicationScoped; +import jakarta.enterprise.context.ApplicationScoped; import org.acme.serverless.loanbroker.aggregator.model.BankQuote; import org.apache.camel.Exchange; diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/java/org/acme/serverless/loanbroker/aggregator/QuotesAggregatorRoute.java b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/java/org/acme/serverless/loanbroker/aggregator/QuotesAggregatorRoute.java index 79c5fe0b27..b5e3911266 100644 --- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/java/org/acme/serverless/loanbroker/aggregator/QuotesAggregatorRoute.java +++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/java/org/acme/serverless/loanbroker/aggregator/QuotesAggregatorRoute.java @@ -1,7 +1,7 @@ package org.acme.serverless.loanbroker.aggregator; -import javax.enterprise.context.ApplicationScoped; -import javax.inject.Inject; +import jakarta.enterprise.context.ApplicationScoped; +import jakarta.inject.Inject; import org.acme.serverless.loanbroker.aggregator.model.AggregationResponse; import org.apache.camel.Exchange; diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/java/org/acme/serverless/loanbroker/aggregator/resources/QuotesCloudEventsResource.java b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/java/org/acme/serverless/loanbroker/aggregator/resources/QuotesCloudEventsResource.java index f564b32c55..87877a64bc 100644 --- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/java/org/acme/serverless/loanbroker/aggregator/resources/QuotesCloudEventsResource.java +++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/java/org/acme/serverless/loanbroker/aggregator/resources/QuotesCloudEventsResource.java @@ -1,12 +1,12 @@ package org.acme.serverless.loanbroker.aggregator.resources; -import javax.enterprise.context.ApplicationScoped; -import javax.inject.Inject; -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.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.acme.serverless.loanbroker.aggregator.IntegrationConstants; import org.acme.serverless.loanbroker.aggregator.model.BankQuote; diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/java/org/acme/serverless/loanbroker/aggregator/resources/QuotesExceptionMapper.java b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/java/org/acme/serverless/loanbroker/aggregator/resources/QuotesExceptionMapper.java index fd6af3cfca..d116d694e4 100644 --- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/java/org/acme/serverless/loanbroker/aggregator/resources/QuotesExceptionMapper.java +++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/java/org/acme/serverless/loanbroker/aggregator/resources/QuotesExceptionMapper.java @@ -1,8 +1,8 @@ package org.acme.serverless.loanbroker.aggregator.resources; -import javax.ws.rs.core.Response; -import javax.ws.rs.ext.ExceptionMapper; -import javax.ws.rs.ext.Provider; +import jakarta.ws.rs.core.Response; +import jakarta.ws.rs.ext.ExceptionMapper; +import jakarta.ws.rs.ext.Provider; @Provider public class QuotesExceptionMapper implements ExceptionMapper { diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/java/org/acme/serverless/loanbroker/aggregator/resources/QuotesResource.java b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/java/org/acme/serverless/loanbroker/aggregator/resources/QuotesResource.java index b31037174d..9b725ed572 100644 --- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/java/org/acme/serverless/loanbroker/aggregator/resources/QuotesResource.java +++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/java/org/acme/serverless/loanbroker/aggregator/resources/QuotesResource.java @@ -2,14 +2,14 @@ import java.util.List; -import javax.enterprise.context.ApplicationScoped; -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.core.MediaType; -import javax.ws.rs.core.Response; +import jakarta.enterprise.context.ApplicationScoped; +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.core.MediaType; +import jakarta.ws.rs.core.Response; import org.acme.serverless.loanbroker.aggregator.QuotesRepositoryProcessor; import org.acme.serverless.loanbroker.aggregator.model.BankQuote; diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/test/java/org/acme/serverless/loanbroker/aggregator/QuotesAggregatorRouteTest.java b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/test/java/org/acme/serverless/loanbroker/aggregator/QuotesAggregatorRouteTest.java index 696b43c7f5..f314bf99d6 100644 --- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/test/java/org/acme/serverless/loanbroker/aggregator/QuotesAggregatorRouteTest.java +++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/test/java/org/acme/serverless/loanbroker/aggregator/QuotesAggregatorRouteTest.java @@ -3,8 +3,8 @@ import java.net.URI; import java.util.concurrent.TimeUnit; -import javax.inject.Inject; -import javax.ws.rs.core.MediaType; +import jakarta.inject.Inject; +import jakarta.ws.rs.core.MediaType; import org.acme.serverless.loanbroker.aggregator.model.BankQuote; import org.apache.camel.Exchange; diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/src/test/java/org/acme/serverless/loanbroker/flow/CreditBureauMock.java b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/src/test/java/org/acme/serverless/loanbroker/flow/CreditBureauMock.java index cdc1aae345..de7a7314cb 100644 --- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/src/test/java/org/acme/serverless/loanbroker/flow/CreditBureauMock.java +++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/src/test/java/org/acme/serverless/loanbroker/flow/CreditBureauMock.java @@ -3,7 +3,7 @@ import java.util.Collections; import java.util.Map; -import javax.ws.rs.core.MediaType; +import jakarta.ws.rs.core.MediaType; import com.github.tomakehurst.wiremock.WireMockServer; import com.github.tomakehurst.wiremock.core.WireMockConfiguration; diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/src/test/java/org/acme/serverless/loanbroker/flow/LoanBrokerFlowTest.java b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/src/test/java/org/acme/serverless/loanbroker/flow/LoanBrokerFlowTest.java index 1a11e28e4f..8070fdcde4 100644 --- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/src/test/java/org/acme/serverless/loanbroker/flow/LoanBrokerFlowTest.java +++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/src/test/java/org/acme/serverless/loanbroker/flow/LoanBrokerFlowTest.java @@ -6,7 +6,7 @@ import java.util.Objects; import java.util.UUID; -import javax.ws.rs.core.MediaType; +import jakarta.ws.rs.core.MediaType; import org.junit.jupiter.api.Test; diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/src/test/java/org/acme/serverless/loanbroker/flow/QuotesAggregatorMock.java b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/src/test/java/org/acme/serverless/loanbroker/flow/QuotesAggregatorMock.java index 5b30c2aa1e..e062e1faf4 100644 --- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/src/test/java/org/acme/serverless/loanbroker/flow/QuotesAggregatorMock.java +++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/src/test/java/org/acme/serverless/loanbroker/flow/QuotesAggregatorMock.java @@ -3,7 +3,7 @@ import java.util.Collections; import java.util.Map; -import javax.ws.rs.core.MediaType; +import jakarta.ws.rs.core.MediaType; import com.github.tomakehurst.wiremock.WireMockServer; import com.github.tomakehurst.wiremock.core.WireMockConfiguration; diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/src/main/java/org/acme/loanbroker/AppResource.java b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/src/main/java/org/acme/loanbroker/AppResource.java index 3b331ac396..07a698a666 100644 --- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/src/main/java/org/acme/loanbroker/AppResource.java +++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/src/main/java/org/acme/loanbroker/AppResource.java @@ -2,14 +2,14 @@ import java.util.Map; -import javax.enterprise.context.ApplicationScoped; -import javax.inject.Inject; -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.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.acme.loanbroker.domain.QuotesResponse; import org.eclipse.microprofile.config.inject.ConfigProperty; diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/src/main/java/org/acme/loanbroker/NewQuoteSocket.java b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/src/main/java/org/acme/loanbroker/NewQuoteSocket.java index 93e67d86b0..e01a6161f1 100644 --- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/src/main/java/org/acme/loanbroker/NewQuoteSocket.java +++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/src/main/java/org/acme/loanbroker/NewQuoteSocket.java @@ -3,11 +3,11 @@ import java.util.Queue; import java.util.concurrent.ConcurrentLinkedQueue; -import javax.enterprise.context.ApplicationScoped; -import javax.inject.Inject; -import javax.websocket.OnOpen; -import javax.websocket.Session; -import javax.websocket.server.ServerEndpoint; +import jakarta.enterprise.context.ApplicationScoped; +import jakarta.inject.Inject; +import jakarta.websocket.OnOpen; +import jakarta.websocket.Session; +import jakarta.websocket.server.ServerEndpoint; import org.acme.loanbroker.domain.QuotesResponse; import org.slf4j.Logger; diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/src/main/java/org/acme/loanbroker/QuotesRepository.java b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/src/main/java/org/acme/loanbroker/QuotesRepository.java index c36e3fdf33..e4f815c9e3 100644 --- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/src/main/java/org/acme/loanbroker/QuotesRepository.java +++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/src/main/java/org/acme/loanbroker/QuotesRepository.java @@ -4,8 +4,8 @@ import java.util.Optional; import java.util.concurrent.ConcurrentHashMap; -import javax.enterprise.context.ApplicationScoped; -import javax.inject.Inject; +import jakarta.enterprise.context.ApplicationScoped; +import jakarta.inject.Inject; import org.acme.loanbroker.domain.QuotesResponse; diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/src/test/java/org/acme/loanbroker/AppResourceTest.java b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/src/test/java/org/acme/loanbroker/AppResourceTest.java index 22075c1a9b..0a2f935c5a 100644 --- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/src/test/java/org/acme/loanbroker/AppResourceTest.java +++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/src/test/java/org/acme/loanbroker/AppResourceTest.java @@ -7,13 +7,13 @@ import java.util.concurrent.LinkedBlockingDeque; import java.util.concurrent.TimeUnit; -import javax.inject.Inject; -import javax.websocket.ClientEndpoint; -import javax.websocket.ContainerProvider; -import javax.websocket.DeploymentException; -import javax.websocket.OnMessage; -import javax.websocket.Session; -import javax.ws.rs.core.MediaType; +import jakarta.inject.Inject; +import jakarta.websocket.ClientEndpoint; +import jakarta.websocket.ContainerProvider; +import jakarta.websocket.DeploymentException; +import jakarta.websocket.OnMessage; +import jakarta.websocket.Session; +import jakarta.ws.rs.core.MediaType; import org.acme.loanbroker.domain.Credit; import org.acme.loanbroker.domain.Quote; diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/pom.xml b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/pom.xml index efd654500d..368067c173 100644 --- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/pom.xml @@ -12,13 +12,13 @@ serverless-workflow-loanbroker-showcase pom - 2.16.10.Final + 3.0.0.Final io.quarkus quarkus-bom - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT UTF-8 UTF-8 @@ -28,7 +28,7 @@ 2.3.0 - 2.14.0 + 3.0.0-M1 3.0.0-M7 3.8.1 diff --git a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/pom.xml b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/pom.xml index 2e08e9a86b..d9f50f983e 100644 --- a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/pom.xml @@ -12,13 +12,13 @@ serverless-workflow-newsletter-subscription pom - 2.16.10.Final + 3.0.0.Final io.quarkus quarkus-bom - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT 3.0.0-M7 5.1.3 3.6.0 diff --git a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/src/main/java/org/kie/kogito/examples/VertxRouter.java b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/src/main/java/org/kie/kogito/examples/VertxRouter.java index 67fb2aa54c..19fadd31d2 100644 --- a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/src/main/java/org/kie/kogito/examples/VertxRouter.java +++ b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/src/main/java/org/kie/kogito/examples/VertxRouter.java @@ -16,8 +16,8 @@ package org.kie.kogito.examples; -import javax.enterprise.context.ApplicationScoped; -import javax.enterprise.event.Observes; +import jakarta.enterprise.context.ApplicationScoped; +import jakarta.enterprise.event.Observes; import io.vertx.core.http.HttpMethod; import io.vertx.ext.web.Router; diff --git a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/src/test/java/org/acme/newsletter/subscription/flow/SubscriptionServiceMock.java b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/src/test/java/org/acme/newsletter/subscription/flow/SubscriptionServiceMock.java index c5352f815c..dc47381990 100644 --- a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/src/test/java/org/acme/newsletter/subscription/flow/SubscriptionServiceMock.java +++ b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/src/test/java/org/acme/newsletter/subscription/flow/SubscriptionServiceMock.java @@ -35,8 +35,8 @@ import static com.github.tomakehurst.wiremock.client.WireMock.get; import static com.github.tomakehurst.wiremock.client.WireMock.post; import static com.github.tomakehurst.wiremock.client.WireMock.put; -import static javax.ws.rs.core.HttpHeaders.CONTENT_TYPE; -import static javax.ws.rs.core.MediaType.APPLICATION_JSON; +import static jakarta.ws.rs.core.HttpHeaders.CONTENT_TYPE; +import static jakarta.ws.rs.core.MediaType.APPLICATION_JSON; import static org.acme.newsletter.subscription.flow.SubscriptionConstants.EMAIL; import static org.acme.newsletter.subscription.flow.SubscriptionConstants.newSubscription; diff --git a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-service/src/main/java/org/acme/newsletter/subscription/service/InMemorySubscriptionRepository.java b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-service/src/main/java/org/acme/newsletter/subscription/service/InMemorySubscriptionRepository.java index df97e0a3e2..7b9750eef5 100644 --- a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-service/src/main/java/org/acme/newsletter/subscription/service/InMemorySubscriptionRepository.java +++ b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-service/src/main/java/org/acme/newsletter/subscription/service/InMemorySubscriptionRepository.java @@ -22,13 +22,13 @@ import java.util.concurrent.ConcurrentHashMap; import java.util.stream.Collectors; -import javax.annotation.PostConstruct; -import javax.enterprise.context.ApplicationScoped; +import jakarta.enterprise.context.ApplicationScoped; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import io.quarkus.arc.DefaultBean; +import jakarta.annotation.PostConstruct; /** * This default implementation is used when the persistence is not enabled. diff --git a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-service/src/main/java/org/acme/newsletter/subscription/service/PostgreSqlSubscriptionRepository.java b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-service/src/main/java/org/acme/newsletter/subscription/service/PostgreSqlSubscriptionRepository.java index e299b1de95..0c2c4465a6 100644 --- a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-service/src/main/java/org/acme/newsletter/subscription/service/PostgreSqlSubscriptionRepository.java +++ b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-service/src/main/java/org/acme/newsletter/subscription/service/PostgreSqlSubscriptionRepository.java @@ -22,9 +22,8 @@ import java.util.stream.Stream; import java.util.stream.StreamSupport; -import javax.annotation.PostConstruct; -import javax.enterprise.context.ApplicationScoped; -import javax.inject.Inject; +import jakarta.enterprise.context.ApplicationScoped; +import jakarta.inject.Inject; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -35,6 +34,7 @@ import io.vertx.mutiny.sqlclient.RowIterator; import io.vertx.mutiny.sqlclient.RowSet; import io.vertx.mutiny.sqlclient.Tuple; +import jakarta.annotation.PostConstruct; import static java.util.stream.Collectors.toList; diff --git a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-service/src/main/java/org/acme/newsletter/subscription/service/SubscriptionResource.java b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-service/src/main/java/org/acme/newsletter/subscription/service/SubscriptionResource.java index bd08a1df35..b5c68acbd9 100644 --- a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-service/src/main/java/org/acme/newsletter/subscription/service/SubscriptionResource.java +++ b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-service/src/main/java/org/acme/newsletter/subscription/service/SubscriptionResource.java @@ -19,19 +19,19 @@ import java.io.Serializable; import java.util.Optional; -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.PUT; -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.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.PUT; +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.eclipse.microprofile.openapi.annotations.media.Content; import org.eclipse.microprofile.openapi.annotations.media.Schema; diff --git a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-service/src/main/java/org/acme/newsletter/subscription/service/SubscriptionServiceImpl.java b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-service/src/main/java/org/acme/newsletter/subscription/service/SubscriptionServiceImpl.java index 3c64999b2e..c9fb43ee56 100644 --- a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-service/src/main/java/org/acme/newsletter/subscription/service/SubscriptionServiceImpl.java +++ b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-service/src/main/java/org/acme/newsletter/subscription/service/SubscriptionServiceImpl.java @@ -18,8 +18,8 @@ import java.util.List; import java.util.Optional; -import javax.enterprise.context.ApplicationScoped; -import javax.inject.Inject; +import jakarta.enterprise.context.ApplicationScoped; +import jakarta.inject.Inject; @ApplicationScoped public class SubscriptionServiceImpl implements SubscriptionService { diff --git a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/acme-financial-service/pom.xml b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/acme-financial-service/pom.xml index cdda9bb4f1..dd69b0cc33 100644 --- a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/acme-financial-service/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/acme-financial-service/pom.xml @@ -10,13 +10,13 @@ acme-financial-service Kogito Example :: Serverless Workflow Oauth2 Orchestration Example :: ACME Financial Service - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT 3.8.1 11 3.0.0-M7 diff --git a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/acme-financial-service/src/main/java/org/acme/AcmeFinancialApplication.java b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/acme-financial-service/src/main/java/org/acme/AcmeFinancialApplication.java index af5d491986..c77a16ba71 100644 --- a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/acme-financial-service/src/main/java/org/acme/AcmeFinancialApplication.java +++ b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/acme-financial-service/src/main/java/org/acme/AcmeFinancialApplication.java @@ -42,6 +42,6 @@ tokenUrl = "http://localhost:8281/auth/realms/kogito/protocol/openid-connect/token", scopes = {}))) })) -public class AcmeFinancialApplication extends javax.ws.rs.core.Application { +public class AcmeFinancialApplication extends jakarta.ws.rs.core.Application { } diff --git a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/acme-financial-service/src/main/java/org/acme/AcmeFinancialResource.java b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/acme-financial-service/src/main/java/org/acme/AcmeFinancialResource.java index a791995076..5fef6920fb 100644 --- a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/acme-financial-service/src/main/java/org/acme/AcmeFinancialResource.java +++ b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/acme-financial-service/src/main/java/org/acme/AcmeFinancialResource.java @@ -16,12 +16,12 @@ package org.acme; -import javax.inject.Inject; -import javax.ws.rs.GET; -import javax.ws.rs.Path; -import javax.ws.rs.Produces; -import javax.ws.rs.QueryParam; -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.QueryParam; +import jakarta.ws.rs.core.MediaType; import org.eclipse.microprofile.openapi.annotations.Operation; import org.eclipse.microprofile.openapi.annotations.security.SecurityRequirement; diff --git a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/acme-financial-service/src/main/java/org/acme/ExchangeRatesDB.java b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/acme-financial-service/src/main/java/org/acme/ExchangeRatesDB.java index 725d728dab..b253215fe1 100644 --- a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/acme-financial-service/src/main/java/org/acme/ExchangeRatesDB.java +++ b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/acme-financial-service/src/main/java/org/acme/ExchangeRatesDB.java @@ -18,8 +18,9 @@ import java.util.HashMap; import java.util.Map; -import javax.annotation.PostConstruct; -import javax.enterprise.context.ApplicationScoped; +import jakarta.enterprise.context.ApplicationScoped; + +import jakarta.annotation.PostConstruct; /** * Emulates the Acme Financial Services database, implementation and maintenance of this DB diff --git a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/currency-exchange-workflow/pom.xml b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/currency-exchange-workflow/pom.xml index e0132a7d49..b7f310a7f0 100644 --- a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/currency-exchange-workflow/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/currency-exchange-workflow/pom.xml @@ -12,13 +12,13 @@ Kogito Example :: Serverless Workflow Oauth2 Orchestration Example :: Currency Exchange - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT 3.8.1 11 3.0.0-M7 diff --git a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/currency-exchange-workflow/src/main/java/org/kie/kogito/examples/ExchangeWorkflowHelper.java b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/currency-exchange-workflow/src/main/java/org/kie/kogito/examples/ExchangeWorkflowHelper.java index 335f6f86ab..903e39aef4 100644 --- a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/currency-exchange-workflow/src/main/java/org/kie/kogito/examples/ExchangeWorkflowHelper.java +++ b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/currency-exchange-workflow/src/main/java/org/kie/kogito/examples/ExchangeWorkflowHelper.java @@ -22,7 +22,7 @@ import java.util.LinkedHashSet; import java.util.Set; -import javax.enterprise.context.ApplicationScoped; +import jakarta.enterprise.context.ApplicationScoped; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/serverless-workflow-examples/serverless-workflow-openvino-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-openvino-quarkus/pom.xml index f9f8962f07..e3016358b2 100644 --- a/serverless-workflow-examples/serverless-workflow-openvino-quarkus/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-openvino-quarkus/pom.xml @@ -10,13 +10,13 @@ Kogito Example :: Serverless Workflow Openvino :: Quarkus Kogito Serverless Workflow OpenVino Example - Quarkus - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT 11 1.6.0 3.8.1 diff --git a/serverless-workflow-examples/serverless-workflow-order-processing/pom.xml b/serverless-workflow-examples/serverless-workflow-order-processing/pom.xml index 101b80b766..77a15e8cf8 100644 --- a/serverless-workflow-examples/serverless-workflow-order-processing/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-order-processing/pom.xml @@ -11,13 +11,13 @@ Kogito Example :: Serverless Workflow Order Processing - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT 3.8.1 2.33.2 11 diff --git a/serverless-workflow-examples/serverless-workflow-order-processing/src/test/java/org/kie/kogito/examples/sw/orders/processing/VerifyWorkflowExecutionIT.java b/serverless-workflow-examples/serverless-workflow-order-processing/src/test/java/org/kie/kogito/examples/sw/orders/processing/VerifyWorkflowExecutionIT.java index 5426850f65..38aafc7561 100644 --- a/serverless-workflow-examples/serverless-workflow-order-processing/src/test/java/org/kie/kogito/examples/sw/orders/processing/VerifyWorkflowExecutionIT.java +++ b/serverless-workflow-examples/serverless-workflow-order-processing/src/test/java/org/kie/kogito/examples/sw/orders/processing/VerifyWorkflowExecutionIT.java @@ -17,7 +17,7 @@ import java.util.UUID; -import javax.ws.rs.core.MediaType; +import jakarta.ws.rs.core.MediaType; import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.BeforeAll; diff --git a/serverless-workflow-examples/serverless-workflow-parallel-execution/pom.xml b/serverless-workflow-examples/serverless-workflow-parallel-execution/pom.xml index f8d635e57d..16804f95aa 100644 --- a/serverless-workflow-examples/serverless-workflow-parallel-execution/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-parallel-execution/pom.xml @@ -12,14 +12,14 @@ Kogito Serverless Workflow Example - Quarkus - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT + 3.0.0-SNAPSHOT 11 3.8.1 3.0.0-M7 diff --git a/serverless-workflow-examples/serverless-workflow-python-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-python-quarkus/pom.xml index 850e11d5b8..162da1ab56 100644 --- a/serverless-workflow-examples/serverless-workflow-python-quarkus/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-python-quarkus/pom.xml @@ -10,13 +10,13 @@ Kogito Example :: Serverless Workflow Python :: Quarkus Kogito Serverless Workflow Python Example - Quarkus - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT 11 1.6.0 3.8.1 diff --git a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/pom.xml b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/pom.xml index 1ec7e76292..4152dd1c45 100644 --- a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/pom.xml @@ -11,13 +11,13 @@ query-answer-service Kogito Example :: Serverless Workflow Query and Answer :: Workflow Service - 2.16.10.Final + 3.0.0.Final io.quarkus quarkus-bom - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT 2.33.2 diff --git a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/main/java/org/acme/InMemoryQueryRecordRepository.java b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/main/java/org/acme/InMemoryQueryRecordRepository.java index 004aa222cb..d1645462cc 100644 --- a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/main/java/org/acme/InMemoryQueryRecordRepository.java +++ b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/main/java/org/acme/InMemoryQueryRecordRepository.java @@ -21,9 +21,8 @@ import java.util.Map; import java.util.concurrent.ConcurrentHashMap; -import javax.annotation.PostConstruct; -import javax.enterprise.context.ApplicationScoped; - +import jakarta.enterprise.context.ApplicationScoped; +import jakarta.annotation.PostConstruct; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/main/java/org/acme/PostgreSqlQueryRecordRepository.java b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/main/java/org/acme/PostgreSqlQueryRecordRepository.java index a94484142a..e51e2eadec 100644 --- a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/main/java/org/acme/PostgreSqlQueryRecordRepository.java +++ b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/main/java/org/acme/PostgreSqlQueryRecordRepository.java @@ -26,11 +26,10 @@ import java.util.ArrayList; import java.util.List; -import javax.annotation.PostConstruct; -import javax.enterprise.context.ApplicationScoped; -import javax.inject.Inject; +import jakarta.enterprise.context.ApplicationScoped; +import jakarta.inject.Inject; import javax.sql.DataSource; - +import jakarta.annotation.PostConstruct; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/main/java/org/acme/QueryAnswerServiceHelper.java b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/main/java/org/acme/QueryAnswerServiceHelper.java index 054805d2a6..b6093ce436 100644 --- a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/main/java/org/acme/QueryAnswerServiceHelper.java +++ b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/main/java/org/acme/QueryAnswerServiceHelper.java @@ -18,8 +18,8 @@ import java.time.ZonedDateTime; -import javax.enterprise.context.ApplicationScoped; -import javax.inject.Inject; +import jakarta.enterprise.context.ApplicationScoped; +import jakarta.inject.Inject; import org.kie.kogito.internal.process.runtime.KogitoProcessContext; import org.slf4j.Logger; diff --git a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/main/java/org/acme/QueryAnswerServiceResource.java b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/main/java/org/acme/QueryAnswerServiceResource.java index 51c4ec7f6f..b626535845 100644 --- a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/main/java/org/acme/QueryAnswerServiceResource.java +++ b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/main/java/org/acme/QueryAnswerServiceResource.java @@ -18,10 +18,10 @@ import java.util.List; -import javax.enterprise.context.ApplicationScoped; -import javax.inject.Inject; -import javax.ws.rs.GET; -import javax.ws.rs.Path; +import jakarta.enterprise.context.ApplicationScoped; +import jakarta.inject.Inject; +import jakarta.ws.rs.GET; +import jakarta.ws.rs.Path; @Path("/queries") @ApplicationScoped diff --git a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/test/java/org/acme/it/WireMockQueryServiceResource.java b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/test/java/org/acme/it/WireMockQueryServiceResource.java index 9de564150d..74d52d35bf 100644 --- a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/test/java/org/acme/it/WireMockQueryServiceResource.java +++ b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/test/java/org/acme/it/WireMockQueryServiceResource.java @@ -27,8 +27,8 @@ import static com.github.tomakehurst.wiremock.client.WireMock.configureFor; import static com.github.tomakehurst.wiremock.client.WireMock.post; import static com.github.tomakehurst.wiremock.client.WireMock.stubFor; -import static javax.ws.rs.core.HttpHeaders.CONTENT_TYPE; -import static javax.ws.rs.core.MediaType.APPLICATION_JSON; +import static jakarta.ws.rs.core.HttpHeaders.CONTENT_TYPE; +import static jakarta.ws.rs.core.MediaType.APPLICATION_JSON; public class WireMockQueryServiceResource implements QuarkusTestResourceLifecycleManager { diff --git a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/pom.xml b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/pom.xml index 322691ea6c..4b6b3b7016 100644 --- a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/pom.xml @@ -11,14 +11,14 @@ query-service Kogito Example :: Serverless Workflow Query and Answer :: Query Service - 2.16.10.Final + 3.0.0.Final io.quarkus quarkus-bom - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT - 1.0.1 + 3.0.0-SNAPSHOT + 2.0.2 2.3.0 diff --git a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/main/java/org/acme/CloudEventsCustomizer.java b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/main/java/org/acme/CloudEventsCustomizer.java index 84561dc71f..783ae01ec3 100644 --- a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/main/java/org/acme/CloudEventsCustomizer.java +++ b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/main/java/org/acme/CloudEventsCustomizer.java @@ -16,7 +16,7 @@ package org.acme; -import javax.inject.Singleton; +import jakarta.inject.Singleton; import com.fasterxml.jackson.databind.ObjectMapper; diff --git a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/main/java/org/acme/InMemoryQueryRequestRepository.java b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/main/java/org/acme/InMemoryQueryRequestRepository.java index c3c6e0708a..e9adf40547 100644 --- a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/main/java/org/acme/InMemoryQueryRequestRepository.java +++ b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/main/java/org/acme/InMemoryQueryRequestRepository.java @@ -21,9 +21,9 @@ import java.util.Map; import java.util.concurrent.ConcurrentHashMap; -import javax.annotation.PostConstruct; -import javax.enterprise.context.ApplicationScoped; +import jakarta.enterprise.context.ApplicationScoped; +import jakarta.annotation.PostConstruct; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/main/java/org/acme/PostgreSqlQueryRequestRepository.java b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/main/java/org/acme/PostgreSqlQueryRequestRepository.java index 2614c44186..c1cde7d88e 100644 --- a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/main/java/org/acme/PostgreSqlQueryRequestRepository.java +++ b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/main/java/org/acme/PostgreSqlQueryRequestRepository.java @@ -20,10 +20,9 @@ import java.util.stream.Stream; import java.util.stream.StreamSupport; -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.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/main/java/org/acme/QueryServiceResource.java b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/main/java/org/acme/QueryServiceResource.java index b9cd6ca68f..711ab3d1eb 100644 --- a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/main/java/org/acme/QueryServiceResource.java +++ b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/main/java/org/acme/QueryServiceResource.java @@ -21,15 +21,15 @@ import java.util.List; import java.util.UUID; -import javax.enterprise.context.ApplicationScoped; -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.enterprise.context.ApplicationScoped; +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.reactive.messaging.Channel; import org.eclipse.microprofile.reactive.messaging.Emitter; diff --git a/serverless-workflow-examples/serverless-workflow-saga-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-saga-quarkus/pom.xml index ddc08d91b4..4fcd0924ae 100644 --- a/serverless-workflow-examples/serverless-workflow-saga-quarkus/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-saga-quarkus/pom.xml @@ -10,13 +10,13 @@ How to implement Saga with a Serverless Workflow - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT 3.8.1 11 3.22.0 diff --git a/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/kie/kogito/examples/MockService.java b/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/kie/kogito/examples/MockService.java index db3c576e3c..8ed950990e 100644 --- a/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/kie/kogito/examples/MockService.java +++ b/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/kie/kogito/examples/MockService.java @@ -19,7 +19,7 @@ import java.util.Optional; import java.util.UUID; -import javax.enterprise.context.ApplicationScoped; +import jakarta.enterprise.context.ApplicationScoped; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/kie/kogito/examples/OrderService.java b/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/kie/kogito/examples/OrderService.java index 111555e29d..b8b0113c68 100644 --- a/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/kie/kogito/examples/OrderService.java +++ b/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/kie/kogito/examples/OrderService.java @@ -15,7 +15,7 @@ */ package org.kie.kogito.examples; -import javax.enterprise.context.ApplicationScoped; +import jakarta.enterprise.context.ApplicationScoped; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/kie/kogito/examples/PaymentService.java b/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/kie/kogito/examples/PaymentService.java index 350341fa01..8b688a1eeb 100644 --- a/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/kie/kogito/examples/PaymentService.java +++ b/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/kie/kogito/examples/PaymentService.java @@ -15,8 +15,8 @@ */ package org.kie.kogito.examples; -import javax.enterprise.context.ApplicationScoped; -import javax.inject.Inject; +import jakarta.enterprise.context.ApplicationScoped; +import jakarta.inject.Inject; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/kie/kogito/examples/ShippingService.java b/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/kie/kogito/examples/ShippingService.java index d8c06baa84..71fa50c61f 100644 --- a/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/kie/kogito/examples/ShippingService.java +++ b/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/kie/kogito/examples/ShippingService.java @@ -15,8 +15,8 @@ */ package org.kie.kogito.examples; -import javax.enterprise.context.ApplicationScoped; -import javax.inject.Inject; +import jakarta.enterprise.context.ApplicationScoped; +import jakarta.inject.Inject; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/kie/kogito/examples/StockService.java b/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/kie/kogito/examples/StockService.java index eb3f3d82c7..dc25daab8a 100644 --- a/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/kie/kogito/examples/StockService.java +++ b/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/kie/kogito/examples/StockService.java @@ -15,8 +15,8 @@ */ package org.kie.kogito.examples; -import javax.enterprise.context.ApplicationScoped; -import javax.inject.Inject; +import jakarta.enterprise.context.ApplicationScoped; +import jakarta.inject.Inject; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/pom.xml index d15fe8e640..8b3f1d9d39 100644 --- a/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/pom.xml @@ -10,13 +10,13 @@ Kogito Example :: Serverless Workflow Service Calls :: Quarkus Kogito Serverless Workflow Example - Quarkus - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT 3.8.1 11 3.0.0-M7 diff --git a/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/src/main/java/org/kogito/serverless/examples/CountriesClassifierResource.java b/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/src/main/java/org/kogito/serverless/examples/CountriesClassifierResource.java index 3917c23b4b..2d64f52f3d 100644 --- a/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/src/main/java/org/kogito/serverless/examples/CountriesClassifierResource.java +++ b/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/src/main/java/org/kogito/serverless/examples/CountriesClassifierResource.java @@ -19,11 +19,11 @@ import java.util.LinkedHashMap; import java.util.Set; -import javax.ws.rs.Consumes; -import javax.ws.rs.GET; -import javax.ws.rs.Path; -import javax.ws.rs.Produces; -import javax.ws.rs.core.MediaType; +import jakarta.ws.rs.Consumes; +import jakarta.ws.rs.GET; +import jakarta.ws.rs.Path; +import jakarta.ws.rs.Produces; +import jakarta.ws.rs.core.MediaType; import org.jboss.logging.Logger; diff --git a/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/src/test/java/org/kogito/serverless/examples/CountryServiceWorkflowTest.java b/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/src/test/java/org/kogito/serverless/examples/CountryServiceWorkflowTest.java index f49df157ed..b6a6a617a3 100644 --- a/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/src/test/java/org/kogito/serverless/examples/CountryServiceWorkflowTest.java +++ b/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/src/test/java/org/kogito/serverless/examples/CountryServiceWorkflowTest.java @@ -18,8 +18,8 @@ import java.util.HashMap; import java.util.Map; -import javax.inject.Inject; -import javax.inject.Named; +import jakarta.inject.Inject; +import jakarta.inject.Named; import org.junit.jupiter.api.Test; import org.kie.kogito.Model; diff --git a/serverless-workflow-examples/serverless-workflow-stock-profit/fake-stock-service/src/main/java/org/acme/FakeStockPriceResource.java b/serverless-workflow-examples/serverless-workflow-stock-profit/fake-stock-service/src/main/java/org/acme/FakeStockPriceResource.java index 3364142723..76521feee4 100644 --- a/serverless-workflow-examples/serverless-workflow-stock-profit/fake-stock-service/src/main/java/org/acme/FakeStockPriceResource.java +++ b/serverless-workflow-examples/serverless-workflow-stock-profit/fake-stock-service/src/main/java/org/acme/FakeStockPriceResource.java @@ -15,9 +15,9 @@ */ package org.acme; -import javax.ws.rs.GET; -import javax.ws.rs.Path; -import javax.ws.rs.PathParam; +import jakarta.ws.rs.GET; +import jakarta.ws.rs.Path; +import jakarta.ws.rs.PathParam; import java.math.BigDecimal; import java.util.Map; diff --git a/serverless-workflow-examples/serverless-workflow-stock-profit/pom.xml b/serverless-workflow-examples/serverless-workflow-stock-profit/pom.xml index 730e56f86c..767ad8a209 100644 --- a/serverless-workflow-examples/serverless-workflow-stock-profit/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-stock-profit/pom.xml @@ -14,18 +14,18 @@ fake-stock-service - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT 3.8.1 11 3.0.0-M7 ${version.surefire.plugin} - 2.33.2 + 3.0.0-beta-8 diff --git a/serverless-workflow-examples/serverless-workflow-stock-profit/real-stock-service/src/main/java/org/acme/RealStockPriceResource.java b/serverless-workflow-examples/serverless-workflow-stock-profit/real-stock-service/src/main/java/org/acme/RealStockPriceResource.java index 219f20cd6e..26b3a8c669 100644 --- a/serverless-workflow-examples/serverless-workflow-stock-profit/real-stock-service/src/main/java/org/acme/RealStockPriceResource.java +++ b/serverless-workflow-examples/serverless-workflow-stock-profit/real-stock-service/src/main/java/org/acme/RealStockPriceResource.java @@ -15,11 +15,11 @@ */ package org.acme; -import javax.ws.rs.GET; -import javax.ws.rs.Path; -import javax.ws.rs.PathParam; -import javax.ws.rs.Produces; -import javax.ws.rs.core.MediaType; +import jakarta.ws.rs.GET; +import jakarta.ws.rs.Path; +import jakarta.ws.rs.PathParam; +import jakarta.ws.rs.Produces; +import jakarta.ws.rs.core.MediaType; import java.math.BigDecimal; import java.math.RoundingMode; import java.security.SecureRandom; diff --git a/serverless-workflow-examples/serverless-workflow-stock-profit/stock-portfolio-service/src/main/java/org/acme/ProfitResource.java b/serverless-workflow-examples/serverless-workflow-stock-profit/stock-portfolio-service/src/main/java/org/acme/ProfitResource.java index 28f7461ba4..f0e4fd61d0 100644 --- a/serverless-workflow-examples/serverless-workflow-stock-profit/stock-portfolio-service/src/main/java/org/acme/ProfitResource.java +++ b/serverless-workflow-examples/serverless-workflow-stock-profit/stock-portfolio-service/src/main/java/org/acme/ProfitResource.java @@ -15,10 +15,10 @@ */ package org.acme; -import javax.ws.rs.GET; -import javax.ws.rs.Path; -import javax.ws.rs.PathParam; -import javax.ws.rs.QueryParam; +import jakarta.ws.rs.GET; +import jakarta.ws.rs.Path; +import jakarta.ws.rs.PathParam; +import jakarta.ws.rs.QueryParam; import java.math.BigDecimal; import java.math.RoundingMode; import java.text.NumberFormat; diff --git a/serverless-workflow-examples/serverless-workflow-stock-profit/stock-profit/pom.xml b/serverless-workflow-examples/serverless-workflow-stock-profit/stock-profit/pom.xml index 809f6c6527..80d44281f0 100644 --- a/serverless-workflow-examples/serverless-workflow-stock-profit/stock-profit/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-stock-profit/stock-profit/pom.xml @@ -42,7 +42,7 @@ com.github.tomakehurst - wiremock-jre8 + wiremock ${version.com.github.tomakehurst.wiremock} test diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-full/pom.xml b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-full/pom.xml index f3ee8d2f98..d1e45b1ff3 100644 --- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-full/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-full/pom.xml @@ -10,13 +10,13 @@ conversion-workflow-full Kogito Example :: Serverless Workflow Temperature Conversion :: Conversion Full Service - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT 3.8.1 11 3.0.0-M7 diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-function/pom.xml b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-function/pom.xml index a0a03fe0bc..e7f5ac7992 100644 --- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-function/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-function/pom.xml @@ -10,13 +10,13 @@ conversion-workflow-function Kogito Example :: Serverless Workflow Temperature Conversion :: Conversion Function Service - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT 3.8.1 11 3.0.0-M7 diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-spec/pom.xml b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-spec/pom.xml index 8db50c2716..9e56146b4c 100644 --- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-spec/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-spec/pom.xml @@ -10,13 +10,13 @@ conversion-workflow-spec Kogito Example :: Serverless Workflow Temperature Conversion :: Conversion Spec Service - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT 3.8.1 11 3.0.0-M7 diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow/pom.xml b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow/pom.xml index 29686f3cac..1a4352b348 100644 --- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow/pom.xml @@ -10,13 +10,13 @@ conversion-workflow Kogito Example :: Serverless Workflow Temperature Conversion :: Conversion Service - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT 3.8.1 11 3.0.0-M7 diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/multiplication-service/pom.xml b/serverless-workflow-examples/serverless-workflow-temperature-conversion/multiplication-service/pom.xml index 5d9b652aff..7f03311249 100644 --- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/multiplication-service/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-temperature-conversion/multiplication-service/pom.xml @@ -10,10 +10,10 @@ multiplication-service Kogito Example :: Serverless Workflow Temperature Conversion :: Multiplication Service - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final 3.8.1 11 3.0.0-M7 diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/multiplication-service/src/main/java/org/kie/kogito/examples/sw/temp/multiplication/OperationResource.java b/serverless-workflow-examples/serverless-workflow-temperature-conversion/multiplication-service/src/main/java/org/kie/kogito/examples/sw/temp/multiplication/OperationResource.java index b889930829..2cd120fc4a 100644 --- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/multiplication-service/src/main/java/org/kie/kogito/examples/sw/temp/multiplication/OperationResource.java +++ b/serverless-workflow-examples/serverless-workflow-temperature-conversion/multiplication-service/src/main/java/org/kie/kogito/examples/sw/temp/multiplication/OperationResource.java @@ -15,13 +15,13 @@ */ package org.kie.kogito.examples.sw.temp.multiplication; -import javax.validation.constraints.NotNull; -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.validation.constraints.NotNull; +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.responses.APIResponseSchema; diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/subtraction-service/pom.xml b/serverless-workflow-examples/serverless-workflow-temperature-conversion/subtraction-service/pom.xml index 50157e0d95..33bb58bbc4 100644 --- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/subtraction-service/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-temperature-conversion/subtraction-service/pom.xml @@ -10,10 +10,10 @@ subtraction-service Kogito Example :: Serverless Workflow Temperature Conversion :: Subtraction Service - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final 3.8.1 11 3.0.0-M7 diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/subtraction-service/src/main/java/org/kie/kogito/examples/sw/temp/subtraction/OperationResource.java b/serverless-workflow-examples/serverless-workflow-temperature-conversion/subtraction-service/src/main/java/org/kie/kogito/examples/sw/temp/subtraction/OperationResource.java index fbddc22c5b..671a17c915 100644 --- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/subtraction-service/src/main/java/org/kie/kogito/examples/sw/temp/subtraction/OperationResource.java +++ b/serverless-workflow-examples/serverless-workflow-temperature-conversion/subtraction-service/src/main/java/org/kie/kogito/examples/sw/temp/subtraction/OperationResource.java @@ -15,13 +15,13 @@ */ package org.kie.kogito.examples.sw.temp.subtraction; -import javax.validation.constraints.NotNull; -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.validation.constraints.NotNull; +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.responses.APIResponseSchema; diff --git a/serverless-workflow-examples/serverless-workflow-testing-with-rest-assured/pom.xml b/serverless-workflow-examples/serverless-workflow-testing-with-rest-assured/pom.xml index 29a3d7a38e..57f37d0a20 100644 --- a/serverless-workflow-examples/serverless-workflow-testing-with-rest-assured/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-testing-with-rest-assured/pom.xml @@ -11,13 +11,13 @@ Kogito Example :: Serverless Workflow Testing with REST Assured :: Quarkus Kogito Serverless Workflow Example - Quarkus - 2.16.10.Final + 3.0.0.Final quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT 11 3.8.1 3.0.0-M7 diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/pom.xml b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/pom.xml index 9ecc52d5a1..d8a9582bea 100644 --- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/pom.xml @@ -13,10 +13,10 @@ UTF-8 quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT 11 3.8.1 3.0.0-M7 diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/src/main/java/org/kie/kogito/examples/EventsProducerResource.java b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/src/main/java/org/kie/kogito/examples/EventsProducerResource.java index 85ecdad6e5..8a3b7a2cf0 100644 --- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/src/main/java/org/kie/kogito/examples/EventsProducerResource.java +++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/src/main/java/org/kie/kogito/examples/EventsProducerResource.java @@ -20,15 +20,15 @@ import java.time.OffsetDateTime; import java.util.UUID; -import javax.enterprise.context.ApplicationScoped; -import javax.inject.Inject; -import javax.ws.rs.Consumes; -import javax.ws.rs.POST; -import javax.ws.rs.Path; -import javax.ws.rs.PathParam; -import javax.ws.rs.Produces; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; +import jakarta.enterprise.context.ApplicationScoped; +import jakarta.inject.Inject; +import jakarta.ws.rs.Consumes; +import jakarta.ws.rs.POST; +import jakarta.ws.rs.Path; +import jakarta.ws.rs.PathParam; +import jakarta.ws.rs.Produces; +import jakarta.ws.rs.core.MediaType; +import jakarta.ws.rs.core.Response; import org.eclipse.microprofile.reactive.messaging.Channel; import org.eclipse.microprofile.reactive.messaging.Emitter; diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/src/main/java/org/kie/kogito/examples/VertxRouter.java b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/src/main/java/org/kie/kogito/examples/VertxRouter.java index b1f5f10265..1530095791 100644 --- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/src/main/java/org/kie/kogito/examples/VertxRouter.java +++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/src/main/java/org/kie/kogito/examples/VertxRouter.java @@ -1,7 +1,7 @@ package org.kie.kogito.examples; -import javax.enterprise.context.ApplicationScoped; -import javax.enterprise.event.Observes; +import jakarta.enterprise.context.ApplicationScoped; +import jakarta.enterprise.event.Observes; import io.vertx.core.http.HttpMethod; import io.vertx.ext.web.Router; diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/pom.xml b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/pom.xml index 1d26d223ff..bb27a5aa8b 100644 --- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/pom.xml @@ -13,10 +13,10 @@ UTF-8 quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT 11 3.8.1 3.0.0-M7 diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/src/main/java/org/kie/kogito/examples/EventsProducerResource.java b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/src/main/java/org/kie/kogito/examples/EventsProducerResource.java index 3be5d15111..546c55c33c 100644 --- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/src/main/java/org/kie/kogito/examples/EventsProducerResource.java +++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/src/main/java/org/kie/kogito/examples/EventsProducerResource.java @@ -20,16 +20,16 @@ import java.time.OffsetDateTime; import java.util.UUID; -import javax.enterprise.context.ApplicationScoped; -import javax.enterprise.event.Observes; -import javax.inject.Inject; -import javax.ws.rs.Consumes; -import javax.ws.rs.POST; -import javax.ws.rs.Path; -import javax.ws.rs.PathParam; -import javax.ws.rs.Produces; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; +import jakarta.enterprise.context.ApplicationScoped; +import jakarta.enterprise.event.Observes; +import jakarta.inject.Inject; +import jakarta.ws.rs.Consumes; +import jakarta.ws.rs.POST; +import jakarta.ws.rs.Path; +import jakarta.ws.rs.PathParam; +import jakarta.ws.rs.Produces; +import jakarta.ws.rs.core.MediaType; +import jakarta.ws.rs.core.Response; import io.vertx.core.http.HttpMethod; import io.vertx.ext.web.Router; diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/src/main/java/org/kie/kogito/examples/VertxRouter.java b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/src/main/java/org/kie/kogito/examples/VertxRouter.java index b1f5f10265..1530095791 100644 --- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/src/main/java/org/kie/kogito/examples/VertxRouter.java +++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/src/main/java/org/kie/kogito/examples/VertxRouter.java @@ -1,7 +1,7 @@ package org.kie.kogito.examples; -import javax.enterprise.context.ApplicationScoped; -import javax.enterprise.event.Observes; +import jakarta.enterprise.context.ApplicationScoped; +import jakarta.enterprise.event.Observes; import io.vertx.core.http.HttpMethod; import io.vertx.ext.web.Router; diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/pom.xml b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/pom.xml index d4cc05f687..600c3e642a 100644 --- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/pom.xml @@ -13,10 +13,10 @@ UTF-8 quarkus-bom io.quarkus - 2.16.10.Final + 3.0.0.Final org.kie.kogito kogito-bom - 2.0.0-SNAPSHOT + 3.0.0-SNAPSHOT 11 3.8.1 3.0.0-M7 diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/CallbackStateTimeoutsClient.java b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/CallbackStateTimeoutsClient.java index 9b5f2cf6f2..5ed665c995 100644 --- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/CallbackStateTimeoutsClient.java +++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/CallbackStateTimeoutsClient.java @@ -18,17 +18,17 @@ import org.eclipse.microprofile.rest.client.inject.RegisterRestClient; -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.Produces; -import javax.ws.rs.QueryParam; -import javax.ws.rs.core.Context; -import javax.ws.rs.core.HttpHeaders; -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.Produces; +import jakarta.ws.rs.QueryParam; +import jakarta.ws.rs.core.Context; +import jakarta.ws.rs.core.HttpHeaders; +import jakarta.ws.rs.core.MediaType; +import jakarta.ws.rs.core.Response; import static org.kie.kogito.examples.CallbackStateTimeoutsClient.CONFIG_KEY; diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/CloudEventsCustomizer.java b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/CloudEventsCustomizer.java index a67f7efc06..ea197f10ce 100644 --- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/CloudEventsCustomizer.java +++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/CloudEventsCustomizer.java @@ -20,7 +20,7 @@ import io.cloudevents.jackson.JsonFormat; import io.quarkus.jackson.ObjectMapperCustomizer; -import javax.inject.Singleton; +import jakarta.inject.Singleton; /** * Ensure the registration of the CloudEvent jackson module according to the Quarkus suggested procedure. diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/EventStateTimeoutsClient.java b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/EventStateTimeoutsClient.java index 9e12d47b90..16d01ec1af 100644 --- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/EventStateTimeoutsClient.java +++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/EventStateTimeoutsClient.java @@ -18,17 +18,17 @@ import org.eclipse.microprofile.rest.client.inject.RegisterRestClient; -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.Produces; -import javax.ws.rs.QueryParam; -import javax.ws.rs.core.Context; -import javax.ws.rs.core.HttpHeaders; -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.Produces; +import jakarta.ws.rs.QueryParam; +import jakarta.ws.rs.core.Context; +import jakarta.ws.rs.core.HttpHeaders; +import jakarta.ws.rs.core.MediaType; +import jakarta.ws.rs.core.Response; import static org.kie.kogito.examples.EventStateTimeoutsClient.CONFIG_KEY; diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/EventsProducerResource.java b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/EventsProducerResource.java index 01a195f51b..2760caeb0d 100644 --- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/EventsProducerResource.java +++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/EventsProducerResource.java @@ -22,15 +22,15 @@ import io.cloudevents.jackson.JsonCloudEventData; import org.eclipse.microprofile.rest.client.inject.RestClient; -import javax.enterprise.context.ApplicationScoped; -import javax.inject.Inject; -import javax.ws.rs.Consumes; -import javax.ws.rs.POST; -import javax.ws.rs.Path; -import javax.ws.rs.PathParam; -import javax.ws.rs.Produces; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; +import jakarta.enterprise.context.ApplicationScoped; +import jakarta.inject.Inject; +import jakarta.ws.rs.Consumes; +import jakarta.ws.rs.POST; +import jakarta.ws.rs.Path; +import jakarta.ws.rs.PathParam; +import jakarta.ws.rs.Produces; +import jakarta.ws.rs.core.MediaType; +import jakarta.ws.rs.core.Response; import java.net.URI; import java.time.OffsetDateTime; import java.util.UUID; diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/SwitchStateTimeoutsClient.java b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/SwitchStateTimeoutsClient.java index 85a7e991ad..aa15813a89 100644 --- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/SwitchStateTimeoutsClient.java +++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/SwitchStateTimeoutsClient.java @@ -18,17 +18,17 @@ import org.eclipse.microprofile.rest.client.inject.RegisterRestClient; -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.Produces; -import javax.ws.rs.QueryParam; -import javax.ws.rs.core.Context; -import javax.ws.rs.core.HttpHeaders; -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.Produces; +import jakarta.ws.rs.QueryParam; +import jakarta.ws.rs.core.Context; +import jakarta.ws.rs.core.HttpHeaders; +import jakarta.ws.rs.core.MediaType; +import jakarta.ws.rs.core.Response; import static org.kie.kogito.examples.SwitchStateTimeoutsClient.CONFIG_KEY; diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/VertxRouter.java b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/VertxRouter.java index 668f08bb78..fa084b5e4d 100644 --- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/VertxRouter.java +++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/VertxRouter.java @@ -16,8 +16,8 @@ package org.kie.kogito.examples; -import javax.enterprise.context.ApplicationScoped; -import javax.enterprise.event.Observes; +import jakarta.enterprise.context.ApplicationScoped; +import jakarta.enterprise.event.Observes; import io.vertx.core.http.HttpMethod; import io.vertx.ext.web.Router; diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/WorkflowClient.java b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/WorkflowClient.java index 5f900abda3..095a649937 100644 --- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/WorkflowClient.java +++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/WorkflowClient.java @@ -18,12 +18,12 @@ import org.eclipse.microprofile.rest.client.annotation.ClientHeaderParam; -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; public interface WorkflowClient { diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/WorkflowTimeoutsClient.java b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/WorkflowTimeoutsClient.java index 71bdf45d55..3427446d8f 100644 --- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/WorkflowTimeoutsClient.java +++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/WorkflowTimeoutsClient.java @@ -18,17 +18,17 @@ import org.eclipse.microprofile.rest.client.inject.RegisterRestClient; -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.Produces; -import javax.ws.rs.QueryParam; -import javax.ws.rs.core.Context; -import javax.ws.rs.core.HttpHeaders; -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.Produces; +import jakarta.ws.rs.QueryParam; +import jakarta.ws.rs.core.Context; +import jakarta.ws.rs.core.HttpHeaders; +import jakarta.ws.rs.core.MediaType; +import jakarta.ws.rs.core.Response; import static org.kie.kogito.examples.WorkflowTimeoutsClient.CONFIG_KEY; diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/WorkflowsProxyResource.java b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/WorkflowsProxyResource.java index afee9f0622..a49fa72328 100644 --- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/WorkflowsProxyResource.java +++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/java/org/kie/kogito/examples/WorkflowsProxyResource.java @@ -18,19 +18,19 @@ import org.eclipse.microprofile.rest.client.inject.RestClient; -import javax.enterprise.context.ApplicationScoped; -import javax.inject.Inject; -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.Produces; -import javax.ws.rs.QueryParam; -import javax.ws.rs.core.Context; -import javax.ws.rs.core.HttpHeaders; -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.DefaultValue; +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.Context; +import jakarta.ws.rs.core.HttpHeaders; +import jakarta.ws.rs.core.MediaType; +import jakarta.ws.rs.core.Response; /** * The objective of this class is to provide a simple proxy for the invocations from the UI to the SWs, and avoid