From 1d9a21f4858ac6fadc2aeaec9e2b972dff472066 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pere=20Fern=C3=A1ndez?= Date: Fri, 13 Oct 2023 15:59:51 +0200 Subject: [PATCH 01/10] kie-issues#470: Replace copyright headers/comments on kogito-examples as part of the migration to Apache (#1817) --- ...reateKieQuarkusProjectMigrationRecipe.java | 18 + .../CreateQuarkusDroolsMigrationRecipe.java | 18 + .../decisiontable-quarkus-example.yaml | 19 + .../decisiontable-quarkus-example/pom.xml | 20 + .../org/kie/kogito/queries/Applicant.java | 25 +- .../kie/kogito/queries/LoanApplication.java | 25 +- .../java/org/kie/kogito/queries/LoanUnit.java | 25 +- .../src/main/resources/application.properties | 19 + .../quarkus/NativeRestQueryIT.java | 25 +- .../decisiontable/quarkus/RestQueryTest.java | 25 +- .../src/test/resources/application.properties | 19 + .../docker-compose.yml | 19 + .../provisioning/dashboards/dashboard.yml | 19 + .../provisioning/datasources/datasource.yml | 19 + .../docker-compose/prometheus/prometheus.yml | 19 + .../dmn-drools-quarkus-metrics/pom.xml | 20 + .../app/CustomDMNRuntimeEventListener.java | 25 +- .../kogito/app/RuleEventListenerConfig.java | 25 +- .../examples/CustomRuleEventListener.java | 25 +- .../java/org/kie/kogito/examples/Hello.java | 25 +- .../src/main/resources/application.properties | 19 + .../org/kie/kogito/examples/Hello.drl | 25 +- .../filtered-resources/project.properties | 26 +- .../examples/quarkus/DashboardsListIT.java | 25 +- .../examples/quarkus/DroolsMetricsIT.java | 25 +- .../quarkus/GrafanaDockerComposeIT.java | 25 +- .../examples/quarkus/LoanEligibilityIT.java | 25 +- .../quarkus/ProjectMetadataProvider.java | 25 +- .../src/test/resources/application.properties | 19 + .../src/test/resources/logback-test.xml | 20 + .../docker-compose.yml | 19 + .../dmn-event-driven-quarkus/pom.xml | 20 + .../src/main/resources/application.properties | 19 + .../kie/kogito/examples/DmnEventDrivenIT.java | 25 +- .../examples/NativeDmnEventDrivenIT.java | 25 +- .../src/test/resources/application.properties | 19 + .../dmn-incubation-api-quarkus/pom.xml | 20 + .../java/org/acme/CustomRestDecision.java | 25 +- .../src/main/resources/application.properties | 19 + .../java/org/acme/CustomRestDecisionTest.java | 25 +- .../dmn-knative-quickstart-quarkus/pom.xml | 20 + .../src/main/resources/application.properties | 19 + .../examples/CloudEventListenerTest.java | 25 +- .../examples/TopicsInformationTest.java | 25 +- .../src/test/resources/application.properties | 19 + .../dmn-listener-dtable/pom.xml | 20 + .../ExampleDMNRuntimeEventListener.java | 25 +- .../example/dtlistener/PeriodicJobBean.java | 25 +- .../src/main/resources/application.properties | 19 + .../example/dtlistener/DecisionTableTest.java | 25 +- .../src/test/resources/application.properties | 19 + .../operator/dmn-quarkus-example.yaml | 19 + .../dmn-listener-quarkus/pom.xml | 20 + .../ExampleDMNRuntimeEventListener.java | 25 +- .../ExampleDecisionEventListenerConfig.java | 25 +- .../LoggingDMNRuntimeEventListener.java | 25 +- .../src/main/resources/application.properties | 19 + .../listener/NativeTrafficViolationIT.java | 25 +- .../TrafficViolationListenerTest.java | 25 +- .../listener/TrafficViolationTest.java | 25 +- .../mock/MockDMNRuntimeEventListener.java | 25 +- .../src/test/resources/application.properties | 19 + .../operator/dmn-pmml-quarkus-example.yaml | 19 + .../dmn-pmml-quarkus-example/pom.xml | 20 + .../src/main/resources/application.properties | 19 + .../pmml/quarkus/example/CommonTestUtils.java | 25 +- .../quarkus/example/DMNMiningModelTest.java | 25 +- .../quarkus/example/DMNRegressionTest.java | 25 +- .../quarkus/example/DMNScoreCardTest.java | 25 +- .../dmn/pmml/quarkus/example/DMNTreeTest.java | 25 +- .../quarkus/example/DecisionTreeTest.java | 25 +- .../dmn/pmml/quarkus/example/LinRegTest.java | 25 +- .../pmml/quarkus/example/MiningModelTest.java | 25 +- .../example/NativeDMNRegressionIT.java | 25 +- .../pmml/quarkus/example/NativeDMNTreeIT.java | 25 +- .../quarkus/example/NativeDecisionTreeIT.java | 25 +- .../pmml/quarkus/example/NativeLinRegIT.java | 25 +- .../pmml/quarkus/example/ScoreCardTest.java | 25 +- .../KogitoScenarioJunitActivatorTest.java | 25 +- .../src/test/resources/application.properties | 19 + .../operator/dmn-quarkus-example.yaml | 19 + .../dmn-quarkus-example/pom.xml | 20 + .../src/main/resources/application.properties | 19 + .../example/NativeTrafficViolationIT.java | 25 +- .../quarkus/example/TrafficViolationTest.java | 25 +- .../KogitoScenarioJunitActivatorTest.java | 25 +- .../src/test/resources/application.properties | 19 + .../dmn-tracing-quarkus/Dockerfile | 19 + .../dmn-tracing-quarkus/docker-compose.yml | 19 + .../docker-compose/infinispan/infinispan.xml | 20 + .../operator/dmn-quarkus-example.yaml | 19 + .../dmn-tracing-quarkus/pom.xml | 20 + .../src/main/resources/application.properties | 19 + .../quarkus/tracing/LoanEligibilityIT.java | 25 +- .../tracing/NativeLoanEligibilityIT.java | 25 +- .../matcher/StringMatchesUUIDPattern.java | 25 +- .../src/test/resources/application.properties | 19 + .../operator/flexible-process-quarkus.yaml | 19 + .../flexible-process-quarkus/pom.xml | 20 + .../flexible/example/model/Comment.java | 25 +- .../flexible/example/model/Product.java | 25 +- .../flexible/example/model/Questionnaire.java | 25 +- .../kogito/flexible/example/model/State.java | 25 +- .../flexible/example/model/SupportCase.java | 25 +- .../example/service/CommentService.java | 25 +- .../example/service/StateService.java | 25 +- .../example/service/TriageService.java | 25 +- .../src/main/resources/application.properties | 19 + .../quarkus/ServiceDeskProcessTest.java | 25 +- .../src/test/resources/application.properties | 19 + .../kogito-travel-agency/basic/pom.xml | 20 + .../main/java/org/acme/travels/Address.java | 25 +- .../main/java/org/acme/travels/Flight.java | 25 +- .../src/main/java/org/acme/travels/Hotel.java | 25 +- .../main/java/org/acme/travels/Traveller.java | 25 +- .../src/main/java/org/acme/travels/Trip.java | 25 +- .../travels/service/FlightBookingService.java | 25 +- .../travels/service/HotelBookingService.java | 25 +- .../resources/META-INF/resources/index.html | 20 + .../src/main/resources/application.properties | 19 + .../java/org/acme/travel/BookFlightTest.java | 25 +- .../java/org/acme/travel/BookHotelTest.java | 25 +- .../test/java/org/acme/travel/TravelTest.java | 25 +- .../java/org/acme/travel/VisaRulesTest.java | 25 +- .../src/test/resources/application.properties | 19 + .../docker-compose/docker-compose.yml | 19 + .../provisioning/dashboards/dashboard.yml | 19 + .../provisioning/datasources/datasource.yml | 19 + .../docker-compose/infinispan/infinispan.xml | 20 + .../docker-compose/prometheus/prometheus.yml | 19 + .../extended/docker-compose/startServices.sh | 25 +- .../extended/operator/data-index.yaml | 19 + .../extended/operator/travels.yaml | 19 + .../extended/operator/visas.yaml | 19 + .../kogito-travel-agency/extended/pom.xml | 20 + .../extended/travels/pom.xml | 20 + .../main/java/org/acme/travels/Address.java | 25 +- .../main/java/org/acme/travels/Flight.java | 25 +- .../src/main/java/org/acme/travels/Hotel.java | 25 +- .../main/java/org/acme/travels/Traveller.java | 25 +- .../src/main/java/org/acme/travels/Trip.java | 25 +- .../org/acme/travels/VisaApplication.java | 25 +- .../java/org/acme/travels/VisaResolution.java | 25 +- .../service/FlightBookingResource.java | 25 +- .../travels/service/FlightBookingService.java | 25 +- .../travels/service/HotelBookingService.java | 25 +- .../java/org/kie/kogito/app/VertxRouter.java | 25 +- .../src/main/resources/application.properties | 19 + .../src/main/resources/templates/index.html | 32 +- .../filtered-resources/project.properties | 26 +- .../java/org/acme/travel/BookFlightIT.java | 25 +- .../java/org/acme/travel/BookHotelIT.java | 25 +- .../acme/travel/ProjectMetadataProvider.java | 25 +- .../test/java/org/acme/travel/TravelIT.java | 25 +- .../java/org/acme/travel/VisaRulesIT.java | 25 +- .../src/test/resources/application.properties | 19 + .../extended/visas/pom.xml | 20 + .../org/acme/travels/VisaApplication.java | 25 +- .../java/org/acme/travels/VisaResolution.java | 25 +- .../app/ProcessEventListenerConfig.java | 25 +- .../java/org/kie/kogito/app/VertxRouter.java | 25 +- ...icationPrometheusProcessEventListener.java | 25 +- .../src/main/resources/application.properties | 19 + .../org/acme/travels/visa-approval-rules.drl | 25 +- .../src/main/resources/templates/index.html | 32 +- .../kogito-travel-agency/pom.xml | 20 + .../ocp-tryout/common-functions.sh | 19 + .../infinispan/infinispan-values.yaml | 19 + .../ocp-tryout/infinispan/infinispan.sh | 19 + .../ocp-tryout/installer.properties | 19 + .../ocp-tryout/installer.sh | 19 + .../ocp-tryout/kafka/kafka-values.yaml | 19 + .../ocp-tryout/kafka/kafka.sh | 19 + .../ocp-tryout/keycloak/deployment-patch.yaml | 19 + .../ocp-tryout/keycloak/keycloak.sh | 19 + .../deployment-patch-infinispan.yaml | 19 + .../kogito-data-index/kogito-data-index.sh | 19 + .../kogito-jobs-service/deployment-patch.yaml | 19 + .../kogito-jobs-service.sh | 19 + .../deployment-patch.yaml | 19 + .../kogito-management-console.sh | 19 + .../kogito-shared/kogito-configs.yaml | 19 + .../ocp-tryout/kogito-shared/kogito-shared.sh | 19 + .../kogito-task-console/deployment-patch.yaml | 19 + .../kogito-task-console.sh | 19 + .../testapp/example/apps/travels.yaml | 19 + .../testapp/example/apps/visas.yaml | 19 + .../ocp-tryout/testapp/testapp.sh | 19 + .../ocp-tryout/tryout-kogito-app/Chart.yaml | 19 + .../tryout-kogito-app/templates/NOTES.txt | 19 + .../templates/deployment.yaml | 19 + .../tryout-kogito-app/templates/route.yaml | 19 + .../tryout-kogito-app/templates/service.yaml | 19 + .../templates/serviceaccount.yaml | 19 + .../templates/tests/test-connection.yaml | 19 + .../ocp-tryout/tryout-kogito-app/values.yaml | 19 + .../ocp-tryout/uninstaller.sh | 19 + .../onboarding-example/hr/pom.xml | 20 + .../org/kie/kogito/examples/hr/Address.java | 25 +- .../kie/kogito/examples/hr/Department.java | 25 +- .../kogito/examples/hr/DepartmentModel.java | 25 +- .../org/kie/kogito/examples/hr/Employee.java | 25 +- .../examples/hr/EmployeeRepository.java | 25 +- .../examples/hr/EmployeeValidation.java | 25 +- .../examples/hr/EmployeeValidationModel.java | 25 +- .../org/kie/kogito/examples/hr/IdModel.java | 25 +- .../kie/kogito/examples/hr/IdResource.java | 25 +- .../src/main/resources/application.properties | 19 + .../org/kie/kogito/examples/hr/department.drl | 25 +- .../kogito/examples/hr/employeeValidation.drl | 25 +- .../kogito/examples/hr/DepartmentTest.java | 25 +- .../examples/hr/EmployeeValidationTest.java | 25 +- .../src/test/resources/application.properties | 19 + .../onboarding-quarkus/pom.xml | 20 + .../examples/BaseWorkItemHandlerConfig.java | 25 +- .../examples/WorkItemHandlerConfig.java | 25 +- .../kogito/examples/onboarding/Address.java | 25 +- .../DecisionTaskWorkItemHandler.java | 25 +- .../kogito/examples/onboarding/Employee.java | 25 +- .../kogito/examples/onboarding/Payroll.java | 25 +- .../src/main/resources/META-INF/kmodule.xml | 20 + .../src/main/resources/application.properties | 19 + .../examples/WorkItemHandlerConfig.java | 25 +- .../onboarding/OnboardingEndpointIT.java | 25 +- .../test/RecordedOutputWorkItemHandler.java | 25 +- .../src/test/resources/application.properties | 19 + .../onboarding-example/payroll/pom.xml | 20 + .../kie/kogito/examples/payroll/Address.java | 25 +- .../kie/kogito/examples/payroll/Employee.java | 25 +- .../kie/kogito/examples/payroll/Payroll.java | 25 +- .../src/main/resources/META-INF/kmodule.xml | 20 + .../src/main/resources/application.properties | 19 + .../examples/payroll/PaymentDateTest.java | 25 +- .../kogito/examples/payroll/TaxRateTest.java | 25 +- .../examples/payroll/VacationDaysTest.java | 25 +- .../src/test/resources/application.properties | 19 + .../onboarding-example/pom.xml | 20 + .../docker-compose.yml | 19 + .../pmml-event-driven-quarkus/pom.xml | 20 + .../src/main/resources/application.properties | 19 + .../kogito/examples/PmmlEventDrivenIT.java | 25 +- .../src/test/resources/application.properties | 19 + .../src/test/resources/logback-test.xml | 20 + .../pmml-incubation-api-quarkus/pom.xml | 20 + .../java/org/acme/CustomRestPrediction.java | 25 +- .../src/main/resources/application.properties | 19 + .../org/acme/CustomRestPredictionTest.java | 25 +- .../operator/pmml-quarkus-example.yaml | 19 + .../pmml-quarkus-example/pom.xml | 20 + .../src/main/resources/application.properties | 19 + .../pmml/quarkus/example/CommonTestUtils.java | 25 +- .../pmml/quarkus/example/LinRegTest.java | 25 +- .../pmml/quarkus/example/MiningModelTest.java | 25 +- .../quarkus/example/NativeLinRegTestIT.java | 25 +- .../example/NativeMiningModelTestIT.java | 25 +- .../example/NativeSampleMineTestIT.java | 25 +- .../example/NativeSimpleScorecardTestIT.java | 25 +- .../pmml/quarkus/example/SampleMineTest.java | 25 +- .../quarkus/example/SimpleScorecardTest.java | 25 +- .../src/test/resources/application.properties | 19 + kogito-quarkus-examples/pom.xml | 20 + .../process-business-rules-quarkus.yaml | 19 + .../process-business-rules-quarkus/pom.xml | 20 + .../main/java/org/acme/travels/Person.java | 25 +- .../acme/travels/PersonValidationService.java | 25 +- .../resources/META-INF/resources/index.html | 20 + .../src/main/resources/application.properties | 19 + .../acme/travels/PersonValidationService.drl | 25 +- .../org/acme/travels/PersonProcessTest.java | 25 +- .../src/test/resources/application.properties | 19 + .../process-decisions-quarkus/pom.xml | 20 + .../java/org/kie/kogito/traffic/Driver.java | 26 +- .../org/kie/kogito/traffic/DriverService.java | 26 +- .../java/org/kie/kogito/traffic/Fine.java | 25 +- .../traffic/LicenseValidationService.java | 25 +- .../org/kie/kogito/traffic/Violation.java | 26 +- .../resources/LicenseValidationService.drl | 25 +- .../src/main/resources/application.properties | 19 + .../traffic/NativeTrafficProcessIT.java | 25 +- .../kie/kogito/traffic/TrafficProcessIT.java | 25 +- .../process-decisions-rest-quarkus/pom.xml | 20 + .../java/org/kie/kogito/traffic/Driver.java | 26 +- .../org/kie/kogito/traffic/DriverService.java | 26 +- .../java/org/kie/kogito/traffic/Fine.java | 25 +- .../traffic/LicenseValidationRestClient.java | 25 +- .../traffic/LicenseValidationRestService.java | 25 +- .../traffic/LicenseValidationService.java | 25 +- .../traffic/TrafficViolationResponse.java | 25 +- .../traffic/TrafficViolationRestClient.java | 25 +- .../traffic/TrafficViolationRestService.java | 25 +- .../org/kie/kogito/traffic/Violation.java | 26 +- .../resources/LicenseValidationService.drl | 25 +- .../src/main/resources/application.properties | 19 + .../traffic/NativeTrafficProcessIT.java | 25 +- .../kie/kogito/traffic/TrafficProcessIT.java | 25 +- .../process-decisions-rules-quarkus/pom.xml | 20 + .../org/kie/kogito/traffic/DriverService.java | 26 +- .../java/org/kie/kogito/traffic/Fine.java | 25 +- .../org/kie/kogito/traffic/Violation.java | 26 +- .../LicenseValidatedService.java | 25 +- .../traffic/licensevalidated/Validated.java | 26 +- .../traffic/licensevalidation/Driver.java | 26 +- .../LicenseValidationService.java | 25 +- .../resources/LicenseValidatedService.drl | 25 +- .../resources/LicenseValidationService.drl | 25 +- .../src/main/resources/application.properties | 19 + .../traffic/NativeTrafficProcessIT.java | 25 +- .../kie/kogito/traffic/TrafficProcessIT.java | 25 +- .../operator/process-scripts-quarkus.yaml | 19 + .../process-error-handling/pom.xml | 20 + .../org/acme/script/ErrorHandlingScript.java | 25 +- .../acme/wih/CustomTaskWorkItemHandler.java | 25 +- .../acme/wih/CustomWorkItemHandlerConfig.java | 25 +- .../resources/META-INF/resources/index.html | 20 + .../src/main/resources/application.properties | 19 + .../quarkus/HelloErrorProcessTest.java | 25 +- .../src/test/resources/application.properties | 19 + .../process-incubation-api-quarkus/pom.xml | 20 + .../main/java/org/acme/CustomRestProcess.java | 25 +- .../src/main/resources/application.properties | 19 + .../java/org/acme/CustomRestProcessTest.java | 25 +- ...rocess-infinispan-persistence-quarkus.yaml | 19 + .../pom.xml | 20 + .../src/main/java/org/acme/deals/Address.java | 25 +- .../main/java/org/acme/deals/Traveller.java | 25 +- .../META-INF/hotrod-client.properties | 19 + .../resources/META-INF/resources/index.html | 20 + .../src/main/resources/application.properties | 19 + .../test/java/org/acme/deals/DealsRestIT.java | 25 +- .../org/acme/deals/NativeDealsRestIT.java | 25 +- .../src/test/resources/application.properties | 19 + .../process-kafka-avro-multi-quarkus/pom.xml | 20 + .../acme/travel/AvroMarshallerProducer.java | 25 +- .../org/acme/travel/StringKeyDecorator.java | 25 +- .../main/java/org/acme/travel/Traveller.java | 25 +- .../travel/TravellerValidationService.java | 25 +- .../resources/META-INF/resources/index.html | 20 + .../src/main/resources/application.properties | 19 + .../src/main/resources/travellers.drl | 25 +- .../tests/avro/quarkus/MultiMessagingIT.java | 25 +- .../src/test/resources/application.properties | 19 + .../operator/process-kafka-multi-quarkus.yaml | 19 + .../process-kafka-multi-quarkus/pom.xml | 20 + .../main/java/org/acme/travel/Traveller.java | 25 +- .../travel/TravellerValidationService.java | 25 +- .../resources/META-INF/resources/index.html | 20 + .../src/main/resources/application.properties | 19 + .../src/main/resources/travellers.drl | 25 +- .../quarkus/MultiMessagingIT.java | 25 +- .../src/test/resources/application.properties | 19 + .../process-kafka-persistence-quarkus.yaml | 19 + .../process-kafka-persistence-quarkus/pom.xml | 32 +- .../src/main/docker/docker-compose.yml | 19 + .../src/main/java/org/acme/deals/Address.java | 25 +- .../main/java/org/acme/deals/Application.java | 25 +- .../main/java/org/acme/deals/Traveller.java | 25 +- .../resources/META-INF/resources/index.html | 20 + .../src/main/resources/application.properties | 19 + .../test/java/org/acme/deals/DealsRestIT.java | 25 +- .../process-kafka-quickstart-quarkus.yaml | 19 + .../process-kafka-quickstart-quarkus/pom.xml | 20 + .../main/java/org/acme/travel/Traveller.java | 25 +- .../travel/TravellerValidationService.java | 25 +- .../resources/META-INF/resources/index.html | 20 + .../src/main/resources/application.properties | 19 + .../src/main/resources/travellers.drl | 25 +- .../tests/messaging/quarkus/MessagingIT.java | 25 +- .../src/test/resources/application.properties | 19 + .../pom.xml | 20 + .../main/java/org/acme/travel/Traveller.java | 25 +- .../travel/TravellerValidationService.java | 25 +- .../src/main/resources/application.properties | 19 + .../src/main/resources/travellers.drl | 25 +- .../acme/travel/CloudEventListenerTest.java | 25 +- .../acme/travel/TopicsInformationTest.java | 25 +- .../src/test/resources/application.properties | 19 + .../process-mongodb-persistence-quarkus.yaml | 19 + .../pom.xml | 20 + .../src/main/java/org/acme/deals/Address.java | 25 +- .../main/java/org/acme/deals/Traveller.java | 25 +- .../resources/META-INF/resources/index.html | 20 + .../src/main/resources/application.properties | 19 + .../test/java/org/acme/deals/DealsRestIT.java | 25 +- .../org/acme/deals/NativeDealsRestIT.java | 25 +- .../src/test/resources/application.properties | 19 + .../process-monitoring-quarkus/Dockerfile | 19 + .../docker-compose.yml | 19 + .../provisioning/dashboards/dashboard.yml | 19 + .../provisioning/datasources/datasource.yml | 19 + .../docker-compose/prometheus/prometheus.yml | 19 + .../process-monitoring-quarkus/pom.xml | 20 + .../examples/quarkus/CalculationService.java | 25 +- .../kogito/examples/quarkus/demo/Order.java | 25 +- .../src/main/resources/application.properties | 19 + .../filtered-resources/project.properties | 26 +- .../quarkus/DashboardGenerationIT.java | 26 +- .../quarkus/NativeDashboardGenerationIT.java | 26 +- .../examples/quarkus/ProcessMetricsTest.java | 26 +- .../quarkus/ProjectMetadataProvider.java | 25 +- .../src/test/resources/application.properties | 19 + .../docker-clean.sh | 19 + .../docker-compose.yml | 19 + .../mongodb/Dockerfile | 19 + .../mongodb/init.sh | 19 + .../mongodb/launch.sh | 19 + .../process-outbox-mongodb-quarkus/pom.xml | 20 + .../sidecar/Dockerfile | 19 + .../sidecar/launch.sh | 19 + .../kogito/examples/CalculationService.java | 25 +- .../examples/PersonValidationService.java | 25 +- .../org/kie/kogito/examples/demo/Order.java | 25 +- .../org/kie/kogito/examples/demo/Person.java | 25 +- .../src/main/resources/META-INF/kmodule.xml | 20 + .../src/main/resources/application.properties | 19 + .../examples/PersonValidationService.drl | 25 +- .../kie/kogito/quarkus/outbox/OutboxIT.java | 25 +- .../process-performance-client/pom.xml | 20 + .../client/AsyncRestDispatcher.java | 25 +- .../performance/client/KafkaDispatcher.java | 25 +- .../kogito/performance/client/MainRunner.java | 26 +- .../performance/client/RequestDispatcher.java | 25 +- .../client/RequestDispatcherFactory.java | 25 +- .../client/RequestDispatcherRunner.java | 25 +- .../client/SyncRestDispatcher.java | 25 +- .../process-performance-quarkus/pom.xml | 20 + .../src/main/resources/application.properties | 19 + .../docker-compose/docker-compose.yml | 19 + .../docker-compose/sql/init.sql | 19 + .../pom.xml | 20 + .../src/main/java/org/acme/deals/Address.java | 25 +- .../main/java/org/acme/deals/Traveller.java | 25 +- .../src/main/resources/application.properties | 19 + .../test/java/org/acme/deals/DealsRestIT.java | 25 +- .../src/test/resources/application.properties | 19 + .../operator/process-quarkus-example.yaml | 19 + .../process-quarkus-example/pom.xml | 20 + .../kogito/examples/CalculationService.java | 25 +- .../examples/PersonValidationService.java | 25 +- .../org/kie/kogito/examples/demo/Order.java | 25 +- .../org/kie/kogito/examples/demo/Person.java | 25 +- .../src/main/resources/META-INF/kmodule.xml | 20 + .../src/main/resources/application.properties | 19 + .../examples/PersonValidationService.drl | 25 +- .../kie/kogito/examples/OrdersProcessIT.java | 25 +- .../org/kie/kogito/examples/OrdersRestIT.java | 25 +- .../kie/kogito/examples/PersonProcessIT.java | 25 +- .../kie/kogito/examples/PersonsRestIT.java | 25 +- .../src/test/resources/application.properties | 19 + .../process-service-rest-call-quarkus.yaml | 19 + .../process-rest-service-call-quarkus/pom.xml | 20 + .../java/org/acme/travels/quarkus/User.java | 25 +- .../acme/travels/rest/UsersRemoteService.java | 25 +- .../acme/travels/services/AuditService.java | 25 +- .../acme/travels/services/UserService.java | 25 +- .../resources/META-INF/resources/index.html | 20 + .../src/main/resources/application.properties | 19 + .../travels/quarkus/UsersProcessTest.java | 25 +- .../src/test/resources/application.properties | 19 + .../pom.xml | 20 + .../main/java/org/acme/numbers/Numbers.java | 25 +- .../org/acme/numbers/NumbersResource.java | 25 +- .../src/main/resources/application.properties | 19 + .../numbers/NativeForRestExampleTestIT.java | 25 +- .../org/acme/numbers/NumbersMockService.java | 25 +- .../org/acme/numbers/RestExampleTestIT.java | 25 +- .../process-service-rest-call-quarkus.yaml | 19 + .../process-rest-workitem-quarkus/pom.xml | 20 + .../src/main/java/org/acme/travels/User.java | 25 +- .../acme/travels/rest/UsersRemoteService.java | 25 +- .../acme/travels/services/AuditService.java | 25 +- .../src/main/resources/application.properties | 19 + .../org/acme/travels/UsersProcessTest.java | 25 +- .../src/test/resources/application.properties | 19 + .../process-saga-quarkus/pom.xml | 20 + .../org/kie/kogito/examples/MockService.java | 25 +- .../org/kie/kogito/examples/OrderService.java | 25 +- .../kie/kogito/examples/PaymentService.java | 25 +- .../org/kie/kogito/examples/Response.java | 25 +- .../kie/kogito/examples/ServiceException.java | 25 +- .../kie/kogito/examples/ShippingService.java | 25 +- .../org/kie/kogito/examples/StockService.java | 25 +- .../src/main/resources/application.properties | 25 +- .../kie/kogito/examples/ProcessSagaIT.java | 25 +- .../operator/process-scripts-quarkus.yaml | 19 + .../process-scripts-quarkus/pom.xml | 20 + .../resources/META-INF/resources/index.html | 20 + .../src/main/resources/application.properties | 19 + .../travels/quarkus/ScriptsProcessTest.java | 25 +- .../src/test/resources/application.properties | 19 + .../process-service-calls-quarkus.yaml | 19 + .../process-service-calls-quarkus/pom.xml | 20 + .../org/acme/travels/quarkus/Address.java | 25 +- .../org/acme/travels/quarkus/Traveller.java | 25 +- .../services/GreetingTravellerService.java | 25 +- .../acme/travels/services/HelloService.java | 25 +- .../services/StoreTravellerService.java | 25 +- .../services/TravellerAuditService.java | 25 +- .../resources/META-INF/resources/index.html | 20 + .../src/main/resources/application.properties | 19 + .../quarkus/MultiParamServiceProcessTest.java | 25 +- .../quarkus/TravellersProcessTest.java | 25 +- .../src/test/resources/application.properties | 19 + .../operator/jobs-service.yaml | 19 + .../operator/process-timer-quarkus.yaml | 19 + .../process-timer-quarkus/pom.xml | 20 + .../resources/META-INF/resources/index.html | 20 + .../src/main/resources/application.properties | 19 + .../process-usertasks-lifecycle-quarkus.yaml | 19 + .../pom.xml | 20 + .../main/java/org/acme/travels/Address.java | 25 +- .../main/java/org/acme/travels/Traveller.java | 25 +- .../config/CustomWorkItemHandlerConfig.java | 25 +- .../usertasks/CompleteStartedOnly.java | 25 +- .../usertasks/CustomHumanTaskLifeCycle.java | 25 +- .../org/acme/travels/usertasks/Start.java | 25 +- .../resources/META-INF/resources/index.html | 20 + .../src/main/resources/application.properties | 19 + .../quarkus/ApprovalsProcessTest.java | 25 +- .../src/test/resources/application.properties | 19 + .../docker-compose-infinispan.yml | 19 + .../docker-compose-postgresql.yml | 19 + .../docker-compose/infinispan/infinispan.xml | 20 + .../docker-compose/startServices.sh | 19 + .../pom.xml | 20 + .../java/org/kie/kogito/hr/Candidate.java | 25 +- .../resources/META-INF/resources/index.html | 31 +- .../src/main/resources/application.properties | 19 + .../org/kie/kogito/hr/HiringProcessIT.java | 25 +- .../src/test/resources/application.properties | 19 + .../operator/process-usertasks-quarkus.yaml | 19 + .../process-usertasks-quarkus/pom.xml | 20 + .../main/java/org/acme/travels/Address.java | 25 +- .../main/java/org/acme/travels/Traveller.java | 25 +- .../resources/META-INF/resources/index.html | 20 + .../src/main/resources/application.properties | 19 + .../travels/quarkus/ApprovalsProcessTest.java | 25 +- .../src/test/resources/application.properties | 19 + .../docker-compose-infinispan.yml | 19 + .../docker-compose-postgresql.yml | 19 + .../docker-compose/infinispan/infinispan.xml | 20 + .../docker-compose/startServices.sh | 19 + .../pom.xml | 20 + .../java/org/kie/kogito/hr/Candidate.java | 26 +- .../resources/META-INF/resources/index.html | 31 +- .../src/main/resources/application.properties | 19 + .../org/kie/kogito/hr/HiringProcessIT.java | 25 +- .../src/test/resources/application.properties | 19 + .../docker-compose/docker-compose.yml | 19 + .../docker-compose/infinispan/infinispan.xml | 20 + .../docker-compose/startServices.sh | 19 + .../pom.xml | 20 + .../main/java/org/acme/travels/Address.java | 25 +- .../main/java/org/acme/travels/Traveller.java | 25 +- .../resources/META-INF/resources/index.html | 31 +- .../src/main/resources/application.properties | 19 + .../org/acme/travels/ApprovalsProcessIT.java | 25 +- .../org/acme/travels/ApprovalsRestIT.java | 25 +- .../acme/travels/NativeApprovalsRestIT.java | 25 +- .../src/test/resources/application.properties | 19 + .../pom.xml | 20 + .../main/java/org/acme/travels/Address.java | 25 +- .../main/java/org/acme/travels/Traveller.java | 25 +- .../src/main/resources/application.properties | 19 + .../org/acme/travels/ApprovalsProcessIT.java | 25 +- .../org/acme/travels/ApprovalsRestIT.java | 25 +- .../acme/travels/NativeApprovalsRestIT.java | 25 +- .../src/test/resources/application.properties | 19 + .../process-tasks-security-quarkus.yaml | 19 + .../pom.xml | 20 + .../main/java/org/acme/travels/Address.java | 25 +- .../main/java/org/acme/travels/Traveller.java | 25 +- .../resources/META-INF/resources/index.html | 20 + .../src/main/resources/application.properties | 19 + .../quarkus/ApprovalsProcessTest.java | 25 +- .../security/quarkus/ApprovalsRestTest.java | 25 +- .../src/test/resources/application.properties | 19 + .../rules-incubation-api-quarkus/pom.xml | 20 + .../main/java/org/acme/CustomRestRules.java | 25 +- .../java/org/kie/kogito/examples/Hello.java | 25 +- .../src/main/resources/application.properties | 19 + .../org/kie/kogito/examples/Hello.drl | 25 +- .../java/org/acme/CustomRestRulesTest.java | 25 +- .../rules-legacy-quarkus-example/pom.xml | 20 + .../java/org/kie/kogito/legacy/Applicant.java | 25 +- .../legacy/FindApprovedLoansEndpoint.java | 25 +- .../kie/kogito/legacy/LoanApplication.java | 25 +- .../java/org/kie/kogito/legacy/LoanDto.java | 25 +- .../src/main/resources/application.properties | 19 + .../org/kie/kogito/legacy/LoanRules.drl | 25 +- .../org/kie/kogito/NativeRestQueryTestIT.java | 25 +- .../java/org/kie/kogito/RestQueryTest.java | 25 +- .../src/test/resources/application.properties | 19 + .../operator/rules-quarkus-helloworld.yaml | 19 + .../rules-quarkus-helloworld/pom.xml | 20 + .../java/org/kie/kogito/examples/Hello.java | 25 +- .../examples/MyAgendaEventListener.java | 25 +- .../src/main/resources/META-INF/kmodule.xml | 20 + .../src/main/resources/application.properties | 19 + .../org/kie/kogito/examples/Hello.drl | 25 +- .../org/kie/kogito/examples/HelloTest.java | 25 +- .../docker-compose.yml | 19 + .../ruleunit-event-driven-quarkus/out.txt | 1950 ----------------- .../ruleunit-event-driven-quarkus/pom.xml | 20 + .../org/kie/kogito/queries/AllAmounts.java | 25 +- .../org/kie/kogito/queries/Applicant.java | 25 +- .../kie/kogito/queries/LoanApplication.java | 25 +- .../java/org/kie/kogito/queries/LoanUnit.java | 25 +- .../src/main/resources/application.properties | 19 + .../org/kie/kogito/queries/RuleUnitQuery.drl | 25 +- .../examples/RuleUnitEventDrivenIT.java | 25 +- .../src/test/resources/application.properties | 19 + .../src/test/resources/logback-test.xml | 20 + .../operator/ruleunit-quarkus-example.yaml | 19 + .../ruleunit-quarkus-example/pom.xml | 20 + .../org/kie/kogito/queries/AllAmounts.java | 25 +- .../org/kie/kogito/queries/Applicant.java | 25 +- .../kie/kogito/queries/LoanApplication.java | 25 +- .../java/org/kie/kogito/queries/LoanUnit.java | 25 +- .../src/main/resources/application.properties | 19 + .../org/kie/kogito/queries/RuleUnitQuery.drl | 25 +- .../ruleunit/NativeRestQueryTestIT.java | 25 +- .../quarkus/ruleunit/RestQueryTest.java | 25 +- .../src/test/resources/application.properties | 19 + .../docker-compose/docker-compose.yml | 19 + .../provisioning/dashboards/dashboard.yml | 19 + .../provisioning/datasources/datasource.yml | 19 + .../docker-compose/infinispan/infinispan.xml | 20 + .../docker-compose/prometheus/prometheus.yml | 19 + .../resources/dmn-tracing-quarkus.yaml | 19 + .../kubernetes/resources/explainability.yaml | 19 + .../resources/infinispan-minimal.yaml | 19 + .../kubernetes/resources/kafka-topics.yaml | 19 + .../kubernetes/resources/kafka.yaml | 19 + .../kubernetes/resources/kogito-infra.yaml | 19 + .../kubernetes/resources/trusty-ui.yaml | 19 + .../kubernetes/resources/trusty.yaml | 19 + .../pom.xml | 20 + .../src/main/resources/application.properties | 19 + .../decisiontable-springboot-example.yaml | 19 + .../decisiontable-springboot-example/pom.xml | 20 + .../org/kie/kogito/queries/Applicant.java | 25 +- .../queries/KogitoSpringbootApplication.java | 25 +- .../kie/kogito/queries/LoanApplication.java | 25 +- .../java/org/kie/kogito/queries/LoanUnit.java | 25 +- .../src/main/resources/application.properties | 19 + .../springboot/RestQueryTest.java | 25 +- .../src/test/resources/logback-test.xml | 20 + .../docker-compose.yml | 19 + .../provisioning/dashboards/dashboard.yml | 19 + .../provisioning/datasources/datasource.yml | 19 + .../docker-compose/prometheus/prometheus.yml | 19 + .../dmn-drools-springboot-metrics/pom.xml | 20 + .../app/CustomDMNRuntimeEventListener.java | 25 +- .../kogito/app/RuleEventListenerConfig.java | 25 +- .../examples/CustomRuleEventListener.java | 25 +- .../java/org/kie/kogito/examples/Hello.java | 25 +- .../KogitoSpringbootApplication.java | 25 +- .../src/main/resources/application.properties | 19 + .../org/kie/kogito/examples/Hello.drl | 25 +- .../filtered-resources/project.properties | 26 +- .../springboot/DashboardsListTest.java | 25 +- .../springboot/DroolsMetricsTest.java | 25 +- .../springboot/GrafanaDockerComposeIT.java | 25 +- .../springboot/LoanEligibilityTest.java | 25 +- .../springboot/ProjectMetadataProvider.java | 25 +- .../src/test/resources/logback-test.xml | 20 + .../docker-compose.yml | 19 + .../dmn-event-driven-springboot/pom.xml | 20 + .../example/KogitoSpringbootApplication.java | 25 +- .../src/main/resources/application.properties | 19 + .../kie/kogito/examples/DmnEventDrivenIT.java | 25 +- .../operator/dmn-springboot-example.yaml | 19 + .../dmn-listener-springboot/pom.xml | 20 + .../ExampleDMNRuntimeEventListener.java | 25 +- .../ExampleDecisionEventListenerConfig.java | 25 +- .../listener/KogitoSpringbootApplication.java | 25 +- .../LoggingDMNRuntimeEventListener.java | 25 +- .../src/main/resources/application.properties | 19 + .../TrafficViolationListenerTest.java | 25 +- .../listener/TrafficViolationTest.java | 25 +- .../mock/MockDMNRuntimeEventListener.java | 25 +- .../operator/dmn-pmml-springboot-example.yaml | 19 + .../dmn-pmml-springboot-example/pom.xml | 20 + .../example/KogitoSpringbootApplication.java | 25 +- .../src/main/resources/application.properties | 19 + .../springboot/example/CommonTestUtils.java | 25 +- .../example/DMNMiningModelTest.java | 25 +- .../springboot/example/DMNRegressionTest.java | 25 +- .../springboot/example/DMNScoreCardTest.java | 25 +- .../pmml/springboot/example/DMNTreeTest.java | 25 +- .../springboot/example/DecisionTreeTest.java | 25 +- .../pmml/springboot/example/LinRegTest.java | 25 +- .../springboot/example/MiningModelTest.java | 25 +- .../springboot/example/ScoreCardTest.java | 25 +- .../KogitoScenarioJunitActivatorTest.java | 25 +- .../operator/dmn-springboot-example.yaml | 19 + .../dmn-springboot-example/pom.xml | 20 + .../example/KogitoSpringbootApplication.java | 25 +- .../src/main/resources/application.properties | 19 + .../example/TrafficViolationTest.java | 25 +- .../KogitoScenarioJunitActivatorTest.java | 25 +- .../dmn-tracing-springboot/docker-compose.yml | 19 + .../docker-compose/infinispan/infinispan.xml | 20 + .../operator/dmn-tracing-springboot.yaml | 19 + .../dmn-tracing-springboot/pom.xml | 20 + .../tracing/KogitoSpringbootApplication.java | 25 +- .../src/main/resources/application.properties | 19 + .../springboot/tracing/LoanEligibilityIT.java | 25 +- .../matcher/StringMatchesUUIDPattern.java | 25 +- .../src/test/resources/application.properties | 19 + .../operator/flexible-process-springboot.yaml | 19 + .../flexible-process-springboot/pom.xml | 20 + .../flexible/example/model/Comment.java | 25 +- .../flexible/example/model/Product.java | 25 +- .../flexible/example/model/Questionnaire.java | 25 +- .../kogito/flexible/example/model/State.java | 25 +- .../flexible/example/model/SupportCase.java | 25 +- .../example/service/CommentService.java | 25 +- .../example/service/StateService.java | 25 +- .../example/service/TriageService.java | 25 +- .../tests/KogitoSpringbootApplication.java | 25 +- .../springboot/ServiceDeskProcessTest.java | 25 +- .../onboarding-springboot/pom.xml | 20 + .../examples/KogitoOnboardingApplication.java | 25 +- .../examples/WorkItemHandlerConfig.java | 25 +- .../kogito/examples/onboarding/Address.java | 25 +- .../DecisionTaskWorkItemHandler.java | 25 +- .../kogito/examples/onboarding/Employee.java | 25 +- .../kogito/examples/onboarding/Payroll.java | 25 +- .../src/main/jkube/knative-service.yaml | 19 + .../src/main/jkube/rolebinding.yaml | 19 + .../src/main/resources/META-INF/kmodule.xml | 20 + .../src/main/resources/application.properties | 19 + .../onboarding/OnboardingEndpointIT.java | 25 +- .../test/RecordedOutputWorkItemHandler.java | 25 +- .../test/RecordedWorkItemHandlerConfig.java | 25 +- .../src/test/resources/application.properties | 19 + .../docker-compose.yml | 19 + .../pmml-event-driven-springboot/pom.xml | 20 + .../example/KogitoSpringbootApplication.java | 25 +- .../src/main/resources/application.properties | 19 + .../kogito/examples/PmmlEventDrivenIT.java | 25 +- .../src/test/resources/logback-test.xml | 20 + .../operator/pmml-springboot-example.yaml | 19 + .../pmml-springboot-example/pom.xml | 20 + .../example/KogitoSpringbootApplication.java | 25 +- .../src/main/resources/application.properties | 19 + .../springboot/example/CommonTestUtils.java | 25 +- .../pmml/springboot/example/LinRegTest.java | 25 +- .../springboot/example/MiningModelTest.java | 25 +- .../springboot/example/SampleMineTest.java | 25 +- .../example/SimpleScorecardTest.java | 25 +- kogito-springboot-examples/pom.xml | 20 + .../process-business-rules-springboot.yaml | 19 + .../process-business-rules-springboot/pom.xml | 20 + .../main/java/org/acme/travels/Person.java | 25 +- ...KogitoInfinispanSpringbootApplication.java | 25 +- .../src/main/resources/META-INF/kmodule.xml | 20 + .../src/main/resources/application.properties | 19 + .../org/acme/travels/person-rules.drl | 25 +- .../org/acme/travels/PersonsProcessTest.java | 25 +- .../process-decisions-rest-springboot/pom.xml | 20 + .../java/org/kie/kogito/traffic/Driver.java | 26 +- .../org/kie/kogito/traffic/DriverService.java | 26 +- .../java/org/kie/kogito/traffic/Fine.java | 25 +- .../kie/kogito/traffic/KogitoApplication.java | 25 +- .../traffic/LicenseValidationRestService.java | 25 +- .../traffic/LicenseValidationService.java | 25 +- .../traffic/TrafficViolationResponse.java | 25 +- .../traffic/TrafficViolationRestService.java | 25 +- .../org/kie/kogito/traffic/Violation.java | 26 +- .../resources/LicenseValidationService.drl | 25 +- .../src/main/resources/application.properties | 19 + .../kie/kogito/traffic/TrafficProcessIT.java | 25 +- .../pom.xml | 20 + .../org/kie/kogito/traffic/DriverService.java | 26 +- .../java/org/kie/kogito/traffic/Fine.java | 25 +- .../kie/kogito/traffic/KogitoApplication.java | 25 +- .../org/kie/kogito/traffic/Violation.java | 26 +- .../LicenseValidatedService.java | 25 +- .../traffic/licensevalidated/Validated.java | 26 +- .../traffic/licensevalidation/Driver.java | 26 +- .../LicenseValidationService.java | 25 +- .../resources/LicenseValidatedService.drl | 25 +- .../resources/LicenseValidationService.drl | 25 +- .../src/main/resources/application.properties | 19 + .../TrafficProcessIT.java | 25 +- .../process-decisions-springboot/pom.xml | 20 + .../java/org/kie/kogito/traffic/Driver.java | 26 +- .../org/kie/kogito/traffic/DriverService.java | 26 +- .../java/org/kie/kogito/traffic/Fine.java | 25 +- .../kie/kogito/traffic/KogitoApplication.java | 25 +- .../traffic/LicenseValidationService.java | 25 +- .../org/kie/kogito/traffic/Violation.java | 26 +- .../resources/LicenseValidationService.drl | 25 +- .../src/main/resources/application.properties | 19 + .../TrafficProcessIT.java | 25 +- ...ess-infinispan-persistence-springboot.yaml | 19 + .../pom.xml | 20 + .../src/main/java/org/acme/deals/Address.java | 25 +- .../org/acme/deals/KogitoApplication.java | 25 +- .../main/java/org/acme/deals/Traveller.java | 25 +- .../src/main/resources/application.properties | 19 + .../test/java/org/acme/deals/DealsRestIT.java | 25 +- .../src/test/resources/application.properties | 19 + .../process-kafka-multi-springboot.yaml | 19 + .../process-kafka-multi-springboot/pom.xml | 20 + .../main/java/org/acme/travel/Traveller.java | 25 +- ...KogitoKafkaMultiSpringbootApplication.java | 25 +- .../src/main/resources/META-INF/kmodule.xml | 20 + .../src/main/resources/application.properties | 19 + .../src/main/resources/travellers.drl | 25 +- .../springboot/MultiMessagingIT.java | 25 +- .../process-kafka-quickstart-springboot.yaml | 19 + .../pom.xml | 20 + .../main/java/org/acme/travel/Traveller.java | 25 +- ...oKafkaQuickstartSpringbootApplication.java | 25 +- .../src/main/resources/META-INF/kmodule.xml | 20 + .../src/main/resources/application.properties | 19 + .../src/main/resources/travellers.drl | 25 +- .../messaging/springboot/MessagingIT.java | 25 +- ...rocess-mongodb-persistence-springboot.yaml | 19 + .../pom.xml | 20 + .../main/java/org/acme/travels/Address.java | 25 +- .../org/acme/travels/KogitoApplication.java | 25 +- .../main/java/org/acme/travels/Traveller.java | 25 +- .../src/main/resources/application.properties | 19 + .../test/java/org/acme/deals/DealsRestIT.java | 25 +- .../docker-compose.yml | 19 + .../provisioning/dashboards/dashboard.yml | 19 + .../provisioning/datasources/datasource.yml | 19 + .../docker-compose/prometheus/prometheus.yml | 19 + .../process-monitoring-springboot/pom.xml | 20 + .../springboot/CalculationService.java | 25 +- .../examples/springboot/DemoApplication.java | 25 +- .../examples/springboot/demo/Order.java | 25 +- .../src/main/resources/application.properties | 19 + .../filtered-resources/project.properties | 26 +- .../springboot/DashboardGenerationTest.java | 26 +- .../springboot/ProcessMetricsTest.java | 26 +- .../springboot/ProjectMetadataProvider.java | 25 +- .../docker-clean.sh | 19 + .../docker-compose.yml | 19 + .../mongodb/init.sh | 19 + .../mongodb/launch.sh | 19 + .../process-outbox-mongodb-springboot/pom.xml | 20 + .../sidecar/launch.sh | 19 + .../kogito/examples/CalculationService.java | 25 +- .../org/kie/kogito/examples/CorsConfig.java | 25 +- .../kie/kogito/examples/DemoApplication.java | 25 +- .../examples/PersonValidationService.java | 25 +- .../org/kie/kogito/examples/demo/Order.java | 25 +- .../org/kie/kogito/examples/demo/Person.java | 25 +- .../src/main/resources/META-INF/kmodule.xml | 20 + .../src/main/resources/application.properties | 19 + .../examples/PersonValidationService.drl | 25 +- .../kogito/springboot/outbox/OutboxIT.java | 25 +- .../src/test/resources/logback.xml | 32 +- .../process-performance-springboot/pom.xml | 20 + ...ogitoPerformanceSpringbootApplication.java | 26 +- .../src/main/resources/application.properties | 19 + .../docker-compose/docker-compose.yml | 19 + .../pom.xml | 20 + .../main/java/org/acme/travels/Address.java | 25 +- .../org/acme/travels/KogitoApplication.java | 25 +- .../main/java/org/acme/travels/Traveller.java | 25 +- .../src/main/resources/application.properties | 19 + .../test/java/org/acme/deals/DealsRestIT.java | 25 +- .../process-service-rest-call-springboot.yaml | 19 + .../pom.xml | 20 + .../acme/travels/services/AuditService.java | 25 +- .../acme/travels/services/UserService.java | 25 +- .../org/acme/travels/springboot/User.java | 25 +- ...KogitoInfinispanSpringbootApplication.java | 25 +- .../src/main/resources/application.properties | 19 + .../travels/springboot/UsersProcessTest.java | 25 +- .../operator/process-scripts-springboot.yaml | 19 + .../process-scripts-springboot/pom.xml | 20 + ...KogitoInfinispanSpringbootApplication.java | 25 +- .../src/main/resources/application.properties | 19 + .../springboot/ScriptsProcessTest.java | 25 +- .../process-service-calls-springboot.yaml | 19 + .../process-service-calls-springboot/pom.xml | 20 + .../services/GreetingTravellerService.java | 25 +- .../acme/travels/services/HelloService.java | 25 +- .../services/StoreTravellerService.java | 25 +- .../services/TravellerAuditService.java | 25 +- .../org/acme/travels/springboot/Address.java | 25 +- .../acme/travels/springboot/Traveller.java | 25 +- ...KogitoInfinispanSpringbootApplication.java | 25 +- .../src/main/resources/application.properties | 19 + .../MultiParamServiceProcessTest.java | 25 +- .../springboot/TravellersProcessTest.java | 25 +- .../operator/process-springboot-example.yaml | 19 + .../process-springboot-example/pom.xml | 20 + .../kogito/examples/CalculationService.java | 25 +- .../org/kie/kogito/examples/CorsConfig.java | 25 +- .../kie/kogito/examples/DemoApplication.java | 25 +- .../org/kie/kogito/examples/KafkaConfig.java | 25 +- .../examples/PersonValidationService.java | 25 +- .../org/kie/kogito/examples/demo/Order.java | 25 +- .../org/kie/kogito/examples/demo/Person.java | 25 +- .../src/main/resources/META-INF/kmodule.xml | 20 + .../src/main/resources/application.properties | 19 + .../examples/PersonValidationService.drl | 25 +- .../kogito/examples/demo/OrdersProcessIT.java | 25 +- .../kogito/examples/demo/OrdersRestIT.java | 25 +- .../kogito/examples/demo/PersonProcessIT.java | 25 +- .../kogito/examples/demo/PersonsRestIT.java | 25 +- .../src/test/resources/application.properties | 19 + .../operator/jobs-service.yaml | 19 + .../operator/process-timer-springboot.yaml | 19 + .../process-timer-springboot/pom.xml | 20 + .../kie/kogito/tests/KogitoApplication.java | 25 +- .../src/main/resources/application.properties | 19 + ...rocess-usertasks-lifecycle-springboot.yaml | 19 + .../pom.xml | 20 + .../main/java/org/acme/travels/Address.java | 25 +- .../main/java/org/acme/travels/Traveller.java | 25 +- .../config/CustomWorkItemHandlerConfig.java | 25 +- .../usertasks/CompleteStartedOnly.java | 25 +- .../usertasks/CustomHumanTaskLifeCycle.java | 25 +- .../org/acme/travels/usertasks/Start.java | 25 +- ...KogitoInfinispanSpringbootApplication.java | 25 +- .../src/main/resources/application.properties | 19 + .../springboot/ApprovalsProcessTest.java | 25 +- .../docker-compose/docker-compose.yml | 19 + .../docker-compose/infinispan/infinispan.xml | 20 + .../docker-compose/startServices.sh | 19 + .../pom.xml | 20 + .../main/java/org/acme/travels/Address.java | 25 +- .../main/java/org/acme/travels/Traveller.java | 25 +- .../java/org/kie/kogito/tests/CorsConfig.java | 25 +- ...KogitoInfinispanSpringbootApplication.java | 25 +- .../resources/META-INF/resources/index.html | 31 +- .../src/main/resources/application.properties | 19 + .../org/acme/travels/ApprovalsTestIT.java | 25 +- .../process-usertasks-springboot.yaml | 19 + .../process-usertasks-springboot/pom.xml | 20 + .../main/java/org/acme/travels/Address.java | 25 +- .../main/java/org/acme/travels/Traveller.java | 25 +- ...KogitoInfinispanSpringbootApplication.java | 25 +- .../src/main/resources/application.properties | 19 + .../springboot/ApprovalsProcessTest.java | 25 +- .../docker-compose/docker-compose.yml | 19 + .../docker-compose/infinispan/infinispan.xml | 20 + .../docker-compose/startServices.sh | 19 + .../pom.xml | 20 + .../main/java/org/acme/travels/Address.java | 25 +- .../main/java/org/acme/travels/Traveller.java | 25 +- .../org/kie/kogito/springboot/CorsConfig.java | 25 +- .../springboot/DefaultWebSecurityConfig.java | 25 +- .../springboot/KeycloakResolverConfig.java | 26 +- .../KogitoSpringbootApplication.java | 25 +- .../resources/META-INF/resources/index.html | 31 +- .../src/main/resources/application.properties | 19 + .../acme/travels/ApprovalsProcessTestIT.java | 25 +- .../org/acme/travels/ApprovalsRestIT.java | 25 +- .../src/test/resources/application.properties | 19 + .../pom.xml | 20 + .../main/java/org/acme/travels/Address.java | 25 +- .../main/java/org/acme/travels/Traveller.java | 25 +- .../springboot/DefaultWebSecurityConfig.java | 25 +- .../springboot/KeycloakResolverConfig.java | 26 +- .../KogitoSpringbootApplication.java | 25 +- .../src/main/resources/application.properties | 19 + .../org/acme/travels/ApprovalsRestIT.java | 25 +- .../oidc/springboot/ApprovalsProcessTest.java | 25 +- .../src/test/resources/application.properties | 19 + .../process-tasks-security-springboot.yaml | 19 + .../pom.xml | 20 + .../main/java/org/acme/travels/Address.java | 25 +- .../main/java/org/acme/travels/Traveller.java | 25 +- .../tests/DefaultWebSecurityConfig.java | 25 +- ...KogitoInfinispanSpringbootApplication.java | 25 +- .../kie/kogito/tests/LogEventPublisher.java | 25 +- .../src/main/resources/application.properties | 19 + .../springboot/ApprovalsProcessTest.java | 25 +- .../springboot/ApprovalsRestTest.java | 25 +- .../operator/ruleunit-springboot-example.yaml | 19 + .../rules-legacy-springboot-example/pom.xml | 20 + .../java/org/kie/kogito/legacy/Applicant.java | 25 +- .../legacy/FindApprovedLoansEndpoint.java | 25 +- .../legacy/KogitoSpringbootApplication.java | 25 +- .../kie/kogito/legacy/LoanApplication.java | 25 +- .../java/org/kie/kogito/legacy/LoanDto.java | 25 +- .../src/main/resources/application.properties | 19 + .../org/kie/kogito/legacy/LoanRules.drl | 25 +- .../java/org/kie/kogito/RestQueryTest.java | 25 +- .../src/test/resources/logback-test.xml | 20 + .../docker-compose.yml | 19 + .../ruleunit-event-driven-springboot/pom.xml | 20 + .../org/kie/kogito/queries/AllAmounts.java | 25 +- .../org/kie/kogito/queries/Applicant.java | 25 +- .../queries/KogitoSpringbootApplication.java | 25 +- .../kie/kogito/queries/LoanApplication.java | 25 +- .../java/org/kie/kogito/queries/LoanUnit.java | 25 +- .../src/main/resources/application.properties | 19 + .../org/kie/kogito/queries/RuleUnitQuery.drl | 25 +- .../examples/RuleUnitEventDrivenIT.java | 25 +- .../src/test/resources/logback-test.xml | 20 + .../operator/ruleunit-springboot-example.yaml | 19 + .../ruleunit-springboot-example/pom.xml | 20 + .../org/kie/kogito/queries/Applicant.java | 25 +- .../queries/KogitoSpringbootApplication.java | 25 +- .../kie/kogito/queries/LoanApplication.java | 25 +- .../java/org/kie/kogito/queries/LoanUnit.java | 25 +- .../src/main/resources/application.properties | 19 + .../org/kie/kogito/queries/RuleUnitQuery.drl | 25 +- .../springboot/ruleunit/RestQueryTest.java | 25 +- .../src/test/resources/logback-test.xml | 20 + licensesheader.txt | 25 +- pom.xml | 20 + .../01-configmap_01-order-resources.yaml | 19 + .../resources/01-sonataflow_order.yaml | 19 + .../resources/02-configmap_order-props.yaml | 19 + serverless-workflow-examples/pom.xml | 20 + .../pom.xml | 20 + .../src/main/resources/application.properties | 21 +- .../callback-event-service/pom.xml | 20 + .../kie/kogito/examples/CallbackResource.java | 25 +- .../org/kie/kogito/examples/EventInput.java | 25 +- .../kogito/examples/RegisterObjectMapper.java | 25 +- .../src/main/resources/application.properties | 19 + .../callback-workflow/pom.xml | 20 + .../src/main/resources/application.properties | 19 + .../src/main/resources/specs/callback.yaml | 19 + .../kie/kogito/examples/CallbackRestIT.java | 25 +- .../pom.xml | 20 + .../docker-compose/docker-compose.yml | 19 + .../docker-compose/startServices.sh | 24 +- .../pom.xml | 20 + .../org/kie/kogito/examples/PrintService.java | 25 +- .../src/main/resources/application.properties | 19 + .../kie/kogito/examples/CallbackRestIT.java | 25 +- .../src/test/resources/application.properties | 19 + .../serverless-workflow-camel-routes/pom.xml | 20 + .../src/main/resources/application.properties | 19 + .../src/main/resources/beans.xml | 20 + .../resources/routes/sendSoapMessage.yaml | 19 + .../pom.xml | 20 + .../src/main/resources/application.properties | 19 + .../kogito/examples/CompensationRestIT.java | 25 +- .../operator/01-sonataflow_start.yaml | 19 + .../operator/startevent-sw.yaml | 19 + .../pom.xml | 20 + .../src/main/resources/application.properties | 19 + .../examples/ConsumingEventsOverHttpIT.java | 25 +- .../docker-compose/docker-compose.yml | 19 + .../pom.xml | 20 + .../java/org/kie/kogito/examples/Account.java | 25 +- .../kie/kogito/examples/EventsService.java | 25 +- .../kie/kogito/examples/WorkflowResource.java | 25 +- .../src/main/resources/application.properties | 19 + .../kie/kogito/examples/CorrelationIT.java | 25 +- .../src/test/resources/application.properties | 19 + .../custom-function-knative-service/pom.xml | 20 + .../kogito/examples/CloudEventFunction.java | 25 +- .../java/org/kie/kogito/examples/Input.java | 25 +- .../java/org/kie/kogito/examples/Output.java | 25 +- .../kogito/examples/PlainJsonFunction.java | 25 +- .../src/main/resources/application.properties | 19 + .../pom.xml | 20 + .../workflow/pom.xml | 20 + .../src/main/resources/application.properties | 19 + .../serverless-workflow-custom-type/pom.xml | 20 + .../pom.xml | 20 + .../services/RPCCustomFunctionNamespace.java | 25 +- .../sw/services/RPCCustomTypeHandler.java | 25 +- .../src/main/resources/application.properties | 19 + .../pom.xml | 20 + .../examples/sw/custom/CalculatorClient.java | 25 +- .../examples/sw/custom/CalculatorServer.java | 25 +- .../sw/custom/CalculatorClientTest.java | 25 +- .../serverless-workflow-custom-rpc/pom.xml | 20 + .../sw/custom/RPCCustomWorkItemHandler.java | 25 +- .../RPCCustomWorkItemHandlerConfig.java | 25 +- .../src/main/resources/META-INF/beans.xml | 20 + .../src/main/resources/application.properties | 19 + .../pom.xml | 20 + .../src/main/resources/application.properties | 19 + .../org/kie/kogito/examples/CustomRestIT.java | 25 +- .../docker-compose-with-data-index.yml | 19 + .../docker-compose/docker-compose.yml | 19 + .../docker-compose/startServices.sh | 24 +- .../pom.xml | 20 + .../org/kie/kogito/examples/PrintService.java | 25 +- .../src/main/resources/application.properties | 19 + .../kie/kogito/examples/DataIndexRestIT.java | 25 +- .../src/test/resources/application.properties | 19 + .../serverless-workflow-error-quarkus/pom.xml | 20 + .../org/kie/kogito/examples/EvenService.java | 25 +- .../src/main/resources/application.properties | 19 + .../org/kie/kogito/examples/ErrorRestIT.java | 25 +- .../docker-compose/docker-compose.yml | 19 + .../serverless-workflow-events-quarkus.yaml | 19 + .../pom.xml | 20 + .../examples/ApplicantResource.java | 25 +- .../examples/AvroMarshallerProducer.java | 25 +- .../serverless/examples/DecisionResource.java | 25 +- .../resources/META-INF/resources/index.html | 20 + .../src/main/resources/application.properties | 19 + .../examples/ApplicantWorkflowIT.java | 25 +- .../src/test/resources/application.properties | 19 + .../pom.xml | 20 + .../src/main/resources/application.properties | 19 + .../kie/kogito/examples/ExpressionRestIT.java | 25 +- .../operator/01-sonataflow_foreach.yaml | 19 + .../pom.xml | 20 + .../src/main/resources/application.properties | 19 + .../kie/kogito/examples/ForEachRestIT.java | 25 +- .../pom.xml | 20 + .../sw/onboarding/helpers/CalendarHelper.java | 25 +- .../acme/sw/onboarding/model/Appointment.java | 25 +- .../acme/sw/onboarding/model/Assignment.java | 25 +- .../org/acme/sw/onboarding/model/Doctor.java | 25 +- .../org/acme/sw/onboarding/model/Error.java | 25 +- .../org/acme/sw/onboarding/model/Patient.java | 25 +- .../sw/onboarding/model/SymptomSpecialty.java | 25 +- .../sw/onboarding/queries/AssignmentUnit.java | 25 +- .../resources/AppointmentResource.java | 25 +- .../onboarding/resources/PatientResource.java | 25 +- .../sw/onboarding/services/DoctorService.java | 25 +- .../onboarding/services/ScheduleService.java | 25 +- .../services/SymptomSpecialtyService.java | 25 +- .../resources/META-INF/resources/index.html | 20 + .../src/main/resources/application.properties | 19 + .../onboarding/queries/doctor_assignment.drl | 25 +- .../onboarding/queries/AssignmentUnitIT.java | 25 +- .../queries/AssignmentUnitPlainTest.java | 25 +- .../resources/AppointmentResourceIT.java | 25 +- .../sw/onboarding/resources/OnboardingIT.java | 25 +- .../resources/PatientResourceIT.java | 25 +- .../services/ScheduleServiceTest.java | 25 +- .../serverless-workflow-greeting-quarkus.yaml | 19 + .../pom.xml | 20 + .../main/java/org/acme/numbers/Numbers.java | 25 +- .../org/acme/numbers/NumbersResource.java | 25 +- .../src/main/resources/application.properties | 19 + .../workflow/functions/RestExampleIT.java | 25 +- .../serverless-workflow-funqy/pom.xml | 20 + .../sw-funqy-services/pom.xml | 20 + .../functions/ClassificationFunction.java | 25 +- .../examples/functions/CountriesFunction.java | 25 +- .../functions/PopulationFunction.java | 25 +- .../serverless/examples/input/Country.java | 25 +- .../services/ClassificationService.java | 25 +- .../examples/services/CountriesService.java | 25 +- .../examples/services/PopulationService.java | 25 +- .../src/main/resources/application.properties | 19 + .../serverless/examples/FunctionsIT.java | 25 +- .../sw-funqy-workflow/pom.xml | 20 + .../resources/META-INF/resources/index.html | 20 + .../src/main/resources/application.properties | 19 + .../examples/RestServiceMockServer.java | 25 +- .../serverless/examples/WorkflowIT.java | 26 +- .../src/test/resources/application.properties | 19 + .../github-service/configure.sh | 25 +- .../github-service/deploy-kubernetes.sh | 25 +- .../github-service/expose-on-minikube.sh | 25 +- .../kubernetes/00-deployment.yaml | 19 + .../kubernetes/application.properties | 19 + .../kubernetes/kustomization.yaml | 19 + .../github-service/pom.xml | 20 + .../sw/github/service/GitHubResource.java | 25 +- .../github/service/GitHubWrapperService.java | 25 +- .../service/GitHubWrapperServiceImpl.java | 25 +- .../sw/github/service/TokenProvider.java | 25 +- .../src/main/resources/application.properties | 19 + .../sw/github/service/GitHubResourceTest.java | 25 +- .../service/GitHubWrapperServiceIT.java | 25 +- .../service/MockedGitHubWrapperService.java | 25 +- .../src/test/resources/application.properties | 19 + .../notification-service/configure.sh | 25 +- .../notification-service/deploy-kubernetes.sh | 25 +- .../expose-on-minikube.sh | 25 +- .../kubernetes/00-broker.yaml | 19 + .../kubernetes/01-deployment.yaml | 19 + .../kubernetes/02-trigger.yaml | 19 + .../kubernetes/application.properties | 19 + .../kubernetes/kustomization.yaml | 19 + .../notification-service/pom.xml | 20 + .../service/NotificationResource.java | 25 +- .../src/main/resources/application.properties | 19 + .../service/NotificationResourceIT.java | 25 +- .../pom.xml | 20 + .../pr-checker-workflow/configure.sh | 25 +- .../pr-checker-workflow/deploy-kubernetes.sh | 25 +- .../pr-checker-workflow/expose-on-minikube.sh | 25 +- .../kubernetes/base/00-broker.yaml | 19 + .../kubernetes/base/01-github-source.yaml | 19 + .../kubernetes/base/02-kogito-service.yaml | 19 + .../base/03-pr-checker-trigger.yaml | 19 + .../base/04-pr-checker-sinkbinding.yaml | 19 + .../kubernetes/base/kustomization.yaml | 19 + .../local/00-github-smee-virtualservice.yaml | 19 + .../local/01-kogito-service-ingress.yaml | 19 + .../kubernetes/local/kustomization.yaml | 19 + .../pr-checker-workflow/pom.xml | 20 + .../sw/github/workflow/GitHubClient.java | 25 +- .../sw/github/workflow/GitHubService.java | 25 +- .../src/main/resources/application.properties | 19 + .../workflow/GitHubServiceMockServer.java | 25 +- .../sw/github/workflow/GitHubServiceTest.java | 25 +- .../sw/github/workflow/MessageSinkServer.java | 25 +- .../workflow/PRCheckerWorkflowTest.java | 25 +- .../src/test/resources/application.properties | 19 + .../scripts/add-route-to-hosts.sh | 25 +- .../scripts/cleanup-hosts-file.sh | 25 +- .../scripts/common.sh | 25 +- .../serverless-workflow-greeting-quarkus.yaml | 19 + .../pom.xml | 20 + .../src/main/resources/application.properties | 19 + .../org/kie/kogito/examples/GreetRestIT.java | 25 +- .../docker/docker-compose.yaml | 19 + .../pom.xml | 20 + .../pom.xml | 20 + .../src/main/resources/application.properties | 19 + .../org/kie/kogito/examples/GreetRestIT.java | 25 +- .../pom.xml | 20 + .../examples/sw/greeting/GreeterService.java | 25 +- .../sw/greeting/GreeterClientTest.java | 26 +- .../serverless-workflow-hello-world/pom.xml | 20 + .../src/main/resources/application.properties | 19 + .../kie/kogito/examples/HelloWorldTest.java | 18 + .../aggregator/pom.xml | 20 + .../aggregator/CloudEventDataFormat.java | 18 + .../aggregator/CloudEventsConverter.java | 18 + .../InMemoryQuotesRepositoryProcessor.java | 18 + .../aggregator/IntegrationConstants.java | 18 + .../aggregator/QuotesAggregationStrategy.java | 18 + .../aggregator/QuotesAggregatorRoute.java | 18 + .../aggregator/QuotesRepositoryProcessor.java | 18 + .../aggregator/model/AggregationResponse.java | 18 + .../aggregator/model/BankQuote.java | 18 + .../resources/QuotesCloudEventsResource.java | 18 + .../resources/QuotesExceptionMapper.java | 18 + .../aggregator/resources/QuotesResource.java | 18 + .../aggregator/resources/ResponseError.java | 18 + .../src/main/kubernetes/kubernetes.yml | 19 + .../src/main/resources/application.properties | 19 + .../aggregator/InjectWithSinkMock.java | 18 + .../aggregator/QuotesAggregatorRouteTest.java | 18 + .../aggregator/SinkMockTestResource.java | 18 + .../src/test/resources/application.properties | 19 + .../banks/func.yaml | 19 + .../credit-bureau/func.yaml | 19 + .../deploy.sh | 19 + .../kubernetes/jobs-service-postgresql.yml | 19 + .../kubernetes/kubernetes.yml | 19 + .../loanbroker-example-database.yml | 19 + .../loanbroker-flow/pom.xml | 20 + .../resources/META-INF/resources/index.html | 20 + .../src/main/resources/application.properties | 19 + .../src/main/resources/specs/aggregator.yaml | 19 + .../main/resources/specs/credit-bureau.yaml | 19 + .../loanbroker/flow/CreditBureauMock.java | 18 + .../loanbroker/flow/LoanBrokerFlowTest.java | 18 + .../loanbroker/flow/QuotesAggregatorMock.java | 18 + .../serverless/loanbroker/flow/SinkMock.java | 18 + .../src/test/resources/application.properties | 19 + .../loanbroker-ui/pom.xml | 20 + .../java/org/acme/loanbroker/AppResource.java | 18 + .../org/acme/loanbroker/NewQuoteSocket.java | 18 + .../org/acme/loanbroker/QuotesRepository.java | 18 + .../org/acme/loanbroker/domain/Credit.java | 18 + .../org/acme/loanbroker/domain/Quote.java | 18 + .../loanbroker/domain/QuotesResponse.java | 18 + .../src/main/kubernetes/kubernetes.yml | 19 + .../resources/META-INF/resources/index.html | 20 + .../src/main/resources/application.properties | 19 + .../org/acme/loanbroker/AppResourceTest.java | 18 + .../src/test/resources/application.properties | 19 + .../pom.xml | 20 + .../kubernetes/data-index-services.yml | 19 + .../kubernetes/supporting-services.yml | 19 + .../pom.xml | 20 + .../subscription-flow/pom.xml | 20 + .../org/kie/kogito/examples/VertxRouter.java | 26 +- .../resources/META-INF/resources/index.html | 32 +- .../resources/application-knative.properties | 19 + .../src/main/resources/application.properties | 19 + .../resources/specs/subscription-service.yaml | 19 + .../subscription/flow/SinkMock.java | 26 +- .../flow/SubscriptionConstants.java | 26 +- .../subscription/flow/SubscriptionFlowIT.java | 26 +- .../flow/SubscriptionServiceMock.java | 26 +- .../subscription-service/pom.xml | 20 + .../InMemorySubscriptionRepository.java | 26 +- .../PostgreSqlSubscriptionRepository.java | 26 +- .../subscription/service/Subscription.java | 26 +- .../service/SubscriptionException.java | 26 +- .../service/SubscriptionRepository.java | 26 +- .../service/SubscriptionResource.java | 26 +- .../service/SubscriptionService.java | 26 +- .../service/SubscriptionServiceImpl.java | 25 +- .../resources/META-INF/resources/index.html | 32 +- .../resources/application-knative.properties | 19 + .../src/main/resources/application.properties | 19 + .../service/SubscriptionResourceIT.java | 26 +- .../acme-financial-service/pom.xml | 20 + .../org/acme/AcmeFinancialApplication.java | 26 +- .../java/org/acme/AcmeFinancialResource.java | 26 +- .../java/org/acme/ExchangeRateResult.java | 26 +- .../main/java/org/acme/ExchangeRatesDB.java | 25 +- .../resources/META-INF/resources/index.html | 20 + .../src/main/resources/application.properties | 19 + .../java/org/acme/AcmeExchangeResourceIT.java | 26 +- .../currency-exchange-workflow/pom.xml | 20 + .../examples/ExchangeWorkflowHelper.java | 26 +- .../kie/kogito/examples/ValidationResult.java | 26 +- .../src/main/resources/application.properties | 19 + .../specs/acme-financial-service.yml | 19 + .../docker-compose/docker-compose.yml | 19 + .../pom.xml | 20 + .../scripts/startKeycloak.sh | 19 + .../pom.xml | 20 + .../src/main/resources/application.properties | 19 + .../kie/kogito/examples/OpenVinoRestIT.java | 25 +- .../kubernetes/ingress.yaml | 19 + .../pom.xml | 20 + .../src/main/kubernetes/knative.yml | 19 + .../src/main/resources/application.properties | 19 + .../examples/sw/orders/processing/Order.java | 25 +- .../processing/VerifyWorkflowExecutionIT.java | 25 +- .../src/test/resources/application.properties | 19 + .../pom.xml | 20 + .../resources/01-sonataflow_parallel.yaml | 19 + .../src/main/resources/application.properties | 19 + .../kogito/examples/ParallelStateTest.java | 25 +- .../pom.xml | 20 + .../src/main/resources/application.properties | 19 + .../org/kie/kogito/examples/PythonRestIT.java | 25 +- .../docker-compose/kafka/docker-compose.yml | 19 + .../docker-compose/knative/docker-compose.yml | 19 + .../pom.xml | 20 + .../query-answer-service/pom.xml | 20 + .../acme/InMemoryQueryRecordRepository.java | 26 +- .../acme/PostgreSqlQueryRecordRepository.java | 26 +- .../org/acme/QueryAnswerServiceException.java | 26 +- .../org/acme/QueryAnswerServiceHelper.java | 26 +- .../org/acme/QueryAnswerServiceResource.java | 26 +- .../src/main/java/org/acme/QueryRecord.java | 26 +- .../java/org/acme/QueryRecordRepository.java | 26 +- .../src/main/kubernetes/knative.yml | 19 + .../resources/META-INF/resources/index.html | 32 +- .../resources/application-kafka.properties | 19 + .../resources/application-knative.properties | 19 + .../application-persistence.properties | 19 + .../src/main/resources/application.properties | 19 + .../main/resources/specs/query-service.yaml | 19 + .../org/acme/it/QueryAnswerServiceIT.java | 26 +- .../acme/it/WireMockQueryServiceResource.java | 26 +- .../query-service/pom.xml | 20 + .../java/org/acme/CloudEventsCustomizer.java | 26 +- .../acme/InMemoryQueryRequestRepository.java | 26 +- .../PostgreSqlQueryRequestRepository.java | 26 +- .../src/main/java/org/acme/QueryRequest.java | 26 +- .../java/org/acme/QueryRequestRepository.java | 26 +- .../java/org/acme/QueryServiceException.java | 26 +- .../java/org/acme/QueryServiceResource.java | 26 +- .../main/java/org/acme/ResolveRequest.java | 26 +- .../src/main/kubernetes/knative.yml | 19 + .../resources/META-INF/resources/index.html | 32 +- .../resources/application-kafka.properties | 19 + .../resources/application-knative.properties | 19 + .../application-persistence.properties | 19 + .../src/main/resources/application.properties | 19 + .../org/acme/it/QueryServiceResourceIT.java | 26 +- .../serverless-workflow-saga-quarkus/pom.xml | 20 + .../org/kie/kogito/examples/MockService.java | 25 +- .../org/kie/kogito/examples/OrderService.java | 25 +- .../kie/kogito/examples/PaymentService.java | 25 +- .../org/kie/kogito/examples/Response.java | 25 +- .../kie/kogito/examples/ServiceException.java | 25 +- .../kie/kogito/examples/ShippingService.java | 25 +- .../org/kie/kogito/examples/StockService.java | 25 +- .../src/main/resources/application.properties | 19 + .../kogito/examples/OrderSagaWorkflowIT.java | 25 +- ...erless-workflow-service-calls-quarkus.yaml | 19 + .../pom.xml | 20 + .../examples/CountriesClassifierResource.java | 25 +- .../kogito/serverless/examples/Country.java | 25 +- .../resources/META-INF/resources/index.html | 20 + .../src/main/resources/application.properties | 19 + .../examples/CountryServiceWorkflowTest.java | 25 +- .../examples/RestCountriesMockServer.java | 25 +- .../src/test/resources/application.properties | 19 + .../fake-stock-service/pom.xml | 20 + .../java/org/acme/FakeStockPriceResource.java | 25 +- .../src/main/java/org/acme/Stock.java | 25 +- .../src/main/resources/application.properties | 19 + .../serverless-workflow-stock-profit/pom.xml | 20 + .../real-stock-service/pom.xml | 20 + .../java/org/acme/RealStockPriceResource.java | 25 +- .../src/main/java/org/acme/Stock.java | 25 +- .../src/main/resources/application.properties | 19 + .../stock-portfolio-service/pom.xml | 20 + .../main/java/org/acme/ProfitResource.java | 25 +- .../src/main/java/org/acme/StockProfit.java | 25 +- .../src/main/resources/application.properties | 19 + .../java/org/acme/ProfitResourceTest.java | 25 +- .../stock-profit/pom.xml | 20 + .../src/main/resources/application.properties | 19 + .../openapi/stock-portfolio-svc.yaml | 19 + .../src/main/resources/openapi/stock-svc.yaml | 19 + .../src/test/java/org/acme/MockServices.java | 25 +- .../src/test/java/org/acme/StockProfitIT.java | 25 +- .../conversion-workflow-full/pom.xml | 20 + .../src/main/resources/application.properties | 19 + .../main/resources/multiplication/spec.yaml | 19 + .../src/main/resources/subtraction/spec.yaml | 19 + .../kogito/serverless/ConversationFlowIT.java | 25 +- .../serverless/OperationsMockService.java | 25 +- .../conversion-workflow-function/pom.xml | 20 + .../src/main/resources/application.properties | 19 + .../main/resources/multiplication/spec.yaml | 19 + .../src/main/resources/subtraction/spec.yaml | 19 + .../kogito/serverless/ConversationFlowIT.java | 25 +- .../serverless/OperationsMockService.java | 25 +- .../conversion-workflow-spec/pom.xml | 20 + .../src/main/resources/application.properties | 19 + .../main/resources/specs/multiplication.yaml | 19 + .../src/main/resources/specs/subtraction.yaml | 19 + .../kogito/serverless/ConversationFlowIT.java | 25 +- .../serverless/OperationsMockService.java | 25 +- .../conversion-workflow/pom.xml | 20 + .../src/main/resources/application.properties | 19 + .../main/resources/specs/multiplication.yaml | 19 + .../src/main/resources/specs/subtraction.yaml | 19 + .../kogito/serverless/ConversationFlowIT.java | 25 +- .../serverless/OperationsMockService.java | 25 +- .../kubernetes/knative-services.yaml | 19 + .../multiplication-service/pom.xml | 20 + .../MultiplicationOperation.java | 25 +- .../multiplication/OperationResource.java | 25 +- .../resources/META-INF/resources/index.html | 20 + .../src/main/resources/application.properties | 19 + .../multiplication/OperationResourceIT.java | 25 +- .../pom.xml | 20 + .../subtraction-service/pom.xml | 20 + .../temp/subtraction/OperationResource.java | 25 +- .../subtraction/SubtractionOperation.java | 25 +- .../resources/META-INF/resources/index.html | 20 + .../src/main/resources/application.properties | 19 + .../temp/subtraction/OperationResourceIT.java | 25 +- .../pom.xml | 20 + .../src/main/resources/application.properties | 19 + .../org/kie/kogito/examples/HelloTest.java | 25 +- .../pom.xml | 20 + .../examples/EventsProducerResource.java | 26 +- .../org/kie/kogito/examples/VertxRouter.java | 18 + .../resources/META-INF/resources/index.html | 32 +- .../resources/application-knative.properties | 19 + .../src/main/resources/application.properties | 19 + .../org/kie/kogito/examples/TimeoutIT.java | 25 +- .../data-index-service-postgresql.yml | 19 + .../kubernetes/jobs-service-postgresql.yml | 19 + .../kubernetes/timeouts-showcase-database.yml | 19 + .../pom.xml | 20 + .../examples/EventsProducerResource.java | 26 +- .../org/kie/kogito/examples/VertxRouter.java | 18 + .../resources/META-INF/resources/index.html | 32 +- .../resources/application-knative.properties | 19 + .../src/main/resources/application.properties | 19 + .../org/kie/kogito/examples/TimeoutIT.java | 25 +- .../pom.xml | 20 + .../set-urls.sh | 19 + .../examples/CallbackStateTimeoutsClient.java | 26 +- .../examples/CloudEventsCustomizer.java | 26 +- .../examples/EventStateTimeoutsClient.java | 26 +- .../examples/EventsProducerResource.java | 26 +- .../examples/SwitchStateTimeoutsClient.java | 26 +- .../org/kie/kogito/examples/VertxRouter.java | 26 +- .../kie/kogito/examples/WorkflowClient.java | 26 +- .../examples/WorkflowTimeoutsClient.java | 26 +- .../examples/WorkflowsProxyResource.java | 26 +- .../resources/META-INF/resources/index.html | 32 +- .../application-kubernetes.properties | 19 + .../src/main/resources/application.properties | 19 + .../callback_state_timeouts_devprofile.yaml | 19 + .../event_state_timeouts_devprofile.yaml | 19 + .../switch_state_timeouts_devprofile.yaml | 19 + .../workflow_timeouts_devprofile.yaml | 19 + 1484 files changed, 24616 insertions(+), 10502 deletions(-) delete mode 100644 kogito-quarkus-examples/ruleunit-event-driven-quarkus/out.txt diff --git a/.ci/environments/quarkus-3/jbang/CreateKieQuarkusProjectMigrationRecipe.java b/.ci/environments/quarkus-3/jbang/CreateKieQuarkusProjectMigrationRecipe.java index ef4a67020b..f4085cf234 100755 --- a/.ci/environments/quarkus-3/jbang/CreateKieQuarkusProjectMigrationRecipe.java +++ b/.ci/environments/quarkus-3/jbang/CreateKieQuarkusProjectMigrationRecipe.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ import java.net.URL; import java.nio.charset.Charset; import java.nio.file.Files; diff --git a/.ci/environments/quarkus-3/jbang/CreateQuarkusDroolsMigrationRecipe.java b/.ci/environments/quarkus-3/jbang/CreateQuarkusDroolsMigrationRecipe.java index 45405d171a..1b9bcd88f6 100755 --- a/.ci/environments/quarkus-3/jbang/CreateQuarkusDroolsMigrationRecipe.java +++ b/.ci/environments/quarkus-3/jbang/CreateQuarkusDroolsMigrationRecipe.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ import java.net.URL; import java.nio.charset.Charset; import java.nio.file.Files; diff --git a/kogito-quarkus-examples/decisiontable-quarkus-example/operator/decisiontable-quarkus-example.yaml b/kogito-quarkus-examples/decisiontable-quarkus-example/operator/decisiontable-quarkus-example.yaml index dd8719a8da..7436593a2f 100644 --- a/kogito-quarkus-examples/decisiontable-quarkus-example/operator/decisiontable-quarkus-example.yaml +++ b/kogito-quarkus-examples/decisiontable-quarkus-example/operator/decisiontable-quarkus-example.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: app.kiegroup.org/v1beta1 kind: KogitoBuild metadata: diff --git a/kogito-quarkus-examples/decisiontable-quarkus-example/pom.xml b/kogito-quarkus-examples/decisiontable-quarkus-example/pom.xml index 92e8228743..78690aa93e 100644 --- a/kogito-quarkus-examples/decisiontable-quarkus-example/pom.xml +++ b/kogito-quarkus-examples/decisiontable-quarkus-example/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/kogito-quarkus-examples/decisiontable-quarkus-example/src/main/java/org/kie/kogito/queries/Applicant.java b/kogito-quarkus-examples/decisiontable-quarkus-example/src/main/java/org/kie/kogito/queries/Applicant.java index 175d3a98d5..25d1c54e64 100644 --- a/kogito-quarkus-examples/decisiontable-quarkus-example/src/main/java/org/kie/kogito/queries/Applicant.java +++ b/kogito-quarkus-examples/decisiontable-quarkus-example/src/main/java/org/kie/kogito/queries/Applicant.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.queries; diff --git a/kogito-quarkus-examples/decisiontable-quarkus-example/src/main/java/org/kie/kogito/queries/LoanApplication.java b/kogito-quarkus-examples/decisiontable-quarkus-example/src/main/java/org/kie/kogito/queries/LoanApplication.java index 70eec1c4e3..8697730bd3 100644 --- a/kogito-quarkus-examples/decisiontable-quarkus-example/src/main/java/org/kie/kogito/queries/LoanApplication.java +++ b/kogito-quarkus-examples/decisiontable-quarkus-example/src/main/java/org/kie/kogito/queries/LoanApplication.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.queries; diff --git a/kogito-quarkus-examples/decisiontable-quarkus-example/src/main/java/org/kie/kogito/queries/LoanUnit.java b/kogito-quarkus-examples/decisiontable-quarkus-example/src/main/java/org/kie/kogito/queries/LoanUnit.java index 3d35a77609..0aa2234202 100644 --- a/kogito-quarkus-examples/decisiontable-quarkus-example/src/main/java/org/kie/kogito/queries/LoanUnit.java +++ b/kogito-quarkus-examples/decisiontable-quarkus-example/src/main/java/org/kie/kogito/queries/LoanUnit.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.queries; diff --git a/kogito-quarkus-examples/decisiontable-quarkus-example/src/main/resources/application.properties b/kogito-quarkus-examples/decisiontable-quarkus-example/src/main/resources/application.properties index 35b7e32bea..a76c2a39bb 100644 --- a/kogito-quarkus-examples/decisiontable-quarkus-example/src/main/resources/application.properties +++ b/kogito-quarkus-examples/decisiontable-quarkus-example/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar 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..efc2b1e1b4 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.decisiontable.quarkus; diff --git a/kogito-quarkus-examples/decisiontable-quarkus-example/src/test/java/org/kie/kogito/decisiontable/quarkus/RestQueryTest.java b/kogito-quarkus-examples/decisiontable-quarkus-example/src/test/java/org/kie/kogito/decisiontable/quarkus/RestQueryTest.java index 2b88b46469..ab30115e50 100644 --- a/kogito-quarkus-examples/decisiontable-quarkus-example/src/test/java/org/kie/kogito/decisiontable/quarkus/RestQueryTest.java +++ b/kogito-quarkus-examples/decisiontable-quarkus-example/src/test/java/org/kie/kogito/decisiontable/quarkus/RestQueryTest.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.decisiontable.quarkus; diff --git a/kogito-quarkus-examples/decisiontable-quarkus-example/src/test/resources/application.properties b/kogito-quarkus-examples/decisiontable-quarkus-example/src/test/resources/application.properties index 3c17236931..a047ea13ba 100644 --- a/kogito-quarkus-examples/decisiontable-quarkus-example/src/test/resources/application.properties +++ b/kogito-quarkus-examples/decisiontable-quarkus-example/src/test/resources/application.properties @@ -1,2 +1,21 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Quarkus quarkus.http.test-port=0 \ No newline at end of file diff --git a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/docker-compose.yml b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/docker-compose.yml index 9743cfbd89..0ace894814 100644 --- a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/docker-compose.yml +++ b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/docker-compose.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + version: '2' services: diff --git a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/docker-compose/grafana/provisioning/dashboards/dashboard.yml b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/docker-compose/grafana/provisioning/dashboards/dashboard.yml index 437d59118f..1c31f32b3b 100644 --- a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/docker-compose/grafana/provisioning/dashboards/dashboard.yml +++ b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/docker-compose/grafana/provisioning/dashboards/dashboard.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: 1 providers: diff --git a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/docker-compose/grafana/provisioning/datasources/datasource.yml b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/docker-compose/grafana/provisioning/datasources/datasource.yml index 4e58703f23..14e5b05c55 100644 --- a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/docker-compose/grafana/provisioning/datasources/datasource.yml +++ b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/docker-compose/grafana/provisioning/datasources/datasource.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # config file version apiVersion: 1 diff --git a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/docker-compose/prometheus/prometheus.yml b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/docker-compose/prometheus/prometheus.yml index 3bc8783bb2..a86dadc112 100644 --- a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/docker-compose/prometheus/prometheus.yml +++ b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/docker-compose/prometheus/prometheus.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # A scrape configuration containing exactly one endpoint to scrape: scrape_configs: # The job name is added as a label `job=` to any timeseries scraped from this config. diff --git a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/pom.xml b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/pom.xml index 5edc5ee797..cca7db1d12 100755 --- a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/pom.xml +++ b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 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..94edbbc1d7 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 @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.app; 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..a39a5eb856 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 @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.app; diff --git a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/java/org/kie/kogito/examples/CustomRuleEventListener.java b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/java/org/kie/kogito/examples/CustomRuleEventListener.java index 39eac40227..05c6d15b20 100644 --- a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/java/org/kie/kogito/examples/CustomRuleEventListener.java +++ b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/java/org/kie/kogito/examples/CustomRuleEventListener.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/java/org/kie/kogito/examples/Hello.java b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/java/org/kie/kogito/examples/Hello.java index 15e84e9e72..8ca8eee6c3 100644 --- a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/java/org/kie/kogito/examples/Hello.java +++ b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/java/org/kie/kogito/examples/Hello.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/resources/application.properties b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/resources/application.properties index 05db035d52..7adace48b8 100644 --- a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/resources/application.properties +++ b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar diff --git a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/resources/org/kie/kogito/examples/Hello.drl b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/resources/org/kie/kogito/examples/Hello.drl index 7aaacc6c99..6026d730a2 100644 --- a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/resources/org/kie/kogito/examples/Hello.drl +++ b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/main/resources/org/kie/kogito/examples/Hello.drl @@ -1,17 +1,20 @@ /** - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; unit Hello; diff --git a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/filtered-resources/project.properties b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/filtered-resources/project.properties index 301ad794d3..5771872775 100644 --- a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/filtered-resources/project.properties +++ b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/filtered-resources/project.properties @@ -1,17 +1,21 @@ # -# Copyright 2021 Red Hat, Inc. and/or its affiliates. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# 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 # -# 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. +# 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. # + project.version=${project.version} project.artifactId=${project.artifactId} \ No newline at end of file diff --git a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/java/org/kie/kogito/examples/quarkus/DashboardsListIT.java b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/java/org/kie/kogito/examples/quarkus/DashboardsListIT.java index 5921f82a24..d6da290928 100644 --- a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/java/org/kie/kogito/examples/quarkus/DashboardsListIT.java +++ b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/java/org/kie/kogito/examples/quarkus/DashboardsListIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.quarkus; diff --git a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/java/org/kie/kogito/examples/quarkus/DroolsMetricsIT.java b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/java/org/kie/kogito/examples/quarkus/DroolsMetricsIT.java index 0af3380e8a..d7bbe74223 100644 --- a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/java/org/kie/kogito/examples/quarkus/DroolsMetricsIT.java +++ b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/java/org/kie/kogito/examples/quarkus/DroolsMetricsIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.quarkus; diff --git a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/java/org/kie/kogito/examples/quarkus/GrafanaDockerComposeIT.java b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/java/org/kie/kogito/examples/quarkus/GrafanaDockerComposeIT.java index 635b0008e0..fc0a4a1f76 100644 --- a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/java/org/kie/kogito/examples/quarkus/GrafanaDockerComposeIT.java +++ b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/java/org/kie/kogito/examples/quarkus/GrafanaDockerComposeIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.quarkus; diff --git a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/java/org/kie/kogito/examples/quarkus/LoanEligibilityIT.java b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/java/org/kie/kogito/examples/quarkus/LoanEligibilityIT.java index a9d2fca221..52ce78625a 100644 --- a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/java/org/kie/kogito/examples/quarkus/LoanEligibilityIT.java +++ b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/java/org/kie/kogito/examples/quarkus/LoanEligibilityIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.quarkus; diff --git a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/java/org/kie/kogito/examples/quarkus/ProjectMetadataProvider.java b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/java/org/kie/kogito/examples/quarkus/ProjectMetadataProvider.java index 8218ebe9e4..cc42f4e7db 100644 --- a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/java/org/kie/kogito/examples/quarkus/ProjectMetadataProvider.java +++ b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/java/org/kie/kogito/examples/quarkus/ProjectMetadataProvider.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.quarkus; diff --git a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/resources/application.properties b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/resources/application.properties index 3c17236931..a047ea13ba 100644 --- a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/resources/application.properties +++ b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/resources/application.properties @@ -1,2 +1,21 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Quarkus quarkus.http.test-port=0 \ No newline at end of file diff --git a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/resources/logback-test.xml b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/resources/logback-test.xml index e8c716f5ef..bb6af4db85 100644 --- a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/resources/logback-test.xml +++ b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/src/test/resources/logback-test.xml @@ -1,3 +1,23 @@ + diff --git a/kogito-quarkus-examples/dmn-event-driven-quarkus/docker-compose.yml b/kogito-quarkus-examples/dmn-event-driven-quarkus/docker-compose.yml index f07d3cc400..802976737c 100644 --- a/kogito-quarkus-examples/dmn-event-driven-quarkus/docker-compose.yml +++ b/kogito-quarkus-examples/dmn-event-driven-quarkus/docker-compose.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + version: '2' services: diff --git a/kogito-quarkus-examples/dmn-event-driven-quarkus/pom.xml b/kogito-quarkus-examples/dmn-event-driven-quarkus/pom.xml index f494fc03e0..1dad814a28 100644 --- a/kogito-quarkus-examples/dmn-event-driven-quarkus/pom.xml +++ b/kogito-quarkus-examples/dmn-event-driven-quarkus/pom.xml @@ -1,4 +1,24 @@ + diff --git a/kogito-quarkus-examples/dmn-event-driven-quarkus/src/main/resources/application.properties b/kogito-quarkus-examples/dmn-event-driven-quarkus/src/main/resources/application.properties index 8873403099..81eff0ee70 100644 --- a/kogito-quarkus-examples/dmn-event-driven-quarkus/src/main/resources/application.properties +++ b/kogito-quarkus-examples/dmn-event-driven-quarkus/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar diff --git a/kogito-quarkus-examples/dmn-event-driven-quarkus/src/test/java/org/kie/kogito/examples/DmnEventDrivenIT.java b/kogito-quarkus-examples/dmn-event-driven-quarkus/src/test/java/org/kie/kogito/examples/DmnEventDrivenIT.java index 0b244241da..2b66779aee 100644 --- a/kogito-quarkus-examples/dmn-event-driven-quarkus/src/test/java/org/kie/kogito/examples/DmnEventDrivenIT.java +++ b/kogito-quarkus-examples/dmn-event-driven-quarkus/src/test/java/org/kie/kogito/examples/DmnEventDrivenIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; 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..d1767133d5 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 @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/kogito-quarkus-examples/dmn-event-driven-quarkus/src/test/resources/application.properties b/kogito-quarkus-examples/dmn-event-driven-quarkus/src/test/resources/application.properties index 4396d4ebfb..4242e6e9c1 100644 --- a/kogito-quarkus-examples/dmn-event-driven-quarkus/src/test/resources/application.properties +++ b/kogito-quarkus-examples/dmn-event-driven-quarkus/src/test/resources/application.properties @@ -1 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + quarkus.kafka.devservices.enabled=false \ No newline at end of file diff --git a/kogito-quarkus-examples/dmn-incubation-api-quarkus/pom.xml b/kogito-quarkus-examples/dmn-incubation-api-quarkus/pom.xml index c5abbd378e..d2b9fd1f82 100644 --- a/kogito-quarkus-examples/dmn-incubation-api-quarkus/pom.xml +++ b/kogito-quarkus-examples/dmn-incubation-api-quarkus/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 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..5793b77341 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 @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme; diff --git a/kogito-quarkus-examples/dmn-incubation-api-quarkus/src/main/resources/application.properties b/kogito-quarkus-examples/dmn-incubation-api-quarkus/src/main/resources/application.properties index d0bf0d573d..672256c524 100644 --- a/kogito-quarkus-examples/dmn-incubation-api-quarkus/src/main/resources/application.properties +++ b/kogito-quarkus-examples/dmn-incubation-api-quarkus/src/main/resources/application.properties @@ -1 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + kogito.generate.rest.decisions=false diff --git a/kogito-quarkus-examples/dmn-incubation-api-quarkus/src/test/java/org/acme/CustomRestDecisionTest.java b/kogito-quarkus-examples/dmn-incubation-api-quarkus/src/test/java/org/acme/CustomRestDecisionTest.java index c8ce891d22..64c0dd2f6b 100644 --- a/kogito-quarkus-examples/dmn-incubation-api-quarkus/src/test/java/org/acme/CustomRestDecisionTest.java +++ b/kogito-quarkus-examples/dmn-incubation-api-quarkus/src/test/java/org/acme/CustomRestDecisionTest.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme; diff --git a/kogito-quarkus-examples/dmn-knative-quickstart-quarkus/pom.xml b/kogito-quarkus-examples/dmn-knative-quickstart-quarkus/pom.xml index 52abe49c3e..cabaec3c25 100644 --- a/kogito-quarkus-examples/dmn-knative-quickstart-quarkus/pom.xml +++ b/kogito-quarkus-examples/dmn-knative-quickstart-quarkus/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/kogito-quarkus-examples/dmn-knative-quickstart-quarkus/src/main/resources/application.properties b/kogito-quarkus-examples/dmn-knative-quickstart-quarkus/src/main/resources/application.properties index 8426031183..d71b9dc47d 100644 --- a/kogito-quarkus-examples/dmn-knative-quickstart-quarkus/src/main/resources/application.properties +++ b/kogito-quarkus-examples/dmn-knative-quickstart-quarkus/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar quarkus.swagger-ui.always-include=true 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..f24123502c 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 @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/kogito-quarkus-examples/dmn-knative-quickstart-quarkus/src/test/java/org/kie/kogito/examples/TopicsInformationTest.java b/kogito-quarkus-examples/dmn-knative-quickstart-quarkus/src/test/java/org/kie/kogito/examples/TopicsInformationTest.java index f7ea93becb..2496977b02 100644 --- a/kogito-quarkus-examples/dmn-knative-quickstart-quarkus/src/test/java/org/kie/kogito/examples/TopicsInformationTest.java +++ b/kogito-quarkus-examples/dmn-knative-quickstart-quarkus/src/test/java/org/kie/kogito/examples/TopicsInformationTest.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/kogito-quarkus-examples/dmn-knative-quickstart-quarkus/src/test/resources/application.properties b/kogito-quarkus-examples/dmn-knative-quickstart-quarkus/src/test/resources/application.properties index 9f23c4759e..0d7c6beeca 100644 --- a/kogito-quarkus-examples/dmn-knative-quickstart-quarkus/src/test/resources/application.properties +++ b/kogito-quarkus-examples/dmn-knative-quickstart-quarkus/src/test/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + quarkus.http.test-port=8282 quarkus.log.level=INFO diff --git a/kogito-quarkus-examples/dmn-listener-dtable/pom.xml b/kogito-quarkus-examples/dmn-listener-dtable/pom.xml index 8b3abdb384..4841ac34d5 100644 --- a/kogito-quarkus-examples/dmn-listener-dtable/pom.xml +++ b/kogito-quarkus-examples/dmn-listener-dtable/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 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..9ec21218d6 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 @@ -1,17 +1,20 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.dmn.quarkus.example.dtlistener; 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..8761bd2b20 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 @@ -1,17 +1,20 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.dmn.quarkus.example.dtlistener; diff --git a/kogito-quarkus-examples/dmn-listener-dtable/src/main/resources/application.properties b/kogito-quarkus-examples/dmn-listener-dtable/src/main/resources/application.properties index 35b7e32bea..a76c2a39bb 100644 --- a/kogito-quarkus-examples/dmn-listener-dtable/src/main/resources/application.properties +++ b/kogito-quarkus-examples/dmn-listener-dtable/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar 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..681b71dc28 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 @@ -1,17 +1,20 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.dmn.quarkus.example.dtlistener; diff --git a/kogito-quarkus-examples/dmn-listener-dtable/src/test/resources/application.properties b/kogito-quarkus-examples/dmn-listener-dtable/src/test/resources/application.properties index 3c17236931..a047ea13ba 100644 --- a/kogito-quarkus-examples/dmn-listener-dtable/src/test/resources/application.properties +++ b/kogito-quarkus-examples/dmn-listener-dtable/src/test/resources/application.properties @@ -1,2 +1,21 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Quarkus quarkus.http.test-port=0 \ No newline at end of file diff --git a/kogito-quarkus-examples/dmn-listener-quarkus/operator/dmn-quarkus-example.yaml b/kogito-quarkus-examples/dmn-listener-quarkus/operator/dmn-quarkus-example.yaml index dd2528a2e7..c5958575db 100644 --- a/kogito-quarkus-examples/dmn-listener-quarkus/operator/dmn-quarkus-example.yaml +++ b/kogito-quarkus-examples/dmn-listener-quarkus/operator/dmn-quarkus-example.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: app.kiegroup.org/v1beta1 kind: KogitoBuild metadata: diff --git a/kogito-quarkus-examples/dmn-listener-quarkus/pom.xml b/kogito-quarkus-examples/dmn-listener-quarkus/pom.xml index df719ac5b3..db5f6141cd 100644 --- a/kogito-quarkus-examples/dmn-listener-quarkus/pom.xml +++ b/kogito-quarkus-examples/dmn-listener-quarkus/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 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..0111e6522f 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.dmn.quarkus.example.listener; 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..7bcbfbb337 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.dmn.quarkus.example.listener; diff --git a/kogito-quarkus-examples/dmn-listener-quarkus/src/main/java/org/kie/kogito/dmn/quarkus/example/listener/LoggingDMNRuntimeEventListener.java b/kogito-quarkus-examples/dmn-listener-quarkus/src/main/java/org/kie/kogito/dmn/quarkus/example/listener/LoggingDMNRuntimeEventListener.java index f2dc00d429..4cb88b828e 100644 --- a/kogito-quarkus-examples/dmn-listener-quarkus/src/main/java/org/kie/kogito/dmn/quarkus/example/listener/LoggingDMNRuntimeEventListener.java +++ b/kogito-quarkus-examples/dmn-listener-quarkus/src/main/java/org/kie/kogito/dmn/quarkus/example/listener/LoggingDMNRuntimeEventListener.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.dmn.quarkus.example.listener; diff --git a/kogito-quarkus-examples/dmn-listener-quarkus/src/main/resources/application.properties b/kogito-quarkus-examples/dmn-listener-quarkus/src/main/resources/application.properties index 35b7e32bea..a76c2a39bb 100644 --- a/kogito-quarkus-examples/dmn-listener-quarkus/src/main/resources/application.properties +++ b/kogito-quarkus-examples/dmn-listener-quarkus/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar 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..b9405e908a 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.dmn.quarkus.example.listener; 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..8d458cb1d1 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.dmn.quarkus.example.listener; diff --git a/kogito-quarkus-examples/dmn-listener-quarkus/src/test/java/org/kie/kogito/dmn/quarkus/example/listener/TrafficViolationTest.java b/kogito-quarkus-examples/dmn-listener-quarkus/src/test/java/org/kie/kogito/dmn/quarkus/example/listener/TrafficViolationTest.java index fa3361ef6a..0d8a6108a0 100644 --- a/kogito-quarkus-examples/dmn-listener-quarkus/src/test/java/org/kie/kogito/dmn/quarkus/example/listener/TrafficViolationTest.java +++ b/kogito-quarkus-examples/dmn-listener-quarkus/src/test/java/org/kie/kogito/dmn/quarkus/example/listener/TrafficViolationTest.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.dmn.quarkus.example.listener; 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..549a27c53f 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.dmn.quarkus.example.mock; diff --git a/kogito-quarkus-examples/dmn-listener-quarkus/src/test/resources/application.properties b/kogito-quarkus-examples/dmn-listener-quarkus/src/test/resources/application.properties index 3c17236931..a047ea13ba 100644 --- a/kogito-quarkus-examples/dmn-listener-quarkus/src/test/resources/application.properties +++ b/kogito-quarkus-examples/dmn-listener-quarkus/src/test/resources/application.properties @@ -1,2 +1,21 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Quarkus quarkus.http.test-port=0 \ No newline at end of file diff --git a/kogito-quarkus-examples/dmn-pmml-quarkus-example/operator/dmn-pmml-quarkus-example.yaml b/kogito-quarkus-examples/dmn-pmml-quarkus-example/operator/dmn-pmml-quarkus-example.yaml index 94d75dbaa7..ef586c8b24 100644 --- a/kogito-quarkus-examples/dmn-pmml-quarkus-example/operator/dmn-pmml-quarkus-example.yaml +++ b/kogito-quarkus-examples/dmn-pmml-quarkus-example/operator/dmn-pmml-quarkus-example.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: app.kiegroup.org/v1beta1 kind: KogitoBuild metadata: diff --git a/kogito-quarkus-examples/dmn-pmml-quarkus-example/pom.xml b/kogito-quarkus-examples/dmn-pmml-quarkus-example/pom.xml index 2b502a0451..e26cd6004c 100644 --- a/kogito-quarkus-examples/dmn-pmml-quarkus-example/pom.xml +++ b/kogito-quarkus-examples/dmn-pmml-quarkus-example/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/main/resources/application.properties b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/main/resources/application.properties index 35b7e32bea..a76c2a39bb 100644 --- a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/main/resources/application.properties +++ b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar diff --git a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/CommonTestUtils.java b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/CommonTestUtils.java index fa360a5034..c74b609a65 100644 --- a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/CommonTestUtils.java +++ b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/CommonTestUtils.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.dmn.pmml.quarkus.example; diff --git a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/DMNMiningModelTest.java b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/DMNMiningModelTest.java index 6c3f656ff4..07ddf01f45 100644 --- a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/DMNMiningModelTest.java +++ b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/DMNMiningModelTest.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.dmn.pmml.quarkus.example; diff --git a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/DMNRegressionTest.java b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/DMNRegressionTest.java index aa5630f267..07ce648fb1 100644 --- a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/DMNRegressionTest.java +++ b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/DMNRegressionTest.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.dmn.pmml.quarkus.example; diff --git a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/DMNScoreCardTest.java b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/DMNScoreCardTest.java index 1cc71bfd06..df0ae9e8b9 100644 --- a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/DMNScoreCardTest.java +++ b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/DMNScoreCardTest.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.dmn.pmml.quarkus.example; diff --git a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/DMNTreeTest.java b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/DMNTreeTest.java index 45d3761a0a..c1ccdd8ac4 100644 --- a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/DMNTreeTest.java +++ b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/DMNTreeTest.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.dmn.pmml.quarkus.example; diff --git a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/DecisionTreeTest.java b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/DecisionTreeTest.java index 0482d2e654..bf9ba4a2d7 100644 --- a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/DecisionTreeTest.java +++ b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/DecisionTreeTest.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.dmn.pmml.quarkus.example; diff --git a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/LinRegTest.java b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/LinRegTest.java index cae090da03..af452c8704 100644 --- a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/LinRegTest.java +++ b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/LinRegTest.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.dmn.pmml.quarkus.example; diff --git a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/MiningModelTest.java b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/MiningModelTest.java index 0ae7f7a31f..55df44e577 100644 --- a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/MiningModelTest.java +++ b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/MiningModelTest.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.dmn.pmml.quarkus.example; 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..01c155dd96 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.dmn.pmml.quarkus.example; 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..3fbcbcadc2 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.dmn.pmml.quarkus.example; 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..f12ca34b71 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.dmn.pmml.quarkus.example; 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..e6c99cad15 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.dmn.pmml.quarkus.example; diff --git a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/ScoreCardTest.java b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/ScoreCardTest.java index 6e0b31b918..af960208c1 100644 --- a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/ScoreCardTest.java +++ b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/org/kie/kogito/dmn/pmml/quarkus/example/ScoreCardTest.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.dmn.pmml.quarkus.example; diff --git a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/testscenario/KogitoScenarioJunitActivatorTest.java b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/testscenario/KogitoScenarioJunitActivatorTest.java index b80780fad8..4b19a12015 100644 --- a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/testscenario/KogitoScenarioJunitActivatorTest.java +++ b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/java/testscenario/KogitoScenarioJunitActivatorTest.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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 testscenario; diff --git a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/resources/application.properties b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/resources/application.properties index 3c17236931..a047ea13ba 100644 --- a/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/resources/application.properties +++ b/kogito-quarkus-examples/dmn-pmml-quarkus-example/src/test/resources/application.properties @@ -1,2 +1,21 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Quarkus quarkus.http.test-port=0 \ No newline at end of file diff --git a/kogito-quarkus-examples/dmn-quarkus-example/operator/dmn-quarkus-example.yaml b/kogito-quarkus-examples/dmn-quarkus-example/operator/dmn-quarkus-example.yaml index 5c3a34c491..148bc634b2 100644 --- a/kogito-quarkus-examples/dmn-quarkus-example/operator/dmn-quarkus-example.yaml +++ b/kogito-quarkus-examples/dmn-quarkus-example/operator/dmn-quarkus-example.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: app.kiegroup.org/v1beta1 kind: KogitoBuild metadata: diff --git a/kogito-quarkus-examples/dmn-quarkus-example/pom.xml b/kogito-quarkus-examples/dmn-quarkus-example/pom.xml index 38ccc03702..a1d631228a 100644 --- a/kogito-quarkus-examples/dmn-quarkus-example/pom.xml +++ b/kogito-quarkus-examples/dmn-quarkus-example/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/kogito-quarkus-examples/dmn-quarkus-example/src/main/resources/application.properties b/kogito-quarkus-examples/dmn-quarkus-example/src/main/resources/application.properties index c94efbb4d2..727b6c82f1 100644 --- a/kogito-quarkus-examples/dmn-quarkus-example/src/main/resources/application.properties +++ b/kogito-quarkus-examples/dmn-quarkus-example/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging quarkus.swagger-ui.always-include=true 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..6473b17a57 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 @@ -1,17 +1,20 @@ /* - * Copyright 2019 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.dmn.quarkus.example; diff --git a/kogito-quarkus-examples/dmn-quarkus-example/src/test/java/org/kie/kogito/dmn/quarkus/example/TrafficViolationTest.java b/kogito-quarkus-examples/dmn-quarkus-example/src/test/java/org/kie/kogito/dmn/quarkus/example/TrafficViolationTest.java index b72795ac34..3c42782c77 100644 --- a/kogito-quarkus-examples/dmn-quarkus-example/src/test/java/org/kie/kogito/dmn/quarkus/example/TrafficViolationTest.java +++ b/kogito-quarkus-examples/dmn-quarkus-example/src/test/java/org/kie/kogito/dmn/quarkus/example/TrafficViolationTest.java @@ -1,17 +1,20 @@ /* - * Copyright 2019 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.dmn.quarkus.example; diff --git a/kogito-quarkus-examples/dmn-quarkus-example/src/test/java/testscenario/KogitoScenarioJunitActivatorTest.java b/kogito-quarkus-examples/dmn-quarkus-example/src/test/java/testscenario/KogitoScenarioJunitActivatorTest.java index b80780fad8..4b19a12015 100644 --- a/kogito-quarkus-examples/dmn-quarkus-example/src/test/java/testscenario/KogitoScenarioJunitActivatorTest.java +++ b/kogito-quarkus-examples/dmn-quarkus-example/src/test/java/testscenario/KogitoScenarioJunitActivatorTest.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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 testscenario; diff --git a/kogito-quarkus-examples/dmn-quarkus-example/src/test/resources/application.properties b/kogito-quarkus-examples/dmn-quarkus-example/src/test/resources/application.properties index 3c17236931..a047ea13ba 100644 --- a/kogito-quarkus-examples/dmn-quarkus-example/src/test/resources/application.properties +++ b/kogito-quarkus-examples/dmn-quarkus-example/src/test/resources/application.properties @@ -1,2 +1,21 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Quarkus quarkus.http.test-port=0 \ No newline at end of file diff --git a/kogito-quarkus-examples/dmn-tracing-quarkus/Dockerfile b/kogito-quarkus-examples/dmn-tracing-quarkus/Dockerfile index d3fd100a3a..6bff9a5109 100644 --- a/kogito-quarkus-examples/dmn-tracing-quarkus/Dockerfile +++ b/kogito-quarkus-examples/dmn-tracing-quarkus/Dockerfile @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + FROM quay.io/kiegroup/kogito-runtime-jvm:latest ENV RUNTIME_TYPE quarkus diff --git a/kogito-quarkus-examples/dmn-tracing-quarkus/docker-compose.yml b/kogito-quarkus-examples/dmn-tracing-quarkus/docker-compose.yml index 3438741d5c..203fad5084 100644 --- a/kogito-quarkus-examples/dmn-tracing-quarkus/docker-compose.yml +++ b/kogito-quarkus-examples/dmn-tracing-quarkus/docker-compose.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + version: '2' services: diff --git a/kogito-quarkus-examples/dmn-tracing-quarkus/docker-compose/infinispan/infinispan.xml b/kogito-quarkus-examples/dmn-tracing-quarkus/docker-compose/infinispan/infinispan.xml index f7c28ab38c..49b57f7d93 100644 --- a/kogito-quarkus-examples/dmn-tracing-quarkus/docker-compose/infinispan/infinispan.xml +++ b/kogito-quarkus-examples/dmn-tracing-quarkus/docker-compose/infinispan/infinispan.xml @@ -1,3 +1,23 @@ + diff --git a/kogito-quarkus-examples/dmn-tracing-quarkus/operator/dmn-quarkus-example.yaml b/kogito-quarkus-examples/dmn-tracing-quarkus/operator/dmn-quarkus-example.yaml index ee1ba5f6db..1420b17435 100644 --- a/kogito-quarkus-examples/dmn-tracing-quarkus/operator/dmn-quarkus-example.yaml +++ b/kogito-quarkus-examples/dmn-tracing-quarkus/operator/dmn-quarkus-example.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + --- #Strimzi operator should be pre-installed in namespace apiVersion: app.kiegroup.org/v1beta1 diff --git a/kogito-quarkus-examples/dmn-tracing-quarkus/pom.xml b/kogito-quarkus-examples/dmn-tracing-quarkus/pom.xml index 07fc0c4cec..90473686bf 100644 --- a/kogito-quarkus-examples/dmn-tracing-quarkus/pom.xml +++ b/kogito-quarkus-examples/dmn-tracing-quarkus/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/kogito-quarkus-examples/dmn-tracing-quarkus/src/main/resources/application.properties b/kogito-quarkus-examples/dmn-tracing-quarkus/src/main/resources/application.properties index 35b7e32bea..a76c2a39bb 100644 --- a/kogito-quarkus-examples/dmn-tracing-quarkus/src/main/resources/application.properties +++ b/kogito-quarkus-examples/dmn-tracing-quarkus/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar diff --git a/kogito-quarkus-examples/dmn-tracing-quarkus/src/test/java/org/kie/kogito/dmn/quarkus/tracing/LoanEligibilityIT.java b/kogito-quarkus-examples/dmn-tracing-quarkus/src/test/java/org/kie/kogito/dmn/quarkus/tracing/LoanEligibilityIT.java index 22ade7e8f9..efe716fa09 100644 --- a/kogito-quarkus-examples/dmn-tracing-quarkus/src/test/java/org/kie/kogito/dmn/quarkus/tracing/LoanEligibilityIT.java +++ b/kogito-quarkus-examples/dmn-tracing-quarkus/src/test/java/org/kie/kogito/dmn/quarkus/tracing/LoanEligibilityIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.dmn.quarkus.tracing; 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..46d1ae53b6 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.dmn.quarkus.tracing; diff --git a/kogito-quarkus-examples/dmn-tracing-quarkus/src/test/java/org/kie/kogito/dmn/quarkus/tracing/matcher/StringMatchesUUIDPattern.java b/kogito-quarkus-examples/dmn-tracing-quarkus/src/test/java/org/kie/kogito/dmn/quarkus/tracing/matcher/StringMatchesUUIDPattern.java index c1f9f3398e..54614fccd6 100644 --- a/kogito-quarkus-examples/dmn-tracing-quarkus/src/test/java/org/kie/kogito/dmn/quarkus/tracing/matcher/StringMatchesUUIDPattern.java +++ b/kogito-quarkus-examples/dmn-tracing-quarkus/src/test/java/org/kie/kogito/dmn/quarkus/tracing/matcher/StringMatchesUUIDPattern.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.dmn.quarkus.tracing.matcher; diff --git a/kogito-quarkus-examples/dmn-tracing-quarkus/src/test/resources/application.properties b/kogito-quarkus-examples/dmn-tracing-quarkus/src/test/resources/application.properties index ac9526c175..192af53c77 100644 --- a/kogito-quarkus-examples/dmn-tracing-quarkus/src/test/resources/application.properties +++ b/kogito-quarkus-examples/dmn-tracing-quarkus/src/test/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Quarkus quarkus.http.test-port=0 kafka.bootstrap.servers=localhost:9092 \ No newline at end of file diff --git a/kogito-quarkus-examples/flexible-process-quarkus/operator/flexible-process-quarkus.yaml b/kogito-quarkus-examples/flexible-process-quarkus/operator/flexible-process-quarkus.yaml index 701d7d6e88..73b3f05714 100644 --- a/kogito-quarkus-examples/flexible-process-quarkus/operator/flexible-process-quarkus.yaml +++ b/kogito-quarkus-examples/flexible-process-quarkus/operator/flexible-process-quarkus.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: app.kiegroup.org/v1beta1 kind: KogitoBuild metadata: diff --git a/kogito-quarkus-examples/flexible-process-quarkus/pom.xml b/kogito-quarkus-examples/flexible-process-quarkus/pom.xml index f59b52e1f0..10453d82ee 100644 --- a/kogito-quarkus-examples/flexible-process-quarkus/pom.xml +++ b/kogito-quarkus-examples/flexible-process-quarkus/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/kie/kogito/flexible/example/model/Comment.java b/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/kie/kogito/flexible/example/model/Comment.java index c6e924361e..3257e28ba8 100644 --- a/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/kie/kogito/flexible/example/model/Comment.java +++ b/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/kie/kogito/flexible/example/model/Comment.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.flexible.example.model; diff --git a/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/kie/kogito/flexible/example/model/Product.java b/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/kie/kogito/flexible/example/model/Product.java index 9efe281bc8..1dd99f1d9f 100644 --- a/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/kie/kogito/flexible/example/model/Product.java +++ b/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/kie/kogito/flexible/example/model/Product.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.flexible.example.model; diff --git a/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/kie/kogito/flexible/example/model/Questionnaire.java b/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/kie/kogito/flexible/example/model/Questionnaire.java index 67d71a3b12..1ab5c96283 100644 --- a/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/kie/kogito/flexible/example/model/Questionnaire.java +++ b/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/kie/kogito/flexible/example/model/Questionnaire.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.flexible.example.model; diff --git a/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/kie/kogito/flexible/example/model/State.java b/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/kie/kogito/flexible/example/model/State.java index 29b47e5ed5..6efea72c9d 100644 --- a/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/kie/kogito/flexible/example/model/State.java +++ b/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/kie/kogito/flexible/example/model/State.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.flexible.example.model; diff --git a/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/kie/kogito/flexible/example/model/SupportCase.java b/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/kie/kogito/flexible/example/model/SupportCase.java index 251a49e459..f9dd8de9e8 100644 --- a/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/kie/kogito/flexible/example/model/SupportCase.java +++ b/kogito-quarkus-examples/flexible-process-quarkus/src/main/java/org/kie/kogito/flexible/example/model/SupportCase.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.flexible.example.model; 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..7b504cf9af 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.flexible.example.service; 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..9acbdb0364 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.flexible.example.service; 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..d3672b0b8c 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.flexible.example.service; diff --git a/kogito-quarkus-examples/flexible-process-quarkus/src/main/resources/application.properties b/kogito-quarkus-examples/flexible-process-quarkus/src/main/resources/application.properties index 7339127a0e..5e4372315b 100644 --- a/kogito-quarkus-examples/flexible-process-quarkus/src/main/resources/application.properties +++ b/kogito-quarkus-examples/flexible-process-quarkus/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar diff --git a/kogito-quarkus-examples/flexible-process-quarkus/src/test/java/org/kie/kogito/flexible/example/quarkus/ServiceDeskProcessTest.java b/kogito-quarkus-examples/flexible-process-quarkus/src/test/java/org/kie/kogito/flexible/example/quarkus/ServiceDeskProcessTest.java index 085ece400b..b62b93dcd6 100644 --- a/kogito-quarkus-examples/flexible-process-quarkus/src/test/java/org/kie/kogito/flexible/example/quarkus/ServiceDeskProcessTest.java +++ b/kogito-quarkus-examples/flexible-process-quarkus/src/test/java/org/kie/kogito/flexible/example/quarkus/ServiceDeskProcessTest.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.flexible.example.quarkus; diff --git a/kogito-quarkus-examples/flexible-process-quarkus/src/test/resources/application.properties b/kogito-quarkus-examples/flexible-process-quarkus/src/test/resources/application.properties index 3c17236931..a047ea13ba 100644 --- a/kogito-quarkus-examples/flexible-process-quarkus/src/test/resources/application.properties +++ b/kogito-quarkus-examples/flexible-process-quarkus/src/test/resources/application.properties @@ -1,2 +1,21 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Quarkus quarkus.http.test-port=0 \ No newline at end of file diff --git a/kogito-quarkus-examples/kogito-travel-agency/basic/pom.xml b/kogito-quarkus-examples/kogito-travel-agency/basic/pom.xml index ed8b1ecb54..22e757cf86 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/basic/pom.xml +++ b/kogito-quarkus-examples/kogito-travel-agency/basic/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/kogito-quarkus-examples/kogito-travel-agency/basic/src/main/java/org/acme/travels/Address.java b/kogito-quarkus-examples/kogito-travel-agency/basic/src/main/java/org/acme/travels/Address.java index d808334384..662dfa9b9f 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/basic/src/main/java/org/acme/travels/Address.java +++ b/kogito-quarkus-examples/kogito-travel-agency/basic/src/main/java/org/acme/travels/Address.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; diff --git a/kogito-quarkus-examples/kogito-travel-agency/basic/src/main/java/org/acme/travels/Flight.java b/kogito-quarkus-examples/kogito-travel-agency/basic/src/main/java/org/acme/travels/Flight.java index c14acd9899..313410ffeb 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/basic/src/main/java/org/acme/travels/Flight.java +++ b/kogito-quarkus-examples/kogito-travel-agency/basic/src/main/java/org/acme/travels/Flight.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; diff --git a/kogito-quarkus-examples/kogito-travel-agency/basic/src/main/java/org/acme/travels/Hotel.java b/kogito-quarkus-examples/kogito-travel-agency/basic/src/main/java/org/acme/travels/Hotel.java index f5788dfe24..a1a3cdfc10 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/basic/src/main/java/org/acme/travels/Hotel.java +++ b/kogito-quarkus-examples/kogito-travel-agency/basic/src/main/java/org/acme/travels/Hotel.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; diff --git a/kogito-quarkus-examples/kogito-travel-agency/basic/src/main/java/org/acme/travels/Traveller.java b/kogito-quarkus-examples/kogito-travel-agency/basic/src/main/java/org/acme/travels/Traveller.java index a1bc010022..a4acc873c9 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/basic/src/main/java/org/acme/travels/Traveller.java +++ b/kogito-quarkus-examples/kogito-travel-agency/basic/src/main/java/org/acme/travels/Traveller.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; diff --git a/kogito-quarkus-examples/kogito-travel-agency/basic/src/main/java/org/acme/travels/Trip.java b/kogito-quarkus-examples/kogito-travel-agency/basic/src/main/java/org/acme/travels/Trip.java index 7d4691de1b..3c016db64b 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/basic/src/main/java/org/acme/travels/Trip.java +++ b/kogito-quarkus-examples/kogito-travel-agency/basic/src/main/java/org/acme/travels/Trip.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; 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..93cf2f4635 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels.service; 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..342e9ef9f8 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels.service; diff --git a/kogito-quarkus-examples/kogito-travel-agency/basic/src/main/resources/META-INF/resources/index.html b/kogito-quarkus-examples/kogito-travel-agency/basic/src/main/resources/META-INF/resources/index.html index e03c03053f..097ac6c041 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/basic/src/main/resources/META-INF/resources/index.html +++ b/kogito-quarkus-examples/kogito-travel-agency/basic/src/main/resources/META-INF/resources/index.html @@ -1,3 +1,23 @@ + diff --git a/kogito-quarkus-examples/kogito-travel-agency/basic/src/main/resources/application.properties b/kogito-quarkus-examples/kogito-travel-agency/basic/src/main/resources/application.properties index 6a64003ab5..710fa431d2 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/basic/src/main/resources/application.properties +++ b/kogito-quarkus-examples/kogito-travel-agency/basic/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Configuration file # key = value 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..da9a714a96 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travel; 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..3ae3b51cff 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travel; 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..4ae5cc5820 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travel; 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..14759f3788 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travel; diff --git a/kogito-quarkus-examples/kogito-travel-agency/basic/src/test/resources/application.properties b/kogito-quarkus-examples/kogito-travel-agency/basic/src/test/resources/application.properties index 3c17236931..a047ea13ba 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/basic/src/test/resources/application.properties +++ b/kogito-quarkus-examples/kogito-travel-agency/basic/src/test/resources/application.properties @@ -1,2 +1,21 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Quarkus quarkus.http.test-port=0 \ No newline at end of file diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/docker-compose/docker-compose.yml b/kogito-quarkus-examples/kogito-travel-agency/extended/docker-compose/docker-compose.yml index eedd2da5c2..2cbc0a4150 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/extended/docker-compose/docker-compose.yml +++ b/kogito-quarkus-examples/kogito-travel-agency/extended/docker-compose/docker-compose.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + version: '2.1' services: diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/docker-compose/grafana/provisioning/dashboards/dashboard.yml b/kogito-quarkus-examples/kogito-travel-agency/extended/docker-compose/grafana/provisioning/dashboards/dashboard.yml index 14716ee197..7a78ec05f3 100755 --- a/kogito-quarkus-examples/kogito-travel-agency/extended/docker-compose/grafana/provisioning/dashboards/dashboard.yml +++ b/kogito-quarkus-examples/kogito-travel-agency/extended/docker-compose/grafana/provisioning/dashboards/dashboard.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: 1 providers: diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/docker-compose/grafana/provisioning/datasources/datasource.yml b/kogito-quarkus-examples/kogito-travel-agency/extended/docker-compose/grafana/provisioning/datasources/datasource.yml index 897523f49b..098d8c08cc 100755 --- a/kogito-quarkus-examples/kogito-travel-agency/extended/docker-compose/grafana/provisioning/datasources/datasource.yml +++ b/kogito-quarkus-examples/kogito-travel-agency/extended/docker-compose/grafana/provisioning/datasources/datasource.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # config file version apiVersion: 1 diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/docker-compose/infinispan/infinispan.xml b/kogito-quarkus-examples/kogito-travel-agency/extended/docker-compose/infinispan/infinispan.xml index 4d594bfc24..a466561b9f 100755 --- a/kogito-quarkus-examples/kogito-travel-agency/extended/docker-compose/infinispan/infinispan.xml +++ b/kogito-quarkus-examples/kogito-travel-agency/extended/docker-compose/infinispan/infinispan.xml @@ -1,3 +1,23 @@ + diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/docker-compose/prometheus/prometheus.yml b/kogito-quarkus-examples/kogito-travel-agency/extended/docker-compose/prometheus/prometheus.yml index f176310fcf..8012288aba 100755 --- a/kogito-quarkus-examples/kogito-travel-agency/extended/docker-compose/prometheus/prometheus.yml +++ b/kogito-quarkus-examples/kogito-travel-agency/extended/docker-compose/prometheus/prometheus.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # A scrape configuration containing exactly one endpoint to scrape: scrape_configs: # The job name is added as a label `job=` to any timeseries scraped from this config. diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/docker-compose/startServices.sh b/kogito-quarkus-examples/kogito-travel-agency/extended/docker-compose/startServices.sh index f77454a74c..ddd98b43a6 100755 --- a/kogito-quarkus-examples/kogito-travel-agency/extended/docker-compose/startServices.sh +++ b/kogito-quarkus-examples/kogito-travel-agency/extended/docker-compose/startServices.sh @@ -1,18 +1,21 @@ #!/bin/sh # -# Copyright 2021 Red Hat, Inc. and/or its affiliates. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# 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 # -# 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. +# 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. # echo "Script requires your Kogito Travel Agency and Visas projects to be compiled" diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/operator/data-index.yaml b/kogito-quarkus-examples/kogito-travel-agency/extended/operator/data-index.yaml index 8d4c5de4a4..0a199dd9f3 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/extended/operator/data-index.yaml +++ b/kogito-quarkus-examples/kogito-travel-agency/extended/operator/data-index.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + #Strimzi operator should be pre-installed in namespace apiVersion: app.kiegroup.org/v1beta1 kind: KogitoInfra diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/operator/travels.yaml b/kogito-quarkus-examples/kogito-travel-agency/extended/operator/travels.yaml index 4f261a16f9..e397753c98 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/extended/operator/travels.yaml +++ b/kogito-quarkus-examples/kogito-travel-agency/extended/operator/travels.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + #Strimzi operator should be pre-installed in namespace apiVersion: app.kiegroup.org/v1beta1 kind: KogitoInfra diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/operator/visas.yaml b/kogito-quarkus-examples/kogito-travel-agency/extended/operator/visas.yaml index 87f8be89c5..b1cf2cc767 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/extended/operator/visas.yaml +++ b/kogito-quarkus-examples/kogito-travel-agency/extended/operator/visas.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: app.kiegroup.org/v1beta1 kind: KogitoBuild metadata: diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/pom.xml b/kogito-quarkus-examples/kogito-travel-agency/extended/pom.xml index c95c812518..846e2c0f43 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/extended/pom.xml +++ b/kogito-quarkus-examples/kogito-travel-agency/extended/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 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 374e4df4b2..cbcf1dee3f 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/pom.xml +++ b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/java/org/acme/travels/Address.java b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/java/org/acme/travels/Address.java index d808334384..662dfa9b9f 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/java/org/acme/travels/Address.java +++ b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/java/org/acme/travels/Address.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/java/org/acme/travels/Flight.java b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/java/org/acme/travels/Flight.java index c14acd9899..313410ffeb 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/java/org/acme/travels/Flight.java +++ b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/java/org/acme/travels/Flight.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/java/org/acme/travels/Hotel.java b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/java/org/acme/travels/Hotel.java index f5788dfe24..a1a3cdfc10 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/java/org/acme/travels/Hotel.java +++ b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/java/org/acme/travels/Hotel.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; 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..6e761c366a 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/java/org/acme/travels/Trip.java b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/java/org/acme/travels/Trip.java index 7d4691de1b..3c016db64b 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/java/org/acme/travels/Trip.java +++ b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/java/org/acme/travels/Trip.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/java/org/acme/travels/VisaApplication.java b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/java/org/acme/travels/VisaApplication.java index 9209973a71..967093d39b 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/java/org/acme/travels/VisaApplication.java +++ b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/java/org/acme/travels/VisaApplication.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/java/org/acme/travels/VisaResolution.java b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/java/org/acme/travels/VisaResolution.java index 832322ba5d..ea8746e6ef 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/java/org/acme/travels/VisaResolution.java +++ b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/java/org/acme/travels/VisaResolution.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; 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..423c6e407c 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels.service; 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..3ed84ffb1e 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels.service; 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..342e9ef9f8 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels.service; 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..8efdb3102a 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.app; diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/resources/application.properties b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/resources/application.properties index 7e1a9b5412..27fd6b1952 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/resources/application.properties +++ b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/resources/templates/index.html b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/resources/templates/index.html index 1b18c00ee3..650d697c5a 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/resources/templates/index.html +++ b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/resources/templates/index.html @@ -1,19 +1,23 @@ + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/test/filtered-resources/project.properties b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/test/filtered-resources/project.properties index 301ad794d3..5771872775 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/test/filtered-resources/project.properties +++ b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/test/filtered-resources/project.properties @@ -1,17 +1,21 @@ # -# Copyright 2021 Red Hat, Inc. and/or its affiliates. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# 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 # -# 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. +# 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. # + project.version=${project.version} project.artifactId=${project.artifactId} \ No newline at end of file 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..485a373b66 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travel; 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..b992d98bc1 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travel; diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/test/java/org/acme/travel/ProjectMetadataProvider.java b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/test/java/org/acme/travel/ProjectMetadataProvider.java index 90ea34ae45..a9709db59a 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/test/java/org/acme/travel/ProjectMetadataProvider.java +++ b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/test/java/org/acme/travel/ProjectMetadataProvider.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travel; 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..a0806454f5 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travel; 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..317ca732b0 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travel; diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/test/resources/application.properties b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/test/resources/application.properties index a3684a9aa3..86ab76e8b7 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/test/resources/application.properties +++ b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/test/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Quarkus quarkus.http.test-port=0 quarkus.http.cors=true 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..525fbcd054 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/extended/visas/pom.xml +++ b/kogito-quarkus-examples/kogito-travel-agency/extended/visas/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/java/org/acme/travels/VisaApplication.java b/kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/java/org/acme/travels/VisaApplication.java index 9209973a71..967093d39b 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/java/org/acme/travels/VisaApplication.java +++ b/kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/java/org/acme/travels/VisaApplication.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/java/org/acme/travels/VisaResolution.java b/kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/java/org/acme/travels/VisaResolution.java index 832322ba5d..ea8746e6ef 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/java/org/acme/travels/VisaResolution.java +++ b/kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/java/org/acme/travels/VisaResolution.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; 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..5520f975d9 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.app; 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..c8e57b1748 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.app; diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/java/org/kie/kogito/app/VisaApplicationPrometheusProcessEventListener.java b/kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/java/org/kie/kogito/app/VisaApplicationPrometheusProcessEventListener.java index 2cc9c2589f..bebd8cd522 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/java/org/kie/kogito/app/VisaApplicationPrometheusProcessEventListener.java +++ b/kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/java/org/kie/kogito/app/VisaApplicationPrometheusProcessEventListener.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.app; diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/resources/application.properties b/kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/resources/application.properties index d3e554b334..ad08d0b5be 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/resources/application.properties +++ b/kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/resources/org/acme/travels/visa-approval-rules.drl b/kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/resources/org/acme/travels/visa-approval-rules.drl index cf6181c15a..08fc782e6b 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/resources/org/acme/travels/visa-approval-rules.drl +++ b/kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/resources/org/acme/travels/visa-approval-rules.drl @@ -1,17 +1,20 @@ /** - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/resources/templates/index.html b/kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/resources/templates/index.html index e9ec5f6cf6..99941c9018 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/resources/templates/index.html +++ b/kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/resources/templates/index.html @@ -1,19 +1,23 @@ + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> diff --git a/kogito-quarkus-examples/kogito-travel-agency/pom.xml b/kogito-quarkus-examples/kogito-travel-agency/pom.xml index 57f6d1b31d..2f207b0141 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/pom.xml +++ b/kogito-quarkus-examples/kogito-travel-agency/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/kogito-quarkus-examples/ocp-tryout/common-functions.sh b/kogito-quarkus-examples/ocp-tryout/common-functions.sh index 697226a7cf..3a6c1f3f22 100755 --- a/kogito-quarkus-examples/ocp-tryout/common-functions.sh +++ b/kogito-quarkus-examples/ocp-tryout/common-functions.sh @@ -1,4 +1,23 @@ #!/bin/bash +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + function waitForPod(){ if [ "$DRY_RUN" == N ]; then diff --git a/kogito-quarkus-examples/ocp-tryout/infinispan/infinispan-values.yaml b/kogito-quarkus-examples/ocp-tryout/infinispan/infinispan-values.yaml index a516c7796b..99bde44a6b 100644 --- a/kogito-quarkus-examples/ocp-tryout/infinispan/infinispan-values.yaml +++ b/kogito-quarkus-examples/ocp-tryout/infinispan/infinispan-values.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + images: server: quay.io/infinispan/server:14.0.4.Final deploy: diff --git a/kogito-quarkus-examples/ocp-tryout/infinispan/infinispan.sh b/kogito-quarkus-examples/ocp-tryout/infinispan/infinispan.sh index 6d726d4064..8492afb942 100755 --- a/kogito-quarkus-examples/ocp-tryout/infinispan/infinispan.sh +++ b/kogito-quarkus-examples/ocp-tryout/infinispan/infinispan.sh @@ -1,4 +1,23 @@ #!/bin/bash +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + action=$1 diff --git a/kogito-quarkus-examples/ocp-tryout/installer.properties b/kogito-quarkus-examples/ocp-tryout/installer.properties index 378f1904e8..4e95a8efef 100644 --- a/kogito-quarkus-examples/ocp-tryout/installer.properties +++ b/kogito-quarkus-examples/ocp-tryout/installer.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + KOGITO_VERSION=latest DRY_RUN=N # the project under which to install the tryout diff --git a/kogito-quarkus-examples/ocp-tryout/installer.sh b/kogito-quarkus-examples/ocp-tryout/installer.sh index 87c1dbc008..5a41f0a952 100755 --- a/kogito-quarkus-examples/ocp-tryout/installer.sh +++ b/kogito-quarkus-examples/ocp-tryout/installer.sh @@ -1,4 +1,23 @@ #!/bin/bash +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # firstly, any Kogito unrelated infrastructure like infinispan, kafka, etc. is installed # secondly, any Kogito services like data-index, management console, etc. is installed diff --git a/kogito-quarkus-examples/ocp-tryout/kafka/kafka-values.yaml b/kogito-quarkus-examples/ocp-tryout/kafka/kafka-values.yaml index 95bc0fe40f..10b7b68fb7 100644 --- a/kogito-quarkus-examples/ocp-tryout/kafka/kafka-values.yaml +++ b/kogito-quarkus-examples/ocp-tryout/kafka/kafka-values.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + persistence: size: 1Gi dataLogDir: diff --git a/kogito-quarkus-examples/ocp-tryout/kafka/kafka.sh b/kogito-quarkus-examples/ocp-tryout/kafka/kafka.sh index 59605066ec..a59af9a947 100755 --- a/kogito-quarkus-examples/ocp-tryout/kafka/kafka.sh +++ b/kogito-quarkus-examples/ocp-tryout/kafka/kafka.sh @@ -1,4 +1,23 @@ #!/bin/bash +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + action=$1 diff --git a/kogito-quarkus-examples/ocp-tryout/keycloak/deployment-patch.yaml b/kogito-quarkus-examples/ocp-tryout/keycloak/deployment-patch.yaml index f02d19ec30..7745ef05f6 100644 --- a/kogito-quarkus-examples/ocp-tryout/keycloak/deployment-patch.yaml +++ b/kogito-quarkus-examples/ocp-tryout/keycloak/deployment-patch.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + spec: template: spec: diff --git a/kogito-quarkus-examples/ocp-tryout/keycloak/keycloak.sh b/kogito-quarkus-examples/ocp-tryout/keycloak/keycloak.sh index 8b5af631ea..2f67181056 100755 --- a/kogito-quarkus-examples/ocp-tryout/keycloak/keycloak.sh +++ b/kogito-quarkus-examples/ocp-tryout/keycloak/keycloak.sh @@ -1,4 +1,23 @@ #!/bin/bash +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + action=$1 diff --git a/kogito-quarkus-examples/ocp-tryout/kogito-data-index/deployment-patch-infinispan.yaml b/kogito-quarkus-examples/ocp-tryout/kogito-data-index/deployment-patch-infinispan.yaml index c139f65b38..fed69bc259 100644 --- a/kogito-quarkus-examples/ocp-tryout/kogito-data-index/deployment-patch-infinispan.yaml +++ b/kogito-quarkus-examples/ocp-tryout/kogito-data-index/deployment-patch-infinispan.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + spec: template: spec: diff --git a/kogito-quarkus-examples/ocp-tryout/kogito-data-index/kogito-data-index.sh b/kogito-quarkus-examples/ocp-tryout/kogito-data-index/kogito-data-index.sh index 707e74c068..62c9b9027d 100755 --- a/kogito-quarkus-examples/ocp-tryout/kogito-data-index/kogito-data-index.sh +++ b/kogito-quarkus-examples/ocp-tryout/kogito-data-index/kogito-data-index.sh @@ -1,4 +1,23 @@ #!/bin/bash +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + action=$1 type=$2 diff --git a/kogito-quarkus-examples/ocp-tryout/kogito-jobs-service/deployment-patch.yaml b/kogito-quarkus-examples/ocp-tryout/kogito-jobs-service/deployment-patch.yaml index e827a95231..9e45d677d5 100644 --- a/kogito-quarkus-examples/ocp-tryout/kogito-jobs-service/deployment-patch.yaml +++ b/kogito-quarkus-examples/ocp-tryout/kogito-jobs-service/deployment-patch.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + spec: template: spec: diff --git a/kogito-quarkus-examples/ocp-tryout/kogito-jobs-service/kogito-jobs-service.sh b/kogito-quarkus-examples/ocp-tryout/kogito-jobs-service/kogito-jobs-service.sh index 066eaa53e0..903c7d81cc 100755 --- a/kogito-quarkus-examples/ocp-tryout/kogito-jobs-service/kogito-jobs-service.sh +++ b/kogito-quarkus-examples/ocp-tryout/kogito-jobs-service/kogito-jobs-service.sh @@ -1,4 +1,23 @@ #!/bin/bash +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + action=$1 type=$2 diff --git a/kogito-quarkus-examples/ocp-tryout/kogito-management-console/deployment-patch.yaml b/kogito-quarkus-examples/ocp-tryout/kogito-management-console/deployment-patch.yaml index 8571c36701..170a469c2c 100644 --- a/kogito-quarkus-examples/ocp-tryout/kogito-management-console/deployment-patch.yaml +++ b/kogito-quarkus-examples/ocp-tryout/kogito-management-console/deployment-patch.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + spec: template: spec: diff --git a/kogito-quarkus-examples/ocp-tryout/kogito-management-console/kogito-management-console.sh b/kogito-quarkus-examples/ocp-tryout/kogito-management-console/kogito-management-console.sh index 25e9557542..22c1469c0b 100755 --- a/kogito-quarkus-examples/ocp-tryout/kogito-management-console/kogito-management-console.sh +++ b/kogito-quarkus-examples/ocp-tryout/kogito-management-console/kogito-management-console.sh @@ -1,4 +1,23 @@ #!/bin/bash +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + action=$1 diff --git a/kogito-quarkus-examples/ocp-tryout/kogito-shared/kogito-configs.yaml b/kogito-quarkus-examples/ocp-tryout/kogito-shared/kogito-configs.yaml index 3b3d63a3c1..fef616fd82 100644 --- a/kogito-quarkus-examples/ocp-tryout/kogito-shared/kogito-configs.yaml +++ b/kogito-quarkus-examples/ocp-tryout/kogito-shared/kogito-configs.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: v1 kind: ConfigMap metadata: diff --git a/kogito-quarkus-examples/ocp-tryout/kogito-shared/kogito-shared.sh b/kogito-quarkus-examples/ocp-tryout/kogito-shared/kogito-shared.sh index ea1148314b..1c8a2d98bb 100755 --- a/kogito-quarkus-examples/ocp-tryout/kogito-shared/kogito-shared.sh +++ b/kogito-quarkus-examples/ocp-tryout/kogito-shared/kogito-shared.sh @@ -1,4 +1,23 @@ #!/bin/bash +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + source ../common-functions.sh diff --git a/kogito-quarkus-examples/ocp-tryout/kogito-task-console/deployment-patch.yaml b/kogito-quarkus-examples/ocp-tryout/kogito-task-console/deployment-patch.yaml index 994bf438a0..f224569cb8 100644 --- a/kogito-quarkus-examples/ocp-tryout/kogito-task-console/deployment-patch.yaml +++ b/kogito-quarkus-examples/ocp-tryout/kogito-task-console/deployment-patch.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + spec: template: spec: diff --git a/kogito-quarkus-examples/ocp-tryout/kogito-task-console/kogito-task-console.sh b/kogito-quarkus-examples/ocp-tryout/kogito-task-console/kogito-task-console.sh index a1ba854fcd..f6d84920b4 100755 --- a/kogito-quarkus-examples/ocp-tryout/kogito-task-console/kogito-task-console.sh +++ b/kogito-quarkus-examples/ocp-tryout/kogito-task-console/kogito-task-console.sh @@ -1,4 +1,23 @@ #!/bin/bash +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + action=$1 diff --git a/kogito-quarkus-examples/ocp-tryout/testapp/example/apps/travels.yaml b/kogito-quarkus-examples/ocp-tryout/testapp/example/apps/travels.yaml index 684c7d82eb..df59efcf2b 100644 --- a/kogito-quarkus-examples/ocp-tryout/testapp/example/apps/travels.yaml +++ b/kogito-quarkus-examples/ocp-tryout/testapp/example/apps/travels.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + image: repository: quay.io/kiegroup/examples-travels tag: "1.16.0.final" diff --git a/kogito-quarkus-examples/ocp-tryout/testapp/example/apps/visas.yaml b/kogito-quarkus-examples/ocp-tryout/testapp/example/apps/visas.yaml index e248a9de6b..6b3cf39658 100644 --- a/kogito-quarkus-examples/ocp-tryout/testapp/example/apps/visas.yaml +++ b/kogito-quarkus-examples/ocp-tryout/testapp/example/apps/visas.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + image: repository: quay.io/kiegroup/examples-visas tag: "1.16.0.final" diff --git a/kogito-quarkus-examples/ocp-tryout/testapp/testapp.sh b/kogito-quarkus-examples/ocp-tryout/testapp/testapp.sh index e7e6dd34e5..c233706bfe 100755 --- a/kogito-quarkus-examples/ocp-tryout/testapp/testapp.sh +++ b/kogito-quarkus-examples/ocp-tryout/testapp/testapp.sh @@ -1,4 +1,23 @@ #!/bin/bash +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + action=$1 diff --git a/kogito-quarkus-examples/ocp-tryout/tryout-kogito-app/Chart.yaml b/kogito-quarkus-examples/ocp-tryout/tryout-kogito-app/Chart.yaml index 262f334c21..e64ebe5abd 100644 --- a/kogito-quarkus-examples/ocp-tryout/tryout-kogito-app/Chart.yaml +++ b/kogito-quarkus-examples/ocp-tryout/tryout-kogito-app/Chart.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: v2 name: tryout-kogito-app description: A Helm chart for Kubernetes diff --git a/kogito-quarkus-examples/ocp-tryout/tryout-kogito-app/templates/NOTES.txt b/kogito-quarkus-examples/ocp-tryout/tryout-kogito-app/templates/NOTES.txt index e5176af64e..eb6963f832 100644 --- a/kogito-quarkus-examples/ocp-tryout/tryout-kogito-app/templates/NOTES.txt +++ b/kogito-quarkus-examples/ocp-tryout/tryout-kogito-app/templates/NOTES.txt @@ -1,3 +1,22 @@ +==== + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. +==== + 1. Get the application URL by running these commands: {{- if .Values.ingress.enabled }} {{- range $host := .Values.ingress.hosts }} diff --git a/kogito-quarkus-examples/ocp-tryout/tryout-kogito-app/templates/deployment.yaml b/kogito-quarkus-examples/ocp-tryout/tryout-kogito-app/templates/deployment.yaml index 083275aac1..8411a6ff88 100644 --- a/kogito-quarkus-examples/ocp-tryout/tryout-kogito-app/templates/deployment.yaml +++ b/kogito-quarkus-examples/ocp-tryout/tryout-kogito-app/templates/deployment.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: apps/v1 kind: Deployment metadata: diff --git a/kogito-quarkus-examples/ocp-tryout/tryout-kogito-app/templates/route.yaml b/kogito-quarkus-examples/ocp-tryout/tryout-kogito-app/templates/route.yaml index bf6f0b845e..8d63ffae22 100644 --- a/kogito-quarkus-examples/ocp-tryout/tryout-kogito-app/templates/route.yaml +++ b/kogito-quarkus-examples/ocp-tryout/tryout-kogito-app/templates/route.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + {{- if .Values.route.enabled }} {{- $fullName := include "tryout-kogito-app.fullname" . -}} apiVersion: route.openshift.io/v1 diff --git a/kogito-quarkus-examples/ocp-tryout/tryout-kogito-app/templates/service.yaml b/kogito-quarkus-examples/ocp-tryout/tryout-kogito-app/templates/service.yaml index 598e7960ff..1d7189e5ef 100644 --- a/kogito-quarkus-examples/ocp-tryout/tryout-kogito-app/templates/service.yaml +++ b/kogito-quarkus-examples/ocp-tryout/tryout-kogito-app/templates/service.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: v1 kind: Service metadata: diff --git a/kogito-quarkus-examples/ocp-tryout/tryout-kogito-app/templates/serviceaccount.yaml b/kogito-quarkus-examples/ocp-tryout/tryout-kogito-app/templates/serviceaccount.yaml index 421115a585..ca8e99911c 100644 --- a/kogito-quarkus-examples/ocp-tryout/tryout-kogito-app/templates/serviceaccount.yaml +++ b/kogito-quarkus-examples/ocp-tryout/tryout-kogito-app/templates/serviceaccount.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + {{- if .Values.serviceAccount.create -}} apiVersion: v1 kind: ServiceAccount diff --git a/kogito-quarkus-examples/ocp-tryout/tryout-kogito-app/templates/tests/test-connection.yaml b/kogito-quarkus-examples/ocp-tryout/tryout-kogito-app/templates/tests/test-connection.yaml index 607251bef9..c87f3c3ffc 100644 --- a/kogito-quarkus-examples/ocp-tryout/tryout-kogito-app/templates/tests/test-connection.yaml +++ b/kogito-quarkus-examples/ocp-tryout/tryout-kogito-app/templates/tests/test-connection.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: v1 kind: Pod metadata: diff --git a/kogito-quarkus-examples/ocp-tryout/tryout-kogito-app/values.yaml b/kogito-quarkus-examples/ocp-tryout/tryout-kogito-app/values.yaml index 68a12e585c..e5e4addecb 100644 --- a/kogito-quarkus-examples/ocp-tryout/tryout-kogito-app/values.yaml +++ b/kogito-quarkus-examples/ocp-tryout/tryout-kogito-app/values.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Default values for tryout-kogito-app. # This is a YAML-formatted file. # Declare variables to be passed into your templates. diff --git a/kogito-quarkus-examples/ocp-tryout/uninstaller.sh b/kogito-quarkus-examples/ocp-tryout/uninstaller.sh index e906cf3f83..365a0fc03f 100755 --- a/kogito-quarkus-examples/ocp-tryout/uninstaller.sh +++ b/kogito-quarkus-examples/ocp-tryout/uninstaller.sh @@ -1,4 +1,23 @@ #!/bin/bash +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + source installer.properties source common-functions.sh diff --git a/kogito-quarkus-examples/onboarding-example/hr/pom.xml b/kogito-quarkus-examples/onboarding-example/hr/pom.xml index e3d2c3b14a..a0101fb3d9 100644 --- a/kogito-quarkus-examples/onboarding-example/hr/pom.xml +++ b/kogito-quarkus-examples/onboarding-example/hr/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/Address.java b/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/Address.java index 94a7ba8b44..7aa3a47031 100644 --- a/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/Address.java +++ b/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/Address.java @@ -1,17 +1,20 @@ /* - * Copyright 2019 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.hr; diff --git a/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/Department.java b/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/Department.java index 6a81ab81b8..4b7dd0ebb1 100644 --- a/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/Department.java +++ b/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/Department.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.hr; diff --git a/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/DepartmentModel.java b/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/DepartmentModel.java index 01d41385c6..efa9e300c9 100644 --- a/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/DepartmentModel.java +++ b/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/DepartmentModel.java @@ -1,17 +1,20 @@ /* - * Copyright 2019 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.hr; diff --git a/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/Employee.java b/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/Employee.java index 14c0638513..85d110a7c6 100644 --- a/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/Employee.java +++ b/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/Employee.java @@ -1,17 +1,20 @@ /* - * Copyright 2019 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.hr; diff --git a/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/EmployeeRepository.java b/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/EmployeeRepository.java index 40c3c4ce67..818ddffb2e 100644 --- a/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/EmployeeRepository.java +++ b/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/EmployeeRepository.java @@ -1,17 +1,20 @@ /* - * Copyright 2019 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.hr; diff --git a/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/EmployeeValidation.java b/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/EmployeeValidation.java index 716517e158..e26a99deeb 100644 --- a/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/EmployeeValidation.java +++ b/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/EmployeeValidation.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.hr; diff --git a/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/EmployeeValidationModel.java b/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/EmployeeValidationModel.java index d0fc58b177..9bdac39fd6 100644 --- a/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/EmployeeValidationModel.java +++ b/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/EmployeeValidationModel.java @@ -1,17 +1,20 @@ /* - * Copyright 2019 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.hr; diff --git a/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/IdModel.java b/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/IdModel.java index cb356501d5..e3eca598d9 100644 --- a/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/IdModel.java +++ b/kogito-quarkus-examples/onboarding-example/hr/src/main/java/org/kie/kogito/examples/hr/IdModel.java @@ -1,17 +1,20 @@ /* - * Copyright 2019 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.hr; 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..adfa409275 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.hr; diff --git a/kogito-quarkus-examples/onboarding-example/hr/src/main/resources/application.properties b/kogito-quarkus-examples/onboarding-example/hr/src/main/resources/application.properties index 29a61e6272..9c5829f4e3 100644 --- a/kogito-quarkus-examples/onboarding-example/hr/src/main/resources/application.properties +++ b/kogito-quarkus-examples/onboarding-example/hr/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Configuration file # key = value # Packaging diff --git a/kogito-quarkus-examples/onboarding-example/hr/src/main/resources/org/kie/kogito/examples/hr/department.drl b/kogito-quarkus-examples/onboarding-example/hr/src/main/resources/org/kie/kogito/examples/hr/department.drl index 486b1b9d24..428ef45387 100644 --- a/kogito-quarkus-examples/onboarding-example/hr/src/main/resources/org/kie/kogito/examples/hr/department.drl +++ b/kogito-quarkus-examples/onboarding-example/hr/src/main/resources/org/kie/kogito/examples/hr/department.drl @@ -1,17 +1,20 @@ /** - * Copyright 2019 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.hr unit Department; diff --git a/kogito-quarkus-examples/onboarding-example/hr/src/main/resources/org/kie/kogito/examples/hr/employeeValidation.drl b/kogito-quarkus-examples/onboarding-example/hr/src/main/resources/org/kie/kogito/examples/hr/employeeValidation.drl index 3c13c020be..2c4825906b 100644 --- a/kogito-quarkus-examples/onboarding-example/hr/src/main/resources/org/kie/kogito/examples/hr/employeeValidation.drl +++ b/kogito-quarkus-examples/onboarding-example/hr/src/main/resources/org/kie/kogito/examples/hr/employeeValidation.drl @@ -1,17 +1,20 @@ /** - * Copyright 2019 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.hr; unit EmployeeValidation; diff --git a/kogito-quarkus-examples/onboarding-example/hr/src/test/java/org/kie/kogito/examples/hr/DepartmentTest.java b/kogito-quarkus-examples/onboarding-example/hr/src/test/java/org/kie/kogito/examples/hr/DepartmentTest.java index 573df95423..96ea54393b 100644 --- a/kogito-quarkus-examples/onboarding-example/hr/src/test/java/org/kie/kogito/examples/hr/DepartmentTest.java +++ b/kogito-quarkus-examples/onboarding-example/hr/src/test/java/org/kie/kogito/examples/hr/DepartmentTest.java @@ -1,17 +1,20 @@ /* - * Copyright 2019 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.hr; diff --git a/kogito-quarkus-examples/onboarding-example/hr/src/test/java/org/kie/kogito/examples/hr/EmployeeValidationTest.java b/kogito-quarkus-examples/onboarding-example/hr/src/test/java/org/kie/kogito/examples/hr/EmployeeValidationTest.java index ad779ba07b..544073fc99 100644 --- a/kogito-quarkus-examples/onboarding-example/hr/src/test/java/org/kie/kogito/examples/hr/EmployeeValidationTest.java +++ b/kogito-quarkus-examples/onboarding-example/hr/src/test/java/org/kie/kogito/examples/hr/EmployeeValidationTest.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.hr; diff --git a/kogito-quarkus-examples/onboarding-example/hr/src/test/resources/application.properties b/kogito-quarkus-examples/onboarding-example/hr/src/test/resources/application.properties index f8370288bf..29d8e2d679 100644 --- a/kogito-quarkus-examples/onboarding-example/hr/src/test/resources/application.properties +++ b/kogito-quarkus-examples/onboarding-example/hr/src/test/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Configuration file # key = value quarkus.http.test-port=0 diff --git a/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/pom.xml b/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/pom.xml index 18712bc1c0..b371dcdf81 100644 --- a/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/pom.xml +++ b/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 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..80b367554d 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 @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; 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..797331de4c 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/kie/kogito/examples/onboarding/Address.java b/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/kie/kogito/examples/onboarding/Address.java index e96eef01e6..e1ecc05201 100644 --- a/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/kie/kogito/examples/onboarding/Address.java +++ b/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/kie/kogito/examples/onboarding/Address.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.onboarding; 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..146fed711f 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.onboarding; diff --git a/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/kie/kogito/examples/onboarding/Employee.java b/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/kie/kogito/examples/onboarding/Employee.java index 8aaab4b07a..eb6d0b5ca5 100644 --- a/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/kie/kogito/examples/onboarding/Employee.java +++ b/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/kie/kogito/examples/onboarding/Employee.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.onboarding; diff --git a/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/kie/kogito/examples/onboarding/Payroll.java b/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/kie/kogito/examples/onboarding/Payroll.java index 9ed04c3f25..454e8ce2e0 100644 --- a/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/kie/kogito/examples/onboarding/Payroll.java +++ b/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/java/org/kie/kogito/examples/onboarding/Payroll.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.onboarding; diff --git a/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/resources/META-INF/kmodule.xml b/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/resources/META-INF/kmodule.xml index 088d681b28..9b0f9364a3 100644 --- a/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/resources/META-INF/kmodule.xml +++ b/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/resources/META-INF/kmodule.xml @@ -1 +1,21 @@ + \ No newline at end of file diff --git a/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/resources/application.properties b/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/resources/application.properties index a33273764b..b22bd00433 100644 --- a/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/resources/application.properties +++ b/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Configuration file # key = value # Packaging diff --git a/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/test/java/org/kie/kogito/examples/WorkItemHandlerConfig.java b/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/test/java/org/kie/kogito/examples/WorkItemHandlerConfig.java index e773e73879..98dc9a2482 100644 --- a/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/test/java/org/kie/kogito/examples/WorkItemHandlerConfig.java +++ b/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/test/java/org/kie/kogito/examples/WorkItemHandlerConfig.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; 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..434e8e81db 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.onboarding; diff --git a/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/test/java/org/kie/kogito/examples/test/RecordedOutputWorkItemHandler.java b/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/test/java/org/kie/kogito/examples/test/RecordedOutputWorkItemHandler.java index 98c20ea8b5..05a6799916 100644 --- a/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/test/java/org/kie/kogito/examples/test/RecordedOutputWorkItemHandler.java +++ b/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/test/java/org/kie/kogito/examples/test/RecordedOutputWorkItemHandler.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.test; diff --git a/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/test/resources/application.properties b/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/test/resources/application.properties index 7641e2db4f..1d9d192bfd 100644 --- a/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/test/resources/application.properties +++ b/kogito-quarkus-examples/onboarding-example/onboarding-quarkus/src/test/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Quarkus quarkus.http.test-port=0 org.acme.kogito.onboarding.local=true \ No newline at end of file diff --git a/kogito-quarkus-examples/onboarding-example/payroll/pom.xml b/kogito-quarkus-examples/onboarding-example/payroll/pom.xml index dc3a6cfa0e..b25ae564b1 100644 --- a/kogito-quarkus-examples/onboarding-example/payroll/pom.xml +++ b/kogito-quarkus-examples/onboarding-example/payroll/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/kogito-quarkus-examples/onboarding-example/payroll/src/main/java/org/kie/kogito/examples/payroll/Address.java b/kogito-quarkus-examples/onboarding-example/payroll/src/main/java/org/kie/kogito/examples/payroll/Address.java index 557708a351..93db7c9b4d 100644 --- a/kogito-quarkus-examples/onboarding-example/payroll/src/main/java/org/kie/kogito/examples/payroll/Address.java +++ b/kogito-quarkus-examples/onboarding-example/payroll/src/main/java/org/kie/kogito/examples/payroll/Address.java @@ -1,17 +1,20 @@ /* - * Copyright 2019 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.payroll; diff --git a/kogito-quarkus-examples/onboarding-example/payroll/src/main/java/org/kie/kogito/examples/payroll/Employee.java b/kogito-quarkus-examples/onboarding-example/payroll/src/main/java/org/kie/kogito/examples/payroll/Employee.java index ea74fae3c7..9aa0edda23 100644 --- a/kogito-quarkus-examples/onboarding-example/payroll/src/main/java/org/kie/kogito/examples/payroll/Employee.java +++ b/kogito-quarkus-examples/onboarding-example/payroll/src/main/java/org/kie/kogito/examples/payroll/Employee.java @@ -1,17 +1,20 @@ /* - * Copyright 2019 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.payroll; diff --git a/kogito-quarkus-examples/onboarding-example/payroll/src/main/java/org/kie/kogito/examples/payroll/Payroll.java b/kogito-quarkus-examples/onboarding-example/payroll/src/main/java/org/kie/kogito/examples/payroll/Payroll.java index c5a3844acf..e7d001dc5e 100644 --- a/kogito-quarkus-examples/onboarding-example/payroll/src/main/java/org/kie/kogito/examples/payroll/Payroll.java +++ b/kogito-quarkus-examples/onboarding-example/payroll/src/main/java/org/kie/kogito/examples/payroll/Payroll.java @@ -1,17 +1,20 @@ /* - * Copyright 2019 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.payroll; diff --git a/kogito-quarkus-examples/onboarding-example/payroll/src/main/resources/META-INF/kmodule.xml b/kogito-quarkus-examples/onboarding-example/payroll/src/main/resources/META-INF/kmodule.xml index 088d681b28..9b0f9364a3 100644 --- a/kogito-quarkus-examples/onboarding-example/payroll/src/main/resources/META-INF/kmodule.xml +++ b/kogito-quarkus-examples/onboarding-example/payroll/src/main/resources/META-INF/kmodule.xml @@ -1 +1,21 @@ + \ No newline at end of file diff --git a/kogito-quarkus-examples/onboarding-example/payroll/src/main/resources/application.properties b/kogito-quarkus-examples/onboarding-example/payroll/src/main/resources/application.properties index ccf4fb79f4..ace62428a8 100644 --- a/kogito-quarkus-examples/onboarding-example/payroll/src/main/resources/application.properties +++ b/kogito-quarkus-examples/onboarding-example/payroll/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Configuration file # key = value # Packaging diff --git a/kogito-quarkus-examples/onboarding-example/payroll/src/test/java/org/kie/kogito/examples/payroll/PaymentDateTest.java b/kogito-quarkus-examples/onboarding-example/payroll/src/test/java/org/kie/kogito/examples/payroll/PaymentDateTest.java index 5fe388f31f..2fa1c67927 100644 --- a/kogito-quarkus-examples/onboarding-example/payroll/src/test/java/org/kie/kogito/examples/payroll/PaymentDateTest.java +++ b/kogito-quarkus-examples/onboarding-example/payroll/src/test/java/org/kie/kogito/examples/payroll/PaymentDateTest.java @@ -1,17 +1,20 @@ /* - * Copyright 2019 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.payroll; diff --git a/kogito-quarkus-examples/onboarding-example/payroll/src/test/java/org/kie/kogito/examples/payroll/TaxRateTest.java b/kogito-quarkus-examples/onboarding-example/payroll/src/test/java/org/kie/kogito/examples/payroll/TaxRateTest.java index 78184da510..79687d0147 100644 --- a/kogito-quarkus-examples/onboarding-example/payroll/src/test/java/org/kie/kogito/examples/payroll/TaxRateTest.java +++ b/kogito-quarkus-examples/onboarding-example/payroll/src/test/java/org/kie/kogito/examples/payroll/TaxRateTest.java @@ -1,17 +1,20 @@ /* - * Copyright 2019 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.payroll; diff --git a/kogito-quarkus-examples/onboarding-example/payroll/src/test/java/org/kie/kogito/examples/payroll/VacationDaysTest.java b/kogito-quarkus-examples/onboarding-example/payroll/src/test/java/org/kie/kogito/examples/payroll/VacationDaysTest.java index 48f2b2d5d5..68c90e11d3 100644 --- a/kogito-quarkus-examples/onboarding-example/payroll/src/test/java/org/kie/kogito/examples/payroll/VacationDaysTest.java +++ b/kogito-quarkus-examples/onboarding-example/payroll/src/test/java/org/kie/kogito/examples/payroll/VacationDaysTest.java @@ -1,17 +1,20 @@ /* - * Copyright 2019 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.payroll; diff --git a/kogito-quarkus-examples/onboarding-example/payroll/src/test/resources/application.properties b/kogito-quarkus-examples/onboarding-example/payroll/src/test/resources/application.properties index 3c17236931..a047ea13ba 100644 --- a/kogito-quarkus-examples/onboarding-example/payroll/src/test/resources/application.properties +++ b/kogito-quarkus-examples/onboarding-example/payroll/src/test/resources/application.properties @@ -1,2 +1,21 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Quarkus quarkus.http.test-port=0 \ No newline at end of file diff --git a/kogito-quarkus-examples/onboarding-example/pom.xml b/kogito-quarkus-examples/onboarding-example/pom.xml index 0c349c8b1e..95f7fd8b8f 100644 --- a/kogito-quarkus-examples/onboarding-example/pom.xml +++ b/kogito-quarkus-examples/onboarding-example/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/kogito-quarkus-examples/pmml-event-driven-quarkus/docker-compose.yml b/kogito-quarkus-examples/pmml-event-driven-quarkus/docker-compose.yml index f07d3cc400..802976737c 100644 --- a/kogito-quarkus-examples/pmml-event-driven-quarkus/docker-compose.yml +++ b/kogito-quarkus-examples/pmml-event-driven-quarkus/docker-compose.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + version: '2' services: diff --git a/kogito-quarkus-examples/pmml-event-driven-quarkus/pom.xml b/kogito-quarkus-examples/pmml-event-driven-quarkus/pom.xml index 04ad43e099..47be62b4d5 100644 --- a/kogito-quarkus-examples/pmml-event-driven-quarkus/pom.xml +++ b/kogito-quarkus-examples/pmml-event-driven-quarkus/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/kogito-quarkus-examples/pmml-event-driven-quarkus/src/main/resources/application.properties b/kogito-quarkus-examples/pmml-event-driven-quarkus/src/main/resources/application.properties index bb46176c32..16043182f4 100644 --- a/kogito-quarkus-examples/pmml-event-driven-quarkus/src/main/resources/application.properties +++ b/kogito-quarkus-examples/pmml-event-driven-quarkus/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar diff --git a/kogito-quarkus-examples/pmml-event-driven-quarkus/src/test/java/org/kie/kogito/examples/PmmlEventDrivenIT.java b/kogito-quarkus-examples/pmml-event-driven-quarkus/src/test/java/org/kie/kogito/examples/PmmlEventDrivenIT.java index 3908d37d47..212a629a44 100644 --- a/kogito-quarkus-examples/pmml-event-driven-quarkus/src/test/java/org/kie/kogito/examples/PmmlEventDrivenIT.java +++ b/kogito-quarkus-examples/pmml-event-driven-quarkus/src/test/java/org/kie/kogito/examples/PmmlEventDrivenIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/kogito-quarkus-examples/pmml-event-driven-quarkus/src/test/resources/application.properties b/kogito-quarkus-examples/pmml-event-driven-quarkus/src/test/resources/application.properties index 4396d4ebfb..4242e6e9c1 100644 --- a/kogito-quarkus-examples/pmml-event-driven-quarkus/src/test/resources/application.properties +++ b/kogito-quarkus-examples/pmml-event-driven-quarkus/src/test/resources/application.properties @@ -1 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + quarkus.kafka.devservices.enabled=false \ No newline at end of file diff --git a/kogito-quarkus-examples/pmml-event-driven-quarkus/src/test/resources/logback-test.xml b/kogito-quarkus-examples/pmml-event-driven-quarkus/src/test/resources/logback-test.xml index e8c716f5ef..bb6af4db85 100644 --- a/kogito-quarkus-examples/pmml-event-driven-quarkus/src/test/resources/logback-test.xml +++ b/kogito-quarkus-examples/pmml-event-driven-quarkus/src/test/resources/logback-test.xml @@ -1,3 +1,23 @@ + diff --git a/kogito-quarkus-examples/pmml-incubation-api-quarkus/pom.xml b/kogito-quarkus-examples/pmml-incubation-api-quarkus/pom.xml index 4a930255b5..a5ad9683d7 100644 --- a/kogito-quarkus-examples/pmml-incubation-api-quarkus/pom.xml +++ b/kogito-quarkus-examples/pmml-incubation-api-quarkus/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 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..59548a4098 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 @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme; diff --git a/kogito-quarkus-examples/pmml-incubation-api-quarkus/src/main/resources/application.properties b/kogito-quarkus-examples/pmml-incubation-api-quarkus/src/main/resources/application.properties index 241b48028f..6c9f91fcc7 100644 --- a/kogito-quarkus-examples/pmml-incubation-api-quarkus/src/main/resources/application.properties +++ b/kogito-quarkus-examples/pmml-incubation-api-quarkus/src/main/resources/application.properties @@ -1 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + kogito.generate.rest.predictions=false diff --git a/kogito-quarkus-examples/pmml-incubation-api-quarkus/src/test/java/org/acme/CustomRestPredictionTest.java b/kogito-quarkus-examples/pmml-incubation-api-quarkus/src/test/java/org/acme/CustomRestPredictionTest.java index 43c4520070..bd06eb124f 100644 --- a/kogito-quarkus-examples/pmml-incubation-api-quarkus/src/test/java/org/acme/CustomRestPredictionTest.java +++ b/kogito-quarkus-examples/pmml-incubation-api-quarkus/src/test/java/org/acme/CustomRestPredictionTest.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme; diff --git a/kogito-quarkus-examples/pmml-quarkus-example/operator/pmml-quarkus-example.yaml b/kogito-quarkus-examples/pmml-quarkus-example/operator/pmml-quarkus-example.yaml index 4c72c7642d..c4b5aad4c6 100644 --- a/kogito-quarkus-examples/pmml-quarkus-example/operator/pmml-quarkus-example.yaml +++ b/kogito-quarkus-examples/pmml-quarkus-example/operator/pmml-quarkus-example.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: app.kiegroup.org/v1beta1 kind: KogitoBuild metadata: diff --git a/kogito-quarkus-examples/pmml-quarkus-example/pom.xml b/kogito-quarkus-examples/pmml-quarkus-example/pom.xml index 40fb97a021..42bae2f322 100644 --- a/kogito-quarkus-examples/pmml-quarkus-example/pom.xml +++ b/kogito-quarkus-examples/pmml-quarkus-example/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/kogito-quarkus-examples/pmml-quarkus-example/src/main/resources/application.properties b/kogito-quarkus-examples/pmml-quarkus-example/src/main/resources/application.properties index 80bf3f8b49..bf4a3d657e 100644 --- a/kogito-quarkus-examples/pmml-quarkus-example/src/main/resources/application.properties +++ b/kogito-quarkus-examples/pmml-quarkus-example/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar diff --git a/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/CommonTestUtils.java b/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/CommonTestUtils.java index aa0a543fe3..f6b9acc3c4 100644 --- a/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/CommonTestUtils.java +++ b/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/CommonTestUtils.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.pmml.quarkus.example; diff --git a/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/LinRegTest.java b/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/LinRegTest.java index 60ec72e2ec..48192c5b1a 100644 --- a/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/LinRegTest.java +++ b/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/LinRegTest.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.pmml.quarkus.example; diff --git a/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/MiningModelTest.java b/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/MiningModelTest.java index 3cb39b0a8b..b379b55559 100644 --- a/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/MiningModelTest.java +++ b/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/MiningModelTest.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.pmml.quarkus.example; 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..412e98f295 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.pmml.quarkus.example; 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..75fa48993b 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.pmml.quarkus.example; 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..4ea761fd5f 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.pmml.quarkus.example; 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..11ca4053fd 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.pmml.quarkus.example; diff --git a/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/SampleMineTest.java b/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/SampleMineTest.java index af88056c04..24a3cca9a6 100644 --- a/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/SampleMineTest.java +++ b/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/SampleMineTest.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.pmml.quarkus.example; diff --git a/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/SimpleScorecardTest.java b/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/SimpleScorecardTest.java index 6df97d00cb..f9d8f82beb 100644 --- a/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/SimpleScorecardTest.java +++ b/kogito-quarkus-examples/pmml-quarkus-example/src/test/java/org/kie/kogito/pmml/quarkus/example/SimpleScorecardTest.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.pmml.quarkus.example; diff --git a/kogito-quarkus-examples/pmml-quarkus-example/src/test/resources/application.properties b/kogito-quarkus-examples/pmml-quarkus-example/src/test/resources/application.properties index 3c17236931..a047ea13ba 100644 --- a/kogito-quarkus-examples/pmml-quarkus-example/src/test/resources/application.properties +++ b/kogito-quarkus-examples/pmml-quarkus-example/src/test/resources/application.properties @@ -1,2 +1,21 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Quarkus quarkus.http.test-port=0 \ No newline at end of file diff --git a/kogito-quarkus-examples/pom.xml b/kogito-quarkus-examples/pom.xml index 3fe564b87e..53d2dceba7 100644 --- a/kogito-quarkus-examples/pom.xml +++ b/kogito-quarkus-examples/pom.xml @@ -1,4 +1,24 @@ + diff --git a/kogito-quarkus-examples/process-business-rules-quarkus/operator/process-business-rules-quarkus.yaml b/kogito-quarkus-examples/process-business-rules-quarkus/operator/process-business-rules-quarkus.yaml index c92a38cc4a..e19fce04f1 100644 --- a/kogito-quarkus-examples/process-business-rules-quarkus/operator/process-business-rules-quarkus.yaml +++ b/kogito-quarkus-examples/process-business-rules-quarkus/operator/process-business-rules-quarkus.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: app.kiegroup.org/v1beta1 kind: KogitoBuild metadata: diff --git a/kogito-quarkus-examples/process-business-rules-quarkus/pom.xml b/kogito-quarkus-examples/process-business-rules-quarkus/pom.xml index d20e8e4f84..17a861e406 100644 --- a/kogito-quarkus-examples/process-business-rules-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-business-rules-quarkus/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/kogito-quarkus-examples/process-business-rules-quarkus/src/main/java/org/acme/travels/Person.java b/kogito-quarkus-examples/process-business-rules-quarkus/src/main/java/org/acme/travels/Person.java index bfc9d2a8cd..77b60c13f2 100644 --- a/kogito-quarkus-examples/process-business-rules-quarkus/src/main/java/org/acme/travels/Person.java +++ b/kogito-quarkus-examples/process-business-rules-quarkus/src/main/java/org/acme/travels/Person.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; diff --git a/kogito-quarkus-examples/process-business-rules-quarkus/src/main/java/org/acme/travels/PersonValidationService.java b/kogito-quarkus-examples/process-business-rules-quarkus/src/main/java/org/acme/travels/PersonValidationService.java index 075d97b873..850d6c455b 100644 --- a/kogito-quarkus-examples/process-business-rules-quarkus/src/main/java/org/acme/travels/PersonValidationService.java +++ b/kogito-quarkus-examples/process-business-rules-quarkus/src/main/java/org/acme/travels/PersonValidationService.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; diff --git a/kogito-quarkus-examples/process-business-rules-quarkus/src/main/resources/META-INF/resources/index.html b/kogito-quarkus-examples/process-business-rules-quarkus/src/main/resources/META-INF/resources/index.html index a965327283..cc6e2fe97c 100644 --- a/kogito-quarkus-examples/process-business-rules-quarkus/src/main/resources/META-INF/resources/index.html +++ b/kogito-quarkus-examples/process-business-rules-quarkus/src/main/resources/META-INF/resources/index.html @@ -1,3 +1,23 @@ + diff --git a/kogito-quarkus-examples/process-business-rules-quarkus/src/main/resources/application.properties b/kogito-quarkus-examples/process-business-rules-quarkus/src/main/resources/application.properties index 35b7e32bea..a76c2a39bb 100644 --- a/kogito-quarkus-examples/process-business-rules-quarkus/src/main/resources/application.properties +++ b/kogito-quarkus-examples/process-business-rules-quarkus/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar diff --git a/kogito-quarkus-examples/process-business-rules-quarkus/src/main/resources/org/acme/travels/PersonValidationService.drl b/kogito-quarkus-examples/process-business-rules-quarkus/src/main/resources/org/acme/travels/PersonValidationService.drl index 0016df5317..5777b53bc4 100644 --- a/kogito-quarkus-examples/process-business-rules-quarkus/src/main/resources/org/acme/travels/PersonValidationService.drl +++ b/kogito-quarkus-examples/process-business-rules-quarkus/src/main/resources/org/acme/travels/PersonValidationService.drl @@ -1,17 +1,20 @@ /** - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels unit PersonValidationService 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..dd8a43a8d9 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; diff --git a/kogito-quarkus-examples/process-business-rules-quarkus/src/test/resources/application.properties b/kogito-quarkus-examples/process-business-rules-quarkus/src/test/resources/application.properties index 3c17236931..a047ea13ba 100644 --- a/kogito-quarkus-examples/process-business-rules-quarkus/src/test/resources/application.properties +++ b/kogito-quarkus-examples/process-business-rules-quarkus/src/test/resources/application.properties @@ -1,2 +1,21 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Quarkus quarkus.http.test-port=0 \ No newline at end of file diff --git a/kogito-quarkus-examples/process-decisions-quarkus/pom.xml b/kogito-quarkus-examples/process-decisions-quarkus/pom.xml index d13f21a705..1ddeea8525 100644 --- a/kogito-quarkus-examples/process-decisions-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-decisions-quarkus/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/kogito-quarkus-examples/process-decisions-quarkus/src/main/java/org/kie/kogito/traffic/Driver.java b/kogito-quarkus-examples/process-decisions-quarkus/src/main/java/org/kie/kogito/traffic/Driver.java index f77a47b749..ad4e79fa09 100644 --- a/kogito-quarkus-examples/process-decisions-quarkus/src/main/java/org/kie/kogito/traffic/Driver.java +++ b/kogito-quarkus-examples/process-decisions-quarkus/src/main/java/org/kie/kogito/traffic/Driver.java @@ -1,19 +1,21 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic; import java.util.Date; 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..5458de2207 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 @@ -1,19 +1,21 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic; import java.time.ZonedDateTime; diff --git a/kogito-quarkus-examples/process-decisions-quarkus/src/main/java/org/kie/kogito/traffic/Fine.java b/kogito-quarkus-examples/process-decisions-quarkus/src/main/java/org/kie/kogito/traffic/Fine.java index 4b6873829e..928562fb5f 100644 --- a/kogito-quarkus-examples/process-decisions-quarkus/src/main/java/org/kie/kogito/traffic/Fine.java +++ b/kogito-quarkus-examples/process-decisions-quarkus/src/main/java/org/kie/kogito/traffic/Fine.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic; diff --git a/kogito-quarkus-examples/process-decisions-quarkus/src/main/java/org/kie/kogito/traffic/LicenseValidationService.java b/kogito-quarkus-examples/process-decisions-quarkus/src/main/java/org/kie/kogito/traffic/LicenseValidationService.java index 53fd44ed58..29f4bef1b4 100644 --- a/kogito-quarkus-examples/process-decisions-quarkus/src/main/java/org/kie/kogito/traffic/LicenseValidationService.java +++ b/kogito-quarkus-examples/process-decisions-quarkus/src/main/java/org/kie/kogito/traffic/LicenseValidationService.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic; diff --git a/kogito-quarkus-examples/process-decisions-quarkus/src/main/java/org/kie/kogito/traffic/Violation.java b/kogito-quarkus-examples/process-decisions-quarkus/src/main/java/org/kie/kogito/traffic/Violation.java index 56446af2d2..170dd2dda0 100644 --- a/kogito-quarkus-examples/process-decisions-quarkus/src/main/java/org/kie/kogito/traffic/Violation.java +++ b/kogito-quarkus-examples/process-decisions-quarkus/src/main/java/org/kie/kogito/traffic/Violation.java @@ -1,19 +1,21 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic; import java.math.BigDecimal; diff --git a/kogito-quarkus-examples/process-decisions-quarkus/src/main/resources/LicenseValidationService.drl b/kogito-quarkus-examples/process-decisions-quarkus/src/main/resources/LicenseValidationService.drl index 799c78abd4..b408466b45 100644 --- a/kogito-quarkus-examples/process-decisions-quarkus/src/main/resources/LicenseValidationService.drl +++ b/kogito-quarkus-examples/process-decisions-quarkus/src/main/resources/LicenseValidationService.drl @@ -1,17 +1,20 @@ /** - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic diff --git a/kogito-quarkus-examples/process-decisions-quarkus/src/main/resources/application.properties b/kogito-quarkus-examples/process-decisions-quarkus/src/main/resources/application.properties index 9689b95e30..bcfa41d7c3 100644 --- a/kogito-quarkus-examples/process-decisions-quarkus/src/main/resources/application.properties +++ b/kogito-quarkus-examples/process-decisions-quarkus/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar 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..995d693364 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 @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic; diff --git a/kogito-quarkus-examples/process-decisions-quarkus/src/test/java/org/kie/kogito/traffic/TrafficProcessIT.java b/kogito-quarkus-examples/process-decisions-quarkus/src/test/java/org/kie/kogito/traffic/TrafficProcessIT.java index 4f9c49ed0e..f1f1e9ec37 100644 --- a/kogito-quarkus-examples/process-decisions-quarkus/src/test/java/org/kie/kogito/traffic/TrafficProcessIT.java +++ b/kogito-quarkus-examples/process-decisions-quarkus/src/test/java/org/kie/kogito/traffic/TrafficProcessIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic; diff --git a/kogito-quarkus-examples/process-decisions-rest-quarkus/pom.xml b/kogito-quarkus-examples/process-decisions-rest-quarkus/pom.xml index 852e7997b7..60e6743793 100644 --- a/kogito-quarkus-examples/process-decisions-rest-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-decisions-rest-quarkus/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/Driver.java b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/Driver.java index f77a47b749..ad4e79fa09 100644 --- a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/Driver.java +++ b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/Driver.java @@ -1,19 +1,21 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic; import java.util.Date; 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..5458de2207 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 @@ -1,19 +1,21 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic; import java.time.ZonedDateTime; diff --git a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/Fine.java b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/Fine.java index 4b6873829e..928562fb5f 100644 --- a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/Fine.java +++ b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/Fine.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic; 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..16bedfe041 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 @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic; 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..6c8a96e962 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 @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic; diff --git a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/LicenseValidationService.java b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/LicenseValidationService.java index 53fd44ed58..29f4bef1b4 100644 --- a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/LicenseValidationService.java +++ b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/LicenseValidationService.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic; diff --git a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/TrafficViolationResponse.java b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/TrafficViolationResponse.java index c5945896ca..4f16a5e6e2 100644 --- a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/TrafficViolationResponse.java +++ b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/TrafficViolationResponse.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic; 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..13a259af12 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 @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic; 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..41216e33c4 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 @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic; diff --git a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/Violation.java b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/Violation.java index 56446af2d2..170dd2dda0 100644 --- a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/Violation.java +++ b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/java/org/kie/kogito/traffic/Violation.java @@ -1,19 +1,21 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic; import java.math.BigDecimal; diff --git a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/resources/LicenseValidationService.drl b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/resources/LicenseValidationService.drl index 799c78abd4..b408466b45 100644 --- a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/resources/LicenseValidationService.drl +++ b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/resources/LicenseValidationService.drl @@ -1,17 +1,20 @@ /** - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic diff --git a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/resources/application.properties b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/resources/application.properties index afbd25e4eb..5c348d2614 100644 --- a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/resources/application.properties +++ b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar 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..995d693364 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 @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic; diff --git a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/test/java/org/kie/kogito/traffic/TrafficProcessIT.java b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/test/java/org/kie/kogito/traffic/TrafficProcessIT.java index c61d2d2cf7..eef6f3b9d2 100644 --- a/kogito-quarkus-examples/process-decisions-rest-quarkus/src/test/java/org/kie/kogito/traffic/TrafficProcessIT.java +++ b/kogito-quarkus-examples/process-decisions-rest-quarkus/src/test/java/org/kie/kogito/traffic/TrafficProcessIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic; diff --git a/kogito-quarkus-examples/process-decisions-rules-quarkus/pom.xml b/kogito-quarkus-examples/process-decisions-rules-quarkus/pom.xml index d80e3fe235..33dd4aea30 100644 --- a/kogito-quarkus-examples/process-decisions-rules-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-decisions-rules-quarkus/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 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..fec1d8fae6 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 @@ -1,19 +1,21 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic; import java.time.ZonedDateTime; diff --git a/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/kie/kogito/traffic/Fine.java b/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/kie/kogito/traffic/Fine.java index 4b6873829e..928562fb5f 100644 --- a/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/kie/kogito/traffic/Fine.java +++ b/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/kie/kogito/traffic/Fine.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic; diff --git a/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/kie/kogito/traffic/Violation.java b/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/kie/kogito/traffic/Violation.java index 56446af2d2..170dd2dda0 100644 --- a/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/kie/kogito/traffic/Violation.java +++ b/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/kie/kogito/traffic/Violation.java @@ -1,19 +1,21 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic; import java.math.BigDecimal; diff --git a/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/kie/kogito/traffic/licensevalidated/LicenseValidatedService.java b/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/kie/kogito/traffic/licensevalidated/LicenseValidatedService.java index b6a0374e9d..374e5efa23 100644 --- a/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/kie/kogito/traffic/licensevalidated/LicenseValidatedService.java +++ b/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/kie/kogito/traffic/licensevalidated/LicenseValidatedService.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic.licensevalidated; diff --git a/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/kie/kogito/traffic/licensevalidated/Validated.java b/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/kie/kogito/traffic/licensevalidated/Validated.java index 90c51f09e3..a24f9189e0 100644 --- a/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/kie/kogito/traffic/licensevalidated/Validated.java +++ b/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/kie/kogito/traffic/licensevalidated/Validated.java @@ -1,19 +1,21 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic.licensevalidated; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; diff --git a/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/kie/kogito/traffic/licensevalidation/Driver.java b/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/kie/kogito/traffic/licensevalidation/Driver.java index 6ee8bfbb04..0af0618e6a 100644 --- a/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/kie/kogito/traffic/licensevalidation/Driver.java +++ b/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/kie/kogito/traffic/licensevalidation/Driver.java @@ -1,19 +1,21 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic.licensevalidation; import java.util.Date; diff --git a/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/kie/kogito/traffic/licensevalidation/LicenseValidationService.java b/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/kie/kogito/traffic/licensevalidation/LicenseValidationService.java index 2d56c89eea..278b5fb470 100644 --- a/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/kie/kogito/traffic/licensevalidation/LicenseValidationService.java +++ b/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/java/org/kie/kogito/traffic/licensevalidation/LicenseValidationService.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic.licensevalidation; diff --git a/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/resources/LicenseValidatedService.drl b/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/resources/LicenseValidatedService.drl index 9e91dd8bb8..3130e73050 100644 --- a/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/resources/LicenseValidatedService.drl +++ b/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/resources/LicenseValidatedService.drl @@ -1,17 +1,20 @@ /** - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic.licensevalidated diff --git a/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/resources/LicenseValidationService.drl b/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/resources/LicenseValidationService.drl index 324866bfa3..da7439087d 100644 --- a/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/resources/LicenseValidationService.drl +++ b/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/resources/LicenseValidationService.drl @@ -1,17 +1,20 @@ /** - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic.licensevalidation diff --git a/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/resources/application.properties b/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/resources/application.properties index 9689b95e30..bcfa41d7c3 100644 --- a/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/resources/application.properties +++ b/kogito-quarkus-examples/process-decisions-rules-quarkus/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar 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..995d693364 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 @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic; diff --git a/kogito-quarkus-examples/process-decisions-rules-quarkus/src/test/java/org/kie/kogito/traffic/TrafficProcessIT.java b/kogito-quarkus-examples/process-decisions-rules-quarkus/src/test/java/org/kie/kogito/traffic/TrafficProcessIT.java index 61a3400fdf..90d4528326 100644 --- a/kogito-quarkus-examples/process-decisions-rules-quarkus/src/test/java/org/kie/kogito/traffic/TrafficProcessIT.java +++ b/kogito-quarkus-examples/process-decisions-rules-quarkus/src/test/java/org/kie/kogito/traffic/TrafficProcessIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic; diff --git a/kogito-quarkus-examples/process-error-handling/operator/process-scripts-quarkus.yaml b/kogito-quarkus-examples/process-error-handling/operator/process-scripts-quarkus.yaml index f36772b13d..dcc6e81d08 100644 --- a/kogito-quarkus-examples/process-error-handling/operator/process-scripts-quarkus.yaml +++ b/kogito-quarkus-examples/process-error-handling/operator/process-scripts-quarkus.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: app.kiegroup.org/v1beta1 kind: KogitoBuild metadata: diff --git a/kogito-quarkus-examples/process-error-handling/pom.xml b/kogito-quarkus-examples/process-error-handling/pom.xml index a8ea2e0d9c..8ebb2159f2 100644 --- a/kogito-quarkus-examples/process-error-handling/pom.xml +++ b/kogito-quarkus-examples/process-error-handling/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/kogito-quarkus-examples/process-error-handling/src/main/java/org/acme/script/ErrorHandlingScript.java b/kogito-quarkus-examples/process-error-handling/src/main/java/org/acme/script/ErrorHandlingScript.java index e81c4908ee..3b28d9eb5f 100644 --- a/kogito-quarkus-examples/process-error-handling/src/main/java/org/acme/script/ErrorHandlingScript.java +++ b/kogito-quarkus-examples/process-error-handling/src/main/java/org/acme/script/ErrorHandlingScript.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.script; diff --git a/kogito-quarkus-examples/process-error-handling/src/main/java/org/acme/wih/CustomTaskWorkItemHandler.java b/kogito-quarkus-examples/process-error-handling/src/main/java/org/acme/wih/CustomTaskWorkItemHandler.java index ec3170709d..ee6309cd6b 100644 --- a/kogito-quarkus-examples/process-error-handling/src/main/java/org/acme/wih/CustomTaskWorkItemHandler.java +++ b/kogito-quarkus-examples/process-error-handling/src/main/java/org/acme/wih/CustomTaskWorkItemHandler.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.wih; 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..08a1e85aba 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.wih; diff --git a/kogito-quarkus-examples/process-error-handling/src/main/resources/META-INF/resources/index.html b/kogito-quarkus-examples/process-error-handling/src/main/resources/META-INF/resources/index.html index a965327283..cc6e2fe97c 100644 --- a/kogito-quarkus-examples/process-error-handling/src/main/resources/META-INF/resources/index.html +++ b/kogito-quarkus-examples/process-error-handling/src/main/resources/META-INF/resources/index.html @@ -1,3 +1,23 @@ + diff --git a/kogito-quarkus-examples/process-error-handling/src/main/resources/application.properties b/kogito-quarkus-examples/process-error-handling/src/main/resources/application.properties index c7872ed3a8..0391780d2f 100644 --- a/kogito-quarkus-examples/process-error-handling/src/main/resources/application.properties +++ b/kogito-quarkus-examples/process-error-handling/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar 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..dbf03ecefc 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels.quarkus; diff --git a/kogito-quarkus-examples/process-error-handling/src/test/resources/application.properties b/kogito-quarkus-examples/process-error-handling/src/test/resources/application.properties index 3c17236931..a047ea13ba 100644 --- a/kogito-quarkus-examples/process-error-handling/src/test/resources/application.properties +++ b/kogito-quarkus-examples/process-error-handling/src/test/resources/application.properties @@ -1,2 +1,21 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Quarkus quarkus.http.test-port=0 \ No newline at end of file diff --git a/kogito-quarkus-examples/process-incubation-api-quarkus/pom.xml b/kogito-quarkus-examples/process-incubation-api-quarkus/pom.xml index bddd25ce0d..fbd6966104 100644 --- a/kogito-quarkus-examples/process-incubation-api-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-incubation-api-quarkus/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 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..1e5fecc2e1 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 @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme; diff --git a/kogito-quarkus-examples/process-incubation-api-quarkus/src/main/resources/application.properties b/kogito-quarkus-examples/process-incubation-api-quarkus/src/main/resources/application.properties index 473c5a4120..1641f918d7 100644 --- a/kogito-quarkus-examples/process-incubation-api-quarkus/src/main/resources/application.properties +++ b/kogito-quarkus-examples/process-incubation-api-quarkus/src/main/resources/application.properties @@ -1 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + kogito.generate.rest.processes=false diff --git a/kogito-quarkus-examples/process-incubation-api-quarkus/src/test/java/org/acme/CustomRestProcessTest.java b/kogito-quarkus-examples/process-incubation-api-quarkus/src/test/java/org/acme/CustomRestProcessTest.java index 0579807c90..f7192a1db4 100644 --- a/kogito-quarkus-examples/process-incubation-api-quarkus/src/test/java/org/acme/CustomRestProcessTest.java +++ b/kogito-quarkus-examples/process-incubation-api-quarkus/src/test/java/org/acme/CustomRestProcessTest.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme; diff --git a/kogito-quarkus-examples/process-infinispan-persistence-quarkus/operator/process-infinispan-persistence-quarkus.yaml b/kogito-quarkus-examples/process-infinispan-persistence-quarkus/operator/process-infinispan-persistence-quarkus.yaml index 90f993b4ed..93c23d5a55 100644 --- a/kogito-quarkus-examples/process-infinispan-persistence-quarkus/operator/process-infinispan-persistence-quarkus.yaml +++ b/kogito-quarkus-examples/process-infinispan-persistence-quarkus/operator/process-infinispan-persistence-quarkus.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + #Infinispan operator should be pre-installed in namespace apiVersion: app.kiegroup.org/v1beta1 kind: KogitoInfra diff --git a/kogito-quarkus-examples/process-infinispan-persistence-quarkus/pom.xml b/kogito-quarkus-examples/process-infinispan-persistence-quarkus/pom.xml index fdecf09f82..bca9aeb191 100644 --- a/kogito-quarkus-examples/process-infinispan-persistence-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-infinispan-persistence-quarkus/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/kogito-quarkus-examples/process-infinispan-persistence-quarkus/src/main/java/org/acme/deals/Address.java b/kogito-quarkus-examples/process-infinispan-persistence-quarkus/src/main/java/org/acme/deals/Address.java index 0322a9086f..0d8d3c41fa 100644 --- a/kogito-quarkus-examples/process-infinispan-persistence-quarkus/src/main/java/org/acme/deals/Address.java +++ b/kogito-quarkus-examples/process-infinispan-persistence-quarkus/src/main/java/org/acme/deals/Address.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.deals; diff --git a/kogito-quarkus-examples/process-infinispan-persistence-quarkus/src/main/java/org/acme/deals/Traveller.java b/kogito-quarkus-examples/process-infinispan-persistence-quarkus/src/main/java/org/acme/deals/Traveller.java index 86c281ad50..68accdafa5 100644 --- a/kogito-quarkus-examples/process-infinispan-persistence-quarkus/src/main/java/org/acme/deals/Traveller.java +++ b/kogito-quarkus-examples/process-infinispan-persistence-quarkus/src/main/java/org/acme/deals/Traveller.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.deals; diff --git a/kogito-quarkus-examples/process-infinispan-persistence-quarkus/src/main/resources/META-INF/hotrod-client.properties b/kogito-quarkus-examples/process-infinispan-persistence-quarkus/src/main/resources/META-INF/hotrod-client.properties index 860399eb4d..76aa288250 100644 --- a/kogito-quarkus-examples/process-infinispan-persistence-quarkus/src/main/resources/META-INF/hotrod-client.properties +++ b/kogito-quarkus-examples/process-infinispan-persistence-quarkus/src/main/resources/META-INF/hotrod-client.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # This property is a workaround to make this example work on the Mac # It has to be removed in production as it impacts the performance significantly # See https://github.com/quarkusio/quarkus-quickstarts/pull/158/files#diff-fbd9118964ca218e93cef43c946413a0R9 diff --git a/kogito-quarkus-examples/process-infinispan-persistence-quarkus/src/main/resources/META-INF/resources/index.html b/kogito-quarkus-examples/process-infinispan-persistence-quarkus/src/main/resources/META-INF/resources/index.html index a965327283..cc6e2fe97c 100644 --- a/kogito-quarkus-examples/process-infinispan-persistence-quarkus/src/main/resources/META-INF/resources/index.html +++ b/kogito-quarkus-examples/process-infinispan-persistence-quarkus/src/main/resources/META-INF/resources/index.html @@ -1,3 +1,23 @@ + diff --git a/kogito-quarkus-examples/process-infinispan-persistence-quarkus/src/main/resources/application.properties b/kogito-quarkus-examples/process-infinispan-persistence-quarkus/src/main/resources/application.properties index 35f016ffc0..ef87a8e937 100644 --- a/kogito-quarkus-examples/process-infinispan-persistence-quarkus/src/main/resources/application.properties +++ b/kogito-quarkus-examples/process-infinispan-persistence-quarkus/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar diff --git a/kogito-quarkus-examples/process-infinispan-persistence-quarkus/src/test/java/org/acme/deals/DealsRestIT.java b/kogito-quarkus-examples/process-infinispan-persistence-quarkus/src/test/java/org/acme/deals/DealsRestIT.java index d68a7ebc22..7a47f5b545 100644 --- a/kogito-quarkus-examples/process-infinispan-persistence-quarkus/src/test/java/org/acme/deals/DealsRestIT.java +++ b/kogito-quarkus-examples/process-infinispan-persistence-quarkus/src/test/java/org/acme/deals/DealsRestIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.deals; 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..7c1d63b9c9 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 @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.deals; diff --git a/kogito-quarkus-examples/process-infinispan-persistence-quarkus/src/test/resources/application.properties b/kogito-quarkus-examples/process-infinispan-persistence-quarkus/src/test/resources/application.properties index 3c17236931..a047ea13ba 100644 --- a/kogito-quarkus-examples/process-infinispan-persistence-quarkus/src/test/resources/application.properties +++ b/kogito-quarkus-examples/process-infinispan-persistence-quarkus/src/test/resources/application.properties @@ -1,2 +1,21 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Quarkus quarkus.http.test-port=0 \ No newline at end of file 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..583c489da5 100644 --- a/kogito-quarkus-examples/process-kafka-avro-multi-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-kafka-avro-multi-quarkus/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 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..cf98c74d05 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 @@ -1,17 +1,20 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travel; 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..d698b7dd3c 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 @@ -1,17 +1,20 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travel; diff --git a/kogito-quarkus-examples/process-kafka-avro-multi-quarkus/src/main/java/org/acme/travel/Traveller.java b/kogito-quarkus-examples/process-kafka-avro-multi-quarkus/src/main/java/org/acme/travel/Traveller.java index 75e93ab4ba..d3b7ca64bd 100644 --- a/kogito-quarkus-examples/process-kafka-avro-multi-quarkus/src/main/java/org/acme/travel/Traveller.java +++ b/kogito-quarkus-examples/process-kafka-avro-multi-quarkus/src/main/java/org/acme/travel/Traveller.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travel; diff --git a/kogito-quarkus-examples/process-kafka-avro-multi-quarkus/src/main/java/org/acme/travel/TravellerValidationService.java b/kogito-quarkus-examples/process-kafka-avro-multi-quarkus/src/main/java/org/acme/travel/TravellerValidationService.java index fac9d3ee18..f807943864 100644 --- a/kogito-quarkus-examples/process-kafka-avro-multi-quarkus/src/main/java/org/acme/travel/TravellerValidationService.java +++ b/kogito-quarkus-examples/process-kafka-avro-multi-quarkus/src/main/java/org/acme/travel/TravellerValidationService.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travel; diff --git a/kogito-quarkus-examples/process-kafka-avro-multi-quarkus/src/main/resources/META-INF/resources/index.html b/kogito-quarkus-examples/process-kafka-avro-multi-quarkus/src/main/resources/META-INF/resources/index.html index 94a44ee8ab..1688079438 100644 --- a/kogito-quarkus-examples/process-kafka-avro-multi-quarkus/src/main/resources/META-INF/resources/index.html +++ b/kogito-quarkus-examples/process-kafka-avro-multi-quarkus/src/main/resources/META-INF/resources/index.html @@ -1,3 +1,23 @@ + diff --git a/kogito-quarkus-examples/process-kafka-avro-multi-quarkus/src/main/resources/application.properties b/kogito-quarkus-examples/process-kafka-avro-multi-quarkus/src/main/resources/application.properties index 9594b900aa..a1e61aa3b1 100644 --- a/kogito-quarkus-examples/process-kafka-avro-multi-quarkus/src/main/resources/application.properties +++ b/kogito-quarkus-examples/process-kafka-avro-multi-quarkus/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar diff --git a/kogito-quarkus-examples/process-kafka-avro-multi-quarkus/src/main/resources/travellers.drl b/kogito-quarkus-examples/process-kafka-avro-multi-quarkus/src/main/resources/travellers.drl index e2feedd297..da5c4b40f9 100644 --- a/kogito-quarkus-examples/process-kafka-avro-multi-quarkus/src/main/resources/travellers.drl +++ b/kogito-quarkus-examples/process-kafka-avro-multi-quarkus/src/main/resources/travellers.drl @@ -1,17 +1,20 @@ /** - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travel unit TravellerValidationService 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..a970b7d645 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travel.tests.avro.quarkus; diff --git a/kogito-quarkus-examples/process-kafka-avro-multi-quarkus/src/test/resources/application.properties b/kogito-quarkus-examples/process-kafka-avro-multi-quarkus/src/test/resources/application.properties index b5822c9c1a..16ad0289a4 100644 --- a/kogito-quarkus-examples/process-kafka-avro-multi-quarkus/src/test/resources/application.properties +++ b/kogito-quarkus-examples/process-kafka-avro-multi-quarkus/src/test/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + quarkus.kafka.devservices.enabled=false diff --git a/kogito-quarkus-examples/process-kafka-multi-quarkus/operator/process-kafka-multi-quarkus.yaml b/kogito-quarkus-examples/process-kafka-multi-quarkus/operator/process-kafka-multi-quarkus.yaml index 8c7b1b4094..0213fad4d7 100644 --- a/kogito-quarkus-examples/process-kafka-multi-quarkus/operator/process-kafka-multi-quarkus.yaml +++ b/kogito-quarkus-examples/process-kafka-multi-quarkus/operator/process-kafka-multi-quarkus.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + #Strimzi operator should be pre-installed in namespace apiVersion: app.kiegroup.org/v1beta1 kind: KogitoInfra diff --git a/kogito-quarkus-examples/process-kafka-multi-quarkus/pom.xml b/kogito-quarkus-examples/process-kafka-multi-quarkus/pom.xml index 3fa03011a6..6dcb59460b 100644 --- a/kogito-quarkus-examples/process-kafka-multi-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-kafka-multi-quarkus/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/kogito-quarkus-examples/process-kafka-multi-quarkus/src/main/java/org/acme/travel/Traveller.java b/kogito-quarkus-examples/process-kafka-multi-quarkus/src/main/java/org/acme/travel/Traveller.java index 75e93ab4ba..d3b7ca64bd 100644 --- a/kogito-quarkus-examples/process-kafka-multi-quarkus/src/main/java/org/acme/travel/Traveller.java +++ b/kogito-quarkus-examples/process-kafka-multi-quarkus/src/main/java/org/acme/travel/Traveller.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travel; diff --git a/kogito-quarkus-examples/process-kafka-multi-quarkus/src/main/java/org/acme/travel/TravellerValidationService.java b/kogito-quarkus-examples/process-kafka-multi-quarkus/src/main/java/org/acme/travel/TravellerValidationService.java index fac9d3ee18..f807943864 100644 --- a/kogito-quarkus-examples/process-kafka-multi-quarkus/src/main/java/org/acme/travel/TravellerValidationService.java +++ b/kogito-quarkus-examples/process-kafka-multi-quarkus/src/main/java/org/acme/travel/TravellerValidationService.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travel; diff --git a/kogito-quarkus-examples/process-kafka-multi-quarkus/src/main/resources/META-INF/resources/index.html b/kogito-quarkus-examples/process-kafka-multi-quarkus/src/main/resources/META-INF/resources/index.html index 94a44ee8ab..1688079438 100644 --- a/kogito-quarkus-examples/process-kafka-multi-quarkus/src/main/resources/META-INF/resources/index.html +++ b/kogito-quarkus-examples/process-kafka-multi-quarkus/src/main/resources/META-INF/resources/index.html @@ -1,3 +1,23 @@ + diff --git a/kogito-quarkus-examples/process-kafka-multi-quarkus/src/main/resources/application.properties b/kogito-quarkus-examples/process-kafka-multi-quarkus/src/main/resources/application.properties index 269596713b..4c6187bc53 100644 --- a/kogito-quarkus-examples/process-kafka-multi-quarkus/src/main/resources/application.properties +++ b/kogito-quarkus-examples/process-kafka-multi-quarkus/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar diff --git a/kogito-quarkus-examples/process-kafka-multi-quarkus/src/main/resources/travellers.drl b/kogito-quarkus-examples/process-kafka-multi-quarkus/src/main/resources/travellers.drl index e2feedd297..da5c4b40f9 100644 --- a/kogito-quarkus-examples/process-kafka-multi-quarkus/src/main/resources/travellers.drl +++ b/kogito-quarkus-examples/process-kafka-multi-quarkus/src/main/resources/travellers.drl @@ -1,17 +1,20 @@ /** - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travel unit TravellerValidationService diff --git a/kogito-quarkus-examples/process-kafka-multi-quarkus/src/test/java/org/acme/travel/tests/multimessaging/quarkus/MultiMessagingIT.java b/kogito-quarkus-examples/process-kafka-multi-quarkus/src/test/java/org/acme/travel/tests/multimessaging/quarkus/MultiMessagingIT.java index 8774db2e90..928c10f262 100644 --- a/kogito-quarkus-examples/process-kafka-multi-quarkus/src/test/java/org/acme/travel/tests/multimessaging/quarkus/MultiMessagingIT.java +++ b/kogito-quarkus-examples/process-kafka-multi-quarkus/src/test/java/org/acme/travel/tests/multimessaging/quarkus/MultiMessagingIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travel.tests.multimessaging.quarkus; diff --git a/kogito-quarkus-examples/process-kafka-multi-quarkus/src/test/resources/application.properties b/kogito-quarkus-examples/process-kafka-multi-quarkus/src/test/resources/application.properties index 4396d4ebfb..4242e6e9c1 100644 --- a/kogito-quarkus-examples/process-kafka-multi-quarkus/src/test/resources/application.properties +++ b/kogito-quarkus-examples/process-kafka-multi-quarkus/src/test/resources/application.properties @@ -1 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + quarkus.kafka.devservices.enabled=false \ No newline at end of file diff --git a/kogito-quarkus-examples/process-kafka-persistence-quarkus/operator/process-kafka-persistence-quarkus.yaml b/kogito-quarkus-examples/process-kafka-persistence-quarkus/operator/process-kafka-persistence-quarkus.yaml index f80896009d..f4fbf5b00b 100644 --- a/kogito-quarkus-examples/process-kafka-persistence-quarkus/operator/process-kafka-persistence-quarkus.yaml +++ b/kogito-quarkus-examples/process-kafka-persistence-quarkus/operator/process-kafka-persistence-quarkus.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + #Infinispan operator should be pre-installed in namespace apiVersion: app.kiegroup.org/v1alpha1 kind: KogitoInfra diff --git a/kogito-quarkus-examples/process-kafka-persistence-quarkus/pom.xml b/kogito-quarkus-examples/process-kafka-persistence-quarkus/pom.xml index c0d02b120a..a176131a83 100644 --- a/kogito-quarkus-examples/process-kafka-persistence-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-kafka-persistence-quarkus/pom.xml @@ -1,20 +1,24 @@ + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> diff --git a/kogito-quarkus-examples/process-kafka-persistence-quarkus/src/main/docker/docker-compose.yml b/kogito-quarkus-examples/process-kafka-persistence-quarkus/src/main/docker/docker-compose.yml index 1df68ed540..a9fde4aa12 100644 --- a/kogito-quarkus-examples/process-kafka-persistence-quarkus/src/main/docker/docker-compose.yml +++ b/kogito-quarkus-examples/process-kafka-persistence-quarkus/src/main/docker/docker-compose.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + version: '2.1' services: zookeeper: diff --git a/kogito-quarkus-examples/process-kafka-persistence-quarkus/src/main/java/org/acme/deals/Address.java b/kogito-quarkus-examples/process-kafka-persistence-quarkus/src/main/java/org/acme/deals/Address.java index a3b5a98c6d..0d8d3c41fa 100644 --- a/kogito-quarkus-examples/process-kafka-persistence-quarkus/src/main/java/org/acme/deals/Address.java +++ b/kogito-quarkus-examples/process-kafka-persistence-quarkus/src/main/java/org/acme/deals/Address.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.deals; 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..500211eefd 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 @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.deals; diff --git a/kogito-quarkus-examples/process-kafka-persistence-quarkus/src/main/java/org/acme/deals/Traveller.java b/kogito-quarkus-examples/process-kafka-persistence-quarkus/src/main/java/org/acme/deals/Traveller.java index f7d07fdb7f..68accdafa5 100644 --- a/kogito-quarkus-examples/process-kafka-persistence-quarkus/src/main/java/org/acme/deals/Traveller.java +++ b/kogito-quarkus-examples/process-kafka-persistence-quarkus/src/main/java/org/acme/deals/Traveller.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.deals; diff --git a/kogito-quarkus-examples/process-kafka-persistence-quarkus/src/main/resources/META-INF/resources/index.html b/kogito-quarkus-examples/process-kafka-persistence-quarkus/src/main/resources/META-INF/resources/index.html index b7d33fc830..c26803e187 100644 --- a/kogito-quarkus-examples/process-kafka-persistence-quarkus/src/main/resources/META-INF/resources/index.html +++ b/kogito-quarkus-examples/process-kafka-persistence-quarkus/src/main/resources/META-INF/resources/index.html @@ -1,3 +1,23 @@ + diff --git a/kogito-quarkus-examples/process-kafka-persistence-quarkus/src/main/resources/application.properties b/kogito-quarkus-examples/process-kafka-persistence-quarkus/src/main/resources/application.properties index 5f411a3e58..0085a569e2 100644 --- a/kogito-quarkus-examples/process-kafka-persistence-quarkus/src/main/resources/application.properties +++ b/kogito-quarkus-examples/process-kafka-persistence-quarkus/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar diff --git a/kogito-quarkus-examples/process-kafka-persistence-quarkus/src/test/java/org/acme/deals/DealsRestIT.java b/kogito-quarkus-examples/process-kafka-persistence-quarkus/src/test/java/org/acme/deals/DealsRestIT.java index b337345e41..dc99788db5 100644 --- a/kogito-quarkus-examples/process-kafka-persistence-quarkus/src/test/java/org/acme/deals/DealsRestIT.java +++ b/kogito-quarkus-examples/process-kafka-persistence-quarkus/src/test/java/org/acme/deals/DealsRestIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.deals; diff --git a/kogito-quarkus-examples/process-kafka-quickstart-quarkus/operator/process-kafka-quickstart-quarkus.yaml b/kogito-quarkus-examples/process-kafka-quickstart-quarkus/operator/process-kafka-quickstart-quarkus.yaml index e625d9b6d9..356d25cc20 100644 --- a/kogito-quarkus-examples/process-kafka-quickstart-quarkus/operator/process-kafka-quickstart-quarkus.yaml +++ b/kogito-quarkus-examples/process-kafka-quickstart-quarkus/operator/process-kafka-quickstart-quarkus.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + #Strimzi operator should be pre-installed in namespace apiVersion: app.kiegroup.org/v1beta1 kind: KogitoInfra diff --git a/kogito-quarkus-examples/process-kafka-quickstart-quarkus/pom.xml b/kogito-quarkus-examples/process-kafka-quickstart-quarkus/pom.xml index 294e08f529..8f04e1f510 100644 --- a/kogito-quarkus-examples/process-kafka-quickstart-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-kafka-quickstart-quarkus/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/kogito-quarkus-examples/process-kafka-quickstart-quarkus/src/main/java/org/acme/travel/Traveller.java b/kogito-quarkus-examples/process-kafka-quickstart-quarkus/src/main/java/org/acme/travel/Traveller.java index 75e93ab4ba..d3b7ca64bd 100644 --- a/kogito-quarkus-examples/process-kafka-quickstart-quarkus/src/main/java/org/acme/travel/Traveller.java +++ b/kogito-quarkus-examples/process-kafka-quickstart-quarkus/src/main/java/org/acme/travel/Traveller.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travel; diff --git a/kogito-quarkus-examples/process-kafka-quickstart-quarkus/src/main/java/org/acme/travel/TravellerValidationService.java b/kogito-quarkus-examples/process-kafka-quickstart-quarkus/src/main/java/org/acme/travel/TravellerValidationService.java index fac9d3ee18..f807943864 100644 --- a/kogito-quarkus-examples/process-kafka-quickstart-quarkus/src/main/java/org/acme/travel/TravellerValidationService.java +++ b/kogito-quarkus-examples/process-kafka-quickstart-quarkus/src/main/java/org/acme/travel/TravellerValidationService.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travel; diff --git a/kogito-quarkus-examples/process-kafka-quickstart-quarkus/src/main/resources/META-INF/resources/index.html b/kogito-quarkus-examples/process-kafka-quickstart-quarkus/src/main/resources/META-INF/resources/index.html index 94a44ee8ab..1688079438 100644 --- a/kogito-quarkus-examples/process-kafka-quickstart-quarkus/src/main/resources/META-INF/resources/index.html +++ b/kogito-quarkus-examples/process-kafka-quickstart-quarkus/src/main/resources/META-INF/resources/index.html @@ -1,3 +1,23 @@ + diff --git a/kogito-quarkus-examples/process-kafka-quickstart-quarkus/src/main/resources/application.properties b/kogito-quarkus-examples/process-kafka-quickstart-quarkus/src/main/resources/application.properties index 4bd4e1294a..d877808b78 100644 --- a/kogito-quarkus-examples/process-kafka-quickstart-quarkus/src/main/resources/application.properties +++ b/kogito-quarkus-examples/process-kafka-quickstart-quarkus/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar diff --git a/kogito-quarkus-examples/process-kafka-quickstart-quarkus/src/main/resources/travellers.drl b/kogito-quarkus-examples/process-kafka-quickstart-quarkus/src/main/resources/travellers.drl index e2feedd297..da5c4b40f9 100644 --- a/kogito-quarkus-examples/process-kafka-quickstart-quarkus/src/main/resources/travellers.drl +++ b/kogito-quarkus-examples/process-kafka-quickstart-quarkus/src/main/resources/travellers.drl @@ -1,17 +1,20 @@ /** - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travel unit TravellerValidationService diff --git a/kogito-quarkus-examples/process-kafka-quickstart-quarkus/src/test/java/org/acme/travel/tests/messaging/quarkus/MessagingIT.java b/kogito-quarkus-examples/process-kafka-quickstart-quarkus/src/test/java/org/acme/travel/tests/messaging/quarkus/MessagingIT.java index a60381ea7f..20fba84f08 100644 --- a/kogito-quarkus-examples/process-kafka-quickstart-quarkus/src/test/java/org/acme/travel/tests/messaging/quarkus/MessagingIT.java +++ b/kogito-quarkus-examples/process-kafka-quickstart-quarkus/src/test/java/org/acme/travel/tests/messaging/quarkus/MessagingIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travel.tests.messaging.quarkus; diff --git a/kogito-quarkus-examples/process-kafka-quickstart-quarkus/src/test/resources/application.properties b/kogito-quarkus-examples/process-kafka-quickstart-quarkus/src/test/resources/application.properties index 97f9010859..5dbcf1475f 100644 --- a/kogito-quarkus-examples/process-kafka-quickstart-quarkus/src/test/resources/application.properties +++ b/kogito-quarkus-examples/process-kafka-quickstart-quarkus/src/test/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Quarkus quarkus.http.test-port=0 quarkus.kafka.devservices.enabled=false diff --git a/kogito-quarkus-examples/process-knative-quickstart-quarkus/pom.xml b/kogito-quarkus-examples/process-knative-quickstart-quarkus/pom.xml index 5d32855e63..38eba66fb2 100644 --- a/kogito-quarkus-examples/process-knative-quickstart-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-knative-quickstart-quarkus/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/kogito-quarkus-examples/process-knative-quickstart-quarkus/src/main/java/org/acme/travel/Traveller.java b/kogito-quarkus-examples/process-knative-quickstart-quarkus/src/main/java/org/acme/travel/Traveller.java index 75e93ab4ba..d3b7ca64bd 100644 --- a/kogito-quarkus-examples/process-knative-quickstart-quarkus/src/main/java/org/acme/travel/Traveller.java +++ b/kogito-quarkus-examples/process-knative-quickstart-quarkus/src/main/java/org/acme/travel/Traveller.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travel; diff --git a/kogito-quarkus-examples/process-knative-quickstart-quarkus/src/main/java/org/acme/travel/TravellerValidationService.java b/kogito-quarkus-examples/process-knative-quickstart-quarkus/src/main/java/org/acme/travel/TravellerValidationService.java index fac9d3ee18..f807943864 100644 --- a/kogito-quarkus-examples/process-knative-quickstart-quarkus/src/main/java/org/acme/travel/TravellerValidationService.java +++ b/kogito-quarkus-examples/process-knative-quickstart-quarkus/src/main/java/org/acme/travel/TravellerValidationService.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travel; diff --git a/kogito-quarkus-examples/process-knative-quickstart-quarkus/src/main/resources/application.properties b/kogito-quarkus-examples/process-knative-quickstart-quarkus/src/main/resources/application.properties index 16f20f1a14..cda9b219fa 100644 --- a/kogito-quarkus-examples/process-knative-quickstart-quarkus/src/main/resources/application.properties +++ b/kogito-quarkus-examples/process-knative-quickstart-quarkus/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar diff --git a/kogito-quarkus-examples/process-knative-quickstart-quarkus/src/main/resources/travellers.drl b/kogito-quarkus-examples/process-knative-quickstart-quarkus/src/main/resources/travellers.drl index e2feedd297..da5c4b40f9 100644 --- a/kogito-quarkus-examples/process-knative-quickstart-quarkus/src/main/resources/travellers.drl +++ b/kogito-quarkus-examples/process-knative-quickstart-quarkus/src/main/resources/travellers.drl @@ -1,17 +1,20 @@ /** - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travel unit TravellerValidationService 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..bb41eb641b 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travel; diff --git a/kogito-quarkus-examples/process-knative-quickstart-quarkus/src/test/java/org/acme/travel/TopicsInformationTest.java b/kogito-quarkus-examples/process-knative-quickstart-quarkus/src/test/java/org/acme/travel/TopicsInformationTest.java index 4006f6e6d9..ce416c698f 100644 --- a/kogito-quarkus-examples/process-knative-quickstart-quarkus/src/test/java/org/acme/travel/TopicsInformationTest.java +++ b/kogito-quarkus-examples/process-knative-quickstart-quarkus/src/test/java/org/acme/travel/TopicsInformationTest.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travel; diff --git a/kogito-quarkus-examples/process-knative-quickstart-quarkus/src/test/resources/application.properties b/kogito-quarkus-examples/process-knative-quickstart-quarkus/src/test/resources/application.properties index 07d0cf7e13..f2e180a5c3 100644 --- a/kogito-quarkus-examples/process-knative-quickstart-quarkus/src/test/resources/application.properties +++ b/kogito-quarkus-examples/process-knative-quickstart-quarkus/src/test/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + quarkus.http.test-port=8282 quarkus.log.level=INFO diff --git a/kogito-quarkus-examples/process-mongodb-persistence-quarkus/operator/process-mongodb-persistence-quarkus.yaml b/kogito-quarkus-examples/process-mongodb-persistence-quarkus/operator/process-mongodb-persistence-quarkus.yaml index 13bf3ae63e..e39af034fa 100644 --- a/kogito-quarkus-examples/process-mongodb-persistence-quarkus/operator/process-mongodb-persistence-quarkus.yaml +++ b/kogito-quarkus-examples/process-mongodb-persistence-quarkus/operator/process-mongodb-persistence-quarkus.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + ## MongoDB operator should be pre-installed in namespace apiVersion: app.kiegroup.org/v1alpha1 kind: KogitoInfra diff --git a/kogito-quarkus-examples/process-mongodb-persistence-quarkus/pom.xml b/kogito-quarkus-examples/process-mongodb-persistence-quarkus/pom.xml index 094560f07e..9e37797387 100644 --- a/kogito-quarkus-examples/process-mongodb-persistence-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-mongodb-persistence-quarkus/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/kogito-quarkus-examples/process-mongodb-persistence-quarkus/src/main/java/org/acme/deals/Address.java b/kogito-quarkus-examples/process-mongodb-persistence-quarkus/src/main/java/org/acme/deals/Address.java index 0c3c0fa8c3..a00e02099e 100644 --- a/kogito-quarkus-examples/process-mongodb-persistence-quarkus/src/main/java/org/acme/deals/Address.java +++ b/kogito-quarkus-examples/process-mongodb-persistence-quarkus/src/main/java/org/acme/deals/Address.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.deals; diff --git a/kogito-quarkus-examples/process-mongodb-persistence-quarkus/src/main/java/org/acme/deals/Traveller.java b/kogito-quarkus-examples/process-mongodb-persistence-quarkus/src/main/java/org/acme/deals/Traveller.java index 02e90894b3..d0473a11d7 100644 --- a/kogito-quarkus-examples/process-mongodb-persistence-quarkus/src/main/java/org/acme/deals/Traveller.java +++ b/kogito-quarkus-examples/process-mongodb-persistence-quarkus/src/main/java/org/acme/deals/Traveller.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.deals; diff --git a/kogito-quarkus-examples/process-mongodb-persistence-quarkus/src/main/resources/META-INF/resources/index.html b/kogito-quarkus-examples/process-mongodb-persistence-quarkus/src/main/resources/META-INF/resources/index.html index bf23110f13..a79d3cddd4 100644 --- a/kogito-quarkus-examples/process-mongodb-persistence-quarkus/src/main/resources/META-INF/resources/index.html +++ b/kogito-quarkus-examples/process-mongodb-persistence-quarkus/src/main/resources/META-INF/resources/index.html @@ -1,3 +1,23 @@ + diff --git a/kogito-quarkus-examples/process-mongodb-persistence-quarkus/src/main/resources/application.properties b/kogito-quarkus-examples/process-mongodb-persistence-quarkus/src/main/resources/application.properties index a700a75201..e09567d08d 100644 --- a/kogito-quarkus-examples/process-mongodb-persistence-quarkus/src/main/resources/application.properties +++ b/kogito-quarkus-examples/process-mongodb-persistence-quarkus/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar diff --git a/kogito-quarkus-examples/process-mongodb-persistence-quarkus/src/test/java/org/acme/deals/DealsRestIT.java b/kogito-quarkus-examples/process-mongodb-persistence-quarkus/src/test/java/org/acme/deals/DealsRestIT.java index ee83e1d19a..5435480553 100644 --- a/kogito-quarkus-examples/process-mongodb-persistence-quarkus/src/test/java/org/acme/deals/DealsRestIT.java +++ b/kogito-quarkus-examples/process-mongodb-persistence-quarkus/src/test/java/org/acme/deals/DealsRestIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.deals; 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..7c1d63b9c9 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 @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.deals; diff --git a/kogito-quarkus-examples/process-mongodb-persistence-quarkus/src/test/resources/application.properties b/kogito-quarkus-examples/process-mongodb-persistence-quarkus/src/test/resources/application.properties index df9a3471ac..7246c70cd7 100644 --- a/kogito-quarkus-examples/process-mongodb-persistence-quarkus/src/test/resources/application.properties +++ b/kogito-quarkus-examples/process-mongodb-persistence-quarkus/src/test/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Quarkus quarkus.http.test-port=0 quarkus.log.console.enable=true diff --git a/kogito-quarkus-examples/process-monitoring-quarkus/Dockerfile b/kogito-quarkus-examples/process-monitoring-quarkus/Dockerfile index d3fd100a3a..6bff9a5109 100644 --- a/kogito-quarkus-examples/process-monitoring-quarkus/Dockerfile +++ b/kogito-quarkus-examples/process-monitoring-quarkus/Dockerfile @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + FROM quay.io/kiegroup/kogito-runtime-jvm:latest ENV RUNTIME_TYPE quarkus diff --git a/kogito-quarkus-examples/process-monitoring-quarkus/docker-compose.yml b/kogito-quarkus-examples/process-monitoring-quarkus/docker-compose.yml index fedca2a135..fe2cf90c14 100644 --- a/kogito-quarkus-examples/process-monitoring-quarkus/docker-compose.yml +++ b/kogito-quarkus-examples/process-monitoring-quarkus/docker-compose.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + version: '2' services: diff --git a/kogito-quarkus-examples/process-monitoring-quarkus/docker-compose/grafana/provisioning/dashboards/dashboard.yml b/kogito-quarkus-examples/process-monitoring-quarkus/docker-compose/grafana/provisioning/dashboards/dashboard.yml index 437d59118f..1c31f32b3b 100644 --- a/kogito-quarkus-examples/process-monitoring-quarkus/docker-compose/grafana/provisioning/dashboards/dashboard.yml +++ b/kogito-quarkus-examples/process-monitoring-quarkus/docker-compose/grafana/provisioning/dashboards/dashboard.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: 1 providers: diff --git a/kogito-quarkus-examples/process-monitoring-quarkus/docker-compose/grafana/provisioning/datasources/datasource.yml b/kogito-quarkus-examples/process-monitoring-quarkus/docker-compose/grafana/provisioning/datasources/datasource.yml index 4e58703f23..14e5b05c55 100644 --- a/kogito-quarkus-examples/process-monitoring-quarkus/docker-compose/grafana/provisioning/datasources/datasource.yml +++ b/kogito-quarkus-examples/process-monitoring-quarkus/docker-compose/grafana/provisioning/datasources/datasource.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # config file version apiVersion: 1 diff --git a/kogito-quarkus-examples/process-monitoring-quarkus/docker-compose/prometheus/prometheus.yml b/kogito-quarkus-examples/process-monitoring-quarkus/docker-compose/prometheus/prometheus.yml index e93a8f4560..d9b3bbebb0 100644 --- a/kogito-quarkus-examples/process-monitoring-quarkus/docker-compose/prometheus/prometheus.yml +++ b/kogito-quarkus-examples/process-monitoring-quarkus/docker-compose/prometheus/prometheus.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # A scrape configuration containing exactly one endpoint to scrape: scrape_configs: # The job name is added as a label `job=` to any timeseries scraped from this config. diff --git a/kogito-quarkus-examples/process-monitoring-quarkus/pom.xml b/kogito-quarkus-examples/process-monitoring-quarkus/pom.xml index 1669a3fdfc..5af0870b9a 100755 --- a/kogito-quarkus-examples/process-monitoring-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-monitoring-quarkus/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 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..4b23a5b71c 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 @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.quarkus; diff --git a/kogito-quarkus-examples/process-monitoring-quarkus/src/main/java/org/kie/kogito/examples/quarkus/demo/Order.java b/kogito-quarkus-examples/process-monitoring-quarkus/src/main/java/org/kie/kogito/examples/quarkus/demo/Order.java index 03a8199193..354920c235 100755 --- a/kogito-quarkus-examples/process-monitoring-quarkus/src/main/java/org/kie/kogito/examples/quarkus/demo/Order.java +++ b/kogito-quarkus-examples/process-monitoring-quarkus/src/main/java/org/kie/kogito/examples/quarkus/demo/Order.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.quarkus.demo; diff --git a/kogito-quarkus-examples/process-monitoring-quarkus/src/main/resources/application.properties b/kogito-quarkus-examples/process-monitoring-quarkus/src/main/resources/application.properties index 2432db771d..c27ab72359 100644 --- a/kogito-quarkus-examples/process-monitoring-quarkus/src/main/resources/application.properties +++ b/kogito-quarkus-examples/process-monitoring-quarkus/src/main/resources/application.properties @@ -1 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + quarkus.swagger-ui.always-include=true diff --git a/kogito-quarkus-examples/process-monitoring-quarkus/src/test/filtered-resources/project.properties b/kogito-quarkus-examples/process-monitoring-quarkus/src/test/filtered-resources/project.properties index 301ad794d3..5771872775 100644 --- a/kogito-quarkus-examples/process-monitoring-quarkus/src/test/filtered-resources/project.properties +++ b/kogito-quarkus-examples/process-monitoring-quarkus/src/test/filtered-resources/project.properties @@ -1,17 +1,21 @@ # -# Copyright 2021 Red Hat, Inc. and/or its affiliates. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# 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 # -# 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. +# 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. # + project.version=${project.version} project.artifactId=${project.artifactId} \ No newline at end of file diff --git a/kogito-quarkus-examples/process-monitoring-quarkus/src/test/java/org/kie/kogito/examples/quarkus/DashboardGenerationIT.java b/kogito-quarkus-examples/process-monitoring-quarkus/src/test/java/org/kie/kogito/examples/quarkus/DashboardGenerationIT.java index 2ff62553c8..0e147fa27c 100644 --- a/kogito-quarkus-examples/process-monitoring-quarkus/src/test/java/org/kie/kogito/examples/quarkus/DashboardGenerationIT.java +++ b/kogito-quarkus-examples/process-monitoring-quarkus/src/test/java/org/kie/kogito/examples/quarkus/DashboardGenerationIT.java @@ -1,19 +1,21 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.quarkus; import java.util.List; 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..49f5c0b467 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 @@ -1,19 +1,21 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.quarkus; import io.quarkus.test.junit.NativeImageTest; 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..bd30cee64d 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 @@ -1,19 +1,21 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.quarkus; import java.util.HashMap; diff --git a/kogito-quarkus-examples/process-monitoring-quarkus/src/test/java/org/kie/kogito/examples/quarkus/ProjectMetadataProvider.java b/kogito-quarkus-examples/process-monitoring-quarkus/src/test/java/org/kie/kogito/examples/quarkus/ProjectMetadataProvider.java index bd1570570f..b6c3df342c 100644 --- a/kogito-quarkus-examples/process-monitoring-quarkus/src/test/java/org/kie/kogito/examples/quarkus/ProjectMetadataProvider.java +++ b/kogito-quarkus-examples/process-monitoring-quarkus/src/test/java/org/kie/kogito/examples/quarkus/ProjectMetadataProvider.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.quarkus; diff --git a/kogito-quarkus-examples/process-monitoring-quarkus/src/test/resources/application.properties b/kogito-quarkus-examples/process-monitoring-quarkus/src/test/resources/application.properties index 3c17236931..a047ea13ba 100644 --- a/kogito-quarkus-examples/process-monitoring-quarkus/src/test/resources/application.properties +++ b/kogito-quarkus-examples/process-monitoring-quarkus/src/test/resources/application.properties @@ -1,2 +1,21 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Quarkus quarkus.http.test-port=0 \ No newline at end of file diff --git a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/docker-clean.sh b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/docker-clean.sh index 8a012b7df5..92447e9301 100755 --- a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/docker-clean.sh +++ b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/docker-clean.sh @@ -1,4 +1,23 @@ #!/bin/sh +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Helper script to remove any cache from previous build docker-compose stop diff --git a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/docker-compose.yml b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/docker-compose.yml index 38f5a11923..b466e423d1 100644 --- a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/docker-compose.yml +++ b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/docker-compose.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + version: '2' services: kafka: diff --git a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/mongodb/Dockerfile b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/mongodb/Dockerfile index fad6a072db..e38891021c 100644 --- a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/mongodb/Dockerfile +++ b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/mongodb/Dockerfile @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + FROM library/mongo:4.4.14 COPY init.sh /usr/local/bin/ diff --git a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/mongodb/init.sh b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/mongodb/init.sh index 9281d34184..636e455018 100644 --- a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/mongodb/init.sh +++ b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/mongodb/init.sh @@ -1,4 +1,23 @@ #!/bin/bash +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + set -euxo pipefail diff --git a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/mongodb/launch.sh b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/mongodb/launch.sh index 04786f1502..09c955e69f 100644 --- a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/mongodb/launch.sh +++ b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/mongodb/launch.sh @@ -1,4 +1,23 @@ #!/bin/bash +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + set -m diff --git a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/pom.xml b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/pom.xml index 47aa6727e5..a202f7c384 100644 --- a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/pom.xml @@ -1,4 +1,24 @@ + diff --git a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/sidecar/Dockerfile b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/sidecar/Dockerfile index 5264764138..9e160ea74d 100644 --- a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/sidecar/Dockerfile +++ b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/sidecar/Dockerfile @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + FROM library/mongo:4.4.14 RUN apt-get update && apt-get install -y curl diff --git a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/sidecar/launch.sh b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/sidecar/launch.sh index 5d9ce0fbde..51f265d29c 100644 --- a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/sidecar/launch.sh +++ b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/sidecar/launch.sh @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + set -euxo pipefail until mongo -u "$MONGODB_USER" -p "$MONGODB_PASSWORD" --host "$MONGODB_RS"/"$MONGODB_HOST" admin --eval "print(\"waited for connection\")"; do 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..d15814e745 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 @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/java/org/kie/kogito/examples/PersonValidationService.java b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/java/org/kie/kogito/examples/PersonValidationService.java index af854584cb..022478f873 100644 --- a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/java/org/kie/kogito/examples/PersonValidationService.java +++ b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/java/org/kie/kogito/examples/PersonValidationService.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/java/org/kie/kogito/examples/demo/Order.java b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/java/org/kie/kogito/examples/demo/Order.java index 753b87aecd..d3770e78cf 100755 --- a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/java/org/kie/kogito/examples/demo/Order.java +++ b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/java/org/kie/kogito/examples/demo/Order.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.demo; diff --git a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/java/org/kie/kogito/examples/demo/Person.java b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/java/org/kie/kogito/examples/demo/Person.java index c38f75fe3c..92aa205134 100644 --- a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/java/org/kie/kogito/examples/demo/Person.java +++ b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/java/org/kie/kogito/examples/demo/Person.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.demo; diff --git a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/resources/META-INF/kmodule.xml b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/resources/META-INF/kmodule.xml index 2ba4076c16..41665a75bb 100755 --- a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/resources/META-INF/kmodule.xml +++ b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/resources/META-INF/kmodule.xml @@ -1 +1,21 @@ + \ No newline at end of file diff --git a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/resources/application.properties b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/resources/application.properties index 29295e3600..689f9d3c5c 100644 --- a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/resources/application.properties +++ b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + quarkus.swagger-ui.always-include=true kogito.persistence.type=mongodb diff --git a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/resources/org/kie/kogito/examples/PersonValidationService.drl b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/resources/org/kie/kogito/examples/PersonValidationService.drl index 81e156389c..9d0fdc6ce1 100644 --- a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/resources/org/kie/kogito/examples/PersonValidationService.drl +++ b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/main/resources/org/kie/kogito/examples/PersonValidationService.drl @@ -1,17 +1,20 @@ /** - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples unit PersonValidationService diff --git a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/test/java/org/kie/kogito/quarkus/outbox/OutboxIT.java b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/test/java/org/kie/kogito/quarkus/outbox/OutboxIT.java index 22fadaf7a2..35b77ce25c 100644 --- a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/test/java/org/kie/kogito/quarkus/outbox/OutboxIT.java +++ b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/test/java/org/kie/kogito/quarkus/outbox/OutboxIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.quarkus.outbox; diff --git a/kogito-quarkus-examples/process-performance-client/pom.xml b/kogito-quarkus-examples/process-performance-client/pom.xml index 99cf83fa06..a865540afe 100755 --- a/kogito-quarkus-examples/process-performance-client/pom.xml +++ b/kogito-quarkus-examples/process-performance-client/pom.xml @@ -1,4 +1,24 @@ + + + + 4.0.0 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..d15814e745 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/kogito-quarkus-examples/process-quarkus-example/src/main/java/org/kie/kogito/examples/PersonValidationService.java b/kogito-quarkus-examples/process-quarkus-example/src/main/java/org/kie/kogito/examples/PersonValidationService.java index 1601506f70..022478f873 100644 --- a/kogito-quarkus-examples/process-quarkus-example/src/main/java/org/kie/kogito/examples/PersonValidationService.java +++ b/kogito-quarkus-examples/process-quarkus-example/src/main/java/org/kie/kogito/examples/PersonValidationService.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/kogito-quarkus-examples/process-quarkus-example/src/main/java/org/kie/kogito/examples/demo/Order.java b/kogito-quarkus-examples/process-quarkus-example/src/main/java/org/kie/kogito/examples/demo/Order.java index de8b4fb8f2..d3770e78cf 100755 --- a/kogito-quarkus-examples/process-quarkus-example/src/main/java/org/kie/kogito/examples/demo/Order.java +++ b/kogito-quarkus-examples/process-quarkus-example/src/main/java/org/kie/kogito/examples/demo/Order.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.demo; diff --git a/kogito-quarkus-examples/process-quarkus-example/src/main/java/org/kie/kogito/examples/demo/Person.java b/kogito-quarkus-examples/process-quarkus-example/src/main/java/org/kie/kogito/examples/demo/Person.java index 4ce2cb03d7..92aa205134 100644 --- a/kogito-quarkus-examples/process-quarkus-example/src/main/java/org/kie/kogito/examples/demo/Person.java +++ b/kogito-quarkus-examples/process-quarkus-example/src/main/java/org/kie/kogito/examples/demo/Person.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.demo; diff --git a/kogito-quarkus-examples/process-quarkus-example/src/main/resources/META-INF/kmodule.xml b/kogito-quarkus-examples/process-quarkus-example/src/main/resources/META-INF/kmodule.xml index 2ba4076c16..41665a75bb 100755 --- a/kogito-quarkus-examples/process-quarkus-example/src/main/resources/META-INF/kmodule.xml +++ b/kogito-quarkus-examples/process-quarkus-example/src/main/resources/META-INF/kmodule.xml @@ -1 +1,21 @@ + \ No newline at end of file diff --git a/kogito-quarkus-examples/process-quarkus-example/src/main/resources/application.properties b/kogito-quarkus-examples/process-quarkus-example/src/main/resources/application.properties index 899e5a43b4..0f36eb7eed 100644 --- a/kogito-quarkus-examples/process-quarkus-example/src/main/resources/application.properties +++ b/kogito-quarkus-examples/process-quarkus-example/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar diff --git a/kogito-quarkus-examples/process-quarkus-example/src/main/resources/org/kie/kogito/examples/PersonValidationService.drl b/kogito-quarkus-examples/process-quarkus-example/src/main/resources/org/kie/kogito/examples/PersonValidationService.drl index c78f0bc31b..9d0fdc6ce1 100644 --- a/kogito-quarkus-examples/process-quarkus-example/src/main/resources/org/kie/kogito/examples/PersonValidationService.drl +++ b/kogito-quarkus-examples/process-quarkus-example/src/main/resources/org/kie/kogito/examples/PersonValidationService.drl @@ -1,17 +1,20 @@ /** - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples unit PersonValidationService 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..c5aed1dccd 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; 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..235b8bf6ff 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; 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..0d2c20dbb9 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; 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..3a04336cc2 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/kogito-quarkus-examples/process-quarkus-example/src/test/resources/application.properties b/kogito-quarkus-examples/process-quarkus-example/src/test/resources/application.properties index 21d13b3df3..f6b90c458e 100644 --- a/kogito-quarkus-examples/process-quarkus-example/src/test/resources/application.properties +++ b/kogito-quarkus-examples/process-quarkus-example/src/test/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Quarkus quarkus.http.test-port=0 diff --git a/kogito-quarkus-examples/process-rest-service-call-quarkus/operator/process-service-rest-call-quarkus.yaml b/kogito-quarkus-examples/process-rest-service-call-quarkus/operator/process-service-rest-call-quarkus.yaml index dc5364221a..47d877f7d0 100644 --- a/kogito-quarkus-examples/process-rest-service-call-quarkus/operator/process-service-rest-call-quarkus.yaml +++ b/kogito-quarkus-examples/process-rest-service-call-quarkus/operator/process-service-rest-call-quarkus.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: app.kiegroup.org/v1beta1 kind: KogitoBuild metadata: 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..c0fe0e80e7 100644 --- a/kogito-quarkus-examples/process-rest-service-call-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-rest-service-call-quarkus/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/kogito-quarkus-examples/process-rest-service-call-quarkus/src/main/java/org/acme/travels/quarkus/User.java b/kogito-quarkus-examples/process-rest-service-call-quarkus/src/main/java/org/acme/travels/quarkus/User.java index 38604ad82d..0cb3cbcfa5 100644 --- a/kogito-quarkus-examples/process-rest-service-call-quarkus/src/main/java/org/acme/travels/quarkus/User.java +++ b/kogito-quarkus-examples/process-rest-service-call-quarkus/src/main/java/org/acme/travels/quarkus/User.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels.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..0328fcf5cb 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels.rest; 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..df30a2aa60 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels.services; 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..4789a5f527 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels.services; diff --git a/kogito-quarkus-examples/process-rest-service-call-quarkus/src/main/resources/META-INF/resources/index.html b/kogito-quarkus-examples/process-rest-service-call-quarkus/src/main/resources/META-INF/resources/index.html index a965327283..cc6e2fe97c 100644 --- a/kogito-quarkus-examples/process-rest-service-call-quarkus/src/main/resources/META-INF/resources/index.html +++ b/kogito-quarkus-examples/process-rest-service-call-quarkus/src/main/resources/META-INF/resources/index.html @@ -1,3 +1,23 @@ + diff --git a/kogito-quarkus-examples/process-rest-service-call-quarkus/src/main/resources/application.properties b/kogito-quarkus-examples/process-rest-service-call-quarkus/src/main/resources/application.properties index ffd8821875..0bf4f46b1f 100644 --- a/kogito-quarkus-examples/process-rest-service-call-quarkus/src/main/resources/application.properties +++ b/kogito-quarkus-examples/process-rest-service-call-quarkus/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar 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..5fc7dc2980 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels.quarkus; diff --git a/kogito-quarkus-examples/process-rest-service-call-quarkus/src/test/resources/application.properties b/kogito-quarkus-examples/process-rest-service-call-quarkus/src/test/resources/application.properties index 232c11374a..b7c9de9a09 100644 --- a/kogito-quarkus-examples/process-rest-service-call-quarkus/src/test/resources/application.properties +++ b/kogito-quarkus-examples/process-rest-service-call-quarkus/src/test/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Quarkus quarkus.http.test-port=0 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..3c87e14dc4 100644 --- a/kogito-quarkus-examples/process-rest-workitem-multi-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-rest-workitem-multi-quarkus/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/kogito-quarkus-examples/process-rest-workitem-multi-quarkus/src/main/java/org/acme/numbers/Numbers.java b/kogito-quarkus-examples/process-rest-workitem-multi-quarkus/src/main/java/org/acme/numbers/Numbers.java index e1793bd128..c633a5cd08 100644 --- a/kogito-quarkus-examples/process-rest-workitem-multi-quarkus/src/main/java/org/acme/numbers/Numbers.java +++ b/kogito-quarkus-examples/process-rest-workitem-multi-quarkus/src/main/java/org/acme/numbers/Numbers.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.numbers; 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..e9278eb87f 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.numbers; diff --git a/kogito-quarkus-examples/process-rest-workitem-multi-quarkus/src/main/resources/application.properties b/kogito-quarkus-examples/process-rest-workitem-multi-quarkus/src/main/resources/application.properties index e69de29bb2..d8a500d9d8 100644 --- a/kogito-quarkus-examples/process-rest-workitem-multi-quarkus/src/main/resources/application.properties +++ b/kogito-quarkus-examples/process-rest-workitem-multi-quarkus/src/main/resources/application.properties @@ -0,0 +1,19 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + 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..c931ecbe2b 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.numbers; diff --git a/kogito-quarkus-examples/process-rest-workitem-multi-quarkus/src/test/java/org/acme/numbers/NumbersMockService.java b/kogito-quarkus-examples/process-rest-workitem-multi-quarkus/src/test/java/org/acme/numbers/NumbersMockService.java index 64f3eb7a3e..7815f2f87d 100644 --- a/kogito-quarkus-examples/process-rest-workitem-multi-quarkus/src/test/java/org/acme/numbers/NumbersMockService.java +++ b/kogito-quarkus-examples/process-rest-workitem-multi-quarkus/src/test/java/org/acme/numbers/NumbersMockService.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.numbers; diff --git a/kogito-quarkus-examples/process-rest-workitem-multi-quarkus/src/test/java/org/acme/numbers/RestExampleTestIT.java b/kogito-quarkus-examples/process-rest-workitem-multi-quarkus/src/test/java/org/acme/numbers/RestExampleTestIT.java index 56473a0f0a..fe7d2b74d6 100644 --- a/kogito-quarkus-examples/process-rest-workitem-multi-quarkus/src/test/java/org/acme/numbers/RestExampleTestIT.java +++ b/kogito-quarkus-examples/process-rest-workitem-multi-quarkus/src/test/java/org/acme/numbers/RestExampleTestIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.numbers; diff --git a/kogito-quarkus-examples/process-rest-workitem-quarkus/operator/process-service-rest-call-quarkus.yaml b/kogito-quarkus-examples/process-rest-workitem-quarkus/operator/process-service-rest-call-quarkus.yaml index dc5364221a..47d877f7d0 100644 --- a/kogito-quarkus-examples/process-rest-workitem-quarkus/operator/process-service-rest-call-quarkus.yaml +++ b/kogito-quarkus-examples/process-rest-workitem-quarkus/operator/process-service-rest-call-quarkus.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: app.kiegroup.org/v1beta1 kind: KogitoBuild metadata: diff --git a/kogito-quarkus-examples/process-rest-workitem-quarkus/pom.xml b/kogito-quarkus-examples/process-rest-workitem-quarkus/pom.xml index 70c6af42c8..a117f4872b 100644 --- a/kogito-quarkus-examples/process-rest-workitem-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-rest-workitem-quarkus/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/kogito-quarkus-examples/process-rest-workitem-quarkus/src/main/java/org/acme/travels/User.java b/kogito-quarkus-examples/process-rest-workitem-quarkus/src/main/java/org/acme/travels/User.java index 8d2a4a78f7..14d8bd0ceb 100644 --- a/kogito-quarkus-examples/process-rest-workitem-quarkus/src/main/java/org/acme/travels/User.java +++ b/kogito-quarkus-examples/process-rest-workitem-quarkus/src/main/java/org/acme/travels/User.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; 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..ea11debf3b 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels.rest; 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..c786656ce3 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels.services; diff --git a/kogito-quarkus-examples/process-rest-workitem-quarkus/src/main/resources/application.properties b/kogito-quarkus-examples/process-rest-workitem-quarkus/src/main/resources/application.properties index ffd8821875..0bf4f46b1f 100644 --- a/kogito-quarkus-examples/process-rest-workitem-quarkus/src/main/resources/application.properties +++ b/kogito-quarkus-examples/process-rest-workitem-quarkus/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar 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..7386d92a32 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; diff --git a/kogito-quarkus-examples/process-rest-workitem-quarkus/src/test/resources/application.properties b/kogito-quarkus-examples/process-rest-workitem-quarkus/src/test/resources/application.properties index 232c11374a..b7c9de9a09 100644 --- a/kogito-quarkus-examples/process-rest-workitem-quarkus/src/test/resources/application.properties +++ b/kogito-quarkus-examples/process-rest-workitem-quarkus/src/test/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Quarkus quarkus.http.test-port=0 diff --git a/kogito-quarkus-examples/process-saga-quarkus/pom.xml b/kogito-quarkus-examples/process-saga-quarkus/pom.xml index 1cf3201035..b88d97eeed 100644 --- a/kogito-quarkus-examples/process-saga-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-saga-quarkus/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 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..e30cc4f339 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; 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..39df34bed3 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; 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..ff622437d2 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/kie/kogito/examples/Response.java b/kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/kie/kogito/examples/Response.java index 193443e4ff..5b0540bd49 100644 --- a/kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/kie/kogito/examples/Response.java +++ b/kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/kie/kogito/examples/Response.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/kie/kogito/examples/ServiceException.java b/kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/kie/kogito/examples/ServiceException.java index 908552aa21..e20f61055d 100644 --- a/kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/kie/kogito/examples/ServiceException.java +++ b/kogito-quarkus-examples/process-saga-quarkus/src/main/java/org/kie/kogito/examples/ServiceException.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; 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..2c0ed26cce 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; 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..4276603f48 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/kogito-quarkus-examples/process-saga-quarkus/src/main/resources/application.properties b/kogito-quarkus-examples/process-saga-quarkus/src/main/resources/application.properties index 112cb50503..4820bb49fa 100644 --- a/kogito-quarkus-examples/process-saga-quarkus/src/main/resources/application.properties +++ b/kogito-quarkus-examples/process-saga-quarkus/src/main/resources/application.properties @@ -1,17 +1,20 @@ # -# Copyright 2020 Red Hat, Inc. and/or its affiliates. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# 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 # -# 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. +# 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. # #https://quarkus.io/guides/openapi-swaggerui diff --git a/kogito-quarkus-examples/process-saga-quarkus/src/test/java/org/kie/kogito/examples/ProcessSagaIT.java b/kogito-quarkus-examples/process-saga-quarkus/src/test/java/org/kie/kogito/examples/ProcessSagaIT.java index 02a02a792a..77f3dae7c5 100644 --- a/kogito-quarkus-examples/process-saga-quarkus/src/test/java/org/kie/kogito/examples/ProcessSagaIT.java +++ b/kogito-quarkus-examples/process-saga-quarkus/src/test/java/org/kie/kogito/examples/ProcessSagaIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/kogito-quarkus-examples/process-scripts-quarkus/operator/process-scripts-quarkus.yaml b/kogito-quarkus-examples/process-scripts-quarkus/operator/process-scripts-quarkus.yaml index 4324a9bdd9..de55a9acf4 100644 --- a/kogito-quarkus-examples/process-scripts-quarkus/operator/process-scripts-quarkus.yaml +++ b/kogito-quarkus-examples/process-scripts-quarkus/operator/process-scripts-quarkus.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: app.kiegroup.org/v1beta1 kind: KogitoBuild metadata: diff --git a/kogito-quarkus-examples/process-scripts-quarkus/pom.xml b/kogito-quarkus-examples/process-scripts-quarkus/pom.xml index 8515e4db68..e13ec15aaf 100644 --- a/kogito-quarkus-examples/process-scripts-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-scripts-quarkus/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/kogito-quarkus-examples/process-scripts-quarkus/src/main/resources/META-INF/resources/index.html b/kogito-quarkus-examples/process-scripts-quarkus/src/main/resources/META-INF/resources/index.html index a965327283..cc6e2fe97c 100644 --- a/kogito-quarkus-examples/process-scripts-quarkus/src/main/resources/META-INF/resources/index.html +++ b/kogito-quarkus-examples/process-scripts-quarkus/src/main/resources/META-INF/resources/index.html @@ -1,3 +1,23 @@ + diff --git a/kogito-quarkus-examples/process-scripts-quarkus/src/main/resources/application.properties b/kogito-quarkus-examples/process-scripts-quarkus/src/main/resources/application.properties index 35b7e32bea..a76c2a39bb 100644 --- a/kogito-quarkus-examples/process-scripts-quarkus/src/main/resources/application.properties +++ b/kogito-quarkus-examples/process-scripts-quarkus/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar 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..7b15e87bfa 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels.quarkus; diff --git a/kogito-quarkus-examples/process-scripts-quarkus/src/test/resources/application.properties b/kogito-quarkus-examples/process-scripts-quarkus/src/test/resources/application.properties index 3c17236931..a047ea13ba 100644 --- a/kogito-quarkus-examples/process-scripts-quarkus/src/test/resources/application.properties +++ b/kogito-quarkus-examples/process-scripts-quarkus/src/test/resources/application.properties @@ -1,2 +1,21 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Quarkus quarkus.http.test-port=0 \ No newline at end of file diff --git a/kogito-quarkus-examples/process-service-calls-quarkus/operator/process-service-calls-quarkus.yaml b/kogito-quarkus-examples/process-service-calls-quarkus/operator/process-service-calls-quarkus.yaml index b23eecbc4d..1db0021b58 100644 --- a/kogito-quarkus-examples/process-service-calls-quarkus/operator/process-service-calls-quarkus.yaml +++ b/kogito-quarkus-examples/process-service-calls-quarkus/operator/process-service-calls-quarkus.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: app.kiegroup.org/v1beta1 kind: KogitoBuild metadata: diff --git a/kogito-quarkus-examples/process-service-calls-quarkus/pom.xml b/kogito-quarkus-examples/process-service-calls-quarkus/pom.xml index 8c439f2359..0ce865e9a7 100644 --- a/kogito-quarkus-examples/process-service-calls-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-service-calls-quarkus/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/kogito-quarkus-examples/process-service-calls-quarkus/src/main/java/org/acme/travels/quarkus/Address.java b/kogito-quarkus-examples/process-service-calls-quarkus/src/main/java/org/acme/travels/quarkus/Address.java index e0dc7d01de..c2aa39e62b 100644 --- a/kogito-quarkus-examples/process-service-calls-quarkus/src/main/java/org/acme/travels/quarkus/Address.java +++ b/kogito-quarkus-examples/process-service-calls-quarkus/src/main/java/org/acme/travels/quarkus/Address.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels.quarkus; diff --git a/kogito-quarkus-examples/process-service-calls-quarkus/src/main/java/org/acme/travels/quarkus/Traveller.java b/kogito-quarkus-examples/process-service-calls-quarkus/src/main/java/org/acme/travels/quarkus/Traveller.java index e66eab50d5..d0e9bd8d67 100644 --- a/kogito-quarkus-examples/process-service-calls-quarkus/src/main/java/org/acme/travels/quarkus/Traveller.java +++ b/kogito-quarkus-examples/process-service-calls-quarkus/src/main/java/org/acme/travels/quarkus/Traveller.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels.quarkus; 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..bdb582dc68 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels.services; 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..46d91c5b62 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels.services; 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..17a5ae4ae8 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels.services; 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..05df805735 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels.services; diff --git a/kogito-quarkus-examples/process-service-calls-quarkus/src/main/resources/META-INF/resources/index.html b/kogito-quarkus-examples/process-service-calls-quarkus/src/main/resources/META-INF/resources/index.html index a965327283..cc6e2fe97c 100644 --- a/kogito-quarkus-examples/process-service-calls-quarkus/src/main/resources/META-INF/resources/index.html +++ b/kogito-quarkus-examples/process-service-calls-quarkus/src/main/resources/META-INF/resources/index.html @@ -1,3 +1,23 @@ + diff --git a/kogito-quarkus-examples/process-service-calls-quarkus/src/main/resources/application.properties b/kogito-quarkus-examples/process-service-calls-quarkus/src/main/resources/application.properties index 35b7e32bea..a76c2a39bb 100644 --- a/kogito-quarkus-examples/process-service-calls-quarkus/src/main/resources/application.properties +++ b/kogito-quarkus-examples/process-service-calls-quarkus/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar 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..0de3f47b03 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels.quarkus; 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..e739e1816a 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels.quarkus; diff --git a/kogito-quarkus-examples/process-service-calls-quarkus/src/test/resources/application.properties b/kogito-quarkus-examples/process-service-calls-quarkus/src/test/resources/application.properties index 3c17236931..a047ea13ba 100644 --- a/kogito-quarkus-examples/process-service-calls-quarkus/src/test/resources/application.properties +++ b/kogito-quarkus-examples/process-service-calls-quarkus/src/test/resources/application.properties @@ -1,2 +1,21 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Quarkus quarkus.http.test-port=0 \ No newline at end of file diff --git a/kogito-quarkus-examples/process-timer-quarkus/operator/jobs-service.yaml b/kogito-quarkus-examples/process-timer-quarkus/operator/jobs-service.yaml index 448e6810da..30fa9ed8cb 100644 --- a/kogito-quarkus-examples/process-timer-quarkus/operator/jobs-service.yaml +++ b/kogito-quarkus-examples/process-timer-quarkus/operator/jobs-service.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + #uncomment to enable persistence ##Infinispan operator should be pre-installed in namespace #apiVersion: app.kiegroup.org/v1beta1 diff --git a/kogito-quarkus-examples/process-timer-quarkus/operator/process-timer-quarkus.yaml b/kogito-quarkus-examples/process-timer-quarkus/operator/process-timer-quarkus.yaml index a7988c1feb..2b3ace5f6e 100644 --- a/kogito-quarkus-examples/process-timer-quarkus/operator/process-timer-quarkus.yaml +++ b/kogito-quarkus-examples/process-timer-quarkus/operator/process-timer-quarkus.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: app.kiegroup.org/v1beta1 kind: KogitoBuild metadata: diff --git a/kogito-quarkus-examples/process-timer-quarkus/pom.xml b/kogito-quarkus-examples/process-timer-quarkus/pom.xml index 32533e0903..d1132daf34 100644 --- a/kogito-quarkus-examples/process-timer-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-timer-quarkus/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/kogito-quarkus-examples/process-timer-quarkus/src/main/resources/META-INF/resources/index.html b/kogito-quarkus-examples/process-timer-quarkus/src/main/resources/META-INF/resources/index.html index a965327283..cc6e2fe97c 100644 --- a/kogito-quarkus-examples/process-timer-quarkus/src/main/resources/META-INF/resources/index.html +++ b/kogito-quarkus-examples/process-timer-quarkus/src/main/resources/META-INF/resources/index.html @@ -1,3 +1,23 @@ + diff --git a/kogito-quarkus-examples/process-timer-quarkus/src/main/resources/application.properties b/kogito-quarkus-examples/process-timer-quarkus/src/main/resources/application.properties index 9914b9973c..2c3c259f33 100644 --- a/kogito-quarkus-examples/process-timer-quarkus/src/main/resources/application.properties +++ b/kogito-quarkus-examples/process-timer-quarkus/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging #quarkus.package.type=fast-jar diff --git a/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/operator/process-usertasks-lifecycle-quarkus.yaml b/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/operator/process-usertasks-lifecycle-quarkus.yaml index d6c633ebf6..5c6a685ed9 100644 --- a/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/operator/process-usertasks-lifecycle-quarkus.yaml +++ b/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/operator/process-usertasks-lifecycle-quarkus.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: app.kiegroup.org/v1beta1 kind: KogitoBuild metadata: 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..c29912ab52 100644 --- a/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/src/main/java/org/acme/travels/Address.java b/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/src/main/java/org/acme/travels/Address.java index d808334384..662dfa9b9f 100644 --- a/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/src/main/java/org/acme/travels/Address.java +++ b/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/src/main/java/org/acme/travels/Address.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; diff --git a/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/src/main/java/org/acme/travels/Traveller.java b/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/src/main/java/org/acme/travels/Traveller.java index cf790d4664..c24685803d 100644 --- a/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/src/main/java/org/acme/travels/Traveller.java +++ b/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/src/main/java/org/acme/travels/Traveller.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; 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..432626a6a3 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels.config; diff --git a/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/src/main/java/org/acme/travels/usertasks/CompleteStartedOnly.java b/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/src/main/java/org/acme/travels/usertasks/CompleteStartedOnly.java index fc3d21d823..7465bf0a4f 100644 --- a/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/src/main/java/org/acme/travels/usertasks/CompleteStartedOnly.java +++ b/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/src/main/java/org/acme/travels/usertasks/CompleteStartedOnly.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels.usertasks; diff --git a/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/src/main/java/org/acme/travels/usertasks/CustomHumanTaskLifeCycle.java b/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/src/main/java/org/acme/travels/usertasks/CustomHumanTaskLifeCycle.java index fcaf77a330..0265dcea72 100644 --- a/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/src/main/java/org/acme/travels/usertasks/CustomHumanTaskLifeCycle.java +++ b/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/src/main/java/org/acme/travels/usertasks/CustomHumanTaskLifeCycle.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels.usertasks; diff --git a/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/src/main/java/org/acme/travels/usertasks/Start.java b/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/src/main/java/org/acme/travels/usertasks/Start.java index 798a3359d7..7a5199de1c 100644 --- a/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/src/main/java/org/acme/travels/usertasks/Start.java +++ b/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/src/main/java/org/acme/travels/usertasks/Start.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels.usertasks; diff --git a/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/src/main/resources/META-INF/resources/index.html b/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/src/main/resources/META-INF/resources/index.html index a965327283..cc6e2fe97c 100644 --- a/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/src/main/resources/META-INF/resources/index.html +++ b/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/src/main/resources/META-INF/resources/index.html @@ -1,3 +1,23 @@ + diff --git a/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/src/main/resources/application.properties b/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/src/main/resources/application.properties index 65107568b0..9566fe15f3 100644 --- a/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/src/main/resources/application.properties +++ b/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar 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..34b1989f14 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels.custom.lifecycle.quarkus; diff --git a/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/src/test/resources/application.properties b/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/src/test/resources/application.properties index 3c17236931..a047ea13ba 100644 --- a/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/src/test/resources/application.properties +++ b/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/src/test/resources/application.properties @@ -1,2 +1,21 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Quarkus quarkus.http.test-port=0 \ No newline at end of file diff --git a/kogito-quarkus-examples/process-usertasks-quarkus-with-console/docker-compose/docker-compose-infinispan.yml b/kogito-quarkus-examples/process-usertasks-quarkus-with-console/docker-compose/docker-compose-infinispan.yml index d7734a217e..7d4e2950d4 100755 --- a/kogito-quarkus-examples/process-usertasks-quarkus-with-console/docker-compose/docker-compose-infinispan.yml +++ b/kogito-quarkus-examples/process-usertasks-quarkus-with-console/docker-compose/docker-compose-infinispan.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + version: '2.1' services: diff --git a/kogito-quarkus-examples/process-usertasks-quarkus-with-console/docker-compose/docker-compose-postgresql.yml b/kogito-quarkus-examples/process-usertasks-quarkus-with-console/docker-compose/docker-compose-postgresql.yml index 926d596bde..146d3bb98c 100755 --- a/kogito-quarkus-examples/process-usertasks-quarkus-with-console/docker-compose/docker-compose-postgresql.yml +++ b/kogito-quarkus-examples/process-usertasks-quarkus-with-console/docker-compose/docker-compose-postgresql.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + version: '2.1' services: diff --git a/kogito-quarkus-examples/process-usertasks-quarkus-with-console/docker-compose/infinispan/infinispan.xml b/kogito-quarkus-examples/process-usertasks-quarkus-with-console/docker-compose/infinispan/infinispan.xml index 4d594bfc24..a466561b9f 100755 --- a/kogito-quarkus-examples/process-usertasks-quarkus-with-console/docker-compose/infinispan/infinispan.xml +++ b/kogito-quarkus-examples/process-usertasks-quarkus-with-console/docker-compose/infinispan/infinispan.xml @@ -1,3 +1,23 @@ + diff --git a/kogito-quarkus-examples/process-usertasks-quarkus-with-console/docker-compose/startServices.sh b/kogito-quarkus-examples/process-usertasks-quarkus-with-console/docker-compose/startServices.sh index 25ef49ec24..95273cda5a 100755 --- a/kogito-quarkus-examples/process-usertasks-quarkus-with-console/docker-compose/startServices.sh +++ b/kogito-quarkus-examples/process-usertasks-quarkus-with-console/docker-compose/startServices.sh @@ -1,4 +1,23 @@ #!/bin/sh +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + DB="postgresql" 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..48688e513c 100644 --- a/kogito-quarkus-examples/process-usertasks-quarkus-with-console/pom.xml +++ b/kogito-quarkus-examples/process-usertasks-quarkus-with-console/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/kogito-quarkus-examples/process-usertasks-quarkus-with-console/src/main/java/org/kie/kogito/hr/Candidate.java b/kogito-quarkus-examples/process-usertasks-quarkus-with-console/src/main/java/org/kie/kogito/hr/Candidate.java index 1a8b140240..49f29580a5 100644 --- a/kogito-quarkus-examples/process-usertasks-quarkus-with-console/src/main/java/org/kie/kogito/hr/Candidate.java +++ b/kogito-quarkus-examples/process-usertasks-quarkus-with-console/src/main/java/org/kie/kogito/hr/Candidate.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.hr; diff --git a/kogito-quarkus-examples/process-usertasks-quarkus-with-console/src/main/resources/META-INF/resources/index.html b/kogito-quarkus-examples/process-usertasks-quarkus-with-console/src/main/resources/META-INF/resources/index.html index 8556bab48e..c9d1ca0c76 100644 --- a/kogito-quarkus-examples/process-usertasks-quarkus-with-console/src/main/resources/META-INF/resources/index.html +++ b/kogito-quarkus-examples/process-usertasks-quarkus-with-console/src/main/resources/META-INF/resources/index.html @@ -1,20 +1,23 @@ + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> diff --git a/kogito-quarkus-examples/process-usertasks-quarkus-with-console/src/main/resources/application.properties b/kogito-quarkus-examples/process-usertasks-quarkus-with-console/src/main/resources/application.properties index 204497342d..c058567ec9 100644 --- a/kogito-quarkus-examples/process-usertasks-quarkus-with-console/src/main/resources/application.properties +++ b/kogito-quarkus-examples/process-usertasks-quarkus-with-console/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging #quarkus.package.type=fast-jar 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..6498bd21e9 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.hr; diff --git a/kogito-quarkus-examples/process-usertasks-quarkus-with-console/src/test/resources/application.properties b/kogito-quarkus-examples/process-usertasks-quarkus-with-console/src/test/resources/application.properties index a3684a9aa3..86ab76e8b7 100644 --- a/kogito-quarkus-examples/process-usertasks-quarkus-with-console/src/test/resources/application.properties +++ b/kogito-quarkus-examples/process-usertasks-quarkus-with-console/src/test/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Quarkus quarkus.http.test-port=0 quarkus.http.cors=true diff --git a/kogito-quarkus-examples/process-usertasks-quarkus/operator/process-usertasks-quarkus.yaml b/kogito-quarkus-examples/process-usertasks-quarkus/operator/process-usertasks-quarkus.yaml index 2b3bf4518b..21d47cadf5 100644 --- a/kogito-quarkus-examples/process-usertasks-quarkus/operator/process-usertasks-quarkus.yaml +++ b/kogito-quarkus-examples/process-usertasks-quarkus/operator/process-usertasks-quarkus.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: app.kiegroup.org/v1beta1 kind: KogitoBuild metadata: diff --git a/kogito-quarkus-examples/process-usertasks-quarkus/pom.xml b/kogito-quarkus-examples/process-usertasks-quarkus/pom.xml index 912b403358..b5cfc2277f 100644 --- a/kogito-quarkus-examples/process-usertasks-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-usertasks-quarkus/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/kogito-quarkus-examples/process-usertasks-quarkus/src/main/java/org/acme/travels/Address.java b/kogito-quarkus-examples/process-usertasks-quarkus/src/main/java/org/acme/travels/Address.java index d808334384..662dfa9b9f 100644 --- a/kogito-quarkus-examples/process-usertasks-quarkus/src/main/java/org/acme/travels/Address.java +++ b/kogito-quarkus-examples/process-usertasks-quarkus/src/main/java/org/acme/travels/Address.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; diff --git a/kogito-quarkus-examples/process-usertasks-quarkus/src/main/java/org/acme/travels/Traveller.java b/kogito-quarkus-examples/process-usertasks-quarkus/src/main/java/org/acme/travels/Traveller.java index cf790d4664..c24685803d 100644 --- a/kogito-quarkus-examples/process-usertasks-quarkus/src/main/java/org/acme/travels/Traveller.java +++ b/kogito-quarkus-examples/process-usertasks-quarkus/src/main/java/org/acme/travels/Traveller.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; diff --git a/kogito-quarkus-examples/process-usertasks-quarkus/src/main/resources/META-INF/resources/index.html b/kogito-quarkus-examples/process-usertasks-quarkus/src/main/resources/META-INF/resources/index.html index a965327283..cc6e2fe97c 100644 --- a/kogito-quarkus-examples/process-usertasks-quarkus/src/main/resources/META-INF/resources/index.html +++ b/kogito-quarkus-examples/process-usertasks-quarkus/src/main/resources/META-INF/resources/index.html @@ -1,3 +1,23 @@ + diff --git a/kogito-quarkus-examples/process-usertasks-quarkus/src/main/resources/application.properties b/kogito-quarkus-examples/process-usertasks-quarkus/src/main/resources/application.properties index 35b7e32bea..a76c2a39bb 100644 --- a/kogito-quarkus-examples/process-usertasks-quarkus/src/main/resources/application.properties +++ b/kogito-quarkus-examples/process-usertasks-quarkus/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar 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..fe83cee7d2 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels.quarkus; diff --git a/kogito-quarkus-examples/process-usertasks-quarkus/src/test/resources/application.properties b/kogito-quarkus-examples/process-usertasks-quarkus/src/test/resources/application.properties index 7c69ad8cd3..e764de0f97 100644 --- a/kogito-quarkus-examples/process-usertasks-quarkus/src/test/resources/application.properties +++ b/kogito-quarkus-examples/process-usertasks-quarkus/src/test/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Quarkus quarkus.http.test-port=0 kogito.persistence.rocksdb.clean=true diff --git a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docker-compose/docker-compose-infinispan.yml b/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docker-compose/docker-compose-infinispan.yml index decc43e722..c57fe3f3d3 100755 --- a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docker-compose/docker-compose-infinispan.yml +++ b/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docker-compose/docker-compose-infinispan.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + version: '2.1' services: diff --git a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docker-compose/docker-compose-postgresql.yml b/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docker-compose/docker-compose-postgresql.yml index a949921ce9..cab2129fee 100755 --- a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docker-compose/docker-compose-postgresql.yml +++ b/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docker-compose/docker-compose-postgresql.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + version: '2.1' services: diff --git a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docker-compose/infinispan/infinispan.xml b/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docker-compose/infinispan/infinispan.xml index 4d594bfc24..a466561b9f 100755 --- a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docker-compose/infinispan/infinispan.xml +++ b/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docker-compose/infinispan/infinispan.xml @@ -1,3 +1,23 @@ + diff --git a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docker-compose/startServices.sh b/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docker-compose/startServices.sh index c2684f9b44..70fccff021 100755 --- a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docker-compose/startServices.sh +++ b/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docker-compose/startServices.sh @@ -1,4 +1,23 @@ #!/bin/sh +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + echo "Script requires your Kogito Quickstart to be compiled" 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..4315ead3c2 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 @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/src/main/java/org/kie/kogito/hr/Candidate.java b/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/src/main/java/org/kie/kogito/hr/Candidate.java index 1d37a2d4bf..49f29580a5 100644 --- a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/src/main/java/org/kie/kogito/hr/Candidate.java +++ b/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/src/main/java/org/kie/kogito/hr/Candidate.java @@ -1,19 +1,21 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.hr; public class Candidate { diff --git a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/src/main/resources/META-INF/resources/index.html b/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/src/main/resources/META-INF/resources/index.html index 8556bab48e..c9d1ca0c76 100644 --- a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/src/main/resources/META-INF/resources/index.html +++ b/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/src/main/resources/META-INF/resources/index.html @@ -1,20 +1,23 @@ + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> diff --git a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/src/main/resources/application.properties b/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/src/main/resources/application.properties index 0078e4f7a5..ff7c0e825e 100644 --- a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/src/main/resources/application.properties +++ b/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging #quarkus.package.type=fast-jar 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..6498bd21e9 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.hr; diff --git a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/src/test/resources/application.properties b/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/src/test/resources/application.properties index f8fec0d856..9ef27d9280 100644 --- a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/src/test/resources/application.properties +++ b/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/src/test/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Quarkus quarkus.http.test-port=0 quarkus.http.cors=true diff --git a/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/docker-compose/docker-compose.yml b/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/docker-compose/docker-compose.yml index 53bb1dbe75..8590cf89bd 100644 --- a/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/docker-compose/docker-compose.yml +++ b/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/docker-compose/docker-compose.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + version: '2.1' services: diff --git a/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/docker-compose/infinispan/infinispan.xml b/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/docker-compose/infinispan/infinispan.xml index 726675509a..7fe128d20c 100644 --- a/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/docker-compose/infinispan/infinispan.xml +++ b/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/docker-compose/infinispan/infinispan.xml @@ -1,3 +1,23 @@ + diff --git a/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/docker-compose/startServices.sh b/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/docker-compose/startServices.sh index 5baa6b6dfb..ffba606ddf 100755 --- a/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/docker-compose/startServices.sh +++ b/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/docker-compose/startServices.sh @@ -1,4 +1,23 @@ #!/bin/sh +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + echo "Script requires your Kogito Quickstart to be compiled with mvn clean install -Pcontainer" 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..6dbb8fb428 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 @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/src/main/java/org/acme/travels/Address.java b/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/src/main/java/org/acme/travels/Address.java index d808334384..662dfa9b9f 100644 --- a/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/src/main/java/org/acme/travels/Address.java +++ b/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/src/main/java/org/acme/travels/Address.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; diff --git a/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/src/main/java/org/acme/travels/Traveller.java b/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/src/main/java/org/acme/travels/Traveller.java index cf790d4664..c24685803d 100644 --- a/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/src/main/java/org/acme/travels/Traveller.java +++ b/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/src/main/java/org/acme/travels/Traveller.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; diff --git a/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/src/main/resources/META-INF/resources/index.html b/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/src/main/resources/META-INF/resources/index.html index 8556bab48e..c9d1ca0c76 100644 --- a/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/src/main/resources/META-INF/resources/index.html +++ b/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/src/main/resources/META-INF/resources/index.html @@ -1,20 +1,23 @@ + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> diff --git a/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/src/main/resources/application.properties b/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/src/main/resources/application.properties index 3367a0f564..476b7c8b47 100644 --- a/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/src/main/resources/application.properties +++ b/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging #quarkus.package.type=fast-jar 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..555c26934f 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; diff --git a/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/src/test/java/org/acme/travels/ApprovalsRestIT.java b/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/src/test/java/org/acme/travels/ApprovalsRestIT.java index 91c750c06d..491b04dccf 100644 --- a/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/src/test/java/org/acme/travels/ApprovalsRestIT.java +++ b/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/src/test/java/org/acme/travels/ApprovalsRestIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; 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..7438f5714c 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; diff --git a/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/src/test/resources/application.properties b/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/src/test/resources/application.properties index efb41622ff..6ba1a27bc4 100644 --- a/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/src/test/resources/application.properties +++ b/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/src/test/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Quarkus quarkus.http.test-port=0 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..78e6569b10 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 @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus/src/main/java/org/acme/travels/Address.java b/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus/src/main/java/org/acme/travels/Address.java index d808334384..662dfa9b9f 100644 --- a/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus/src/main/java/org/acme/travels/Address.java +++ b/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus/src/main/java/org/acme/travels/Address.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; diff --git a/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus/src/main/java/org/acme/travels/Traveller.java b/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus/src/main/java/org/acme/travels/Traveller.java index cf790d4664..c24685803d 100644 --- a/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus/src/main/java/org/acme/travels/Traveller.java +++ b/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus/src/main/java/org/acme/travels/Traveller.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; diff --git a/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus/src/main/resources/application.properties b/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus/src/main/resources/application.properties index 53adf89eb5..8d42a10095 100644 --- a/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus/src/main/resources/application.properties +++ b/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar 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..dbb5892aca 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; diff --git a/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus/src/test/java/org/acme/travels/ApprovalsRestIT.java b/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus/src/test/java/org/acme/travels/ApprovalsRestIT.java index fc1b1a7546..80280c74aa 100644 --- a/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus/src/test/java/org/acme/travels/ApprovalsRestIT.java +++ b/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus/src/test/java/org/acme/travels/ApprovalsRestIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; 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..41c0d4fd63 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; diff --git a/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus/src/test/resources/application.properties b/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus/src/test/resources/application.properties index e726e1b146..f0f6fef1c3 100644 --- a/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus/src/test/resources/application.properties +++ b/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus/src/test/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Quarkus quarkus.http.test-port=0 quarkus.oidc.enabled=true diff --git a/kogito-quarkus-examples/process-usertasks-with-security-quarkus/operator/process-tasks-security-quarkus.yaml b/kogito-quarkus-examples/process-usertasks-with-security-quarkus/operator/process-tasks-security-quarkus.yaml index e586751a5e..790b05e6dc 100644 --- a/kogito-quarkus-examples/process-usertasks-with-security-quarkus/operator/process-tasks-security-quarkus.yaml +++ b/kogito-quarkus-examples/process-usertasks-with-security-quarkus/operator/process-tasks-security-quarkus.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: app.kiegroup.org/v1beta1 kind: KogitoBuild metadata: 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..018e939b84 100644 --- a/kogito-quarkus-examples/process-usertasks-with-security-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-usertasks-with-security-quarkus/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/kogito-quarkus-examples/process-usertasks-with-security-quarkus/src/main/java/org/acme/travels/Address.java b/kogito-quarkus-examples/process-usertasks-with-security-quarkus/src/main/java/org/acme/travels/Address.java index d808334384..662dfa9b9f 100644 --- a/kogito-quarkus-examples/process-usertasks-with-security-quarkus/src/main/java/org/acme/travels/Address.java +++ b/kogito-quarkus-examples/process-usertasks-with-security-quarkus/src/main/java/org/acme/travels/Address.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; diff --git a/kogito-quarkus-examples/process-usertasks-with-security-quarkus/src/main/java/org/acme/travels/Traveller.java b/kogito-quarkus-examples/process-usertasks-with-security-quarkus/src/main/java/org/acme/travels/Traveller.java index cf790d4664..c24685803d 100644 --- a/kogito-quarkus-examples/process-usertasks-with-security-quarkus/src/main/java/org/acme/travels/Traveller.java +++ b/kogito-quarkus-examples/process-usertasks-with-security-quarkus/src/main/java/org/acme/travels/Traveller.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; diff --git a/kogito-quarkus-examples/process-usertasks-with-security-quarkus/src/main/resources/META-INF/resources/index.html b/kogito-quarkus-examples/process-usertasks-with-security-quarkus/src/main/resources/META-INF/resources/index.html index a965327283..cc6e2fe97c 100644 --- a/kogito-quarkus-examples/process-usertasks-with-security-quarkus/src/main/resources/META-INF/resources/index.html +++ b/kogito-quarkus-examples/process-usertasks-with-security-quarkus/src/main/resources/META-INF/resources/index.html @@ -1,3 +1,23 @@ + diff --git a/kogito-quarkus-examples/process-usertasks-with-security-quarkus/src/main/resources/application.properties b/kogito-quarkus-examples/process-usertasks-with-security-quarkus/src/main/resources/application.properties index ae231761e9..8b88c28ac3 100644 --- a/kogito-quarkus-examples/process-usertasks-with-security-quarkus/src/main/resources/application.properties +++ b/kogito-quarkus-examples/process-usertasks-with-security-quarkus/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar 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..49bd7599c4 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels.security.quarkus; diff --git a/kogito-quarkus-examples/process-usertasks-with-security-quarkus/src/test/java/org/acme/travels/security/quarkus/ApprovalsRestTest.java b/kogito-quarkus-examples/process-usertasks-with-security-quarkus/src/test/java/org/acme/travels/security/quarkus/ApprovalsRestTest.java index fd24726212..4294281ceb 100644 --- a/kogito-quarkus-examples/process-usertasks-with-security-quarkus/src/test/java/org/acme/travels/security/quarkus/ApprovalsRestTest.java +++ b/kogito-quarkus-examples/process-usertasks-with-security-quarkus/src/test/java/org/acme/travels/security/quarkus/ApprovalsRestTest.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels.security.quarkus; diff --git a/kogito-quarkus-examples/process-usertasks-with-security-quarkus/src/test/resources/application.properties b/kogito-quarkus-examples/process-usertasks-with-security-quarkus/src/test/resources/application.properties index e91f1514e3..80dc3ee963 100644 --- a/kogito-quarkus-examples/process-usertasks-with-security-quarkus/src/test/resources/application.properties +++ b/kogito-quarkus-examples/process-usertasks-with-security-quarkus/src/test/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Quarkus quarkus.http.test-port=0 diff --git a/kogito-quarkus-examples/rules-incubation-api-quarkus/pom.xml b/kogito-quarkus-examples/rules-incubation-api-quarkus/pom.xml index 75331b945f..1943345d9a 100644 --- a/kogito-quarkus-examples/rules-incubation-api-quarkus/pom.xml +++ b/kogito-quarkus-examples/rules-incubation-api-quarkus/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 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..852701dc02 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 @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme; diff --git a/kogito-quarkus-examples/rules-incubation-api-quarkus/src/main/java/org/kie/kogito/examples/Hello.java b/kogito-quarkus-examples/rules-incubation-api-quarkus/src/main/java/org/kie/kogito/examples/Hello.java index 09fd0a12b4..925f8a30c9 100644 --- a/kogito-quarkus-examples/rules-incubation-api-quarkus/src/main/java/org/kie/kogito/examples/Hello.java +++ b/kogito-quarkus-examples/rules-incubation-api-quarkus/src/main/java/org/kie/kogito/examples/Hello.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/kogito-quarkus-examples/rules-incubation-api-quarkus/src/main/resources/application.properties b/kogito-quarkus-examples/rules-incubation-api-quarkus/src/main/resources/application.properties index 9653fcacc1..3b78bb06f7 100644 --- a/kogito-quarkus-examples/rules-incubation-api-quarkus/src/main/resources/application.properties +++ b/kogito-quarkus-examples/rules-incubation-api-quarkus/src/main/resources/application.properties @@ -1 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + kogito.generate.rest.rules=false diff --git a/kogito-quarkus-examples/rules-incubation-api-quarkus/src/main/resources/org/kie/kogito/examples/Hello.drl b/kogito-quarkus-examples/rules-incubation-api-quarkus/src/main/resources/org/kie/kogito/examples/Hello.drl index e6d2073438..6026d730a2 100644 --- a/kogito-quarkus-examples/rules-incubation-api-quarkus/src/main/resources/org/kie/kogito/examples/Hello.drl +++ b/kogito-quarkus-examples/rules-incubation-api-quarkus/src/main/resources/org/kie/kogito/examples/Hello.drl @@ -1,17 +1,20 @@ /** - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; unit Hello; diff --git a/kogito-quarkus-examples/rules-incubation-api-quarkus/src/test/java/org/acme/CustomRestRulesTest.java b/kogito-quarkus-examples/rules-incubation-api-quarkus/src/test/java/org/acme/CustomRestRulesTest.java index a49ebe0935..a26d396514 100644 --- a/kogito-quarkus-examples/rules-incubation-api-quarkus/src/test/java/org/acme/CustomRestRulesTest.java +++ b/kogito-quarkus-examples/rules-incubation-api-quarkus/src/test/java/org/acme/CustomRestRulesTest.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme; diff --git a/kogito-quarkus-examples/rules-legacy-quarkus-example/pom.xml b/kogito-quarkus-examples/rules-legacy-quarkus-example/pom.xml index 3b0a409833..b56f40bfd9 100644 --- a/kogito-quarkus-examples/rules-legacy-quarkus-example/pom.xml +++ b/kogito-quarkus-examples/rules-legacy-quarkus-example/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/kogito-quarkus-examples/rules-legacy-quarkus-example/src/main/java/org/kie/kogito/legacy/Applicant.java b/kogito-quarkus-examples/rules-legacy-quarkus-example/src/main/java/org/kie/kogito/legacy/Applicant.java index 771c31fe80..5b1b7aaeff 100644 --- a/kogito-quarkus-examples/rules-legacy-quarkus-example/src/main/java/org/kie/kogito/legacy/Applicant.java +++ b/kogito-quarkus-examples/rules-legacy-quarkus-example/src/main/java/org/kie/kogito/legacy/Applicant.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.legacy; 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..3251732e63 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 @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.legacy; diff --git a/kogito-quarkus-examples/rules-legacy-quarkus-example/src/main/java/org/kie/kogito/legacy/LoanApplication.java b/kogito-quarkus-examples/rules-legacy-quarkus-example/src/main/java/org/kie/kogito/legacy/LoanApplication.java index 053c5e25b9..5f9e102fd8 100644 --- a/kogito-quarkus-examples/rules-legacy-quarkus-example/src/main/java/org/kie/kogito/legacy/LoanApplication.java +++ b/kogito-quarkus-examples/rules-legacy-quarkus-example/src/main/java/org/kie/kogito/legacy/LoanApplication.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.legacy; diff --git a/kogito-quarkus-examples/rules-legacy-quarkus-example/src/main/java/org/kie/kogito/legacy/LoanDto.java b/kogito-quarkus-examples/rules-legacy-quarkus-example/src/main/java/org/kie/kogito/legacy/LoanDto.java index 1db9def3c2..f498e3fc30 100644 --- a/kogito-quarkus-examples/rules-legacy-quarkus-example/src/main/java/org/kie/kogito/legacy/LoanDto.java +++ b/kogito-quarkus-examples/rules-legacy-quarkus-example/src/main/java/org/kie/kogito/legacy/LoanDto.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.legacy; diff --git a/kogito-quarkus-examples/rules-legacy-quarkus-example/src/main/resources/application.properties b/kogito-quarkus-examples/rules-legacy-quarkus-example/src/main/resources/application.properties index 35b7e32bea..a76c2a39bb 100644 --- a/kogito-quarkus-examples/rules-legacy-quarkus-example/src/main/resources/application.properties +++ b/kogito-quarkus-examples/rules-legacy-quarkus-example/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar diff --git a/kogito-quarkus-examples/rules-legacy-quarkus-example/src/main/resources/org/kie/kogito/legacy/LoanRules.drl b/kogito-quarkus-examples/rules-legacy-quarkus-example/src/main/resources/org/kie/kogito/legacy/LoanRules.drl index e9a24b46c9..913fb100a6 100644 --- a/kogito-quarkus-examples/rules-legacy-quarkus-example/src/main/resources/org/kie/kogito/legacy/LoanRules.drl +++ b/kogito-quarkus-examples/rules-legacy-quarkus-example/src/main/resources/org/kie/kogito/legacy/LoanRules.drl @@ -1,17 +1,20 @@ /** - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.legacy; 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..7f652f2a45 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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; diff --git a/kogito-quarkus-examples/rules-legacy-quarkus-example/src/test/java/org/kie/kogito/RestQueryTest.java b/kogito-quarkus-examples/rules-legacy-quarkus-example/src/test/java/org/kie/kogito/RestQueryTest.java index e8d437ddf1..c0042dccc2 100644 --- a/kogito-quarkus-examples/rules-legacy-quarkus-example/src/test/java/org/kie/kogito/RestQueryTest.java +++ b/kogito-quarkus-examples/rules-legacy-quarkus-example/src/test/java/org/kie/kogito/RestQueryTest.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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; diff --git a/kogito-quarkus-examples/rules-legacy-quarkus-example/src/test/resources/application.properties b/kogito-quarkus-examples/rules-legacy-quarkus-example/src/test/resources/application.properties index 3c17236931..a047ea13ba 100644 --- a/kogito-quarkus-examples/rules-legacy-quarkus-example/src/test/resources/application.properties +++ b/kogito-quarkus-examples/rules-legacy-quarkus-example/src/test/resources/application.properties @@ -1,2 +1,21 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Quarkus quarkus.http.test-port=0 \ No newline at end of file diff --git a/kogito-quarkus-examples/rules-quarkus-helloworld/operator/rules-quarkus-helloworld.yaml b/kogito-quarkus-examples/rules-quarkus-helloworld/operator/rules-quarkus-helloworld.yaml index 512a7177f4..c8ac168738 100644 --- a/kogito-quarkus-examples/rules-quarkus-helloworld/operator/rules-quarkus-helloworld.yaml +++ b/kogito-quarkus-examples/rules-quarkus-helloworld/operator/rules-quarkus-helloworld.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: app.kiegroup.org/v1beta1 kind: KogitoBuild metadata: diff --git a/kogito-quarkus-examples/rules-quarkus-helloworld/pom.xml b/kogito-quarkus-examples/rules-quarkus-helloworld/pom.xml index 3f593a1550..b1b13083f2 100755 --- a/kogito-quarkus-examples/rules-quarkus-helloworld/pom.xml +++ b/kogito-quarkus-examples/rules-quarkus-helloworld/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/kogito-quarkus-examples/rules-quarkus-helloworld/src/main/java/org/kie/kogito/examples/Hello.java b/kogito-quarkus-examples/rules-quarkus-helloworld/src/main/java/org/kie/kogito/examples/Hello.java index 8d068badf1..925f8a30c9 100644 --- a/kogito-quarkus-examples/rules-quarkus-helloworld/src/main/java/org/kie/kogito/examples/Hello.java +++ b/kogito-quarkus-examples/rules-quarkus-helloworld/src/main/java/org/kie/kogito/examples/Hello.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; 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..bd902dfaba 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/kogito-quarkus-examples/rules-quarkus-helloworld/src/main/resources/META-INF/kmodule.xml b/kogito-quarkus-examples/rules-quarkus-helloworld/src/main/resources/META-INF/kmodule.xml index b0581c07c0..efef3d776f 100755 --- a/kogito-quarkus-examples/rules-quarkus-helloworld/src/main/resources/META-INF/kmodule.xml +++ b/kogito-quarkus-examples/rules-quarkus-helloworld/src/main/resources/META-INF/kmodule.xml @@ -1,3 +1,23 @@ + diff --git a/kogito-quarkus-examples/rules-quarkus-helloworld/src/main/resources/application.properties b/kogito-quarkus-examples/rules-quarkus-helloworld/src/main/resources/application.properties index a0acc615e1..e6ed950f1f 100644 --- a/kogito-quarkus-examples/rules-quarkus-helloworld/src/main/resources/application.properties +++ b/kogito-quarkus-examples/rules-quarkus-helloworld/src/main/resources/application.properties @@ -1,2 +1,21 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar \ No newline at end of file diff --git a/kogito-quarkus-examples/rules-quarkus-helloworld/src/main/resources/org/kie/kogito/examples/Hello.drl b/kogito-quarkus-examples/rules-quarkus-helloworld/src/main/resources/org/kie/kogito/examples/Hello.drl index 7aaacc6c99..6026d730a2 100644 --- a/kogito-quarkus-examples/rules-quarkus-helloworld/src/main/resources/org/kie/kogito/examples/Hello.drl +++ b/kogito-quarkus-examples/rules-quarkus-helloworld/src/main/resources/org/kie/kogito/examples/Hello.drl @@ -1,17 +1,20 @@ /** - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; unit Hello; 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..0ecde632aa 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/docker-compose.yml b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/docker-compose.yml index f07d3cc400..802976737c 100644 --- a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/docker-compose.yml +++ b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/docker-compose.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + version: '2' services: diff --git a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/out.txt b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/out.txt deleted file mode 100644 index 9002dae5cc..0000000000 --- a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/out.txt +++ /dev/null @@ -1,1950 +0,0 @@ -[INFO] Scanning for projects... -[INFO] ------------------------------------------------------------------------ -[INFO] Detecting the operating system and CPU architecture -[INFO] ------------------------------------------------------------------------ -[INFO] os.detected.name: linux -[INFO] os.detected.arch: x86_64 -[INFO] os.detected.version: 5.19 -[INFO] os.detected.version.major: 5 -[INFO] os.detected.version.minor: 19 -[INFO] os.detected.release: fedora -[INFO] os.detected.release.version: 36 -[INFO] os.detected.release.like.fedora: true -[INFO] os.detected.classifier: linux-x86_64 -[INFO] -[INFO] -------< org.kie.kogito.examples:ruleunit-event-driven-quarkus >-------- -[INFO] Building Kogito Example :: Rule Unit Event-Driven :: Quarkus 2.0.0-SNAPSHOT -[INFO] --------------------------------[ jar ]--------------------------------- -[INFO] -[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ ruleunit-event-driven-quarkus --- -[INFO] Deleting /home/ftirados/git/kogito-examples/kogito-quarkus-examples/ruleunit-event-driven-quarkus/target -[INFO] -[INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-versions) @ ruleunit-event-driven-quarkus --- -[INFO] -[INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-java-version) @ ruleunit-event-driven-quarkus --- -[INFO] -[INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-maven-version) @ ruleunit-event-driven-quarkus --- -[INFO] -[INFO] --- maven-checkstyle-plugin:3.1.1:check (default) @ ruleunit-event-driven-quarkus --- -[INFO] You have 0 Checkstyle violations. -[INFO] -[INFO] --- buildnumber-maven-plugin:1.4:create (get-scm-revision) @ ruleunit-event-driven-quarkus --- -[INFO] Executing: /bin/sh -c cd '/home/ftirados/git/kogito-examples/kogito-quarkus-examples/ruleunit-event-driven-quarkus' && 'git' 'rev-parse' '--verify' 'HEAD' -[INFO] Working directory: /home/ftirados/git/kogito-examples/kogito-quarkus-examples/ruleunit-event-driven-quarkus -[INFO] Storing buildNumber: b44e1b0f077b5f2905c3a4d4652871e82082f4a6 at timestamp: 1665063468886 -[INFO] Storing buildScmBranch: main -[INFO] -[INFO] --- formatter-maven-plugin:2.13.0:format (default) @ ruleunit-event-driven-quarkus --- -[INFO] Using 'UTF-8' encoding to format source files. -[INFO] Number of files to be formatted: 5 -[INFO] Successfully formatted: 1 file(s) -[INFO] Fail to format: 0 file(s) -[INFO] Skipped: 4 file(s) -[INFO] Read only skipped: 0 file(s) -[INFO] Approximate time taken: 0s -[INFO] -[INFO] --- impsort-maven-plugin:1.5.0:sort (default) @ ruleunit-event-driven-quarkus --- -[INFO] Using compiler compliance level: JAVA_11 -[INFO] Total Files Processed: 5 in 00:00.139 -[INFO] Already Sorted: 4 -[INFO] Needed Sorting: 1 -[INFO] -[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ ruleunit-event-driven-quarkus --- -[debug] execute contextualize -[INFO] Using 'UTF-8' encoding to copy filtered resources. -[INFO] Copying 2 resources -[INFO] -[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ ruleunit-event-driven-quarkus --- -[INFO] Changes detected - recompiling the module! -[INFO] Compiling 4 source files to /home/ftirados/git/kogito-examples/kogito-quarkus-examples/ruleunit-event-driven-quarkus/target/classes -[INFO] -[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ ruleunit-event-driven-quarkus --- -[debug] execute contextualize -[INFO] Using 'UTF-8' encoding to copy filtered resources. -[INFO] Copying 16 resources -[INFO] -[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ ruleunit-event-driven-quarkus --- -[INFO] Changes detected - recompiling the module! -[INFO] Compiling 1 source file to /home/ftirados/git/kogito-examples/kogito-quarkus-examples/ruleunit-event-driven-quarkus/target/test-classes -[WARNING] /home/ftirados/git/kogito-examples/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/test/java/org/kie/kogito/examples/RuleUnitEventDrivenIT.java:[61,13] configure(com.fasterxml.jackson.databind.MapperFeature,boolean) in com.fasterxml.jackson.databind.ObjectMapper has been deprecated -[INFO] -[INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ ruleunit-event-driven-quarkus --- -[INFO] -[INFO] --- maven-jar-plugin:3.1.0:jar (default-jar) @ ruleunit-event-driven-quarkus --- -[INFO] Building jar: /home/ftirados/git/kogito-examples/kogito-quarkus-examples/ruleunit-event-driven-quarkus/target/ruleunit-event-driven-quarkus.jar -[INFO] -[INFO] --- maven-jar-plugin:3.1.0:test-jar (test-jar) @ ruleunit-event-driven-quarkus --- -[INFO] Building jar: /home/ftirados/git/kogito-examples/kogito-quarkus-examples/ruleunit-event-driven-quarkus/target/ruleunit-event-driven-quarkus-tests.jar -[INFO] -[INFO] --- maven-source-plugin:3.0.1:jar-no-fork (attach-sources) @ ruleunit-event-driven-quarkus --- -[INFO] Building jar: /home/ftirados/git/kogito-examples/kogito-quarkus-examples/ruleunit-event-driven-quarkus/target/ruleunit-event-driven-quarkus-sources.jar -[INFO] -[INFO] --- maven-source-plugin:3.0.1:test-jar-no-fork (attach-test-sources) @ ruleunit-event-driven-quarkus --- -[INFO] Building jar: /home/ftirados/git/kogito-examples/kogito-quarkus-examples/ruleunit-event-driven-quarkus/target/ruleunit-event-driven-quarkus-test-sources.jar -[INFO] -[INFO] --- quarkus-maven-plugin:2.13.0.Final:build (default) @ ruleunit-event-driven-quarkus --- -[INFO] Performed addonsConfig discovery, found: AddonsConfig{usePersistence=false, useTracing=false, useMonitoring=false, usePrometheusMonitoring=false, useCloudEvents=true, useExplainability=false, useProcessSVG=false, useEventDrivenDecisions=false, useEventDrivenRules=true} -[INFO] Generator discovery performed, found [processes, rules] -[INFO] Skipping generator 'processes' because disabled -[INFO] [org.kie.kogito.quarkus.common.deployment.KogitoAssetsProcessor] reflectiveEfestoGeneratedClassBuildItem org.kie.kogito.quarkus.common.deployment.KogitoGeneratedSourcesBuildItem@27405711 -[WARNING] [io.quarkus.config] Unrecognized configuration key "quarkus.swagger-ui.always-include" was provided; it will be ignored; verify that the dependency extension for this configuration is set or that you did not make a typo -[INFO] [io.quarkus.arc.processor.BeanProcessor] Found unrecommended usage of private members (use package-private instead) in application beans: - - @PostConstruct callback org.kie.kogito.queries.LoanUnitQueryFindAllApplicationAmountsEventDrivenExecutor#onPostConstruct(), - - @PostConstruct callback org.kie.kogito.queries.LoanUnitQueryFindNotApprovedIdAndAmountEventDrivenExecutor#onPostConstruct(), - - @PostConstruct callback org.kie.kogito.queries.LoanUnitQueryFindApprovedEventDrivenExecutor#onPostConstruct() -[INFO] [io.quarkus.deployment.QuarkusAugmentor] Quarkus augmentation completed in 2671ms -[INFO] -[INFO] --- maven-resources-plugin:2.5:copy-resources (add-it-resources) @ ruleunit-event-driven-quarkus --- -[debug] execute contextualize -[INFO] Using 'UTF-8' encoding to copy filtered resources. -[INFO] Copying 2 resources -[INFO] -[INFO] --- maven-failsafe-plugin:3.0.0-M5:integration-test (integration-test) @ ruleunit-event-driven-quarkus --- -[INFO] -[INFO] ------------------------------------------------------- -[INFO] T E S T S -[INFO] ------------------------------------------------------- -[INFO] Running org.kie.kogito.examples.RuleUnitEventDrivenIT -2022-10-06 15:37:58,032 INFO [org.tes.uti.ImageNameSubstitutor] (main) Found configured ImageNameSubstitutor: Kogito Image Name Substitutor -2022-10-06 15:37:58,034 INFO [org.tes.uti.ImageNameSubstitutor] (main) Image name substitution will be performed by: Chained substitutor of 'DefaultImageNameSubstitutor (composite of 'ConfigurationFileImageNameSubstitutor' and 'PrefixingImageNameSubstitutor')' and then 'Kogito Image Name Substitutor' -2022-10-06 15:37:58,054 INFO [org.tes.doc.DockerClientProviderStrategy] (pool-3-thread-1) Loaded org.testcontainers.dockerclient.UnixSocketClientProviderStrategy from ~/.testcontainers.properties, will try it first -2022-10-06 15:37:58,389 INFO [org.tes.doc.DockerClientProviderStrategy] (pool-3-thread-1) Found Docker environment with local Unix socket (unix:///var/run/docker.sock) -2022-10-06 15:37:58,390 INFO [org.tes.DockerClientFactory] (pool-3-thread-1) Docker host IP address is localhost -2022-10-06 15:37:58,401 INFO [org.tes.DockerClientFactory] (pool-3-thread-1) Connected to docker: - Server Version: 20.10.18 - API Version: 1.41 - Operating System: Fedora Linux 36 (Workstation Edition) - Total Memory: 31835 MB -2022-10-06 15:37:58,445 INFO [🐳 .11.8]] (pool-3-thread-1) Creating container for image: vectorized/redpanda:v21.11.8 -2022-10-06 15:37:58,465 INFO [🐳 .3.3]] (pool-3-thread-1) Creating container for image: testcontainers/ryuk:0.3.3 -2022-10-06 15:37:58,556 INFO [🐳 .3.3]] (pool-3-thread-1) Container testcontainers/ryuk:0.3.3 is starting: 333c5735674d41dc22a2db02f09cda2f3fa3e24c21d29b039733537745df5644 -2022-10-06 15:37:58,824 INFO [🐳 .3.3]] (pool-3-thread-1) Container testcontainers/ryuk:0.3.3 started in PT0.359444935S -2022-10-06 15:37:58,865 INFO [🐳 .11.8]] (pool-3-thread-1) Container vectorized/redpanda:v21.11.8 is starting: f5b812c0f0a46f2f8f18d9d37e79549e4a39261697be7481d8a4c442cbad0da7 -We'd love to hear about your experience with redpanda: -https://vectorized.io/feedback -Starting redpanda... -Running: -HOSTNAME=f5b812c0f0a4 PWD=/ HOME=/var/lib/redpanda SHLVL=1 PATH=/opt/redpanda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin /opt/redpanda/bin/redpanda redpanda --redpanda-cfg /etc/redpanda/redpanda.yaml --memory=1G --lock-memory=false --reserve-memory=0M --overprovisioned --smp=1 -2022-10-06 15:37:59,545 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDOUT: We'd love to hear about your experience with redpanda: -2022-10-06 15:37:59,547 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDOUT: https://vectorized.io/feedback -2022-10-06 15:37:59,547 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDOUT: Starting redpanda... -2022-10-06 15:37:59,548 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDOUT: Running: -2022-10-06 15:37:59,549 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDOUT: HOSTNAME=f5b812c0f0a4 PWD=/ HOME=/var/lib/redpanda SHLVL=1 PATH=/opt/redpanda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin /opt/redpanda/bin/redpanda redpanda --redpanda-cfg /etc/redpanda/redpanda.yaml --memory=1G --lock-memory=false --reserve-memory=0M --overprovisioned --smp=1 - - -Welcome to the Redpanda community! - -Slack: https://vectorized.io/slack - is the main way the community interacts with one another in real time :) -Twitter: https://twitter.com/vectorizedio - come say hi! -Github Discussion: https://github.com/vectorizedio/redpanda/discussions - is preferred for longer, async, thoughtful discussions -2022-10-06 15:37:59,573 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDOUT: -GitHub Issues: https://github.com/vectorizedio/redpanda/issues - is reserved only for actual issues. Please use the GitHub for discussions. -Documentation: https://vectorized.io/docs/ - official docs site -Support: https://support.vectorized.io/ - to share private information with the production support vectorized team -2022-10-06 15:37:59,573 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDOUT: -Product Feedback: https://vectorized.io/feedback/ - let us know how we can improve your experience - - -INFO redpanda::main - application.cc:160 - Redpanda v21.11.8 - e7867b4fd34296daa2497ebc352e68b9dbc2a6b5-dirty -INFO redpanda::main - application.cc:168 - kernel=5.19.12-200.fc36.x86_64, nodename=f5b812c0f0a4, machine=x86_64 -2022-10-06 15:37:59,574 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDOUT: Welcome to the Redpanda community! -2022-10-06 15:37:59,574 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDOUT: -2022-10-06 15:37:59,574 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDOUT: Slack: https://vectorized.io/slack - is the main way the community interacts with one another in real time :) -2022-10-06 15:37:59,575 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDOUT: Twitter: https://twitter.com/vectorizedio - come say hi! -2022-10-06 15:37:59,575 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDOUT: Github Discussion: https://github.com/vectorizedio/redpanda/discussions - is preferred for longer, async, thoughtful discussions -2022-10-06 15:37:59,575 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDOUT: GitHub Issues: https://github.com/vectorizedio/redpanda/issues - is reserved only for actual issues. Please use the GitHub for discussions. -2022-10-06 15:37:59,576 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDOUT: Documentation: https://vectorized.io/docs/ - official docs site -2022-10-06 15:37:59,576 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDOUT: Support: https://support.vectorized.io/ - to share private information with the production support vectorized team -2022-10-06 15:37:59,576 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDOUT: Product Feedback: https://vectorized.io/feedback/ - let us know how we can improve your experience -2022-10-06 15:37:59,577 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDOUT: -2022-10-06 15:37:59,577 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDOUT: -2022-10-06 15:37:59,577 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO redpanda::main - application.cc:160 - Redpanda v21.11.8 - e7867b4fd34296daa2497ebc352e68b9dbc2a6b5-dirty -2022-10-06 15:37:59,578 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO redpanda::main - application.cc:168 - kernel=5.19.12-200.fc36.x86_64, nodename=f5b812c0f0a4, machine=x86_64 -INFO 2022-10-06 13:37:59,618 [shard 0] redpanda::main - application.cc:144 - System resources: { cpus: 1, available memory: 1024.000MiB, reserved memory: 0.000bytes} -INFO 2022-10-06 13:37:59,618 [shard 0] redpanda::main - application.cc:152 - File handle limit: 1073741816/1073741816 -2022-10-06 15:37:59,618 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,618 [shard 0] redpanda::main - application.cc:144 - System resources: { cpus: 1, available memory: 1024.000MiB, reserved memory: 0.000bytes} -2022-10-06 15:37:59,619 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,618 [shard 0] redpanda::main - application.cc:152 - File handle limit: 1073741816/1073741816 -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:323 - Configuration: - -config_file: /etc/redpanda/redpanda.yaml -2022-10-06 15:37:59,626 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:323 - Configuration: -node_uuid: m8mqeuQJxPuEdKnEY49cHwypzhCDKCPyfGqcyLSD2of3eQFof -pandaproxy: {} -redpanda: - admin: - - address: 0.0.0.0 - port: 9644 -2022-10-06 15:37:59,626 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: - advertised_kafka_api: - - address: localhost - name: OUTSIDE - port: 49238 - - address: f5b812c0f0a4 - name: PLAINTEXT -2022-10-06 15:37:59,627 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: config_file: /etc/redpanda/redpanda.yaml - port: 29092 - auto_create_topics_enabled: true - data_directory: /var/lib/redpanda/data - developer_mode: true - enable_idempotence: true - enable_transactions: true -2022-10-06 15:37:59,627 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: node_uuid: m8mqeuQJxPuEdKnEY49cHwypzhCDKCPyfGqcyLSD2of3eQFof - kafka_api: - - address: 0.0.0.0 - name: PLAINTEXT - port: 29092 - - address: 0.0.0.0 - name: OUTSIDE - port: 9092 - node_id: 0 - rpc_server: -2022-10-06 15:37:59,627 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: pandaproxy: {} - address: 0.0.0.0 - port: 33145 - seed_servers: [] -rpk: - coredump_dir: /var/lib/redpanda/coredump - enable_memory_locking: false -2022-10-06 15:37:59,628 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: redpanda: - enable_usage_stats: true - overprovisioned: true - tune_aio_events: false - tune_ballast_file: false - tune_clocksource: false - tune_coredump: false - tune_cpu: false -2022-10-06 15:37:59,628 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: admin: - tune_disk_irq: false - tune_disk_nomerges: false - tune_disk_scheduler: false - tune_disk_write_cache: false - tune_fstrim: false - tune_network: false - tune_swappiness: false - tune_transparent_hugepages: false -schema_registry: {} -2022-10-06 15:37:59,628 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: - address: 0.0.0.0 - - -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:327 - Use `rpk config set ` to change values below: -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.metrics_reporter_report_interval:86400000 - cluster metrics reporter report interval -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.metrics_reporter_tick_interval:60000 - Cluster metrics reporter tick interval -2022-10-06 15:37:59,628 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: port: 9644 -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.leader_balancer_idle_timeout:120000 - Leadership rebalancing idle timeout -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.full_raft_configuration_recovery_pattern:{} - Recover raft configuration on start for NTPs matching pattern -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.kafka_qdc_min_depth:1 - Minimum queue depth used in kafka queue depth control. -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.kafka_qdc_idle_depth:10 - Queue depth when idleness is detected in kafka queue depth control. -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.health_manager_tick_interval:180000 - How often the health manager runs -2022-10-06 15:37:59,629 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: advertised_kafka_api: -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.kafka_qdc_max_latency_ms:80 - Max latency threshold for kafka queue depth control depth tracking. -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.kafka_qdc_depth_alpha:0.8 - Smoothing factor for kafka queue depth control depth tracking. -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.kafka_qdc_window_count:12 - Number of windows used in kafka queue depth control latency tracking. -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.superusers:{} - List of superuser usernames -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_cache_check_interval:30000 - Timeout to check if cache eviction should be triggered -2022-10-06 15:37:59,629 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: - address: localhost -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_cache_size:21474836480 - Max size of archival cache -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_upload_ctrl_d_coeff:0 - derivative coefficient for upload PID controller. -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.kafka_qdc_enable:0 - Enable kafka queue depth control. -2022-10-06 15:37:59,629 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: name: OUTSIDE -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_upload_ctrl_p_coeff:-2 - proportional coefficient for upload PID controller -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_upload_ctrl_update_interval_ms:60000 - -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_max_connection_idle_time_ms:5000 - Max https connection idle time (ms) -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_segment_upload_timeout_ms:30000 - Log segment upload timeout (ms) -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_trust_file:{nullopt} - Path to certificate that should be used to validate server certificate during TLS handshake -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_api_endpoint_port:443 - TLS port override -2022-10-06 15:37:59,629 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: port: 49238 -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_disable_tls:0 - Disable TLS for all S3 connections -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_reconciliation_interval_ms:10000 - Interval at which the archival service runs reconciliation (ms) -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_api_endpoint:{nullopt} - Optional API endpoint -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_secret_key:{nullopt} - AWS secret key -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_enable_remote_write:0 - Enable remote write for all topics -2022-10-06 15:37:59,630 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: - address: f5b812c0f0a4 -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.kafka_qdc_window_size_ms:1500 - Window size for kafka queue depth control latency tracking. -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_enable_remote_read:0 - Enable remote read for all topics -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.members_backend_retry_ms:5000 - Time between members backend reconciliation loop retries -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.compaction_ctrl_max_shares:1000 - maximum number of IO and CPU shares that compaction process can use -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.compaction_ctrl_min_shares:10 - minimum number of IO and CPU shares that compaction process can use -2022-10-06 15:37:59,630 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: name: PLAINTEXT -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.compaction_ctrl_d_coeff:0.2 - derivative coefficient for compaction PID controller. -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.compaction_ctrl_i_coeff:0 - integral coefficient for compaction PID controller. -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.kafka_qdc_depth_update_ms:7000 - Update frequency for kafka queue depth control. -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.compaction_ctrl_p_coeff:-12.5 - proportional coefficient for compaction PID controller. This has to be negative since compaction backlog should decrease when number of compaction shares increases -2022-10-06 15:37:59,630 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: port: 29092 -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.compaction_ctrl_update_interval_ms:30000 - -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.enable_auto_rebalance_on_node_add:0 - Enable automatic partition rebalancing when new nodes are added -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.node_management_operation_timeout_ms:5000 - Timeout for executing node management operations -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.leader_balancer_mute_timeout:300000 - Leadership rebalancing mute timeout -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.id_allocator_batch_size:1000 - Id allocator allocates messages in batches (each batch is a one log record) and then serves requests from memory without touching the log until the batch is exhausted. -2022-10-06 15:37:59,630 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: auto_create_topics_enabled: true -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.id_allocator_log_capacity:100 - Capacity of the id_allocator log in number of messages. Once it reached id_allocator_stm should compact the log. -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.raft_transfer_leader_recovery_timeout_ms:10000 - Timeout waiting for follower recovery when transferring leadership -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.reclaim_max_size:4194304 - Maximum batch cache reclaim size -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.fetch_session_eviction_timeout_ms:60000 - Minimum time before which unused session will get evicted from sessions. Max2022-10-06 15:37:59,631 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: data_directory: /var/lib/redpanda/data -imum time after which inactive session will be deleted is two time given configuration valuecache -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.segment_appender_flush_timeout_ms:1000 - Maximum delay until buffered data is written -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.retention_bytes:{nullopt} - Default max bytes per partition on disk before triggering a compaction -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.join_retry_timeout_ms:5000 - Time between cluster join retries in milliseconds -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.enable_admin_api:1 - Enable the admin API -2022-10-06 15:37:59,631 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: developer_mode: true -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.raft_io_timeout_ms:10000 - Raft I/O timeout -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.zstd_decompress_workspace_bytes:8388608 - Size of the zstd decompression workspace -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.compaction_ctrl_backlog_size:{nullopt} - target backlog size for compaction controller. if not set compaction target compaction backlog would be equal to -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.append_chunk_size:16384 - Size of direct write operations to disk -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.auto_create_topics_enabled:1 - Allow topic auto creation -2022-10-06 15:37:59,631 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: enable_idempotence: true -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.reclaim_stable_window:10000 - Length of time above which growth is reset -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.enable_pid_file:1 - Enable pid file. You probably don't want to change this. -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.kafka_group_recovery_timeout_ms:30000 - Kafka group recovery timeout expressed in milliseconds -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.reclaim_growth_window:3000 - Length of time in which reclaim sizes grow -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.raft_smp_max_non_local_requests:0 - Maximum number of x-core requests pending in Raft seastar::smp group. (for more details look at `seastar::smp_service_group` documentation) -2022-10-06 15:37:59,631 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: enable_transactions: true -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.raft_timeout_now_timeout_ms:1000 - Timeout for a timeout now request -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.recovery_append_timeout_ms:5000 - Timeout for append entries requests issued while updating stale follower -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.health_monitor_tick_interval:10000 - How often health monitor refresh cluster state -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.internal_topic_replication_factor:3 - Target replication factor for internal topics -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.replicate_append_timeout_ms:3000 - Timeout for append entries requests issued while replicating entries -2022-10-06 15:37:59,632 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: kafka_api: -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.log_segment_size:1073741824 - How large in bytes should each log segment be (default 1G) -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.disable_batch_cache:0 - Disable batch cache in log manager -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.election_timeout_ms:1500 - Election timeout expressed in milliseconds -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.default_topic_partitions:1 - Default number of partitions per topic -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.wait_for_leader_timeout_ms:5000 - Timeout (ms) to wait for leadership in metadata cache -2022-10-06 15:37:59,632 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: - address: 0.0.0.0 -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.kafka_qdc_max_depth:100 - Maximum queue depth used in kafka queue depth control. -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cluster_id:{nullopt} - Cluster identifier -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.transaction_coordinator_delete_retention_ms:604800000 - delete segments older than this - default 1 week -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.storage_read_buffer_size:131072 - Size of each read buffer (one per in-flight read, per log segment) -2022-10-06 15:37:59,632 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: name: PLAINTEXT -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.metadata_status_wait_timeout_ms:2000 - Maximum time to wait in metadata request for cluster health to be refreshed -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.transaction_coordinator_cleanup_policy:delete - Cleanup policy for a transaction coordinator topic -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.max_kafka_throttle_delay_ms:60000 - Fail-safe maximum throttle delay on kafka requests -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.enable_idempotence:1 - Enable idempotent producer -2022-10-06 15:37:59,632 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: port: 29092 -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.id_allocator_replication:1 - Replication factor for an id allocator topic -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.abort_timed_out_transactions_interval_ms:60000 - How often look for the inactive transactions and abort them -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_upload_ctrl_min_shares:100 - minimum number of IO and CPU shares that archival upload can use -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.default_topic_replications:1 - Default replication factor for new topics -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.rpc_server_listen_backlog:{nullopt} - TCP connection queue length for Kafka server and internal RPC server -2022-10-06 15:37:59,633 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: - address: 0.0.0.0 -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.group_topic_partitions:1 - Number of partitions in the internal group membership topic -2022-10-06 15:37:59,633 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: name: OUTSIDE -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.log_compaction_interval_ms:10000 - How often do we trigger background compaction -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_enabled:0 - Enable archival storage -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.delete_retention_ms:604800000 - delete segments older than this - default 1 week -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.abort_index_segment_size:50000 - Capacity (in number of txns) of an abort index segment -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_bucket:{nullopt} - AWS bucket that should be used to store data -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.enable_2022-10-06 15:37:59,633 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: port: 9092 -transactions:1 - Enable transactions -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.metrics_reporter_url:https://m.rp.vectorized.io/v2 - cluster metrics reporter url -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.coproc_max_batch_size:32768 - Maximum amount of bytes to read from one topic read -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.transaction_coordinator_replication:1 - Replication factor for a transaction coordinator topic -2022-10-06 15:37:59,633 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: node_id: 0 -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.metadata_dissemination_retry_delay_ms:320 - Delay before retry a topic lookup in a shard or other meta tables -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.log_message_timestamp_type:CreateTime - Default topic messages timestamp type -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.reclaim_min_size:131072 - Minimum batch cache reclaim size -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_max_connections:20 - Max number of simultaneous uploads to S3 -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.raft_replicate_batch_window_size:1048576 - Max size of requests cached for replication -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.quota_manager_gc_sec:30000 - Quota manager GC frequency in milliseconds -2022-10-06 15:37:59,634 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: rpc_server: -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.rm_violation_recovery_policy:crash - Describes how to recover from an invariant violation happened on the partition level -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.coproc_max_ingest_bytes:655360 - Maximum amount of data to hold from input logs in memory -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.alter_topic_cfg_timeout_ms:5000 - Time to wait for entries replication in controller log when executing alter configuration requst -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.kafka_qdc_latency_alpha:0.002 - Smoothing parameter for kafka queue depth control latency tracking. -2022-10-06 15:37:59,634 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: address: 0.0.0.0 -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.log_cleanup_policy:delete - Default topic cleanup policy -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.enable_metrics_reporter:1 - Enable cluster metrics reporter -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.health_monitor_max_metadata_age:10000 - Max age of metadata cached in the health monitor of non controller node -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.raft_heartbeat_interval_ms:150 - Milliseconds for raft leader heartbeats -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_segment_max_upload_interval_sec:{nullopt} - Time that segment can be kept locally without uploading it to the remote storage (sec) -2022-10-06 15:37:59,634 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: port: 33145 -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.readers_cache_eviction_timeout_ms:30000 - Duration after which inactive readers will be evicted from cache -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.enable_coproc:0 - Enable coprocessing mode -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.log_compression_type:producer - Default topic compression type -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.fetch_reads_debounce_timeout:1 - Time to wait for next read in fetch request when requested min bytes wasn't reached -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.release_cache_on_segment_roll:0 - Free cache when segments roll -2022-10-06 15:37:59,634 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: seed_servers: [] -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.kvstore_flush_interval:10 - Key-value store flush interval (ms) -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.max_compacted_log_segment_size:5368709120 - Max compacted segment size after consolidation -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.rm_sync_timeout_ms:10000 - Time to wait state catch up before rejecting a request -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.transaction_coordinator_log_segment_size:1073741824 - How large in bytes should each log segment be (default 1G) -2022-10-06 15:37:59,635 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: rpk: -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.tm_violation_recovery_policy:crash - Describes how to recover from an invariant violation happened on the transaction coordinator level -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.group_new_member_join_timeout:30000 - Timeout for new member joins -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_manifest_upload_timeout_ms:10000 - Manifest upload timeout (ms) -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.storage_read_readahead_count:10 - How many additional reads to issue ahead of current read location -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.group_initial_rebalance_delay:300 - Extra delay (ms) added to rebalance phase to wait for new members -2022-10-06 15:37:59,635 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: coredump_dir: /var/lib/redpanda/coredump -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.group_max_session_timeout_ms:300000 - The maximum allowed session timeout for registered consumers. Longer timeouts give consumers more time to process messages in between heartbeats at the cost of a longer time to detect failures. -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.raft_learner_recovery_rate:104857600 - Raft learner recovery rate limit in bytes per sec -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_upload_ctrl_max_shares:1000 - maximum number of IO and CPU shares that archival upload can use -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.group_min_session_timeout_ms:6000 - The minimum allowed session timeout for registered consumers. Shorter timeouts result in quicker failure detection at the cost of more frequent consumer heartbeating, which can overwhelm broker resources. -2022-10-06 15:37:59,635 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: enable_memory_locking: false -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.controller_backend_housekeeping_interval_ms:1000 - Interval between iterations of controller backend housekeeping loop -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.tm_sync_timeout_ms:10000 - Time to wait state catch up before rejecting a request -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.raft_max_concurrent_append_requests_per_follower:16 - Maximum number of concurrent append entries requests sent by leader to one follower -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.seed_server_meta_topic_partitions: - -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.metadata_dissemination_interval_ms:3000 - Interaval for metadata dissemination batching -INF2022-10-06 15:37:59,635 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: enable_usage_stats: true -O 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.default_num_windows:10 - Default number of quota tracking windows -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.enable_sasl:0 - Enable SASL authentication for Kafka connections. -2022-10-06 15:37:59,636 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: overprovisioned: true -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.kvstore_max_segment_size:16777216 - Key-value maximum segment size (bytes) -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.min_version: - -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.raft_heartbeat_disconnect_failures:3 - After how many failed heartbeats to forcibly close an unresponsive TCP connection. Set to 0 to disable force disconnection. -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.max_version: - -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.default_window_sec:1000 - Default quota tracking window size in milliseconds -2022-10-06 15:37:59,636 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: tune_aio_events: false -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.fetch_max_bytes:57671680 - Maximum number of bytes returned in fetch request -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.raft_heartbeat_timeout_ms:3000 - raft heartbeat RPC timeout -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_access_key:{nullopt} - AWS access key -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.transactional_id_expiration_ms:604800000 - Producer ids are expired once this time has elapsed after the last write with the given producer id. -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.tx_timeout_delay_ms:1000 - Delay before scheduling next check for timed out transactions -2022-10-06 15:37:59,636 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: tune_ballast_file: false -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.coproc_max_inflight_bytes:10485760 - Maximum amountt of inflight bytes when sending data to wasm engine -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.target_quota_byte_rate:2147483648 - Target quota byte rate (bytes per second) - 2GB default -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.create_topic_timeout_ms:2000 - Timeout (ms) to wait for new topic creation -2022-10-06 15:37:59,636 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: tune_clocksource: false -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.metadata_dissemination_retries:30 - Number of attempts of looking up a topic's meta data like shard before failing a request -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.use_scheduling_groups: - -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.disable_metrics:0 - Disable registering metrics -2022-10-06 15:37:59,637 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: tune_coredump: false -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.rpc_server_tcp_send_buf:{nullopt} - TCP transmit buffer size in bytes. -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.coproc_offset_flush_interval_ms:300000 - Interval for which all coprocessor offsets are flushed to disk -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.enable_leader_balancer:1 - Enable automatic leadership rebalancing -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_initial_backoff_ms:100 - Initial backoff time for exponetial backoff algorithm (ms) -2022-10-06 15:37:59,637 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: tune_cpu: false -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.rpc_server_tcp_recv_buf:{nullopt} - TCP receive buffer size in bytes. -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.kafka_max_bytes_per_fetch:67108864 - Limit fetch responses to this many bytes, even if total of partition bytes limits is higher -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.developer_mode:1 - Skips most of the checks performed at startup, not recomended for production use -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_region:{nullopt} - AWS region that houses the bucket used for storage -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.compacted_log_segment_size:268435456 - How large in bytes should each compacted log segment be (default 256MiB) -2022-10-06 15:37:59,637 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: tune_disk_irq: false -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.advertised_kafka_api:{{OUTSIDE:{host: localhost, port: 49238}}, {PLAINTEXT:{host: f5b812c0f0a4, port: 29092}}} - Address of Kafka API published to the clients -INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.coproc_supervisor_server:{host: 127.0.0.1, port: 43189} - IpAddress and port for supervisor service -INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.node_id:{0} - Unique id identifying a node in the cluster -INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.admin_api_tls:{} - TLS configuration for admin HTTP server -INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.kafka_api_tls:{} - TLS configuration for Kafka API endpoint -2022-10-06 15:37:59,637 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: tune_disk_nomerges: false -INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.advertised_rpc_api:{nullopt} - Address of RPC endpoint published to other cluster members -INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.kafka_api:{{PLAINTEXT:{host: 0.0.0.0, port: 29092}}, {OUTSIDE:{host: 0.0.0.0, port: 9092}}} - Address and port of an interface to listen for Kafka API requests -INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.rpc_server_tls:{ enabled: 0 key/cert files: {nullopt} ca file: {nullopt} client_auth_required: 0 } - TLS configuration for RPC server -INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.rpc_server:{host: 0.0.0.0, port: 33145} - IpAddress and port for RPC server -INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.dashboard_dir:{nullopt} - serve http dashboard on / url -2022-10-06 15:37:59,638 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: tune_disk_scheduler: false -INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.admin:{{:{host: 0.0.0.0, port: 9644}}} - Address and port of admin server -INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.enable_central_config:0 - Enable central storage + sync of cluster configuration -INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.seed_servers:{} - List of the seed servers used to join current cluster. If the seed_server list is empty the node will be a cluster root and it will form a new cluster -INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.admin_api_doc_dir:/usr/share/redpanda/admin-api-doc - Admin API doc directory -2022-10-06 15:37:59,638 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: tune_disk_write_cache: false -INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.rack:{nullopt} - Rack identifier -INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_cache_directory:{nullopt} - Directory for archival cache. Should be present when `cloud_storage_enabled` is present -INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.data_directory:{data_directory="/var/li2022-10-06 15:37:59,638 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: tune_fstrim: false -b/redpanda/data"} - Place where redpanda will keep the data -INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy.consumer_instance_timeout_ms:300000 - How long to wait for an idle consumer before removing it -INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy.advertised_pandaproxy_api:{} - Rest API address and port to publish to client -INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy.api_doc_dir:/usr/share/redpanda/proxy-api-doc - API doc directory -INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy.pandaproxy_api_tls:{} - TLS configuration for Pandaproxy api -INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy.pandaproxy_api:{{:{host: 0.0.0.0, port: 8082}}} - Rest API listen address and port -2022-10-06 15:37:59,638 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: tune_network: false -INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.sasl_mechanism: - The SASL mechanism to use when connecting -INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.consumer_heartbeat_interval_ms:500 - Interval (in milliseconds) for consumer heartbeats -INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.consumer_rebalance_timeout_ms:2000 - Timeout (in milliseconds) for consumer rebalance -INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.consumer_request_max_bytes:1048576 - Max bytes to fetch per request -INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.consumer_request_timeout_ms:100 - Interval (in milliseconds) for consumer request timeout -INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.scram_username: - Username to use for SCRAM authentication mechanisms -INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.produce_batch_delay_ms:100 - Delay (in milliseconds) to wait before sending batch -INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.produce_batch_size_bytes:1048576 - Number of bytes to batch before sending to broker -2022-10-06 15:37:59,638 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: tune_swappiness: false -INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.consumer_session_timeout_ms:300000 - Timeout (in milliseconds) for consumer session -INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.produce_batch_record_count:1000 - Number of records to batch before sending to broker -INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.retry_base_backoff_ms:100 - Delay (in milliseconds) for initial retry backoff -INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.retries:5 - Number of times to retry a request to a broker -INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.scram_password: - Password to use for SCRAM authentication mechanisms -INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.broker_tls:{ enabled: 0 key/cert files: {nullopt} ca file: {nullopt} client_auth_required: 0 } - TLS configuration for the brokers -2022-10-06 15:37:59,639 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: tune_transparent_hugepages: false -INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.brokers:{{host: 0.0.0.0, port: 29092}} - List of address and port of the brokers -INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry.api_doc_dir:/usr/share/redpanda/proxy-api-doc - API doc directory -INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry.schema_registry_replication_factor:{nullopt} - Replication factor for internal _schemas topic. If unset, defaults to `default_topic_replication` -INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry.schema_registry_api_tls:{} - TLS configuration for Schema Registry API -INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry.schema_registry_api:{{:{host: 0.0.0.0, port: 8081}}} - Schema Registry API listen address and port -INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.sasl_mechanism: - The SASL mechanism to use when connecting -INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.consumer_heartbeat_interval_ms:500 - Interval (in milliseconds) for consumer heartbeats -2022-10-06 15:37:59,639 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: schema_registry: {} -INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.consumer_rebalance_timeout_ms:2000 - Timeout (in milliseconds) for consumer rebalance -INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.consumer_request_max_bytes:1048576 - Max bytes to fetch per request -INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.consumer_request_timeout_ms:100 - Interval (in milliseconds) for consumer request timeout -INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.scram_username: - Username to use for SCRAM authentication mechanisms -INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.produce_batch_delay_ms:0 - Delay (in milliseconds) to wait before sending batch -INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.produce_batch_size_bytes:0 - Number of bytes to batch before sending to broker -INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.consumer_session_timeout_ms:10000 - Timeout (in milliseconds) for consumer session -INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.produce_batch_record_count:0 - Number of records to batch before sending to broker -2022-10-06 15:37:59,639 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: -INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.retry_base_backoff_ms:100 - Delay (in milliseconds) for initial retry backoff -INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.retries:5 - Number of times to retry a request to a broker -INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.scram_password: - Password to use for SCRAM authentication mechanisms -INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.broker_tls:{ enabled: 0 key/cert files: {nullopt} ca file: {nullopt} client_auth_required: 0 } - TLS configuration for the brokers -INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.brokers:{{host: 0.0.0.0, port: 29092}} - List of address and port of the brokers -INFO 2022-10-06 13:37:59,627 [shard 0] syschecks - Writing pid file "/var/lib/redpanda/data/pid.lock" -INFO 2022-10-06 13:37:59,637 [shard 0] storage - directories.h:33 - Checking `/var/lib/redpanda/data` for supported filesystems -ERROR 2022-10-06 13:37:59,637 [shard 0] syschecks - Path: `/var/lib/redpanda/data' is not on XFS. This is a non-supported setup. Expect poor performance. -2022-10-06 15:37:59,640 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: -2022-10-06 15:37:59,640 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:327 - Use `rpk config set ` to change values below: -2022-10-06 15:37:59,640 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.metrics_reporter_report_interval:86400000 - cluster metrics reporter report interval -2022-10-06 15:37:59,640 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.metrics_reporter_tick_interval:60000 - Cluster metrics reporter tick interval -2022-10-06 15:37:59,641 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.leader_balancer_idle_timeout:120000 - Leadership rebalancing idle timeout -2022-10-06 15:37:59,641 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.full_raft_configuration_recovery_pattern:{} - Recover raft configuration on start for NTPs matching pattern -2022-10-06 15:37:59,641 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.kafka_qdc_min_depth:1 - Minimum queue depth used in kafka queue depth control. -2022-10-06 15:37:59,642 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.kafka_qdc_idle_depth:10 - Queue depth when idleness is detected in kafka queue depth control. -2022-10-06 15:37:59,642 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.health_manager_tick_interval:180000 - How often the health manager runs -2022-10-06 15:37:59,642 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.kafka_qdc_max_latency_ms:80 - Max latency threshold for kafka queue depth control depth tracking. -2022-10-06 15:37:59,642 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.kafka_qdc_depth_alpha:0.8 - Smoothing factor for kafka queue depth control depth tracking. -2022-10-06 15:37:59,643 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.kafka_qdc_window_count:12 - Number of windows used in kafka queue depth control latency tracking. -2022-10-06 15:37:59,643 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.superusers:{} - List of superuser usernames -2022-10-06 15:37:59,643 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_cache_check_interval:30000 - Timeout to check if cache eviction should be triggered -2022-10-06 15:37:59,643 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_cache_size:21474836480 - Max size of archival cache -2022-10-06 15:37:59,644 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_upload_ctrl_d_coeff:0 - derivative coefficient for upload PID controller. -2022-10-06 15:37:59,644 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.kafka_qdc_enable:0 - Enable kafka queue depth control. -2022-10-06 15:37:59,644 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_upload_ctrl_p_coeff:-2 - proportional coefficient for upload PID controller -2022-10-06 15:37:59,644 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_upload_ctrl_update_interval_ms:60000 - -2022-10-06 15:37:59,645 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_max_connection_idle_time_ms:5000 - Max https connection idle time (ms) -2022-10-06 15:37:59,645 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_segment_upload_timeout_ms:30000 - Log segment upload timeout (ms) -2022-10-06 15:37:59,645 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_trust_file:{nullopt} - Path to certificate that should be used to validate server certificate during TLS handshake -2022-10-06 15:37:59,646 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_api_endpoint_port:443 - TLS port override -2022-10-06 15:37:59,646 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_disable_tls:0 - Disable TLS for all S3 connections -2022-10-06 15:37:59,646 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_reconciliation_interval_ms:10000 - Interval at which the archival service runs reconciliation (ms) -2022-10-06 15:37:59,646 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_api_endpoint:{nullopt} - Optional API endpoint -2022-10-06 15:37:59,647 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_secret_key:{nullopt} - AWS secret key -2022-10-06 15:37:59,647 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_enable_remote_write:0 - Enable remote write for all topics -2022-10-06 15:37:59,647 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.kafka_qdc_window_size_ms:1500 - Window size for kafka queue depth control latency tracking. -2022-10-06 15:37:59,648 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_enable_remote_read:0 - Enable remote read for all topics -2022-10-06 15:37:59,648 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.members_backend_retry_ms:5000 - Time between members backend reconciliation loop retries -2022-10-06 15:37:59,648 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.compaction_ctrl_max_shares:1000 - maximum number of IO and CPU shares that compaction process can use -2022-10-06 15:37:59,648 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.compaction_ctrl_min_shares:10 - minimum number of IO and CPU shares that compaction process can use -2022-10-06 15:37:59,649 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.compaction_ctrl_d_coeff:0.2 - derivative coefficient for compaction PID controller. -2022-10-06 15:37:59,649 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.compaction_ctrl_i_coeff:0 - integral coefficient for compaction PID controller. -2022-10-06 15:37:59,650 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.kafka_qdc_depth_update_ms:7000 - Update frequency for kafka queue depth control. -2022-10-06 15:37:59,650 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37: -INFO 2022-10-06 13:37:59,650 [shard 0] redpanda::main - application.cc:654 - Partition manager started -2022-10-06 15:37:59,650 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: 59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.compaction_ctrl_p_coeff:-12.5 - proportional coefficient for compaction PID controller. This has to be negative since compaction backlog should decrease when number of compaction shares increases -2022-10-06 15:37:59,650 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.compaction_ctrl_update_interval_ms:30000 - -2022-10-06 15:37:59,651 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.enable_auto_rebalance_on_node_add:0 - Enable automatic partition rebalancing when new nodes are added -2022-10-06 15:37:59,651 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.node_management_operation_timeout_ms:5000 - Timeout for executing node management operations -2022-10-06 15:37:59,651 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.leader_balancer_mute_timeout:300000 - Leadership rebalancing mute timeout -2022-10-06 15:37:59,652 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.id_allocator_batch_size:1000 - Id allocator allocates messages in batches (each batch is a one log record) and then serves requests from memory without touching the log until the batch is exhausted. -2022-10-06 15:37:59,652 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.id_allocator_log_capacity:100 - Capacity of the id_allocator log in number of messages. Once it reached id_allocator_stm should compact the log. -2022-10-06 15:37:59,652 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.raft_transfer_leader_recovery_timeout_ms:10000 - Timeout waiting for follower recovery when transferring leadership -2022-10-06 15:37:59,653 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.reclaim_max_size:4194304 - Maximum batch cache reclaim size -2022-10-06 15:37:59,653 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.fetch_session_eviction_timeout_ms:60000 - Minimum time before which unused session will get evicted from sessions. Maximum time after which inactive session will be deleted is two time given configuration valuecache -2022-10-06 15:37:59,653 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.segment_appender_flush_timeout_ms:1000 - Maximum delay until buffered data is written -2022-10-06 15:37:59,653 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.retention_bytes:{nullopt} - Default max bytes per partition on disk before triggering a compaction -2022-10-06 15:37:59,653 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.join_retry_timeout_ms:5000 - Time between cluster join retries in milliseconds -2022-10-06 15:37:59,654 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.enable_admin_api:1 - Enable the admin API -2022-10-06 15:37:59,654 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.raft_io_timeout_ms:10000 - Raft I/O timeout -2022-10-06 15:37:59,654 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.zstd_decompress_workspace_bytes:8388608 - Size of the zstd decompression workspace -2022-10-06 15:37:59,654 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.compaction_ctrl_backlog_size:{nullopt} - target backlog size for compaction controller. if not set compaction target compaction backlog would be equal to -2022-10-06 15:37:59,654 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.append_chunk_size:16384 - Size of direct write operations to disk -2022-10-06 15:37:59,655 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.auto_create_topics_enabled:1 - Allow topic auto creation -2022-10-06 15:37:59,655 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.reclaim_stable_window:10000 - Length of time above which growth is reset -2022-10-06 15:37:59,655 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.enable_pid_file:1 - Enable pid file. You probably don't want to change this. -2022-10-06 15:37:59,655 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.kafka_group_recovery_timeout_ms:30000 - Kafka group recovery timeout expressed in milliseconds -INFO 2022-10-06 13:37:59,655 [shard 0] cluster - raft0_utils.h:32 - Current node is cluster root -2022-10-06 15:37:59,655 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.reclaim_growth_window:3000 - Length of time in which reclaim sizes grow -2022-10-06 15:37:59,656 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.raft_smp_max_non_local_requests:0 - Maximum number of x-core requests pending in Raft seastar::smp group. (for more details look at `seastar::smp_service_group` documentation) -2022-10-06 15:37:59,656 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.raft_timeout_now_timeout_ms:1000 - Timeout for a timeout now request -2022-10-06 15:37:59,656 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.recovery_append_timeout_ms:5000 - Timeout for append entries requests issued while updating stale follower -2022-10-06 15:37:59,656 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.health_monitor_tick_interval:10000 - How often health monitor refresh cluster state -2022-10-06 15:37:59,656 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.internal_topic_replication_factor:3 - Target replication factor for internal topics -2022-10-06 15:37:59,657 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.replicate_append_timeout_ms:3000 - Timeout for append entries requests issued while replicating entries -2022-10-06 15:37:59,657 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.log_segment_size:1073741824 - How large in bytes should each log segment be (default 1G) -2022-10-06 15:37:59,657 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.disable_batch_cache:0 - Disable batch cache in log manager -2022-10-06 15:37:59,657 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.election_timeout_ms:1500 - Election timeout expressed in milliseconds -2022-10-06 15:37:59,657 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.default_topic_partitions:1 - Default number of partitions per topic -2022-10-06 15:37:59,658 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.wait_for_leader_timeout_ms:5000 - Timeout (ms) to wait for leadership in metadata cache -2022-10-06 15:37:59,658 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.kafka_qdc_max_depth:100 - Maximum queue depth used in kafka queue depth control. -2022-10-06 15:37:59,658 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cluster_id:{nullopt} - Cluster identifier -2022-10-06 15:37:59,658 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.transaction_coordinator_delete_retention_ms:604800000 - delete segments older than this - default 1 week -2022-10-06 15:37:59,658 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.storage_read_buffer_size:131072 - Size of each read buffer (one per in-flight read, per log segment) -2022-10-06 15:37:59,659 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.metadata_status_wait_timeout_ms:2000 - Maximum time to wait in metadata request for cluster health to be refreshed -2022-10-06 15:37:59,659 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.transaction_coordinator_cleanup_policy:delete - Cleanup policy for a transaction coordinator topic -2022-10-06 15:37:59,659 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.max_kafka_throttle_delay_ms:60000 - Fail-safe maximum throttle delay on kafka requests -2022-10-06 15:37:59,659 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.enable_idempotence:1 - Enable idempotent producer -2022-10-06 15:37:59,659 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13 -2022-10-06 15:37:59,659 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: :37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.id_allocator_replication:1 - Replication factor for an id allocator topic -2022-10-06 15:37:59,659 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.abort_timed_out_transactions_interval_ms:60000 - How often look for the inactive transactions and abort them -2022-10-06 15:37:59,659 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_upload_ctrl_min_shares:100 - minimum number of IO and CPU shares that archival upload can use -2022-10-06 15:37:59,660 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.default_topic_replications:1 - Default replication factor for new topics -2022-10-06 15:37:59,660 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.rpc_server_listen_backlog:{nullopt} - TCP connection queue length for Kafka server and internal RPC server -2022-10-06 15:37:59,660 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.group_topic_partitions:1 - Number of partitions in the internal group membership topic -2022-10-06 15:37:59,660 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.log_compaction_interval_ms:10000 - How often do we trigger background compaction -2022-10-06 15:37:59,660 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_enabled:0 - Enable archival storage -2022-10-06 15:37:59,661 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.delete_retention_ms:604800000 - delete segments older than this - default 1 week -2022-10-06 15:37:59,661 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.abort_index_segment_size:50000 - Capacity (in number of txns) of an abort index segment -2022-10-06 15:37:59,661 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_bucket:{nullopt} - AWS bucket that should be used to store data -2022-10-06 15:37:59,661 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.enable_transactions:1 - Enable transactions -2022-10-06 15:37:59,661 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.metrics_reporter_url:https://m.rp.vectorized.io/v2 - cluster metrics reporter url -2022-10-06 15:37:59,661 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.coproc_max_batch_size:32768 - Maximum amount of bytes to read from one topic read -2022-10-06 15:37:59,662 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.transaction_coordinator_replication:1 - Replication factor for a transaction coordinator topic -2022-10-06 15:37:59,662 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.metadata_dissemination_retry_delay_ms:320 - Delay before retry a topic lookup in a shard or other meta tables -2022-10-06 15:37:59,662 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.log_message_timestamp_type:CreateTime - Default topic messages timestamp type -2022-10-06 15:37:59,662 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.reclaim_min_size:131072 - Minimum batch cache reclaim size -2022-10-06 15:37:59,662 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_max_connections:20 - Max number of simultaneous uploads to S3 -2022-10-06 15:37:59,662 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.raft_replicate_batch_window_size:1048576 - Max size of requests cached for replication -2022-10-06 15:37:59,663 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.quota_manager_gc_sec:30000 - Quota manager GC frequency in milliseconds -2022-10-06 15:37:59,663 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.rm_violation_recovery_policy:crash - Describes how to recover from an invariant violation happened on the partition level -2022-10-06 15:37:59,663 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.coproc_max_ingest_bytes:655360 - Maximum amount of data to hold from input logs in memory -2022-10-06 15:37:59,663 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.alter_topic_cfg_timeout_ms:5000 - Time to wait for entries replication in controller log when executing alter configuration requst -2022-10-06 15:37:59,663 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.kafka_qdc_latency_alpha:0.002 - Smoothing parameter for kafka queue depth control latency tracking. -2022-10-06 15:37:59,663 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.log_cleanup_policy:delete - Default topic cleanup policy -2022-10-06 15:37:59,663 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.enable_metrics_reporter:1 - Enable cluster metrics reporter -2022-10-06 15:37:59,664 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.health_monitor_max_metadata_age:10000 - Max age of metadata cached in the health monitor of non controller node -2022-10-06 15:37:59,664 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.raft_heartbeat_interval_ms:150 - Milliseconds for raft leader heartbeats -2022-10-06 15:37:59,664 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_segment_max_upload_interval_sec:{nullopt} - Time that segment can be kept locally without uploading it to the remote storage (sec) -2022-10-06 15:37:59,664 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.readers_cache_eviction_timeout_ms:30000 - Duration after which inactive readers will be evicted from cache -2022-10-06 15:37:59,664 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.enable_coproc:0 - Enable coprocessing mode -2022-10-06 15:37:59,664 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.log_compression_type:producer - Default topic compression type -2022-10-06 15:37:59,665 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.fetch_reads_debounce_timeout:1 - Time to wait for next read in fetch request when requested min bytes wasn't reached -2022-10-06 15:37:59,665 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.release_cache_on_segment_roll:0 - Free cache when segments roll -2022-10-06 15:37:59,665 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.kvstore_flush_interval:10 - Key-value store flush interval (ms) -2022-10-06 15:37:59,665 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.max_compacted_log_segment_size:5368709120 - Max compacted segment size after consolidation -2022-10-06 15:37:59,665 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.rm_sync_timeout_ms:10000 - Time to wait state catch up before rejecting a request -2022-10-06 15:37:59,665 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.transaction_coordinator_log_segment_size:1073741824 - How large in bytes should each log segment be (default 1G) -2022-10-06 15:37:59,665 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.tm_violation_recovery_policy:crash - Describes how to recover from an invariant violation happened on the transaction coordinator level -INFO 2022-10-06 13:37:59,665 [shard 0] storage - segment.cc:635 - Creating new segment /var/lib/redpanda/data/redpanda/kvstore/0_0/0-0-v1.log -2022-10-06 15:37:59,666 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.group_new_member_join_timeout:30000 - Timeout for new member joins -2022-10-06 15:37:59,666 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_manifest_upload_timeout_ms:10000 - Manifest upload timeout (ms) -2022-10-06 15:37:59,666 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.storage_read_readahead_count:10 - How many additional reads to issue ahead of current read location -2022-10-06 15:37:59,666 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.group_initial_rebalance_delay:300 - Extra del -2022-10-06 15:37:59,666 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: ay (ms) added to rebalance phase to wait for new members -2022-10-06 15:37:59,666 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.group_max_session_timeout_ms:300000 - The maximum allowed session timeout for registered consumers. Longer timeouts give consumers more time to process messages in between heartbeats at the cost of a longer time to detect failures. -2022-10-06 15:37:59,666 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.raft_learner_recovery_rate:104857600 - Raft learner recovery rate limit in bytes per sec -2022-10-06 15:37:59,667 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_upload_ctrl_max_shares:1000 - maximum number of IO and CPU shares that archival upload can use -2022-10-06 15:37:59,667 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.group_min_session_timeout_ms:6000 - The minimum allowed session timeout for registered consumers. Shorter timeouts result in quicker failure detection at the cost of more frequent consumer heartbeating, which can overwhelm broker resources. -2022-10-06 15:37:59,667 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.controller_backend_housekeeping_interval_ms:1000 - Interval between iterations of controller backend housekeeping loop -2022-10-06 15:37:59,667 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.tm_sync_timeout_ms:10000 - Time to wait state catch up before rejecting a request -2022-10-06 15:37:59,667 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.raft_max_concurrent_append_requests_per_follower:16 - Maximum number of concurrent append entries requests sent by leader to one follower -2022-10-06 15:37:59,667 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.seed_server_meta_topic_partitions: - -2022-10-06 15:37:59,668 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.metadata_dissemination_interval_ms:3000 - Interaval for metadata dissemination batching -2022-10-06 15:37:59,668 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.default_num_windows:10 - Default number of quota tracking windows -2022-10-06 15:37:59,668 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.enable_sasl:0 - Enable SASL authentication for Kafka connections. -2022-10-06 15:37:59,668 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.kvstore_max_segment_size:16777216 - Key-value maximum segment size (bytes) -2022-10-06 15:37:59,668 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.min_version: - -2022-10-06 15:37:59,668 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.raft_heartbeat_disconnect_failures:3 - After how many failed heartbeats to forcibly close an unresponsive TCP connection. Set to 0 to disable force disconnection. -2022-10-06 15:37:59,668 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.max_version: - -2022-10-06 15:37:59,669 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.default_window_sec:1000 - Default quota tracking window size in milliseconds -2022-10-06 15:37:59,669 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.fetch_max_bytes:57671680 - Maximum number of bytes returned in fetch request -2022-10-06 15:37:59,669 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.raft_heartbeat_timeout_ms:3000 - raft heartbeat RPC timeout -2022-10-06 15:37:59,669 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_access_key:{nullopt} - AWS access key -2022-10-06 15:37:59,669 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.transactional_id_expiration_ms:604800000 - Producer ids are expired once this time has elapsed after the last write with the given producer id. -2022-10-06 15:37:59,669 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.tx_timeout_delay_ms:1000 - Delay before scheduling next check for timed out transactions -2022-10-06 15:37:59,669 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.coproc_max_inflight_bytes:10485760 - Maximum amountt of inflight bytes when sending data to wasm engine -2022-10-06 15:37:59,669 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.target_quota_byte_rate:2147483648 - Target quota byte rate (bytes per second) - 2GB default -2022-10-06 15:37:59,669 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.create_topic_timeout_ms:2000 - Timeout (ms) to wait for new topic creation -2022-10-06 15:37:59,670 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.metadata_dissemination_retries:30 - Number of attempts of looking up a topic's meta data like shard before failing a request -2022-10-06 15:37:59,670 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.use_scheduling_groups: - -2022-10-06 15:37:59,670 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.disable_metrics:0 - Disable registering metrics -2022-10-06 15:37:59,670 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.rpc_server_tcp_send_buf:{nullopt} - TCP transmit buffer size in bytes. -2022-10-06 15:37:59,670 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.coproc_offset_flush_interval_ms:300000 - Interval for which all coprocessor offsets are flushed to disk -2022-10-06 15:37:59,670 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.enable_leader_balancer:1 - Enable automatic leadership rebalancing -2022-10-06 15:37:59,670 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_initial_backoff_ms:100 - Initial backoff time for exponetial backoff algorithm (ms) -2022-10-06 15:37:59,671 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.rpc_server_tcp_recv_buf:{nullopt} - TCP receive buffer size in bytes. -2022-10-06 15:37:59,671 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.kafka_max_bytes_per_fetch:67108864 - Limit fetch responses to this many bytes, even if total of partition bytes limits is higher -2022-10-06 15:37:59,671 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.developer_mode:1 - Skips most of the checks performed at startup, not recomended for production use -2022-10-06 15:37:59,671 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_region:{nullopt} - AWS region that houses the bucket used for storage -2022-10-06 15:37:59,671 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.compacted_log_segment_size:268435456 - How large in bytes should each compacted log segment be (default 256MiB) -2022-10-06 15:37:59,671 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.advertised_kafka_api:{{OUTSIDE:{host: localhost, port: 49238}}, {PLAINTEXT:{host: f5b812c0f0a4, port: 29092}}} - Address of Kafka API published to the clients -2022-10-06 15:37:59,671 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,626 [shard 0] redpanda::main - application.cc:332 - redpanda.coproc_supervisor_server:{host: 127.0.0.1, port: 43189} - IpAddress and port for supervisor service -2022-10-06 15:37:59,672 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.node_id:{0} - Unique id identifying a node in the cluster -2022-10-06 15:37:59,672 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.admin_api_tls:{} - TLS configuration for admin HTTP server -2022-10-06 15:37:59,672 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.kafka_api_tls:{} - TLS configuration for Kafka API endpoint -2022-10-06 15:37:59,672 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.advertised_rpc_api:{nullopt} - Address of RPC endpoint published to other cluster members -2022-10-06 15:37:59,672 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO -2022-10-06 15:37:59,672 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.kafka_api:{{PLAINTEXT:{host: 0.0.0.0, port: 29092}}, {OUTSIDE:{host: 0.0.0.0, port: 9092}}} - Address and port of an interface to listen for Kafka API requests -2022-10-06 15:37:59,673 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.rpc_server_tls:{ enabled: 0 key/cert files: {nullopt} ca file: {nullopt} client_auth_required: 0 } - TLS configuration for RPC server -2022-10-06 15:37:59,673 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.rpc_server:{host: 0.0.0.0, port: 33145} - IpAddress and port for RPC server -2022-10-06 15:37:59,673 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.dashboard_dir:{nullopt} - serve http dashboard on / url -2022-10-06 15:37:59,673 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.admin:{{:{host: 0.0.0.0, port: 9644}}} - Address and port of admin server -2022-10-06 15:37:59,673 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.enable_central_config:0 - Enable central storage + sync of cluster configuration -2022-10-06 15:37:59,673 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.seed_servers:{} - List of the seed servers used to join current cluster. If the seed_server list is empty the node will be a cluster root and it will form a new cluster -2022-10-06 15:37:59,673 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.admin_api_doc_dir:/usr/share/redpanda/admin-api-doc - Admin API doc directory -2022-10-06 15:37:59,674 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.rack:{nullopt} - Rack identifier -2022-10-06 15:37:59,674 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.cloud_storage_cache_directory:{nullopt} - Directory for archival cache. Should be present when `cloud_storage_enabled` is present -2022-10-06 15:37:59,674 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - redpanda.data_directory:{data_directory="/var/lib/redpanda/data"} - Place where redpanda will keep the data -2022-10-06 15:37:59,674 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy.consumer_instance_timeout_ms:300000 - How long to wait for an idle consumer before removing it -2022-10-06 15:37:59,674 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy.advertised_pandaproxy_api:{} - Rest API address and port to publish to client -2022-10-06 15:37:59,674 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy.api_doc_dir:/usr/share/redpanda/proxy-api-doc - API doc directory -2022-10-06 15:37:59,674 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy.pandaproxy_api_tls:{} - TLS configuration for Pandaproxy api -2022-10-06 15:37:59,674 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy.pandaproxy_api:{{:{host: 0.0.0.0, port: 8082}}} - Rest API listen address and port -2022-10-06 15:37:59,675 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.sasl_mechanism: - The SASL mechanism to use when connecting -2022-10-06 15:37:59,675 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.consumer_heartbeat_interval_ms:500 - Interval (in milliseconds) for consumer heartbeats -2022-10-06 15:37:59,675 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.consumer_rebalance_timeout_ms:2000 - Timeout (in milliseconds) for consumer rebalance -2022-10-06 15:37:59,675 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.consumer_request_max_bytes:1048576 - Max bytes to fetch per request -2022-10-06 15:37:59,675 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.consumer_request_timeout_ms:100 - Interval (in milliseconds) for consumer request timeout -2022-10-06 15:37:59,675 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.scram_username: - Username to use for SCRAM authentication mechanisms -2022-10-06 15:37:59,675 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.produce_batch_delay_ms:100 - Delay (in milliseconds) to wait before sending batch -2022-10-06 15:37:59,676 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.produce_batch_size_bytes:1048576 - Number of bytes to batch before sending to broker -2022-10-06 15:37:59,676 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.consumer_session_timeout_ms:300000 - Timeout (in milliseconds) for consumer session -INFO 2022-10-06 13:37:59,675 [shard 0] cluster - partition_manager.cc:80 - Log created manage completed, ntp: {redpanda/controller/0}, rev: 0, 0 segments, 0 bytes -INFO 2022-10-06 13:37:59,676 [shard 0] raft - [group_id:0, {redpanda/controller/0}] consensus.cc:992 - Starting -2022-10-06 15:37:59,676 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.produce_batch_record_count:1000 - Number of records to batch before sending to broker -INFO 2022-10-06 13:37:59,676 [shard 0] raft - [group_id:0, {redpanda/controller/0}] consensus.cc:1024 - Starting with voted_for {id: {-2147483648}, revision: {-9223372036854775808}} term 0 initial_state true -2022-10-06 15:37:59,676 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.retry_base_backoff_ms:100 - Delay (in milliseconds) for initial retry backoff -2022-10-06 15:37:59,676 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.retries:5 - Number of times to retry a request to a broker -2022-10-06 15:37:59,676 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.scram_password: - Password to use for SCRAM authentication mechanisms -2022-10-06 15:37:59,676 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.broker_tls:{ enabled: 0 key/cert files: {nullopt} ca file: {nullopt} client_auth_required: 0 } - TLS configuration for the brokers -2022-10-06 15:37:59,676 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - pandaproxy_client.brokers:{{host: 0.0.0.0, port: 29092}} - List of address and port of the brokers -2022-10-06 15:37:59,677 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry.api_doc_dir:/usr/share/redpanda/proxy-api-doc - API doc directory -2022-10-06 15:37:59,677 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry.schema_registry_replication_factor:{nullopt} - Replication factor for internal _schemas topic. If unset, defaults to `default_topic_replication` -2022-10-06 15:37:59,677 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry.schema_registry_api_tls:{} - TLS configuration for Schema Registry API -2022-10-06 15:37:59,677 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry.schema_registry_api:{{:{host: 0.0.0.0, port: 8081}}} - Schema Registry API listen address and port -2022-10-06 15:37:59,677 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.sasl_mechanism: - The SASL mechanism to use when connecting -2022-10-06 15:37:59,677 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.consumer_heartbeat_interval_ms:500 - Interval (in milliseconds) for consumer heartbeats -2022-10-06 15:37:59,677 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.consumer_rebalance_timeout_ms:2000 - Timeout (in milliseconds) for consumer rebalance -2022-10-06 15:37:59,677 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.consumer_request_max_bytes:1048576 - Max bytes to fetch per request -2022-10-06 15:37:59,678 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.consumer_request_timeout_ms:100 - Interval (in milliseconds) for consumer request timeout -2022-10-06 15:37:59,678 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.scram_username: - Username to use for SCRAM authentication mechanisms -2022-10-06 15:37:59,678 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.produce_batch_delay_ms:0 - Delay (in milliseconds) to wait before sending batch -2022-10-06 15:37:59,678 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application. -2022-10-06 15:37:59,678 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: cc:332 - schema_registry_client.produce_batch_size_bytes:0 - Number of bytes to batch before sending to broker -2022-10-06 15:37:59,678 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.consumer_session_timeout_ms:10000 - Timeout (in milliseconds) for consumer session -2022-10-06 15:37:59,678 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.produce_batch_record_count:0 - Number of records to batch before sending to broker -2022-10-06 15:37:59,678 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.retry_base_backoff_ms:100 - Delay (in milliseconds) for initial retry backoff -2022-10-06 15:37:59,679 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.retries:5 - Number of times to retry a request to a broker -2022-10-06 15:37:59,679 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.scram_password: - Password to use for SCRAM authentication mechanisms -2022-10-06 15:37:59,679 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.broker_tls:{ enabled: 0 key/cert files: {nullopt} ca file: {nullopt} client_auth_required: 0 } - TLS configuration for the brokers -2022-10-06 15:37:59,679 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] redpanda::main - application.cc:332 - schema_registry_client.brokers:{{host: 0.0.0.0, port: 29092}} - List of address and port of the brokers -2022-10-06 15:37:59,679 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,627 [shard 0] syschecks - Writing pid file "/var/lib/redpanda/data/pid.lock" -2022-10-06 15:37:59,679 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,637 [shard 0] storage - directories.h:33 - Checking `/var/lib/redpanda/data` for supported filesystems -2022-10-06 15:37:59,679 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: ERROR 2022-10-06 13:37:59,637 [shard 0] syschecks - Path: `/var/lib/redpanda/data' is not on XFS. This is a non-supported setup. Expect poor performance. -2022-10-06 15:37:59,679 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,650 [shard 0] redpanda::main - application.cc:654 - Partition manager started -2022-10-06 15:37:59,679 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,655 [shard 0] cluster - raft0_utils.h:32 - Current node is cluster root -2022-10-06 15:37:59,679 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,665 [shard 0] storage - segment.cc:635 - Creating new segment /var/lib/redpanda/data/redpanda/kvstore/0_0/0-0-v1.log -2022-10-06 15:37:59,679 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,675 [shard 0] cluster - partition_manager.cc:80 - Log created manage completed, ntp: {redpanda/controller/0}, rev: 0, 0 segments, 0 bytes -2022-10-06 15:37:59,679 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,676 [shard 0] raft - [group_id:0, {redpanda/controller/0}] consensus.cc:992 - Starting -2022-10-06 15:37:59,680 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,676 [shard 0] raft - [group_id:0, {redpanda/controller/0}] consensus.cc:1024 - Starting with voted_for {id: {-2147483648}, revision: {-9223372036854775808}} term 0 initial_state true -INFO 2022-10-06 13:37:59,698 [shard 0] raft - [group_id:0, {redpanda/controller/0}] consensus.cc:1066 - Read bootstrap state: data_seen 0 config_seen 0 eol false commit 0 term 0 prev_idx 0 prev_term 0 config_tracker -9223372036854775808 commit_base_tracker -9223372036854775808 configurations {} -INFO 2022-10-06 13:37:59,698 [shard 0] raft - [group_id:0, {redpanda/controller/0}] consensus.cc:1067 - Current log offsets: {start_offset:-9223372036854775808, committed_offset:-9223372036854775808, committed_offset_term:-9223372036854775808, dirty_offset:-9223372036854775808, dirty_offset_term:-9223372036854775808, last_term_start_offset:-9223372036854775808} -INFO 2022-10-06 13:37:59,698 [shard 0] raft - [group_id:0, {redpanda/controller/0}] consensus.cc:1091 - Truncating configurations at -9223372036854775808 -2022-10-06 15:37:59,698 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,698 [shard 0] raft - [group_id:0, {redpanda/controller/0}] consensus.cc:1066 - Read bootstrap state: data_seen 0 config_seen 0 eol false commit 0 term 0 prev_idx 0 prev_term 0 config_tracker -9223372036854775808 commit_base_tracker -9223372036854775808 configurations {} -2022-10-06 15:37:59,698 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,698 [shard 0] raft - [group_id:0, {redpanda/controller/0}] consensus.cc:1067 - Current log offsets: {start_offset:-9223372036854775808, committed_offset:-9223372036854775808, committed_offset_term:-9223372036854775808, dirty_offset:-9223372036854775808, dirty_offset_term:-9223372036854775808, last_term_start_offset:-9223372036854775808} -2022-10-06 15:37:59,699 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,698 [shard 0] raft - [group_id:0, {redpanda/controller/0}] consensus.cc:1091 - Truncating configurations at -9223372036854775808 -INFO 2022-10-06 13:37:59,720 [shard 0] raft - [group_id:0, {redpanda/controller/0}] consensus.cc:1188 - started raft, log offsets: {start_offset:-9223372036854775808, committed_offset:-9223372036854775808, committed_offset_term:-9223372036854775808, dirty_offset:-9223372036854775808, dirty_offset_term:-9223372036854775808, last_term_start_offset:-9223372036854775808}, term: 0, configuration: {current: {voters: {{id: {0}, revision: {0}}}, learners: {}}, old:{nullopt}, revision: 0, brokers: {{id: 0, kafka_advertised_listeners: {{OUTSIDE:{host: localhost, port: 49238}}, {PLAINTEXT:{host: f5b812c0f0a4, port: 29092}}}, rpc_address: {host: 0.0.0.0, port: 33145}, rack: {nullopt}, properties: {cores 1, mem_available 0, disk_available 0}, membership_state: active}}} -2022-10-06 15:37:59,721 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,720 [shard 0] raft - [group_id:0, {redpanda/controller/0}] consensus.cc:1188 - started raft, log offsets: {start_offset:-9223372036854775808, committed_offset:-9223372036854775808, committed_offset_term:-9223372036854775808, dirty_offset:-9223372036854775808, dirty_offset_term:-9223372036854775808, last_term_start_offset:-9223372036854775808}, term: 0, configuration: {current: {voters: {{id: {0}, revision: {0}}}, learners: {}}, old:{nullopt}, revision: 0, brokers: {{id: 0, kafka_advertised_listeners: {{OUTSIDE:{host: localhost, port: 49238}}, {PLAINTEXT:{host: f5b812c0f0a4, port: 29092}}}, rpc_address: {host: 0.0.0.0, port: 33145}, rack: {nullopt}, properties: {cores 1, mem_available 0, disk_available 0}, membership_state: active}}} -INFO 2022-10-06 13:37:59,731 [shard 0] cluster - members_manager.cc:72 - starting cluster::members_manager... -INFO 2022-10-06 13:37:59,731 [shard 0] cluster - state_machine.cc:29 - Starting state machine for ntp={redpanda/controller/0} -INFO 2022-10-06 13:37:59,732 [shard 0] cluster - leader_balancer.cc:92 - Leader balancer: controller leadership lost -2022-10-06 15:37:59,732 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,731 [shard 0] cluster - members_manager.cc:72 - starting cluster::members_manager... -INFO 2022-10-06 13:37:59,732 [shard 0] redpanda::main - application.cc:1114 - Started RPC server listening at {host: 0.0.0.0, port: 33145} -2022-10-06 15:37:59,732 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,731 [shard 0] cluster - state_machine.cc:29 - Starting state machine for ntp={redpanda/controller/0} -INFO 2022-10-06 13:37:59,732 [shard 0] redpanda::main - application.cc:1174 - Started Kafka API server listening at {{PLAINTEXT:{host: 0.0.0.0, port: 29092}}, {OUTSIDE:{host: 0.0.0.0, port: 9092}}} -2022-10-06 15:37:59,732 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,732 [shard 0] cluster - leader_balancer.cc:92 - Leader balancer: controller leadership lost -INFO 2022-10-06 13:37:59,732 [shard 0] raft - [group_id:0, {redpanda/controller/0}] vote_stm.cc:252 - became the leader term:1 -INFO 2022-10-06 13:37:59,732 [shard 0] cluster - leader_balancer.cc:86 - Leader balancer: controller leadership detected. Starting rebalancer in 30 seconds -2022-10-06 15:37:59,732 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,732 [shard 0] redpanda::main - application.cc:1114 - Started RPC server listening at {host: 0.0.0.0, port: 33145} -INFO 2022-10-06 13:37:59,732 [shard 0] storage - segment.cc:635 - Creating new segment /var/lib/redpanda/data/redpanda/controller/0_0/0-1-v1.log -2022-10-06 15:37:59,733 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,732 [shard 0] redpanda::main - application.cc:1174 - Started Kafka API server listening at {{PLAINTEXT:{host: 0.0.0.0, port: 29092}}, {OUTSIDE:{host: 0.0.0.0, port: 9092}}} -INFO 2022-10-06 13:37:59,732 [shard 0] admin_api_server - admin_server.cc:96 - Started HTTP admin service listening at {{:{host: 0.0.0.0, port: 9644}}} -INFO 2022-10-06 13:37:59,733 [shard 0] redpanda::main - application.cc:1013 - Started Pandaproxy listening at {{:{host: 0.0.0.0, port: 8082}}} -2022-10-06 15:37:59,733 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,732 [shard 0] raft - [group_id:0, {redpanda/controller/0}] vote_stm.cc:252 - became the leader term:1 -2022-10-06 15:37:59,733 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,732 [shard 0] cluster - leader_balancer.cc:86 - Leader balancer: controller leadership detected. Starting rebalancer in 30 seconds -2022-10-06 15:37:59,733 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,732 [shard 0] storage - segment.cc:635 - Creating new segment /var/lib/redpanda/data/redpanda/controller/0_0/0-1-v1.log -2022-10-06 15:37:59,733 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,732 [shard 0] admin_api_server - admin_server.cc:96 - Started HTTP admin service listening at {{:{host: 0.0.0.0, port: 9644}}} -2022-10-06 15:37:59,733 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,733 [shard 0] redpanda::main - application.cc:1013 - Started Pandaproxy listening at {{:{host: 0.0.0.0, port: 8082}}} -2022-10-06 15:37:59,733 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,733 [shard 0] redpanda::main - application.cc:1021 - Started Schema Registry listening at {{:{host: 0.0.0.0, port: 8081}}} -INFO 2022-10-06 13:37:59,733 [shard 0] redpanda::main - application.cc:1021 - Started Schema Registry listening at {{:{host: 0.0.0.0, port: 8081}}} -INFO 2022-10-06 13:37:59,733 [shard 0] redpanda::main - application.cc:1026 - Successfully started Redpanda! -2022-10-06 15:37:59,733 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:37:59,733 [shard 0] redpanda::main - application.cc:1026 - Successfully started Redpanda! -2022-10-06 15:37:59,743 INFO [🐳 .11.8]] (pool-3-thread-1) Container vectorized/redpanda:v21.11.8 started in PT1.336889165S -2022-10-06 15:37:59,743 INFO [org.kie.kog.tes.KogitoKafkaContainer] (pool-3-thread-1) Kafka servers: OUTSIDE://localhost:49238 -Executing "/usr/lib/jvm/java-17-openjdk-17.0.4.1.1-1.fc36.x86_64/bin/java -Dquarkus.http.port=0 -Dquarkus.http.ssl-port=8444 -Dtest.url=http://localhost:0 -Dquarkus.log.file.path=/home/ftirados/git/kogito-examples/kogito-quarkus-examples/ruleunit-event-driven-quarkus/target/test-run/target/quarkus.log -Dquarkus.log.file.enable=true -Dkafka.bootstrap.servers=localhost:49238 -jar /home/ftirados/git/kogito-examples/kogito-quarkus-examples/ruleunit-event-driven-quarkus/target/quarkus-app/quarkus-run.jar" -__ ____ __ _____ ___ __ ____ ______ - --/ __ \/ / / / _ | / _ \/ //_/ / / / __/ - -/ /_/ / /_/ / __ |/ , _/ ,< / /_/ /\ \ ---\___\_\____/_/ |_/_/|_/_/|_|\____/___/ -2022-10-06 15:38:00,016 WARN [io.qua.config] (main) Unrecognized configuration key "quarkus.swagger-ui.always-include" was provided; it will be ignored; verify that the dependency extension for this configuration is set or that you did not make a typo -2022-10-06 15:38:00,480 INFO [io.sma.rea.mes.kafka] (main) SRMSG18229: Configured topics for channel 'kogito_incoming_stream': [ruleunit-event-driven-requests] -2022-10-06 15:38:00,486 INFO [io.sma.rea.mes.kafka] (main) SRMSG18214: Key deserializer omitted, using String as default -2022-10-06 15:38:00,638 INFO [io.sma.rea.mes.kafka] (main) SRMSG18258: Kafka producer kafka-producer-kogito_outgoing_stream, connected to Kafka brokers 'localhost:49238', is configured to write records to 'ruleunit-event-driven-responses' -2022-10-06 15:38:00,678 INFO [io.sma.rea.mes.kafka] (smallrye-kafka-consumer-thread-0) SRMSG18257: Kafka consumer kafka-consumer-kogito_incoming_stream, connected to Kafka brokers 'localhost:49238', belongs to the 'ruleunit-event-driven-example' consumer group and is configured to poll records from [ruleunit-event-driven-requests] -INFO 2022-10-06 13:38:00,821 [shard 0] cluster - topics_frontend.cc:71 - Create topics {{configuration: { topic: {ns: {kafka}, topic: {ruleunit-event-driven-requests}}, partition_count: 1, replication_factor: 1, properties: { compression: {nullopt}, cleanup_policy_bitflags: {nullopt}, compaction_strategy: {nullopt}, retention_bytes: {}, retention_duration_ms: {}, segment_size: {nullopt}, timestamp_type: {nullopt}, recovery_enabled: {nullopt}, shadow_indexing: {nullopt} }}, custom_assignments: {}}} -2022-10-06 15:38:00,821 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:00,821 [shard 0] cluster - topics_frontend.cc:71 - Create topics {{configuration: { topic: {ns: {kafka}, topic: {ruleunit-event-driven-requests}}, partition_count: 1, replication_factor: 1, properties: { compression: {nullopt}, cleanup_policy_bitflags: {nullopt}, compaction_strategy: {nullopt}, retention_bytes: {}, retention_duration_ms: {}, segment_size: {nullopt}, timestamp_type: {nullopt}, recovery_enabled: {nullopt}, shadow_indexing: {nullopt} }}, custom_assignments: {}}} -INFO 2022-10-06 13:38:00,845 [shard 0] cluster - partition_manager.cc:80 - Log created manage completed, ntp: {kafka/ruleunit-event-driven-requests/0}, rev: 2, 0 segments, 0 bytes -INFO 2022-10-06 13:38:00,845 [shard 0] raft - [group_id:1, {kafka/ruleunit-event-driven-requests/0}] consensus.cc:992 - Starting -INFO 2022-10-06 13:38:00,845 [shard 0] raft - [group_id:1, {kafka/ruleunit-event-driven-requests/0}] consensus.cc:1024 - Starting with voted_for {id: {-2147483648}, revision: {-9223372036854775808}} term 0 initial_state true -2022-10-06 15:38:00,845 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:00,845 [shard 0] cluster - partition_manager.cc:80 - Log created manage completed, ntp: {kafka/ruleunit-event-driven-requests/0}, rev: 2, 0 segments, 0 bytes -2022-10-06 15:38:00,845 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:00,845 [shard 0] raft - [group_id:1, {kafka/ruleunit-event-driven-requests/0}] consensus.cc:992 - Starting -2022-10-06 15:38:00,845 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:00,845 [shard 0] raft - [group_id:1, {kafka/ruleunit-event-driven-requests/0}] consensus.cc:1024 - Starting with voted_for {id: {-2147483648}, revision: {-9223372036854775808}} term 0 initial_state true -2022-10-06 15:38:00,861 INFO [org.kie.kog.add.qua.mes.com.AbstractQuarkusCloudEventReceiver] (main) Subscribing consumer for class class org.kie.kogito.queries.LoanUnit -2022-10-06 15:38:00,863 INFO [org.kie.kog.add.qua.mes.com.AbstractQuarkusCloudEventReceiver] (main) Subscribing consumer for class class org.kie.kogito.queries.LoanUnit -2022-10-06 15:38:00,866 INFO [org.kie.kog.add.qua.mes.com.QuarkusKogitoExtensionInitializer] (main) Registered Kogito CloudEvent extension -INFO 2022-10-06 13:38:00,867 [shard 0] offset_translator - ntp: {kafka/ruleunit-event-driven-requests/0} - offset_translator.cc:90 - resetting offset translation state -2022-10-06 15:38:00,867 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:00,867 [shard 0] offset_translator - ntp: {kafka/ruleunit-event-driven-requests/0} - offset_translator.cc:90 - resetting offset translation state -2022-10-06 15:38:00,868 INFO [org.kie.kog.add.qua.mes.com.AbstractQuarkusCloudEventReceiver] (main) Subscribing consumer for class class org.kie.kogito.queries.LoanUnit -INFO 2022-10-06 13:38:00,889 [shard 0] offset_translator - ntp: {kafka/ruleunit-event-driven-requests/0} - offset_translator.cc:141 - started, state: {base offset/delta: {-9223372036854775808}/0, map size: 1, last delta: 0}, highest_known_offset: -9223372036854775808 -INFO 2022-10-06 13:38:00,889 [shard 0] raft - [group_id:1, {kafka/ruleunit-event-driven-requests/0}] consensus.cc:1066 - Read bootstrap state: data_seen 0 config_seen 0 eol false commit 0 term 0 prev_idx 0 prev_term 0 config_tracker -9223372036854775808 commit_base_tracker -9223372036854775808 configurations {} -INFO 2022-10-06 13:38:00,889 [shard 0] raft - [group_id:1, {kafka/ruleunit-event-driven-requests/0}] consensus.cc:1067 - Current log offsets: {start_offset:-9223372036854775808, committed_offset:-9223372036854775808, committed_offset_term:-9223372036854775808, dirty_offset:-9223372036854775808, dirty_offset_term:-9223372036854775808, last_term_start_offset:-9223372036854775808} -INFO 2022-10-06 13:38:00,889 [shard 0] raft - [group_id:1, {kafka/ruleunit-event-driven-requests/0}] consensus.cc:1091 - Truncating configurations at -9223372036854775808 -2022-10-06 15:38:00,890 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:00,889 [shard 0] offset_translator - ntp: {kafka/ruleunit-event-driven-requests/0} - offset_translator.cc:141 - started, state: {base offset/delta: {-9223372036854775808}/0, map size: 1, last delta: 0}, highest_known_offset: -9223372036854775808 -2022-10-06 15:38:00,890 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:00,889 [shard 0] raft - [group_id:1, {kafka/ruleunit-event-driven-requests/0}] consensus.cc:1066 - Read bootstrap state: data_seen 0 config_seen 0 eol false commit 0 term 0 prev_idx 0 prev_term 0 config_tracker -9223372036854775808 commit_base_tracker -9223372036854775808 configurations {} -2022-10-06 15:38:00,890 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:00,889 [shard 0] raft - [group_id:1, {kafka/ruleunit-event-driven-requests/0}] consensus.cc:1067 - Current log offsets: {start_offset:-9223372036854775808, committed_offset:-9223372036854775808, committed_offset_term:-9223372036854775808, dirty_offset:-9223372036854775808, dirty_offset_term:-9223372036854775808, last_term_start_offset:-9223372036854775808} -2022-10-06 15:38:00,890 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:00,889 [shard 0] raft - [group_id:1, {kafka/ruleunit-event-driven-requests/0}] consensus.cc:1091 - Truncating configurations at -9223372036854775808 -INFO 2022-10-06 13:38:00,911 [shard 0] offset_translator - ntp: {kafka/ruleunit-event-driven-requests/0} - offset_translator.cc:203 - synced with log, state: {base offset/delta: {-9223372036854775808}/0, map size: 1, last delta: 0}, highest_known_offset: -9223372036854775808 -INFO 2022-10-06 13:38:00,911 [shard 0] raft - [group_id:1, {kafka/ruleunit-event-driven-requests/0}] consensus.cc:1188 - started raft, log offsets: {start_offset:-9223372036854775808, committed_offset:-9223372036854775808, committed_offset_term:-9223372036854775808, dirty_offset:-9223372036854775808, dirty_offset_term:-9223372036854775808, last_term_start_offset:-9223372036854775808}, term: 0, configuration: {current: {voters: {{id: {0}, revision: {2}}}, learners: {}}, old:{nullopt}, revision: 2, brokers: {{id: 0, kafka_advertised_listeners: {{OUTSIDE:{host: localhost, port: 49238}}, {PLAINTEXT:{host: f5b812c0f0a4, port: 29092}}}, rpc_address: {host: 0.0.0.0, port: 33145}, rack: {nullopt}, properties: {cores 1, mem_available 0, disk_available 0}, membership_state: active}}} -INFO 2022-10-06 13:38:00,911 [shard 0] cluster - state_machine.cc:29 - Starting state machine for ntp={kafka/ruleunit-event-driven-requests/0} -INFO 2022-10-06 13:38:00,911 [shard 0] cluster - controller_backend.cc:437 - partition operation {type: addition, ntp: {kafka/ruleunit-event-driven-requests/0}, offset: 2, new_assignment: { id: 0, group_id: 1, replicas: {{node_id: 0, shard: 0}} }, previous_assignment: {nullopt}} finished -2022-10-06 15:38:00,912 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:00,911 [shard 0] offset_translator - ntp: {kafka/ruleunit-event-driven-requests/0} - offset_translator.cc:203 - synced with log, state: {base offset/delta: {-9223372036854775808}/0, map size: 1, last delta: 0}, highest_known_offset: -9223372036854775808 -2022-10-06 15:38:00,912 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:00,911 [shard 0] raft - [group_id:1, {kafka/ruleunit-event-driven-requests/0}] consensus.cc:1188 - started raft, log offsets: {start_offset:-9223372036854775808, committed_offset:-9223372036854775808, committed_offset_term:-9223372036854775808, dirty_offset:-9223372036854775808, dirty_offset_term:-9223372036854775808, last_term_start_offset:-9223372036854775808}, term: 0, configuration: {current: {voters: {{id: {0}, revision: {2}}}, learners: {}}, old:{nullopt}, revision: 2, brokers: {{id: 0, kafka_advertised_listeners: {{OUTSIDE:{host: localhost, port: 49238}}, {PLAINTEXT:{host: f5b812c0f0a4, port: 29092}}}, rpc_address: {host: 0.0.0.0, port: 33145}, rack: {nullopt}, properties: {cores 1, mem_available 0, disk_available 0}, membership_state: active}}} -2022-10-06 15:38:00,912 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:00,911 [shard 0] cluster - state_machine.cc:29 - Starting state machine for ntp={kafka/ruleunit-event-driven-requests/0} -2022-10-06 15:38:00,912 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:00,911 [shard 0] cluster - controller_backend.cc:437 - partition operation {type: addition, ntp: {kafka/ruleunit-event-driven-requests/0}, offset: 2, new_assignment: { id: 0, group_id: 1, replicas: {{node_id: 0, shard: 0}} }, previous_assignment: {nullopt}} finished -INFO 2022-10-06 13:38:00,922 [shard 0] raft - [group_id:1, {kafka/ruleunit-event-driven-requests/0}] vote_stm.cc:252 - became the leader term:1 -INFO 2022-10-06 13:38:00,923 [shard 0] storage - segment.cc:635 - Creating new segment /var/lib/redpanda/data/kafka/ruleunit-event-driven-requests/0_2/0-1-v1.log -2022-10-06 15:38:00,923 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:00,922 [shard 0] raft - [group_id:1, {kafka/ruleunit-event-driven-requests/0}] vote_stm.cc:252 - became the leader term:1 -2022-10-06 15:38:00,923 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:00,923 [shard 0] storage - segment.cc:635 - Creating new segment /var/lib/redpanda/data/kafka/ruleunit-event-driven-requests/0_2/0-1-v1.log -2022-10-06 15:38:00,924 INFO [io.quarkus] (main) ruleunit-event-driven-quarkus 2.0.0-SNAPSHOT on JVM (powered by Quarkus 2.13.0.Final) started in 1.112s. Listening on: http://0.0.0.0:41805 -2022-10-06 15:38:00,925 INFO [io.quarkus] (main) Profile prod activated. -2022-10-06 15:38:00,925 INFO [io.quarkus] (main) Installed features: [cdi, kafka-client, kogito-addon-events-rules-extension, kogito-addon-messaging-extension, kogito-rules, resteasy, resteasy-jackson, smallrye-context-propagation, smallrye-health, smallrye-reactive-messaging, smallrye-reactive-messaging-kafka, vertx] -INFO 2022-10-06 13:38:00,930 [shard 0] cluster - topics_frontend.cc:71 - Create topics {{configuration: { topic: {ns: {kafka_internal}, topic: {group}}, partition_count: 1, replication_factor: 1, properties: { compression: {nullopt}, cleanup_policy_bitflags: {compact}, compaction_strategy: {nullopt}, retention_bytes: {}, retention_duration_ms: {}, segment_size: {nullopt}, timestamp_type: {nullopt}, recovery_enabled: {nullopt}, shadow_indexing: {nullopt} }}, custom_assignments: {}}} -2022-10-06 15:38:00,930 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:00,930 [shard 0] cluster - topics_frontend.cc:71 - Create topics {{configuration: { topic: {ns: {kafka_internal}, topic: {group}}, partition_count: 1, replication_factor: 1, properties: { compression: {nullopt}, cleanup_policy_bitflags: {compact}, compaction_strategy: {nullopt}, retention_bytes: {}, retention_duration_ms: {}, segment_size: {nullopt}, timestamp_type: {nullopt}, recovery_enabled: {nullopt}, shadow_indexing: {nullopt} }}, custom_assignments: {}}} -INFO 2022-10-06 13:38:00,938 [shard 0] cluster - partition_manager.cc:80 - Log created manage completed, ntp: {kafka_internal/group/0}, rev: 4, 0 segments, 0 bytes -INFO 2022-10-06 13:38:00,938 [shard 0] raft - [group_id:2, {kafka_internal/group/0}] consensus.cc:992 - Starting -INFO 2022-10-06 13:38:00,938 [shard 0] raft - [group_id:2, {kafka_internal/group/0}] consensus.cc:1024 - Starting with voted_for {id: {-2147483648}, revision: {-9223372036854775808}} term 0 initial_state true -2022-10-06 15:38:00,938 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:00,938 [shard 0] cluster - partition_manager.cc:80 - Log created manage completed, ntp: {kafka_internal/group/0}, rev: 4, 0 segments, 0 bytes -2022-10-06 15:38:00,938 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:00,938 [shard 0] raft - [group_id:2, {kafka_internal/group/0}] consensus.cc:992 - Starting -2022-10-06 15:38:00,938 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:00,938 [shard 0] raft - [group_id:2, {kafka_internal/group/0}] consensus.cc:1024 - Starting with voted_for {id: {-2147483648}, revision: {-9223372036854775808}} term 0 initial_state true -INFO 2022-10-06 13:38:00,956 [shard 0] raft - [group_id:2, {kafka_internal/group/0}] consensus.cc:1066 - Read bootstrap state: data_seen 0 config_seen 0 eol false commit 0 term 0 prev_idx 0 prev_term 0 config_tracker -9223372036854775808 commit_base_tracker -9223372036854775808 configurations {} -INFO 2022-10-06 13:38:00,956 [shard 0] raft - [group_id:2, {kafka_internal/group/0}] consensus.cc:1067 - Current log offsets: {start_offset:-9223372036854775808, committed_offset:-9223372036854775808, committed_offset_term:-9223372036854775808, dirty_offset:-9223372036854775808, dirty_offset_term:-9223372036854775808, last_term_start_offset:-9223372036854775808} -INFO 2022-10-06 13:38:00,956 [shard 0] raft - [group_id:2, {kafka_internal/group/0}] consensus.cc:1091 - Truncating configurations at -9223372036854775808 -2022-10-06 15:38:00,957 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:00,956 [shard 0] raft - [group_id:2, {kafka_internal/group/0}] consensus.cc:1066 - Read bootstrap state: data_seen 0 config_seen 0 eol false commit 0 term 0 prev_idx 0 prev_term 0 config_tracker -9223372036854775808 commit_base_tracker -9223372036854775808 configurations {} -2022-10-06 15:38:00,957 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:00,956 [shard 0] raft - [group_id:2, {kafka_internal/group/0}] consensus.cc:1067 - Current log offsets: {start_offset:-9223372036854775808, committed_offset:-9223372036854775808, committed_offset_term:-9223372036854775808, dirty_offset:-9223372036854775808, dirty_offset_term:-9223372036854775808, last_term_start_offset:-9223372036854775808} -2022-10-06 15:38:00,957 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:00,956 [shard 0] raft - [group_id:2, {kafka_internal/group/0}] consensus.cc:1091 - Truncating configurations at -9223372036854775808 -INFO 2022-10-06 13:38:00,978 [shard 0] raft - [group_id:2, {kafka_internal/group/0}] consensus.cc:1188 - started raft, log offsets: {start_offset:-9223372036854775808, committed_offset:-9223372036854775808, committed_offset_term:-9223372036854775808, dirty_offset:-9223372036854775808, dirty_offset_term:-9223372036854775808, last_term_start_offset:-9223372036854775808}, term: 0, configuration: {current: {voters: {{id: {0}, revision: {4}}}, learners: {}}, old:{nullopt}, revision: 4, brokers: {{id: 0, kafka_advertised_listeners: {{OUTSIDE:{host: localhost, port: 49238}}, {PLAINTEXT:{host: f5b812c0f0a4, port: 29092}}}, rpc_address: {host: 0.0.0.0, port: 33145}, rack: {nullopt}, properties: {cores 1, mem_available 0, disk_available 0}, membership_state: active}}} -INFO 2022-10-06 13:38:00,978 [shard 0] cluster - controller_backend.cc:437 - partition operation {type: addition, ntp: {kafka_internal/group/0}, offset: 4, new_assignment: { id: 0, group_id: 2, replicas: {{node_id: 0, shard: 0}} }, previous_assignment: {nullopt}} finished -2022-10-06 15:38:00,978 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:00,978 [shard 0] raft - [group_id:2, {kafka_internal/group/0}] consensus.cc:1188 - started raft, log offsets: {start_offset:-9223372036854775808, committed_offset:-9223372036854775808, committed_offset_term:-9223372036854775808, dirty_offset:-9223372036854775808, dirty_offset_term:-9223372036854775808, last_term_start_offset:-9223372036854775808}, term: 0, configuration: {current: {voters: {{id: {0}, revision: {4}}}, learners: {}}, old:{nullopt}, revision: 4, brokers: {{id: 0, kafka_advertised_listeners: {{OUTSIDE:{host: localhost, port: 49238}}, {PLAINTEXT:{host: f5b812c0f0a4, port: 29092}}}, rpc_address: {host: 0.0.0.0, port: 33145}, rack: {nullopt}, properties: {cores 1, mem_available 0, disk_available 0}, membership_state: active}}} -2022-10-06 15:38:00,979 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:00,978 [shard 0] cluster - controller_backend.cc:437 - partition operation {type: addition, ntp: {kafka_internal/group/0}, offset: 4, new_assignment: { id: 0, group_id: 2, replicas: {{node_id: 0, shard: 0}} }, previous_assignment: {nullopt}} finished -INFO 2022-10-06 13:38:00,989 [shard 0] raft - [group_id:2, {kafka_internal/group/0}] vote_stm.cc:252 - became the leader term:1 -INFO 2022-10-06 13:38:00,989 [shard 0] storage - segment.cc:635 - Creating new segment /var/lib/redpanda/data/kafka_internal/group/0_4/0-1-v1.log -2022-10-06 15:38:00,989 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:00,989 [shard 0] raft - [group_id:2, {kafka_internal/group/0}] vote_stm.cc:252 - became the leader term:1 -2022-10-06 15:38:00,990 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:00,989 [shard 0] storage - segment.cc:635 - Creating new segment /var/lib/redpanda/data/kafka_internal/group/0_4/0-1-v1.log -INFO 2022-10-06 13:38:01,067 [shard 0] kafka - fetch_session_cache.cc:106 - fetch session created: 1 -2022-10-06 15:38:01,067 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:01,067 [shard 0] kafka - fetch_session_cache.cc:106 - fetch session created: 1 -2022-10-06 15:38:01,101 INFO [org.apa.kaf.cli.con.ConsumerConfig] (main) ConsumerConfig values: - allow.auto.create.topics = true - auto.commit.interval.ms = 5000 - auto.offset.reset = earliest - bootstrap.servers = [localhost:49238] - check.crcs = true - client.dns.lookup = use_all_dns_ips - client.id = consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-1 - client.rack = - connections.max.idle.ms = 540000 - default.api.timeout.ms = 60000 - enable.auto.commit = false - exclude.internal.topics = true - fetch.max.bytes = 52428800 - fetch.max.wait.ms = 500 - fetch.min.bytes = 1 - group.id = org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer - group.instance.id = null - heartbeat.interval.ms = 3000 - interceptor.classes = [] - internal.leave.group.on.close = true - internal.throw.on.fetch.stable.offset.unsupported = false - isolation.level = read_uncommitted - key.deserializer = class org.apache.kafka.common.serialization.StringDeserializer - max.partition.fetch.bytes = 1048576 - max.poll.interval.ms = 300000 - max.poll.records = 500 - metadata.max.age.ms = 300000 - metric.reporters = [] - metrics.num.samples = 2 - metrics.recording.level = INFO - metrics.sample.window.ms = 30000 - partition.assignment.strategy = [class org.apache.kafka.clients.consumer.RangeAssignor, class org.apache.kafka.clients.consumer.CooperativeStickyAssignor] - receive.buffer.bytes = 65536 - reconnect.backoff.max.ms = 1000 - reconnect.backoff.ms = 50 - request.timeout.ms = 30000 - retry.backoff.ms = 100 - sasl.client.callback.handler.class = null - sasl.jaas.config = null - sasl.kerberos.kinit.cmd = /usr/bin/kinit - sasl.kerberos.min.time.before.relogin = 60000 - sasl.kerberos.service.name = null - sasl.kerberos.ticket.renew.jitter = 0.05 - sasl.kerberos.ticket.renew.window.factor = 0.8 - sasl.login.callback.handler.class = null - sasl.login.class = null - sasl.login.connect.timeout.ms = null - sasl.login.read.timeout.ms = null - sasl.login.refresh.buffer.seconds = 300 - sasl.login.refresh.min.period.seconds = 60 - sasl.login.refresh.window.factor = 0.8 - sasl.login.refresh.window.jitter = 0.05 - sasl.login.retry.backoff.max.ms = 10000 - sasl.login.retry.backoff.ms = 100 - sasl.mechanism = GSSAPI - sasl.oauthbearer.clock.skew.seconds = 30 - sasl.oauthbearer.expected.audience = null - sasl.oauthbearer.expected.issuer = null - sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 - sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 - sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 - sasl.oauthbearer.jwks.endpoint.url = null - sasl.oauthbearer.scope.claim.name = scope - sasl.oauthbearer.sub.claim.name = sub - sasl.oauthbearer.token.endpoint.url = null - security.protocol = PLAINTEXT - security.providers = null - send.buffer.bytes = 131072 - session.timeout.ms = 45000 - socket.connection.setup.timeout.max.ms = 30000 - socket.connection.setup.timeout.ms = 10000 - ssl.cipher.suites = null - ssl.enabled.protocols = [TLSv1.2, TLSv1.3] - ssl.endpoint.identification.algorithm = https - ssl.engine.factory.class = null - ssl.key.password = null - ssl.keymanager.algorithm = SunX509 - ssl.keystore.certificate.chain = null - ssl.keystore.key = null - ssl.keystore.location = null - ssl.keystore.password = null - ssl.keystore.type = JKS - ssl.protocol = TLSv1.3 - ssl.provider = null - ssl.secure.random.implementation = null - ssl.trustmanager.algorithm = PKIX - ssl.truststore.certificates = null - ssl.truststore.location = null - ssl.truststore.password = null - ssl.truststore.type = JKS - value.deserializer = class org.apache.kafka.common.serialization.StringDeserializer - -2022-10-06 15:38:01,173 INFO [org.apa.kaf.com.uti.AppInfoParser] (main) Kafka version: 3.2.1 -2022-10-06 15:38:01,173 INFO [org.apa.kaf.com.uti.AppInfoParser] (main) Kafka commitId: b172a0a94f4ebb9f -2022-10-06 15:38:01,173 INFO [org.apa.kaf.com.uti.AppInfoParser] (main) Kafka startTimeMs: 1665063481172 -2022-10-06 15:38:01,174 INFO [org.apa.kaf.cli.con.KafkaConsumer] (pool-4-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-1, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Subscribed to topic(s): ruleunit-event-driven-responses -INFO 2022-10-06 13:38:01,350 [shard 0] cluster - topics_frontend.cc:71 - Create topics {{configuration: { topic: {ns: {kafka}, topic: {ruleunit-event-driven-responses}}, partition_count: 1, replication_factor: 1, properties: { compression: {nullopt}, cleanup_policy_bitflags: {nullopt}, compaction_strategy: {nullopt}, retention_bytes: {}, retention_duration_ms: {}, segment_size: {nullopt}, timestamp_type: {nullopt}, recovery_enabled: {nullopt}, shadow_indexing: {nullopt} }}, custom_assignments: {}}} -2022-10-06 15:38:01,350 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:01,350 [shard 0] cluster - topics_frontend.cc:71 - Create topics {{configuration: { topic: {ns: {kafka}, topic: {ruleunit-event-driven-responses}}, partition_count: 1, replication_factor: 1, properties: { compression: {nullopt}, cleanup_policy_bitflags: {nullopt}, compaction_strategy: {nullopt}, retention_bytes: {}, retention_duration_ms: {}, segment_size: {nullopt}, timestamp_type: {nullopt}, recovery_enabled: {nullopt}, shadow_indexing: {nullopt} }}, custom_assignments: {}}} -INFO 2022-10-06 13:38:01,374 [shard 0] cluster - partition_manager.cc:80 - Log created manage completed, ntp: {kafka/ruleunit-event-driven-responses/0}, rev: 6, 0 segments, 0 bytes -INFO 2022-10-06 13:38:01,374 [shard 0] raft - [group_id:3, {kafka/ruleunit-event-driven-responses/0}] consensus.cc:992 - Starting -INFO 2022-10-06 13:38:01,374 [shard 0] raft - [group_id:3, {kafka/ruleunit-event-driven-responses/0}] consensus.cc:1024 - Starting with voted_for {id: {-2147483648}, revision: {-9223372036854775808}} term 0 initial_state true -2022-10-06 15:38:01,374 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:01,374 [shard 0] cluster - partition_manager.cc:80 - Log created manage completed, ntp: {kafka/ruleunit-event-driven-responses/0}, rev: 6, 0 segments, 0 bytes -2022-10-06 15:38:01,374 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:01,374 [shard 0] raft - [group_id:3, {kafka/ruleunit-event-driven-responses/0}] consensus.cc:992 - Starting -2022-10-06 15:38:01,374 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:01,374 [shard 0] raft - [group_id:3, {kafka/ruleunit-event-driven-responses/0}] consensus.cc:1024 - Starting with voted_for {id: {-2147483648}, revision: {-9223372036854775808}} term 0 initial_state true -INFO 2022-10-06 13:38:01,396 [shard 0] offset_translator - ntp: {kafka/ruleunit-event-driven-responses/0} - offset_translator.cc:90 - resetting offset translation state -2022-10-06 15:38:01,396 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:01,396 [shard 0] offset_translator - ntp: {kafka/ruleunit-event-driven-responses/0} - offset_translator.cc:90 - resetting offset translation state -INFO 2022-10-06 13:38:01,420 [shard 0] offset_translator - ntp: {kafka/ruleunit-event-driven-responses/0} - offset_translator.cc:141 - started, state: {base offset/delta: {-9223372036854775808}/0, map size: 1, last delta: 0}, highest_known_offset: -9223372036854775808 -2022-10-06 15:38:01,421 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:01,420 [shard 0] offset_translator - ntp: {kafka/ruleunit-event-driven-responses/0} - offset_translator.cc:141 - started, state: {base offset/delta: {-9223372036854775808}/0, map size: 1, last delta: 0}, highest_known_offset: -9223372036854775808 -INFO 2022-10-06 13:38:01,420 [shard 0] raft - [group_id:3, {kafka/ruleunit-event-driven-responses/0}] consensus.cc:1066 - Read bootstrap state: data_seen 0 config_seen 0 eol false commit 0 term 0 prev_idx 0 prev_term 0 config_tracker -9223372036854775808 commit_base_tracker -9223372036854775808 configurations {} -INFO 2022-10-06 13:38:01,420 [shard 0] raft - [group_id:3, {kafka/ruleunit-event-driven-responses/0}] consensus.cc:1067 - Current log offsets: {start_offset:-9223372036854775808, committed_offset:-9223372036854775808, committed_offset_term:-9223372036854775808, dirty_offset:-9223372036854775808, dirty_offset_term:-9223372036854775808, last_term_start_offset:-9223372036854775808} -INFO 2022-10-06 13:38:01,420 [shard 0] raft - [group_id:3, {kafka/ruleunit-event-driven-responses/0}] consensus.cc:1091 - Truncating configurations at -9223372036854775808 -2022-10-06 15:38:01,421 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:01,420 [shard 0] raft - [group_id:3, {kafka/ruleunit-event-driven-responses/0}] consensus.cc:1066 - Read bootstrap state: data_seen 0 config_seen 0 eol false commit 0 term 0 prev_idx 0 prev_term 0 config_tracker -9223372036854775808 commit_base_tracker -9223372036854775808 configurations {} -2022-10-06 15:38:01,421 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:01,420 [shard 0] raft - [group_id:3, {kafka/ruleunit-event-driven-responses/0}] consensus.cc:1067 - Current log offsets: {start_offset:-9223372036854775808, committed_offset:-9223372036854775808, committed_offset_term:-9223372036854775808, dirty_offset:-9223372036854775808, dirty_offset_term:-9223372036854775808, last_term_start_offset:-9223372036854775808} -2022-10-06 15:38:01,421 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:01,420 [shard 0] raft - [group_id:3, {kafka/ruleunit-event-driven-responses/0}] consensus.cc:1091 - Truncating configurations at -9223372036854775808 -INFO 2022-10-06 13:38:01,443 [shard 0] offset_translator - ntp: {kafka/ruleunit-event-driven-responses/0} - offset_translator.cc:203 - synced with log, state: {base offset/delta: {-9223372036854775808}/0, map size: 1, last delta: 0}, highest_known_offset: -9223372036854775808 -INFO 2022-10-06 13:38:01,443 [shard 0] raft - [group_id:3, {kafka/ruleunit-event-driven-responses/0}] consensus.cc:1188 - started raft, log offsets: {start_offset:-9223372036854775808, committed_offset:-9223372036854775808, committed_offset_term:-9223372036854775808, dirty_offset:-9223372036854775808, dirty_offset_term:-9223372036854775808, last_term_start_offset:-9223372036854775808}, term: 0, configuration: {current: {voters: {{id: {0}, revision: {6}}}, learners: {}}, old:{nullopt}, revision: 6, brokers: {{id: 0, kafka_advertised_listeners: {{OUTSIDE:{host: localhost, port: 49238}}, {PLAINTEXT:{host: f5b812c0f0a4, port: 29092}}}, rpc_address: {host: 0.0.0.0, port: 33145}, rack: {nullopt}, properties: {cores 1, mem_available 0, disk_available 0}, membership_state: active}}} -INFO 2022-10-06 13:38:01,443 [shard 0] cluster - state_machine.cc:29 - Starting state machine for ntp={kafka/ruleunit-event-driven-responses/0} -INFO 2022-10-06 13:38:01,443 [shard 0] cluster - controller_backend.cc:437 - partition operation {type: addition, ntp: {kafka/ruleunit-event-driven-responses/0}, offset: 6, new_assignment: { id: 0, group_id: 3, replicas: {{node_id: 0, shard: 0}} }, previous_assignment: {nullopt}} finished -2022-10-06 15:38:01,443 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:01,443 [shard 0] offset_translator - ntp: {kafka/ruleunit-event-driven-responses/0} - offset_translator.cc:203 - synced with log, state: {base offset/delta: {-9223372036854775808}/0, map size: 1, last delta: 0}, highest_known_offset: -9223372036854775808 -2022-10-06 15:38:01,443 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:01,443 [shard 0] raft - [group_id:3, {kafka/ruleunit-event-driven-responses/0}] consensus.cc:1188 - started raft, log offsets: {start_offset:-9223372036854775808, committed_offset:-9223372036854775808, committed_offset_term:-9223372036854775808, dirty_offset:-9223372036854775808, dirty_offset_term:-9223372036854775808, last_term_start_offset:-9223372036854775808}, term: 0, configuration: {current: {voters: {{id: {0}, revision: {6}}}, learners: {}}, old:{nullopt}, revision: 6, brokers: {{id: 0, kafka_advertised_listeners: {{OUTSIDE:{host: localhost, port: 49238}}, {PLAINTEXT:{host: f5b812c0f0a4, port: 29092}}}, rpc_address: {host: 0.0.0.0, port: 33145}, rack: {nullopt}, properties: {cores 1, mem_available 0, disk_available 0}, membership_state: active}}} -2022-10-06 15:38:01,443 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:01,443 [shard 0] cluster - state_machine.cc:29 - Starting state machine for ntp={kafka/ruleunit-event-driven-responses/0} -2022-10-06 15:38:01,444 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:01,443 [shard 0] cluster - controller_backend.cc:437 - partition operation {type: addition, ntp: {kafka/ruleunit-event-driven-responses/0}, offset: 6, new_assignment: { id: 0, group_id: 3, replicas: {{node_id: 0, shard: 0}} }, previous_assignment: {nullopt}} finished -INFO 2022-10-06 13:38:01,454 [shard 0] raft - [group_id:3, {kafka/ruleunit-event-driven-responses/0}] vote_stm.cc:252 - became the leader term:1 -INFO 2022-10-06 13:38:01,454 [shard 0] storage - segment.cc:635 - Creating new segment /var/lib/redpanda/data/kafka/ruleunit-event-driven-responses/0_6/0-1-v1.log -2022-10-06 15:38:01,454 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:01,454 [shard 0] raft - [group_id:3, {kafka/ruleunit-event-driven-responses/0}] vote_stm.cc:252 - became the leader term:1 -2022-10-06 15:38:01,454 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:01,454 [shard 0] storage - segment.cc:635 - Creating new segment /var/lib/redpanda/data/kafka/ruleunit-event-driven-responses/0_6/0-1-v1.log -2022-10-06 15:38:01,466 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-4-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-1, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Discovered group coordinator localhost:49238 (id: 2147483647 rack: null) -2022-10-06 15:38:01,468 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-4-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-1, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] (Re-)joining group -2022-10-06 15:38:01,481 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-4-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-1, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Request joining group due to: need to re-join with the given member-id: consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-1-e3bb2d05-e4c5-4e4f-a008-3e574d459031 -2022-10-06 15:38:01,482 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-4-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-1, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Request joining group due to: rebalance failed due to 'The group member needs to have a valid member id before actually entering a consumer group.' (MemberIdRequiredException) -2022-10-06 15:38:01,482 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-4-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-1, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] (Re-)joining group -2022-10-06 15:38:01,483 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-4-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-1, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Successfully joined group with generation Generation{generationId=1, memberId='consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-1-e3bb2d05-e4c5-4e4f-a008-3e574d459031', protocol='range'} -2022-10-06 15:38:01,485 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-4-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-1, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Finished assignment for group at generation 1: {consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-1-e3bb2d05-e4c5-4e4f-a008-3e574d459031=Assignment(partitions=[ruleunit-event-driven-responses-0])} -2022-10-06 15:38:01,490 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-4-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-1, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Successfully synced group in generation Generation{generationId=1, memberId='consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-1-e3bb2d05-e4c5-4e4f-a008-3e574d459031', protocol='range'} -2022-10-06 15:38:01,490 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-4-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-1, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Notifying assignor about the new Assignment(partitions=[ruleunit-event-driven-responses-0]) -2022-10-06 15:38:01,492 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-4-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-1, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Adding newly assigned partitions: ruleunit-event-driven-responses-0 -2022-10-06 15:38:01,498 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-4-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-1, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Found no committed offset for partition ruleunit-event-driven-responses-0 -2022-10-06 15:38:01,507 INFO [org.apa.kaf.cli.con.int.SubscriptionState] (pool-4-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-1, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Resetting offset for partition ruleunit-event-driven-responses-0 to position FetchPosition{offset=0, offsetEpoch=Optional.empty, currentLeader=LeaderAndEpoch{leader=Optional[localhost:49238 (id: 0 rack: null)], epoch=absent}}. -INFO 2022-10-06 13:38:01,512 [shard 0] kafka - fetch_session_cache.cc:106 - fetch session created: 2 -2022-10-06 15:38:01,513 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:01,512 [shard 0] kafka - fetch_session_cache.cc:106 - fetch session created: 2 -2022-10-06 15:38:04,190 INFO [org.apa.kaf.cli.pro.ProducerConfig] (awaitility-thread) ProducerConfig values: - acks = -1 - batch.size = 16384 - bootstrap.servers = [localhost:49238] - buffer.memory = 33554432 - client.dns.lookup = use_all_dns_ips - client.id = org.kie.kogito.test.quarkus.kafka.KafkaTestClientProducer - compression.type = none - connections.max.idle.ms = 540000 - delivery.timeout.ms = 120000 - enable.idempotence = true - interceptor.classes = [] - key.serializer = class org.apache.kafka.common.serialization.StringSerializer - linger.ms = 0 - max.block.ms = 60000 - max.in.flight.requests.per.connection = 5 - max.request.size = 1048576 - metadata.max.age.ms = 300000 - metadata.max.idle.ms = 300000 - metric.reporters = [] - metrics.num.samples = 2 - metrics.recording.level = INFO - metrics.sample.window.ms = 30000 - partitioner.class = class org.apache.kafka.clients.producer.internals.DefaultPartitioner - receive.buffer.bytes = 32768 - reconnect.backoff.max.ms = 1000 - reconnect.backoff.ms = 50 - request.timeout.ms = 30000 - retries = 2147483647 - retry.backoff.ms = 100 - sasl.client.callback.handler.class = null - sasl.jaas.config = null - sasl.kerberos.kinit.cmd = /usr/bin/kinit - sasl.kerberos.min.time.before.relogin = 60000 - sasl.kerberos.service.name = null - sasl.kerberos.ticket.renew.jitter = 0.05 - sasl.kerberos.ticket.renew.window.factor = 0.8 - sasl.login.callback.handler.class = null - sasl.login.class = null - sasl.login.connect.timeout.ms = null - sasl.login.read.timeout.ms = null - sasl.login.refresh.buffer.seconds = 300 - sasl.login.refresh.min.period.seconds = 60 - sasl.login.refresh.window.factor = 0.8 - sasl.login.refresh.window.jitter = 0.05 - sasl.login.retry.backoff.max.ms = 10000 - sasl.login.retry.backoff.ms = 100 - sasl.mechanism = GSSAPI - sasl.oauthbearer.clock.skew.seconds = 30 - sasl.oauthbearer.expected.audience = null - sasl.oauthbearer.expected.issuer = null - sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 - sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 - sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 - sasl.oauthbearer.jwks.endpoint.url = null - sasl.oauthbearer.scope.claim.name = scope - sasl.oauthbearer.sub.claim.name = sub - sasl.oauthbearer.token.endpoint.url = null - security.protocol = PLAINTEXT - security.providers = null - send.buffer.bytes = 131072 - socket.connection.setup.timeout.max.ms = 30000 - socket.connection.setup.timeout.ms = 10000 - ssl.cipher.suites = null - ssl.enabled.protocols = [TLSv1.2, TLSv1.3] - ssl.endpoint.identification.algorithm = https - ssl.engine.factory.class = null - ssl.key.password = null - ssl.keymanager.algorithm = SunX509 - ssl.keystore.certificate.chain = null - ssl.keystore.key = null - ssl.keystore.location = null - ssl.keystore.password = null - ssl.keystore.type = JKS - ssl.protocol = TLSv1.3 - ssl.provider = null - ssl.secure.random.implementation = null - ssl.trustmanager.algorithm = PKIX - ssl.truststore.certificates = null - ssl.truststore.location = null - ssl.truststore.password = null - ssl.truststore.type = JKS - transaction.timeout.ms = 60000 - transactional.id = null - value.serializer = class org.apache.kafka.common.serialization.StringSerializer - -2022-10-06 15:38:04,198 INFO [org.apa.kaf.cli.pro.KafkaProducer] (awaitility-thread) [Producer clientId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientProducer] Instantiated an idempotent producer. -2022-10-06 15:38:04,208 INFO [org.apa.kaf.com.uti.AppInfoParser] (awaitility-thread) Kafka version: 3.2.1 -2022-10-06 15:38:04,208 INFO [org.apa.kaf.com.uti.AppInfoParser] (awaitility-thread) Kafka commitId: b172a0a94f4ebb9f -2022-10-06 15:38:04,208 INFO [org.apa.kaf.com.uti.AppInfoParser] (awaitility-thread) Kafka startTimeMs: 1665063484208 -2022-10-06 15:38:04,208 INFO [org.kie.kog.tes.qua.kaf.KafkaTestClient] (awaitility-thread) Publishing event with data { - "specversion": "1.0", - "id": "a89b61a2-5644-487a-8a86-144855c5dce8", - "source": "SomeEventSource", - "type": "RulesRequest", - "subject": "TheSubject", - "kogitoruleunitid": "org.kie.kogito.queries.LoanUnit", - "kogitoruleunitquery": "FindApproved", - "data": { - "maxAmount": 5000, - "loanApplications": [ - { - "id": "ABC10001", - "amount": 2000, - "deposit": 100, - "applicant": { - "age": 45, - "name": "John" - } - }, - { - "id": "ABC10002", - "amount": 5000, - "deposit": 100, - "applicant": { - "age": 25, - "name": "Paul" - } - }, - { - "id": "ABC10015", - "amount": 1000, - "deposit": 100, - "applicant": { - "age": 12, - "name": "George" - } - } - ] - } -} - for topic ruleunit-event-driven-requests -INFO 2022-10-06 13:38:04,211 [shard 0] cluster - topics_frontend.cc:71 - Create topics {{configuration: { topic: {ns: {kafka_internal}, topic: {id_allocator}}, partition_count: 1, replication_factor: 1, properties: { compression: {nullopt}, cleanup_policy_bitflags: {none}, compaction_strategy: {nullopt}, retention_bytes: {}, retention_duration_ms: {}, segment_size: {nullopt}, timestamp_type: {nullopt}, recovery_enabled: {nullopt}, shadow_indexing: {nullopt} }}, custom_assignments: {}}} -2022-10-06 15:38:04,212 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:04,211 [shard 0] cluster - topics_frontend.cc:71 - Create topics {{configuration: { topic: {ns: {kafka_internal}, topic: {id_allocator}}, partition_count: 1, replication_factor: 1, properties: { compression: {nullopt}, cleanup_policy_bitflags: {none}, compaction_strategy: {nullopt}, retention_bytes: {}, retention_duration_ms: {}, segment_size: {nullopt}, timestamp_type: {nullopt}, recovery_enabled: {nullopt}, shadow_indexing: {nullopt} }}, custom_assignments: {}}} -INFO 2022-10-06 13:38:04,229 [shard 0] cluster - partition_manager.cc:80 - Log created manage completed, ntp: {kafka_internal/id_allocator/0}, rev: 8, 0 segments, 0 bytes -INFO 2022-10-06 13:38:04,229 [shard 0] raft - [group_id:4, {kafka_internal/id_allocator/0}] consensus.cc:992 - Starting -INFO 2022-10-06 13:38:04,229 [shard 0] raft - [group_id:4, {kafka_internal/id_allocator/0}] consensus.cc:1024 - Starting with voted_for {id: {-2147483648}, revision: {-9223372036854775808}} term 0 initial_state true -2022-10-06 15:38:04,230 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:04,229 [shard 0] cluster - partition_manager.cc:80 - Log created manage completed, ntp: {kafka_internal/id_allocator/0}, rev: 8, 0 segments, 0 bytes -2022-10-06 15:38:04,230 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:04,229 [shard 0] raft - [group_id:4, {kafka_internal/id_allocator/0}] consensus.cc:992 - Starting -2022-10-06 15:38:04,230 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:04,229 [shard 0] raft - [group_id:4, {kafka_internal/id_allocator/0}] consensus.cc:1024 - Starting with voted_for {id: {-2147483648}, revision: {-9223372036854775808}} term 0 initial_state true -INFO 2022-10-06 13:38:04,251 [shard 0] raft - [group_id:4, {kafka_internal/id_allocator/0}] consensus.cc:1066 - Read bootstrap state: data_seen 0 config_seen 0 eol false commit 0 term 0 prev_idx 0 prev_term 0 config_tracker -9223372036854775808 commit_base_tracker -9223372036854775808 configurations {} -INFO 2022-10-06 13:38:04,251 [shard 0] raft - [group_id:4, {kafka_internal/id_allocator/0}] consensus.cc:1067 - Current log offsets: {start_offset:-9223372036854775808, committed_offset:-9223372036854775808, committed_offset_term:-9223372036854775808, dirty_offset:-9223372036854775808, dirty_offset_term:-9223372036854775808, last_term_start_offset:-9223372036854775808} -INFO 2022-10-06 13:38:04,252 [shard 0] raft - [group_id:4, {kafka_internal/id_allocator/0}] consensus.cc:1091 - Truncating configurations at -9223372036854775808 -2022-10-06 15:38:04,252 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:04,251 [shard 0] raft - [group_id:4, {kafka_internal/id_allocator/0}] consensus.cc:1066 - Read bootstrap state: data_seen 0 config_seen 0 eol false commit 0 term 0 prev_idx 0 prev_term 0 config_tracker -9223372036854775808 commit_base_tracker -9223372036854775808 configurations {} -2022-10-06 15:38:04,252 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:04,251 [shard 0] raft - [group_id:4, {kafka_internal/id_allocator/0}] consensus.cc:1067 - Current log offsets: {start_offset:-9223372036854775808, committed_offset:-9223372036854775808, committed_offset_term:-9223372036854775808, dirty_offset:-9223372036854775808, dirty_offset_term:-9223372036854775808, last_term_start_offset:-9223372036854775808} -2022-10-06 15:38:04,252 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:04,252 [shard 0] raft - [group_id:4, {kafka_internal/id_allocator/0}] consensus.cc:1091 - Truncating configurations at -9223372036854775808 -INFO 2022-10-06 13:38:04,274 [shard 0] raft - [group_id:4, {kafka_internal/id_allocator/0}] consensus.cc:1188 - started raft, log offsets: {start_offset:-9223372036854775808, committed_offset:-9223372036854775808, committed_offset_term:-9223372036854775808, dirty_offset:-9223372036854775808, dirty_offset_term:-9223372036854775808, last_term_start_offset:-9223372036854775808}, term: 0, configuration: {current: {voters: {{id: {0}, revision: {8}}}, learners: {}}, old:{nullopt}, revision: 8, brokers: {{id: 0, kafka_advertised_listeners: {{OUTSIDE:{host: localhost, port: 49238}}, {PLAINTEXT:{host: f5b812c0f0a4, port: 29092}}}, rpc_address: {host: 0.0.0.0, port: 33145}, rack: {nullopt}, properties: {cores 1, mem_available 0, disk_available 0}, membership_state: active}}} -INFO 2022-10-06 13:38:04,274 [shard 0] cluster - state_machine.cc:29 - Starting state machine for ntp={kafka_internal/id_allocator/0} -INFO 2022-10-06 13:38:04,274 [shard 0] cluster - controller_backend.cc:437 - partition operation {type: addition, ntp: {kafka_internal/id_allocator/0}, offset: 8, new_assignment: { id: 0, group_id: 4, replicas: {{node_id: 0, shard: 0}} }, previous_assignment: {nullopt}} finished -2022-10-06 15:38:04,274 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:04,274 [shard 0] raft - [group_id:4, {kafka_internal/id_allocator/0}] consensus.cc:1188 - started raft, log offsets: {start_offset:-9223372036854775808, committed_offset:-9223372036854775808, committed_offset_term:-9223372036854775808, dirty_offset:-9223372036854775808, dirty_offset_term:-9223372036854775808, last_term_start_offset:-9223372036854775808}, term: 0, configuration: {current: {voters: {{id: {0}, revision: {8}}}, learners: {}}, old:{nullopt}, revision: 8, brokers: {{id: 0, kafka_advertised_listeners: {{OUTSIDE:{host: localhost, port: 49238}}, {PLAINTEXT:{host: f5b812c0f0a4, port: 29092}}}, rpc_address: {host: 0.0.0.0, port: 33145}, rack: {nullopt}, properties: {cores 1, mem_available 0, disk_available 0}, membership_state: active}}} -2022-10-06 15:38:04,275 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:04,274 [shard 0] cluster - state_machine.cc:29 - Starting state machine for ntp={kafka_internal/id_allocator/0} -2022-10-06 15:38:04,275 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:04,274 [shard 0] cluster - controller_backend.cc:437 - partition operation {type: addition, ntp: {kafka_internal/id_allocator/0}, offset: 8, new_assignment: { id: 0, group_id: 4, replicas: {{node_id: 0, shard: 0}} }, previous_assignment: {nullopt}} finished -INFO 2022-10-06 13:38:04,285 [shard 0] raft - [group_id:4, {kafka_internal/id_allocator/0}] vote_stm.cc:252 - became the leader term:1 -INFO 2022-10-06 13:38:04,285 [shard 0] storage - segment.cc:635 - Creating new segment /var/lib/redpanda/data/kafka_internal/id_allocator/0_8/0-1-v1.log -2022-10-06 15:38:04,286 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:04,285 [shard 0] raft - [group_id:4, {kafka_internal/id_allocator/0}] vote_stm.cc:252 - became the leader term:1 -2022-10-06 15:38:04,286 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:04,285 [shard 0] storage - segment.cc:635 - Creating new segment /var/lib/redpanda/data/kafka_internal/id_allocator/0_8/0-1-v1.log -2022-10-06 15:38:04,545 INFO [org.apa.kaf.cli.pro.int.TransactionManager] (kafka-producer-network-thread | org.kie.kogito.test.quarkus.kafka.KafkaTestClientProducer) [Producer clientId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientProducer] ProducerId set to 1 with epoch 0 -2022-10-06 15:38:04,579 INFO [org.apa.kaf.cli.pro.KafkaProducer] (awaitility-thread) [Producer clientId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientProducer] Closing the Kafka producer with timeoutMillis = 9223372036854775807 ms. -2022-10-06 15:38:04,582 INFO [org.apa.kaf.com.met.Metrics] (awaitility-thread) Metrics scheduler closed -2022-10-06 15:38:04,582 INFO [org.apa.kaf.com.met.Metrics] (awaitility-thread) Closing reporter org.apache.kafka.common.metrics.JmxReporter -2022-10-06 15:38:04,582 INFO [org.apa.kaf.com.met.Metrics] (awaitility-thread) Metrics reporters closed -2022-10-06 15:38:04,582 INFO [org.apa.kaf.com.uti.AppInfoParser] (awaitility-thread) App info kafka.producer for org.kie.kogito.test.quarkus.kafka.KafkaTestClientProducer unregistered -2022-10-06 15:38:05,587 INFO [io.sma.rea.mes.kafka] (vert.x-eventloop-thread-10) SRMSG18256: Initialize record store for topic-partition 'ruleunit-event-driven-requests-0' at position -1. -2022-10-06 15:38:05,597 DEBUG [org.kie.kog.add.qua.mes.com.AbstractQuarkusCloudEventReceiver] (vert.x-eventloop-thread-10) Received message { - "specversion": "1.0", - "id": "a89b61a2-5644-487a-8a86-144855c5dce8", - "source": "SomeEventSource", - "type": "RulesRequest", - "subject": "TheSubject", - "kogitoruleunitid": "org.kie.kogito.queries.LoanUnit", - "kogitoruleunitquery": "FindApproved", - "data": { - "maxAmount": 5000, - "loanApplications": [ - { - "id": "ABC10001", - "amount": 2000, - "deposit": 100, - "applicant": { - "age": 45, - "name": "John" - } - }, - { - "id": "ABC10002", - "amount": 5000, - "deposit": 100, - "applicant": { - "age": 25, - "name": "Paul" - } - }, - { - "id": "ABC10015", - "amount": 1000, - "deposit": 100, - "applicant": { - "age": 12, - "name": "George" - } - } - ] - } -} - -2022-10-06 15:38:05,617 DEBUG [org.kie.kog.eve.rul.EventDrivenRulesController] (vert.x-eventloop-thread-10) Processing event CloudEventWrapDataEvent [cloudEvent=CloudEvent{id='a89b61a2-5644-487a-8a86-144855c5dce8', source=SomeEventSource, type='RulesRequest', subject='TheSubject', data=JsonCloudEventData{node={"maxAmount":5000,"loanApplications":[{"id":"ABC10001","amount":2000,"deposit":100,"applicant":{"age":45,"name":"John"}},{"id":"ABC10002","amount":5000,"deposit":100,"applicant":{"age":25,"name":"Paul"}},{"id":"ABC10015","amount":1000,"deposit":100,"applicant":{"age":12,"name":"George"}}]}}, extensions={kogitoruleunitquery=FindApproved, kogitoruleunitid=org.kie.kogito.queries.LoanUnit}}] -2022-10-06 15:38:05,719 DEBUG [org.kie.kog.add.qua.mes.com.AbstractQuarkusCloudEventEmitter] (vert.x-eventloop-thread-10) publishing event CloudEvent{id='5a855b0a-c37b-4090-8ff5-ab6b81392d0f', source=find-approved, type='RulesResponse', subject='TheSubject', data=BytesCloudEventData{value=[91, 123, 34, 105, 100, 34, 58, 34, 65, 66, 67, 49, 48, 48, 48, 49, 34, 44, 34, 97, 112, 112, 108, 105, 99, 97, 110, 116, 34, 58, 123, 34, 110, 97, 109, 101, 34, 58, 34, 74, 111, 104, 110, 34, 44, 34, 97, 103, 101, 34, 58, 52, 53, 125, 44, 34, 97, 109, 111, 117, 110, 116, 34, 58, 50, 48, 48, 48, 44, 34, 100, 101, 112, 111, 115, 105, 116, 34, 58, 49, 48, 48, 44, 34, 97, 112, 112, 114, 111, 118, 101, 100, 34, 58, 116, 114, 117, 101, 125, 93]}, extensions={kogitoruleunitquery=FindApproved, kogitoruleunitid=org.kie.kogito.queries.LoanUnit}} for type RulesResponse -2022-10-06 15:38:05,726 DEBUG [org.kie.kog.eve.rul.EventDrivenRulesController] (vert.x-eventloop-thread-10) Processing event CloudEventWrapDataEvent [cloudEvent=CloudEvent{id='a89b61a2-5644-487a-8a86-144855c5dce8', source=SomeEventSource, type='RulesRequest', subject='TheSubject', data=JsonCloudEventData{node={"maxAmount":5000,"loanApplications":[{"id":"ABC10001","amount":2000,"deposit":100,"applicant":{"age":45,"name":"John"}},{"id":"ABC10002","amount":5000,"deposit":100,"applicant":{"age":25,"name":"Paul"}},{"id":"ABC10015","amount":1000,"deposit":100,"applicant":{"age":12,"name":"George"}}]}}, extensions={kogitoruleunitquery=FindApproved, kogitoruleunitid=org.kie.kogito.queries.LoanUnit}}] -2022-10-06 15:38:05,727 DEBUG [org.kie.kog.eve.rul.EventDrivenRulesController] (vert.x-eventloop-thread-10) Invalid request. Event CloudEventWrapDataEvent [cloudEvent=CloudEvent{id='a89b61a2-5644-487a-8a86-144855c5dce8', source=SomeEventSource, type='RulesRequest', subject='TheSubject', data=JsonCloudEventData{node={"maxAmount":5000,"loanApplications":[{"id":"ABC10001","amount":2000,"deposit":100,"applicant":{"age":45,"name":"John"}},{"id":"ABC10002","amount":5000,"deposit":100,"applicant":{"age":25,"name":"Paul"}},{"id":"ABC10015","amount":1000,"deposit":100,"applicant":{"age":12,"name":"George"}}]}}, extensions={kogitoruleunitquery=FindApproved, kogitoruleunitid=org.kie.kogito.queries.LoanUnit}}] with extension KogitoRulesExtension [ruleUnitId=org.kie.kogito.queries.LoanUnit, ruleUnitQuery=FindApproved] is not recognized by executor AbstractEventDrivenQueryExecutor [ruleUnit=org.kie.kogito.queries.LoanUnitRuleUnit@322c39d7, queryName=FindNotApprovedIdAndAmount, objectClass=class org.kie.kogito.queries.LoanUnit] -2022-10-06 15:38:05,728 DEBUG [org.kie.kog.eve.rul.EventDrivenRulesController] (vert.x-eventloop-thread-10) Processing event CloudEventWrapDataEvent [cloudEvent=CloudEvent{id='a89b61a2-5644-487a-8a86-144855c5dce8', source=SomeEventSource, type='RulesRequest', subject='TheSubject', data=JsonCloudEventData{node={"maxAmount":5000,"loanApplications":[{"id":"ABC10001","amount":2000,"deposit":100,"applicant":{"age":45,"name":"John"}},{"id":"ABC10002","amount":5000,"deposit":100,"applicant":{"age":25,"name":"Paul"}},{"id":"ABC10015","amount":1000,"deposit":100,"applicant":{"age":12,"name":"George"}}]}}, extensions={kogitoruleunitquery=FindApproved, kogitoruleunitid=org.kie.kogito.queries.LoanUnit}}] -2022-10-06 15:38:05,728 DEBUG [org.kie.kog.eve.rul.EventDrivenRulesController] (vert.x-eventloop-thread-10) Invalid request. Event CloudEventWrapDataEvent [cloudEvent=CloudEvent{id='a89b61a2-5644-487a-8a86-144855c5dce8', source=SomeEventSource, type='RulesRequest', subject='TheSubject', data=JsonCloudEventData{node={"maxAmount":5000,"loanApplications":[{"id":"ABC10001","amount":2000,"deposit":100,"applicant":{"age":45,"name":"John"}},{"id":"ABC10002","amount":5000,"deposit":100,"applicant":{"age":25,"name":"Paul"}},{"id":"ABC10015","amount":1000,"deposit":100,"applicant":{"age":12,"name":"George"}}]}}, extensions={kogitoruleunitquery=FindApproved, kogitoruleunitid=org.kie.kogito.queries.LoanUnit}}] with extension KogitoRulesExtension [ruleUnitId=org.kie.kogito.queries.LoanUnit, ruleUnitQuery=FindApproved] is not recognized by executor AbstractEventDrivenQueryExecutor [ruleUnit=org.kie.kogito.queries.LoanUnitRuleUnit@322c39d7, queryName=FindAllApplicationAmounts, objectClass=class org.kie.kogito.queries.LoanUnit] -2022-10-06 15:38:05,728 DEBUG [org.kie.kog.add.qua.mes.com.AbstractQuarkusCloudEventReceiver] (vert.x-eventloop-thread-10) Acking message id { - "specversion": "1.0", - "id": "a89b61a2-5644-487a-8a86-144855c5dce8", - "source": "SomeEventSource", - "type": "RulesRequest", - "subject": "TheSubject", - "kogitoruleunitid": "org.kie.kogito.queries.LoanUnit", - "kogitoruleunitquery": "FindApproved", - "data": { - "maxAmount": 5000, - "loanApplications": [ - { - "id": "ABC10001", - "amount": 2000, - "deposit": 100, - "applicant": { - "age": 45, - "name": "John" - } - }, - { - "id": "ABC10002", - "amount": 5000, - "deposit": 100, - "applicant": { - "age": 25, - "name": "Paul" - } - }, - { - "id": "ABC10015", - "amount": 1000, - "deposit": 100, - "applicant": { - "age": 12, - "name": "George" - } - } - ] - } -} - -2022-10-06 15:38:06,750 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-4-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-1, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Revoke previously assigned partitions ruleunit-event-driven-responses-0 -2022-10-06 15:38:06,753 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-4-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-1, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Member consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-1-e3bb2d05-e4c5-4e4f-a008-3e574d459031 sending LeaveGroup request to coordinator localhost:49238 (id: 2147483647 rack: null) due to the consumer is being closed -2022-10-06 15:38:06,754 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-4-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-1, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Resetting generation and member id due to: consumer pro-actively leaving the group -2022-10-06 15:38:06,754 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-4-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-1, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Request joining group due to: consumer pro-actively leaving the group -2022-10-06 15:38:06,755 INFO [org.apa.kaf.com.met.Metrics] (pool-4-thread-1) Metrics scheduler closed -2022-10-06 15:38:06,755 INFO [org.apa.kaf.com.met.Metrics] (pool-4-thread-1) Closing reporter org.apache.kafka.common.metrics.JmxReporter -2022-10-06 15:38:06,755 INFO [org.apa.kaf.com.met.Metrics] (pool-4-thread-1) Metrics reporters closed -2022-10-06 15:38:06,758 INFO [org.apa.kaf.com.uti.AppInfoParser] (pool-4-thread-1) App info kafka.consumer for consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-1 unregistered -2022-10-06 15:38:06,772 INFO [org.apa.kaf.cli.con.ConsumerConfig] (main) ConsumerConfig values: - allow.auto.create.topics = true - auto.commit.interval.ms = 5000 - auto.offset.reset = earliest - bootstrap.servers = [localhost:49238] - check.crcs = true - client.dns.lookup = use_all_dns_ips - client.id = consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-2 - client.rack = - connections.max.idle.ms = 540000 - default.api.timeout.ms = 60000 - enable.auto.commit = false - exclude.internal.topics = true - fetch.max.bytes = 52428800 - fetch.max.wait.ms = 500 - fetch.min.bytes = 1 - group.id = org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer - group.instance.id = null - heartbeat.interval.ms = 3000 - interceptor.classes = [] - internal.leave.group.on.close = true - internal.throw.on.fetch.stable.offset.unsupported = false - isolation.level = read_uncommitted - key.deserializer = class org.apache.kafka.common.serialization.StringDeserializer - max.partition.fetch.bytes = 1048576 - max.poll.interval.ms = 300000 - max.poll.records = 500 - metadata.max.age.ms = 300000 - metric.reporters = [] - metrics.num.samples = 2 - metrics.recording.level = INFO - metrics.sample.window.ms = 30000 - partition.assignment.strategy = [class org.apache.kafka.clients.consumer.RangeAssignor, class org.apache.kafka.clients.consumer.CooperativeStickyAssignor] - receive.buffer.bytes = 65536 - reconnect.backoff.max.ms = 1000 - reconnect.backoff.ms = 50 - request.timeout.ms = 30000 - retry.backoff.ms = 100 - sasl.client.callback.handler.class = null - sasl.jaas.config = null - sasl.kerberos.kinit.cmd = /usr/bin/kinit - sasl.kerberos.min.time.before.relogin = 60000 - sasl.kerberos.service.name = null - sasl.kerberos.ticket.renew.jitter = 0.05 - sasl.kerberos.ticket.renew.window.factor = 0.8 - sasl.login.callback.handler.class = null - sasl.login.class = null - sasl.login.connect.timeout.ms = null - sasl.login.read.timeout.ms = null - sasl.login.refresh.buffer.seconds = 300 - sasl.login.refresh.min.period.seconds = 60 - sasl.login.refresh.window.factor = 0.8 - sasl.login.refresh.window.jitter = 0.05 - sasl.login.retry.backoff.max.ms = 10000 - sasl.login.retry.backoff.ms = 100 - sasl.mechanism = GSSAPI - sasl.oauthbearer.clock.skew.seconds = 30 - sasl.oauthbearer.expected.audience = null - sasl.oauthbearer.expected.issuer = null - sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 - sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 - sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 - sasl.oauthbearer.jwks.endpoint.url = null - sasl.oauthbearer.scope.claim.name = scope - sasl.oauthbearer.sub.claim.name = sub - sasl.oauthbearer.token.endpoint.url = null - security.protocol = PLAINTEXT - security.providers = null - send.buffer.bytes = 131072 - session.timeout.ms = 45000 - socket.connection.setup.timeout.max.ms = 30000 - socket.connection.setup.timeout.ms = 10000 - ssl.cipher.suites = null - ssl.enabled.protocols = [TLSv1.2, TLSv1.3] - ssl.endpoint.identification.algorithm = https - ssl.engine.factory.class = null - ssl.key.password = null - ssl.keymanager.algorithm = SunX509 - ssl.keystore.certificate.chain = null - ssl.keystore.key = null - ssl.keystore.location = null - ssl.keystore.password = null - ssl.keystore.type = JKS - ssl.protocol = TLSv1.3 - ssl.provider = null - ssl.secure.random.implementation = null - ssl.trustmanager.algorithm = PKIX - ssl.truststore.certificates = null - ssl.truststore.location = null - ssl.truststore.password = null - ssl.truststore.type = JKS - value.deserializer = class org.apache.kafka.common.serialization.StringDeserializer - -2022-10-06 15:38:06,775 INFO [org.apa.kaf.com.uti.AppInfoParser] (main) Kafka version: 3.2.1 -2022-10-06 15:38:06,775 INFO [org.apa.kaf.com.uti.AppInfoParser] (main) Kafka commitId: b172a0a94f4ebb9f -2022-10-06 15:38:06,775 INFO [org.apa.kaf.com.uti.AppInfoParser] (main) Kafka startTimeMs: 1665063486775 -2022-10-06 15:38:06,775 INFO [org.apa.kaf.cli.con.KafkaConsumer] (pool-5-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-2, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Subscribed to topic(s): ruleunit-event-driven-responses -2022-10-06 15:38:06,778 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-5-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-2, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Discovered group coordinator localhost:49238 (id: 2147483647 rack: null) -2022-10-06 15:38:06,779 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-5-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-2, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] (Re-)joining group -2022-10-06 15:38:06,781 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-5-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-2, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Request joining group due to: need to re-join with the given member-id: consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-2-2f78b085-a7a3-45f8-80be-dc2f159efeef -2022-10-06 15:38:06,781 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-5-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-2, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Request joining group due to: rebalance failed due to 'The group member needs to have a valid member id before actually entering a consumer group.' (MemberIdRequiredException) -2022-10-06 15:38:06,781 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-5-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-2, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] (Re-)joining group -2022-10-06 15:38:06,782 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-5-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-2, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Successfully joined group with generation Generation{generationId=3, memberId='consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-2-2f78b085-a7a3-45f8-80be-dc2f159efeef', protocol='range'} -2022-10-06 15:38:06,782 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-5-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-2, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Finished assignment for group at generation 3: {consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-2-2f78b085-a7a3-45f8-80be-dc2f159efeef=Assignment(partitions=[ruleunit-event-driven-responses-0])} -2022-10-06 15:38:06,783 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-5-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-2, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Successfully synced group in generation Generation{generationId=3, memberId='consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-2-2f78b085-a7a3-45f8-80be-dc2f159efeef', protocol='range'} -2022-10-06 15:38:06,784 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-5-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-2, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Notifying assignor about the new Assignment(partitions=[ruleunit-event-driven-responses-0]) -2022-10-06 15:38:06,784 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-5-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-2, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Adding newly assigned partitions: ruleunit-event-driven-responses-0 -2022-10-06 15:38:06,784 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-5-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-2, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Setting offset for partition ruleunit-event-driven-responses-0 to the committed offset FetchPosition{offset=1, offsetEpoch=Optional.empty, currentLeader=LeaderAndEpoch{leader=Optional[localhost:49238 (id: 0 rack: null)], epoch=absent}} -INFO 2022-10-06 13:38:06,786 [shard 0] kafka - fetch_session_cache.cc:106 - fetch session created: 3 -2022-10-06 15:38:06,787 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:06,786 [shard 0] kafka - fetch_session_cache.cc:106 - fetch session created: 3 -2022-10-06 15:38:09,778 INFO [org.apa.kaf.cli.pro.ProducerConfig] (awaitility-thread) ProducerConfig values: - acks = -1 - batch.size = 16384 - bootstrap.servers = [localhost:49238] - buffer.memory = 33554432 - client.dns.lookup = use_all_dns_ips - client.id = org.kie.kogito.test.quarkus.kafka.KafkaTestClientProducer - compression.type = none - connections.max.idle.ms = 540000 - delivery.timeout.ms = 120000 - enable.idempotence = true - interceptor.classes = [] - key.serializer = class org.apache.kafka.common.serialization.StringSerializer - linger.ms = 0 - max.block.ms = 60000 - max.in.flight.requests.per.connection = 5 - max.request.size = 1048576 - metadata.max.age.ms = 300000 - metadata.max.idle.ms = 300000 - metric.reporters = [] - metrics.num.samples = 2 - metrics.recording.level = INFO - metrics.sample.window.ms = 30000 - partitioner.class = class org.apache.kafka.clients.producer.internals.DefaultPartitioner - receive.buffer.bytes = 32768 - reconnect.backoff.max.ms = 1000 - reconnect.backoff.ms = 50 - request.timeout.ms = 30000 - retries = 2147483647 - retry.backoff.ms = 100 - sasl.client.callback.handler.class = null - sasl.jaas.config = null - sasl.kerberos.kinit.cmd = /usr/bin/kinit - sasl.kerberos.min.time.before.relogin = 60000 - sasl.kerberos.service.name = null - sasl.kerberos.ticket.renew.jitter = 0.05 - sasl.kerberos.ticket.renew.window.factor = 0.8 - sasl.login.callback.handler.class = null - sasl.login.class = null - sasl.login.connect.timeout.ms = null - sasl.login.read.timeout.ms = null - sasl.login.refresh.buffer.seconds = 300 - sasl.login.refresh.min.period.seconds = 60 - sasl.login.refresh.window.factor = 0.8 - sasl.login.refresh.window.jitter = 0.05 - sasl.login.retry.backoff.max.ms = 10000 - sasl.login.retry.backoff.ms = 100 - sasl.mechanism = GSSAPI - sasl.oauthbearer.clock.skew.seconds = 30 - sasl.oauthbearer.expected.audience = null - sasl.oauthbearer.expected.issuer = null - sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 - sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 - sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 - sasl.oauthbearer.jwks.endpoint.url = null - sasl.oauthbearer.scope.claim.name = scope - sasl.oauthbearer.sub.claim.name = sub - sasl.oauthbearer.token.endpoint.url = null - security.protocol = PLAINTEXT - security.providers = null - send.buffer.bytes = 131072 - socket.connection.setup.timeout.max.ms = 30000 - socket.connection.setup.timeout.ms = 10000 - ssl.cipher.suites = null - ssl.enabled.protocols = [TLSv1.2, TLSv1.3] - ssl.endpoint.identification.algorithm = https - ssl.engine.factory.class = null - ssl.key.password = null - ssl.keymanager.algorithm = SunX509 - ssl.keystore.certificate.chain = null - ssl.keystore.key = null - ssl.keystore.location = null - ssl.keystore.password = null - ssl.keystore.type = JKS - ssl.protocol = TLSv1.3 - ssl.provider = null - ssl.secure.random.implementation = null - ssl.trustmanager.algorithm = PKIX - ssl.truststore.certificates = null - ssl.truststore.location = null - ssl.truststore.password = null - ssl.truststore.type = JKS - transaction.timeout.ms = 60000 - transactional.id = null - value.serializer = class org.apache.kafka.common.serialization.StringSerializer - -2022-10-06 15:38:09,780 INFO [org.apa.kaf.cli.pro.KafkaProducer] (awaitility-thread) [Producer clientId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientProducer] Instantiated an idempotent producer. -2022-10-06 15:38:09,784 INFO [org.apa.kaf.com.uti.AppInfoParser] (awaitility-thread) Kafka version: 3.2.1 -2022-10-06 15:38:09,784 INFO [org.apa.kaf.com.uti.AppInfoParser] (awaitility-thread) Kafka commitId: b172a0a94f4ebb9f -2022-10-06 15:38:09,784 INFO [org.apa.kaf.com.uti.AppInfoParser] (awaitility-thread) Kafka startTimeMs: 1665063489783 -2022-10-06 15:38:09,784 INFO [org.kie.kog.tes.qua.kaf.KafkaTestClient] (awaitility-thread) Publishing event with data { - "specversion": "1.0", - "id": "a89b61a2-5644-487a-8a86-144855c5dce8", - "source": "SomeEventSource", - "type": "RulesRequest", - "subject": "TheSubject", - "kogitoruleunitid": "org.kie.kogito.queries.LoanUnit", - "kogitoruleunitquery": "FindNotApprovedIdAndAmount", - "data": { - "maxAmount": 5000, - "loanApplications": [ - { - "id": "ABC10001", - "amount": 2000, - "deposit": 100, - "applicant": { - "age": 45, - "name": "John" - } - }, - { - "id": "ABC10002", - "amount": 5000, - "deposit": 100, - "applicant": { - "age": 25, - "name": "Paul" - } - }, - { - "id": "ABC10015", - "amount": 1000, - "deposit": 100, - "applicant": { - "age": 12, - "name": "George" - } - } - ] - } -} - for topic ruleunit-event-driven-requests -2022-10-06 15:38:09,786 INFO [org.apa.kaf.cli.pro.int.TransactionManager] (kafka-producer-network-thread | org.kie.kogito.test.quarkus.kafka.KafkaTestClientProducer) [Producer clientId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientProducer] ProducerId set to 2 with epoch 0 -2022-10-06 15:38:09,790 INFO [org.apa.kaf.cli.pro.KafkaProducer] (awaitility-thread) [Producer clientId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientProducer] Closing the Kafka producer with timeoutMillis = 9223372036854775807 ms. -2022-10-06 15:38:09,791 INFO [org.apa.kaf.com.met.Metrics] (awaitility-thread) Metrics scheduler closed -2022-10-06 15:38:09,791 INFO [org.apa.kaf.com.met.Metrics] (awaitility-thread) Closing reporter org.apache.kafka.common.metrics.JmxReporter -2022-10-06 15:38:09,791 INFO [org.apa.kaf.com.met.Metrics] (awaitility-thread) Metrics reporters closed -2022-10-06 15:38:09,791 INFO [org.apa.kaf.com.uti.AppInfoParser] (awaitility-thread) App info kafka.producer for org.kie.kogito.test.quarkus.kafka.KafkaTestClientProducer unregistered -2022-10-06 15:38:09,791 DEBUG [org.kie.kog.add.qua.mes.com.AbstractQuarkusCloudEventReceiver] (vert.x-eventloop-thread-10) Received message { - "specversion": "1.0", - "id": "a89b61a2-5644-487a-8a86-144855c5dce8", - "source": "SomeEventSource", - "type": "RulesRequest", - "subject": "TheSubject", - "kogitoruleunitid": "org.kie.kogito.queries.LoanUnit", - "kogitoruleunitquery": "FindNotApprovedIdAndAmount", - "data": { - "maxAmount": 5000, - "loanApplications": [ - { - "id": "ABC10001", - "amount": 2000, - "deposit": 100, - "applicant": { - "age": 45, - "name": "John" - } - }, - { - "id": "ABC10002", - "amount": 5000, - "deposit": 100, - "applicant": { - "age": 25, - "name": "Paul" - } - }, - { - "id": "ABC10015", - "amount": 1000, - "deposit": 100, - "applicant": { - "age": 12, - "name": "George" - } - } - ] - } -} - -2022-10-06 15:38:09,792 DEBUG [org.kie.kog.eve.rul.EventDrivenRulesController] (vert.x-eventloop-thread-10) Processing event CloudEventWrapDataEvent [cloudEvent=CloudEvent{id='a89b61a2-5644-487a-8a86-144855c5dce8', source=SomeEventSource, type='RulesRequest', subject='TheSubject', data=JsonCloudEventData{node={"maxAmount":5000,"loanApplications":[{"id":"ABC10001","amount":2000,"deposit":100,"applicant":{"age":45,"name":"John"}},{"id":"ABC10002","amount":5000,"deposit":100,"applicant":{"age":25,"name":"Paul"}},{"id":"ABC10015","amount":1000,"deposit":100,"applicant":{"age":12,"name":"George"}}]}}, extensions={kogitoruleunitquery=FindNotApprovedIdAndAmount, kogitoruleunitid=org.kie.kogito.queries.LoanUnit}}] -2022-10-06 15:38:09,792 DEBUG [org.kie.kog.eve.rul.EventDrivenRulesController] (vert.x-eventloop-thread-10) Invalid request. Event CloudEventWrapDataEvent [cloudEvent=CloudEvent{id='a89b61a2-5644-487a-8a86-144855c5dce8', source=SomeEventSource, type='RulesRequest', subject='TheSubject', data=JsonCloudEventData{node={"maxAmount":5000,"loanApplications":[{"id":"ABC10001","amount":2000,"deposit":100,"applicant":{"age":45,"name":"John"}},{"id":"ABC10002","amount":5000,"deposit":100,"applicant":{"age":25,"name":"Paul"}},{"id":"ABC10015","amount":1000,"deposit":100,"applicant":{"age":12,"name":"George"}}]}}, extensions={kogitoruleunitquery=FindNotApprovedIdAndAmount, kogitoruleunitid=org.kie.kogito.queries.LoanUnit}}] with extension KogitoRulesExtension [ruleUnitId=org.kie.kogito.queries.LoanUnit, ruleUnitQuery=FindNotApprovedIdAndAmount] is not recognized by executor AbstractEventDrivenQueryExecutor [ruleUnit=org.kie.kogito.queries.LoanUnitRuleUnit@322c39d7, queryName=FindApproved, objectClass=class org.kie.kogito.queries.LoanUnit] -2022-10-06 15:38:09,793 DEBUG [org.kie.kog.eve.rul.EventDrivenRulesController] (vert.x-eventloop-thread-10) Processing event CloudEventWrapDataEvent [cloudEvent=CloudEvent{id='a89b61a2-5644-487a-8a86-144855c5dce8', source=SomeEventSource, type='RulesRequest', subject='TheSubject', data=JsonCloudEventData{node={"maxAmount":5000,"loanApplications":[{"id":"ABC10001","amount":2000,"deposit":100,"applicant":{"age":45,"name":"John"}},{"id":"ABC10002","amount":5000,"deposit":100,"applicant":{"age":25,"name":"Paul"}},{"id":"ABC10015","amount":1000,"deposit":100,"applicant":{"age":12,"name":"George"}}]}}, extensions={kogitoruleunitquery=FindNotApprovedIdAndAmount, kogitoruleunitid=org.kie.kogito.queries.LoanUnit}}] -2022-10-06 15:38:09,825 DEBUG [org.kie.kog.add.qua.mes.com.AbstractQuarkusCloudEventEmitter] (vert.x-eventloop-thread-10) publishing event CloudEvent{id='3be203a5-5a72-4ad6-b45a-e4466408277a', source=find-not-approved-id-and-amount, type='RulesResponse', subject='TheSubject', data=BytesCloudEventData{value=[91, 123, 34, 36, 97, 109, 111, 117, 110, 116, 34, 58, 53, 48, 48, 48, 44, 34, 36, 105, 100, 34, 58, 34, 65, 66, 67, 49, 48, 48, 48, 50, 34, 125, 44, 123, 34, 36, 97, 109, 111, 117, 110, 116, 34, 58, 49, 48, 48, 48, 44, 34, 36, 105, 100, 34, 58, 34, 65, 66, 67, 49, 48, 48, 49, 53, 34, 125, 93]}, extensions={kogitoruleunitquery=FindNotApprovedIdAndAmount, kogitoruleunitid=org.kie.kogito.queries.LoanUnit}} for type RulesResponse -2022-10-06 15:38:09,826 DEBUG [org.kie.kog.eve.rul.EventDrivenRulesController] (vert.x-eventloop-thread-10) Processing event CloudEventWrapDataEvent [cloudEvent=CloudEvent{id='a89b61a2-5644-487a-8a86-144855c5dce8', source=SomeEventSource, type='RulesRequest', subject='TheSubject', data=JsonCloudEventData{node={"maxAmount":5000,"loanApplications":[{"id":"ABC10001","amount":2000,"deposit":100,"applicant":{"age":45,"name":"John"}},{"id":"ABC10002","amount":5000,"deposit":100,"applicant":{"age":25,"name":"Paul"}},{"id":"ABC10015","amount":1000,"deposit":100,"applicant":{"age":12,"name":"George"}}]}}, extensions={kogitoruleunitquery=FindNotApprovedIdAndAmount, kogitoruleunitid=org.kie.kogito.queries.LoanUnit}}] -2022-10-06 15:38:09,827 DEBUG [org.kie.kog.eve.rul.EventDrivenRulesController] (vert.x-eventloop-thread-10) Invalid request. Event CloudEventWrapDataEvent [cloudEvent=CloudEvent{id='a89b61a2-5644-487a-8a86-144855c5dce8', source=SomeEventSource, type='RulesRequest', subject='TheSubject', data=JsonCloudEventData{node={"maxAmount":5000,"loanApplications":[{"id":"ABC10001","amount":2000,"deposit":100,"applicant":{"age":45,"name":"John"}},{"id":"ABC10002","amount":5000,"deposit":100,"applicant":{"age":25,"name":"Paul"}},{"id":"ABC10015","amount":1000,"deposit":100,"applicant":{"age":12,"name":"George"}}]}}, extensions={kogitoruleunitquery=FindNotApprovedIdAndAmount, kogitoruleunitid=org.kie.kogito.queries.LoanUnit}}] with extension KogitoRulesExtension [ruleUnitId=org.kie.kogito.queries.LoanUnit, ruleUnitQuery=FindNotApprovedIdAndAmount] is not recognized by executor AbstractEventDrivenQueryExecutor [ruleUnit=org.kie.kogito.queries.LoanUnitRuleUnit@322c39d7, queryName=FindAllApplicationAmounts, objectClass=class org.kie.kogito.queries.LoanUnit] -2022-10-06 15:38:09,827 DEBUG [org.kie.kog.add.qua.mes.com.AbstractQuarkusCloudEventReceiver] (vert.x-eventloop-thread-10) Acking message id { - "specversion": "1.0", - "id": "a89b61a2-5644-487a-8a86-144855c5dce8", - "source": "SomeEventSource", - "type": "RulesRequest", - "subject": "TheSubject", - "kogitoruleunitid": "org.kie.kogito.queries.LoanUnit", - "kogitoruleunitquery": "FindNotApprovedIdAndAmount", - "data": { - "maxAmount": 5000, - "loanApplications": [ - { - "id": "ABC10001", - "amount": 2000, - "deposit": 100, - "applicant": { - "age": 45, - "name": "John" - } - }, - { - "id": "ABC10002", - "amount": 5000, - "deposit": 100, - "applicant": { - "age": 25, - "name": "Paul" - } - }, - { - "id": "ABC10015", - "amount": 1000, - "deposit": 100, - "applicant": { - "age": 12, - "name": "George" - } - } - ] - } -} - -2022-10-06 15:38:10,834 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-5-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-2, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Revoke previously assigned partitions ruleunit-event-driven-responses-0 -2022-10-06 15:38:10,836 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-5-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-2, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Member consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-2-2f78b085-a7a3-45f8-80be-dc2f159efeef sending LeaveGroup request to coordinator localhost:49238 (id: 2147483647 rack: null) due to the consumer is being closed -2022-10-06 15:38:10,836 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-5-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-2, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Resetting generation and member id due to: consumer pro-actively leaving the group -2022-10-06 15:38:10,837 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-5-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-2, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Request joining group due to: consumer pro-actively leaving the group -2022-10-06 15:38:10,837 INFO [org.apa.kaf.com.met.Metrics] (pool-5-thread-1) Metrics scheduler closed -2022-10-06 15:38:10,837 INFO [org.apa.kaf.com.met.Metrics] (pool-5-thread-1) Closing reporter org.apache.kafka.common.metrics.JmxReporter -2022-10-06 15:38:10,837 INFO [org.apa.kaf.com.met.Metrics] (pool-5-thread-1) Metrics reporters closed -2022-10-06 15:38:10,839 INFO [org.apa.kaf.com.uti.AppInfoParser] (pool-5-thread-1) App info kafka.consumer for consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-2 unregistered -2022-10-06 15:38:10,844 INFO [org.apa.kaf.cli.con.ConsumerConfig] (main) ConsumerConfig values: - allow.auto.create.topics = true - auto.commit.interval.ms = 5000 - auto.offset.reset = earliest - bootstrap.servers = [localhost:49238] - check.crcs = true - client.dns.lookup = use_all_dns_ips - client.id = consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-3 - client.rack = - connections.max.idle.ms = 540000 - default.api.timeout.ms = 60000 - enable.auto.commit = false - exclude.internal.topics = true - fetch.max.bytes = 52428800 - fetch.max.wait.ms = 500 - fetch.min.bytes = 1 - group.id = org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer - group.instance.id = null - heartbeat.interval.ms = 3000 - interceptor.classes = [] - internal.leave.group.on.close = true - internal.throw.on.fetch.stable.offset.unsupported = false - isolation.level = read_uncommitted - key.deserializer = class org.apache.kafka.common.serialization.StringDeserializer - max.partition.fetch.bytes = 1048576 - max.poll.interval.ms = 300000 - max.poll.records = 500 - metadata.max.age.ms = 300000 - metric.reporters = [] - metrics.num.samples = 2 - metrics.recording.level = INFO - metrics.sample.window.ms = 30000 - partition.assignment.strategy = [class org.apache.kafka.clients.consumer.RangeAssignor, class org.apache.kafka.clients.consumer.CooperativeStickyAssignor] - receive.buffer.bytes = 65536 - reconnect.backoff.max.ms = 1000 - reconnect.backoff.ms = 50 - request.timeout.ms = 30000 - retry.backoff.ms = 100 - sasl.client.callback.handler.class = null - sasl.jaas.config = null - sasl.kerberos.kinit.cmd = /usr/bin/kinit - sasl.kerberos.min.time.before.relogin = 60000 - sasl.kerberos.service.name = null - sasl.kerberos.ticket.renew.jitter = 0.05 - sasl.kerberos.ticket.renew.window.factor = 0.8 - sasl.login.callback.handler.class = null - sasl.login.class = null - sasl.login.connect.timeout.ms = null - sasl.login.read.timeout.ms = null - sasl.login.refresh.buffer.seconds = 300 - sasl.login.refresh.min.period.seconds = 60 - sasl.login.refresh.window.factor = 0.8 - sasl.login.refresh.window.jitter = 0.05 - sasl.login.retry.backoff.max.ms = 10000 - sasl.login.retry.backoff.ms = 100 - sasl.mechanism = GSSAPI - sasl.oauthbearer.clock.skew.seconds = 30 - sasl.oauthbearer.expected.audience = null - sasl.oauthbearer.expected.issuer = null - sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 - sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 - sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 - sasl.oauthbearer.jwks.endpoint.url = null - sasl.oauthbearer.scope.claim.name = scope - sasl.oauthbearer.sub.claim.name = sub - sasl.oauthbearer.token.endpoint.url = null - security.protocol = PLAINTEXT - security.providers = null - send.buffer.bytes = 131072 - session.timeout.ms = 45000 - socket.connection.setup.timeout.max.ms = 30000 - socket.connection.setup.timeout.ms = 10000 - ssl.cipher.suites = null - ssl.enabled.protocols = [TLSv1.2, TLSv1.3] - ssl.endpoint.identification.algorithm = https - ssl.engine.factory.class = null - ssl.key.password = null - ssl.keymanager.algorithm = SunX509 - ssl.keystore.certificate.chain = null - ssl.keystore.key = null - ssl.keystore.location = null - ssl.keystore.password = null - ssl.keystore.type = JKS - ssl.protocol = TLSv1.3 - ssl.provider = null - ssl.secure.random.implementation = null - ssl.trustmanager.algorithm = PKIX - ssl.truststore.certificates = null - ssl.truststore.location = null - ssl.truststore.password = null - ssl.truststore.type = JKS - value.deserializer = class org.apache.kafka.common.serialization.StringDeserializer - -2022-10-06 15:38:10,848 INFO [org.apa.kaf.com.uti.AppInfoParser] (main) Kafka version: 3.2.1 -2022-10-06 15:38:10,848 INFO [org.apa.kaf.com.uti.AppInfoParser] (main) Kafka commitId: b172a0a94f4ebb9f -2022-10-06 15:38:10,849 INFO [org.apa.kaf.com.uti.AppInfoParser] (main) Kafka startTimeMs: 1665063490848 -2022-10-06 15:38:10,849 INFO [org.apa.kaf.cli.con.KafkaConsumer] (pool-6-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-3, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Subscribed to topic(s): ruleunit-event-driven-responses -2022-10-06 15:38:10,854 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-6-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-3, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Discovered group coordinator localhost:49238 (id: 2147483647 rack: null) -2022-10-06 15:38:10,855 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-6-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-3, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] (Re-)joining group -2022-10-06 15:38:10,858 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-6-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-3, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Request joining group due to: need to re-join with the given member-id: consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-3-ca80add5-49c0-419c-a7fb-478bcf468700 -2022-10-06 15:38:10,859 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-6-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-3, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Request joining group due to: rebalance failed due to 'The group member needs to have a valid member id before actually entering a consumer group.' (MemberIdRequiredException) -2022-10-06 15:38:10,859 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-6-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-3, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] (Re-)joining group -2022-10-06 15:38:10,860 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-6-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-3, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Successfully joined group with generation Generation{generationId=5, memberId='consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-3-ca80add5-49c0-419c-a7fb-478bcf468700', protocol='range'} -2022-10-06 15:38:10,860 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-6-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-3, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Finished assignment for group at generation 5: {consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-3-ca80add5-49c0-419c-a7fb-478bcf468700=Assignment(partitions=[ruleunit-event-driven-responses-0])} -2022-10-06 15:38:10,862 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-6-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-3, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Successfully synced group in generation Generation{generationId=5, memberId='consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-3-ca80add5-49c0-419c-a7fb-478bcf468700', protocol='range'} -2022-10-06 15:38:10,863 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-6-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-3, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Notifying assignor about the new Assignment(partitions=[ruleunit-event-driven-responses-0]) -2022-10-06 15:38:10,863 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-6-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-3, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Adding newly assigned partitions: ruleunit-event-driven-responses-0 -2022-10-06 15:38:10,864 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-6-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-3, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Setting offset for partition ruleunit-event-driven-responses-0 to the committed offset FetchPosition{offset=2, offsetEpoch=Optional.empty, currentLeader=LeaderAndEpoch{leader=Optional[localhost:49238 (id: 0 rack: null)], epoch=absent}} -INFO 2022-10-06 13:38:10,868 [shard 0] kafka - fetch_session_cache.cc:106 - fetch session created: 4 -2022-10-06 15:38:10,868 INFO [org.kie.kog.tes.KogitoGenericContainer] (docker-java-stream-617210730) STDERR: INFO 2022-10-06 13:38:10,868 [shard 0] kafka - fetch_session_cache.cc:106 - fetch session created: 4 -2022-10-06 15:38:13,850 INFO [org.apa.kaf.cli.pro.ProducerConfig] (awaitility-thread) ProducerConfig values: - acks = -1 - batch.size = 16384 - bootstrap.servers = [localhost:49238] - buffer.memory = 33554432 - client.dns.lookup = use_all_dns_ips - client.id = org.kie.kogito.test.quarkus.kafka.KafkaTestClientProducer - compression.type = none - connections.max.idle.ms = 540000 - delivery.timeout.ms = 120000 - enable.idempotence = true - interceptor.classes = [] - key.serializer = class org.apache.kafka.common.serialization.StringSerializer - linger.ms = 0 - max.block.ms = 60000 - max.in.flight.requests.per.connection = 5 - max.request.size = 1048576 - metadata.max.age.ms = 300000 - metadata.max.idle.ms = 300000 - metric.reporters = [] - metrics.num.samples = 2 - metrics.recording.level = INFO - metrics.sample.window.ms = 30000 - partitioner.class = class org.apache.kafka.clients.producer.internals.DefaultPartitioner - receive.buffer.bytes = 32768 - reconnect.backoff.max.ms = 1000 - reconnect.backoff.ms = 50 - request.timeout.ms = 30000 - retries = 2147483647 - retry.backoff.ms = 100 - sasl.client.callback.handler.class = null - sasl.jaas.config = null - sasl.kerberos.kinit.cmd = /usr/bin/kinit - sasl.kerberos.min.time.before.relogin = 60000 - sasl.kerberos.service.name = null - sasl.kerberos.ticket.renew.jitter = 0.05 - sasl.kerberos.ticket.renew.window.factor = 0.8 - sasl.login.callback.handler.class = null - sasl.login.class = null - sasl.login.connect.timeout.ms = null - sasl.login.read.timeout.ms = null - sasl.login.refresh.buffer.seconds = 300 - sasl.login.refresh.min.period.seconds = 60 - sasl.login.refresh.window.factor = 0.8 - sasl.login.refresh.window.jitter = 0.05 - sasl.login.retry.backoff.max.ms = 10000 - sasl.login.retry.backoff.ms = 100 - sasl.mechanism = GSSAPI - sasl.oauthbearer.clock.skew.seconds = 30 - sasl.oauthbearer.expected.audience = null - sasl.oauthbearer.expected.issuer = null - sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 - sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 - sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 - sasl.oauthbearer.jwks.endpoint.url = null - sasl.oauthbearer.scope.claim.name = scope - sasl.oauthbearer.sub.claim.name = sub - sasl.oauthbearer.token.endpoint.url = null - security.protocol = PLAINTEXT - security.providers = null - send.buffer.bytes = 131072 - socket.connection.setup.timeout.max.ms = 30000 - socket.connection.setup.timeout.ms = 10000 - ssl.cipher.suites = null - ssl.enabled.protocols = [TLSv1.2, TLSv1.3] - ssl.endpoint.identification.algorithm = https - ssl.engine.factory.class = null - ssl.key.password = null - ssl.keymanager.algorithm = SunX509 - ssl.keystore.certificate.chain = null - ssl.keystore.key = null - ssl.keystore.location = null - ssl.keystore.password = null - ssl.keystore.type = JKS - ssl.protocol = TLSv1.3 - ssl.provider = null - ssl.secure.random.implementation = null - ssl.trustmanager.algorithm = PKIX - ssl.truststore.certificates = null - ssl.truststore.location = null - ssl.truststore.password = null - ssl.truststore.type = JKS - transaction.timeout.ms = 60000 - transactional.id = null - value.serializer = class org.apache.kafka.common.serialization.StringSerializer - -2022-10-06 15:38:13,851 INFO [org.apa.kaf.cli.pro.KafkaProducer] (awaitility-thread) [Producer clientId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientProducer] Instantiated an idempotent producer. -2022-10-06 15:38:13,853 INFO [org.apa.kaf.com.uti.AppInfoParser] (awaitility-thread) Kafka version: 3.2.1 -2022-10-06 15:38:13,853 INFO [org.apa.kaf.com.uti.AppInfoParser] (awaitility-thread) Kafka commitId: b172a0a94f4ebb9f -2022-10-06 15:38:13,853 INFO [org.apa.kaf.com.uti.AppInfoParser] (awaitility-thread) Kafka startTimeMs: 1665063493853 -2022-10-06 15:38:13,853 INFO [org.kie.kog.tes.qua.kaf.KafkaTestClient] (awaitility-thread) Publishing event with data { - "specversion": "1.0", - "id": "a89b61a2-5644-487a-8a86-144855c5dce8", - "source": "SomeEventSource", - "type": "RulesRequest", - "subject": "TheSubject", - "kogitoruleunitid": "org.kie.kogito.queries.LoanUnit", - "kogitoruleunitquery": "FindAllApplicationAmounts", - "data": { - "maxAmount": 5000, - "loanApplications": [ - { - "id": "ABC10001", - "amount": 2000, - "deposit": 100, - "applicant": { - "age": 45, - "name": "John" - } - }, - { - "id": "ABC10002", - "amount": 5000, - "deposit": 100, - "applicant": { - "age": 25, - "name": "Paul" - } - }, - { - "id": "ABC10015", - "amount": 1000, - "deposit": 100, - "applicant": { - "age": 12, - "name": "George" - } - } - ] - } -} - for topic ruleunit-event-driven-requests -2022-10-06 15:38:13,856 INFO [org.apa.kaf.cli.pro.int.TransactionManager] (kafka-producer-network-thread | org.kie.kogito.test.quarkus.kafka.KafkaTestClientProducer) [Producer clientId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientProducer] ProducerId set to 3 with epoch 0 -2022-10-06 15:38:13,869 INFO [org.apa.kaf.cli.pro.KafkaProducer] (awaitility-thread) [Producer clientId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientProducer] Closing the Kafka producer with timeoutMillis = 9223372036854775807 ms. -2022-10-06 15:38:13,871 DEBUG [org.kie.kog.add.qua.mes.com.AbstractQuarkusCloudEventReceiver] (vert.x-eventloop-thread-10) Received message { - "specversion": "1.0", - "id": "a89b61a2-5644-487a-8a86-144855c5dce8", - "source": "SomeEventSource", - "type": "RulesRequest", - "subject": "TheSubject", - "kogitoruleunitid": "org.kie.kogito.queries.LoanUnit", - "kogitoruleunitquery": "FindAllApplicationAmounts", - "data": { - "maxAmount": 5000, - "loanApplications": [ - { - "id": "ABC10001", - "amount": 2000, - "deposit": 100, - "applicant": { - "age": 45, - "name": "John" - } - }, - { - "id": "ABC10002", - "amount": 5000, - "deposit": 100, - "applicant": { - "age": 25, - "name": "Paul" - } - }, - { - "id": "ABC10015", - "amount": 1000, - "deposit": 100, - "applicant": { - "age": 12, - "name": "George" - } - } - ] - } -} - -2022-10-06 15:38:13,872 INFO [org.apa.kaf.com.met.Metrics] (awaitility-thread) Metrics scheduler closed -2022-10-06 15:38:13,872 INFO [org.apa.kaf.com.met.Metrics] (awaitility-thread) Closing reporter org.apache.kafka.common.metrics.JmxReporter -2022-10-06 15:38:13,872 INFO [org.apa.kaf.com.met.Metrics] (awaitility-thread) Metrics reporters closed -2022-10-06 15:38:13,872 INFO [org.apa.kaf.com.uti.AppInfoParser] (awaitility-thread) App info kafka.producer for org.kie.kogito.test.quarkus.kafka.KafkaTestClientProducer unregistered -2022-10-06 15:38:13,872 DEBUG [org.kie.kog.eve.rul.EventDrivenRulesController] (vert.x-eventloop-thread-10) Processing event CloudEventWrapDataEvent [cloudEvent=CloudEvent{id='a89b61a2-5644-487a-8a86-144855c5dce8', source=SomeEventSource, type='RulesRequest', subject='TheSubject', data=JsonCloudEventData{node={"maxAmount":5000,"loanApplications":[{"id":"ABC10001","amount":2000,"deposit":100,"applicant":{"age":45,"name":"John"}},{"id":"ABC10002","amount":5000,"deposit":100,"applicant":{"age":25,"name":"Paul"}},{"id":"ABC10015","amount":1000,"deposit":100,"applicant":{"age":12,"name":"George"}}]}}, extensions={kogitoruleunitquery=FindAllApplicationAmounts, kogitoruleunitid=org.kie.kogito.queries.LoanUnit}}] -2022-10-06 15:38:13,873 DEBUG [org.kie.kog.eve.rul.EventDrivenRulesController] (vert.x-eventloop-thread-10) Invalid request. Event CloudEventWrapDataEvent [cloudEvent=CloudEvent{id='a89b61a2-5644-487a-8a86-144855c5dce8', source=SomeEventSource, type='RulesRequest', subject='TheSubject', data=JsonCloudEventData{node={"maxAmount":5000,"loanApplications":[{"id":"ABC10001","amount":2000,"deposit":100,"applicant":{"age":45,"name":"John"}},{"id":"ABC10002","amount":5000,"deposit":100,"applicant":{"age":25,"name":"Paul"}},{"id":"ABC10015","amount":1000,"deposit":100,"applicant":{"age":12,"name":"George"}}]}}, extensions={kogitoruleunitquery=FindAllApplicationAmounts, kogitoruleunitid=org.kie.kogito.queries.LoanUnit}}] with extension KogitoRulesExtension [ruleUnitId=org.kie.kogito.queries.LoanUnit, ruleUnitQuery=FindAllApplicationAmounts] is not recognized by executor AbstractEventDrivenQueryExecutor [ruleUnit=org.kie.kogito.queries.LoanUnitRuleUnit@322c39d7, queryName=FindApproved, objectClass=class org.kie.kogito.queries.LoanUnit] -2022-10-06 15:38:13,874 DEBUG [org.kie.kog.eve.rul.EventDrivenRulesController] (vert.x-eventloop-thread-10) Processing event CloudEventWrapDataEvent [cloudEvent=CloudEvent{id='a89b61a2-5644-487a-8a86-144855c5dce8', source=SomeEventSource, type='RulesRequest', subject='TheSubject', data=JsonCloudEventData{node={"maxAmount":5000,"loanApplications":[{"id":"ABC10001","amount":2000,"deposit":100,"applicant":{"age":45,"name":"John"}},{"id":"ABC10002","amount":5000,"deposit":100,"applicant":{"age":25,"name":"Paul"}},{"id":"ABC10015","amount":1000,"deposit":100,"applicant":{"age":12,"name":"George"}}]}}, extensions={kogitoruleunitquery=FindAllApplicationAmounts, kogitoruleunitid=org.kie.kogito.queries.LoanUnit}}] -2022-10-06 15:38:13,875 DEBUG [org.kie.kog.eve.rul.EventDrivenRulesController] (vert.x-eventloop-thread-10) Invalid request. Event CloudEventWrapDataEvent [cloudEvent=CloudEvent{id='a89b61a2-5644-487a-8a86-144855c5dce8', source=SomeEventSource, type='RulesRequest', subject='TheSubject', data=JsonCloudEventData{node={"maxAmount":5000,"loanApplications":[{"id":"ABC10001","amount":2000,"deposit":100,"applicant":{"age":45,"name":"John"}},{"id":"ABC10002","amount":5000,"deposit":100,"applicant":{"age":25,"name":"Paul"}},{"id":"ABC10015","amount":1000,"deposit":100,"applicant":{"age":12,"name":"George"}}]}}, extensions={kogitoruleunitquery=FindAllApplicationAmounts, kogitoruleunitid=org.kie.kogito.queries.LoanUnit}}] with extension KogitoRulesExtension [ruleUnitId=org.kie.kogito.queries.LoanUnit, ruleUnitQuery=FindAllApplicationAmounts] is not recognized by executor AbstractEventDrivenQueryExecutor [ruleUnit=org.kie.kogito.queries.LoanUnitRuleUnit@322c39d7, queryName=FindNotApprovedIdAndAmount, objectClass=class org.kie.kogito.queries.LoanUnit] -2022-10-06 15:38:13,876 DEBUG [org.kie.kog.eve.rul.EventDrivenRulesController] (vert.x-eventloop-thread-10) Processing event CloudEventWrapDataEvent [cloudEvent=CloudEvent{id='a89b61a2-5644-487a-8a86-144855c5dce8', source=SomeEventSource, type='RulesRequest', subject='TheSubject', data=JsonCloudEventData{node={"maxAmount":5000,"loanApplications":[{"id":"ABC10001","amount":2000,"deposit":100,"applicant":{"age":45,"name":"John"}},{"id":"ABC10002","amount":5000,"deposit":100,"applicant":{"age":25,"name":"Paul"}},{"id":"ABC10015","amount":1000,"deposit":100,"applicant":{"age":12,"name":"George"}}]}}, extensions={kogitoruleunitquery=FindAllApplicationAmounts, kogitoruleunitid=org.kie.kogito.queries.LoanUnit}}] -2022-10-06 15:38:13,921 DEBUG [org.kie.kog.add.qua.mes.com.AbstractQuarkusCloudEventEmitter] (vert.x-eventloop-thread-10) publishing event CloudEvent{id='e3e2b624-cd6e-4f27-8323-7abf530070cb', source=find-all-application-amounts, type='RulesResponse', subject='TheSubject', data=BytesCloudEventData{value=[91, 123, 34, 97, 109, 111, 117, 110, 116, 115, 34, 58, 56, 48, 48, 48, 125, 93]}, extensions={kogitoruleunitquery=FindAllApplicationAmounts, kogitoruleunitid=org.kie.kogito.queries.LoanUnit}} for type RulesResponse -2022-10-06 15:38:13,922 DEBUG [org.kie.kog.add.qua.mes.com.AbstractQuarkusCloudEventReceiver] (vert.x-eventloop-thread-10) Acking message id { - "specversion": "1.0", - "id": "a89b61a2-5644-487a-8a86-144855c5dce8", - "source": "SomeEventSource", - "type": "RulesRequest", - "subject": "TheSubject", - "kogitoruleunitid": "org.kie.kogito.queries.LoanUnit", - "kogitoruleunitquery": "FindAllApplicationAmounts", - "data": { - "maxAmount": 5000, - "loanApplications": [ - { - "id": "ABC10001", - "amount": 2000, - "deposit": 100, - "applicant": { - "age": 45, - "name": "John" - } - }, - { - "id": "ABC10002", - "amount": 5000, - "deposit": 100, - "applicant": { - "age": 25, - "name": "Paul" - } - }, - { - "id": "ABC10015", - "amount": 1000, - "deposit": 100, - "applicant": { - "age": 12, - "name": "George" - } - } - ] - } -} - -2022-10-06 15:38:14,935 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-6-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-3, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Revoke previously assigned partitions ruleunit-event-driven-responses-0 -2022-10-06 15:38:14,937 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-6-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-3, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Member consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-3-ca80add5-49c0-419c-a7fb-478bcf468700 sending LeaveGroup request to coordinator localhost:49238 (id: 2147483647 rack: null) due to the consumer is being closed -2022-10-06 15:38:14,938 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-6-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-3, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Resetting generation and member id due to: consumer pro-actively leaving the group -2022-10-06 15:38:14,938 INFO [org.apa.kaf.cli.con.int.ConsumerCoordinator] (pool-6-thread-1) [Consumer clientId=consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-3, groupId=org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer] Request joining group due to: consumer pro-actively leaving the group -2022-10-06 15:38:14,939 INFO [org.apa.kaf.com.met.Metrics] (pool-6-thread-1) Metrics scheduler closed -2022-10-06 15:38:14,940 INFO [org.apa.kaf.com.met.Metrics] (pool-6-thread-1) Closing reporter org.apache.kafka.common.metrics.JmxReporter -2022-10-06 15:38:14,940 INFO [org.apa.kaf.com.met.Metrics] (pool-6-thread-1) Metrics reporters closed -2022-10-06 15:38:14,944 INFO [org.apa.kaf.com.uti.AppInfoParser] (pool-6-thread-1) App info kafka.consumer for consumer-org.kie.kogito.test.quarkus.kafka.KafkaTestClientConsumer-3 unregistered -[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.636 s - in org.kie.kogito.examples.RuleUnitEventDrivenIT -2022-10-06 15:38:15,114 WARN [org.apa.kaf.cli.NetworkClient] (smallrye-kafka-consumer-thread-0) [Consumer clientId=kafka-consumer-kogito_incoming_stream, groupId=ruleunit-event-driven-example] Connection to node 0 (localhost/127.0.0.1:49238) could not be established. Broker may not be available. -2022-10-06 15:38:15,115 WARN [org.apa.kaf.cli.NetworkClient] (kafka-producer-network-thread | kafka-producer-kogito_outgoing_stream) [Producer clientId=kafka-producer-kogito_outgoing_stream] Connection to node 0 (localhost/127.0.0.1:49238) could not be established. Broker may not be available. -[INFO] -[INFO] Results: -[INFO] -[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0 -[INFO] -[INFO] -[INFO] --- maven-failsafe-plugin:3.0.0-M5:integration-test (default) @ ruleunit-event-driven-quarkus --- -[INFO] Skipping execution of surefire because it has already been run for this configuration -[INFO] -[INFO] --- maven-failsafe-plugin:3.0.0-M5:verify (integration-test) @ ruleunit-event-driven-quarkus --- -[INFO] -[INFO] --- maven-failsafe-plugin:3.0.0-M5:verify (default) @ ruleunit-event-driven-quarkus --- -[INFO] -[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ ruleunit-event-driven-quarkus --- -[INFO] Installing /home/ftirados/git/kogito-examples/kogito-quarkus-examples/ruleunit-event-driven-quarkus/target/ruleunit-event-driven-quarkus.jar to /home/ftirados/.m2/repository/org/kie/kogito/examples/ruleunit-event-driven-quarkus/2.0.0-SNAPSHOT/ruleunit-event-driven-quarkus-2.0.0-SNAPSHOT.jar -[INFO] Installing /home/ftirados/git/kogito-examples/kogito-quarkus-examples/ruleunit-event-driven-quarkus/pom.xml to /home/ftirados/.m2/repository/org/kie/kogito/examples/ruleunit-event-driven-quarkus/2.0.0-SNAPSHOT/ruleunit-event-driven-quarkus-2.0.0-SNAPSHOT.pom -[INFO] Installing /home/ftirados/git/kogito-examples/kogito-quarkus-examples/ruleunit-event-driven-quarkus/target/ruleunit-event-driven-quarkus-tests.jar to /home/ftirados/.m2/repository/org/kie/kogito/examples/ruleunit-event-driven-quarkus/2.0.0-SNAPSHOT/ruleunit-event-driven-quarkus-2.0.0-SNAPSHOT-tests.jar -[INFO] Installing /home/ftirados/git/kogito-examples/kogito-quarkus-examples/ruleunit-event-driven-quarkus/target/ruleunit-event-driven-quarkus-sources.jar to /home/ftirados/.m2/repository/org/kie/kogito/examples/ruleunit-event-driven-quarkus/2.0.0-SNAPSHOT/ruleunit-event-driven-quarkus-2.0.0-SNAPSHOT-sources.jar -[INFO] Installing /home/ftirados/git/kogito-examples/kogito-quarkus-examples/ruleunit-event-driven-quarkus/target/ruleunit-event-driven-quarkus-test-sources.jar to /home/ftirados/.m2/repository/org/kie/kogito/examples/ruleunit-event-driven-quarkus/2.0.0-SNAPSHOT/ruleunit-event-driven-quarkus-2.0.0-SNAPSHOT-test-sources.jar -[INFO] ------------------------------------------------------------------------ -[INFO] BUILD SUCCESS -[INFO] ------------------------------------------------------------------------ -[INFO] Total time: 28.313 s -[INFO] Finished at: 2022-10-06T15:38:15+02:00 -[INFO] ------------------------------------------------------------------------ diff --git a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/pom.xml b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/pom.xml index d04d837993..c13a55e0a0 100644 --- a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/pom.xml +++ b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/pom.xml @@ -1,4 +1,24 @@ + diff --git a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/main/java/org/kie/kogito/queries/AllAmounts.java b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/main/java/org/kie/kogito/queries/AllAmounts.java index e0c67ef987..0bbb602617 100644 --- a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/main/java/org/kie/kogito/queries/AllAmounts.java +++ b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/main/java/org/kie/kogito/queries/AllAmounts.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.queries; diff --git a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/main/java/org/kie/kogito/queries/Applicant.java b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/main/java/org/kie/kogito/queries/Applicant.java index 175d3a98d5..25d1c54e64 100644 --- a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/main/java/org/kie/kogito/queries/Applicant.java +++ b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/main/java/org/kie/kogito/queries/Applicant.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.queries; diff --git a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/main/java/org/kie/kogito/queries/LoanApplication.java b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/main/java/org/kie/kogito/queries/LoanApplication.java index 70eec1c4e3..8697730bd3 100644 --- a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/main/java/org/kie/kogito/queries/LoanApplication.java +++ b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/main/java/org/kie/kogito/queries/LoanApplication.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.queries; diff --git a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/main/java/org/kie/kogito/queries/LoanUnit.java b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/main/java/org/kie/kogito/queries/LoanUnit.java index 3f68f880e8..4b4ba73582 100644 --- a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/main/java/org/kie/kogito/queries/LoanUnit.java +++ b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/main/java/org/kie/kogito/queries/LoanUnit.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.queries; diff --git a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/main/resources/application.properties b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/main/resources/application.properties index 660bd90391..8548299451 100644 --- a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/main/resources/application.properties +++ b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar diff --git a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/main/resources/org/kie/kogito/queries/RuleUnitQuery.drl b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/main/resources/org/kie/kogito/queries/RuleUnitQuery.drl index 2f14454ead..483c686584 100644 --- a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/main/resources/org/kie/kogito/queries/RuleUnitQuery.drl +++ b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/main/resources/org/kie/kogito/queries/RuleUnitQuery.drl @@ -1,17 +1,20 @@ /** - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.queries; unit LoanUnit; diff --git a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/test/java/org/kie/kogito/examples/RuleUnitEventDrivenIT.java b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/test/java/org/kie/kogito/examples/RuleUnitEventDrivenIT.java index 4d3687a923..84f5177c80 100644 --- a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/test/java/org/kie/kogito/examples/RuleUnitEventDrivenIT.java +++ b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/test/java/org/kie/kogito/examples/RuleUnitEventDrivenIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/test/resources/application.properties b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/test/resources/application.properties index 4396d4ebfb..4242e6e9c1 100644 --- a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/test/resources/application.properties +++ b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/test/resources/application.properties @@ -1 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + quarkus.kafka.devservices.enabled=false \ No newline at end of file diff --git a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/test/resources/logback-test.xml b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/test/resources/logback-test.xml index e8c716f5ef..bb6af4db85 100644 --- a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/test/resources/logback-test.xml +++ b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/src/test/resources/logback-test.xml @@ -1,3 +1,23 @@ + diff --git a/kogito-quarkus-examples/ruleunit-quarkus-example/operator/ruleunit-quarkus-example.yaml b/kogito-quarkus-examples/ruleunit-quarkus-example/operator/ruleunit-quarkus-example.yaml index 4280faddfe..4a903397ba 100644 --- a/kogito-quarkus-examples/ruleunit-quarkus-example/operator/ruleunit-quarkus-example.yaml +++ b/kogito-quarkus-examples/ruleunit-quarkus-example/operator/ruleunit-quarkus-example.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: app.kiegroup.org/v1beta1 kind: KogitoBuild metadata: diff --git a/kogito-quarkus-examples/ruleunit-quarkus-example/pom.xml b/kogito-quarkus-examples/ruleunit-quarkus-example/pom.xml index 8093fb0f02..2f73f3b31c 100644 --- a/kogito-quarkus-examples/ruleunit-quarkus-example/pom.xml +++ b/kogito-quarkus-examples/ruleunit-quarkus-example/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/kogito-quarkus-examples/ruleunit-quarkus-example/src/main/java/org/kie/kogito/queries/AllAmounts.java b/kogito-quarkus-examples/ruleunit-quarkus-example/src/main/java/org/kie/kogito/queries/AllAmounts.java index e0c67ef987..0bbb602617 100644 --- a/kogito-quarkus-examples/ruleunit-quarkus-example/src/main/java/org/kie/kogito/queries/AllAmounts.java +++ b/kogito-quarkus-examples/ruleunit-quarkus-example/src/main/java/org/kie/kogito/queries/AllAmounts.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.queries; diff --git a/kogito-quarkus-examples/ruleunit-quarkus-example/src/main/java/org/kie/kogito/queries/Applicant.java b/kogito-quarkus-examples/ruleunit-quarkus-example/src/main/java/org/kie/kogito/queries/Applicant.java index 175d3a98d5..25d1c54e64 100644 --- a/kogito-quarkus-examples/ruleunit-quarkus-example/src/main/java/org/kie/kogito/queries/Applicant.java +++ b/kogito-quarkus-examples/ruleunit-quarkus-example/src/main/java/org/kie/kogito/queries/Applicant.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.queries; diff --git a/kogito-quarkus-examples/ruleunit-quarkus-example/src/main/java/org/kie/kogito/queries/LoanApplication.java b/kogito-quarkus-examples/ruleunit-quarkus-example/src/main/java/org/kie/kogito/queries/LoanApplication.java index 70eec1c4e3..8697730bd3 100644 --- a/kogito-quarkus-examples/ruleunit-quarkus-example/src/main/java/org/kie/kogito/queries/LoanApplication.java +++ b/kogito-quarkus-examples/ruleunit-quarkus-example/src/main/java/org/kie/kogito/queries/LoanApplication.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.queries; diff --git a/kogito-quarkus-examples/ruleunit-quarkus-example/src/main/java/org/kie/kogito/queries/LoanUnit.java b/kogito-quarkus-examples/ruleunit-quarkus-example/src/main/java/org/kie/kogito/queries/LoanUnit.java index 3f68f880e8..4b4ba73582 100644 --- a/kogito-quarkus-examples/ruleunit-quarkus-example/src/main/java/org/kie/kogito/queries/LoanUnit.java +++ b/kogito-quarkus-examples/ruleunit-quarkus-example/src/main/java/org/kie/kogito/queries/LoanUnit.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.queries; diff --git a/kogito-quarkus-examples/ruleunit-quarkus-example/src/main/resources/application.properties b/kogito-quarkus-examples/ruleunit-quarkus-example/src/main/resources/application.properties index 35b7e32bea..a76c2a39bb 100644 --- a/kogito-quarkus-examples/ruleunit-quarkus-example/src/main/resources/application.properties +++ b/kogito-quarkus-examples/ruleunit-quarkus-example/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar diff --git a/kogito-quarkus-examples/ruleunit-quarkus-example/src/main/resources/org/kie/kogito/queries/RuleUnitQuery.drl b/kogito-quarkus-examples/ruleunit-quarkus-example/src/main/resources/org/kie/kogito/queries/RuleUnitQuery.drl index 2f14454ead..483c686584 100644 --- a/kogito-quarkus-examples/ruleunit-quarkus-example/src/main/resources/org/kie/kogito/queries/RuleUnitQuery.drl +++ b/kogito-quarkus-examples/ruleunit-quarkus-example/src/main/resources/org/kie/kogito/queries/RuleUnitQuery.drl @@ -1,17 +1,20 @@ /** - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.queries; unit LoanUnit; 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..f5bde5e2e1 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.decisiontable.quarkus.ruleunit; diff --git a/kogito-quarkus-examples/ruleunit-quarkus-example/src/test/java/org/kie/kogito/decisiontable/quarkus/ruleunit/RestQueryTest.java b/kogito-quarkus-examples/ruleunit-quarkus-example/src/test/java/org/kie/kogito/decisiontable/quarkus/ruleunit/RestQueryTest.java index c9cda39bbd..2260971193 100644 --- a/kogito-quarkus-examples/ruleunit-quarkus-example/src/test/java/org/kie/kogito/decisiontable/quarkus/ruleunit/RestQueryTest.java +++ b/kogito-quarkus-examples/ruleunit-quarkus-example/src/test/java/org/kie/kogito/decisiontable/quarkus/ruleunit/RestQueryTest.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.decisiontable.quarkus.ruleunit; diff --git a/kogito-quarkus-examples/ruleunit-quarkus-example/src/test/resources/application.properties b/kogito-quarkus-examples/ruleunit-quarkus-example/src/test/resources/application.properties index 3c17236931..a047ea13ba 100644 --- a/kogito-quarkus-examples/ruleunit-quarkus-example/src/test/resources/application.properties +++ b/kogito-quarkus-examples/ruleunit-quarkus-example/src/test/resources/application.properties @@ -1,2 +1,21 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Quarkus quarkus.http.test-port=0 \ No newline at end of file diff --git a/kogito-quarkus-examples/trusty-demonstration/docker-compose/docker-compose.yml b/kogito-quarkus-examples/trusty-demonstration/docker-compose/docker-compose.yml index a0636ab3e9..af85530ae6 100644 --- a/kogito-quarkus-examples/trusty-demonstration/docker-compose/docker-compose.yml +++ b/kogito-quarkus-examples/trusty-demonstration/docker-compose/docker-compose.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + version: '2' services: diff --git a/kogito-quarkus-examples/trusty-demonstration/docker-compose/grafana/provisioning/dashboards/dashboard.yml b/kogito-quarkus-examples/trusty-demonstration/docker-compose/grafana/provisioning/dashboards/dashboard.yml index 437d59118f..1c31f32b3b 100755 --- a/kogito-quarkus-examples/trusty-demonstration/docker-compose/grafana/provisioning/dashboards/dashboard.yml +++ b/kogito-quarkus-examples/trusty-demonstration/docker-compose/grafana/provisioning/dashboards/dashboard.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: 1 providers: diff --git a/kogito-quarkus-examples/trusty-demonstration/docker-compose/grafana/provisioning/datasources/datasource.yml b/kogito-quarkus-examples/trusty-demonstration/docker-compose/grafana/provisioning/datasources/datasource.yml index 4e58703f23..14e5b05c55 100755 --- a/kogito-quarkus-examples/trusty-demonstration/docker-compose/grafana/provisioning/datasources/datasource.yml +++ b/kogito-quarkus-examples/trusty-demonstration/docker-compose/grafana/provisioning/datasources/datasource.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # config file version apiVersion: 1 diff --git a/kogito-quarkus-examples/trusty-demonstration/docker-compose/infinispan/infinispan.xml b/kogito-quarkus-examples/trusty-demonstration/docker-compose/infinispan/infinispan.xml index 4d594bfc24..a466561b9f 100644 --- a/kogito-quarkus-examples/trusty-demonstration/docker-compose/infinispan/infinispan.xml +++ b/kogito-quarkus-examples/trusty-demonstration/docker-compose/infinispan/infinispan.xml @@ -1,3 +1,23 @@ + diff --git a/kogito-quarkus-examples/trusty-demonstration/docker-compose/prometheus/prometheus.yml b/kogito-quarkus-examples/trusty-demonstration/docker-compose/prometheus/prometheus.yml index 8c19b01ac8..3fba0845b6 100755 --- a/kogito-quarkus-examples/trusty-demonstration/docker-compose/prometheus/prometheus.yml +++ b/kogito-quarkus-examples/trusty-demonstration/docker-compose/prometheus/prometheus.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # A scrape configuration containing exactly one endpoint to scrape: scrape_configs: - job_name: 'kogito-app' diff --git a/kogito-quarkus-examples/trusty-demonstration/kubernetes/resources/dmn-tracing-quarkus.yaml b/kogito-quarkus-examples/trusty-demonstration/kubernetes/resources/dmn-tracing-quarkus.yaml index c4b98d6e0b..f9b79b7b87 100644 --- a/kogito-quarkus-examples/trusty-demonstration/kubernetes/resources/dmn-tracing-quarkus.yaml +++ b/kogito-quarkus-examples/trusty-demonstration/kubernetes/resources/dmn-tracing-quarkus.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: app.kiegroup.org/v1beta1 kind: KogitoRuntime metadata: diff --git a/kogito-quarkus-examples/trusty-demonstration/kubernetes/resources/explainability.yaml b/kogito-quarkus-examples/trusty-demonstration/kubernetes/resources/explainability.yaml index da16dac201..d883b626b9 100644 --- a/kogito-quarkus-examples/trusty-demonstration/kubernetes/resources/explainability.yaml +++ b/kogito-quarkus-examples/trusty-demonstration/kubernetes/resources/explainability.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: app.kiegroup.org/v1beta1 kind: KogitoSupportingService metadata: diff --git a/kogito-quarkus-examples/trusty-demonstration/kubernetes/resources/infinispan-minimal.yaml b/kogito-quarkus-examples/trusty-demonstration/kubernetes/resources/infinispan-minimal.yaml index 23de0264b5..096c10c838 100644 --- a/kogito-quarkus-examples/trusty-demonstration/kubernetes/resources/infinispan-minimal.yaml +++ b/kogito-quarkus-examples/trusty-demonstration/kubernetes/resources/infinispan-minimal.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: infinispan.org/v1 kind: Infinispan metadata: diff --git a/kogito-quarkus-examples/trusty-demonstration/kubernetes/resources/kafka-topics.yaml b/kogito-quarkus-examples/trusty-demonstration/kubernetes/resources/kafka-topics.yaml index 8c38cddfa2..c4d40383d8 100644 --- a/kogito-quarkus-examples/trusty-demonstration/kubernetes/resources/kafka-topics.yaml +++ b/kogito-quarkus-examples/trusty-demonstration/kubernetes/resources/kafka-topics.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: kafka.strimzi.io/v1beta2 kind: KafkaTopic metadata: diff --git a/kogito-quarkus-examples/trusty-demonstration/kubernetes/resources/kafka.yaml b/kogito-quarkus-examples/trusty-demonstration/kubernetes/resources/kafka.yaml index 23bd177221..5968354c14 100644 --- a/kogito-quarkus-examples/trusty-demonstration/kubernetes/resources/kafka.yaml +++ b/kogito-quarkus-examples/trusty-demonstration/kubernetes/resources/kafka.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: kafka.strimzi.io/v1beta2 kind: Kafka metadata: diff --git a/kogito-quarkus-examples/trusty-demonstration/kubernetes/resources/kogito-infra.yaml b/kogito-quarkus-examples/trusty-demonstration/kubernetes/resources/kogito-infra.yaml index 0835232c14..2560341dbf 100644 --- a/kogito-quarkus-examples/trusty-demonstration/kubernetes/resources/kogito-infra.yaml +++ b/kogito-quarkus-examples/trusty-demonstration/kubernetes/resources/kogito-infra.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + #Strimzi operator should be pre-installed in namespace apiVersion: app.kiegroup.org/v1beta1 kind: KogitoInfra diff --git a/kogito-quarkus-examples/trusty-demonstration/kubernetes/resources/trusty-ui.yaml b/kogito-quarkus-examples/trusty-demonstration/kubernetes/resources/trusty-ui.yaml index ef714dfa0c..48c448d322 100644 --- a/kogito-quarkus-examples/trusty-demonstration/kubernetes/resources/trusty-ui.yaml +++ b/kogito-quarkus-examples/trusty-demonstration/kubernetes/resources/trusty-ui.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: app.kiegroup.org/v1beta1 kind: KogitoSupportingService metadata: diff --git a/kogito-quarkus-examples/trusty-demonstration/kubernetes/resources/trusty.yaml b/kogito-quarkus-examples/trusty-demonstration/kubernetes/resources/trusty.yaml index b7900aa432..6a0ad0d213 100644 --- a/kogito-quarkus-examples/trusty-demonstration/kubernetes/resources/trusty.yaml +++ b/kogito-quarkus-examples/trusty-demonstration/kubernetes/resources/trusty.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: app.kiegroup.org/v1beta1 kind: KogitoSupportingService metadata: diff --git a/kogito-quarkus-examples/trusty-tracing-quarkus-devservices/pom.xml b/kogito-quarkus-examples/trusty-tracing-quarkus-devservices/pom.xml index 90831591a0..3d4a9a1792 100644 --- a/kogito-quarkus-examples/trusty-tracing-quarkus-devservices/pom.xml +++ b/kogito-quarkus-examples/trusty-tracing-quarkus-devservices/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/kogito-quarkus-examples/trusty-tracing-quarkus-devservices/src/main/resources/application.properties b/kogito-quarkus-examples/trusty-tracing-quarkus-devservices/src/main/resources/application.properties index 0c3ebba2b8..0f10c55a3e 100644 --- a/kogito-quarkus-examples/trusty-tracing-quarkus-devservices/src/main/resources/application.properties +++ b/kogito-quarkus-examples/trusty-tracing-quarkus-devservices/src/main/resources/application.properties @@ -1,2 +1,21 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar diff --git a/kogito-springboot-examples/decisiontable-springboot-example/operator/decisiontable-springboot-example.yaml b/kogito-springboot-examples/decisiontable-springboot-example/operator/decisiontable-springboot-example.yaml index e74b9eac68..40eac11057 100644 --- a/kogito-springboot-examples/decisiontable-springboot-example/operator/decisiontable-springboot-example.yaml +++ b/kogito-springboot-examples/decisiontable-springboot-example/operator/decisiontable-springboot-example.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: app.kiegroup.org/v1beta1 kind: KogitoBuild metadata: diff --git a/kogito-springboot-examples/decisiontable-springboot-example/pom.xml b/kogito-springboot-examples/decisiontable-springboot-example/pom.xml index a6cc7875ee..904ce303d4 100644 --- a/kogito-springboot-examples/decisiontable-springboot-example/pom.xml +++ b/kogito-springboot-examples/decisiontable-springboot-example/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/kogito-springboot-examples/decisiontable-springboot-example/src/main/java/org/kie/kogito/queries/Applicant.java b/kogito-springboot-examples/decisiontable-springboot-example/src/main/java/org/kie/kogito/queries/Applicant.java index 175d3a98d5..25d1c54e64 100644 --- a/kogito-springboot-examples/decisiontable-springboot-example/src/main/java/org/kie/kogito/queries/Applicant.java +++ b/kogito-springboot-examples/decisiontable-springboot-example/src/main/java/org/kie/kogito/queries/Applicant.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.queries; diff --git a/kogito-springboot-examples/decisiontable-springboot-example/src/main/java/org/kie/kogito/queries/KogitoSpringbootApplication.java b/kogito-springboot-examples/decisiontable-springboot-example/src/main/java/org/kie/kogito/queries/KogitoSpringbootApplication.java index d6f7c7a33f..c909e15e0c 100644 --- a/kogito-springboot-examples/decisiontable-springboot-example/src/main/java/org/kie/kogito/queries/KogitoSpringbootApplication.java +++ b/kogito-springboot-examples/decisiontable-springboot-example/src/main/java/org/kie/kogito/queries/KogitoSpringbootApplication.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.queries; diff --git a/kogito-springboot-examples/decisiontable-springboot-example/src/main/java/org/kie/kogito/queries/LoanApplication.java b/kogito-springboot-examples/decisiontable-springboot-example/src/main/java/org/kie/kogito/queries/LoanApplication.java index 70eec1c4e3..8697730bd3 100644 --- a/kogito-springboot-examples/decisiontable-springboot-example/src/main/java/org/kie/kogito/queries/LoanApplication.java +++ b/kogito-springboot-examples/decisiontable-springboot-example/src/main/java/org/kie/kogito/queries/LoanApplication.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.queries; diff --git a/kogito-springboot-examples/decisiontable-springboot-example/src/main/java/org/kie/kogito/queries/LoanUnit.java b/kogito-springboot-examples/decisiontable-springboot-example/src/main/java/org/kie/kogito/queries/LoanUnit.java index 3d35a77609..0aa2234202 100644 --- a/kogito-springboot-examples/decisiontable-springboot-example/src/main/java/org/kie/kogito/queries/LoanUnit.java +++ b/kogito-springboot-examples/decisiontable-springboot-example/src/main/java/org/kie/kogito/queries/LoanUnit.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.queries; diff --git a/kogito-springboot-examples/decisiontable-springboot-example/src/main/resources/application.properties b/kogito-springboot-examples/decisiontable-springboot-example/src/main/resources/application.properties index 5f4fb60b55..4e8da841ca 100644 --- a/kogito-springboot-examples/decisiontable-springboot-example/src/main/resources/application.properties +++ b/kogito-springboot-examples/decisiontable-springboot-example/src/main/resources/application.properties @@ -1 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + server.address=0.0.0.0 \ No newline at end of file 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..e4d0905a59 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.decisiontable.springboot; diff --git a/kogito-springboot-examples/decisiontable-springboot-example/src/test/resources/logback-test.xml b/kogito-springboot-examples/decisiontable-springboot-example/src/test/resources/logback-test.xml index 9d5906898a..e8a614e525 100644 --- a/kogito-springboot-examples/decisiontable-springboot-example/src/test/resources/logback-test.xml +++ b/kogito-springboot-examples/decisiontable-springboot-example/src/test/resources/logback-test.xml @@ -1,4 +1,24 @@ + diff --git a/kogito-springboot-examples/dmn-drools-springboot-metrics/docker-compose.yml b/kogito-springboot-examples/dmn-drools-springboot-metrics/docker-compose.yml index 2ec20caec3..742eff6f6a 100644 --- a/kogito-springboot-examples/dmn-drools-springboot-metrics/docker-compose.yml +++ b/kogito-springboot-examples/dmn-drools-springboot-metrics/docker-compose.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + version: '2' services: diff --git a/kogito-springboot-examples/dmn-drools-springboot-metrics/docker-compose/grafana/provisioning/dashboards/dashboard.yml b/kogito-springboot-examples/dmn-drools-springboot-metrics/docker-compose/grafana/provisioning/dashboards/dashboard.yml index 437d59118f..1c31f32b3b 100644 --- a/kogito-springboot-examples/dmn-drools-springboot-metrics/docker-compose/grafana/provisioning/dashboards/dashboard.yml +++ b/kogito-springboot-examples/dmn-drools-springboot-metrics/docker-compose/grafana/provisioning/dashboards/dashboard.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: 1 providers: diff --git a/kogito-springboot-examples/dmn-drools-springboot-metrics/docker-compose/grafana/provisioning/datasources/datasource.yml b/kogito-springboot-examples/dmn-drools-springboot-metrics/docker-compose/grafana/provisioning/datasources/datasource.yml index 4e58703f23..14e5b05c55 100644 --- a/kogito-springboot-examples/dmn-drools-springboot-metrics/docker-compose/grafana/provisioning/datasources/datasource.yml +++ b/kogito-springboot-examples/dmn-drools-springboot-metrics/docker-compose/grafana/provisioning/datasources/datasource.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # config file version apiVersion: 1 diff --git a/kogito-springboot-examples/dmn-drools-springboot-metrics/docker-compose/prometheus/prometheus.yml b/kogito-springboot-examples/dmn-drools-springboot-metrics/docker-compose/prometheus/prometheus.yml index 7674075b47..12fd032396 100644 --- a/kogito-springboot-examples/dmn-drools-springboot-metrics/docker-compose/prometheus/prometheus.yml +++ b/kogito-springboot-examples/dmn-drools-springboot-metrics/docker-compose/prometheus/prometheus.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # A scrape configuration containing exactly one endpoint to scrape: scrape_configs: # The job name is added as a label `job=` to any timeseries scraped from this config. diff --git a/kogito-springboot-examples/dmn-drools-springboot-metrics/pom.xml b/kogito-springboot-examples/dmn-drools-springboot-metrics/pom.xml index 67de35feea..0ef74b13fb 100755 --- a/kogito-springboot-examples/dmn-drools-springboot-metrics/pom.xml +++ b/kogito-springboot-examples/dmn-drools-springboot-metrics/pom.xml @@ -1,4 +1,24 @@ + diff --git a/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/java/org/kie/kogito/app/CustomDMNRuntimeEventListener.java b/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/java/org/kie/kogito/app/CustomDMNRuntimeEventListener.java index 8aa7c6e104..d5f45f96a4 100644 --- a/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/java/org/kie/kogito/app/CustomDMNRuntimeEventListener.java +++ b/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/java/org/kie/kogito/app/CustomDMNRuntimeEventListener.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.app; diff --git a/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/java/org/kie/kogito/app/RuleEventListenerConfig.java b/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/java/org/kie/kogito/app/RuleEventListenerConfig.java index ec19ada235..df76704f9d 100644 --- a/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/java/org/kie/kogito/app/RuleEventListenerConfig.java +++ b/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/java/org/kie/kogito/app/RuleEventListenerConfig.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.app; diff --git a/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/java/org/kie/kogito/examples/CustomRuleEventListener.java b/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/java/org/kie/kogito/examples/CustomRuleEventListener.java index af8bb110d9..d6d43e72ca 100644 --- a/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/java/org/kie/kogito/examples/CustomRuleEventListener.java +++ b/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/java/org/kie/kogito/examples/CustomRuleEventListener.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/java/org/kie/kogito/examples/Hello.java b/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/java/org/kie/kogito/examples/Hello.java index f9a66b2d24..8ca8eee6c3 100644 --- a/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/java/org/kie/kogito/examples/Hello.java +++ b/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/java/org/kie/kogito/examples/Hello.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/java/org/kie/kogito/examples/springboot/KogitoSpringbootApplication.java b/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/java/org/kie/kogito/examples/springboot/KogitoSpringbootApplication.java index 73e73fc5fb..c4aa41d1bf 100644 --- a/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/java/org/kie/kogito/examples/springboot/KogitoSpringbootApplication.java +++ b/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/java/org/kie/kogito/examples/springboot/KogitoSpringbootApplication.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.springboot; diff --git a/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/resources/application.properties b/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/resources/application.properties index a0057f9a63..9a5525f92f 100644 --- a/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/resources/application.properties +++ b/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Configuration file # key = value management.security.enabled=false diff --git a/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/resources/org/kie/kogito/examples/Hello.drl b/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/resources/org/kie/kogito/examples/Hello.drl index e6d2073438..6026d730a2 100644 --- a/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/resources/org/kie/kogito/examples/Hello.drl +++ b/kogito-springboot-examples/dmn-drools-springboot-metrics/src/main/resources/org/kie/kogito/examples/Hello.drl @@ -1,17 +1,20 @@ /** - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; unit Hello; diff --git a/kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/filtered-resources/project.properties b/kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/filtered-resources/project.properties index 301ad794d3..5771872775 100644 --- a/kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/filtered-resources/project.properties +++ b/kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/filtered-resources/project.properties @@ -1,17 +1,21 @@ # -# Copyright 2021 Red Hat, Inc. and/or its affiliates. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# 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 # -# 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. +# 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. # + project.version=${project.version} project.artifactId=${project.artifactId} \ No newline at end of file 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..0cf869882c 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 @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.springboot; 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..30d5581080 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 @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.springboot; diff --git a/kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/java/org/kie/kogito/examples/springboot/GrafanaDockerComposeIT.java b/kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/java/org/kie/kogito/examples/springboot/GrafanaDockerComposeIT.java index ddcb5668c4..871de1ab3d 100644 --- a/kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/java/org/kie/kogito/examples/springboot/GrafanaDockerComposeIT.java +++ b/kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/java/org/kie/kogito/examples/springboot/GrafanaDockerComposeIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.springboot; 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..e4e0c8e64e 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 @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.springboot; diff --git a/kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/java/org/kie/kogito/examples/springboot/ProjectMetadataProvider.java b/kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/java/org/kie/kogito/examples/springboot/ProjectMetadataProvider.java index b295acb4f8..f75edcd276 100644 --- a/kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/java/org/kie/kogito/examples/springboot/ProjectMetadataProvider.java +++ b/kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/java/org/kie/kogito/examples/springboot/ProjectMetadataProvider.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.springboot; diff --git a/kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/resources/logback-test.xml b/kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/resources/logback-test.xml index e8c716f5ef..bb6af4db85 100644 --- a/kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/resources/logback-test.xml +++ b/kogito-springboot-examples/dmn-drools-springboot-metrics/src/test/resources/logback-test.xml @@ -1,3 +1,23 @@ + diff --git a/kogito-springboot-examples/dmn-event-driven-springboot/docker-compose.yml b/kogito-springboot-examples/dmn-event-driven-springboot/docker-compose.yml index f07d3cc400..802976737c 100644 --- a/kogito-springboot-examples/dmn-event-driven-springboot/docker-compose.yml +++ b/kogito-springboot-examples/dmn-event-driven-springboot/docker-compose.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + version: '2' services: diff --git a/kogito-springboot-examples/dmn-event-driven-springboot/pom.xml b/kogito-springboot-examples/dmn-event-driven-springboot/pom.xml index dfb740f571..5cb6ae6171 100644 --- a/kogito-springboot-examples/dmn-event-driven-springboot/pom.xml +++ b/kogito-springboot-examples/dmn-event-driven-springboot/pom.xml @@ -1,4 +1,24 @@ + diff --git a/kogito-springboot-examples/dmn-event-driven-springboot/src/main/java/org/kie/kogito/dmn/springboot/example/KogitoSpringbootApplication.java b/kogito-springboot-examples/dmn-event-driven-springboot/src/main/java/org/kie/kogito/dmn/springboot/example/KogitoSpringbootApplication.java index 3e65b56318..5744b7fb8a 100644 --- a/kogito-springboot-examples/dmn-event-driven-springboot/src/main/java/org/kie/kogito/dmn/springboot/example/KogitoSpringbootApplication.java +++ b/kogito-springboot-examples/dmn-event-driven-springboot/src/main/java/org/kie/kogito/dmn/springboot/example/KogitoSpringbootApplication.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.dmn.springboot.example; diff --git a/kogito-springboot-examples/dmn-event-driven-springboot/src/main/resources/application.properties b/kogito-springboot-examples/dmn-event-driven-springboot/src/main/resources/application.properties index 5a5b573693..92a54e669a 100644 --- a/kogito-springboot-examples/dmn-event-driven-springboot/src/main/resources/application.properties +++ b/kogito-springboot-examples/dmn-event-driven-springboot/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + kogito.addon.cloudevents.kafka.kogito_incoming_stream=dmn-event-driven-requests kogito.addon.cloudevents.kafka.kogito_outgoing_stream=dmn-event-driven-responses kogito.addon.tracing.decision.kafka.bootstrapAddress=localhost:9092 diff --git a/kogito-springboot-examples/dmn-event-driven-springboot/src/test/java/org/kie/kogito/examples/DmnEventDrivenIT.java b/kogito-springboot-examples/dmn-event-driven-springboot/src/test/java/org/kie/kogito/examples/DmnEventDrivenIT.java index 5f27725cd9..50a351619f 100644 --- a/kogito-springboot-examples/dmn-event-driven-springboot/src/test/java/org/kie/kogito/examples/DmnEventDrivenIT.java +++ b/kogito-springboot-examples/dmn-event-driven-springboot/src/test/java/org/kie/kogito/examples/DmnEventDrivenIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/kogito-springboot-examples/dmn-listener-springboot/operator/dmn-springboot-example.yaml b/kogito-springboot-examples/dmn-listener-springboot/operator/dmn-springboot-example.yaml index cc57d67dbe..3523735497 100644 --- a/kogito-springboot-examples/dmn-listener-springboot/operator/dmn-springboot-example.yaml +++ b/kogito-springboot-examples/dmn-listener-springboot/operator/dmn-springboot-example.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: app.kiegroup.org/v1beta1 kind: KogitoBuild metadata: diff --git a/kogito-springboot-examples/dmn-listener-springboot/pom.xml b/kogito-springboot-examples/dmn-listener-springboot/pom.xml index 4bf7103971..eaac68552b 100644 --- a/kogito-springboot-examples/dmn-listener-springboot/pom.xml +++ b/kogito-springboot-examples/dmn-listener-springboot/pom.xml @@ -1,4 +1,24 @@ + diff --git a/kogito-springboot-examples/dmn-listener-springboot/src/main/java/org/kie/kogito/dmn/springboot/example/listener/ExampleDMNRuntimeEventListener.java b/kogito-springboot-examples/dmn-listener-springboot/src/main/java/org/kie/kogito/dmn/springboot/example/listener/ExampleDMNRuntimeEventListener.java index 6f03197c52..8334fdfc3b 100644 --- a/kogito-springboot-examples/dmn-listener-springboot/src/main/java/org/kie/kogito/dmn/springboot/example/listener/ExampleDMNRuntimeEventListener.java +++ b/kogito-springboot-examples/dmn-listener-springboot/src/main/java/org/kie/kogito/dmn/springboot/example/listener/ExampleDMNRuntimeEventListener.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.dmn.springboot.example.listener; diff --git a/kogito-springboot-examples/dmn-listener-springboot/src/main/java/org/kie/kogito/dmn/springboot/example/listener/ExampleDecisionEventListenerConfig.java b/kogito-springboot-examples/dmn-listener-springboot/src/main/java/org/kie/kogito/dmn/springboot/example/listener/ExampleDecisionEventListenerConfig.java index 6796d66ad7..460be6cdf8 100644 --- a/kogito-springboot-examples/dmn-listener-springboot/src/main/java/org/kie/kogito/dmn/springboot/example/listener/ExampleDecisionEventListenerConfig.java +++ b/kogito-springboot-examples/dmn-listener-springboot/src/main/java/org/kie/kogito/dmn/springboot/example/listener/ExampleDecisionEventListenerConfig.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.dmn.springboot.example.listener; diff --git a/kogito-springboot-examples/dmn-listener-springboot/src/main/java/org/kie/kogito/dmn/springboot/example/listener/KogitoSpringbootApplication.java b/kogito-springboot-examples/dmn-listener-springboot/src/main/java/org/kie/kogito/dmn/springboot/example/listener/KogitoSpringbootApplication.java index 7d9e1d2726..cbe69e4dc8 100644 --- a/kogito-springboot-examples/dmn-listener-springboot/src/main/java/org/kie/kogito/dmn/springboot/example/listener/KogitoSpringbootApplication.java +++ b/kogito-springboot-examples/dmn-listener-springboot/src/main/java/org/kie/kogito/dmn/springboot/example/listener/KogitoSpringbootApplication.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.dmn.springboot.example.listener; diff --git a/kogito-springboot-examples/dmn-listener-springboot/src/main/java/org/kie/kogito/dmn/springboot/example/listener/LoggingDMNRuntimeEventListener.java b/kogito-springboot-examples/dmn-listener-springboot/src/main/java/org/kie/kogito/dmn/springboot/example/listener/LoggingDMNRuntimeEventListener.java index 5475a79af8..3425f71c48 100644 --- a/kogito-springboot-examples/dmn-listener-springboot/src/main/java/org/kie/kogito/dmn/springboot/example/listener/LoggingDMNRuntimeEventListener.java +++ b/kogito-springboot-examples/dmn-listener-springboot/src/main/java/org/kie/kogito/dmn/springboot/example/listener/LoggingDMNRuntimeEventListener.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.dmn.springboot.example.listener; diff --git a/kogito-springboot-examples/dmn-listener-springboot/src/main/resources/application.properties b/kogito-springboot-examples/dmn-listener-springboot/src/main/resources/application.properties index 5f4fb60b55..4e8da841ca 100644 --- a/kogito-springboot-examples/dmn-listener-springboot/src/main/resources/application.properties +++ b/kogito-springboot-examples/dmn-listener-springboot/src/main/resources/application.properties @@ -1 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + server.address=0.0.0.0 \ No newline at end of file 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..0f0127a2fb 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.dmn.springboot.example.listener; 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..c8f95c4525 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.dmn.springboot.example.listener; diff --git a/kogito-springboot-examples/dmn-listener-springboot/src/test/java/org/kie/kogito/dmn/springboot/example/mock/MockDMNRuntimeEventListener.java b/kogito-springboot-examples/dmn-listener-springboot/src/test/java/org/kie/kogito/dmn/springboot/example/mock/MockDMNRuntimeEventListener.java index ca42ac1075..39c46d6228 100644 --- a/kogito-springboot-examples/dmn-listener-springboot/src/test/java/org/kie/kogito/dmn/springboot/example/mock/MockDMNRuntimeEventListener.java +++ b/kogito-springboot-examples/dmn-listener-springboot/src/test/java/org/kie/kogito/dmn/springboot/example/mock/MockDMNRuntimeEventListener.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.dmn.springboot.example.mock; diff --git a/kogito-springboot-examples/dmn-pmml-springboot-example/operator/dmn-pmml-springboot-example.yaml b/kogito-springboot-examples/dmn-pmml-springboot-example/operator/dmn-pmml-springboot-example.yaml index 1d5444ccd0..ac37fc8170 100644 --- a/kogito-springboot-examples/dmn-pmml-springboot-example/operator/dmn-pmml-springboot-example.yaml +++ b/kogito-springboot-examples/dmn-pmml-springboot-example/operator/dmn-pmml-springboot-example.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: app.kiegroup.org/v1beta1 kind: KogitoBuild metadata: diff --git a/kogito-springboot-examples/dmn-pmml-springboot-example/pom.xml b/kogito-springboot-examples/dmn-pmml-springboot-example/pom.xml index 48564bdf33..afe5089aee 100644 --- a/kogito-springboot-examples/dmn-pmml-springboot-example/pom.xml +++ b/kogito-springboot-examples/dmn-pmml-springboot-example/pom.xml @@ -1,4 +1,24 @@ + diff --git a/kogito-springboot-examples/dmn-pmml-springboot-example/src/main/java/org/kie/kogito/dmn/pmml/springboot/example/KogitoSpringbootApplication.java b/kogito-springboot-examples/dmn-pmml-springboot-example/src/main/java/org/kie/kogito/dmn/pmml/springboot/example/KogitoSpringbootApplication.java index 4f4d108346..931b0a405c 100644 --- a/kogito-springboot-examples/dmn-pmml-springboot-example/src/main/java/org/kie/kogito/dmn/pmml/springboot/example/KogitoSpringbootApplication.java +++ b/kogito-springboot-examples/dmn-pmml-springboot-example/src/main/java/org/kie/kogito/dmn/pmml/springboot/example/KogitoSpringbootApplication.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.dmn.pmml.springboot.example; diff --git a/kogito-springboot-examples/dmn-pmml-springboot-example/src/main/resources/application.properties b/kogito-springboot-examples/dmn-pmml-springboot-example/src/main/resources/application.properties index 5f4fb60b55..4e8da841ca 100644 --- a/kogito-springboot-examples/dmn-pmml-springboot-example/src/main/resources/application.properties +++ b/kogito-springboot-examples/dmn-pmml-springboot-example/src/main/resources/application.properties @@ -1 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + server.address=0.0.0.0 \ No newline at end of file diff --git a/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/CommonTestUtils.java b/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/CommonTestUtils.java index 1af710d2ac..ef2c8407fd 100644 --- a/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/CommonTestUtils.java +++ b/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/org/kie/kogito/dmn/pmml/springboot/example/CommonTestUtils.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.dmn.pmml.springboot.example; 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..de5f95fedb 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.dmn.pmml.springboot.example; 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..da4ca0d383 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.dmn.pmml.springboot.example; 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..1a40d0b559 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 @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.dmn.pmml.springboot.example; 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..46c9cb8227 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.dmn.pmml.springboot.example; 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..a60208496b 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.dmn.pmml.springboot.example; 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..b1cf6866af 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.dmn.pmml.springboot.example; 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..f83ad52c97 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.dmn.pmml.springboot.example; 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..27d13e4854 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 @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.dmn.pmml.springboot.example; diff --git a/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/testscenario/KogitoScenarioJunitActivatorTest.java b/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/testscenario/KogitoScenarioJunitActivatorTest.java index b80780fad8..4b19a12015 100644 --- a/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/testscenario/KogitoScenarioJunitActivatorTest.java +++ b/kogito-springboot-examples/dmn-pmml-springboot-example/src/test/java/testscenario/KogitoScenarioJunitActivatorTest.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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 testscenario; diff --git a/kogito-springboot-examples/dmn-springboot-example/operator/dmn-springboot-example.yaml b/kogito-springboot-examples/dmn-springboot-example/operator/dmn-springboot-example.yaml index 44060129d2..0a3742d67e 100644 --- a/kogito-springboot-examples/dmn-springboot-example/operator/dmn-springboot-example.yaml +++ b/kogito-springboot-examples/dmn-springboot-example/operator/dmn-springboot-example.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: app.kiegroup.org/v1beta1 kind: KogitoBuild metadata: diff --git a/kogito-springboot-examples/dmn-springboot-example/pom.xml b/kogito-springboot-examples/dmn-springboot-example/pom.xml index 1016db26ac..af87eea3ce 100644 --- a/kogito-springboot-examples/dmn-springboot-example/pom.xml +++ b/kogito-springboot-examples/dmn-springboot-example/pom.xml @@ -1,4 +1,24 @@ + diff --git a/kogito-springboot-examples/dmn-springboot-example/src/main/java/org/kie/kogito/dmn/springboot/example/KogitoSpringbootApplication.java b/kogito-springboot-examples/dmn-springboot-example/src/main/java/org/kie/kogito/dmn/springboot/example/KogitoSpringbootApplication.java index a1e86fc7c6..0ae0f6a443 100644 --- a/kogito-springboot-examples/dmn-springboot-example/src/main/java/org/kie/kogito/dmn/springboot/example/KogitoSpringbootApplication.java +++ b/kogito-springboot-examples/dmn-springboot-example/src/main/java/org/kie/kogito/dmn/springboot/example/KogitoSpringbootApplication.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.dmn.springboot.example; diff --git a/kogito-springboot-examples/dmn-springboot-example/src/main/resources/application.properties b/kogito-springboot-examples/dmn-springboot-example/src/main/resources/application.properties index 2d5e584cce..216ad14477 100644 --- a/kogito-springboot-examples/dmn-springboot-example/src/main/resources/application.properties +++ b/kogito-springboot-examples/dmn-springboot-example/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar 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..6efeea3930 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.dmn.springboot.example; diff --git a/kogito-springboot-examples/dmn-springboot-example/src/test/java/testscenario/KogitoScenarioJunitActivatorTest.java b/kogito-springboot-examples/dmn-springboot-example/src/test/java/testscenario/KogitoScenarioJunitActivatorTest.java index b80780fad8..4b19a12015 100644 --- a/kogito-springboot-examples/dmn-springboot-example/src/test/java/testscenario/KogitoScenarioJunitActivatorTest.java +++ b/kogito-springboot-examples/dmn-springboot-example/src/test/java/testscenario/KogitoScenarioJunitActivatorTest.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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 testscenario; diff --git a/kogito-springboot-examples/dmn-tracing-springboot/docker-compose.yml b/kogito-springboot-examples/dmn-tracing-springboot/docker-compose.yml index bb3dd8d506..9edd2032e0 100644 --- a/kogito-springboot-examples/dmn-tracing-springboot/docker-compose.yml +++ b/kogito-springboot-examples/dmn-tracing-springboot/docker-compose.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + version: '2' services: diff --git a/kogito-springboot-examples/dmn-tracing-springboot/docker-compose/infinispan/infinispan.xml b/kogito-springboot-examples/dmn-tracing-springboot/docker-compose/infinispan/infinispan.xml index f7c28ab38c..49b57f7d93 100644 --- a/kogito-springboot-examples/dmn-tracing-springboot/docker-compose/infinispan/infinispan.xml +++ b/kogito-springboot-examples/dmn-tracing-springboot/docker-compose/infinispan/infinispan.xml @@ -1,3 +1,23 @@ + diff --git a/kogito-springboot-examples/dmn-tracing-springboot/operator/dmn-tracing-springboot.yaml b/kogito-springboot-examples/dmn-tracing-springboot/operator/dmn-tracing-springboot.yaml index 44060129d2..0a3742d67e 100644 --- a/kogito-springboot-examples/dmn-tracing-springboot/operator/dmn-tracing-springboot.yaml +++ b/kogito-springboot-examples/dmn-tracing-springboot/operator/dmn-tracing-springboot.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: app.kiegroup.org/v1beta1 kind: KogitoBuild metadata: diff --git a/kogito-springboot-examples/dmn-tracing-springboot/pom.xml b/kogito-springboot-examples/dmn-tracing-springboot/pom.xml index 458b024c42..d007519df6 100644 --- a/kogito-springboot-examples/dmn-tracing-springboot/pom.xml +++ b/kogito-springboot-examples/dmn-tracing-springboot/pom.xml @@ -1,4 +1,24 @@ + diff --git a/kogito-springboot-examples/dmn-tracing-springboot/src/main/java/org/kie/kogito/dmn/springboot/tracing/KogitoSpringbootApplication.java b/kogito-springboot-examples/dmn-tracing-springboot/src/main/java/org/kie/kogito/dmn/springboot/tracing/KogitoSpringbootApplication.java index f6648ebbae..f3adc6040b 100644 --- a/kogito-springboot-examples/dmn-tracing-springboot/src/main/java/org/kie/kogito/dmn/springboot/tracing/KogitoSpringbootApplication.java +++ b/kogito-springboot-examples/dmn-tracing-springboot/src/main/java/org/kie/kogito/dmn/springboot/tracing/KogitoSpringbootApplication.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.dmn.springboot.tracing; diff --git a/kogito-springboot-examples/dmn-tracing-springboot/src/main/resources/application.properties b/kogito-springboot-examples/dmn-tracing-springboot/src/main/resources/application.properties index 4371e95bd3..c261a88676 100644 --- a/kogito-springboot-examples/dmn-tracing-springboot/src/main/resources/application.properties +++ b/kogito-springboot-examples/dmn-tracing-springboot/src/main/resources/application.properties @@ -1,2 +1,21 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + server.address=0.0.0.0 kogito.addon.tracing.decision.kafka.bootstrapAddress=localhost:9092 \ No newline at end of file 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..da9d38f3bf 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.dmn.springboot.tracing; diff --git a/kogito-springboot-examples/dmn-tracing-springboot/src/test/java/org/kie/kogito/dmn/springboot/tracing/matcher/StringMatchesUUIDPattern.java b/kogito-springboot-examples/dmn-tracing-springboot/src/test/java/org/kie/kogito/dmn/springboot/tracing/matcher/StringMatchesUUIDPattern.java index 8c34bb72ad..2819c439a3 100644 --- a/kogito-springboot-examples/dmn-tracing-springboot/src/test/java/org/kie/kogito/dmn/springboot/tracing/matcher/StringMatchesUUIDPattern.java +++ b/kogito-springboot-examples/dmn-tracing-springboot/src/test/java/org/kie/kogito/dmn/springboot/tracing/matcher/StringMatchesUUIDPattern.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.dmn.springboot.tracing.matcher; diff --git a/kogito-springboot-examples/dmn-tracing-springboot/src/test/resources/application.properties b/kogito-springboot-examples/dmn-tracing-springboot/src/test/resources/application.properties index cf952848f6..593c4f8f06 100644 --- a/kogito-springboot-examples/dmn-tracing-springboot/src/test/resources/application.properties +++ b/kogito-springboot-examples/dmn-tracing-springboot/src/test/resources/application.properties @@ -1 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + kogito.addon.tracing.decision.kafka.bootstrapAddress=${spring.kafka.bootstrap-servers} \ No newline at end of file diff --git a/kogito-springboot-examples/flexible-process-springboot/operator/flexible-process-springboot.yaml b/kogito-springboot-examples/flexible-process-springboot/operator/flexible-process-springboot.yaml index d6cedeae15..d5ebc4dae7 100644 --- a/kogito-springboot-examples/flexible-process-springboot/operator/flexible-process-springboot.yaml +++ b/kogito-springboot-examples/flexible-process-springboot/operator/flexible-process-springboot.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: app.kiegroup.org/v1beta1 kind: KogitoBuild metadata: diff --git a/kogito-springboot-examples/flexible-process-springboot/pom.xml b/kogito-springboot-examples/flexible-process-springboot/pom.xml index a54b5b752d..d8664b8177 100644 --- a/kogito-springboot-examples/flexible-process-springboot/pom.xml +++ b/kogito-springboot-examples/flexible-process-springboot/pom.xml @@ -1,4 +1,24 @@ + diff --git a/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/flexible/example/model/Comment.java b/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/flexible/example/model/Comment.java index c6e924361e..3257e28ba8 100644 --- a/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/flexible/example/model/Comment.java +++ b/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/flexible/example/model/Comment.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.flexible.example.model; diff --git a/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/flexible/example/model/Product.java b/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/flexible/example/model/Product.java index 9efe281bc8..1dd99f1d9f 100644 --- a/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/flexible/example/model/Product.java +++ b/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/flexible/example/model/Product.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.flexible.example.model; diff --git a/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/flexible/example/model/Questionnaire.java b/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/flexible/example/model/Questionnaire.java index 974f8c7fb1..9586703f97 100644 --- a/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/flexible/example/model/Questionnaire.java +++ b/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/flexible/example/model/Questionnaire.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.flexible.example.model; diff --git a/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/flexible/example/model/State.java b/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/flexible/example/model/State.java index 29b47e5ed5..6efea72c9d 100644 --- a/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/flexible/example/model/State.java +++ b/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/flexible/example/model/State.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.flexible.example.model; diff --git a/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/flexible/example/model/SupportCase.java b/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/flexible/example/model/SupportCase.java index efb4b4ed24..ec880e01ae 100644 --- a/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/flexible/example/model/SupportCase.java +++ b/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/flexible/example/model/SupportCase.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.flexible.example.model; diff --git a/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/flexible/example/service/CommentService.java b/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/flexible/example/service/CommentService.java index 55f280ba70..a41d0ad108 100644 --- a/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/flexible/example/service/CommentService.java +++ b/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/flexible/example/service/CommentService.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.flexible.example.service; diff --git a/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/flexible/example/service/StateService.java b/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/flexible/example/service/StateService.java index ae43868e2c..ca46491fe4 100644 --- a/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/flexible/example/service/StateService.java +++ b/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/flexible/example/service/StateService.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.flexible.example.service; diff --git a/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/flexible/example/service/TriageService.java b/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/flexible/example/service/TriageService.java index 7b0a8f6f40..18e33be24a 100644 --- a/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/flexible/example/service/TriageService.java +++ b/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/flexible/example/service/TriageService.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.flexible.example.service; diff --git a/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/tests/KogitoSpringbootApplication.java b/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/tests/KogitoSpringbootApplication.java index 9fa783e4a1..e80af38acf 100644 --- a/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/tests/KogitoSpringbootApplication.java +++ b/kogito-springboot-examples/flexible-process-springboot/src/main/java/org/kie/kogito/tests/KogitoSpringbootApplication.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.tests; 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..53283978f6 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.flexible.example.springboot; diff --git a/kogito-springboot-examples/onboarding-springboot/pom.xml b/kogito-springboot-examples/onboarding-springboot/pom.xml index cbf0db3c57..199c4f40e0 100644 --- a/kogito-springboot-examples/onboarding-springboot/pom.xml +++ b/kogito-springboot-examples/onboarding-springboot/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/kogito-springboot-examples/onboarding-springboot/src/main/java/org/kie/kogito/examples/KogitoOnboardingApplication.java b/kogito-springboot-examples/onboarding-springboot/src/main/java/org/kie/kogito/examples/KogitoOnboardingApplication.java index 2764617167..6b2772ca9d 100644 --- a/kogito-springboot-examples/onboarding-springboot/src/main/java/org/kie/kogito/examples/KogitoOnboardingApplication.java +++ b/kogito-springboot-examples/onboarding-springboot/src/main/java/org/kie/kogito/examples/KogitoOnboardingApplication.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; 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..ce4fc064ee 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/kogito-springboot-examples/onboarding-springboot/src/main/java/org/kie/kogito/examples/onboarding/Address.java b/kogito-springboot-examples/onboarding-springboot/src/main/java/org/kie/kogito/examples/onboarding/Address.java index e4adcdbe31..02c910572e 100644 --- a/kogito-springboot-examples/onboarding-springboot/src/main/java/org/kie/kogito/examples/onboarding/Address.java +++ b/kogito-springboot-examples/onboarding-springboot/src/main/java/org/kie/kogito/examples/onboarding/Address.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.onboarding; diff --git a/kogito-springboot-examples/onboarding-springboot/src/main/java/org/kie/kogito/examples/onboarding/DecisionTaskWorkItemHandler.java b/kogito-springboot-examples/onboarding-springboot/src/main/java/org/kie/kogito/examples/onboarding/DecisionTaskWorkItemHandler.java index 60c766bfc3..f958f4591a 100644 --- a/kogito-springboot-examples/onboarding-springboot/src/main/java/org/kie/kogito/examples/onboarding/DecisionTaskWorkItemHandler.java +++ b/kogito-springboot-examples/onboarding-springboot/src/main/java/org/kie/kogito/examples/onboarding/DecisionTaskWorkItemHandler.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.onboarding; diff --git a/kogito-springboot-examples/onboarding-springboot/src/main/java/org/kie/kogito/examples/onboarding/Employee.java b/kogito-springboot-examples/onboarding-springboot/src/main/java/org/kie/kogito/examples/onboarding/Employee.java index 12923c8e7f..c4b43fa3f3 100644 --- a/kogito-springboot-examples/onboarding-springboot/src/main/java/org/kie/kogito/examples/onboarding/Employee.java +++ b/kogito-springboot-examples/onboarding-springboot/src/main/java/org/kie/kogito/examples/onboarding/Employee.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.onboarding; diff --git a/kogito-springboot-examples/onboarding-springboot/src/main/java/org/kie/kogito/examples/onboarding/Payroll.java b/kogito-springboot-examples/onboarding-springboot/src/main/java/org/kie/kogito/examples/onboarding/Payroll.java index d3a99a24e7..aeb82b05ca 100644 --- a/kogito-springboot-examples/onboarding-springboot/src/main/java/org/kie/kogito/examples/onboarding/Payroll.java +++ b/kogito-springboot-examples/onboarding-springboot/src/main/java/org/kie/kogito/examples/onboarding/Payroll.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.onboarding; diff --git a/kogito-springboot-examples/onboarding-springboot/src/main/jkube/knative-service.yaml b/kogito-springboot-examples/onboarding-springboot/src/main/jkube/knative-service.yaml index 1e4a9ec4a7..b622550998 100644 --- a/kogito-springboot-examples/onboarding-springboot/src/main/jkube/knative-service.yaml +++ b/kogito-springboot-examples/onboarding-springboot/src/main/jkube/knative-service.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: serving.knative.dev/v1 kind: Service metadata: diff --git a/kogito-springboot-examples/onboarding-springboot/src/main/jkube/rolebinding.yaml b/kogito-springboot-examples/onboarding-springboot/src/main/jkube/rolebinding.yaml index 66267dbc42..8ca9b3ab85 100644 --- a/kogito-springboot-examples/onboarding-springboot/src/main/jkube/rolebinding.yaml +++ b/kogito-springboot-examples/onboarding-springboot/src/main/jkube/rolebinding.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: diff --git a/kogito-springboot-examples/onboarding-springboot/src/main/resources/META-INF/kmodule.xml b/kogito-springboot-examples/onboarding-springboot/src/main/resources/META-INF/kmodule.xml index 088d681b28..9b0f9364a3 100644 --- a/kogito-springboot-examples/onboarding-springboot/src/main/resources/META-INF/kmodule.xml +++ b/kogito-springboot-examples/onboarding-springboot/src/main/resources/META-INF/kmodule.xml @@ -1 +1,21 @@ + \ No newline at end of file diff --git a/kogito-springboot-examples/onboarding-springboot/src/main/resources/application.properties b/kogito-springboot-examples/onboarding-springboot/src/main/resources/application.properties index 7d7853bdff..3bd02abd12 100644 --- a/kogito-springboot-examples/onboarding-springboot/src/main/resources/application.properties +++ b/kogito-springboot-examples/onboarding-springboot/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + server.port=8080 infinispan.remote.server-list=localhost:11222 org.acme.kogito.onboarding.local=false \ No newline at end of file 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..f488c7866c 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.onboarding; diff --git a/kogito-springboot-examples/onboarding-springboot/src/test/java/org/kie/kogito/examples/test/RecordedOutputWorkItemHandler.java b/kogito-springboot-examples/onboarding-springboot/src/test/java/org/kie/kogito/examples/test/RecordedOutputWorkItemHandler.java index 98c20ea8b5..05a6799916 100644 --- a/kogito-springboot-examples/onboarding-springboot/src/test/java/org/kie/kogito/examples/test/RecordedOutputWorkItemHandler.java +++ b/kogito-springboot-examples/onboarding-springboot/src/test/java/org/kie/kogito/examples/test/RecordedOutputWorkItemHandler.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.test; diff --git a/kogito-springboot-examples/onboarding-springboot/src/test/java/org/kie/kogito/examples/test/RecordedWorkItemHandlerConfig.java b/kogito-springboot-examples/onboarding-springboot/src/test/java/org/kie/kogito/examples/test/RecordedWorkItemHandlerConfig.java index de8947db89..26b40467a3 100644 --- a/kogito-springboot-examples/onboarding-springboot/src/test/java/org/kie/kogito/examples/test/RecordedWorkItemHandlerConfig.java +++ b/kogito-springboot-examples/onboarding-springboot/src/test/java/org/kie/kogito/examples/test/RecordedWorkItemHandlerConfig.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.test; diff --git a/kogito-springboot-examples/onboarding-springboot/src/test/resources/application.properties b/kogito-springboot-examples/onboarding-springboot/src/test/resources/application.properties index b133bd7e89..cdd3d43491 100644 --- a/kogito-springboot-examples/onboarding-springboot/src/test/resources/application.properties +++ b/kogito-springboot-examples/onboarding-springboot/src/test/resources/application.properties @@ -1,2 +1,21 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + server.port=8080 org.acme.kogito.onboarding.local=true diff --git a/kogito-springboot-examples/pmml-event-driven-springboot/docker-compose.yml b/kogito-springboot-examples/pmml-event-driven-springboot/docker-compose.yml index f07d3cc400..802976737c 100644 --- a/kogito-springboot-examples/pmml-event-driven-springboot/docker-compose.yml +++ b/kogito-springboot-examples/pmml-event-driven-springboot/docker-compose.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + version: '2' services: diff --git a/kogito-springboot-examples/pmml-event-driven-springboot/pom.xml b/kogito-springboot-examples/pmml-event-driven-springboot/pom.xml index 9a46b97a15..192897b17e 100644 --- a/kogito-springboot-examples/pmml-event-driven-springboot/pom.xml +++ b/kogito-springboot-examples/pmml-event-driven-springboot/pom.xml @@ -1,4 +1,24 @@ + diff --git a/kogito-springboot-examples/pmml-event-driven-springboot/src/main/java/org/kie/kogito/pmml/springboot/example/KogitoSpringbootApplication.java b/kogito-springboot-examples/pmml-event-driven-springboot/src/main/java/org/kie/kogito/pmml/springboot/example/KogitoSpringbootApplication.java index 96dbd9d8d6..fd0a488f11 100644 --- a/kogito-springboot-examples/pmml-event-driven-springboot/src/main/java/org/kie/kogito/pmml/springboot/example/KogitoSpringbootApplication.java +++ b/kogito-springboot-examples/pmml-event-driven-springboot/src/main/java/org/kie/kogito/pmml/springboot/example/KogitoSpringbootApplication.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.pmml.springboot.example; diff --git a/kogito-springboot-examples/pmml-event-driven-springboot/src/main/resources/application.properties b/kogito-springboot-examples/pmml-event-driven-springboot/src/main/resources/application.properties index 29279a57f8..b6841a92a2 100644 --- a/kogito-springboot-examples/pmml-event-driven-springboot/src/main/resources/application.properties +++ b/kogito-springboot-examples/pmml-event-driven-springboot/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + kogito.addon.cloudevents.kafka.kogito_incoming_stream=pmml-event-driven-requests kogito.addon.cloudevents.kafka.kogito_outgoing_stream=pmml-event-driven-responses kogito.addon.tracing.decision.kafka.bootstrapAddress=localhost:9092 diff --git a/kogito-springboot-examples/pmml-event-driven-springboot/src/test/java/org/kie/kogito/examples/PmmlEventDrivenIT.java b/kogito-springboot-examples/pmml-event-driven-springboot/src/test/java/org/kie/kogito/examples/PmmlEventDrivenIT.java index f125539a2f..dbf5b604b2 100644 --- a/kogito-springboot-examples/pmml-event-driven-springboot/src/test/java/org/kie/kogito/examples/PmmlEventDrivenIT.java +++ b/kogito-springboot-examples/pmml-event-driven-springboot/src/test/java/org/kie/kogito/examples/PmmlEventDrivenIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/kogito-springboot-examples/pmml-event-driven-springboot/src/test/resources/logback-test.xml b/kogito-springboot-examples/pmml-event-driven-springboot/src/test/resources/logback-test.xml index e8c716f5ef..bb6af4db85 100644 --- a/kogito-springboot-examples/pmml-event-driven-springboot/src/test/resources/logback-test.xml +++ b/kogito-springboot-examples/pmml-event-driven-springboot/src/test/resources/logback-test.xml @@ -1,3 +1,23 @@ + diff --git a/kogito-springboot-examples/pmml-springboot-example/operator/pmml-springboot-example.yaml b/kogito-springboot-examples/pmml-springboot-example/operator/pmml-springboot-example.yaml index 2d1c8dcd3d..39ca1a2da3 100644 --- a/kogito-springboot-examples/pmml-springboot-example/operator/pmml-springboot-example.yaml +++ b/kogito-springboot-examples/pmml-springboot-example/operator/pmml-springboot-example.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: app.kiegroup.org/v1beta1 kind: KogitoBuild metadata: diff --git a/kogito-springboot-examples/pmml-springboot-example/pom.xml b/kogito-springboot-examples/pmml-springboot-example/pom.xml index 8f7ef4a2f8..49238db159 100644 --- a/kogito-springboot-examples/pmml-springboot-example/pom.xml +++ b/kogito-springboot-examples/pmml-springboot-example/pom.xml @@ -1,4 +1,24 @@ + diff --git a/kogito-springboot-examples/pmml-springboot-example/src/main/java/org/kie/kogito/pmml/springboot/example/KogitoSpringbootApplication.java b/kogito-springboot-examples/pmml-springboot-example/src/main/java/org/kie/kogito/pmml/springboot/example/KogitoSpringbootApplication.java index a2c900d261..fd0a488f11 100644 --- a/kogito-springboot-examples/pmml-springboot-example/src/main/java/org/kie/kogito/pmml/springboot/example/KogitoSpringbootApplication.java +++ b/kogito-springboot-examples/pmml-springboot-example/src/main/java/org/kie/kogito/pmml/springboot/example/KogitoSpringbootApplication.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.pmml.springboot.example; diff --git a/kogito-springboot-examples/pmml-springboot-example/src/main/resources/application.properties b/kogito-springboot-examples/pmml-springboot-example/src/main/resources/application.properties index 7303c9f975..93226a8305 100644 --- a/kogito-springboot-examples/pmml-springboot-example/src/main/resources/application.properties +++ b/kogito-springboot-examples/pmml-springboot-example/src/main/resources/application.properties @@ -1,2 +1,21 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + server.address=0.0.0.0 diff --git a/kogito-springboot-examples/pmml-springboot-example/src/test/java/org/kie/kogito/pmml/springboot/example/CommonTestUtils.java b/kogito-springboot-examples/pmml-springboot-example/src/test/java/org/kie/kogito/pmml/springboot/example/CommonTestUtils.java index 32415993c1..3a7c40ff9a 100644 --- a/kogito-springboot-examples/pmml-springboot-example/src/test/java/org/kie/kogito/pmml/springboot/example/CommonTestUtils.java +++ b/kogito-springboot-examples/pmml-springboot-example/src/test/java/org/kie/kogito/pmml/springboot/example/CommonTestUtils.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.pmml.springboot.example; 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..6f369760c6 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.pmml.springboot.example; 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..d87b344dad 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.pmml.springboot.example; 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..34ebf310bf 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.pmml.springboot.example; 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..2b6cea4fe0 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.pmml.springboot.example; diff --git a/kogito-springboot-examples/pom.xml b/kogito-springboot-examples/pom.xml index df57d4a323..c355fec8c6 100644 --- a/kogito-springboot-examples/pom.xml +++ b/kogito-springboot-examples/pom.xml @@ -1,4 +1,24 @@ + diff --git a/kogito-springboot-examples/process-business-rules-springboot/operator/process-business-rules-springboot.yaml b/kogito-springboot-examples/process-business-rules-springboot/operator/process-business-rules-springboot.yaml index 2ada0f5528..1270958458 100644 --- a/kogito-springboot-examples/process-business-rules-springboot/operator/process-business-rules-springboot.yaml +++ b/kogito-springboot-examples/process-business-rules-springboot/operator/process-business-rules-springboot.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: app.kiegroup.org/v1beta1 kind: KogitoBuild metadata: diff --git a/kogito-springboot-examples/process-business-rules-springboot/pom.xml b/kogito-springboot-examples/process-business-rules-springboot/pom.xml index e770ea884d..d4aa2e1b05 100644 --- a/kogito-springboot-examples/process-business-rules-springboot/pom.xml +++ b/kogito-springboot-examples/process-business-rules-springboot/pom.xml @@ -1,4 +1,24 @@ + diff --git a/kogito-springboot-examples/process-business-rules-springboot/src/main/java/org/acme/travels/Person.java b/kogito-springboot-examples/process-business-rules-springboot/src/main/java/org/acme/travels/Person.java index bfc9d2a8cd..77b60c13f2 100644 --- a/kogito-springboot-examples/process-business-rules-springboot/src/main/java/org/acme/travels/Person.java +++ b/kogito-springboot-examples/process-business-rules-springboot/src/main/java/org/acme/travels/Person.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; diff --git a/kogito-springboot-examples/process-business-rules-springboot/src/main/java/org/kie/kogito/tests/KogitoInfinispanSpringbootApplication.java b/kogito-springboot-examples/process-business-rules-springboot/src/main/java/org/kie/kogito/tests/KogitoInfinispanSpringbootApplication.java index 4b2388ce3c..356e47d49e 100644 --- a/kogito-springboot-examples/process-business-rules-springboot/src/main/java/org/kie/kogito/tests/KogitoInfinispanSpringbootApplication.java +++ b/kogito-springboot-examples/process-business-rules-springboot/src/main/java/org/kie/kogito/tests/KogitoInfinispanSpringbootApplication.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.tests; diff --git a/kogito-springboot-examples/process-business-rules-springboot/src/main/resources/META-INF/kmodule.xml b/kogito-springboot-examples/process-business-rules-springboot/src/main/resources/META-INF/kmodule.xml index 2ba4076c16..41665a75bb 100644 --- a/kogito-springboot-examples/process-business-rules-springboot/src/main/resources/META-INF/kmodule.xml +++ b/kogito-springboot-examples/process-business-rules-springboot/src/main/resources/META-INF/kmodule.xml @@ -1 +1,21 @@ + \ No newline at end of file diff --git a/kogito-springboot-examples/process-business-rules-springboot/src/main/resources/application.properties b/kogito-springboot-examples/process-business-rules-springboot/src/main/resources/application.properties index 2d5e584cce..216ad14477 100644 --- a/kogito-springboot-examples/process-business-rules-springboot/src/main/resources/application.properties +++ b/kogito-springboot-examples/process-business-rules-springboot/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar diff --git a/kogito-springboot-examples/process-business-rules-springboot/src/main/resources/org/acme/travels/person-rules.drl b/kogito-springboot-examples/process-business-rules-springboot/src/main/resources/org/acme/travels/person-rules.drl index 5b51b0fd49..9e253576e0 100644 --- a/kogito-springboot-examples/process-business-rules-springboot/src/main/resources/org/acme/travels/person-rules.drl +++ b/kogito-springboot-examples/process-business-rules-springboot/src/main/resources/org/acme/travels/person-rules.drl @@ -1,17 +1,20 @@ /** - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels diff --git a/kogito-springboot-examples/process-business-rules-springboot/src/test/java/org/acme/travels/PersonsProcessTest.java b/kogito-springboot-examples/process-business-rules-springboot/src/test/java/org/acme/travels/PersonsProcessTest.java index aefc9e3487..b9b189740f 100644 --- a/kogito-springboot-examples/process-business-rules-springboot/src/test/java/org/acme/travels/PersonsProcessTest.java +++ b/kogito-springboot-examples/process-business-rules-springboot/src/test/java/org/acme/travels/PersonsProcessTest.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; diff --git a/kogito-springboot-examples/process-decisions-rest-springboot/pom.xml b/kogito-springboot-examples/process-decisions-rest-springboot/pom.xml index ce8928da69..dd2a8031fb 100644 --- a/kogito-springboot-examples/process-decisions-rest-springboot/pom.xml +++ b/kogito-springboot-examples/process-decisions-rest-springboot/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/Driver.java b/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/Driver.java index f77a47b749..ad4e79fa09 100644 --- a/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/Driver.java +++ b/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/Driver.java @@ -1,19 +1,21 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic; import java.util.Date; diff --git a/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/DriverService.java b/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/DriverService.java index c6e2e44bb9..e751e995ad 100644 --- a/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/DriverService.java +++ b/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/DriverService.java @@ -1,19 +1,21 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic; import java.time.ZonedDateTime; diff --git a/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/Fine.java b/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/Fine.java index 4b6873829e..928562fb5f 100644 --- a/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/Fine.java +++ b/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/Fine.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic; diff --git a/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/KogitoApplication.java b/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/KogitoApplication.java index e761b023d5..387360e781 100644 --- a/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/KogitoApplication.java +++ b/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/KogitoApplication.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic; diff --git a/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/LicenseValidationRestService.java b/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/LicenseValidationRestService.java index efcefb779c..58c54bc7ac 100644 --- a/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/LicenseValidationRestService.java +++ b/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/LicenseValidationRestService.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic; diff --git a/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/LicenseValidationService.java b/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/LicenseValidationService.java index 53fd44ed58..29f4bef1b4 100644 --- a/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/LicenseValidationService.java +++ b/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/LicenseValidationService.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic; diff --git a/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/TrafficViolationResponse.java b/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/TrafficViolationResponse.java index cd550b1c03..a178948d7f 100644 --- a/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/TrafficViolationResponse.java +++ b/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/TrafficViolationResponse.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic; diff --git a/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/TrafficViolationRestService.java b/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/TrafficViolationRestService.java index 5b4b78550a..b849093bc3 100644 --- a/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/TrafficViolationRestService.java +++ b/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/TrafficViolationRestService.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic; diff --git a/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/Violation.java b/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/Violation.java index 56446af2d2..170dd2dda0 100644 --- a/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/Violation.java +++ b/kogito-springboot-examples/process-decisions-rest-springboot/src/main/java/org/kie/kogito/traffic/Violation.java @@ -1,19 +1,21 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic; import java.math.BigDecimal; diff --git a/kogito-springboot-examples/process-decisions-rest-springboot/src/main/resources/LicenseValidationService.drl b/kogito-springboot-examples/process-decisions-rest-springboot/src/main/resources/LicenseValidationService.drl index 799c78abd4..b408466b45 100644 --- a/kogito-springboot-examples/process-decisions-rest-springboot/src/main/resources/LicenseValidationService.drl +++ b/kogito-springboot-examples/process-decisions-rest-springboot/src/main/resources/LicenseValidationService.drl @@ -1,17 +1,20 @@ /** - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic diff --git a/kogito-springboot-examples/process-decisions-rest-springboot/src/main/resources/application.properties b/kogito-springboot-examples/process-decisions-rest-springboot/src/main/resources/application.properties index ea71bdd948..bd014d347a 100644 --- a/kogito-springboot-examples/process-decisions-rest-springboot/src/main/resources/application.properties +++ b/kogito-springboot-examples/process-decisions-rest-springboot/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + server.address=0.0.0.0 server.port=8080 # REST diff --git a/kogito-springboot-examples/process-decisions-rest-springboot/src/test/java/org/kie/kogito/traffic/TrafficProcessIT.java b/kogito-springboot-examples/process-decisions-rest-springboot/src/test/java/org/kie/kogito/traffic/TrafficProcessIT.java index 5eedf8de77..7671f13687 100644 --- a/kogito-springboot-examples/process-decisions-rest-springboot/src/test/java/org/kie/kogito/traffic/TrafficProcessIT.java +++ b/kogito-springboot-examples/process-decisions-rest-springboot/src/test/java/org/kie/kogito/traffic/TrafficProcessIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic; diff --git a/kogito-springboot-examples/process-decisions-rules-springboot/pom.xml b/kogito-springboot-examples/process-decisions-rules-springboot/pom.xml index 72beacfa13..5853944851 100644 --- a/kogito-springboot-examples/process-decisions-rules-springboot/pom.xml +++ b/kogito-springboot-examples/process-decisions-rules-springboot/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/kie/kogito/traffic/DriverService.java b/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/kie/kogito/traffic/DriverService.java index 9db51425a8..3518f83871 100644 --- a/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/kie/kogito/traffic/DriverService.java +++ b/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/kie/kogito/traffic/DriverService.java @@ -1,19 +1,21 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic; import java.time.ZonedDateTime; diff --git a/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/kie/kogito/traffic/Fine.java b/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/kie/kogito/traffic/Fine.java index 4b6873829e..928562fb5f 100644 --- a/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/kie/kogito/traffic/Fine.java +++ b/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/kie/kogito/traffic/Fine.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic; diff --git a/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/kie/kogito/traffic/KogitoApplication.java b/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/kie/kogito/traffic/KogitoApplication.java index 6009267b46..5e7ea292a0 100644 --- a/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/kie/kogito/traffic/KogitoApplication.java +++ b/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/kie/kogito/traffic/KogitoApplication.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic; diff --git a/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/kie/kogito/traffic/Violation.java b/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/kie/kogito/traffic/Violation.java index 56446af2d2..170dd2dda0 100644 --- a/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/kie/kogito/traffic/Violation.java +++ b/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/kie/kogito/traffic/Violation.java @@ -1,19 +1,21 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic; import java.math.BigDecimal; diff --git a/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/kie/kogito/traffic/licensevalidated/LicenseValidatedService.java b/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/kie/kogito/traffic/licensevalidated/LicenseValidatedService.java index b6a0374e9d..374e5efa23 100644 --- a/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/kie/kogito/traffic/licensevalidated/LicenseValidatedService.java +++ b/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/kie/kogito/traffic/licensevalidated/LicenseValidatedService.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic.licensevalidated; diff --git a/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/kie/kogito/traffic/licensevalidated/Validated.java b/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/kie/kogito/traffic/licensevalidated/Validated.java index 90c51f09e3..a24f9189e0 100644 --- a/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/kie/kogito/traffic/licensevalidated/Validated.java +++ b/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/kie/kogito/traffic/licensevalidated/Validated.java @@ -1,19 +1,21 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic.licensevalidated; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; diff --git a/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/kie/kogito/traffic/licensevalidation/Driver.java b/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/kie/kogito/traffic/licensevalidation/Driver.java index 6ee8bfbb04..0af0618e6a 100644 --- a/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/kie/kogito/traffic/licensevalidation/Driver.java +++ b/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/kie/kogito/traffic/licensevalidation/Driver.java @@ -1,19 +1,21 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic.licensevalidation; import java.util.Date; diff --git a/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/kie/kogito/traffic/licensevalidation/LicenseValidationService.java b/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/kie/kogito/traffic/licensevalidation/LicenseValidationService.java index 2d56c89eea..278b5fb470 100644 --- a/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/kie/kogito/traffic/licensevalidation/LicenseValidationService.java +++ b/kogito-springboot-examples/process-decisions-rules-springboot/src/main/java/org/kie/kogito/traffic/licensevalidation/LicenseValidationService.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic.licensevalidation; diff --git a/kogito-springboot-examples/process-decisions-rules-springboot/src/main/resources/LicenseValidatedService.drl b/kogito-springboot-examples/process-decisions-rules-springboot/src/main/resources/LicenseValidatedService.drl index 5dd428e835..f3b50665c7 100644 --- a/kogito-springboot-examples/process-decisions-rules-springboot/src/main/resources/LicenseValidatedService.drl +++ b/kogito-springboot-examples/process-decisions-rules-springboot/src/main/resources/LicenseValidatedService.drl @@ -1,17 +1,20 @@ /** - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic.licensevalidated diff --git a/kogito-springboot-examples/process-decisions-rules-springboot/src/main/resources/LicenseValidationService.drl b/kogito-springboot-examples/process-decisions-rules-springboot/src/main/resources/LicenseValidationService.drl index 324866bfa3..da7439087d 100644 --- a/kogito-springboot-examples/process-decisions-rules-springboot/src/main/resources/LicenseValidationService.drl +++ b/kogito-springboot-examples/process-decisions-rules-springboot/src/main/resources/LicenseValidationService.drl @@ -1,17 +1,20 @@ /** - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic.licensevalidation diff --git a/kogito-springboot-examples/process-decisions-rules-springboot/src/main/resources/application.properties b/kogito-springboot-examples/process-decisions-rules-springboot/src/main/resources/application.properties index e1261b7a7e..37162bfd23 100644 --- a/kogito-springboot-examples/process-decisions-rules-springboot/src/main/resources/application.properties +++ b/kogito-springboot-examples/process-decisions-rules-springboot/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + server.address=0.0.0.0 kogito.generate.rest.decisions=false kogito.generate.rest.processes=true 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..ccffa26abd 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 @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic; diff --git a/kogito-springboot-examples/process-decisions-springboot/pom.xml b/kogito-springboot-examples/process-decisions-springboot/pom.xml index 24b7e98096..1ef43d1d00 100644 --- a/kogito-springboot-examples/process-decisions-springboot/pom.xml +++ b/kogito-springboot-examples/process-decisions-springboot/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/kogito-springboot-examples/process-decisions-springboot/src/main/java/org/kie/kogito/traffic/Driver.java b/kogito-springboot-examples/process-decisions-springboot/src/main/java/org/kie/kogito/traffic/Driver.java index f77a47b749..ad4e79fa09 100644 --- a/kogito-springboot-examples/process-decisions-springboot/src/main/java/org/kie/kogito/traffic/Driver.java +++ b/kogito-springboot-examples/process-decisions-springboot/src/main/java/org/kie/kogito/traffic/Driver.java @@ -1,19 +1,21 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic; import java.util.Date; diff --git a/kogito-springboot-examples/process-decisions-springboot/src/main/java/org/kie/kogito/traffic/DriverService.java b/kogito-springboot-examples/process-decisions-springboot/src/main/java/org/kie/kogito/traffic/DriverService.java index c6e2e44bb9..e751e995ad 100644 --- a/kogito-springboot-examples/process-decisions-springboot/src/main/java/org/kie/kogito/traffic/DriverService.java +++ b/kogito-springboot-examples/process-decisions-springboot/src/main/java/org/kie/kogito/traffic/DriverService.java @@ -1,19 +1,21 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic; import java.time.ZonedDateTime; diff --git a/kogito-springboot-examples/process-decisions-springboot/src/main/java/org/kie/kogito/traffic/Fine.java b/kogito-springboot-examples/process-decisions-springboot/src/main/java/org/kie/kogito/traffic/Fine.java index 4b6873829e..928562fb5f 100644 --- a/kogito-springboot-examples/process-decisions-springboot/src/main/java/org/kie/kogito/traffic/Fine.java +++ b/kogito-springboot-examples/process-decisions-springboot/src/main/java/org/kie/kogito/traffic/Fine.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic; diff --git a/kogito-springboot-examples/process-decisions-springboot/src/main/java/org/kie/kogito/traffic/KogitoApplication.java b/kogito-springboot-examples/process-decisions-springboot/src/main/java/org/kie/kogito/traffic/KogitoApplication.java index 6009267b46..5e7ea292a0 100644 --- a/kogito-springboot-examples/process-decisions-springboot/src/main/java/org/kie/kogito/traffic/KogitoApplication.java +++ b/kogito-springboot-examples/process-decisions-springboot/src/main/java/org/kie/kogito/traffic/KogitoApplication.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic; diff --git a/kogito-springboot-examples/process-decisions-springboot/src/main/java/org/kie/kogito/traffic/LicenseValidationService.java b/kogito-springboot-examples/process-decisions-springboot/src/main/java/org/kie/kogito/traffic/LicenseValidationService.java index 53fd44ed58..29f4bef1b4 100644 --- a/kogito-springboot-examples/process-decisions-springboot/src/main/java/org/kie/kogito/traffic/LicenseValidationService.java +++ b/kogito-springboot-examples/process-decisions-springboot/src/main/java/org/kie/kogito/traffic/LicenseValidationService.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic; diff --git a/kogito-springboot-examples/process-decisions-springboot/src/main/java/org/kie/kogito/traffic/Violation.java b/kogito-springboot-examples/process-decisions-springboot/src/main/java/org/kie/kogito/traffic/Violation.java index 56446af2d2..170dd2dda0 100644 --- a/kogito-springboot-examples/process-decisions-springboot/src/main/java/org/kie/kogito/traffic/Violation.java +++ b/kogito-springboot-examples/process-decisions-springboot/src/main/java/org/kie/kogito/traffic/Violation.java @@ -1,19 +1,21 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic; import java.math.BigDecimal; diff --git a/kogito-springboot-examples/process-decisions-springboot/src/main/resources/LicenseValidationService.drl b/kogito-springboot-examples/process-decisions-springboot/src/main/resources/LicenseValidationService.drl index 799c78abd4..b408466b45 100644 --- a/kogito-springboot-examples/process-decisions-springboot/src/main/resources/LicenseValidationService.drl +++ b/kogito-springboot-examples/process-decisions-springboot/src/main/resources/LicenseValidationService.drl @@ -1,17 +1,20 @@ /** - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic diff --git a/kogito-springboot-examples/process-decisions-springboot/src/main/resources/application.properties b/kogito-springboot-examples/process-decisions-springboot/src/main/resources/application.properties index e1261b7a7e..37162bfd23 100644 --- a/kogito-springboot-examples/process-decisions-springboot/src/main/resources/application.properties +++ b/kogito-springboot-examples/process-decisions-springboot/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + server.address=0.0.0.0 kogito.generate.rest.decisions=false kogito.generate.rest.processes=true 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..65e9ee4cae 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 @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.traffic; diff --git a/kogito-springboot-examples/process-infinispan-persistence-springboot/operator/process-infinispan-persistence-springboot.yaml b/kogito-springboot-examples/process-infinispan-persistence-springboot/operator/process-infinispan-persistence-springboot.yaml index 7f9abd7ecb..1b361628cb 100644 --- a/kogito-springboot-examples/process-infinispan-persistence-springboot/operator/process-infinispan-persistence-springboot.yaml +++ b/kogito-springboot-examples/process-infinispan-persistence-springboot/operator/process-infinispan-persistence-springboot.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + #Infinispan operator should be pre-installed in namespace apiVersion: app.kiegroup.org/v1beta1 kind: KogitoInfra diff --git a/kogito-springboot-examples/process-infinispan-persistence-springboot/pom.xml b/kogito-springboot-examples/process-infinispan-persistence-springboot/pom.xml index fa6e8e5f3b..b870388c4d 100644 --- a/kogito-springboot-examples/process-infinispan-persistence-springboot/pom.xml +++ b/kogito-springboot-examples/process-infinispan-persistence-springboot/pom.xml @@ -1,4 +1,24 @@ + diff --git a/kogito-springboot-examples/process-infinispan-persistence-springboot/src/main/java/org/acme/deals/Address.java b/kogito-springboot-examples/process-infinispan-persistence-springboot/src/main/java/org/acme/deals/Address.java index 0322a9086f..0d8d3c41fa 100644 --- a/kogito-springboot-examples/process-infinispan-persistence-springboot/src/main/java/org/acme/deals/Address.java +++ b/kogito-springboot-examples/process-infinispan-persistence-springboot/src/main/java/org/acme/deals/Address.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.deals; diff --git a/kogito-springboot-examples/process-infinispan-persistence-springboot/src/main/java/org/acme/deals/KogitoApplication.java b/kogito-springboot-examples/process-infinispan-persistence-springboot/src/main/java/org/acme/deals/KogitoApplication.java index ecc589a487..f4c7598b4d 100644 --- a/kogito-springboot-examples/process-infinispan-persistence-springboot/src/main/java/org/acme/deals/KogitoApplication.java +++ b/kogito-springboot-examples/process-infinispan-persistence-springboot/src/main/java/org/acme/deals/KogitoApplication.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.deals; diff --git a/kogito-springboot-examples/process-infinispan-persistence-springboot/src/main/java/org/acme/deals/Traveller.java b/kogito-springboot-examples/process-infinispan-persistence-springboot/src/main/java/org/acme/deals/Traveller.java index 86c281ad50..68accdafa5 100644 --- a/kogito-springboot-examples/process-infinispan-persistence-springboot/src/main/java/org/acme/deals/Traveller.java +++ b/kogito-springboot-examples/process-infinispan-persistence-springboot/src/main/java/org/acme/deals/Traveller.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.deals; diff --git a/kogito-springboot-examples/process-infinispan-persistence-springboot/src/main/resources/application.properties b/kogito-springboot-examples/process-infinispan-persistence-springboot/src/main/resources/application.properties index 954bf6700b..0e6d6b70aa 100644 --- a/kogito-springboot-examples/process-infinispan-persistence-springboot/src/main/resources/application.properties +++ b/kogito-springboot-examples/process-infinispan-persistence-springboot/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + server.address=0.0.0.0 infinispan.remote.server-list=127.0.0.1:11222 \ No newline at end of file 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..8a94202e98 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.deals; diff --git a/kogito-springboot-examples/process-infinispan-persistence-springboot/src/test/resources/application.properties b/kogito-springboot-examples/process-infinispan-persistence-springboot/src/test/resources/application.properties index 5f4fb60b55..4e8da841ca 100644 --- a/kogito-springboot-examples/process-infinispan-persistence-springboot/src/test/resources/application.properties +++ b/kogito-springboot-examples/process-infinispan-persistence-springboot/src/test/resources/application.properties @@ -1 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + server.address=0.0.0.0 \ No newline at end of file diff --git a/kogito-springboot-examples/process-kafka-multi-springboot/operator/process-kafka-multi-springboot.yaml b/kogito-springboot-examples/process-kafka-multi-springboot/operator/process-kafka-multi-springboot.yaml index d41f4b987c..7b2ac5ec84 100644 --- a/kogito-springboot-examples/process-kafka-multi-springboot/operator/process-kafka-multi-springboot.yaml +++ b/kogito-springboot-examples/process-kafka-multi-springboot/operator/process-kafka-multi-springboot.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + #Strimzi operator should be pre-installed in namespace apiVersion: app.kiegroup.org/v1beta1 kind: KogitoInfra diff --git a/kogito-springboot-examples/process-kafka-multi-springboot/pom.xml b/kogito-springboot-examples/process-kafka-multi-springboot/pom.xml index a0ac301010..64d0d5a21e 100644 --- a/kogito-springboot-examples/process-kafka-multi-springboot/pom.xml +++ b/kogito-springboot-examples/process-kafka-multi-springboot/pom.xml @@ -1,4 +1,24 @@ + diff --git a/kogito-springboot-examples/process-kafka-multi-springboot/src/main/java/org/acme/travel/Traveller.java b/kogito-springboot-examples/process-kafka-multi-springboot/src/main/java/org/acme/travel/Traveller.java index 75e93ab4ba..d3b7ca64bd 100644 --- a/kogito-springboot-examples/process-kafka-multi-springboot/src/main/java/org/acme/travel/Traveller.java +++ b/kogito-springboot-examples/process-kafka-multi-springboot/src/main/java/org/acme/travel/Traveller.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travel; diff --git a/kogito-springboot-examples/process-kafka-multi-springboot/src/main/java/org/kie/kogito/tests/KogitoKafkaMultiSpringbootApplication.java b/kogito-springboot-examples/process-kafka-multi-springboot/src/main/java/org/kie/kogito/tests/KogitoKafkaMultiSpringbootApplication.java index a612a99eaa..47257edab8 100644 --- a/kogito-springboot-examples/process-kafka-multi-springboot/src/main/java/org/kie/kogito/tests/KogitoKafkaMultiSpringbootApplication.java +++ b/kogito-springboot-examples/process-kafka-multi-springboot/src/main/java/org/kie/kogito/tests/KogitoKafkaMultiSpringbootApplication.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.tests; diff --git a/kogito-springboot-examples/process-kafka-multi-springboot/src/main/resources/META-INF/kmodule.xml b/kogito-springboot-examples/process-kafka-multi-springboot/src/main/resources/META-INF/kmodule.xml index 2ba4076c16..41665a75bb 100644 --- a/kogito-springboot-examples/process-kafka-multi-springboot/src/main/resources/META-INF/kmodule.xml +++ b/kogito-springboot-examples/process-kafka-multi-springboot/src/main/resources/META-INF/kmodule.xml @@ -1 +1,21 @@ + \ No newline at end of file diff --git a/kogito-springboot-examples/process-kafka-multi-springboot/src/main/resources/application.properties b/kogito-springboot-examples/process-kafka-multi-springboot/src/main/resources/application.properties index ec4abe15f1..6cb7bd292a 100644 --- a/kogito-springboot-examples/process-kafka-multi-springboot/src/main/resources/application.properties +++ b/kogito-springboot-examples/process-kafka-multi-springboot/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + spring.kafka.bootstrap-servers=localhost:9092 spring.kafka.consumer.group-id=travellers-group spring.kafka.consumer.auto-offset-reset=earliest diff --git a/kogito-springboot-examples/process-kafka-multi-springboot/src/main/resources/travellers.drl b/kogito-springboot-examples/process-kafka-multi-springboot/src/main/resources/travellers.drl index 7bee0205bc..36696d32f7 100644 --- a/kogito-springboot-examples/process-kafka-multi-springboot/src/main/resources/travellers.drl +++ b/kogito-springboot-examples/process-kafka-multi-springboot/src/main/resources/travellers.drl @@ -1,17 +1,20 @@ /** - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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 defaultPackage diff --git a/kogito-springboot-examples/process-kafka-multi-springboot/src/test/java/org/acme/travel/tests/multimessaging/springboot/MultiMessagingIT.java b/kogito-springboot-examples/process-kafka-multi-springboot/src/test/java/org/acme/travel/tests/multimessaging/springboot/MultiMessagingIT.java index eeb7a740ab..dc7875f35b 100644 --- a/kogito-springboot-examples/process-kafka-multi-springboot/src/test/java/org/acme/travel/tests/multimessaging/springboot/MultiMessagingIT.java +++ b/kogito-springboot-examples/process-kafka-multi-springboot/src/test/java/org/acme/travel/tests/multimessaging/springboot/MultiMessagingIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travel.tests.multimessaging.springboot; diff --git a/kogito-springboot-examples/process-kafka-quickstart-springboot/operator/process-kafka-quickstart-springboot.yaml b/kogito-springboot-examples/process-kafka-quickstart-springboot/operator/process-kafka-quickstart-springboot.yaml index 6fb8ee1cdc..898353a7d0 100644 --- a/kogito-springboot-examples/process-kafka-quickstart-springboot/operator/process-kafka-quickstart-springboot.yaml +++ b/kogito-springboot-examples/process-kafka-quickstart-springboot/operator/process-kafka-quickstart-springboot.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + #Strimzi operator should be pre-installed in namespace apiVersion: app.kiegroup.org/v1beta1 kind: KogitoInfra diff --git a/kogito-springboot-examples/process-kafka-quickstart-springboot/pom.xml b/kogito-springboot-examples/process-kafka-quickstart-springboot/pom.xml index aee4a36fde..14b70d8e3b 100644 --- a/kogito-springboot-examples/process-kafka-quickstart-springboot/pom.xml +++ b/kogito-springboot-examples/process-kafka-quickstart-springboot/pom.xml @@ -1,4 +1,24 @@ + diff --git a/kogito-springboot-examples/process-kafka-quickstart-springboot/src/main/java/org/acme/travel/Traveller.java b/kogito-springboot-examples/process-kafka-quickstart-springboot/src/main/java/org/acme/travel/Traveller.java index 75e93ab4ba..d3b7ca64bd 100644 --- a/kogito-springboot-examples/process-kafka-quickstart-springboot/src/main/java/org/acme/travel/Traveller.java +++ b/kogito-springboot-examples/process-kafka-quickstart-springboot/src/main/java/org/acme/travel/Traveller.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travel; diff --git a/kogito-springboot-examples/process-kafka-quickstart-springboot/src/main/java/org/kie/kogito/tests/KogitoKafkaQuickstartSpringbootApplication.java b/kogito-springboot-examples/process-kafka-quickstart-springboot/src/main/java/org/kie/kogito/tests/KogitoKafkaQuickstartSpringbootApplication.java index 1f5f5d89ec..aaa691d719 100644 --- a/kogito-springboot-examples/process-kafka-quickstart-springboot/src/main/java/org/kie/kogito/tests/KogitoKafkaQuickstartSpringbootApplication.java +++ b/kogito-springboot-examples/process-kafka-quickstart-springboot/src/main/java/org/kie/kogito/tests/KogitoKafkaQuickstartSpringbootApplication.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.tests; diff --git a/kogito-springboot-examples/process-kafka-quickstart-springboot/src/main/resources/META-INF/kmodule.xml b/kogito-springboot-examples/process-kafka-quickstart-springboot/src/main/resources/META-INF/kmodule.xml index 2ba4076c16..41665a75bb 100644 --- a/kogito-springboot-examples/process-kafka-quickstart-springboot/src/main/resources/META-INF/kmodule.xml +++ b/kogito-springboot-examples/process-kafka-quickstart-springboot/src/main/resources/META-INF/kmodule.xml @@ -1 +1,21 @@ + \ No newline at end of file diff --git a/kogito-springboot-examples/process-kafka-quickstart-springboot/src/main/resources/application.properties b/kogito-springboot-examples/process-kafka-quickstart-springboot/src/main/resources/application.properties index 6b66b5d5d4..830c94e828 100644 --- a/kogito-springboot-examples/process-kafka-quickstart-springboot/src/main/resources/application.properties +++ b/kogito-springboot-examples/process-kafka-quickstart-springboot/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + spring.kafka.bootstrap-servers=localhost:9092 spring.kafka.consumer.group-id=travellers-group spring.kafka.consumer.auto-offset-reset=earliest diff --git a/kogito-springboot-examples/process-kafka-quickstart-springboot/src/main/resources/travellers.drl b/kogito-springboot-examples/process-kafka-quickstart-springboot/src/main/resources/travellers.drl index 7bee0205bc..36696d32f7 100644 --- a/kogito-springboot-examples/process-kafka-quickstart-springboot/src/main/resources/travellers.drl +++ b/kogito-springboot-examples/process-kafka-quickstart-springboot/src/main/resources/travellers.drl @@ -1,17 +1,20 @@ /** - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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 defaultPackage diff --git a/kogito-springboot-examples/process-kafka-quickstart-springboot/src/test/java/org/acme/travel/tests/messaging/springboot/MessagingIT.java b/kogito-springboot-examples/process-kafka-quickstart-springboot/src/test/java/org/acme/travel/tests/messaging/springboot/MessagingIT.java index ac65f63520..a3b472a4b5 100644 --- a/kogito-springboot-examples/process-kafka-quickstart-springboot/src/test/java/org/acme/travel/tests/messaging/springboot/MessagingIT.java +++ b/kogito-springboot-examples/process-kafka-quickstart-springboot/src/test/java/org/acme/travel/tests/messaging/springboot/MessagingIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travel.tests.messaging.springboot; diff --git a/kogito-springboot-examples/process-mongodb-persistence-springboot/operator/process-mongodb-persistence-springboot.yaml b/kogito-springboot-examples/process-mongodb-persistence-springboot/operator/process-mongodb-persistence-springboot.yaml index 2ccb23b2fa..8f8f0c2357 100644 --- a/kogito-springboot-examples/process-mongodb-persistence-springboot/operator/process-mongodb-persistence-springboot.yaml +++ b/kogito-springboot-examples/process-mongodb-persistence-springboot/operator/process-mongodb-persistence-springboot.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + ## MongoDB operator should be pre-installed in namespace apiVersion: app.kiegroup.org/v1alpha1 kind: KogitoInfra diff --git a/kogito-springboot-examples/process-mongodb-persistence-springboot/pom.xml b/kogito-springboot-examples/process-mongodb-persistence-springboot/pom.xml index 252f7d39e0..23b8b36b59 100644 --- a/kogito-springboot-examples/process-mongodb-persistence-springboot/pom.xml +++ b/kogito-springboot-examples/process-mongodb-persistence-springboot/pom.xml @@ -1,4 +1,24 @@ + diff --git a/kogito-springboot-examples/process-mongodb-persistence-springboot/src/main/java/org/acme/travels/Address.java b/kogito-springboot-examples/process-mongodb-persistence-springboot/src/main/java/org/acme/travels/Address.java index ff19d83056..cad01a7f09 100644 --- a/kogito-springboot-examples/process-mongodb-persistence-springboot/src/main/java/org/acme/travels/Address.java +++ b/kogito-springboot-examples/process-mongodb-persistence-springboot/src/main/java/org/acme/travels/Address.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; diff --git a/kogito-springboot-examples/process-mongodb-persistence-springboot/src/main/java/org/acme/travels/KogitoApplication.java b/kogito-springboot-examples/process-mongodb-persistence-springboot/src/main/java/org/acme/travels/KogitoApplication.java index 6450a769a9..210f11ef5e 100644 --- a/kogito-springboot-examples/process-mongodb-persistence-springboot/src/main/java/org/acme/travels/KogitoApplication.java +++ b/kogito-springboot-examples/process-mongodb-persistence-springboot/src/main/java/org/acme/travels/KogitoApplication.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; diff --git a/kogito-springboot-examples/process-mongodb-persistence-springboot/src/main/java/org/acme/travels/Traveller.java b/kogito-springboot-examples/process-mongodb-persistence-springboot/src/main/java/org/acme/travels/Traveller.java index 274a7b15c7..6cacf7f882 100644 --- a/kogito-springboot-examples/process-mongodb-persistence-springboot/src/main/java/org/acme/travels/Traveller.java +++ b/kogito-springboot-examples/process-mongodb-persistence-springboot/src/main/java/org/acme/travels/Traveller.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; diff --git a/kogito-springboot-examples/process-mongodb-persistence-springboot/src/main/resources/application.properties b/kogito-springboot-examples/process-mongodb-persistence-springboot/src/main/resources/application.properties index 5489ee9de9..b9ffa0c39c 100644 --- a/kogito-springboot-examples/process-mongodb-persistence-springboot/src/main/resources/application.properties +++ b/kogito-springboot-examples/process-mongodb-persistence-springboot/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + server.address=0.0.0.0 kogito.persistence.type=mongodb 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..c92336162e 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.deals; diff --git a/kogito-springboot-examples/process-monitoring-springboot/docker-compose.yml b/kogito-springboot-examples/process-monitoring-springboot/docker-compose.yml index fedca2a135..fe2cf90c14 100644 --- a/kogito-springboot-examples/process-monitoring-springboot/docker-compose.yml +++ b/kogito-springboot-examples/process-monitoring-springboot/docker-compose.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + version: '2' services: diff --git a/kogito-springboot-examples/process-monitoring-springboot/docker-compose/grafana/provisioning/dashboards/dashboard.yml b/kogito-springboot-examples/process-monitoring-springboot/docker-compose/grafana/provisioning/dashboards/dashboard.yml index 437d59118f..1c31f32b3b 100644 --- a/kogito-springboot-examples/process-monitoring-springboot/docker-compose/grafana/provisioning/dashboards/dashboard.yml +++ b/kogito-springboot-examples/process-monitoring-springboot/docker-compose/grafana/provisioning/dashboards/dashboard.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: 1 providers: diff --git a/kogito-springboot-examples/process-monitoring-springboot/docker-compose/grafana/provisioning/datasources/datasource.yml b/kogito-springboot-examples/process-monitoring-springboot/docker-compose/grafana/provisioning/datasources/datasource.yml index 4e58703f23..14e5b05c55 100644 --- a/kogito-springboot-examples/process-monitoring-springboot/docker-compose/grafana/provisioning/datasources/datasource.yml +++ b/kogito-springboot-examples/process-monitoring-springboot/docker-compose/grafana/provisioning/datasources/datasource.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # config file version apiVersion: 1 diff --git a/kogito-springboot-examples/process-monitoring-springboot/docker-compose/prometheus/prometheus.yml b/kogito-springboot-examples/process-monitoring-springboot/docker-compose/prometheus/prometheus.yml index fb725455ae..7792b98923 100644 --- a/kogito-springboot-examples/process-monitoring-springboot/docker-compose/prometheus/prometheus.yml +++ b/kogito-springboot-examples/process-monitoring-springboot/docker-compose/prometheus/prometheus.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # A scrape configuration containing exactly one endpoint to scrape: scrape_configs: # The job name is added as a label `job=` to any timeseries scraped from this config. diff --git a/kogito-springboot-examples/process-monitoring-springboot/pom.xml b/kogito-springboot-examples/process-monitoring-springboot/pom.xml index 06d75a9cfd..deca7ef540 100644 --- a/kogito-springboot-examples/process-monitoring-springboot/pom.xml +++ b/kogito-springboot-examples/process-monitoring-springboot/pom.xml @@ -1,4 +1,24 @@ + diff --git a/kogito-springboot-examples/process-monitoring-springboot/src/main/java/org/kie/kogito/examples/springboot/CalculationService.java b/kogito-springboot-examples/process-monitoring-springboot/src/main/java/org/kie/kogito/examples/springboot/CalculationService.java index 6538ad0d69..ea85410576 100644 --- a/kogito-springboot-examples/process-monitoring-springboot/src/main/java/org/kie/kogito/examples/springboot/CalculationService.java +++ b/kogito-springboot-examples/process-monitoring-springboot/src/main/java/org/kie/kogito/examples/springboot/CalculationService.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.springboot; diff --git a/kogito-springboot-examples/process-monitoring-springboot/src/main/java/org/kie/kogito/examples/springboot/DemoApplication.java b/kogito-springboot-examples/process-monitoring-springboot/src/main/java/org/kie/kogito/examples/springboot/DemoApplication.java index 977c3f2bb0..7ccd4f7953 100644 --- a/kogito-springboot-examples/process-monitoring-springboot/src/main/java/org/kie/kogito/examples/springboot/DemoApplication.java +++ b/kogito-springboot-examples/process-monitoring-springboot/src/main/java/org/kie/kogito/examples/springboot/DemoApplication.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.springboot; diff --git a/kogito-springboot-examples/process-monitoring-springboot/src/main/java/org/kie/kogito/examples/springboot/demo/Order.java b/kogito-springboot-examples/process-monitoring-springboot/src/main/java/org/kie/kogito/examples/springboot/demo/Order.java index 1a207d4f1f..937f24c14e 100755 --- a/kogito-springboot-examples/process-monitoring-springboot/src/main/java/org/kie/kogito/examples/springboot/demo/Order.java +++ b/kogito-springboot-examples/process-monitoring-springboot/src/main/java/org/kie/kogito/examples/springboot/demo/Order.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.springboot.demo; diff --git a/kogito-springboot-examples/process-monitoring-springboot/src/main/resources/application.properties b/kogito-springboot-examples/process-monitoring-springboot/src/main/resources/application.properties index 5a5ed70ee8..07510c65a9 100644 --- a/kogito-springboot-examples/process-monitoring-springboot/src/main/resources/application.properties +++ b/kogito-springboot-examples/process-monitoring-springboot/src/main/resources/application.properties @@ -1,2 +1,21 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + management.security.enabled=false management.endpoints.web.exposure.include=metrics,prometheus \ No newline at end of file diff --git a/kogito-springboot-examples/process-monitoring-springboot/src/test/filtered-resources/project.properties b/kogito-springboot-examples/process-monitoring-springboot/src/test/filtered-resources/project.properties index 301ad794d3..5771872775 100644 --- a/kogito-springboot-examples/process-monitoring-springboot/src/test/filtered-resources/project.properties +++ b/kogito-springboot-examples/process-monitoring-springboot/src/test/filtered-resources/project.properties @@ -1,17 +1,21 @@ # -# Copyright 2021 Red Hat, Inc. and/or its affiliates. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# 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 # -# 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. +# 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. # + project.version=${project.version} project.artifactId=${project.artifactId} \ No newline at end of file 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..fbbab8d237 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 @@ -1,19 +1,21 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.springboot; import java.util.List; 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..bad5524130 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 @@ -1,19 +1,21 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.springboot; import org.junit.jupiter.api.BeforeEach; diff --git a/kogito-springboot-examples/process-monitoring-springboot/src/test/java/org/kie/kogito/examples/springboot/ProjectMetadataProvider.java b/kogito-springboot-examples/process-monitoring-springboot/src/test/java/org/kie/kogito/examples/springboot/ProjectMetadataProvider.java index 326ea6ab00..54b28ea618 100644 --- a/kogito-springboot-examples/process-monitoring-springboot/src/test/java/org/kie/kogito/examples/springboot/ProjectMetadataProvider.java +++ b/kogito-springboot-examples/process-monitoring-springboot/src/test/java/org/kie/kogito/examples/springboot/ProjectMetadataProvider.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.springboot; diff --git a/kogito-springboot-examples/process-outbox-mongodb-springboot/docker-clean.sh b/kogito-springboot-examples/process-outbox-mongodb-springboot/docker-clean.sh index dbffac43ae..2cc73b8666 100755 --- a/kogito-springboot-examples/process-outbox-mongodb-springboot/docker-clean.sh +++ b/kogito-springboot-examples/process-outbox-mongodb-springboot/docker-clean.sh @@ -1,4 +1,23 @@ #!/bin/sh +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Helper script to remove any cache from previous build docker-compose stop diff --git a/kogito-springboot-examples/process-outbox-mongodb-springboot/docker-compose.yml b/kogito-springboot-examples/process-outbox-mongodb-springboot/docker-compose.yml index db1077beb4..6cb1988707 100644 --- a/kogito-springboot-examples/process-outbox-mongodb-springboot/docker-compose.yml +++ b/kogito-springboot-examples/process-outbox-mongodb-springboot/docker-compose.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + version: '2' services: kafka: diff --git a/kogito-springboot-examples/process-outbox-mongodb-springboot/mongodb/init.sh b/kogito-springboot-examples/process-outbox-mongodb-springboot/mongodb/init.sh index 9281d34184..636e455018 100644 --- a/kogito-springboot-examples/process-outbox-mongodb-springboot/mongodb/init.sh +++ b/kogito-springboot-examples/process-outbox-mongodb-springboot/mongodb/init.sh @@ -1,4 +1,23 @@ #!/bin/bash +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + set -euxo pipefail diff --git a/kogito-springboot-examples/process-outbox-mongodb-springboot/mongodb/launch.sh b/kogito-springboot-examples/process-outbox-mongodb-springboot/mongodb/launch.sh index 04786f1502..09c955e69f 100644 --- a/kogito-springboot-examples/process-outbox-mongodb-springboot/mongodb/launch.sh +++ b/kogito-springboot-examples/process-outbox-mongodb-springboot/mongodb/launch.sh @@ -1,4 +1,23 @@ #!/bin/bash +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + set -m diff --git a/kogito-springboot-examples/process-outbox-mongodb-springboot/pom.xml b/kogito-springboot-examples/process-outbox-mongodb-springboot/pom.xml index 703fb4bcad..74fe9b0691 100644 --- a/kogito-springboot-examples/process-outbox-mongodb-springboot/pom.xml +++ b/kogito-springboot-examples/process-outbox-mongodb-springboot/pom.xml @@ -1,4 +1,24 @@ + diff --git a/kogito-springboot-examples/process-outbox-mongodb-springboot/sidecar/launch.sh b/kogito-springboot-examples/process-outbox-mongodb-springboot/sidecar/launch.sh index 5d9ce0fbde..51f265d29c 100644 --- a/kogito-springboot-examples/process-outbox-mongodb-springboot/sidecar/launch.sh +++ b/kogito-springboot-examples/process-outbox-mongodb-springboot/sidecar/launch.sh @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + set -euxo pipefail until mongo -u "$MONGODB_USER" -p "$MONGODB_PASSWORD" --host "$MONGODB_RS"/"$MONGODB_HOST" admin --eval "print(\"waited for connection\")"; do diff --git a/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/kie/kogito/examples/CalculationService.java b/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/kie/kogito/examples/CalculationService.java index d0f4303280..8eef0cb589 100644 --- a/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/kie/kogito/examples/CalculationService.java +++ b/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/kie/kogito/examples/CalculationService.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/kie/kogito/examples/CorsConfig.java b/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/kie/kogito/examples/CorsConfig.java index a48d7bdef4..001604dfc7 100644 --- a/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/kie/kogito/examples/CorsConfig.java +++ b/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/kie/kogito/examples/CorsConfig.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/kie/kogito/examples/DemoApplication.java b/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/kie/kogito/examples/DemoApplication.java index ce8ce7e79d..d0400d3c54 100644 --- a/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/kie/kogito/examples/DemoApplication.java +++ b/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/kie/kogito/examples/DemoApplication.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/kie/kogito/examples/PersonValidationService.java b/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/kie/kogito/examples/PersonValidationService.java index af854584cb..022478f873 100644 --- a/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/kie/kogito/examples/PersonValidationService.java +++ b/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/kie/kogito/examples/PersonValidationService.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/kie/kogito/examples/demo/Order.java b/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/kie/kogito/examples/demo/Order.java index 753b87aecd..d3770e78cf 100755 --- a/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/kie/kogito/examples/demo/Order.java +++ b/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/kie/kogito/examples/demo/Order.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.demo; diff --git a/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/kie/kogito/examples/demo/Person.java b/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/kie/kogito/examples/demo/Person.java index c38f75fe3c..92aa205134 100644 --- a/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/kie/kogito/examples/demo/Person.java +++ b/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/java/org/kie/kogito/examples/demo/Person.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.demo; diff --git a/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/resources/META-INF/kmodule.xml b/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/resources/META-INF/kmodule.xml index 2ba4076c16..41665a75bb 100755 --- a/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/resources/META-INF/kmodule.xml +++ b/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/resources/META-INF/kmodule.xml @@ -1 +1,21 @@ + \ No newline at end of file diff --git a/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/resources/application.properties b/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/resources/application.properties index 808b034978..f886ecc152 100644 --- a/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/resources/application.properties +++ b/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + kogito.persistence.type=mongodb kogito.persistence.transaction.enabled=true spring.data.mongodb.uri=mongodb://${MONGODB_USERNAME}:${MONGODB_PASSWORD}@${MONGODB_HOST}/kogito?authSource=${MONGODB_AUTH_SOURCE} diff --git a/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/resources/org/kie/kogito/examples/PersonValidationService.drl b/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/resources/org/kie/kogito/examples/PersonValidationService.drl index 81e156389c..9d0fdc6ce1 100644 --- a/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/resources/org/kie/kogito/examples/PersonValidationService.drl +++ b/kogito-springboot-examples/process-outbox-mongodb-springboot/src/main/resources/org/kie/kogito/examples/PersonValidationService.drl @@ -1,17 +1,20 @@ /** - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples unit PersonValidationService diff --git a/kogito-springboot-examples/process-outbox-mongodb-springboot/src/test/java/org/kie/kogito/springboot/outbox/OutboxIT.java b/kogito-springboot-examples/process-outbox-mongodb-springboot/src/test/java/org/kie/kogito/springboot/outbox/OutboxIT.java index 0d476bce81..0aea63a4bd 100644 --- a/kogito-springboot-examples/process-outbox-mongodb-springboot/src/test/java/org/kie/kogito/springboot/outbox/OutboxIT.java +++ b/kogito-springboot-examples/process-outbox-mongodb-springboot/src/test/java/org/kie/kogito/springboot/outbox/OutboxIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.outbox; diff --git a/kogito-springboot-examples/process-outbox-mongodb-springboot/src/test/resources/logback.xml b/kogito-springboot-examples/process-outbox-mongodb-springboot/src/test/resources/logback.xml index 2403345628..fc0c0e4a01 100644 --- a/kogito-springboot-examples/process-outbox-mongodb-springboot/src/test/resources/logback.xml +++ b/kogito-springboot-examples/process-outbox-mongodb-springboot/src/test/resources/logback.xml @@ -1,20 +1,24 @@ + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> diff --git a/kogito-springboot-examples/process-performance-springboot/pom.xml b/kogito-springboot-examples/process-performance-springboot/pom.xml index 2c3f44867b..109ae4d8ae 100755 --- a/kogito-springboot-examples/process-performance-springboot/pom.xml +++ b/kogito-springboot-examples/process-performance-springboot/pom.xml @@ -1,4 +1,24 @@ + + diff --git a/kogito-springboot-examples/process-postgresql-persistence-springboot/src/main/java/org/acme/travels/Address.java b/kogito-springboot-examples/process-postgresql-persistence-springboot/src/main/java/org/acme/travels/Address.java index ff19d83056..cad01a7f09 100644 --- a/kogito-springboot-examples/process-postgresql-persistence-springboot/src/main/java/org/acme/travels/Address.java +++ b/kogito-springboot-examples/process-postgresql-persistence-springboot/src/main/java/org/acme/travels/Address.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; diff --git a/kogito-springboot-examples/process-postgresql-persistence-springboot/src/main/java/org/acme/travels/KogitoApplication.java b/kogito-springboot-examples/process-postgresql-persistence-springboot/src/main/java/org/acme/travels/KogitoApplication.java index 6450a769a9..210f11ef5e 100644 --- a/kogito-springboot-examples/process-postgresql-persistence-springboot/src/main/java/org/acme/travels/KogitoApplication.java +++ b/kogito-springboot-examples/process-postgresql-persistence-springboot/src/main/java/org/acme/travels/KogitoApplication.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; diff --git a/kogito-springboot-examples/process-postgresql-persistence-springboot/src/main/java/org/acme/travels/Traveller.java b/kogito-springboot-examples/process-postgresql-persistence-springboot/src/main/java/org/acme/travels/Traveller.java index 274a7b15c7..6cacf7f882 100644 --- a/kogito-springboot-examples/process-postgresql-persistence-springboot/src/main/java/org/acme/travels/Traveller.java +++ b/kogito-springboot-examples/process-postgresql-persistence-springboot/src/main/java/org/acme/travels/Traveller.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; diff --git a/kogito-springboot-examples/process-postgresql-persistence-springboot/src/main/resources/application.properties b/kogito-springboot-examples/process-postgresql-persistence-springboot/src/main/resources/application.properties index 60103ceda0..a3ac58a919 100644 --- a/kogito-springboot-examples/process-postgresql-persistence-springboot/src/main/resources/application.properties +++ b/kogito-springboot-examples/process-postgresql-persistence-springboot/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + server.address=0.0.0.0 #run create tables scripts during the application startup 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..6f03a9fe17 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.deals; diff --git a/kogito-springboot-examples/process-rest-service-call-springboot/operator/process-service-rest-call-springboot.yaml b/kogito-springboot-examples/process-rest-service-call-springboot/operator/process-service-rest-call-springboot.yaml index e66d4641c2..79c5dbe254 100644 --- a/kogito-springboot-examples/process-rest-service-call-springboot/operator/process-service-rest-call-springboot.yaml +++ b/kogito-springboot-examples/process-rest-service-call-springboot/operator/process-service-rest-call-springboot.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: app.kiegroup.org/v1beta1 kind: KogitoBuild metadata: 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..17536cfebb 100644 --- a/kogito-springboot-examples/process-rest-service-call-springboot/pom.xml +++ b/kogito-springboot-examples/process-rest-service-call-springboot/pom.xml @@ -1,4 +1,24 @@ + diff --git a/kogito-springboot-examples/process-rest-service-call-springboot/src/main/java/org/acme/travels/services/AuditService.java b/kogito-springboot-examples/process-rest-service-call-springboot/src/main/java/org/acme/travels/services/AuditService.java index 7b1b2f759e..34af03d9bd 100644 --- a/kogito-springboot-examples/process-rest-service-call-springboot/src/main/java/org/acme/travels/services/AuditService.java +++ b/kogito-springboot-examples/process-rest-service-call-springboot/src/main/java/org/acme/travels/services/AuditService.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels.services; diff --git a/kogito-springboot-examples/process-rest-service-call-springboot/src/main/java/org/acme/travels/services/UserService.java b/kogito-springboot-examples/process-rest-service-call-springboot/src/main/java/org/acme/travels/services/UserService.java index 5bcd77d129..411bb7f519 100644 --- a/kogito-springboot-examples/process-rest-service-call-springboot/src/main/java/org/acme/travels/services/UserService.java +++ b/kogito-springboot-examples/process-rest-service-call-springboot/src/main/java/org/acme/travels/services/UserService.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels.services; diff --git a/kogito-springboot-examples/process-rest-service-call-springboot/src/main/java/org/acme/travels/springboot/User.java b/kogito-springboot-examples/process-rest-service-call-springboot/src/main/java/org/acme/travels/springboot/User.java index e9fe9182c3..0f4b1d4a97 100644 --- a/kogito-springboot-examples/process-rest-service-call-springboot/src/main/java/org/acme/travels/springboot/User.java +++ b/kogito-springboot-examples/process-rest-service-call-springboot/src/main/java/org/acme/travels/springboot/User.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels.springboot; diff --git a/kogito-springboot-examples/process-rest-service-call-springboot/src/main/java/org/kie/kogito/tests/KogitoInfinispanSpringbootApplication.java b/kogito-springboot-examples/process-rest-service-call-springboot/src/main/java/org/kie/kogito/tests/KogitoInfinispanSpringbootApplication.java index 5119aa965b..3905901b43 100644 --- a/kogito-springboot-examples/process-rest-service-call-springboot/src/main/java/org/kie/kogito/tests/KogitoInfinispanSpringbootApplication.java +++ b/kogito-springboot-examples/process-rest-service-call-springboot/src/main/java/org/kie/kogito/tests/KogitoInfinispanSpringbootApplication.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.tests; diff --git a/kogito-springboot-examples/process-rest-service-call-springboot/src/main/resources/application.properties b/kogito-springboot-examples/process-rest-service-call-springboot/src/main/resources/application.properties index 8fba226de4..75efae3c56 100644 --- a/kogito-springboot-examples/process-rest-service-call-springboot/src/main/resources/application.properties +++ b/kogito-springboot-examples/process-rest-service-call-springboot/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + server.address=0.0.0.0 logging.level.org.acme.travels =INFO diff --git a/kogito-springboot-examples/process-rest-service-call-springboot/src/test/java/org/acme/travels/springboot/UsersProcessTest.java b/kogito-springboot-examples/process-rest-service-call-springboot/src/test/java/org/acme/travels/springboot/UsersProcessTest.java index ea1d5dd0f9..00f5b4364d 100644 --- a/kogito-springboot-examples/process-rest-service-call-springboot/src/test/java/org/acme/travels/springboot/UsersProcessTest.java +++ b/kogito-springboot-examples/process-rest-service-call-springboot/src/test/java/org/acme/travels/springboot/UsersProcessTest.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels.springboot; diff --git a/kogito-springboot-examples/process-scripts-springboot/operator/process-scripts-springboot.yaml b/kogito-springboot-examples/process-scripts-springboot/operator/process-scripts-springboot.yaml index 890eaba19e..6c654c02f3 100644 --- a/kogito-springboot-examples/process-scripts-springboot/operator/process-scripts-springboot.yaml +++ b/kogito-springboot-examples/process-scripts-springboot/operator/process-scripts-springboot.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: app.kiegroup.org/v1beta1 kind: KogitoBuild metadata: diff --git a/kogito-springboot-examples/process-scripts-springboot/pom.xml b/kogito-springboot-examples/process-scripts-springboot/pom.xml index 1dfd2631dc..db528a13ed 100644 --- a/kogito-springboot-examples/process-scripts-springboot/pom.xml +++ b/kogito-springboot-examples/process-scripts-springboot/pom.xml @@ -1,4 +1,24 @@ + diff --git a/kogito-springboot-examples/process-scripts-springboot/src/main/java/org/kie/kogito/tests/KogitoInfinispanSpringbootApplication.java b/kogito-springboot-examples/process-scripts-springboot/src/main/java/org/kie/kogito/tests/KogitoInfinispanSpringbootApplication.java index 7b2daaca72..fc27bd8647 100644 --- a/kogito-springboot-examples/process-scripts-springboot/src/main/java/org/kie/kogito/tests/KogitoInfinispanSpringbootApplication.java +++ b/kogito-springboot-examples/process-scripts-springboot/src/main/java/org/kie/kogito/tests/KogitoInfinispanSpringbootApplication.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.tests; diff --git a/kogito-springboot-examples/process-scripts-springboot/src/main/resources/application.properties b/kogito-springboot-examples/process-scripts-springboot/src/main/resources/application.properties index f900456f36..85fac9eb60 100644 --- a/kogito-springboot-examples/process-scripts-springboot/src/main/resources/application.properties +++ b/kogito-springboot-examples/process-scripts-springboot/src/main/resources/application.properties @@ -1 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + server.address=0.0.0.0 diff --git a/kogito-springboot-examples/process-scripts-springboot/src/test/java/org/acme/travels/springboot/ScriptsProcessTest.java b/kogito-springboot-examples/process-scripts-springboot/src/test/java/org/acme/travels/springboot/ScriptsProcessTest.java index e756dce13f..b889f8446c 100644 --- a/kogito-springboot-examples/process-scripts-springboot/src/test/java/org/acme/travels/springboot/ScriptsProcessTest.java +++ b/kogito-springboot-examples/process-scripts-springboot/src/test/java/org/acme/travels/springboot/ScriptsProcessTest.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels.springboot; diff --git a/kogito-springboot-examples/process-service-calls-springboot/operator/process-service-calls-springboot.yaml b/kogito-springboot-examples/process-service-calls-springboot/operator/process-service-calls-springboot.yaml index a20bfc3bfb..6913ca1b6f 100644 --- a/kogito-springboot-examples/process-service-calls-springboot/operator/process-service-calls-springboot.yaml +++ b/kogito-springboot-examples/process-service-calls-springboot/operator/process-service-calls-springboot.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: app.kiegroup.org/v1beta1 kind: KogitoBuild metadata: diff --git a/kogito-springboot-examples/process-service-calls-springboot/pom.xml b/kogito-springboot-examples/process-service-calls-springboot/pom.xml index b689418ad1..0dd03364f0 100644 --- a/kogito-springboot-examples/process-service-calls-springboot/pom.xml +++ b/kogito-springboot-examples/process-service-calls-springboot/pom.xml @@ -1,4 +1,24 @@ + diff --git a/kogito-springboot-examples/process-service-calls-springboot/src/main/java/org/acme/travels/services/GreetingTravellerService.java b/kogito-springboot-examples/process-service-calls-springboot/src/main/java/org/acme/travels/services/GreetingTravellerService.java index a843b40c09..6521b54011 100644 --- a/kogito-springboot-examples/process-service-calls-springboot/src/main/java/org/acme/travels/services/GreetingTravellerService.java +++ b/kogito-springboot-examples/process-service-calls-springboot/src/main/java/org/acme/travels/services/GreetingTravellerService.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels.services; diff --git a/kogito-springboot-examples/process-service-calls-springboot/src/main/java/org/acme/travels/services/HelloService.java b/kogito-springboot-examples/process-service-calls-springboot/src/main/java/org/acme/travels/services/HelloService.java index 1db8be02a0..01039773e4 100644 --- a/kogito-springboot-examples/process-service-calls-springboot/src/main/java/org/acme/travels/services/HelloService.java +++ b/kogito-springboot-examples/process-service-calls-springboot/src/main/java/org/acme/travels/services/HelloService.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels.services; diff --git a/kogito-springboot-examples/process-service-calls-springboot/src/main/java/org/acme/travels/services/StoreTravellerService.java b/kogito-springboot-examples/process-service-calls-springboot/src/main/java/org/acme/travels/services/StoreTravellerService.java index 41f7d760ab..0e72c41a20 100644 --- a/kogito-springboot-examples/process-service-calls-springboot/src/main/java/org/acme/travels/services/StoreTravellerService.java +++ b/kogito-springboot-examples/process-service-calls-springboot/src/main/java/org/acme/travels/services/StoreTravellerService.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels.services; diff --git a/kogito-springboot-examples/process-service-calls-springboot/src/main/java/org/acme/travels/services/TravellerAuditService.java b/kogito-springboot-examples/process-service-calls-springboot/src/main/java/org/acme/travels/services/TravellerAuditService.java index 4b092600a0..057c0f115a 100644 --- a/kogito-springboot-examples/process-service-calls-springboot/src/main/java/org/acme/travels/services/TravellerAuditService.java +++ b/kogito-springboot-examples/process-service-calls-springboot/src/main/java/org/acme/travels/services/TravellerAuditService.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels.services; diff --git a/kogito-springboot-examples/process-service-calls-springboot/src/main/java/org/acme/travels/springboot/Address.java b/kogito-springboot-examples/process-service-calls-springboot/src/main/java/org/acme/travels/springboot/Address.java index ea0d7f3d71..22af7ffe91 100644 --- a/kogito-springboot-examples/process-service-calls-springboot/src/main/java/org/acme/travels/springboot/Address.java +++ b/kogito-springboot-examples/process-service-calls-springboot/src/main/java/org/acme/travels/springboot/Address.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels.springboot; diff --git a/kogito-springboot-examples/process-service-calls-springboot/src/main/java/org/acme/travels/springboot/Traveller.java b/kogito-springboot-examples/process-service-calls-springboot/src/main/java/org/acme/travels/springboot/Traveller.java index d918f2f4d3..1ca339ba09 100644 --- a/kogito-springboot-examples/process-service-calls-springboot/src/main/java/org/acme/travels/springboot/Traveller.java +++ b/kogito-springboot-examples/process-service-calls-springboot/src/main/java/org/acme/travels/springboot/Traveller.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels.springboot; diff --git a/kogito-springboot-examples/process-service-calls-springboot/src/main/java/org/kie/kogito/tests/KogitoInfinispanSpringbootApplication.java b/kogito-springboot-examples/process-service-calls-springboot/src/main/java/org/kie/kogito/tests/KogitoInfinispanSpringbootApplication.java index 7b2daaca72..fc27bd8647 100644 --- a/kogito-springboot-examples/process-service-calls-springboot/src/main/java/org/kie/kogito/tests/KogitoInfinispanSpringbootApplication.java +++ b/kogito-springboot-examples/process-service-calls-springboot/src/main/java/org/kie/kogito/tests/KogitoInfinispanSpringbootApplication.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.tests; diff --git a/kogito-springboot-examples/process-service-calls-springboot/src/main/resources/application.properties b/kogito-springboot-examples/process-service-calls-springboot/src/main/resources/application.properties index f6174efd22..bdb4982f9a 100644 --- a/kogito-springboot-examples/process-service-calls-springboot/src/main/resources/application.properties +++ b/kogito-springboot-examples/process-service-calls-springboot/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + server.address=0.0.0.0 logging.level.org.acme.travels=INFO \ No newline at end of file diff --git a/kogito-springboot-examples/process-service-calls-springboot/src/test/java/org/acme/travels/springboot/MultiParamServiceProcessTest.java b/kogito-springboot-examples/process-service-calls-springboot/src/test/java/org/acme/travels/springboot/MultiParamServiceProcessTest.java index 378e76aa4b..1ec4051320 100644 --- a/kogito-springboot-examples/process-service-calls-springboot/src/test/java/org/acme/travels/springboot/MultiParamServiceProcessTest.java +++ b/kogito-springboot-examples/process-service-calls-springboot/src/test/java/org/acme/travels/springboot/MultiParamServiceProcessTest.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels.springboot; diff --git a/kogito-springboot-examples/process-service-calls-springboot/src/test/java/org/acme/travels/springboot/TravellersProcessTest.java b/kogito-springboot-examples/process-service-calls-springboot/src/test/java/org/acme/travels/springboot/TravellersProcessTest.java index 158bbfdd6f..55869fa559 100644 --- a/kogito-springboot-examples/process-service-calls-springboot/src/test/java/org/acme/travels/springboot/TravellersProcessTest.java +++ b/kogito-springboot-examples/process-service-calls-springboot/src/test/java/org/acme/travels/springboot/TravellersProcessTest.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels.springboot; diff --git a/kogito-springboot-examples/process-springboot-example/operator/process-springboot-example.yaml b/kogito-springboot-examples/process-springboot-example/operator/process-springboot-example.yaml index 6d4abaf37b..b8a63fe28f 100644 --- a/kogito-springboot-examples/process-springboot-example/operator/process-springboot-example.yaml +++ b/kogito-springboot-examples/process-springboot-example/operator/process-springboot-example.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # uncomment to enable persistence ##Infinispan operator should be pre-installed in namespace #apiVersion: app.kiegroup.org/v1beta1 diff --git a/kogito-springboot-examples/process-springboot-example/pom.xml b/kogito-springboot-examples/process-springboot-example/pom.xml index 4ba2e55543..d8da6202f7 100644 --- a/kogito-springboot-examples/process-springboot-example/pom.xml +++ b/kogito-springboot-examples/process-springboot-example/pom.xml @@ -1,4 +1,24 @@ + diff --git a/kogito-springboot-examples/process-springboot-example/src/main/java/org/kie/kogito/examples/CalculationService.java b/kogito-springboot-examples/process-springboot-example/src/main/java/org/kie/kogito/examples/CalculationService.java index ee2d725f59..8eef0cb589 100644 --- a/kogito-springboot-examples/process-springboot-example/src/main/java/org/kie/kogito/examples/CalculationService.java +++ b/kogito-springboot-examples/process-springboot-example/src/main/java/org/kie/kogito/examples/CalculationService.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/kogito-springboot-examples/process-springboot-example/src/main/java/org/kie/kogito/examples/CorsConfig.java b/kogito-springboot-examples/process-springboot-example/src/main/java/org/kie/kogito/examples/CorsConfig.java index e195a6542b..001604dfc7 100644 --- a/kogito-springboot-examples/process-springboot-example/src/main/java/org/kie/kogito/examples/CorsConfig.java +++ b/kogito-springboot-examples/process-springboot-example/src/main/java/org/kie/kogito/examples/CorsConfig.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/kogito-springboot-examples/process-springboot-example/src/main/java/org/kie/kogito/examples/DemoApplication.java b/kogito-springboot-examples/process-springboot-example/src/main/java/org/kie/kogito/examples/DemoApplication.java index 3c920b37ab..d0400d3c54 100644 --- a/kogito-springboot-examples/process-springboot-example/src/main/java/org/kie/kogito/examples/DemoApplication.java +++ b/kogito-springboot-examples/process-springboot-example/src/main/java/org/kie/kogito/examples/DemoApplication.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/kogito-springboot-examples/process-springboot-example/src/main/java/org/kie/kogito/examples/KafkaConfig.java b/kogito-springboot-examples/process-springboot-example/src/main/java/org/kie/kogito/examples/KafkaConfig.java index eda9eb3dbf..ea7616deec 100644 --- a/kogito-springboot-examples/process-springboot-example/src/main/java/org/kie/kogito/examples/KafkaConfig.java +++ b/kogito-springboot-examples/process-springboot-example/src/main/java/org/kie/kogito/examples/KafkaConfig.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/kogito-springboot-examples/process-springboot-example/src/main/java/org/kie/kogito/examples/PersonValidationService.java b/kogito-springboot-examples/process-springboot-example/src/main/java/org/kie/kogito/examples/PersonValidationService.java index 1601506f70..022478f873 100644 --- a/kogito-springboot-examples/process-springboot-example/src/main/java/org/kie/kogito/examples/PersonValidationService.java +++ b/kogito-springboot-examples/process-springboot-example/src/main/java/org/kie/kogito/examples/PersonValidationService.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/kogito-springboot-examples/process-springboot-example/src/main/java/org/kie/kogito/examples/demo/Order.java b/kogito-springboot-examples/process-springboot-example/src/main/java/org/kie/kogito/examples/demo/Order.java index de8b4fb8f2..d3770e78cf 100755 --- a/kogito-springboot-examples/process-springboot-example/src/main/java/org/kie/kogito/examples/demo/Order.java +++ b/kogito-springboot-examples/process-springboot-example/src/main/java/org/kie/kogito/examples/demo/Order.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.demo; diff --git a/kogito-springboot-examples/process-springboot-example/src/main/java/org/kie/kogito/examples/demo/Person.java b/kogito-springboot-examples/process-springboot-example/src/main/java/org/kie/kogito/examples/demo/Person.java index 4ce2cb03d7..92aa205134 100644 --- a/kogito-springboot-examples/process-springboot-example/src/main/java/org/kie/kogito/examples/demo/Person.java +++ b/kogito-springboot-examples/process-springboot-example/src/main/java/org/kie/kogito/examples/demo/Person.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.demo; diff --git a/kogito-springboot-examples/process-springboot-example/src/main/resources/META-INF/kmodule.xml b/kogito-springboot-examples/process-springboot-example/src/main/resources/META-INF/kmodule.xml index 2ba4076c16..41665a75bb 100755 --- a/kogito-springboot-examples/process-springboot-example/src/main/resources/META-INF/kmodule.xml +++ b/kogito-springboot-examples/process-springboot-example/src/main/resources/META-INF/kmodule.xml @@ -1 +1,21 @@ + \ No newline at end of file diff --git a/kogito-springboot-examples/process-springboot-example/src/main/resources/application.properties b/kogito-springboot-examples/process-springboot-example/src/main/resources/application.properties index 08921ea983..0374f16b12 100644 --- a/kogito-springboot-examples/process-springboot-example/src/main/resources/application.properties +++ b/kogito-springboot-examples/process-springboot-example/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar diff --git a/kogito-springboot-examples/process-springboot-example/src/main/resources/org/kie/kogito/examples/PersonValidationService.drl b/kogito-springboot-examples/process-springboot-example/src/main/resources/org/kie/kogito/examples/PersonValidationService.drl index c78f0bc31b..9d0fdc6ce1 100644 --- a/kogito-springboot-examples/process-springboot-example/src/main/resources/org/kie/kogito/examples/PersonValidationService.drl +++ b/kogito-springboot-examples/process-springboot-example/src/main/resources/org/kie/kogito/examples/PersonValidationService.drl @@ -1,17 +1,20 @@ /** - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples unit PersonValidationService diff --git a/kogito-springboot-examples/process-springboot-example/src/test/java/org/kie/kogito/examples/demo/OrdersProcessIT.java b/kogito-springboot-examples/process-springboot-example/src/test/java/org/kie/kogito/examples/demo/OrdersProcessIT.java index 571d13c8f1..f19c009b4f 100644 --- a/kogito-springboot-examples/process-springboot-example/src/test/java/org/kie/kogito/examples/demo/OrdersProcessIT.java +++ b/kogito-springboot-examples/process-springboot-example/src/test/java/org/kie/kogito/examples/demo/OrdersProcessIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.demo; 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..d075703df3 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.demo; diff --git a/kogito-springboot-examples/process-springboot-example/src/test/java/org/kie/kogito/examples/demo/PersonProcessIT.java b/kogito-springboot-examples/process-springboot-example/src/test/java/org/kie/kogito/examples/demo/PersonProcessIT.java index ba6d39c55e..ab15d2c3e8 100644 --- a/kogito-springboot-examples/process-springboot-example/src/test/java/org/kie/kogito/examples/demo/PersonProcessIT.java +++ b/kogito-springboot-examples/process-springboot-example/src/test/java/org/kie/kogito/examples/demo/PersonProcessIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.demo; 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..28f5beb2fe 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.demo; diff --git a/kogito-springboot-examples/process-springboot-example/src/test/resources/application.properties b/kogito-springboot-examples/process-springboot-example/src/test/resources/application.properties index 1ee9103dc9..84d10df324 100644 --- a/kogito-springboot-examples/process-springboot-example/src/test/resources/application.properties +++ b/kogito-springboot-examples/process-springboot-example/src/test/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Kafka spring.kafka.bootstrap-servers=127.0.0.1:9092 spring.kafka.producer.key-serializer=org.apache.kafka.common.serialization.StringSerializer diff --git a/kogito-springboot-examples/process-timer-springboot/operator/jobs-service.yaml b/kogito-springboot-examples/process-timer-springboot/operator/jobs-service.yaml index a402e5cf7d..1787b1f45d 100644 --- a/kogito-springboot-examples/process-timer-springboot/operator/jobs-service.yaml +++ b/kogito-springboot-examples/process-timer-springboot/operator/jobs-service.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + #uncomment to enable persistence ##Infinispan operator should be pre-installed in namespace #apiVersion: app.kiegroup.org/v1beta1 diff --git a/kogito-springboot-examples/process-timer-springboot/operator/process-timer-springboot.yaml b/kogito-springboot-examples/process-timer-springboot/operator/process-timer-springboot.yaml index fa5d27af25..878a268e07 100644 --- a/kogito-springboot-examples/process-timer-springboot/operator/process-timer-springboot.yaml +++ b/kogito-springboot-examples/process-timer-springboot/operator/process-timer-springboot.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: app.kiegroup.org/v1beta1 kind: KogitoBuild metadata: diff --git a/kogito-springboot-examples/process-timer-springboot/pom.xml b/kogito-springboot-examples/process-timer-springboot/pom.xml index 00b0b708b6..c5898835d9 100644 --- a/kogito-springboot-examples/process-timer-springboot/pom.xml +++ b/kogito-springboot-examples/process-timer-springboot/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/kogito-springboot-examples/process-timer-springboot/src/main/java/org/kie/kogito/tests/KogitoApplication.java b/kogito-springboot-examples/process-timer-springboot/src/main/java/org/kie/kogito/tests/KogitoApplication.java index 87059ca4cc..b6d5dbe492 100644 --- a/kogito-springboot-examples/process-timer-springboot/src/main/java/org/kie/kogito/tests/KogitoApplication.java +++ b/kogito-springboot-examples/process-timer-springboot/src/main/java/org/kie/kogito/tests/KogitoApplication.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.tests; diff --git a/kogito-springboot-examples/process-timer-springboot/src/main/resources/application.properties b/kogito-springboot-examples/process-timer-springboot/src/main/resources/application.properties index 6e61592e8d..4f76179c36 100644 --- a/kogito-springboot-examples/process-timer-springboot/src/main/resources/application.properties +++ b/kogito-springboot-examples/process-timer-springboot/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + server.address=0.0.0.0 kogito.jobs-service.url=http://localhost:8086 diff --git a/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/operator/process-usertasks-lifecycle-springboot.yaml b/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/operator/process-usertasks-lifecycle-springboot.yaml index 8f072e366a..68bbbf6936 100644 --- a/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/operator/process-usertasks-lifecycle-springboot.yaml +++ b/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/operator/process-usertasks-lifecycle-springboot.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: app.kiegroup.org/v1beta1 kind: KogitoBuild metadata: 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..62851e196c 100644 --- a/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/pom.xml +++ b/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/pom.xml @@ -1,4 +1,24 @@ + diff --git a/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/src/main/java/org/acme/travels/Address.java b/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/src/main/java/org/acme/travels/Address.java index d808334384..662dfa9b9f 100644 --- a/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/src/main/java/org/acme/travels/Address.java +++ b/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/src/main/java/org/acme/travels/Address.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; diff --git a/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/src/main/java/org/acme/travels/Traveller.java b/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/src/main/java/org/acme/travels/Traveller.java index cf790d4664..c24685803d 100644 --- a/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/src/main/java/org/acme/travels/Traveller.java +++ b/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/src/main/java/org/acme/travels/Traveller.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; diff --git a/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/src/main/java/org/acme/travels/config/CustomWorkItemHandlerConfig.java b/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/src/main/java/org/acme/travels/config/CustomWorkItemHandlerConfig.java index 665053be93..3021d7685b 100644 --- a/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/src/main/java/org/acme/travels/config/CustomWorkItemHandlerConfig.java +++ b/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/src/main/java/org/acme/travels/config/CustomWorkItemHandlerConfig.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels.config; diff --git a/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/src/main/java/org/acme/travels/usertasks/CompleteStartedOnly.java b/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/src/main/java/org/acme/travels/usertasks/CompleteStartedOnly.java index fc3d21d823..7465bf0a4f 100644 --- a/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/src/main/java/org/acme/travels/usertasks/CompleteStartedOnly.java +++ b/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/src/main/java/org/acme/travels/usertasks/CompleteStartedOnly.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels.usertasks; diff --git a/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/src/main/java/org/acme/travels/usertasks/CustomHumanTaskLifeCycle.java b/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/src/main/java/org/acme/travels/usertasks/CustomHumanTaskLifeCycle.java index 7098623d8d..49c51e05e5 100644 --- a/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/src/main/java/org/acme/travels/usertasks/CustomHumanTaskLifeCycle.java +++ b/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/src/main/java/org/acme/travels/usertasks/CustomHumanTaskLifeCycle.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels.usertasks; diff --git a/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/src/main/java/org/acme/travels/usertasks/Start.java b/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/src/main/java/org/acme/travels/usertasks/Start.java index 798a3359d7..7a5199de1c 100644 --- a/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/src/main/java/org/acme/travels/usertasks/Start.java +++ b/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/src/main/java/org/acme/travels/usertasks/Start.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels.usertasks; diff --git a/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/src/main/java/org/kie/kogito/tests/KogitoInfinispanSpringbootApplication.java b/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/src/main/java/org/kie/kogito/tests/KogitoInfinispanSpringbootApplication.java index 7b2daaca72..fc27bd8647 100644 --- a/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/src/main/java/org/kie/kogito/tests/KogitoInfinispanSpringbootApplication.java +++ b/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/src/main/java/org/kie/kogito/tests/KogitoInfinispanSpringbootApplication.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.tests; diff --git a/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/src/main/resources/application.properties b/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/src/main/resources/application.properties index badeb6ba9f..48fe09b748 100644 --- a/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/src/main/resources/application.properties +++ b/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + server.address=0.0.0.0 infinispan.remote.server-list=127.0.0.1:11222 diff --git a/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/src/test/java/org/acme/travels/custom/lifecycle/springboot/ApprovalsProcessTest.java b/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/src/test/java/org/acme/travels/custom/lifecycle/springboot/ApprovalsProcessTest.java index b34a2db34d..4b5af8bfd8 100644 --- a/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/src/test/java/org/acme/travels/custom/lifecycle/springboot/ApprovalsProcessTest.java +++ b/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/src/test/java/org/acme/travels/custom/lifecycle/springboot/ApprovalsProcessTest.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels.custom.lifecycle.springboot; diff --git a/kogito-springboot-examples/process-usertasks-springboot-with-console/docker-compose/docker-compose.yml b/kogito-springboot-examples/process-usertasks-springboot-with-console/docker-compose/docker-compose.yml index 5385230ccd..48ef9fa4bf 100755 --- a/kogito-springboot-examples/process-usertasks-springboot-with-console/docker-compose/docker-compose.yml +++ b/kogito-springboot-examples/process-usertasks-springboot-with-console/docker-compose/docker-compose.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + version: '2.1' services: diff --git a/kogito-springboot-examples/process-usertasks-springboot-with-console/docker-compose/infinispan/infinispan.xml b/kogito-springboot-examples/process-usertasks-springboot-with-console/docker-compose/infinispan/infinispan.xml index 4d594bfc24..a466561b9f 100755 --- a/kogito-springboot-examples/process-usertasks-springboot-with-console/docker-compose/infinispan/infinispan.xml +++ b/kogito-springboot-examples/process-usertasks-springboot-with-console/docker-compose/infinispan/infinispan.xml @@ -1,3 +1,23 @@ + diff --git a/kogito-springboot-examples/process-usertasks-springboot-with-console/docker-compose/startServices.sh b/kogito-springboot-examples/process-usertasks-springboot-with-console/docker-compose/startServices.sh index 8ae6e8e558..32eab8d077 100755 --- a/kogito-springboot-examples/process-usertasks-springboot-with-console/docker-compose/startServices.sh +++ b/kogito-springboot-examples/process-usertasks-springboot-with-console/docker-compose/startServices.sh @@ -1,4 +1,23 @@ #!/bin/sh +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + echo "Script requires your Kogito Quickstart to be compiled" 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..9241308bd3 100644 --- a/kogito-springboot-examples/process-usertasks-springboot-with-console/pom.xml +++ b/kogito-springboot-examples/process-usertasks-springboot-with-console/pom.xml @@ -1,4 +1,24 @@ + diff --git a/kogito-springboot-examples/process-usertasks-springboot-with-console/src/main/java/org/acme/travels/Address.java b/kogito-springboot-examples/process-usertasks-springboot-with-console/src/main/java/org/acme/travels/Address.java index d808334384..662dfa9b9f 100644 --- a/kogito-springboot-examples/process-usertasks-springboot-with-console/src/main/java/org/acme/travels/Address.java +++ b/kogito-springboot-examples/process-usertasks-springboot-with-console/src/main/java/org/acme/travels/Address.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; diff --git a/kogito-springboot-examples/process-usertasks-springboot-with-console/src/main/java/org/acme/travels/Traveller.java b/kogito-springboot-examples/process-usertasks-springboot-with-console/src/main/java/org/acme/travels/Traveller.java index cf790d4664..c24685803d 100644 --- a/kogito-springboot-examples/process-usertasks-springboot-with-console/src/main/java/org/acme/travels/Traveller.java +++ b/kogito-springboot-examples/process-usertasks-springboot-with-console/src/main/java/org/acme/travels/Traveller.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; diff --git a/kogito-springboot-examples/process-usertasks-springboot-with-console/src/main/java/org/kie/kogito/tests/CorsConfig.java b/kogito-springboot-examples/process-usertasks-springboot-with-console/src/main/java/org/kie/kogito/tests/CorsConfig.java index 3de49bf1ff..a6dc393a64 100644 --- a/kogito-springboot-examples/process-usertasks-springboot-with-console/src/main/java/org/kie/kogito/tests/CorsConfig.java +++ b/kogito-springboot-examples/process-usertasks-springboot-with-console/src/main/java/org/kie/kogito/tests/CorsConfig.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.tests; diff --git a/kogito-springboot-examples/process-usertasks-springboot-with-console/src/main/java/org/kie/kogito/tests/KogitoInfinispanSpringbootApplication.java b/kogito-springboot-examples/process-usertasks-springboot-with-console/src/main/java/org/kie/kogito/tests/KogitoInfinispanSpringbootApplication.java index 7b2daaca72..fc27bd8647 100644 --- a/kogito-springboot-examples/process-usertasks-springboot-with-console/src/main/java/org/kie/kogito/tests/KogitoInfinispanSpringbootApplication.java +++ b/kogito-springboot-examples/process-usertasks-springboot-with-console/src/main/java/org/kie/kogito/tests/KogitoInfinispanSpringbootApplication.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.tests; diff --git a/kogito-springboot-examples/process-usertasks-springboot-with-console/src/main/resources/META-INF/resources/index.html b/kogito-springboot-examples/process-usertasks-springboot-with-console/src/main/resources/META-INF/resources/index.html index fb2677f87d..c2e78230c5 100644 --- a/kogito-springboot-examples/process-usertasks-springboot-with-console/src/main/resources/META-INF/resources/index.html +++ b/kogito-springboot-examples/process-usertasks-springboot-with-console/src/main/resources/META-INF/resources/index.html @@ -1,20 +1,23 @@ + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> diff --git a/kogito-springboot-examples/process-usertasks-springboot-with-console/src/main/resources/application.properties b/kogito-springboot-examples/process-usertasks-springboot-with-console/src/main/resources/application.properties index a30026d05e..74aed4747e 100644 --- a/kogito-springboot-examples/process-usertasks-springboot-with-console/src/main/resources/application.properties +++ b/kogito-springboot-examples/process-usertasks-springboot-with-console/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + server.address=0.0.0.0 infinispan.remote.server-list=localhost:11222 diff --git a/kogito-springboot-examples/process-usertasks-springboot-with-console/src/test/java/org/acme/travels/ApprovalsTestIT.java b/kogito-springboot-examples/process-usertasks-springboot-with-console/src/test/java/org/acme/travels/ApprovalsTestIT.java index 8ffe2a5cd1..f941385cfa 100644 --- a/kogito-springboot-examples/process-usertasks-springboot-with-console/src/test/java/org/acme/travels/ApprovalsTestIT.java +++ b/kogito-springboot-examples/process-usertasks-springboot-with-console/src/test/java/org/acme/travels/ApprovalsTestIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; diff --git a/kogito-springboot-examples/process-usertasks-springboot/operator/process-usertasks-springboot.yaml b/kogito-springboot-examples/process-usertasks-springboot/operator/process-usertasks-springboot.yaml index f0d024d899..feecb967ff 100644 --- a/kogito-springboot-examples/process-usertasks-springboot/operator/process-usertasks-springboot.yaml +++ b/kogito-springboot-examples/process-usertasks-springboot/operator/process-usertasks-springboot.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: app.kiegroup.org/v1beta1 kind: KogitoBuild diff --git a/kogito-springboot-examples/process-usertasks-springboot/pom.xml b/kogito-springboot-examples/process-usertasks-springboot/pom.xml index 0261a5c95a..03832bc986 100644 --- a/kogito-springboot-examples/process-usertasks-springboot/pom.xml +++ b/kogito-springboot-examples/process-usertasks-springboot/pom.xml @@ -1,4 +1,24 @@ + diff --git a/kogito-springboot-examples/process-usertasks-springboot/src/main/java/org/acme/travels/Address.java b/kogito-springboot-examples/process-usertasks-springboot/src/main/java/org/acme/travels/Address.java index d808334384..662dfa9b9f 100644 --- a/kogito-springboot-examples/process-usertasks-springboot/src/main/java/org/acme/travels/Address.java +++ b/kogito-springboot-examples/process-usertasks-springboot/src/main/java/org/acme/travels/Address.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; diff --git a/kogito-springboot-examples/process-usertasks-springboot/src/main/java/org/acme/travels/Traveller.java b/kogito-springboot-examples/process-usertasks-springboot/src/main/java/org/acme/travels/Traveller.java index cf790d4664..c24685803d 100644 --- a/kogito-springboot-examples/process-usertasks-springboot/src/main/java/org/acme/travels/Traveller.java +++ b/kogito-springboot-examples/process-usertasks-springboot/src/main/java/org/acme/travels/Traveller.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; diff --git a/kogito-springboot-examples/process-usertasks-springboot/src/main/java/org/kie/kogito/tests/KogitoInfinispanSpringbootApplication.java b/kogito-springboot-examples/process-usertasks-springboot/src/main/java/org/kie/kogito/tests/KogitoInfinispanSpringbootApplication.java index 7b2daaca72..fc27bd8647 100644 --- a/kogito-springboot-examples/process-usertasks-springboot/src/main/java/org/kie/kogito/tests/KogitoInfinispanSpringbootApplication.java +++ b/kogito-springboot-examples/process-usertasks-springboot/src/main/java/org/kie/kogito/tests/KogitoInfinispanSpringbootApplication.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.tests; diff --git a/kogito-springboot-examples/process-usertasks-springboot/src/main/resources/application.properties b/kogito-springboot-examples/process-usertasks-springboot/src/main/resources/application.properties index 5f4fb60b55..4e8da841ca 100644 --- a/kogito-springboot-examples/process-usertasks-springboot/src/main/resources/application.properties +++ b/kogito-springboot-examples/process-usertasks-springboot/src/main/resources/application.properties @@ -1 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + server.address=0.0.0.0 \ No newline at end of file diff --git a/kogito-springboot-examples/process-usertasks-springboot/src/test/java/org/acme/travels/springboot/ApprovalsProcessTest.java b/kogito-springboot-examples/process-usertasks-springboot/src/test/java/org/acme/travels/springboot/ApprovalsProcessTest.java index 5c89d73dfc..9ec367111b 100644 --- a/kogito-springboot-examples/process-usertasks-springboot/src/test/java/org/acme/travels/springboot/ApprovalsProcessTest.java +++ b/kogito-springboot-examples/process-usertasks-springboot/src/test/java/org/acme/travels/springboot/ApprovalsProcessTest.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels.springboot; 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..213f931642 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 @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + version: '2.1' services: diff --git a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/docker-compose/infinispan/infinispan.xml b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/docker-compose/infinispan/infinispan.xml index 4d594bfc24..a466561b9f 100755 --- a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/docker-compose/infinispan/infinispan.xml +++ b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/docker-compose/infinispan/infinispan.xml @@ -1,3 +1,23 @@ + diff --git a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/docker-compose/startServices.sh b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/docker-compose/startServices.sh index 9ea130a50a..69ebc0ce46 100755 --- a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/docker-compose/startServices.sh +++ b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/docker-compose/startServices.sh @@ -1,4 +1,23 @@ #!/bin/sh +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + echo "Script requires your Kogito Quickstart to be compiled" 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..d1e9439cc6 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 @@ -1,4 +1,24 @@ + diff --git a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/main/java/org/acme/travels/Address.java b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/main/java/org/acme/travels/Address.java index d808334384..662dfa9b9f 100644 --- a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/main/java/org/acme/travels/Address.java +++ b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/main/java/org/acme/travels/Address.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; diff --git a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/main/java/org/acme/travels/Traveller.java b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/main/java/org/acme/travels/Traveller.java index cf790d4664..c24685803d 100644 --- a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/main/java/org/acme/travels/Traveller.java +++ b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/main/java/org/acme/travels/Traveller.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; diff --git a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/main/java/org/kie/kogito/springboot/CorsConfig.java b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/main/java/org/kie/kogito/springboot/CorsConfig.java index 9c7aba87e6..c8a7b327ed 100644 --- a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/main/java/org/kie/kogito/springboot/CorsConfig.java +++ b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/main/java/org/kie/kogito/springboot/CorsConfig.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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; 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..9fd0d46946 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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; 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 index add510733f..6906a855aa 100644 --- 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 @@ -1,19 +1,21 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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; diff --git a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/main/java/org/kie/kogito/springboot/KogitoSpringbootApplication.java b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/main/java/org/kie/kogito/springboot/KogitoSpringbootApplication.java index c832c38757..dfb4db675e 100644 --- a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/main/java/org/kie/kogito/springboot/KogitoSpringbootApplication.java +++ b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/main/java/org/kie/kogito/springboot/KogitoSpringbootApplication.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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; diff --git a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/main/resources/META-INF/resources/index.html b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/main/resources/META-INF/resources/index.html index fb2677f87d..c2e78230c5 100644 --- a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/main/resources/META-INF/resources/index.html +++ b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/main/resources/META-INF/resources/index.html @@ -1,20 +1,23 @@ + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> 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..8d33d35213 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,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + server.address=0.0.0.0 infinispan.remote.server-list=127.0.0.1:11222 diff --git a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/test/java/org/acme/travels/ApprovalsProcessTestIT.java b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/test/java/org/acme/travels/ApprovalsProcessTestIT.java index 19da7eefb3..54e4248b09 100644 --- a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/test/java/org/acme/travels/ApprovalsProcessTestIT.java +++ b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot-with-console/src/test/java/org/acme/travels/ApprovalsProcessTestIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; 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..708f5b468e 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; 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..62eceb5d42 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,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + keycloak.realm=kogito keycloak.resource=kogito-app 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..cf9d3b0740 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 @@ -1,4 +1,24 @@ + diff --git a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/main/java/org/acme/travels/Address.java b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/main/java/org/acme/travels/Address.java index d808334384..662dfa9b9f 100644 --- a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/main/java/org/acme/travels/Address.java +++ b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/main/java/org/acme/travels/Address.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; diff --git a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/main/java/org/acme/travels/Traveller.java b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/main/java/org/acme/travels/Traveller.java index cf790d4664..c24685803d 100644 --- a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/main/java/org/acme/travels/Traveller.java +++ b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/main/java/org/acme/travels/Traveller.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; 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..0d2d940605 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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; 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 index add510733f..6906a855aa 100644 --- 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 @@ -1,19 +1,21 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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; diff --git a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/main/java/org/kie/kogito/springboot/KogitoSpringbootApplication.java b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/main/java/org/kie/kogito/springboot/KogitoSpringbootApplication.java index c832c38757..dfb4db675e 100644 --- a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/main/java/org/kie/kogito/springboot/KogitoSpringbootApplication.java +++ b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/main/java/org/kie/kogito/springboot/KogitoSpringbootApplication.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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; 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..4dcdeb253c 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 @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + server.address=0.0.0.0 spring.main.allow-bean-definition-overriding=true 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..738d1d6bde 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; diff --git a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/test/java/org/acme/travels/security/oidc/springboot/ApprovalsProcessTest.java b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/test/java/org/acme/travels/security/oidc/springboot/ApprovalsProcessTest.java index e3b05e077a..fa25b9e3d3 100644 --- a/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/test/java/org/acme/travels/security/oidc/springboot/ApprovalsProcessTest.java +++ b/kogito-springboot-examples/process-usertasks-with-security-oidc-springboot/src/test/java/org/acme/travels/security/oidc/springboot/ApprovalsProcessTest.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels.security.oidc.springboot; 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..90a59866c6 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,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + keycloak.auth-server-url=http://localhost:8281/auth keycloak.realm=kogito keycloak.resource=kogito-app diff --git a/kogito-springboot-examples/process-usertasks-with-security-springboot/operator/process-tasks-security-springboot.yaml b/kogito-springboot-examples/process-usertasks-with-security-springboot/operator/process-tasks-security-springboot.yaml index 29eb4147a0..4d77304697 100644 --- a/kogito-springboot-examples/process-usertasks-with-security-springboot/operator/process-tasks-security-springboot.yaml +++ b/kogito-springboot-examples/process-usertasks-with-security-springboot/operator/process-tasks-security-springboot.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: app.kiegroup.org/v1beta1 kind: KogitoBuild metadata: 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..6da03a4e7f 100644 --- a/kogito-springboot-examples/process-usertasks-with-security-springboot/pom.xml +++ b/kogito-springboot-examples/process-usertasks-with-security-springboot/pom.xml @@ -1,4 +1,24 @@ + diff --git a/kogito-springboot-examples/process-usertasks-with-security-springboot/src/main/java/org/acme/travels/Address.java b/kogito-springboot-examples/process-usertasks-with-security-springboot/src/main/java/org/acme/travels/Address.java index d808334384..662dfa9b9f 100644 --- a/kogito-springboot-examples/process-usertasks-with-security-springboot/src/main/java/org/acme/travels/Address.java +++ b/kogito-springboot-examples/process-usertasks-with-security-springboot/src/main/java/org/acme/travels/Address.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; diff --git a/kogito-springboot-examples/process-usertasks-with-security-springboot/src/main/java/org/acme/travels/Traveller.java b/kogito-springboot-examples/process-usertasks-with-security-springboot/src/main/java/org/acme/travels/Traveller.java index cf790d4664..c24685803d 100644 --- a/kogito-springboot-examples/process-usertasks-with-security-springboot/src/main/java/org/acme/travels/Traveller.java +++ b/kogito-springboot-examples/process-usertasks-with-security-springboot/src/main/java/org/acme/travels/Traveller.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels; 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..f0ab723cdf 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.tests; diff --git a/kogito-springboot-examples/process-usertasks-with-security-springboot/src/main/java/org/kie/kogito/tests/KogitoInfinispanSpringbootApplication.java b/kogito-springboot-examples/process-usertasks-with-security-springboot/src/main/java/org/kie/kogito/tests/KogitoInfinispanSpringbootApplication.java index 7b2daaca72..fc27bd8647 100644 --- a/kogito-springboot-examples/process-usertasks-with-security-springboot/src/main/java/org/kie/kogito/tests/KogitoInfinispanSpringbootApplication.java +++ b/kogito-springboot-examples/process-usertasks-with-security-springboot/src/main/java/org/kie/kogito/tests/KogitoInfinispanSpringbootApplication.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.tests; 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..cfc5c8aeb9 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.tests; diff --git a/kogito-springboot-examples/process-usertasks-with-security-springboot/src/main/resources/application.properties b/kogito-springboot-examples/process-usertasks-with-security-springboot/src/main/resources/application.properties index 5f4fb60b55..4e8da841ca 100644 --- a/kogito-springboot-examples/process-usertasks-with-security-springboot/src/main/resources/application.properties +++ b/kogito-springboot-examples/process-usertasks-with-security-springboot/src/main/resources/application.properties @@ -1 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + server.address=0.0.0.0 \ No newline at end of file diff --git a/kogito-springboot-examples/process-usertasks-with-security-springboot/src/test/java/org/acme/travels/security/springboot/ApprovalsProcessTest.java b/kogito-springboot-examples/process-usertasks-with-security-springboot/src/test/java/org/acme/travels/security/springboot/ApprovalsProcessTest.java index 7c466176d4..2a1467f4d8 100644 --- a/kogito-springboot-examples/process-usertasks-with-security-springboot/src/test/java/org/acme/travels/security/springboot/ApprovalsProcessTest.java +++ b/kogito-springboot-examples/process-usertasks-with-security-springboot/src/test/java/org/acme/travels/security/springboot/ApprovalsProcessTest.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels.security.springboot; 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..20f106c62c 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.travels.security.springboot; diff --git a/kogito-springboot-examples/rules-legacy-springboot-example/operator/ruleunit-springboot-example.yaml b/kogito-springboot-examples/rules-legacy-springboot-example/operator/ruleunit-springboot-example.yaml index 50a768d6c0..869ceb3b4e 100644 --- a/kogito-springboot-examples/rules-legacy-springboot-example/operator/ruleunit-springboot-example.yaml +++ b/kogito-springboot-examples/rules-legacy-springboot-example/operator/ruleunit-springboot-example.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: app.kiegroup.org/v1beta1 kind: KogitoBuild metadata: diff --git a/kogito-springboot-examples/rules-legacy-springboot-example/pom.xml b/kogito-springboot-examples/rules-legacy-springboot-example/pom.xml index 6f98382b49..30515c431f 100644 --- a/kogito-springboot-examples/rules-legacy-springboot-example/pom.xml +++ b/kogito-springboot-examples/rules-legacy-springboot-example/pom.xml @@ -1,4 +1,24 @@ + diff --git a/kogito-springboot-examples/rules-legacy-springboot-example/src/main/java/org/kie/kogito/legacy/Applicant.java b/kogito-springboot-examples/rules-legacy-springboot-example/src/main/java/org/kie/kogito/legacy/Applicant.java index 771c31fe80..5b1b7aaeff 100644 --- a/kogito-springboot-examples/rules-legacy-springboot-example/src/main/java/org/kie/kogito/legacy/Applicant.java +++ b/kogito-springboot-examples/rules-legacy-springboot-example/src/main/java/org/kie/kogito/legacy/Applicant.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.legacy; diff --git a/kogito-springboot-examples/rules-legacy-springboot-example/src/main/java/org/kie/kogito/legacy/FindApprovedLoansEndpoint.java b/kogito-springboot-examples/rules-legacy-springboot-example/src/main/java/org/kie/kogito/legacy/FindApprovedLoansEndpoint.java index 4e8feb55fd..b1cf4596b9 100644 --- a/kogito-springboot-examples/rules-legacy-springboot-example/src/main/java/org/kie/kogito/legacy/FindApprovedLoansEndpoint.java +++ b/kogito-springboot-examples/rules-legacy-springboot-example/src/main/java/org/kie/kogito/legacy/FindApprovedLoansEndpoint.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.legacy; diff --git a/kogito-springboot-examples/rules-legacy-springboot-example/src/main/java/org/kie/kogito/legacy/KogitoSpringbootApplication.java b/kogito-springboot-examples/rules-legacy-springboot-example/src/main/java/org/kie/kogito/legacy/KogitoSpringbootApplication.java index 1d841598f7..d8e30b0e1f 100644 --- a/kogito-springboot-examples/rules-legacy-springboot-example/src/main/java/org/kie/kogito/legacy/KogitoSpringbootApplication.java +++ b/kogito-springboot-examples/rules-legacy-springboot-example/src/main/java/org/kie/kogito/legacy/KogitoSpringbootApplication.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.legacy; diff --git a/kogito-springboot-examples/rules-legacy-springboot-example/src/main/java/org/kie/kogito/legacy/LoanApplication.java b/kogito-springboot-examples/rules-legacy-springboot-example/src/main/java/org/kie/kogito/legacy/LoanApplication.java index 053c5e25b9..5f9e102fd8 100644 --- a/kogito-springboot-examples/rules-legacy-springboot-example/src/main/java/org/kie/kogito/legacy/LoanApplication.java +++ b/kogito-springboot-examples/rules-legacy-springboot-example/src/main/java/org/kie/kogito/legacy/LoanApplication.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.legacy; diff --git a/kogito-springboot-examples/rules-legacy-springboot-example/src/main/java/org/kie/kogito/legacy/LoanDto.java b/kogito-springboot-examples/rules-legacy-springboot-example/src/main/java/org/kie/kogito/legacy/LoanDto.java index 1db9def3c2..f498e3fc30 100644 --- a/kogito-springboot-examples/rules-legacy-springboot-example/src/main/java/org/kie/kogito/legacy/LoanDto.java +++ b/kogito-springboot-examples/rules-legacy-springboot-example/src/main/java/org/kie/kogito/legacy/LoanDto.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.legacy; diff --git a/kogito-springboot-examples/rules-legacy-springboot-example/src/main/resources/application.properties b/kogito-springboot-examples/rules-legacy-springboot-example/src/main/resources/application.properties index 5f4fb60b55..4e8da841ca 100644 --- a/kogito-springboot-examples/rules-legacy-springboot-example/src/main/resources/application.properties +++ b/kogito-springboot-examples/rules-legacy-springboot-example/src/main/resources/application.properties @@ -1 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + server.address=0.0.0.0 \ No newline at end of file diff --git a/kogito-springboot-examples/rules-legacy-springboot-example/src/main/resources/org/kie/kogito/legacy/LoanRules.drl b/kogito-springboot-examples/rules-legacy-springboot-example/src/main/resources/org/kie/kogito/legacy/LoanRules.drl index e9a24b46c9..913fb100a6 100644 --- a/kogito-springboot-examples/rules-legacy-springboot-example/src/main/resources/org/kie/kogito/legacy/LoanRules.drl +++ b/kogito-springboot-examples/rules-legacy-springboot-example/src/main/resources/org/kie/kogito/legacy/LoanRules.drl @@ -1,17 +1,20 @@ /** - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.legacy; 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..c0217cffec 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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; diff --git a/kogito-springboot-examples/rules-legacy-springboot-example/src/test/resources/logback-test.xml b/kogito-springboot-examples/rules-legacy-springboot-example/src/test/resources/logback-test.xml index 9d5906898a..e8a614e525 100644 --- a/kogito-springboot-examples/rules-legacy-springboot-example/src/test/resources/logback-test.xml +++ b/kogito-springboot-examples/rules-legacy-springboot-example/src/test/resources/logback-test.xml @@ -1,4 +1,24 @@ + diff --git a/kogito-springboot-examples/ruleunit-event-driven-springboot/docker-compose.yml b/kogito-springboot-examples/ruleunit-event-driven-springboot/docker-compose.yml index f07d3cc400..802976737c 100644 --- a/kogito-springboot-examples/ruleunit-event-driven-springboot/docker-compose.yml +++ b/kogito-springboot-examples/ruleunit-event-driven-springboot/docker-compose.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + version: '2' services: diff --git a/kogito-springboot-examples/ruleunit-event-driven-springboot/pom.xml b/kogito-springboot-examples/ruleunit-event-driven-springboot/pom.xml index 77decd35e6..fe968a4e32 100644 --- a/kogito-springboot-examples/ruleunit-event-driven-springboot/pom.xml +++ b/kogito-springboot-examples/ruleunit-event-driven-springboot/pom.xml @@ -1,4 +1,24 @@ + diff --git a/kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/java/org/kie/kogito/queries/AllAmounts.java b/kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/java/org/kie/kogito/queries/AllAmounts.java index e0c67ef987..0bbb602617 100644 --- a/kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/java/org/kie/kogito/queries/AllAmounts.java +++ b/kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/java/org/kie/kogito/queries/AllAmounts.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.queries; diff --git a/kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/java/org/kie/kogito/queries/Applicant.java b/kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/java/org/kie/kogito/queries/Applicant.java index 175d3a98d5..25d1c54e64 100644 --- a/kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/java/org/kie/kogito/queries/Applicant.java +++ b/kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/java/org/kie/kogito/queries/Applicant.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.queries; diff --git a/kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/java/org/kie/kogito/queries/KogitoSpringbootApplication.java b/kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/java/org/kie/kogito/queries/KogitoSpringbootApplication.java index d6f7c7a33f..c909e15e0c 100644 --- a/kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/java/org/kie/kogito/queries/KogitoSpringbootApplication.java +++ b/kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/java/org/kie/kogito/queries/KogitoSpringbootApplication.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.queries; diff --git a/kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/java/org/kie/kogito/queries/LoanApplication.java b/kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/java/org/kie/kogito/queries/LoanApplication.java index 70eec1c4e3..8697730bd3 100644 --- a/kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/java/org/kie/kogito/queries/LoanApplication.java +++ b/kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/java/org/kie/kogito/queries/LoanApplication.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.queries; diff --git a/kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/java/org/kie/kogito/queries/LoanUnit.java b/kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/java/org/kie/kogito/queries/LoanUnit.java index 3f68f880e8..4b4ba73582 100644 --- a/kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/java/org/kie/kogito/queries/LoanUnit.java +++ b/kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/java/org/kie/kogito/queries/LoanUnit.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.queries; diff --git a/kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/resources/application.properties b/kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/resources/application.properties index 4c9b99f60d..3f2d1cdc19 100644 --- a/kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/resources/application.properties +++ b/kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + kogito.addon.cloudevents.kafka.kogito_incoming_stream=ruleunit-event-driven-requests kogito.addon.cloudevents.kafka.kogito_outgoing_stream=ruleunit-event-driven-responses kogito.addon.tracing.decision.kafka.bootstrapAddress=localhost:9092 diff --git a/kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/resources/org/kie/kogito/queries/RuleUnitQuery.drl b/kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/resources/org/kie/kogito/queries/RuleUnitQuery.drl index 2f14454ead..483c686584 100644 --- a/kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/resources/org/kie/kogito/queries/RuleUnitQuery.drl +++ b/kogito-springboot-examples/ruleunit-event-driven-springboot/src/main/resources/org/kie/kogito/queries/RuleUnitQuery.drl @@ -1,17 +1,20 @@ /** - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.queries; unit LoanUnit; diff --git a/kogito-springboot-examples/ruleunit-event-driven-springboot/src/test/java/org/kie/kogito/examples/RuleUnitEventDrivenIT.java b/kogito-springboot-examples/ruleunit-event-driven-springboot/src/test/java/org/kie/kogito/examples/RuleUnitEventDrivenIT.java index 019e8360ff..9bb36180d0 100644 --- a/kogito-springboot-examples/ruleunit-event-driven-springboot/src/test/java/org/kie/kogito/examples/RuleUnitEventDrivenIT.java +++ b/kogito-springboot-examples/ruleunit-event-driven-springboot/src/test/java/org/kie/kogito/examples/RuleUnitEventDrivenIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/kogito-springboot-examples/ruleunit-event-driven-springboot/src/test/resources/logback-test.xml b/kogito-springboot-examples/ruleunit-event-driven-springboot/src/test/resources/logback-test.xml index e8c716f5ef..bb6af4db85 100644 --- a/kogito-springboot-examples/ruleunit-event-driven-springboot/src/test/resources/logback-test.xml +++ b/kogito-springboot-examples/ruleunit-event-driven-springboot/src/test/resources/logback-test.xml @@ -1,3 +1,23 @@ + diff --git a/kogito-springboot-examples/ruleunit-springboot-example/operator/ruleunit-springboot-example.yaml b/kogito-springboot-examples/ruleunit-springboot-example/operator/ruleunit-springboot-example.yaml index 50a768d6c0..869ceb3b4e 100644 --- a/kogito-springboot-examples/ruleunit-springboot-example/operator/ruleunit-springboot-example.yaml +++ b/kogito-springboot-examples/ruleunit-springboot-example/operator/ruleunit-springboot-example.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: app.kiegroup.org/v1beta1 kind: KogitoBuild metadata: diff --git a/kogito-springboot-examples/ruleunit-springboot-example/pom.xml b/kogito-springboot-examples/ruleunit-springboot-example/pom.xml index e14f65ecb0..3619a7b44d 100644 --- a/kogito-springboot-examples/ruleunit-springboot-example/pom.xml +++ b/kogito-springboot-examples/ruleunit-springboot-example/pom.xml @@ -1,4 +1,24 @@ + diff --git a/kogito-springboot-examples/ruleunit-springboot-example/src/main/java/org/kie/kogito/queries/Applicant.java b/kogito-springboot-examples/ruleunit-springboot-example/src/main/java/org/kie/kogito/queries/Applicant.java index 175d3a98d5..25d1c54e64 100644 --- a/kogito-springboot-examples/ruleunit-springboot-example/src/main/java/org/kie/kogito/queries/Applicant.java +++ b/kogito-springboot-examples/ruleunit-springboot-example/src/main/java/org/kie/kogito/queries/Applicant.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.queries; diff --git a/kogito-springboot-examples/ruleunit-springboot-example/src/main/java/org/kie/kogito/queries/KogitoSpringbootApplication.java b/kogito-springboot-examples/ruleunit-springboot-example/src/main/java/org/kie/kogito/queries/KogitoSpringbootApplication.java index d6f7c7a33f..c909e15e0c 100644 --- a/kogito-springboot-examples/ruleunit-springboot-example/src/main/java/org/kie/kogito/queries/KogitoSpringbootApplication.java +++ b/kogito-springboot-examples/ruleunit-springboot-example/src/main/java/org/kie/kogito/queries/KogitoSpringbootApplication.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.queries; diff --git a/kogito-springboot-examples/ruleunit-springboot-example/src/main/java/org/kie/kogito/queries/LoanApplication.java b/kogito-springboot-examples/ruleunit-springboot-example/src/main/java/org/kie/kogito/queries/LoanApplication.java index 70eec1c4e3..8697730bd3 100644 --- a/kogito-springboot-examples/ruleunit-springboot-example/src/main/java/org/kie/kogito/queries/LoanApplication.java +++ b/kogito-springboot-examples/ruleunit-springboot-example/src/main/java/org/kie/kogito/queries/LoanApplication.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.queries; diff --git a/kogito-springboot-examples/ruleunit-springboot-example/src/main/java/org/kie/kogito/queries/LoanUnit.java b/kogito-springboot-examples/ruleunit-springboot-example/src/main/java/org/kie/kogito/queries/LoanUnit.java index 3d35a77609..0aa2234202 100644 --- a/kogito-springboot-examples/ruleunit-springboot-example/src/main/java/org/kie/kogito/queries/LoanUnit.java +++ b/kogito-springboot-examples/ruleunit-springboot-example/src/main/java/org/kie/kogito/queries/LoanUnit.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.queries; diff --git a/kogito-springboot-examples/ruleunit-springboot-example/src/main/resources/application.properties b/kogito-springboot-examples/ruleunit-springboot-example/src/main/resources/application.properties index 5f4fb60b55..4e8da841ca 100644 --- a/kogito-springboot-examples/ruleunit-springboot-example/src/main/resources/application.properties +++ b/kogito-springboot-examples/ruleunit-springboot-example/src/main/resources/application.properties @@ -1 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + server.address=0.0.0.0 \ No newline at end of file diff --git a/kogito-springboot-examples/ruleunit-springboot-example/src/main/resources/org/kie/kogito/queries/RuleUnitQuery.drl b/kogito-springboot-examples/ruleunit-springboot-example/src/main/resources/org/kie/kogito/queries/RuleUnitQuery.drl index a75b91c804..d9708ac39d 100644 --- a/kogito-springboot-examples/ruleunit-springboot-example/src/main/resources/org/kie/kogito/queries/RuleUnitQuery.drl +++ b/kogito-springboot-examples/ruleunit-springboot-example/src/main/resources/org/kie/kogito/queries/RuleUnitQuery.drl @@ -1,17 +1,20 @@ /** - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.queries; unit LoanUnit; 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..58bc276183 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.decisiontable.springboot.ruleunit; diff --git a/kogito-springboot-examples/ruleunit-springboot-example/src/test/resources/logback-test.xml b/kogito-springboot-examples/ruleunit-springboot-example/src/test/resources/logback-test.xml index 9d5906898a..e8a614e525 100644 --- a/kogito-springboot-examples/ruleunit-springboot-example/src/test/resources/logback-test.xml +++ b/kogito-springboot-examples/ruleunit-springboot-example/src/test/resources/logback-test.xml @@ -1,4 +1,24 @@ + diff --git a/licensesheader.txt b/licensesheader.txt index 818f2e0539..90705e02e0 100644 --- a/licensesheader.txt +++ b/licensesheader.txt @@ -1,13 +1,16 @@ - Copyright ${license.git.copyrightCreationYear} Red Hat, Inc. and/or its affiliates. +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at - 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 - 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. \ No newline at end of file +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. \ No newline at end of file diff --git a/pom.xml b/pom.xml index e51bbf6983..5e6e95f023 100755 --- a/pom.xml +++ b/pom.xml @@ -1,4 +1,24 @@ + diff --git a/serverless-operator-examples/serverless-workflow-inventory/resources/01-configmap_01-order-resources.yaml b/serverless-operator-examples/serverless-workflow-inventory/resources/01-configmap_01-order-resources.yaml index c34e6f018c..210ca76bb2 100644 --- a/serverless-operator-examples/serverless-workflow-inventory/resources/01-configmap_01-order-resources.yaml +++ b/serverless-operator-examples/serverless-workflow-inventory/resources/01-configmap_01-order-resources.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: v1 data: supplier.yaml: | diff --git a/serverless-operator-examples/serverless-workflow-inventory/resources/01-sonataflow_order.yaml b/serverless-operator-examples/serverless-workflow-inventory/resources/01-sonataflow_order.yaml index f994ff07d8..0bf50e8813 100644 --- a/serverless-operator-examples/serverless-workflow-inventory/resources/01-sonataflow_order.yaml +++ b/serverless-operator-examples/serverless-workflow-inventory/resources/01-sonataflow_order.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: sonataflow.org/v1alpha08 kind: SonataFlow metadata: diff --git a/serverless-operator-examples/serverless-workflow-inventory/resources/02-configmap_order-props.yaml b/serverless-operator-examples/serverless-workflow-inventory/resources/02-configmap_order-props.yaml index 87a490e40b..306d340646 100644 --- a/serverless-operator-examples/serverless-workflow-inventory/resources/02-configmap_order-props.yaml +++ b/serverless-operator-examples/serverless-workflow-inventory/resources/02-configmap_order-props.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: v1 data: application.properties: | diff --git a/serverless-workflow-examples/pom.xml b/serverless-workflow-examples/pom.xml index 1955a85d45..7b605c786a 100644 --- a/serverless-workflow-examples/pom.xml +++ b/serverless-workflow-examples/pom.xml @@ -1,4 +1,24 @@ + diff --git a/serverless-workflow-examples/serverless-workflow-annotations-description/pom.xml b/serverless-workflow-examples/serverless-workflow-annotations-description/pom.xml index 13129a50ae..de223ed44d 100644 --- a/serverless-workflow-examples/serverless-workflow-annotations-description/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-annotations-description/pom.xml @@ -1,4 +1,24 @@ + diff --git a/serverless-workflow-examples/serverless-workflow-annotations-description/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-annotations-description/src/main/resources/application.properties index 4c6da73b47..fa834ae2ac 100644 --- a/serverless-workflow-examples/serverless-workflow-annotations-description/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-annotations-description/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # profile to pack this example into a container, to use it execute activate the maven container profile, -Dcontainer %container.quarkus.container-image.build=true %container.quarkus.container-image.push=false @@ -6,4 +25,4 @@ %container.quarkus.container-image.tag=1.0-SNAPSHOT %container.quarkus.jib.jvm-entrypoint=/home/kogito/kogito-app-launch.sh %container.quarkus.jib.base-jvm-image=quay.io/kiegroup/kogito-runtime-jvm:latest -%container.quarkus.jib.working-directory=/home/kogito/bin \ No newline at end of file +%container.quarkus.jib.working-directory=/home/kogito/bin 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..980ad295bc 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 @@ -1,4 +1,24 @@ + 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..ad4ec0dbdf 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 @@ -1,17 +1,20 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-event-service/src/main/java/org/kie/kogito/examples/EventInput.java b/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-event-service/src/main/java/org/kie/kogito/examples/EventInput.java index ec0af553e9..409aafcf6e 100644 --- a/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-event-service/src/main/java/org/kie/kogito/examples/EventInput.java +++ b/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-event-service/src/main/java/org/kie/kogito/examples/EventInput.java @@ -1,17 +1,20 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; 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..cf99a1b7de 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 @@ -1,17 +1,20 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-event-service/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-event-service/src/main/resources/application.properties index efb173ef94..ac50073e89 100644 --- a/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-event-service/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-event-service/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar quarkus.native.native-image-xmx=8g 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..0a305119eb 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 @@ -1,4 +1,24 @@ + diff --git a/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-workflow/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-workflow/src/main/resources/application.properties index f5e1464b30..b01f42ee59 100644 --- a/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-workflow/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-workflow/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Defines the connector for the "wait" channel mp.messaging.incoming.wait.connector=quarkus-http diff --git a/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-workflow/src/main/resources/specs/callback.yaml b/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-workflow/src/main/resources/specs/callback.yaml index 4181f1ce27..44a849e9a9 100644 --- a/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-workflow/src/main/resources/specs/callback.yaml +++ b/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-workflow/src/main/resources/specs/callback.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + openapi: 3.0.0 info: title: Callback Example diff --git a/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-workflow/src/test/java/org/kie/kogito/examples/CallbackRestIT.java b/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-workflow/src/test/java/org/kie/kogito/examples/CallbackRestIT.java index 92b381661e..a70456ebfb 100644 --- a/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-workflow/src/test/java/org/kie/kogito/examples/CallbackRestIT.java +++ b/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/callback-workflow/src/test/java/org/kie/kogito/examples/CallbackRestIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/pom.xml index a5e05ea8c3..064c70f80c 100644 --- a/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-callback-events-over-http-quarkus/pom.xml @@ -1,4 +1,24 @@ + diff --git a/serverless-workflow-examples/serverless-workflow-callback-quarkus/docker-compose/docker-compose.yml b/serverless-workflow-examples/serverless-workflow-callback-quarkus/docker-compose/docker-compose.yml index d7f07c911f..4c605c2bec 100644 --- a/serverless-workflow-examples/serverless-workflow-callback-quarkus/docker-compose/docker-compose.yml +++ b/serverless-workflow-examples/serverless-workflow-callback-quarkus/docker-compose/docker-compose.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + version: '2.1' services: diff --git a/serverless-workflow-examples/serverless-workflow-callback-quarkus/docker-compose/startServices.sh b/serverless-workflow-examples/serverless-workflow-callback-quarkus/docker-compose/startServices.sh index 4f986947fa..5b93df2e6d 100755 --- a/serverless-workflow-examples/serverless-workflow-callback-quarkus/docker-compose/startServices.sh +++ b/serverless-workflow-examples/serverless-workflow-callback-quarkus/docker-compose/startServices.sh @@ -1,18 +1,22 @@ #!/bin/sh # -# Copyright 2021 Red Hat, Inc. and/or its affiliates. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# 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 # -# 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. # -# 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. echo "Script requires your project to be compiled" diff --git a/serverless-workflow-examples/serverless-workflow-callback-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-callback-quarkus/pom.xml index 2f1c84d571..584eac6818 100644 --- a/serverless-workflow-examples/serverless-workflow-callback-quarkus/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-callback-quarkus/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 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..f9c11c4765 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 @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/serverless-workflow-examples/serverless-workflow-callback-quarkus/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-callback-quarkus/src/main/resources/application.properties index 3e120992c2..bc5e342d20 100644 --- a/serverless-workflow-examples/serverless-workflow-callback-quarkus/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-callback-quarkus/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + mp.messaging.incoming.wait.connector=smallrye-kafka mp.messaging.incoming.wait.value.deserializer=org.apache.kafka.common.serialization.StringDeserializer mp.messaging.incoming.wait.group.id=kogito-sw-callback diff --git a/serverless-workflow-examples/serverless-workflow-callback-quarkus/src/test/java/org/kie/kogito/examples/CallbackRestIT.java b/serverless-workflow-examples/serverless-workflow-callback-quarkus/src/test/java/org/kie/kogito/examples/CallbackRestIT.java index 7730d4b92d..4e1c803c0a 100644 --- a/serverless-workflow-examples/serverless-workflow-callback-quarkus/src/test/java/org/kie/kogito/examples/CallbackRestIT.java +++ b/serverless-workflow-examples/serverless-workflow-callback-quarkus/src/test/java/org/kie/kogito/examples/CallbackRestIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/serverless-workflow-examples/serverless-workflow-callback-quarkus/src/test/resources/application.properties b/serverless-workflow-examples/serverless-workflow-callback-quarkus/src/test/resources/application.properties index 9596c93920..abb20a3c7f 100644 --- a/serverless-workflow-examples/serverless-workflow-callback-quarkus/src/test/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-callback-quarkus/src/test/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + quarkus.kogito.devservices.enabled=false quarkus.flyway.migrate-at-start=true diff --git a/serverless-workflow-examples/serverless-workflow-camel-routes/pom.xml b/serverless-workflow-examples/serverless-workflow-camel-routes/pom.xml index 5192348973..9ac2544be4 100644 --- a/serverless-workflow-examples/serverless-workflow-camel-routes/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-camel-routes/pom.xml @@ -1,4 +1,24 @@ + diff --git a/serverless-workflow-examples/serverless-workflow-camel-routes/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-camel-routes/src/main/resources/application.properties index c402b3d370..f8afab61c0 100644 --- a/serverless-workflow-examples/serverless-workflow-camel-routes/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-camel-routes/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # External property read by the Camel Route com.dataaccess.webservicesserver.url=https://www.dataaccess.com/webservicesserver/numberconversion.wso diff --git a/serverless-workflow-examples/serverless-workflow-camel-routes/src/main/resources/beans.xml b/serverless-workflow-examples/serverless-workflow-camel-routes/src/main/resources/beans.xml index e69de29bb2..60125d0cfc 100644 --- a/serverless-workflow-examples/serverless-workflow-camel-routes/src/main/resources/beans.xml +++ b/serverless-workflow-examples/serverless-workflow-camel-routes/src/main/resources/beans.xml @@ -0,0 +1,20 @@ + \ No newline at end of file diff --git a/serverless-workflow-examples/serverless-workflow-camel-routes/src/main/resources/routes/sendSoapMessage.yaml b/serverless-workflow-examples/serverless-workflow-camel-routes/src/main/resources/routes/sendSoapMessage.yaml index 3829866b40..874a7b1993 100644 --- a/serverless-workflow-examples/serverless-workflow-camel-routes/src/main/resources/routes/sendSoapMessage.yaml +++ b/serverless-workflow-examples/serverless-workflow-camel-routes/src/main/resources/routes/sendSoapMessage.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + - from: uri: direct:numberToWords steps: diff --git a/serverless-workflow-examples/serverless-workflow-compensation-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-compensation-quarkus/pom.xml index 4802066871..ec5b0bf915 100644 --- a/serverless-workflow-examples/serverless-workflow-compensation-quarkus/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-compensation-quarkus/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/serverless-workflow-examples/serverless-workflow-compensation-quarkus/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-compensation-quarkus/src/main/resources/application.properties index 23c2638d60..b38ac6440f 100644 --- a/serverless-workflow-examples/serverless-workflow-compensation-quarkus/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-compensation-quarkus/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar quarkus.native.native-image-xmx=8g diff --git a/serverless-workflow-examples/serverless-workflow-compensation-quarkus/src/test/java/org/kie/kogito/examples/CompensationRestIT.java b/serverless-workflow-examples/serverless-workflow-compensation-quarkus/src/test/java/org/kie/kogito/examples/CompensationRestIT.java index fe63e1ada3..095aa5841f 100644 --- a/serverless-workflow-examples/serverless-workflow-compensation-quarkus/src/test/java/org/kie/kogito/examples/CompensationRestIT.java +++ b/serverless-workflow-examples/serverless-workflow-compensation-quarkus/src/test/java/org/kie/kogito/examples/CompensationRestIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/serverless-workflow-examples/serverless-workflow-consuming-events-over-http-quarkus/operator/01-sonataflow_start.yaml b/serverless-workflow-examples/serverless-workflow-consuming-events-over-http-quarkus/operator/01-sonataflow_start.yaml index 32f99f9990..536633c5f3 100755 --- a/serverless-workflow-examples/serverless-workflow-consuming-events-over-http-quarkus/operator/01-sonataflow_start.yaml +++ b/serverless-workflow-examples/serverless-workflow-consuming-events-over-http-quarkus/operator/01-sonataflow_start.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: sonataflow.org/v1alpha08 kind: SonataFlow metadata: diff --git a/serverless-workflow-examples/serverless-workflow-consuming-events-over-http-quarkus/operator/startevent-sw.yaml b/serverless-workflow-examples/serverless-workflow-consuming-events-over-http-quarkus/operator/startevent-sw.yaml index 6d0743f2df..21c75ad5c7 100644 --- a/serverless-workflow-examples/serverless-workflow-consuming-events-over-http-quarkus/operator/startevent-sw.yaml +++ b/serverless-workflow-examples/serverless-workflow-consuming-events-over-http-quarkus/operator/startevent-sw.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: sw.kogito.kie.org/v1alpha08 kind: KogitoServerlessWorkflow metadata: 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..c155576e5d 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 @@ -1,4 +1,24 @@ + diff --git a/serverless-workflow-examples/serverless-workflow-consuming-events-over-http-quarkus/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-consuming-events-over-http-quarkus/src/main/resources/application.properties index 67aed24f5d..32290663b9 100644 --- a/serverless-workflow-examples/serverless-workflow-consuming-events-over-http-quarkus/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-consuming-events-over-http-quarkus/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Defines the connector for the "move" channel mp.messaging.incoming.move.connector=quarkus-http mp.messaging.incoming.start.connector=quarkus-http diff --git a/serverless-workflow-examples/serverless-workflow-consuming-events-over-http-quarkus/src/test/java/org/kie/kogito/examples/ConsumingEventsOverHttpIT.java b/serverless-workflow-examples/serverless-workflow-consuming-events-over-http-quarkus/src/test/java/org/kie/kogito/examples/ConsumingEventsOverHttpIT.java index 255feff2f7..8a981fe2ac 100644 --- a/serverless-workflow-examples/serverless-workflow-consuming-events-over-http-quarkus/src/test/java/org/kie/kogito/examples/ConsumingEventsOverHttpIT.java +++ b/serverless-workflow-examples/serverless-workflow-consuming-events-over-http-quarkus/src/test/java/org/kie/kogito/examples/ConsumingEventsOverHttpIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/serverless-workflow-examples/serverless-workflow-correlation-quarkus/docker-compose/docker-compose.yml b/serverless-workflow-examples/serverless-workflow-correlation-quarkus/docker-compose/docker-compose.yml index 23f877d8f8..4f93231e6c 100644 --- a/serverless-workflow-examples/serverless-workflow-correlation-quarkus/docker-compose/docker-compose.yml +++ b/serverless-workflow-examples/serverless-workflow-correlation-quarkus/docker-compose/docker-compose.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + version: "3" services: diff --git a/serverless-workflow-examples/serverless-workflow-correlation-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-correlation-quarkus/pom.xml index 4cb87747c5..0fcbb3cf29 100644 --- a/serverless-workflow-examples/serverless-workflow-correlation-quarkus/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-correlation-quarkus/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/main/java/org/kie/kogito/examples/Account.java b/serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/main/java/org/kie/kogito/examples/Account.java index e0b09d9899..5da1f57541 100644 --- a/serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/main/java/org/kie/kogito/examples/Account.java +++ b/serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/main/java/org/kie/kogito/examples/Account.java @@ -1,17 +1,20 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; 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..57675763e6 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 @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; 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..9e1740dd52 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 @@ -1,17 +1,20 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/main/resources/application.properties index e2d7afaafc..cc63608152 100644 --- a/serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + %prod.kafka.bootstrap.servers=localhost:9092 #start the workflow events diff --git a/serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/test/java/org/kie/kogito/examples/CorrelationIT.java b/serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/test/java/org/kie/kogito/examples/CorrelationIT.java index a5181364a4..9f8a24fcba 100644 --- a/serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/test/java/org/kie/kogito/examples/CorrelationIT.java +++ b/serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/test/java/org/kie/kogito/examples/CorrelationIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/test/resources/application.properties b/serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/test/resources/application.properties index 13fa29b31e..50bf6c1154 100644 --- a/serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/test/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/test/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Quarkus quarkus.http.test-port=0 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..7cf8467b19 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 @@ -1,4 +1,24 @@ + diff --git a/serverless-workflow-examples/serverless-workflow-custom-function-knative/custom-function-knative-service/src/main/java/org/kie/kogito/examples/CloudEventFunction.java b/serverless-workflow-examples/serverless-workflow-custom-function-knative/custom-function-knative-service/src/main/java/org/kie/kogito/examples/CloudEventFunction.java index a9f09c4da4..ea0014fbda 100644 --- a/serverless-workflow-examples/serverless-workflow-custom-function-knative/custom-function-knative-service/src/main/java/org/kie/kogito/examples/CloudEventFunction.java +++ b/serverless-workflow-examples/serverless-workflow-custom-function-knative/custom-function-knative-service/src/main/java/org/kie/kogito/examples/CloudEventFunction.java @@ -1,17 +1,20 @@ /* - * Copyright 2023 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/serverless-workflow-examples/serverless-workflow-custom-function-knative/custom-function-knative-service/src/main/java/org/kie/kogito/examples/Input.java b/serverless-workflow-examples/serverless-workflow-custom-function-knative/custom-function-knative-service/src/main/java/org/kie/kogito/examples/Input.java index 1302701ef3..9f03a6643e 100644 --- a/serverless-workflow-examples/serverless-workflow-custom-function-knative/custom-function-knative-service/src/main/java/org/kie/kogito/examples/Input.java +++ b/serverless-workflow-examples/serverless-workflow-custom-function-knative/custom-function-knative-service/src/main/java/org/kie/kogito/examples/Input.java @@ -1,17 +1,20 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/serverless-workflow-examples/serverless-workflow-custom-function-knative/custom-function-knative-service/src/main/java/org/kie/kogito/examples/Output.java b/serverless-workflow-examples/serverless-workflow-custom-function-knative/custom-function-knative-service/src/main/java/org/kie/kogito/examples/Output.java index c478e6ac22..26f0029a30 100644 --- a/serverless-workflow-examples/serverless-workflow-custom-function-knative/custom-function-knative-service/src/main/java/org/kie/kogito/examples/Output.java +++ b/serverless-workflow-examples/serverless-workflow-custom-function-knative/custom-function-knative-service/src/main/java/org/kie/kogito/examples/Output.java @@ -1,17 +1,20 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/serverless-workflow-examples/serverless-workflow-custom-function-knative/custom-function-knative-service/src/main/java/org/kie/kogito/examples/PlainJsonFunction.java b/serverless-workflow-examples/serverless-workflow-custom-function-knative/custom-function-knative-service/src/main/java/org/kie/kogito/examples/PlainJsonFunction.java index de843004f8..dd8aef41c6 100644 --- a/serverless-workflow-examples/serverless-workflow-custom-function-knative/custom-function-knative-service/src/main/java/org/kie/kogito/examples/PlainJsonFunction.java +++ b/serverless-workflow-examples/serverless-workflow-custom-function-knative/custom-function-knative-service/src/main/java/org/kie/kogito/examples/PlainJsonFunction.java @@ -1,17 +1,20 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/serverless-workflow-examples/serverless-workflow-custom-function-knative/custom-function-knative-service/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-custom-function-knative/custom-function-knative-service/src/main/resources/application.properties index 202756ba83..c17fbdeed9 100644 --- a/serverless-workflow-examples/serverless-workflow-custom-function-knative/custom-function-knative-service/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-custom-function-knative/custom-function-knative-service/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + quarkus.native.native-image-xmx=8g quarkus.kubernetes.deployment-target=knative diff --git a/serverless-workflow-examples/serverless-workflow-custom-function-knative/pom.xml b/serverless-workflow-examples/serverless-workflow-custom-function-knative/pom.xml index 58add14932..315fba2740 100644 --- a/serverless-workflow-examples/serverless-workflow-custom-function-knative/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-custom-function-knative/pom.xml @@ -1,4 +1,24 @@ + 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..51fe060029 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 @@ -1,4 +1,24 @@ + diff --git a/serverless-workflow-examples/serverless-workflow-custom-function-knative/workflow/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-custom-function-knative/workflow/src/main/resources/application.properties index bedf40d81b..ece1f79438 100644 --- a/serverless-workflow-examples/serverless-workflow-custom-function-knative/workflow/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-custom-function-knative/workflow/src/main/resources/application.properties @@ -1,2 +1,21 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + quarkus.native.native-image-xmx=8g quarkus.kubernetes.deployment-target=knative \ No newline at end of file diff --git a/serverless-workflow-examples/serverless-workflow-custom-type/pom.xml b/serverless-workflow-examples/serverless-workflow-custom-type/pom.xml index 519f3d2369..4cbc9c88ca 100644 --- a/serverless-workflow-examples/serverless-workflow-custom-type/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-custom-type/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-deployment/pom.xml b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-deployment/pom.xml index 4dba82d554..641b863951 100644 --- a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-deployment/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-deployment/pom.xml @@ -1,4 +1,24 @@ + diff --git a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-deployment/src/main/java/org/kie/kogito/examples/sw/services/RPCCustomFunctionNamespace.java b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-deployment/src/main/java/org/kie/kogito/examples/sw/services/RPCCustomFunctionNamespace.java index 5cbc1755d1..6ed7e9657e 100644 --- a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-deployment/src/main/java/org/kie/kogito/examples/sw/services/RPCCustomFunctionNamespace.java +++ b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-deployment/src/main/java/org/kie/kogito/examples/sw/services/RPCCustomFunctionNamespace.java @@ -1,17 +1,20 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.sw.services; diff --git a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-deployment/src/main/java/org/kie/kogito/examples/sw/services/RPCCustomTypeHandler.java b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-deployment/src/main/java/org/kie/kogito/examples/sw/services/RPCCustomTypeHandler.java index c70b72126a..fc276aa71e 100644 --- a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-deployment/src/main/java/org/kie/kogito/examples/sw/services/RPCCustomTypeHandler.java +++ b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-deployment/src/main/java/org/kie/kogito/examples/sw/services/RPCCustomTypeHandler.java @@ -1,17 +1,20 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.sw.services; diff --git a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-deployment/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-deployment/src/main/resources/application.properties index e69de29bb2..d8a500d9d8 100644 --- a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-deployment/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-deployment/src/main/resources/application.properties @@ -0,0 +1,19 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + diff --git a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-server/pom.xml b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-server/pom.xml index 3d329dba7d..8b447bb40a 100644 --- a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-server/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-server/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-server/src/main/java/org/kie/kogito/examples/sw/custom/CalculatorClient.java b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-server/src/main/java/org/kie/kogito/examples/sw/custom/CalculatorClient.java index 059af976cb..2cf357d67d 100644 --- a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-server/src/main/java/org/kie/kogito/examples/sw/custom/CalculatorClient.java +++ b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-server/src/main/java/org/kie/kogito/examples/sw/custom/CalculatorClient.java @@ -1,17 +1,20 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.sw.custom; diff --git a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-server/src/main/java/org/kie/kogito/examples/sw/custom/CalculatorServer.java b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-server/src/main/java/org/kie/kogito/examples/sw/custom/CalculatorServer.java index 0226ede044..75759febaf 100644 --- a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-server/src/main/java/org/kie/kogito/examples/sw/custom/CalculatorServer.java +++ b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-server/src/main/java/org/kie/kogito/examples/sw/custom/CalculatorServer.java @@ -1,17 +1,20 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.sw.custom; diff --git a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-server/src/test/java/org/kie/kogito/examples/sw/custom/CalculatorClientTest.java b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-server/src/test/java/org/kie/kogito/examples/sw/custom/CalculatorClientTest.java index 606540204d..18caa33b66 100644 --- a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-server/src/test/java/org/kie/kogito/examples/sw/custom/CalculatorClientTest.java +++ b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc-server/src/test/java/org/kie/kogito/examples/sw/custom/CalculatorClientTest.java @@ -1,17 +1,20 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.sw.custom; diff --git a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc/pom.xml b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc/pom.xml index 41b3e9ba68..05f4af7480 100644 --- a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc/pom.xml @@ -1,4 +1,24 @@ + 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..b1a2e5b5fe 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 @@ -1,17 +1,20 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.sw.custom; 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..f278d12b84 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 @@ -1,17 +1,20 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.sw.custom; diff --git a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc/src/main/resources/META-INF/beans.xml b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc/src/main/resources/META-INF/beans.xml index e69de29bb2..60125d0cfc 100644 --- a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc/src/main/resources/META-INF/beans.xml +++ b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc/src/main/resources/META-INF/beans.xml @@ -0,0 +1,20 @@ + \ No newline at end of file diff --git a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc/src/main/resources/application.properties index e69de29bb2..d8a500d9d8 100644 --- a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-rpc/src/main/resources/application.properties @@ -0,0 +1,19 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + diff --git a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-type-example/pom.xml b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-type-example/pom.xml index 4ab12ace73..8312bc59db 100644 --- a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-type-example/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-type-example/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-type-example/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-type-example/src/main/resources/application.properties index ddc28dd0f5..cf9e09501c 100644 --- a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-type-example/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-type-example/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar quarkus.devservices.enabled=false diff --git a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-type-example/src/test/java/org/kie/kogito/examples/CustomRestIT.java b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-type-example/src/test/java/org/kie/kogito/examples/CustomRestIT.java index 40d947f5dc..1f5daa5827 100644 --- a/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-type-example/src/test/java/org/kie/kogito/examples/CustomRestIT.java +++ b/serverless-workflow-examples/serverless-workflow-custom-type/serverless-workflow-custom-type-example/src/test/java/org/kie/kogito/examples/CustomRestIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/serverless-workflow-examples/serverless-workflow-data-index-quarkus/docker-compose/docker-compose-with-data-index.yml b/serverless-workflow-examples/serverless-workflow-data-index-quarkus/docker-compose/docker-compose-with-data-index.yml index 93a394232e..f27c5c0880 100644 --- a/serverless-workflow-examples/serverless-workflow-data-index-quarkus/docker-compose/docker-compose-with-data-index.yml +++ b/serverless-workflow-examples/serverless-workflow-data-index-quarkus/docker-compose/docker-compose-with-data-index.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + version: '2.1' services: diff --git a/serverless-workflow-examples/serverless-workflow-data-index-quarkus/docker-compose/docker-compose.yml b/serverless-workflow-examples/serverless-workflow-data-index-quarkus/docker-compose/docker-compose.yml index 144692db63..713a86c650 100644 --- a/serverless-workflow-examples/serverless-workflow-data-index-quarkus/docker-compose/docker-compose.yml +++ b/serverless-workflow-examples/serverless-workflow-data-index-quarkus/docker-compose/docker-compose.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + version: '2.1' services: diff --git a/serverless-workflow-examples/serverless-workflow-data-index-quarkus/docker-compose/startServices.sh b/serverless-workflow-examples/serverless-workflow-data-index-quarkus/docker-compose/startServices.sh index 79b260af7a..387ccafc3e 100755 --- a/serverless-workflow-examples/serverless-workflow-data-index-quarkus/docker-compose/startServices.sh +++ b/serverless-workflow-examples/serverless-workflow-data-index-quarkus/docker-compose/startServices.sh @@ -1,18 +1,22 @@ #!/bin/bash # -# Copyright 2023 Red Hat, Inc. and/or its affiliates. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# 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 # -# 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. # -# 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. echo "Script requires your project to be compiled" 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..68a2a933b8 100644 --- a/serverless-workflow-examples/serverless-workflow-data-index-quarkus/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-data-index-quarkus/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 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..f9c11c4765 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 @@ -1,17 +1,20 @@ /* - * Copyright 2023 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/serverless-workflow-examples/serverless-workflow-data-index-quarkus/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-data-index-quarkus/src/main/resources/application.properties index 879d5d31bc..7042f4dbde 100644 --- a/serverless-workflow-examples/serverless-workflow-data-index-quarkus/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-data-index-quarkus/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + mp.messaging.incoming.wait.connector=smallrye-kafka mp.messaging.incoming.wait.value.deserializer=org.apache.kafka.common.serialization.StringDeserializer mp.messaging.incoming.wait.group.id=kogito-sw-callback diff --git a/serverless-workflow-examples/serverless-workflow-data-index-quarkus/src/test/java/org/kie/kogito/examples/DataIndexRestIT.java b/serverless-workflow-examples/serverless-workflow-data-index-quarkus/src/test/java/org/kie/kogito/examples/DataIndexRestIT.java index b09be166f9..382d102f96 100644 --- a/serverless-workflow-examples/serverless-workflow-data-index-quarkus/src/test/java/org/kie/kogito/examples/DataIndexRestIT.java +++ b/serverless-workflow-examples/serverless-workflow-data-index-quarkus/src/test/java/org/kie/kogito/examples/DataIndexRestIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2023 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/serverless-workflow-examples/serverless-workflow-data-index-quarkus/src/test/resources/application.properties b/serverless-workflow-examples/serverless-workflow-data-index-quarkus/src/test/resources/application.properties index 1ed004b3ef..1c385db7f3 100644 --- a/serverless-workflow-examples/serverless-workflow-data-index-quarkus/src/test/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-data-index-quarkus/src/test/resources/application.properties @@ -1 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + quarkus.kogito.devservices.enabled=false \ No newline at end of file diff --git a/serverless-workflow-examples/serverless-workflow-error-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-error-quarkus/pom.xml index f4f65c528b..990262a18c 100644 --- a/serverless-workflow-examples/serverless-workflow-error-quarkus/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-error-quarkus/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 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..102e7050e0 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/serverless-workflow-examples/serverless-workflow-error-quarkus/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-error-quarkus/src/main/resources/application.properties index 5db9a0b5e1..a0e08deb92 100644 --- a/serverless-workflow-examples/serverless-workflow-error-quarkus/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-error-quarkus/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar quarkus.native.native-image-xmx=8g diff --git a/serverless-workflow-examples/serverless-workflow-error-quarkus/src/test/java/org/kie/kogito/examples/ErrorRestIT.java b/serverless-workflow-examples/serverless-workflow-error-quarkus/src/test/java/org/kie/kogito/examples/ErrorRestIT.java index fc68c82b39..a1225c0962 100644 --- a/serverless-workflow-examples/serverless-workflow-error-quarkus/src/test/java/org/kie/kogito/examples/ErrorRestIT.java +++ b/serverless-workflow-examples/serverless-workflow-error-quarkus/src/test/java/org/kie/kogito/examples/ErrorRestIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/serverless-workflow-examples/serverless-workflow-events-quarkus/docker-compose/docker-compose.yml b/serverless-workflow-examples/serverless-workflow-events-quarkus/docker-compose/docker-compose.yml index 93988a4e2e..a1db9c4183 100644 --- a/serverless-workflow-examples/serverless-workflow-events-quarkus/docker-compose/docker-compose.yml +++ b/serverless-workflow-examples/serverless-workflow-events-quarkus/docker-compose/docker-compose.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + version: "3" services: diff --git a/serverless-workflow-examples/serverless-workflow-events-quarkus/operator/serverless-workflow-events-quarkus.yaml b/serverless-workflow-examples/serverless-workflow-events-quarkus/operator/serverless-workflow-events-quarkus.yaml index 8f20e4c052..7cf0fd40c7 100644 --- a/serverless-workflow-examples/serverless-workflow-events-quarkus/operator/serverless-workflow-events-quarkus.yaml +++ b/serverless-workflow-examples/serverless-workflow-events-quarkus/operator/serverless-workflow-events-quarkus.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + #Strimzi operator should be pre-installed in namespace apiVersion: app.kiegroup.org/v1beta1 kind: KogitoInfra diff --git a/serverless-workflow-examples/serverless-workflow-events-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-events-quarkus/pom.xml index 874e192c9d..4316456f30 100644 --- a/serverless-workflow-examples/serverless-workflow-events-quarkus/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-events-quarkus/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 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..962bca9ae1 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.kogito.serverless.examples; 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..ad26b8d935 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 @@ -1,17 +1,20 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.kogito.serverless.examples; 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..d1d8123d61 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.kogito.serverless.examples; diff --git a/serverless-workflow-examples/serverless-workflow-events-quarkus/src/main/resources/META-INF/resources/index.html b/serverless-workflow-examples/serverless-workflow-events-quarkus/src/main/resources/META-INF/resources/index.html index 9c80439fe3..41b0703cc0 100644 --- a/serverless-workflow-examples/serverless-workflow-events-quarkus/src/main/resources/META-INF/resources/index.html +++ b/serverless-workflow-examples/serverless-workflow-events-quarkus/src/main/resources/META-INF/resources/index.html @@ -1,3 +1,23 @@ + diff --git a/serverless-workflow-examples/serverless-workflow-events-quarkus/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-events-quarkus/src/main/resources/application.properties index 4c6eb16c0c..994441fa93 100644 --- a/serverless-workflow-examples/serverless-workflow-events-quarkus/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-events-quarkus/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + mp.messaging.incoming.applicants.connector=smallrye-kafka mp.messaging.incoming.applicants.value.deserializer=org.apache.kafka.common.serialization.ByteArrayDeserializer mp.messaging.incoming.applicants.group.id=kogito-sw-applicants-in 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..92e5c58f26 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.kogito.serverless.examples; diff --git a/serverless-workflow-examples/serverless-workflow-events-quarkus/src/test/resources/application.properties b/serverless-workflow-examples/serverless-workflow-events-quarkus/src/test/resources/application.properties index 3c17236931..a047ea13ba 100644 --- a/serverless-workflow-examples/serverless-workflow-events-quarkus/src/test/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-events-quarkus/src/test/resources/application.properties @@ -1,2 +1,21 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Quarkus quarkus.http.test-port=0 \ No newline at end of file diff --git a/serverless-workflow-examples/serverless-workflow-expression-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-expression-quarkus/pom.xml index d866929bf2..e735ae4f2f 100644 --- a/serverless-workflow-examples/serverless-workflow-expression-quarkus/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-expression-quarkus/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/serverless-workflow-examples/serverless-workflow-expression-quarkus/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-expression-quarkus/src/main/resources/application.properties index 044e703641..51af282246 100644 --- a/serverless-workflow-examples/serverless-workflow-expression-quarkus/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-expression-quarkus/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar quarkus.swagger-ui.always-include=true diff --git a/serverless-workflow-examples/serverless-workflow-expression-quarkus/src/test/java/org/kie/kogito/examples/ExpressionRestIT.java b/serverless-workflow-examples/serverless-workflow-expression-quarkus/src/test/java/org/kie/kogito/examples/ExpressionRestIT.java index d3b228f94e..9e17620fed 100644 --- a/serverless-workflow-examples/serverless-workflow-expression-quarkus/src/test/java/org/kie/kogito/examples/ExpressionRestIT.java +++ b/serverless-workflow-examples/serverless-workflow-expression-quarkus/src/test/java/org/kie/kogito/examples/ExpressionRestIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/serverless-workflow-examples/serverless-workflow-foreach-quarkus/operator/01-sonataflow_foreach.yaml b/serverless-workflow-examples/serverless-workflow-foreach-quarkus/operator/01-sonataflow_foreach.yaml index 92b23d70c8..5c62db47ef 100755 --- a/serverless-workflow-examples/serverless-workflow-foreach-quarkus/operator/01-sonataflow_foreach.yaml +++ b/serverless-workflow-examples/serverless-workflow-foreach-quarkus/operator/01-sonataflow_foreach.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: sonataflow.org/v1alpha08 kind: SonataFlow metadata: diff --git a/serverless-workflow-examples/serverless-workflow-foreach-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-foreach-quarkus/pom.xml index 781162a984..25a00df420 100644 --- a/serverless-workflow-examples/serverless-workflow-foreach-quarkus/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-foreach-quarkus/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/serverless-workflow-examples/serverless-workflow-foreach-quarkus/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-foreach-quarkus/src/main/resources/application.properties index ddc28dd0f5..cf9e09501c 100644 --- a/serverless-workflow-examples/serverless-workflow-foreach-quarkus/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-foreach-quarkus/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar quarkus.devservices.enabled=false diff --git a/serverless-workflow-examples/serverless-workflow-foreach-quarkus/src/test/java/org/kie/kogito/examples/ForEachRestIT.java b/serverless-workflow-examples/serverless-workflow-foreach-quarkus/src/test/java/org/kie/kogito/examples/ForEachRestIT.java index f2f91bbb69..f185daf26d 100644 --- a/serverless-workflow-examples/serverless-workflow-foreach-quarkus/src/test/java/org/kie/kogito/examples/ForEachRestIT.java +++ b/serverless-workflow-examples/serverless-workflow-foreach-quarkus/src/test/java/org/kie/kogito/examples/ForEachRestIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; 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..42b1a5d3a7 100644 --- a/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/java/org/acme/sw/onboarding/helpers/CalendarHelper.java b/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/java/org/acme/sw/onboarding/helpers/CalendarHelper.java index 2b778eb033..67d28857cc 100644 --- a/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/java/org/acme/sw/onboarding/helpers/CalendarHelper.java +++ b/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/java/org/acme/sw/onboarding/helpers/CalendarHelper.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.sw.onboarding.helpers; diff --git a/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/java/org/acme/sw/onboarding/model/Appointment.java b/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/java/org/acme/sw/onboarding/model/Appointment.java index 42049ecb35..7dc96b31e3 100644 --- a/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/java/org/acme/sw/onboarding/model/Appointment.java +++ b/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/java/org/acme/sw/onboarding/model/Appointment.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.sw.onboarding.model; diff --git a/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/java/org/acme/sw/onboarding/model/Assignment.java b/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/java/org/acme/sw/onboarding/model/Assignment.java index 8dcab10c8e..e154c025eb 100644 --- a/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/java/org/acme/sw/onboarding/model/Assignment.java +++ b/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/java/org/acme/sw/onboarding/model/Assignment.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.sw.onboarding.model; diff --git a/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/java/org/acme/sw/onboarding/model/Doctor.java b/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/java/org/acme/sw/onboarding/model/Doctor.java index afa3777348..2f0b4a71fe 100644 --- a/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/java/org/acme/sw/onboarding/model/Doctor.java +++ b/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/java/org/acme/sw/onboarding/model/Doctor.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.sw.onboarding.model; diff --git a/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/java/org/acme/sw/onboarding/model/Error.java b/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/java/org/acme/sw/onboarding/model/Error.java index f0970c0e46..934e68044c 100644 --- a/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/java/org/acme/sw/onboarding/model/Error.java +++ b/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/java/org/acme/sw/onboarding/model/Error.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.sw.onboarding.model; diff --git a/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/java/org/acme/sw/onboarding/model/Patient.java b/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/java/org/acme/sw/onboarding/model/Patient.java index 605c0a9470..a844fc1e74 100644 --- a/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/java/org/acme/sw/onboarding/model/Patient.java +++ b/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/java/org/acme/sw/onboarding/model/Patient.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.sw.onboarding.model; diff --git a/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/java/org/acme/sw/onboarding/model/SymptomSpecialty.java b/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/java/org/acme/sw/onboarding/model/SymptomSpecialty.java index 5b91d5be3f..2bdecf123e 100644 --- a/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/java/org/acme/sw/onboarding/model/SymptomSpecialty.java +++ b/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/java/org/acme/sw/onboarding/model/SymptomSpecialty.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.sw.onboarding.model; diff --git a/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/java/org/acme/sw/onboarding/queries/AssignmentUnit.java b/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/java/org/acme/sw/onboarding/queries/AssignmentUnit.java index 3b1cca95b8..4491be6b25 100644 --- a/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/java/org/acme/sw/onboarding/queries/AssignmentUnit.java +++ b/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/java/org/acme/sw/onboarding/queries/AssignmentUnit.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.sw.onboarding.queries; 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..d6839cefc1 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.sw.onboarding.resources; 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..001a132b7c 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.sw.onboarding.resources; diff --git a/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/java/org/acme/sw/onboarding/services/DoctorService.java b/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/java/org/acme/sw/onboarding/services/DoctorService.java index 7954fc9681..3fafaa6c22 100644 --- a/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/java/org/acme/sw/onboarding/services/DoctorService.java +++ b/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/java/org/acme/sw/onboarding/services/DoctorService.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.sw.onboarding.services; 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..c4156cebcf 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.sw.onboarding.services; diff --git a/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/java/org/acme/sw/onboarding/services/SymptomSpecialtyService.java b/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/java/org/acme/sw/onboarding/services/SymptomSpecialtyService.java index 25a0805754..5a98db30f9 100644 --- a/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/java/org/acme/sw/onboarding/services/SymptomSpecialtyService.java +++ b/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/java/org/acme/sw/onboarding/services/SymptomSpecialtyService.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.sw.onboarding.services; diff --git a/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/resources/META-INF/resources/index.html b/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/resources/META-INF/resources/index.html index b95cf1ed9c..a1db6ed187 100644 --- a/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/resources/META-INF/resources/index.html +++ b/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/resources/META-INF/resources/index.html @@ -1,3 +1,23 @@ + diff --git a/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/resources/application.properties index 647d76264d..537214ac4b 100644 --- a/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar quarkus.http.test-port=0 diff --git a/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/resources/org/acme/sw/onboarding/queries/doctor_assignment.drl b/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/resources/org/acme/sw/onboarding/queries/doctor_assignment.drl index c276e24468..c28cbd343a 100644 --- a/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/resources/org/acme/sw/onboarding/queries/doctor_assignment.drl +++ b/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/main/resources/org/acme/sw/onboarding/queries/doctor_assignment.drl @@ -1,17 +1,20 @@ /** - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.sw.onboarding.queries; unit AssignmentUnit; diff --git a/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/test/java/org/acme/sw/onboarding/queries/AssignmentUnitIT.java b/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/test/java/org/acme/sw/onboarding/queries/AssignmentUnitIT.java index bb006d1935..4ba44996ed 100644 --- a/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/test/java/org/acme/sw/onboarding/queries/AssignmentUnitIT.java +++ b/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/test/java/org/acme/sw/onboarding/queries/AssignmentUnitIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.sw.onboarding.queries; diff --git a/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/test/java/org/acme/sw/onboarding/queries/AssignmentUnitPlainTest.java b/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/test/java/org/acme/sw/onboarding/queries/AssignmentUnitPlainTest.java index 925dbdb479..8d3016da5f 100644 --- a/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/test/java/org/acme/sw/onboarding/queries/AssignmentUnitPlainTest.java +++ b/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/test/java/org/acme/sw/onboarding/queries/AssignmentUnitPlainTest.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.sw.onboarding.queries; 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..cc8ed5d99a 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.sw.onboarding.resources; 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..c28f6def6f 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.sw.onboarding.resources; diff --git a/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/test/java/org/acme/sw/onboarding/resources/PatientResourceIT.java b/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/test/java/org/acme/sw/onboarding/resources/PatientResourceIT.java index 1b26249b9d..d3f2205992 100644 --- a/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/test/java/org/acme/sw/onboarding/resources/PatientResourceIT.java +++ b/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/src/test/java/org/acme/sw/onboarding/resources/PatientResourceIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.sw.onboarding.resources; 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..78f4ba4c8b 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.sw.onboarding.services; diff --git a/serverless-workflow-examples/serverless-workflow-functions-quarkus/operator/serverless-workflow-greeting-quarkus.yaml b/serverless-workflow-examples/serverless-workflow-functions-quarkus/operator/serverless-workflow-greeting-quarkus.yaml index c52d83b8bb..61fd1c6ae9 100644 --- a/serverless-workflow-examples/serverless-workflow-functions-quarkus/operator/serverless-workflow-greeting-quarkus.yaml +++ b/serverless-workflow-examples/serverless-workflow-functions-quarkus/operator/serverless-workflow-greeting-quarkus.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: app.kiegroup.org/v1beta1 kind: KogitoBuild metadata: diff --git a/serverless-workflow-examples/serverless-workflow-functions-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-functions-quarkus/pom.xml index 35c91d68b2..304ddbeb30 100644 --- a/serverless-workflow-examples/serverless-workflow-functions-quarkus/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-functions-quarkus/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/serverless-workflow-examples/serverless-workflow-functions-quarkus/src/main/java/org/acme/numbers/Numbers.java b/serverless-workflow-examples/serverless-workflow-functions-quarkus/src/main/java/org/acme/numbers/Numbers.java index d1e71383ff..08fdecb6d4 100644 --- a/serverless-workflow-examples/serverless-workflow-functions-quarkus/src/main/java/org/acme/numbers/Numbers.java +++ b/serverless-workflow-examples/serverless-workflow-functions-quarkus/src/main/java/org/acme/numbers/Numbers.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.numbers; 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..61f8df813a 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.numbers; diff --git a/serverless-workflow-examples/serverless-workflow-functions-quarkus/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-functions-quarkus/src/main/resources/application.properties index a479f38024..cf547c4fc1 100644 --- a/serverless-workflow-examples/serverless-workflow-functions-quarkus/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-functions-quarkus/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar quarkus.http.test-port=0 diff --git a/serverless-workflow-examples/serverless-workflow-functions-quarkus/src/test/java/org/acme/numbers/serverless/workflow/functions/RestExampleIT.java b/serverless-workflow-examples/serverless-workflow-functions-quarkus/src/test/java/org/acme/numbers/serverless/workflow/functions/RestExampleIT.java index 7c023c3c15..8385cfd5cc 100644 --- a/serverless-workflow-examples/serverless-workflow-functions-quarkus/src/test/java/org/acme/numbers/serverless/workflow/functions/RestExampleIT.java +++ b/serverless-workflow-examples/serverless-workflow-functions-quarkus/src/test/java/org/acme/numbers/serverless/workflow/functions/RestExampleIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.numbers.serverless.workflow.functions; diff --git a/serverless-workflow-examples/serverless-workflow-funqy/pom.xml b/serverless-workflow-examples/serverless-workflow-funqy/pom.xml index 512772bece..823d4456c7 100644 --- a/serverless-workflow-examples/serverless-workflow-funqy/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-funqy/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 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..3a62c75de2 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 @@ -1,4 +1,24 @@ + 4.0.0 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..18163dc235 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.kogito.serverless.examples.functions; 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..b739f0322d 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.kogito.serverless.examples.functions; 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..b6c6b1af12 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.kogito.serverless.examples.functions; diff --git a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/input/Country.java b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/input/Country.java index 730c31d164..deaa0e78cf 100644 --- a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/input/Country.java +++ b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/java/org/kogito/serverless/examples/input/Country.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.kogito.serverless.examples.input; 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..d3a5a18084 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.kogito.serverless.examples.services; 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..9bfd0dfebb 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.kogito.serverless.examples.services; 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..08cde889c3 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.kogito.serverless.examples.services; diff --git a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/resources/application.properties index 73daf8f567..4964f61609 100644 --- a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + quarkus.http.port=8082 quarkus.http.cors=true quarkus.http.cors.methods=POST diff --git a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/test/java/org/kogito/serverless/examples/FunctionsIT.java b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/test/java/org/kogito/serverless/examples/FunctionsIT.java index ffc38888b1..9b2adf8776 100644 --- a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/test/java/org/kogito/serverless/examples/FunctionsIT.java +++ b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-services/src/test/java/org/kogito/serverless/examples/FunctionsIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.kogito.serverless.examples; 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..b95b3d93e8 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 @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-workflow/src/main/resources/META-INF/resources/index.html b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-workflow/src/main/resources/META-INF/resources/index.html index b273b0e220..338ccf97fe 100644 --- a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-workflow/src/main/resources/META-INF/resources/index.html +++ b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-workflow/src/main/resources/META-INF/resources/index.html @@ -1,3 +1,23 @@ + diff --git a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-workflow/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-workflow/src/main/resources/application.properties index 413e1ec918..579623f8ac 100644 --- a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-workflow/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-workflow/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + quarkus.http.port=8081 quarkus.http.cors=true quarkus.http.cors.methods=POST diff --git a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-workflow/src/test/java/org/kogito/serverless/examples/RestServiceMockServer.java b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-workflow/src/test/java/org/kogito/serverless/examples/RestServiceMockServer.java index e9d87f0fa2..a3d5916eae 100644 --- a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-workflow/src/test/java/org/kogito/serverless/examples/RestServiceMockServer.java +++ b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-workflow/src/test/java/org/kogito/serverless/examples/RestServiceMockServer.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.kogito.serverless.examples; diff --git a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-workflow/src/test/java/org/kogito/serverless/examples/WorkflowIT.java b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-workflow/src/test/java/org/kogito/serverless/examples/WorkflowIT.java index ca85dc7a55..0a9c485e3a 100644 --- a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-workflow/src/test/java/org/kogito/serverless/examples/WorkflowIT.java +++ b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-workflow/src/test/java/org/kogito/serverless/examples/WorkflowIT.java @@ -1,19 +1,21 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.kogito.serverless.examples; import org.junit.jupiter.api.Test; diff --git a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-workflow/src/test/resources/application.properties b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-workflow/src/test/resources/application.properties index 1ac3ed5008..03a4c749ee 100644 --- a/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-workflow/src/test/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-funqy/sw-funqy-workflow/src/test/resources/application.properties @@ -1 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + quarkus.http.test-port=8081 \ No newline at end of file diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/configure.sh b/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/configure.sh index 9ad2bcf03c..cc56960a8b 100755 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/configure.sh +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/configure.sh @@ -1,17 +1,22 @@ #!/bin/bash -# Copyright 2020 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 +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# 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. # -# 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. QUAY_NAMESPACE=$1 APP_ID=$2 diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/deploy-kubernetes.sh b/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/deploy-kubernetes.sh index 3687ff50a9..f1f9170ae8 100755 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/deploy-kubernetes.sh +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/deploy-kubernetes.sh @@ -1,17 +1,22 @@ #!/bin/bash -# Copyright 2020 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 +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# 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. # -# 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. source ./configure.sh diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/expose-on-minikube.sh b/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/expose-on-minikube.sh index 7029b6c874..a83f22f628 100755 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/expose-on-minikube.sh +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/expose-on-minikube.sh @@ -1,17 +1,22 @@ #!/bin/bash -# Copyright 2020 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 +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# 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. # -# 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. CURR_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) # shellcheck source=../scripts/add-route-to-hosts.sh diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/kubernetes/00-deployment.yaml b/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/kubernetes/00-deployment.yaml index 0a93e54ea6..024e999500 100644 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/kubernetes/00-deployment.yaml +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/kubernetes/00-deployment.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: serving.knative.dev/v1 # Current version of Knative (0.17.x) kind: Service metadata: diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/kubernetes/application.properties b/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/kubernetes/application.properties index 8276e150f4..774b09b106 100644 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/kubernetes/application.properties +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/kubernetes/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + org.kogito.examples.sw.github.service.key=/opt/data/github-app-key.der org.kogito.examples.sw.github.service.installation_id=${INSTALLATION_ID} org.kogito.examples.sw.github.service.app_id=${APP_ID} \ No newline at end of file diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/kubernetes/kustomization.yaml b/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/kubernetes/kustomization.yaml index 0b2529c940..d805e98a60 100644 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/kubernetes/kustomization.yaml +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/kubernetes/kustomization.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + namespace: kogito-github resources: - 00-deployment.yaml diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/pom.xml b/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/pom.xml index f7ba06c583..441958378e 100644 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/main/java/org/kogito/examples/sw/github/service/GitHubResource.java b/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/main/java/org/kogito/examples/sw/github/service/GitHubResource.java index f230ea5949..cfdec8f5fb 100644 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/main/java/org/kogito/examples/sw/github/service/GitHubResource.java +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/main/java/org/kogito/examples/sw/github/service/GitHubResource.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.kogito.examples.sw.github.service; diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/main/java/org/kogito/examples/sw/github/service/GitHubWrapperService.java b/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/main/java/org/kogito/examples/sw/github/service/GitHubWrapperService.java index 6a03215f7a..3f54d5bc21 100644 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/main/java/org/kogito/examples/sw/github/service/GitHubWrapperService.java +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/main/java/org/kogito/examples/sw/github/service/GitHubWrapperService.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.kogito.examples.sw.github.service; diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/main/java/org/kogito/examples/sw/github/service/GitHubWrapperServiceImpl.java b/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/main/java/org/kogito/examples/sw/github/service/GitHubWrapperServiceImpl.java index 31cfa2a505..a4cc3de7c4 100644 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/main/java/org/kogito/examples/sw/github/service/GitHubWrapperServiceImpl.java +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/main/java/org/kogito/examples/sw/github/service/GitHubWrapperServiceImpl.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.kogito.examples.sw.github.service; diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/main/java/org/kogito/examples/sw/github/service/TokenProvider.java b/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/main/java/org/kogito/examples/sw/github/service/TokenProvider.java index 70a4ca9ad3..663770bdf8 100644 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/main/java/org/kogito/examples/sw/github/service/TokenProvider.java +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/main/java/org/kogito/examples/sw/github/service/TokenProvider.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.kogito.examples.sw.github.service; diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/main/resources/application.properties index 385adbe6b5..0c98d495f5 100644 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/test/java/org/kogito/examples/sw/github/service/GitHubResourceTest.java b/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/test/java/org/kogito/examples/sw/github/service/GitHubResourceTest.java index a777768ce6..29aa76e014 100644 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/test/java/org/kogito/examples/sw/github/service/GitHubResourceTest.java +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/test/java/org/kogito/examples/sw/github/service/GitHubResourceTest.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.kogito.examples.sw.github.service; diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/test/java/org/kogito/examples/sw/github/service/GitHubWrapperServiceIT.java b/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/test/java/org/kogito/examples/sw/github/service/GitHubWrapperServiceIT.java index 533d6d1ca3..91dcfae71d 100644 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/test/java/org/kogito/examples/sw/github/service/GitHubWrapperServiceIT.java +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/test/java/org/kogito/examples/sw/github/service/GitHubWrapperServiceIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.kogito.examples.sw.github.service; diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/test/java/org/kogito/examples/sw/github/service/MockedGitHubWrapperService.java b/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/test/java/org/kogito/examples/sw/github/service/MockedGitHubWrapperService.java index 330bf1cb10..e92410095f 100644 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/test/java/org/kogito/examples/sw/github/service/MockedGitHubWrapperService.java +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/test/java/org/kogito/examples/sw/github/service/MockedGitHubWrapperService.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.kogito.examples.sw.github.service; diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/test/resources/application.properties b/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/test/resources/application.properties index 2c51352d9f..7f88e44ff5 100644 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/test/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/github-service/src/test/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # see: https://github-api.kohsuke.org/githubappjwtauth.html # if you wish, replace with your own data and enable the GitHubWrapperServiceIT test to verify if everything is working as expected in your environment org.kogito.examples.sw.github.service.key=replace_with_your_key diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/configure.sh b/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/configure.sh index 3625445487..e97ac0021a 100755 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/configure.sh +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/configure.sh @@ -1,17 +1,22 @@ #!/bin/bash -# Copyright 2020 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 +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# 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. # -# 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. QUAY_NAMESPACE=$1 SLACK_WEBHOOK=$2 diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/deploy-kubernetes.sh b/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/deploy-kubernetes.sh index b24a26a0f4..442075b3e0 100755 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/deploy-kubernetes.sh +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/deploy-kubernetes.sh @@ -1,17 +1,22 @@ #!/bin/bash -# Copyright 2020 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 +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# 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. # -# 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. # imports.. diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/expose-on-minikube.sh b/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/expose-on-minikube.sh index c081666847..01ffcaf9ee 100755 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/expose-on-minikube.sh +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/expose-on-minikube.sh @@ -1,17 +1,22 @@ #!/bin/bash -# Copyright 2020 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 +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# 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. # -# 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. CURR_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) # shellcheck source=../scripts/add-route-to-hosts.sh diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/kubernetes/00-broker.yaml b/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/kubernetes/00-broker.yaml index 3e3e089613..bf70b4d2f1 100644 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/kubernetes/00-broker.yaml +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/kubernetes/00-broker.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # this is where all the messages coming to the cluster will pass # we can use triggers and sinkbinding to route/filter the messages as we pleased apiVersion: eventing.knative.dev/v1 diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/kubernetes/01-deployment.yaml b/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/kubernetes/01-deployment.yaml index c7e9c1bdcf..2fd46a4b2e 100644 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/kubernetes/01-deployment.yaml +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/kubernetes/01-deployment.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: serving.knative.dev/v1 # Current version of Knative (0.17.x) kind: Service metadata: diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/kubernetes/02-trigger.yaml b/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/kubernetes/02-trigger.yaml index ff18e244b3..fef444bdf3 100644 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/kubernetes/02-trigger.yaml +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/kubernetes/02-trigger.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: eventing.knative.dev/v1 kind: Trigger metadata: diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/kubernetes/application.properties b/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/kubernetes/application.properties index 1f770525cf..9c461e32e2 100644 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/kubernetes/application.properties +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/kubernetes/application.properties @@ -1 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + org.kogito.examples.sw.notification.slack.incoming=${SLACK_WEBHOOK} \ No newline at end of file diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/kubernetes/kustomization.yaml b/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/kubernetes/kustomization.yaml index c45706fb2d..8d72a3e150 100644 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/kubernetes/kustomization.yaml +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/kubernetes/kustomization.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + namespace: kogito-github resources: - 00-broker.yaml diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/pom.xml b/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/pom.xml index db514c9073..87ff53f377 100644 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/src/main/java/org/kogito/examples/sw/notification/service/NotificationResource.java b/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/src/main/java/org/kogito/examples/sw/notification/service/NotificationResource.java index f4208fb976..9d825280d7 100644 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/src/main/java/org/kogito/examples/sw/notification/service/NotificationResource.java +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/src/main/java/org/kogito/examples/sw/notification/service/NotificationResource.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.kogito.examples.sw.notification.service; diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/src/main/resources/application.properties index c3b1c6454b..3e01b21cd5 100644 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + quarkus.swagger-ui.always-include=true org.kogito.examples.sw.notification.slack.channel=github-showcase diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/src/test/java/org/kogito/examples/sw/notification/service/NotificationResourceIT.java b/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/src/test/java/org/kogito/examples/sw/notification/service/NotificationResourceIT.java index 5d02077539..dca26ad23c 100644 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/src/test/java/org/kogito/examples/sw/notification/service/NotificationResourceIT.java +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/notification-service/src/test/java/org/kogito/examples/sw/notification/service/NotificationResourceIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.kogito.examples.sw.notification.service; diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/pom.xml b/serverless-workflow-examples/serverless-workflow-github-showcase/pom.xml index 9ecf1a0cf9..d6318e68e1 100644 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/configure.sh b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/configure.sh index f4661bdd52..fa69a529d6 100755 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/configure.sh +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/configure.sh @@ -1,17 +1,22 @@ #!/bin/bash -# Copyright 2020 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 +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# 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. # -# 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. QUAY_NAMESPACE=$1 GITHUB_REPO=$2 diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/deploy-kubernetes.sh b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/deploy-kubernetes.sh index 1fa4eb7d73..ecad798bb2 100755 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/deploy-kubernetes.sh +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/deploy-kubernetes.sh @@ -1,17 +1,22 @@ #!/bin/bash -# Copyright 2020 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 +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# 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. # -# 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. # imports.. diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/expose-on-minikube.sh b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/expose-on-minikube.sh index 199f20feeb..7c661d5209 100755 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/expose-on-minikube.sh +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/expose-on-minikube.sh @@ -1,17 +1,22 @@ #!/bin/bash -# Copyright 2020 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 +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# 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. # -# 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. route=$(kubectl get routes -l receive-adapter=github -o jsonpath="{.items[*].metadata.name}" -n kogito-github) svc=$(kubectl get svc -l serving.knative.dev/service="${route}",networking.internal.knative.dev/serviceType=Public -o jsonpath="{.items[*].metadata.name}" -n kogito-github) diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/kubernetes/base/00-broker.yaml b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/kubernetes/base/00-broker.yaml index b22378c304..2e391d77ed 100644 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/kubernetes/base/00-broker.yaml +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/kubernetes/base/00-broker.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: eventing.knative.dev/v1 kind: Broker metadata: diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/kubernetes/base/01-github-source.yaml b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/kubernetes/base/01-github-source.yaml index 539132bba4..16483115be 100644 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/kubernetes/base/01-github-source.yaml +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/kubernetes/base/01-github-source.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: sources.knative.dev/v1alpha1 kind: GitHubSource metadata: diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/kubernetes/base/02-kogito-service.yaml b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/kubernetes/base/02-kogito-service.yaml index e8d52beb4b..6f961161ae 100644 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/kubernetes/base/02-kogito-service.yaml +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/kubernetes/base/02-kogito-service.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: app.kiegroup.org/v1beta1 kind: KogitoRuntime metadata: diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/kubernetes/base/03-pr-checker-trigger.yaml b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/kubernetes/base/03-pr-checker-trigger.yaml index 73eefa0cf1..0c5020a6fb 100644 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/kubernetes/base/03-pr-checker-trigger.yaml +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/kubernetes/base/03-pr-checker-trigger.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: eventing.knative.dev/v1 kind: Trigger metadata: diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/kubernetes/base/04-pr-checker-sinkbinding.yaml b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/kubernetes/base/04-pr-checker-sinkbinding.yaml index de5f393804..bcd6d103ed 100644 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/kubernetes/base/04-pr-checker-sinkbinding.yaml +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/kubernetes/base/04-pr-checker-sinkbinding.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: sources.knative.dev/v1alpha1 kind: SinkBinding metadata: diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/kubernetes/base/kustomization.yaml b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/kubernetes/base/kustomization.yaml index 392d4b60a6..c465bdcce3 100644 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/kubernetes/base/kustomization.yaml +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/kubernetes/base/kustomization.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + namespace: kogito-github resources: - 00-broker.yaml diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/kubernetes/local/00-github-smee-virtualservice.yaml b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/kubernetes/local/00-github-smee-virtualservice.yaml index f5f5ccb002..ec06daf606 100644 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/kubernetes/local/00-github-smee-virtualservice.yaml +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/kubernetes/local/00-github-smee-virtualservice.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: networking.istio.io/v1beta1 kind: VirtualService metadata: diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/kubernetes/local/01-kogito-service-ingress.yaml b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/kubernetes/local/01-kogito-service-ingress.yaml index 1a68668846..d0b241cab2 100644 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/kubernetes/local/01-kogito-service-ingress.yaml +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/kubernetes/local/01-kogito-service-ingress.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # See: https://kubernetes.io/docs/tasks/access-application-cluster/ingress-minikube/ apiVersion: networking.k8s.io/v1beta1 # for versions before 1.14 use extensions/v1beta1 kind: Ingress diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/kubernetes/local/kustomization.yaml b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/kubernetes/local/kustomization.yaml index a63cba5f21..56de4a34a3 100644 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/kubernetes/local/kustomization.yaml +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/kubernetes/local/kustomization.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + bases: - ../base resources: diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/pom.xml b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/pom.xml index ad08b61a68..6c50260718 100644 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/main/java/org/kogito/examples/sw/github/workflow/GitHubClient.java b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/main/java/org/kogito/examples/sw/github/workflow/GitHubClient.java index 0f7adb3c3a..160445f471 100644 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/main/java/org/kogito/examples/sw/github/workflow/GitHubClient.java +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/main/java/org/kogito/examples/sw/github/workflow/GitHubClient.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.kogito.examples.sw.github.workflow; diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/main/java/org/kogito/examples/sw/github/workflow/GitHubService.java b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/main/java/org/kogito/examples/sw/github/workflow/GitHubService.java index 8321b47090..99369f3b6f 100644 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/main/java/org/kogito/examples/sw/github/workflow/GitHubService.java +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/main/java/org/kogito/examples/sw/github/workflow/GitHubService.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.kogito.examples.sw.github.workflow; diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/main/resources/application.properties index 0febd93dca..1144a5fdd1 100644 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + quarkus.log.level=INFO quarkus.swagger-ui.always-include=true diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/test/java/org/kogito/examples/sw/github/workflow/GitHubServiceMockServer.java b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/test/java/org/kogito/examples/sw/github/workflow/GitHubServiceMockServer.java index d9aa9f4253..c00ca7790b 100644 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/test/java/org/kogito/examples/sw/github/workflow/GitHubServiceMockServer.java +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/test/java/org/kogito/examples/sw/github/workflow/GitHubServiceMockServer.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.kogito.examples.sw.github.workflow; diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/test/java/org/kogito/examples/sw/github/workflow/GitHubServiceTest.java b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/test/java/org/kogito/examples/sw/github/workflow/GitHubServiceTest.java index be509edc6e..6cfae2d569 100644 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/test/java/org/kogito/examples/sw/github/workflow/GitHubServiceTest.java +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/test/java/org/kogito/examples/sw/github/workflow/GitHubServiceTest.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.kogito.examples.sw.github.workflow; diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/test/java/org/kogito/examples/sw/github/workflow/MessageSinkServer.java b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/test/java/org/kogito/examples/sw/github/workflow/MessageSinkServer.java index 757a9b0f81..e17d643f7d 100644 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/test/java/org/kogito/examples/sw/github/workflow/MessageSinkServer.java +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/test/java/org/kogito/examples/sw/github/workflow/MessageSinkServer.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.kogito.examples.sw.github.workflow; diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/test/java/org/kogito/examples/sw/github/workflow/PRCheckerWorkflowTest.java b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/test/java/org/kogito/examples/sw/github/workflow/PRCheckerWorkflowTest.java index f6e15d6b02..927a4bf655 100644 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/test/java/org/kogito/examples/sw/github/workflow/PRCheckerWorkflowTest.java +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/test/java/org/kogito/examples/sw/github/workflow/PRCheckerWorkflowTest.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.kogito.examples.sw.github.workflow; diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/test/resources/application.properties b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/test/resources/application.properties index add3e03d94..e3b8b85d1c 100644 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/test/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/pr-checker-workflow/src/test/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + quarkus.log.category."org.kogito".level=INFO quarkus.log.category."org.kie.kogito.app".level=INFO diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/scripts/add-route-to-hosts.sh b/serverless-workflow-examples/serverless-workflow-github-showcase/scripts/add-route-to-hosts.sh index cce8fc3fad..1ae6861d70 100755 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/scripts/add-route-to-hosts.sh +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/scripts/add-route-to-hosts.sh @@ -1,17 +1,22 @@ #!/bin/bash -# Copyright 2020 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 +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# 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. # -# 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. # see: https://knative.dev/docs/serving/using-a-custom-domain/#local-dns-setup diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/scripts/cleanup-hosts-file.sh b/serverless-workflow-examples/serverless-workflow-github-showcase/scripts/cleanup-hosts-file.sh index 50127fdf2e..c30b70e4e0 100755 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/scripts/cleanup-hosts-file.sh +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/scripts/cleanup-hosts-file.sh @@ -1,17 +1,22 @@ #!/bin/bash -# Copyright 2020 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 +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# 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. # -# 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. sudo sed -i '/pr-checker-workflow/d' /etc/hosts sudo sed -i '/github-event-listener/d' /etc/hosts diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/scripts/common.sh b/serverless-workflow-examples/serverless-workflow-github-showcase/scripts/common.sh index cf64493932..1a70747b13 100755 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/scripts/common.sh +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/scripts/common.sh @@ -1,17 +1,22 @@ #!/bin/bash -# Copyright 2020 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 +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# 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. # -# 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. BUILDER=podman diff --git a/serverless-workflow-examples/serverless-workflow-greeting-quarkus/operator/serverless-workflow-greeting-quarkus.yaml b/serverless-workflow-examples/serverless-workflow-greeting-quarkus/operator/serverless-workflow-greeting-quarkus.yaml index 7cf8b44d46..546c76b86d 100644 --- a/serverless-workflow-examples/serverless-workflow-greeting-quarkus/operator/serverless-workflow-greeting-quarkus.yaml +++ b/serverless-workflow-examples/serverless-workflow-greeting-quarkus/operator/serverless-workflow-greeting-quarkus.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: app.kiegroup.org/v1beta1 kind: KogitoBuild metadata: diff --git a/serverless-workflow-examples/serverless-workflow-greeting-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-greeting-quarkus/pom.xml index 7ac2e39db5..49daf86d73 100644 --- a/serverless-workflow-examples/serverless-workflow-greeting-quarkus/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-greeting-quarkus/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/serverless-workflow-examples/serverless-workflow-greeting-quarkus/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-greeting-quarkus/src/main/resources/application.properties index 5db9a0b5e1..a0e08deb92 100644 --- a/serverless-workflow-examples/serverless-workflow-greeting-quarkus/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-greeting-quarkus/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar quarkus.native.native-image-xmx=8g diff --git a/serverless-workflow-examples/serverless-workflow-greeting-quarkus/src/test/java/org/kie/kogito/examples/GreetRestIT.java b/serverless-workflow-examples/serverless-workflow-greeting-quarkus/src/test/java/org/kie/kogito/examples/GreetRestIT.java index c3c25d3575..8c1bd39191 100644 --- a/serverless-workflow-examples/serverless-workflow-greeting-quarkus/src/test/java/org/kie/kogito/examples/GreetRestIT.java +++ b/serverless-workflow-examples/serverless-workflow-greeting-quarkus/src/test/java/org/kie/kogito/examples/GreetRestIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/docker/docker-compose.yaml b/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/docker/docker-compose.yaml index e95ad7a779..fa952b259c 100644 --- a/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/docker/docker-compose.yaml +++ b/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/docker/docker-compose.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + version: '2' services: diff --git a/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/pom.xml index 97c28bc222..d9d514db0b 100644 --- a/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 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..5b45ba93e5 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 @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-client-rpc-quarkus/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-client-rpc-quarkus/src/main/resources/application.properties index 5cb2262631..e45cd186d3 100644 --- a/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-client-rpc-quarkus/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-client-rpc-quarkus/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar quarkus.native.native-image-xmx=8g diff --git a/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-client-rpc-quarkus/src/test/java/org/kie/kogito/examples/GreetRestIT.java b/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-client-rpc-quarkus/src/test/java/org/kie/kogito/examples/GreetRestIT.java index 36b3595196..a9b58ce5fb 100644 --- a/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-client-rpc-quarkus/src/test/java/org/kie/kogito/examples/GreetRestIT.java +++ b/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-client-rpc-quarkus/src/test/java/org/kie/kogito/examples/GreetRestIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; 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..38823aaf33 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 @@ -1,4 +1,24 @@ + diff --git a/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-server-rpc-quarkus/src/main/java/org/kie/kogito/examples/sw/greeting/GreeterService.java b/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-server-rpc-quarkus/src/main/java/org/kie/kogito/examples/sw/greeting/GreeterService.java index 8b708efc1c..be9d2613f4 100644 --- a/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-server-rpc-quarkus/src/main/java/org/kie/kogito/examples/sw/greeting/GreeterService.java +++ b/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-server-rpc-quarkus/src/main/java/org/kie/kogito/examples/sw/greeting/GreeterService.java @@ -1,17 +1,20 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.sw.greeting; diff --git a/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-server-rpc-quarkus/src/test/java/org/kie/kogito/examples/sw/greeting/GreeterClientTest.java b/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-server-rpc-quarkus/src/test/java/org/kie/kogito/examples/sw/greeting/GreeterClientTest.java index 279d1eaa4d..f6ca922bb1 100644 --- a/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-server-rpc-quarkus/src/test/java/org/kie/kogito/examples/sw/greeting/GreeterClientTest.java +++ b/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-server-rpc-quarkus/src/test/java/org/kie/kogito/examples/sw/greeting/GreeterClientTest.java @@ -1,19 +1,21 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.sw.greeting; import java.io.IOException; diff --git a/serverless-workflow-examples/serverless-workflow-hello-world/pom.xml b/serverless-workflow-examples/serverless-workflow-hello-world/pom.xml index 12e44987a6..3a8e1bdc2e 100644 --- a/serverless-workflow-examples/serverless-workflow-hello-world/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-hello-world/pom.xml @@ -1,4 +1,24 @@ + diff --git a/serverless-workflow-examples/serverless-workflow-hello-world/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-hello-world/src/main/resources/application.properties index 9033a327f8..fa834ae2ac 100644 --- a/serverless-workflow-examples/serverless-workflow-hello-world/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-hello-world/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # profile to pack this example into a container, to use it execute activate the maven container profile, -Dcontainer %container.quarkus.container-image.build=true %container.quarkus.container-image.push=false diff --git a/serverless-workflow-examples/serverless-workflow-hello-world/src/test/java/org/kie/kogito/examples/HelloWorldTest.java b/serverless-workflow-examples/serverless-workflow-hello-world/src/test/java/org/kie/kogito/examples/HelloWorldTest.java index 4ec97375b0..29b63899ef 100644 --- a/serverless-workflow-examples/serverless-workflow-hello-world/src/test/java/org/kie/kogito/examples/HelloWorldTest.java +++ b/serverless-workflow-examples/serverless-workflow-hello-world/src/test/java/org/kie/kogito/examples/HelloWorldTest.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.kie.kogito.examples; import io.quarkus.test.junit.QuarkusTest; diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/pom.xml b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/pom.xml index 7e0c115aa5..9be66c7b6a 100644 --- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/pom.xml @@ -1,4 +1,24 @@ + serverless-workflow-loanbroker-showcase 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..8f7f2656af 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 @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.acme.serverless.loanbroker.aggregator; import java.io.InputStream; 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..5b1a9fbd6f 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 @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.acme.serverless.loanbroker.aggregator; import java.net.URI; 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..447c1e5ea5 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 @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.acme.serverless.loanbroker.aggregator; import java.util.Collections; diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/java/org/acme/serverless/loanbroker/aggregator/IntegrationConstants.java b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/java/org/acme/serverless/loanbroker/aggregator/IntegrationConstants.java index fa4c0cce85..1afe0fad35 100644 --- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/java/org/acme/serverless/loanbroker/aggregator/IntegrationConstants.java +++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/java/org/acme/serverless/loanbroker/aggregator/IntegrationConstants.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.acme.serverless.loanbroker.aggregator; public final class IntegrationConstants { diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/java/org/acme/serverless/loanbroker/aggregator/QuotesAggregationStrategy.java b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/java/org/acme/serverless/loanbroker/aggregator/QuotesAggregationStrategy.java index 0a04a188b2..da03c9764f 100644 --- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/java/org/acme/serverless/loanbroker/aggregator/QuotesAggregationStrategy.java +++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/java/org/acme/serverless/loanbroker/aggregator/QuotesAggregationStrategy.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.acme.serverless.loanbroker.aggregator; import java.util.ArrayList; 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..6a0b2dc6a6 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,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.acme.serverless.loanbroker.aggregator; import javax.enterprise.context.ApplicationScoped; diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/java/org/acme/serverless/loanbroker/aggregator/QuotesRepositoryProcessor.java b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/java/org/acme/serverless/loanbroker/aggregator/QuotesRepositoryProcessor.java index e9ce143351..e9993e3cc4 100644 --- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/java/org/acme/serverless/loanbroker/aggregator/QuotesRepositoryProcessor.java +++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/java/org/acme/serverless/loanbroker/aggregator/QuotesRepositoryProcessor.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.acme.serverless.loanbroker.aggregator; import java.util.List; diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/java/org/acme/serverless/loanbroker/aggregator/model/AggregationResponse.java b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/java/org/acme/serverless/loanbroker/aggregator/model/AggregationResponse.java index 633726c2ea..07a1440185 100644 --- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/java/org/acme/serverless/loanbroker/aggregator/model/AggregationResponse.java +++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/java/org/acme/serverless/loanbroker/aggregator/model/AggregationResponse.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.acme.serverless.loanbroker.aggregator.model; import java.io.Serializable; diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/java/org/acme/serverless/loanbroker/aggregator/model/BankQuote.java b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/java/org/acme/serverless/loanbroker/aggregator/model/BankQuote.java index c82e7fdadd..c89b4c460b 100644 --- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/java/org/acme/serverless/loanbroker/aggregator/model/BankQuote.java +++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/java/org/acme/serverless/loanbroker/aggregator/model/BankQuote.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.acme.serverless.loanbroker.aggregator.model; import java.io.Serializable; 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..38aa4d81c8 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,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.acme.serverless.loanbroker.aggregator.resources; import javax.enterprise.context.ApplicationScoped; 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..ecc3a8bc3f 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,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.acme.serverless.loanbroker.aggregator.resources; import javax.ws.rs.core.Response; 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..44a05bfca5 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 @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.acme.serverless.loanbroker.aggregator.resources; import java.util.List; diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/java/org/acme/serverless/loanbroker/aggregator/resources/ResponseError.java b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/java/org/acme/serverless/loanbroker/aggregator/resources/ResponseError.java index 5c514273dd..0501c2b833 100644 --- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/java/org/acme/serverless/loanbroker/aggregator/resources/ResponseError.java +++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/java/org/acme/serverless/loanbroker/aggregator/resources/ResponseError.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.acme.serverless.loanbroker.aggregator.resources; import java.io.Serializable; diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/kubernetes/kubernetes.yml b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/kubernetes/kubernetes.yml index c8e6b6e31b..426d1b2cc7 100644 --- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/kubernetes/kubernetes.yml +++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/kubernetes/kubernetes.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Sink for the Aggregator Service apiVersion: sources.knative.dev/v1 kind: SinkBinding diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/resources/application.properties index c7ef3c0ef2..4229056fd6 100644 --- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # where to send back the CloudEvent message once the application fineshed the aggregation # must start with http or https org.acme.serverless.loanbroker.aggregator.replyTo=${K_SINK:http://localhost:8080} diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/test/java/org/acme/serverless/loanbroker/aggregator/InjectWithSinkMock.java b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/test/java/org/acme/serverless/loanbroker/aggregator/InjectWithSinkMock.java index f096d9d6b4..f3e7b29c0f 100644 --- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/test/java/org/acme/serverless/loanbroker/aggregator/InjectWithSinkMock.java +++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/test/java/org/acme/serverless/loanbroker/aggregator/InjectWithSinkMock.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.acme.serverless.loanbroker.aggregator; import java.lang.annotation.ElementType; 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..fddaadf250 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 @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.acme.serverless.loanbroker.aggregator; import java.net.URI; diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/test/java/org/acme/serverless/loanbroker/aggregator/SinkMockTestResource.java b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/test/java/org/acme/serverless/loanbroker/aggregator/SinkMockTestResource.java index b58b675fae..26e205801c 100644 --- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/test/java/org/acme/serverless/loanbroker/aggregator/SinkMockTestResource.java +++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/test/java/org/acme/serverless/loanbroker/aggregator/SinkMockTestResource.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.acme.serverless.loanbroker.aggregator; import java.util.HashMap; diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/test/resources/application.properties b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/test/resources/application.properties index 74870ba986..a6f411ba5d 100644 --- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/test/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/aggregator/src/test/resources/application.properties @@ -1 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + quarkus.http.test-port=0 diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/banks/func.yaml b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/banks/func.yaml index 0c83bed8cd..2d957a0e28 100644 --- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/banks/func.yaml +++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/banks/func.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + specVersion: 0.35.0 name: loanbroker-bank1 runtime: node diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/credit-bureau/func.yaml b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/credit-bureau/func.yaml index dea41aa2f8..f07727e7f2 100644 --- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/credit-bureau/func.yaml +++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/credit-bureau/func.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + specVersion: 0.35.0 name: credit-bureau runtime: node diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/deploy.sh b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/deploy.sh index db07879f52..876af41cab 100755 --- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/deploy.sh +++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/deploy.sh @@ -1,4 +1,23 @@ #!/bin/bash +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Build every project using docker # configure the ports as: diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/kubernetes/jobs-service-postgresql.yml b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/kubernetes/jobs-service-postgresql.yml index 5e7ad38d0e..a178e383aa 100644 --- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/kubernetes/jobs-service-postgresql.yml +++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/kubernetes/jobs-service-postgresql.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + --- apiVersion: sources.knative.dev/v1 kind: SinkBinding diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/kubernetes/kubernetes.yml b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/kubernetes/kubernetes.yml index 59d4c72fe3..9b8f91c371 100644 --- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/kubernetes/kubernetes.yml +++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/kubernetes/kubernetes.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: v1 kind: Namespace metadata: diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/kubernetes/loanbroker-example-database.yml b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/kubernetes/loanbroker-example-database.yml index 281b682b14..93abcc5081 100644 --- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/kubernetes/loanbroker-example-database.yml +++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/kubernetes/loanbroker-example-database.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: v1 kind: Namespace metadata: diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/pom.xml b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/pom.xml index 570e34034b..ca6dc4a461 100644 --- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/pom.xml @@ -1,4 +1,24 @@ + serverless-workflow-loanbroker-showcase diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/src/main/resources/META-INF/resources/index.html b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/src/main/resources/META-INF/resources/index.html index 8b8d7cee8c..b515bcd9dd 100644 --- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/src/main/resources/META-INF/resources/index.html +++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/src/main/resources/META-INF/resources/index.html @@ -1,3 +1,23 @@ + diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/src/main/resources/application.properties index 191df5ed61..c73fc30684 100644 --- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + kogito.service.url=${KOGITO_SERVICE_CLUSTER_URL:http://localhost:8080} kogito.messaging.as-cloudevents=true diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/src/main/resources/specs/aggregator.yaml b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/src/main/resources/specs/aggregator.yaml index 720a9072d0..11dab4ceb7 100644 --- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/src/main/resources/specs/aggregator.yaml +++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/src/main/resources/specs/aggregator.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + --- openapi: 3.0.3 info: diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/src/main/resources/specs/credit-bureau.yaml b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/src/main/resources/specs/credit-bureau.yaml index 7043f5396f..f09fd3bdf9 100644 --- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/src/main/resources/specs/credit-bureau.yaml +++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/src/main/resources/specs/credit-bureau.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + openapi: 3.0.1 info: title: Credit Bureau 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..d0f3ec6806 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 @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.acme.serverless.loanbroker.flow; import java.util.Collections; 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..273952aa0b 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 @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.acme.serverless.loanbroker.flow; import java.net.URI; 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..2ef13f7eec 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 @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.acme.serverless.loanbroker.flow; import java.util.Collections; diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/src/test/java/org/acme/serverless/loanbroker/flow/SinkMock.java b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/src/test/java/org/acme/serverless/loanbroker/flow/SinkMock.java index e6a5d69cda..95a8281b08 100644 --- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/src/test/java/org/acme/serverless/loanbroker/flow/SinkMock.java +++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/src/test/java/org/acme/serverless/loanbroker/flow/SinkMock.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.acme.serverless.loanbroker.flow; import java.util.Collections; diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/src/test/resources/application.properties b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/src/test/resources/application.properties index 74870ba986..a6f411ba5d 100644 --- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/src/test/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-flow/src/test/resources/application.properties @@ -1 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + quarkus.http.test-port=0 diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/pom.xml b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/pom.xml index aa01856bbe..cdd71c0cbb 100644 --- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 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..d658459655 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 @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.acme.loanbroker; import java.util.Map; 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..cdb7217d4f 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 @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.acme.loanbroker; import java.util.Queue; 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..0403141395 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 @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.acme.loanbroker; import java.util.Map; diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/src/main/java/org/acme/loanbroker/domain/Credit.java b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/src/main/java/org/acme/loanbroker/domain/Credit.java index 4ec8174778..1d93685b11 100644 --- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/src/main/java/org/acme/loanbroker/domain/Credit.java +++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/src/main/java/org/acme/loanbroker/domain/Credit.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.acme.loanbroker.domain; import com.fasterxml.jackson.annotation.JsonGetter; diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/src/main/java/org/acme/loanbroker/domain/Quote.java b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/src/main/java/org/acme/loanbroker/domain/Quote.java index 20997dcd14..8d127a58c7 100644 --- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/src/main/java/org/acme/loanbroker/domain/Quote.java +++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/src/main/java/org/acme/loanbroker/domain/Quote.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.acme.loanbroker.domain; import java.util.Objects; diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/src/main/java/org/acme/loanbroker/domain/QuotesResponse.java b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/src/main/java/org/acme/loanbroker/domain/QuotesResponse.java index 12db737545..286d6f98cd 100644 --- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/src/main/java/org/acme/loanbroker/domain/QuotesResponse.java +++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/src/main/java/org/acme/loanbroker/domain/QuotesResponse.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.acme.loanbroker.domain; import java.io.Serializable; diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/src/main/kubernetes/kubernetes.yml b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/src/main/kubernetes/kubernetes.yml index 6652df7c62..5c63a2b3fc 100644 --- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/src/main/kubernetes/kubernetes.yml +++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/src/main/kubernetes/kubernetes.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Triggers for the UI, will receive the final response from the flow apiVersion: eventing.knative.dev/v1 kind: Trigger diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/src/main/resources/META-INF/resources/index.html b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/src/main/resources/META-INF/resources/index.html index cd755bec1e..2ca006ef36 100644 --- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/src/main/resources/META-INF/resources/index.html +++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/src/main/resources/META-INF/resources/index.html @@ -1,3 +1,23 @@ + diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/src/main/resources/application.properties index 2450108a08..63daa72507 100644 --- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # on kubernetes, we can configure the workflow endpoint via an env var org.acme.loanbroker.ui.workflowURL=${WORKFLOW_URL:http://localhost:8080} quarkus.qute.content-types."js"=text/javascript 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..1622bc87ad 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 @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.acme.loanbroker; import java.io.IOException; diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/src/test/resources/application.properties b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/src/test/resources/application.properties index 74870ba986..a6f411ba5d 100644 --- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/src/test/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/loanbroker-ui/src/test/resources/application.properties @@ -1 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + quarkus.http.test-port=0 diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/pom.xml b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/pom.xml index efd654500d..5575afac92 100644 --- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/pom.xml @@ -1,4 +1,24 @@ + diff --git a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/kubernetes/data-index-services.yml b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/kubernetes/data-index-services.yml index 843a5a34f6..41e1955cb0 100644 --- a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/kubernetes/data-index-services.yml +++ b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/kubernetes/data-index-services.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: v1 kind: Service metadata: diff --git a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/kubernetes/supporting-services.yml b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/kubernetes/supporting-services.yml index d5fe666189..25d0a94af6 100644 --- a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/kubernetes/supporting-services.yml +++ b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/kubernetes/supporting-services.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # default broker for the knative eventing communication between the services. apiVersion: eventing.knative.dev/v1 kind: Broker diff --git a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/pom.xml b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/pom.xml index 2e08e9a86b..71311f28ca 100644 --- a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/pom.xml @@ -1,4 +1,24 @@ + diff --git a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/pom.xml b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/pom.xml index 362fae8051..12b2e8e849 100644 --- a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/pom.xml @@ -1,4 +1,24 @@ + 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..dbc0a78da4 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 @@ -1,19 +1,21 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; import javax.enterprise.context.ApplicationScoped; diff --git a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/src/main/resources/META-INF/resources/index.html b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/src/main/resources/META-INF/resources/index.html index 43f683c048..eb983ecdce 100644 --- a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/src/main/resources/META-INF/resources/index.html +++ b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/src/main/resources/META-INF/resources/index.html @@ -1,19 +1,23 @@ + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> diff --git a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/src/main/resources/application-knative.properties b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/src/main/resources/application-knative.properties index fc69e8868f..e7882dd84d 100644 --- a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/src/main/resources/application-knative.properties +++ b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/src/main/resources/application-knative.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Use the Kogito service discovery mechanism to get the current service url. # For more information see: https://kiegroup.github.io/kogito-docs/serverlessworkflow/latest/cloud/kubernetes-service-discovery.html kogito.service.url=${knative:services.v1.serving.knative.dev/newsletter-showcase/subscription-flow} diff --git a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/src/main/resources/application.properties index 88b5245aae..5b4377215c 100644 --- a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + quarkus.native.native-image-xmx=8g quarkus.swagger-ui.always-include=true diff --git a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/src/main/resources/specs/subscription-service.yaml b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/src/main/resources/specs/subscription-service.yaml index 83bb3d099b..f97f8f8caf 100644 --- a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/src/main/resources/specs/subscription-service.yaml +++ b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/src/main/resources/specs/subscription-service.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + --- openapi: 3.0.3 info: diff --git a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/src/test/java/org/acme/newsletter/subscription/flow/SinkMock.java b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/src/test/java/org/acme/newsletter/subscription/flow/SinkMock.java index ac6184d376..cc41fef517 100644 --- a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/src/test/java/org/acme/newsletter/subscription/flow/SinkMock.java +++ b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/src/test/java/org/acme/newsletter/subscription/flow/SinkMock.java @@ -1,19 +1,21 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.newsletter.subscription.flow; import java.util.Collections; diff --git a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/src/test/java/org/acme/newsletter/subscription/flow/SubscriptionConstants.java b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/src/test/java/org/acme/newsletter/subscription/flow/SubscriptionConstants.java index 00fcad2537..adcbe78305 100644 --- a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/src/test/java/org/acme/newsletter/subscription/flow/SubscriptionConstants.java +++ b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/src/test/java/org/acme/newsletter/subscription/flow/SubscriptionConstants.java @@ -1,19 +1,21 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.newsletter.subscription.flow; import org.acme.newsletter.subscription.service.Subscription; diff --git a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/src/test/java/org/acme/newsletter/subscription/flow/SubscriptionFlowIT.java b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/src/test/java/org/acme/newsletter/subscription/flow/SubscriptionFlowIT.java index 3c07ebbdc5..0dd0b79406 100644 --- a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/src/test/java/org/acme/newsletter/subscription/flow/SubscriptionFlowIT.java +++ b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/src/test/java/org/acme/newsletter/subscription/flow/SubscriptionFlowIT.java @@ -1,19 +1,21 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.newsletter.subscription.flow; import java.net.URI; 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..41832688cf 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 @@ -1,19 +1,21 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.newsletter.subscription.flow; import java.util.Collections; diff --git a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-service/pom.xml b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-service/pom.xml index 7f75088eb1..68f81b2712 100644 --- a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-service/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-service/pom.xml @@ -1,4 +1,24 @@ + 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..fb2d6294cb 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 @@ -1,19 +1,21 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.newsletter.subscription.service; import java.util.List; 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..f0127fc18e 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 @@ -1,19 +1,21 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.newsletter.subscription.service; import java.util.Collections; diff --git a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-service/src/main/java/org/acme/newsletter/subscription/service/Subscription.java b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-service/src/main/java/org/acme/newsletter/subscription/service/Subscription.java index b328e77aab..9dd9932eda 100644 --- a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-service/src/main/java/org/acme/newsletter/subscription/service/Subscription.java +++ b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-service/src/main/java/org/acme/newsletter/subscription/service/Subscription.java @@ -1,19 +1,21 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.newsletter.subscription.service; import java.io.Serializable; diff --git a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-service/src/main/java/org/acme/newsletter/subscription/service/SubscriptionException.java b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-service/src/main/java/org/acme/newsletter/subscription/service/SubscriptionException.java index c5263ecb85..5c39eb5f9c 100644 --- a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-service/src/main/java/org/acme/newsletter/subscription/service/SubscriptionException.java +++ b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-service/src/main/java/org/acme/newsletter/subscription/service/SubscriptionException.java @@ -1,19 +1,21 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.newsletter.subscription.service; public class SubscriptionException extends RuntimeException { diff --git a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-service/src/main/java/org/acme/newsletter/subscription/service/SubscriptionRepository.java b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-service/src/main/java/org/acme/newsletter/subscription/service/SubscriptionRepository.java index 8c55645bbe..707466ad87 100644 --- a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-service/src/main/java/org/acme/newsletter/subscription/service/SubscriptionRepository.java +++ b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-service/src/main/java/org/acme/newsletter/subscription/service/SubscriptionRepository.java @@ -1,19 +1,21 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.newsletter.subscription.service; import java.util.List; 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..b71bf62441 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 @@ -1,19 +1,21 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.newsletter.subscription.service; import java.io.Serializable; diff --git a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-service/src/main/java/org/acme/newsletter/subscription/service/SubscriptionService.java b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-service/src/main/java/org/acme/newsletter/subscription/service/SubscriptionService.java index 68620efee8..3fa5abba76 100644 --- a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-service/src/main/java/org/acme/newsletter/subscription/service/SubscriptionService.java +++ b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-service/src/main/java/org/acme/newsletter/subscription/service/SubscriptionService.java @@ -1,19 +1,21 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.newsletter.subscription.service; import java.util.List; 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..b8214d835c 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 @@ -1,17 +1,20 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.newsletter.subscription.service; diff --git a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-service/src/main/resources/META-INF/resources/index.html b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-service/src/main/resources/META-INF/resources/index.html index 357dd22e23..ed5b961ca8 100644 --- a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-service/src/main/resources/META-INF/resources/index.html +++ b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-service/src/main/resources/META-INF/resources/index.html @@ -1,19 +1,23 @@ + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> diff --git a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-service/src/main/resources/application-knative.properties b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-service/src/main/resources/application-knative.properties index dd20270432..421aeb2bd4 100644 --- a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-service/src/main/resources/application-knative.properties +++ b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-service/src/main/resources/application-knative.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # When the application is generated with the knative profile, it'll require a PostgreSQL database. # Enable the PostgreSqlSubscriptionRepository component. diff --git a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-service/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-service/src/main/resources/application.properties index d8561fb582..56362445c2 100644 --- a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-service/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-service/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + quarkus.swagger-ui.always-include=true quarkus.smallrye-openapi.operation-id-strategy=method quarkus.native.native-image-xmx=8g diff --git a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-service/src/test/java/org/acme/newsletter/subscription/service/SubscriptionResourceIT.java b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-service/src/test/java/org/acme/newsletter/subscription/service/SubscriptionResourceIT.java index bf46c9d15a..2b13337d4b 100644 --- a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-service/src/test/java/org/acme/newsletter/subscription/service/SubscriptionResourceIT.java +++ b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-service/src/test/java/org/acme/newsletter/subscription/service/SubscriptionResourceIT.java @@ -1,19 +1,21 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.newsletter.subscription.service; import java.util.UUID; 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..1a75b23ed6 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 @@ -1,4 +1,24 @@ + 4.0.0 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..53b19b0789 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 @@ -1,19 +1,21 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme; import org.eclipse.microprofile.openapi.annotations.Components; 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..33fb310e3d 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 @@ -1,19 +1,21 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme; import javax.inject.Inject; diff --git a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/acme-financial-service/src/main/java/org/acme/ExchangeRateResult.java b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/acme-financial-service/src/main/java/org/acme/ExchangeRateResult.java index da00ce4a61..03ba951797 100644 --- a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/acme-financial-service/src/main/java/org/acme/ExchangeRateResult.java +++ b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/acme-financial-service/src/main/java/org/acme/ExchangeRateResult.java @@ -1,19 +1,21 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme; public class ExchangeRateResult { 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..e1df1bfc26 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 @@ -1,17 +1,20 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme; diff --git a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/acme-financial-service/src/main/resources/META-INF/resources/index.html b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/acme-financial-service/src/main/resources/META-INF/resources/index.html index 396ae366c0..5b7a32f788 100644 --- a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/acme-financial-service/src/main/resources/META-INF/resources/index.html +++ b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/acme-financial-service/src/main/resources/META-INF/resources/index.html @@ -1,3 +1,23 @@ + diff --git a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/acme-financial-service/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/acme-financial-service/src/main/resources/application.properties index 595f2d5961..9da00942ab 100644 --- a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/acme-financial-service/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/acme-financial-service/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + quarkus.http.port=8483 quarkus.native.native-image-xmx=8g diff --git a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/acme-financial-service/src/test/java/org/acme/AcmeExchangeResourceIT.java b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/acme-financial-service/src/test/java/org/acme/AcmeExchangeResourceIT.java index 0c93b8259b..80f396a421 100644 --- a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/acme-financial-service/src/test/java/org/acme/AcmeExchangeResourceIT.java +++ b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/acme-financial-service/src/test/java/org/acme/AcmeExchangeResourceIT.java @@ -1,19 +1,21 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme; import java.util.stream.Stream; 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..da03bbbd9d 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 @@ -1,4 +1,24 @@ + 4.0.0 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..ad5242c4c7 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 @@ -1,19 +1,21 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; import java.time.LocalDate; diff --git a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/currency-exchange-workflow/src/main/java/org/kie/kogito/examples/ValidationResult.java b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/currency-exchange-workflow/src/main/java/org/kie/kogito/examples/ValidationResult.java index 353e47d727..98bcea4b5b 100644 --- a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/currency-exchange-workflow/src/main/java/org/kie/kogito/examples/ValidationResult.java +++ b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/currency-exchange-workflow/src/main/java/org/kie/kogito/examples/ValidationResult.java @@ -1,19 +1,21 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; /** diff --git a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/currency-exchange-workflow/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/currency-exchange-workflow/src/main/resources/application.properties index 8460c28559..23c0e03ce2 100644 --- a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/currency-exchange-workflow/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/currency-exchange-workflow/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + quarkus.log.category."org.kie.kogito.examples".level=DEBUG quarkus.swagger-ui.always-include=true diff --git a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/currency-exchange-workflow/src/main/resources/specs/acme-financial-service.yml b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/currency-exchange-workflow/src/main/resources/specs/acme-financial-service.yml index 2fffc9b6ab..90c17e6dc7 100644 --- a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/currency-exchange-workflow/src/main/resources/specs/acme-financial-service.yml +++ b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/currency-exchange-workflow/src/main/resources/specs/acme-financial-service.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + --- openapi: 3.0.3 info: diff --git a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/docker-compose/docker-compose.yml b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/docker-compose/docker-compose.yml index 5ff2b03d25..f42ccc9b0a 100755 --- a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/docker-compose/docker-compose.yml +++ b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/docker-compose/docker-compose.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + version: '2.1' services: diff --git a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/pom.xml index 6efc6bb754..12e3b26895 100644 --- a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/scripts/startKeycloak.sh b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/scripts/startKeycloak.sh index 6673e3b9e9..6756c66a1f 100755 --- a/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/scripts/startKeycloak.sh +++ b/serverless-workflow-examples/serverless-workflow-oauth2-orchestration-quarkus/scripts/startKeycloak.sh @@ -1,4 +1,23 @@ #!/bin/bash +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + export REALM_FILE_VOLUME=$PWD/../docker-compose/keycloak/kogito-realm.json:/tmp/kogito-realm.json diff --git a/serverless-workflow-examples/serverless-workflow-openvino-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-openvino-quarkus/pom.xml index f9f8962f07..ec6f8b06cf 100644 --- a/serverless-workflow-examples/serverless-workflow-openvino-quarkus/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-openvino-quarkus/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/serverless-workflow-examples/serverless-workflow-openvino-quarkus/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-openvino-quarkus/src/main/resources/application.properties index 45dc3047af..fd7f461cbb 100644 --- a/serverless-workflow-examples/serverless-workflow-openvino-quarkus/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-openvino-quarkus/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar quarkus.native.native-image-xmx=8g diff --git a/serverless-workflow-examples/serverless-workflow-openvino-quarkus/src/test/java/org/kie/kogito/examples/OpenVinoRestIT.java b/serverless-workflow-examples/serverless-workflow-openvino-quarkus/src/test/java/org/kie/kogito/examples/OpenVinoRestIT.java index 6c61c6f60c..2fa3596e5b 100644 --- a/serverless-workflow-examples/serverless-workflow-openvino-quarkus/src/test/java/org/kie/kogito/examples/OpenVinoRestIT.java +++ b/serverless-workflow-examples/serverless-workflow-openvino-quarkus/src/test/java/org/kie/kogito/examples/OpenVinoRestIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/serverless-workflow-examples/serverless-workflow-order-processing/kubernetes/ingress.yaml b/serverless-workflow-examples/serverless-workflow-order-processing/kubernetes/ingress.yaml index babcb1d13c..44b54ea877 100644 --- a/serverless-workflow-examples/serverless-workflow-order-processing/kubernetes/ingress.yaml +++ b/serverless-workflow-examples/serverless-workflow-order-processing/kubernetes/ingress.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # OPTIONAL! You should have your own way to expose the service, this is just a suggestion # After deploying your service, use this file to expose it # Ref.: https://kubernetes.io/docs/tasks/access-application-cluster/ingress-minikube/#create-an-ingress-resource diff --git a/serverless-workflow-examples/serverless-workflow-order-processing/pom.xml b/serverless-workflow-examples/serverless-workflow-order-processing/pom.xml index 101b80b766..02e1281246 100644 --- a/serverless-workflow-examples/serverless-workflow-order-processing/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-order-processing/pom.xml @@ -1,4 +1,24 @@ + diff --git a/serverless-workflow-examples/serverless-workflow-order-processing/src/main/kubernetes/knative.yml b/serverless-workflow-examples/serverless-workflow-order-processing/src/main/kubernetes/knative.yml index 4ff89eb403..8250973f9e 100644 --- a/serverless-workflow-examples/serverless-workflow-order-processing/src/main/kubernetes/knative.yml +++ b/serverless-workflow-examples/serverless-workflow-order-processing/src/main/kubernetes/knative.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # simple knative application to display the routed messages apiVersion: serving.knative.dev/v1 kind: Service diff --git a/serverless-workflow-examples/serverless-workflow-order-processing/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-order-processing/src/main/resources/application.properties index 2733b386ba..5b96ef246a 100644 --- a/serverless-workflow-examples/serverless-workflow-order-processing/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-order-processing/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + quarkus.log.level=INFO # The K_SINK variable will be injected for us by the KogitoSource diff --git a/serverless-workflow-examples/serverless-workflow-order-processing/src/test/java/org/kie/kogito/examples/sw/orders/processing/Order.java b/serverless-workflow-examples/serverless-workflow-order-processing/src/test/java/org/kie/kogito/examples/sw/orders/processing/Order.java index 4ca2a33f05..2f69e27e9d 100644 --- a/serverless-workflow-examples/serverless-workflow-order-processing/src/test/java/org/kie/kogito/examples/sw/orders/processing/Order.java +++ b/serverless-workflow-examples/serverless-workflow-order-processing/src/test/java/org/kie/kogito/examples/sw/orders/processing/Order.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.sw.orders.processing; 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..d4c151f61c 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 @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.sw.orders.processing; diff --git a/serverless-workflow-examples/serverless-workflow-order-processing/src/test/resources/application.properties b/serverless-workflow-examples/serverless-workflow-order-processing/src/test/resources/application.properties index d009f8fc76..5359088fd6 100644 --- a/serverless-workflow-examples/serverless-workflow-order-processing/src/test/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-order-processing/src/test/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + quarkus.log.level=INFO mp.messaging.outgoing.kogito_outgoing_stream.url=http://0.0.0.0:8181 \ No newline at end of file diff --git a/serverless-workflow-examples/serverless-workflow-parallel-execution/pom.xml b/serverless-workflow-examples/serverless-workflow-parallel-execution/pom.xml index f8d635e57d..4b5c599931 100644 --- a/serverless-workflow-examples/serverless-workflow-parallel-execution/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-parallel-execution/pom.xml @@ -1,4 +1,24 @@ + diff --git a/serverless-workflow-examples/serverless-workflow-parallel-execution/src/main/resources/01-sonataflow_parallel.yaml b/serverless-workflow-examples/serverless-workflow-parallel-execution/src/main/resources/01-sonataflow_parallel.yaml index b5c5042c5e..0ba1d57fa8 100755 --- a/serverless-workflow-examples/serverless-workflow-parallel-execution/src/main/resources/01-sonataflow_parallel.yaml +++ b/serverless-workflow-examples/serverless-workflow-parallel-execution/src/main/resources/01-sonataflow_parallel.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: sonataflow.org/v1alpha08 kind: SonataFlow metadata: diff --git a/serverless-workflow-examples/serverless-workflow-parallel-execution/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-parallel-execution/src/main/resources/application.properties index 4c6da73b47..73f781ddaa 100644 --- a/serverless-workflow-examples/serverless-workflow-parallel-execution/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-parallel-execution/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # profile to pack this example into a container, to use it execute activate the maven container profile, -Dcontainer %container.quarkus.container-image.build=true %container.quarkus.container-image.push=false diff --git a/serverless-workflow-examples/serverless-workflow-parallel-execution/src/test/java/org/kie/kogito/examples/ParallelStateTest.java b/serverless-workflow-examples/serverless-workflow-parallel-execution/src/test/java/org/kie/kogito/examples/ParallelStateTest.java index 19fb55a4b5..bf64f05da5 100644 --- a/serverless-workflow-examples/serverless-workflow-parallel-execution/src/test/java/org/kie/kogito/examples/ParallelStateTest.java +++ b/serverless-workflow-examples/serverless-workflow-parallel-execution/src/test/java/org/kie/kogito/examples/ParallelStateTest.java @@ -1,17 +1,20 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/serverless-workflow-examples/serverless-workflow-python-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-python-quarkus/pom.xml index 850e11d5b8..9ff549daad 100644 --- a/serverless-workflow-examples/serverless-workflow-python-quarkus/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-python-quarkus/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/serverless-workflow-examples/serverless-workflow-python-quarkus/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-python-quarkus/src/main/resources/application.properties index 3fd3d02ed9..afc1def064 100644 --- a/serverless-workflow-examples/serverless-workflow-python-quarkus/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-python-quarkus/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar quarkus.native.native-image-xmx=8g diff --git a/serverless-workflow-examples/serverless-workflow-python-quarkus/src/test/java/org/kie/kogito/examples/PythonRestIT.java b/serverless-workflow-examples/serverless-workflow-python-quarkus/src/test/java/org/kie/kogito/examples/PythonRestIT.java index 74897b88c8..7f428fe5b5 100644 --- a/serverless-workflow-examples/serverless-workflow-python-quarkus/src/test/java/org/kie/kogito/examples/PythonRestIT.java +++ b/serverless-workflow-examples/serverless-workflow-python-quarkus/src/test/java/org/kie/kogito/examples/PythonRestIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2023 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/docker-compose/kafka/docker-compose.yml b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/docker-compose/kafka/docker-compose.yml index 331d97819c..ee58bdd287 100644 --- a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/docker-compose/kafka/docker-compose.yml +++ b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/docker-compose/kafka/docker-compose.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + version: "3" services: diff --git a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/docker-compose/knative/docker-compose.yml b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/docker-compose/knative/docker-compose.yml index 06ea7c36f3..0a17b05d0e 100644 --- a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/docker-compose/knative/docker-compose.yml +++ b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/docker-compose/knative/docker-compose.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + version: "3" services: diff --git a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/pom.xml b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/pom.xml index 1849476fe9..78c2348185 100644 --- a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 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..3dce8b27a2 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 @@ -1,4 +1,24 @@ + 4.0.0 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..5bb71867af 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 @@ -1,19 +1,21 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme; import java.util.ArrayList; 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..d811e773d2 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 @@ -1,19 +1,21 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme; import java.sql.Connection; diff --git a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/main/java/org/acme/QueryAnswerServiceException.java b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/main/java/org/acme/QueryAnswerServiceException.java index fa5ff1b784..a489494016 100644 --- a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/main/java/org/acme/QueryAnswerServiceException.java +++ b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/main/java/org/acme/QueryAnswerServiceException.java @@ -1,19 +1,21 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme; public class QueryAnswerServiceException extends RuntimeException { 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..0dcfa2edad 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 @@ -1,19 +1,21 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme; import java.time.ZonedDateTime; 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..d78d3570fc 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 @@ -1,19 +1,21 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme; import java.util.List; diff --git a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/main/java/org/acme/QueryRecord.java b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/main/java/org/acme/QueryRecord.java index fcd4e7216a..ff18ab7051 100644 --- a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/main/java/org/acme/QueryRecord.java +++ b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/main/java/org/acme/QueryRecord.java @@ -1,19 +1,21 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme; import java.time.ZonedDateTime; diff --git a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/main/java/org/acme/QueryRecordRepository.java b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/main/java/org/acme/QueryRecordRepository.java index e36c37db78..d878a05f4d 100644 --- a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/main/java/org/acme/QueryRecordRepository.java +++ b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/main/java/org/acme/QueryRecordRepository.java @@ -1,19 +1,21 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme; import java.util.List; diff --git a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/main/kubernetes/knative.yml b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/main/kubernetes/knative.yml index f7a9bf02ff..149849095b 100644 --- a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/main/kubernetes/knative.yml +++ b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/main/kubernetes/knative.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # deployment for postgres database apiVersion: v1 data: diff --git a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/main/resources/META-INF/resources/index.html b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/main/resources/META-INF/resources/index.html index 0f25ae950c..d4825047c7 100644 --- a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/main/resources/META-INF/resources/index.html +++ b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/main/resources/META-INF/resources/index.html @@ -1,19 +1,23 @@ + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> diff --git a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/main/resources/application-kafka.properties b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/main/resources/application-kafka.properties index 17b3f05bf6..a9e5e162a8 100644 --- a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/main/resources/application-kafka.properties +++ b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/main/resources/application-kafka.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + %prod.kafka.bootstrap.servers=localhost:9092 mp.messaging.incoming.query_response_events.connector=smallrye-kafka mp.messaging.incoming.query_response_events.topic=query_response_events diff --git a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/main/resources/application-knative.properties b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/main/resources/application-knative.properties index 9c95897790..8ffd4e9069 100644 --- a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/main/resources/application-knative.properties +++ b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/main/resources/application-knative.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + quarkus.log.category."org.kie".level=DEBUG # Build the application with the persistence profile to use a PostgreSQL database. diff --git a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/main/resources/application-persistence.properties b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/main/resources/application-persistence.properties index 83b64e2225..54f49a9f6e 100644 --- a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/main/resources/application-persistence.properties +++ b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/main/resources/application-persistence.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + %prod.kafka.bootstrap.servers=localhost:9092 mp.messaging.incoming.query_response_events.connector=smallrye-kafka mp.messaging.incoming.query_response_events.topic=query_response_events diff --git a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/main/resources/application.properties index fce8ee32f0..fed3afb307 100644 --- a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + quarkus.log.category."org.acme".level=DEBUG # OpenApi client properties to access the query-service quarkus.rest-client.query_service_yaml.url=${QUERYSERVICE_URL:http://localhost:8283} diff --git a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/main/resources/specs/query-service.yaml b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/main/resources/specs/query-service.yaml index 9b34211eaf..3156f70275 100644 --- a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/main/resources/specs/query-service.yaml +++ b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/main/resources/specs/query-service.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + --- openapi: 3.0.3 info: diff --git a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/test/java/org/acme/it/QueryAnswerServiceIT.java b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/test/java/org/acme/it/QueryAnswerServiceIT.java index 8a964727b7..91a9e978b0 100644 --- a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/test/java/org/acme/it/QueryAnswerServiceIT.java +++ b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/src/test/java/org/acme/it/QueryAnswerServiceIT.java @@ -1,19 +1,21 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.it; import java.net.URI; 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..e0763b65b0 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 @@ -1,19 +1,21 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.it; import java.util.HashMap; 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..c7cfa9b9aa 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 @@ -1,4 +1,24 @@ + 4.0.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..5fb95502f7 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 @@ -1,19 +1,21 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme; import javax.inject.Singleton; 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..c59447766b 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 @@ -1,19 +1,21 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme; import java.util.ArrayList; 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..ffd9c787b4 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 @@ -1,19 +1,21 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme; import java.util.List; diff --git a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/main/java/org/acme/QueryRequest.java b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/main/java/org/acme/QueryRequest.java index 8536a725c2..f0e8032379 100644 --- a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/main/java/org/acme/QueryRequest.java +++ b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/main/java/org/acme/QueryRequest.java @@ -1,19 +1,21 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme; public class QueryRequest { diff --git a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/main/java/org/acme/QueryRequestRepository.java b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/main/java/org/acme/QueryRequestRepository.java index b925d18a93..2e8905a317 100644 --- a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/main/java/org/acme/QueryRequestRepository.java +++ b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/main/java/org/acme/QueryRequestRepository.java @@ -1,19 +1,21 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme; import java.util.List; diff --git a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/main/java/org/acme/QueryServiceException.java b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/main/java/org/acme/QueryServiceException.java index 602e8f3ee9..fc73929fc2 100644 --- a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/main/java/org/acme/QueryServiceException.java +++ b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/main/java/org/acme/QueryServiceException.java @@ -1,19 +1,21 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme; public class QueryServiceException extends RuntimeException { 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..42c2098ec4 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 @@ -1,19 +1,21 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme; import java.net.URI; diff --git a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/main/java/org/acme/ResolveRequest.java b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/main/java/org/acme/ResolveRequest.java index 9f26196ad7..780c118ff2 100644 --- a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/main/java/org/acme/ResolveRequest.java +++ b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/main/java/org/acme/ResolveRequest.java @@ -1,19 +1,21 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme; public class ResolveRequest { diff --git a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/main/kubernetes/knative.yml b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/main/kubernetes/knative.yml index f4985fe42f..a2ed188f04 100644 --- a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/main/kubernetes/knative.yml +++ b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/main/kubernetes/knative.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: sources.knative.dev/v1 kind: SinkBinding metadata: diff --git a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/main/resources/META-INF/resources/index.html b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/main/resources/META-INF/resources/index.html index a1cc264027..5059ed8886 100644 --- a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/main/resources/META-INF/resources/index.html +++ b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/main/resources/META-INF/resources/index.html @@ -1,19 +1,23 @@ + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> diff --git a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/main/resources/application-kafka.properties b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/main/resources/application-kafka.properties index 6eb955f0e4..70302a512b 100644 --- a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/main/resources/application-kafka.properties +++ b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/main/resources/application-kafka.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # kafka configuration for sending the events to the query-answer-service %prod.kafka.bootstrap.servers=localhost:9092 mp.messaging.outgoing.response_events.connector=smallrye-kafka diff --git a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/main/resources/application-knative.properties b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/main/resources/application-knative.properties index 8fd1394c77..169c62f855 100644 --- a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/main/resources/application-knative.properties +++ b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/main/resources/application-knative.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # knative configuration for sending the events to the query-answer-service mp.messaging.outgoing.response_events.connector=quarkus-http mp.messaging.outgoing.response_events.url=${K_SINK:http://localhost:8181} diff --git a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/main/resources/application-persistence.properties b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/main/resources/application-persistence.properties index 2d9a981c85..8100e59e0e 100644 --- a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/main/resources/application-persistence.properties +++ b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/main/resources/application-persistence.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # kafka configuration for sending the events to the query-answer-service kafka.bootstrap.servers=localhost:9092 mp.messaging.outgoing.response_events.connector=smallrye-kafka diff --git a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/main/resources/application.properties index 2e6fc0f263..72ce6e8c5e 100644 --- a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + quarkus.log.category."org.acme".level=DEBUG quarkus.http.port=8283 diff --git a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/test/java/org/acme/it/QueryServiceResourceIT.java b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/test/java/org/acme/it/QueryServiceResourceIT.java index 7710ab2b12..8590bf6785 100644 --- a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/test/java/org/acme/it/QueryServiceResourceIT.java +++ b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/test/java/org/acme/it/QueryServiceResourceIT.java @@ -1,19 +1,21 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme.it; import java.util.List; diff --git a/serverless-workflow-examples/serverless-workflow-saga-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-saga-quarkus/pom.xml index ddc08d91b4..9e3f78baa1 100644 --- a/serverless-workflow-examples/serverless-workflow-saga-quarkus/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-saga-quarkus/pom.xml @@ -1,4 +1,24 @@ + 4.0.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..82876846d4 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; 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..eb93f29b84 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; 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..fa606e3597 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/kie/kogito/examples/Response.java b/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/kie/kogito/examples/Response.java index 618d78e21b..bee6ff1493 100644 --- a/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/kie/kogito/examples/Response.java +++ b/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/kie/kogito/examples/Response.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/kie/kogito/examples/ServiceException.java b/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/kie/kogito/examples/ServiceException.java index 908552aa21..e20f61055d 100644 --- a/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/kie/kogito/examples/ServiceException.java +++ b/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/java/org/kie/kogito/examples/ServiceException.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; 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..d8bfe6541d 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; 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..a7443eeef7 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/resources/application.properties index 4c6da73b47..73f781ddaa 100644 --- a/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # profile to pack this example into a container, to use it execute activate the maven container profile, -Dcontainer %container.quarkus.container-image.build=true %container.quarkus.container-image.push=false diff --git a/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/test/java/org/kie/kogito/examples/OrderSagaWorkflowIT.java b/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/test/java/org/kie/kogito/examples/OrderSagaWorkflowIT.java index 78ae825c93..2fe543d9a8 100644 --- a/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/test/java/org/kie/kogito/examples/OrderSagaWorkflowIT.java +++ b/serverless-workflow-examples/serverless-workflow-saga-quarkus/src/test/java/org/kie/kogito/examples/OrderSagaWorkflowIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/operator/serverless-workflow-service-calls-quarkus.yaml b/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/operator/serverless-workflow-service-calls-quarkus.yaml index ec8900ae59..f57ee73498 100644 --- a/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/operator/serverless-workflow-service-calls-quarkus.yaml +++ b/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/operator/serverless-workflow-service-calls-quarkus.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: app.kiegroup.org/v1beta1 kind: KogitoBuild metadata: 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..4de151e36c 100644 --- a/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 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..454973c6ab 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.kogito.serverless.examples; diff --git a/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/src/main/java/org/kogito/serverless/examples/Country.java b/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/src/main/java/org/kogito/serverless/examples/Country.java index 9266a5ffb6..a2ffe2cda0 100644 --- a/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/src/main/java/org/kogito/serverless/examples/Country.java +++ b/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/src/main/java/org/kogito/serverless/examples/Country.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.kogito.serverless.examples; diff --git a/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/src/main/resources/META-INF/resources/index.html b/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/src/main/resources/META-INF/resources/index.html index 578e27c420..331f1ce323 100644 --- a/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/src/main/resources/META-INF/resources/index.html +++ b/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/src/main/resources/META-INF/resources/index.html @@ -1,3 +1,23 @@ + diff --git a/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/src/main/resources/application.properties index 5db9a0b5e1..a0e08deb92 100644 --- a/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar quarkus.native.native-image-xmx=8g 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..afb5c0a202 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 @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.kogito.serverless.examples; diff --git a/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/src/test/java/org/kogito/serverless/examples/RestCountriesMockServer.java b/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/src/test/java/org/kogito/serverless/examples/RestCountriesMockServer.java index 49632b85f3..ec2c6f40b8 100644 --- a/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/src/test/java/org/kogito/serverless/examples/RestCountriesMockServer.java +++ b/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/src/test/java/org/kogito/serverless/examples/RestCountriesMockServer.java @@ -1,17 +1,20 @@ /* - * Copyright 2020 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.kogito.serverless.examples; diff --git a/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/src/test/resources/application.properties b/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/src/test/resources/application.properties index 4308172a3d..0f6880fb66 100644 --- a/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/src/test/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/src/test/resources/application.properties @@ -1,2 +1,21 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Quarkus quarkus.http.test-port=0 diff --git a/serverless-workflow-examples/serverless-workflow-stock-profit/fake-stock-service/pom.xml b/serverless-workflow-examples/serverless-workflow-stock-profit/fake-stock-service/pom.xml index 5db27a8abc..4d32cc7c1e 100644 --- a/serverless-workflow-examples/serverless-workflow-stock-profit/fake-stock-service/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-stock-profit/fake-stock-service/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 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..cca264c71f 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 @@ -1,17 +1,20 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme; diff --git a/serverless-workflow-examples/serverless-workflow-stock-profit/fake-stock-service/src/main/java/org/acme/Stock.java b/serverless-workflow-examples/serverless-workflow-stock-profit/fake-stock-service/src/main/java/org/acme/Stock.java index bb1a9d8712..8ccb72f9c0 100644 --- a/serverless-workflow-examples/serverless-workflow-stock-profit/fake-stock-service/src/main/java/org/acme/Stock.java +++ b/serverless-workflow-examples/serverless-workflow-stock-profit/fake-stock-service/src/main/java/org/acme/Stock.java @@ -1,17 +1,20 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme; diff --git a/serverless-workflow-examples/serverless-workflow-stock-profit/fake-stock-service/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-stock-profit/fake-stock-service/src/main/resources/application.properties index 218defab34..4641f6c4b8 100644 --- a/serverless-workflow-examples/serverless-workflow-stock-profit/fake-stock-service/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-stock-profit/fake-stock-service/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + quarkus.http.port=8181 # profile to pack this example into a container, to use it execute activate the maven container profile, -Dcontainer diff --git a/serverless-workflow-examples/serverless-workflow-stock-profit/pom.xml b/serverless-workflow-examples/serverless-workflow-stock-profit/pom.xml index 730e56f86c..c329099263 100644 --- a/serverless-workflow-examples/serverless-workflow-stock-profit/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-stock-profit/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/serverless-workflow-examples/serverless-workflow-stock-profit/real-stock-service/pom.xml b/serverless-workflow-examples/serverless-workflow-stock-profit/real-stock-service/pom.xml index 506e535cb4..60456b8953 100644 --- a/serverless-workflow-examples/serverless-workflow-stock-profit/real-stock-service/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-stock-profit/real-stock-service/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 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..e35167dbc0 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 @@ -1,17 +1,20 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme; diff --git a/serverless-workflow-examples/serverless-workflow-stock-profit/real-stock-service/src/main/java/org/acme/Stock.java b/serverless-workflow-examples/serverless-workflow-stock-profit/real-stock-service/src/main/java/org/acme/Stock.java index bb1a9d8712..8ccb72f9c0 100644 --- a/serverless-workflow-examples/serverless-workflow-stock-profit/real-stock-service/src/main/java/org/acme/Stock.java +++ b/serverless-workflow-examples/serverless-workflow-stock-profit/real-stock-service/src/main/java/org/acme/Stock.java @@ -1,17 +1,20 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme; diff --git a/serverless-workflow-examples/serverless-workflow-stock-profit/real-stock-service/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-stock-profit/real-stock-service/src/main/resources/application.properties index 7d4fb10fa3..ad01ef277b 100644 --- a/serverless-workflow-examples/serverless-workflow-stock-profit/real-stock-service/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-stock-profit/real-stock-service/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + quarkus.http.port=8383 # profile to pack this example into a container, to use it execute activate the maven container profile, -Dcontainer diff --git a/serverless-workflow-examples/serverless-workflow-stock-profit/stock-portfolio-service/pom.xml b/serverless-workflow-examples/serverless-workflow-stock-profit/stock-portfolio-service/pom.xml index 035a4a3e82..7b378580f2 100644 --- a/serverless-workflow-examples/serverless-workflow-stock-profit/stock-portfolio-service/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-stock-profit/stock-portfolio-service/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 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..c1a6cb1342 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 @@ -1,17 +1,20 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme; diff --git a/serverless-workflow-examples/serverless-workflow-stock-profit/stock-portfolio-service/src/main/java/org/acme/StockProfit.java b/serverless-workflow-examples/serverless-workflow-stock-profit/stock-portfolio-service/src/main/java/org/acme/StockProfit.java index bbfd981839..3c7855e17c 100644 --- a/serverless-workflow-examples/serverless-workflow-stock-profit/stock-portfolio-service/src/main/java/org/acme/StockProfit.java +++ b/serverless-workflow-examples/serverless-workflow-stock-profit/stock-portfolio-service/src/main/java/org/acme/StockProfit.java @@ -1,17 +1,20 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme; diff --git a/serverless-workflow-examples/serverless-workflow-stock-profit/stock-portfolio-service/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-stock-profit/stock-portfolio-service/src/main/resources/application.properties index eba1c257b5..ea46e86634 100644 --- a/serverless-workflow-examples/serverless-workflow-stock-profit/stock-portfolio-service/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-stock-profit/stock-portfolio-service/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + quarkus.http.port=8282 # profile to pack this example into a container, to use it execute activate the maven container profile, -Dcontainer diff --git a/serverless-workflow-examples/serverless-workflow-stock-profit/stock-portfolio-service/src/test/java/org/acme/ProfitResourceTest.java b/serverless-workflow-examples/serverless-workflow-stock-profit/stock-portfolio-service/src/test/java/org/acme/ProfitResourceTest.java index 4c124781d3..b805e52496 100644 --- a/serverless-workflow-examples/serverless-workflow-stock-profit/stock-portfolio-service/src/test/java/org/acme/ProfitResourceTest.java +++ b/serverless-workflow-examples/serverless-workflow-stock-profit/stock-portfolio-service/src/test/java/org/acme/ProfitResourceTest.java @@ -1,17 +1,20 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme; 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..e06a6f4ed7 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 @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/serverless-workflow-examples/serverless-workflow-stock-profit/stock-profit/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-stock-profit/stock-profit/src/main/resources/application.properties index 9399347f69..ed770d55f7 100644 --- a/serverless-workflow-examples/serverless-workflow-stock-profit/stock-profit/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-stock-profit/stock-profit/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + quarkus.rest-client.stock_svc_yaml.url=http://localhost:8383/ %dev.quarkus.rest-client.stock_svc_yaml.url=http://localhost:8181/ diff --git a/serverless-workflow-examples/serverless-workflow-stock-profit/stock-profit/src/main/resources/openapi/stock-portfolio-svc.yaml b/serverless-workflow-examples/serverless-workflow-stock-profit/stock-profit/src/main/resources/openapi/stock-portfolio-svc.yaml index 96b192077d..834b85d560 100644 --- a/serverless-workflow-examples/serverless-workflow-stock-profit/stock-profit/src/main/resources/openapi/stock-portfolio-svc.yaml +++ b/serverless-workflow-examples/serverless-workflow-stock-profit/stock-profit/src/main/resources/openapi/stock-portfolio-svc.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + --- openapi: 3.0.3 info: diff --git a/serverless-workflow-examples/serverless-workflow-stock-profit/stock-profit/src/main/resources/openapi/stock-svc.yaml b/serverless-workflow-examples/serverless-workflow-stock-profit/stock-profit/src/main/resources/openapi/stock-svc.yaml index 097d0ef71e..4d370bd8f8 100644 --- a/serverless-workflow-examples/serverless-workflow-stock-profit/stock-profit/src/main/resources/openapi/stock-svc.yaml +++ b/serverless-workflow-examples/serverless-workflow-stock-profit/stock-profit/src/main/resources/openapi/stock-svc.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + --- openapi: 3.0.3 info: diff --git a/serverless-workflow-examples/serverless-workflow-stock-profit/stock-profit/src/test/java/org/acme/MockServices.java b/serverless-workflow-examples/serverless-workflow-stock-profit/stock-profit/src/test/java/org/acme/MockServices.java index 6fed69ebe0..f89bb94fd3 100644 --- a/serverless-workflow-examples/serverless-workflow-stock-profit/stock-profit/src/test/java/org/acme/MockServices.java +++ b/serverless-workflow-examples/serverless-workflow-stock-profit/stock-profit/src/test/java/org/acme/MockServices.java @@ -1,17 +1,20 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme; diff --git a/serverless-workflow-examples/serverless-workflow-stock-profit/stock-profit/src/test/java/org/acme/StockProfitIT.java b/serverless-workflow-examples/serverless-workflow-stock-profit/stock-profit/src/test/java/org/acme/StockProfitIT.java index d551eb455e..8cc76d9701 100644 --- a/serverless-workflow-examples/serverless-workflow-stock-profit/stock-profit/src/test/java/org/acme/StockProfitIT.java +++ b/serverless-workflow-examples/serverless-workflow-stock-profit/stock-profit/src/test/java/org/acme/StockProfitIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.acme; 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..757139c93f 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 @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-full/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-full/src/main/resources/application.properties index 4198cefe37..4f669af3ab 100644 --- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-full/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-full/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar quarkus.native.native-image-xmx=8g diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-full/src/main/resources/multiplication/spec.yaml b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-full/src/main/resources/multiplication/spec.yaml index 6c99fff287..f9f76d6145 100644 --- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-full/src/main/resources/multiplication/spec.yaml +++ b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-full/src/main/resources/multiplication/spec.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + --- openapi: 3.0.3 info: diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-full/src/main/resources/subtraction/spec.yaml b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-full/src/main/resources/subtraction/spec.yaml index b5f7345b58..28930b1235 100644 --- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-full/src/main/resources/subtraction/spec.yaml +++ b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-full/src/main/resources/subtraction/spec.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + --- openapi: 3.0.3 info: diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-full/src/test/java/org/kie/kogito/serverless/ConversationFlowIT.java b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-full/src/test/java/org/kie/kogito/serverless/ConversationFlowIT.java index f7c75cf67e..bd3bbe07b1 100644 --- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-full/src/test/java/org/kie/kogito/serverless/ConversationFlowIT.java +++ b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-full/src/test/java/org/kie/kogito/serverless/ConversationFlowIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.serverless; diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-full/src/test/java/org/kie/kogito/serverless/OperationsMockService.java b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-full/src/test/java/org/kie/kogito/serverless/OperationsMockService.java index 9a845abf90..f82871273c 100644 --- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-full/src/test/java/org/kie/kogito/serverless/OperationsMockService.java +++ b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-full/src/test/java/org/kie/kogito/serverless/OperationsMockService.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.serverless; 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..e2a6a6d513 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 @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-function/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-function/src/main/resources/application.properties index 7391ec122c..cd825baa04 100644 --- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-function/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-function/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar quarkus.native.native-image-xmx=8g diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-function/src/main/resources/multiplication/spec.yaml b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-function/src/main/resources/multiplication/spec.yaml index 6c99fff287..f9f76d6145 100644 --- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-function/src/main/resources/multiplication/spec.yaml +++ b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-function/src/main/resources/multiplication/spec.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + --- openapi: 3.0.3 info: diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-function/src/main/resources/subtraction/spec.yaml b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-function/src/main/resources/subtraction/spec.yaml index b5f7345b58..28930b1235 100644 --- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-function/src/main/resources/subtraction/spec.yaml +++ b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-function/src/main/resources/subtraction/spec.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + --- openapi: 3.0.3 info: diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-function/src/test/java/org/kie/kogito/serverless/ConversationFlowIT.java b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-function/src/test/java/org/kie/kogito/serverless/ConversationFlowIT.java index f7c75cf67e..bd3bbe07b1 100644 --- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-function/src/test/java/org/kie/kogito/serverless/ConversationFlowIT.java +++ b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-function/src/test/java/org/kie/kogito/serverless/ConversationFlowIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.serverless; diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-function/src/test/java/org/kie/kogito/serverless/OperationsMockService.java b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-function/src/test/java/org/kie/kogito/serverless/OperationsMockService.java index 9a845abf90..f82871273c 100644 --- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-function/src/test/java/org/kie/kogito/serverless/OperationsMockService.java +++ b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-function/src/test/java/org/kie/kogito/serverless/OperationsMockService.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.serverless; 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..0280dca5f0 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 @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-spec/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-spec/src/main/resources/application.properties index dc822973c5..7a652693f9 100644 --- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-spec/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-spec/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar quarkus.native.native-image-xmx=8g diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-spec/src/main/resources/specs/multiplication.yaml b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-spec/src/main/resources/specs/multiplication.yaml index d10fc84da6..baf5d66bad 100644 --- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-spec/src/main/resources/specs/multiplication.yaml +++ b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-spec/src/main/resources/specs/multiplication.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + --- openapi: 3.0.3 info: diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-spec/src/main/resources/specs/subtraction.yaml b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-spec/src/main/resources/specs/subtraction.yaml index 80abd4fc7a..100113ef53 100644 --- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-spec/src/main/resources/specs/subtraction.yaml +++ b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-spec/src/main/resources/specs/subtraction.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + --- openapi: 3.0.3 info: diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-spec/src/test/java/org/kie/kogito/serverless/ConversationFlowIT.java b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-spec/src/test/java/org/kie/kogito/serverless/ConversationFlowIT.java index f7c75cf67e..bd3bbe07b1 100644 --- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-spec/src/test/java/org/kie/kogito/serverless/ConversationFlowIT.java +++ b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-spec/src/test/java/org/kie/kogito/serverless/ConversationFlowIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.serverless; diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-spec/src/test/java/org/kie/kogito/serverless/OperationsMockService.java b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-spec/src/test/java/org/kie/kogito/serverless/OperationsMockService.java index 9a845abf90..f82871273c 100644 --- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-spec/src/test/java/org/kie/kogito/serverless/OperationsMockService.java +++ b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow-spec/src/test/java/org/kie/kogito/serverless/OperationsMockService.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.serverless; 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..a8ec3705d5 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 @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow/src/main/resources/application.properties index ed8375b748..65632d0bba 100644 --- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar quarkus.native.native-image-xmx=8g diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow/src/main/resources/specs/multiplication.yaml b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow/src/main/resources/specs/multiplication.yaml index 6c99fff287..f9f76d6145 100644 --- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow/src/main/resources/specs/multiplication.yaml +++ b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow/src/main/resources/specs/multiplication.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + --- openapi: 3.0.3 info: diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow/src/main/resources/specs/subtraction.yaml b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow/src/main/resources/specs/subtraction.yaml index b5f7345b58..28930b1235 100644 --- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow/src/main/resources/specs/subtraction.yaml +++ b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow/src/main/resources/specs/subtraction.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + --- openapi: 3.0.3 info: diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow/src/test/java/org/kie/kogito/serverless/ConversationFlowIT.java b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow/src/test/java/org/kie/kogito/serverless/ConversationFlowIT.java index f7c75cf67e..bd3bbe07b1 100644 --- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow/src/test/java/org/kie/kogito/serverless/ConversationFlowIT.java +++ b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow/src/test/java/org/kie/kogito/serverless/ConversationFlowIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.serverless; diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow/src/test/java/org/kie/kogito/serverless/OperationsMockService.java b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow/src/test/java/org/kie/kogito/serverless/OperationsMockService.java index 9a845abf90..f82871273c 100644 --- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow/src/test/java/org/kie/kogito/serverless/OperationsMockService.java +++ b/serverless-workflow-examples/serverless-workflow-temperature-conversion/conversion-workflow/src/test/java/org/kie/kogito/serverless/OperationsMockService.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.serverless; diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/kubernetes/knative-services.yaml b/serverless-workflow-examples/serverless-workflow-temperature-conversion/kubernetes/knative-services.yaml index 90e4175891..f3451ba56d 100644 --- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/kubernetes/knative-services.yaml +++ b/serverless-workflow-examples/serverless-workflow-temperature-conversion/kubernetes/knative-services.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Our Subtraction and Multiplication services are Knative Services, meaning that they will scale to 0 when the workflow is not running # Requires OpenShift Serverless operator installed or Knative Service on Kubernetes environments --- 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..fbd073c69b 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 @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/multiplication-service/src/main/java/org/kie/kogito/examples/sw/temp/multiplication/MultiplicationOperation.java b/serverless-workflow-examples/serverless-workflow-temperature-conversion/multiplication-service/src/main/java/org/kie/kogito/examples/sw/temp/multiplication/MultiplicationOperation.java index c89c7bd35a..422dd826c1 100644 --- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/multiplication-service/src/main/java/org/kie/kogito/examples/sw/temp/multiplication/MultiplicationOperation.java +++ b/serverless-workflow-examples/serverless-workflow-temperature-conversion/multiplication-service/src/main/java/org/kie/kogito/examples/sw/temp/multiplication/MultiplicationOperation.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.sw.temp.multiplication; 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..4f04f2dc12 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 @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.sw.temp.multiplication; diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/multiplication-service/src/main/resources/META-INF/resources/index.html b/serverless-workflow-examples/serverless-workflow-temperature-conversion/multiplication-service/src/main/resources/META-INF/resources/index.html index dc68613314..2f522b0906 100644 --- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/multiplication-service/src/main/resources/META-INF/resources/index.html +++ b/serverless-workflow-examples/serverless-workflow-temperature-conversion/multiplication-service/src/main/resources/META-INF/resources/index.html @@ -1,3 +1,23 @@ + diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/multiplication-service/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-temperature-conversion/multiplication-service/src/main/resources/application.properties index d7fbda981d..b5d77d8a45 100644 --- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/multiplication-service/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-temperature-conversion/multiplication-service/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar quarkus.native.native-image-xmx=8g diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/multiplication-service/src/test/java/org/kie/kogito/examples/sw/temp/multiplication/OperationResourceIT.java b/serverless-workflow-examples/serverless-workflow-temperature-conversion/multiplication-service/src/test/java/org/kie/kogito/examples/sw/temp/multiplication/OperationResourceIT.java index d96b7c1bb1..b2066fa655 100644 --- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/multiplication-service/src/test/java/org/kie/kogito/examples/sw/temp/multiplication/OperationResourceIT.java +++ b/serverless-workflow-examples/serverless-workflow-temperature-conversion/multiplication-service/src/test/java/org/kie/kogito/examples/sw/temp/multiplication/OperationResourceIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.sw.temp.multiplication; diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/pom.xml b/serverless-workflow-examples/serverless-workflow-temperature-conversion/pom.xml index c8d8269374..a00fdcb9ef 100644 --- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-temperature-conversion/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 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..7759915a31 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 @@ -1,4 +1,24 @@ + 4.0.0 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..79de9033ea 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 @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.sw.temp.subtraction; diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/subtraction-service/src/main/java/org/kie/kogito/examples/sw/temp/subtraction/SubtractionOperation.java b/serverless-workflow-examples/serverless-workflow-temperature-conversion/subtraction-service/src/main/java/org/kie/kogito/examples/sw/temp/subtraction/SubtractionOperation.java index 7bd7ab057d..710e67cc3d 100644 --- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/subtraction-service/src/main/java/org/kie/kogito/examples/sw/temp/subtraction/SubtractionOperation.java +++ b/serverless-workflow-examples/serverless-workflow-temperature-conversion/subtraction-service/src/main/java/org/kie/kogito/examples/sw/temp/subtraction/SubtractionOperation.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.sw.temp.subtraction; diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/subtraction-service/src/main/resources/META-INF/resources/index.html b/serverless-workflow-examples/serverless-workflow-temperature-conversion/subtraction-service/src/main/resources/META-INF/resources/index.html index dc68613314..2f522b0906 100644 --- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/subtraction-service/src/main/resources/META-INF/resources/index.html +++ b/serverless-workflow-examples/serverless-workflow-temperature-conversion/subtraction-service/src/main/resources/META-INF/resources/index.html @@ -1,3 +1,23 @@ + diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/subtraction-service/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-temperature-conversion/subtraction-service/src/main/resources/application.properties index d7fbda981d..b5d77d8a45 100644 --- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/subtraction-service/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-temperature-conversion/subtraction-service/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Packaging # quarkus.package.type=fast-jar quarkus.native.native-image-xmx=8g diff --git a/serverless-workflow-examples/serverless-workflow-temperature-conversion/subtraction-service/src/test/java/org/kie/kogito/examples/sw/temp/subtraction/OperationResourceIT.java b/serverless-workflow-examples/serverless-workflow-temperature-conversion/subtraction-service/src/test/java/org/kie/kogito/examples/sw/temp/subtraction/OperationResourceIT.java index b3bedd0b1e..9a06b6dc4d 100644 --- a/serverless-workflow-examples/serverless-workflow-temperature-conversion/subtraction-service/src/test/java/org/kie/kogito/examples/sw/temp/subtraction/OperationResourceIT.java +++ b/serverless-workflow-examples/serverless-workflow-temperature-conversion/subtraction-service/src/test/java/org/kie/kogito/examples/sw/temp/subtraction/OperationResourceIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples.sw.temp.subtraction; 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..46f55466bf 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 @@ -1,4 +1,24 @@ + diff --git a/serverless-workflow-examples/serverless-workflow-testing-with-rest-assured/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-testing-with-rest-assured/src/main/resources/application.properties index 4c6da73b47..73f781ddaa 100644 --- a/serverless-workflow-examples/serverless-workflow-testing-with-rest-assured/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-testing-with-rest-assured/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # profile to pack this example into a container, to use it execute activate the maven container profile, -Dcontainer %container.quarkus.container-image.build=true %container.quarkus.container-image.push=false diff --git a/serverless-workflow-examples/serverless-workflow-testing-with-rest-assured/src/test/java/org/kie/kogito/examples/HelloTest.java b/serverless-workflow-examples/serverless-workflow-testing-with-rest-assured/src/test/java/org/kie/kogito/examples/HelloTest.java index 81cb0dd2d8..15f1c6a1c8 100644 --- a/serverless-workflow-examples/serverless-workflow-testing-with-rest-assured/src/test/java/org/kie/kogito/examples/HelloTest.java +++ b/serverless-workflow-examples/serverless-workflow-testing-with-rest-assured/src/test/java/org/kie/kogito/examples/HelloTest.java @@ -1,17 +1,20 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; 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..4a71bb51dc 100644 --- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 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..3a5d73b35a 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 @@ -1,19 +1,21 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; import java.net.URI; 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..dbc0a78da4 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,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.kie.kogito.examples; import javax.enterprise.context.ApplicationScoped; diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/src/main/resources/META-INF/resources/index.html b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/src/main/resources/META-INF/resources/index.html index 1e6f54d4d8..925abda0a3 100644 --- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/src/main/resources/META-INF/resources/index.html +++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/src/main/resources/META-INF/resources/index.html @@ -1,19 +1,23 @@ + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/src/main/resources/application-knative.properties b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/src/main/resources/application-knative.properties index 264df265a2..e1d4ee9abe 100644 --- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/src/main/resources/application-knative.properties +++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/src/main/resources/application-knative.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Use the Kogito service discovery mechanism to get the current service url. # For more information see: https://kiegroup.github.io/kogito-docs/serverlessworkflow/latest/cloud/kubernetes-service-discovery.html kogito.service.url=${knative:services.v1.serving.knative.dev/default/timeouts-showcase-embedded} diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/src/main/resources/application.properties index 1218b4f358..f1964662d4 100644 --- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + quarkus.http.port=8080 kogito.service.url=http://localhost:${quarkus.http.port} diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/src/test/java/org/kie/kogito/examples/TimeoutIT.java b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/src/test/java/org/kie/kogito/examples/TimeoutIT.java index 5ae15d321a..edaff888be 100644 --- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/src/test/java/org/kie/kogito/examples/TimeoutIT.java +++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/src/test/java/org/kie/kogito/examples/TimeoutIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/kubernetes/data-index-service-postgresql.yml b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/kubernetes/data-index-service-postgresql.yml index d0dc4c87f0..5d3d5bb303 100644 --- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/kubernetes/data-index-service-postgresql.yml +++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/kubernetes/data-index-service-postgresql.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: v1 kind: Service metadata: diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/kubernetes/jobs-service-postgresql.yml b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/kubernetes/jobs-service-postgresql.yml index 6f4d060e01..8efa6fe0ac 100644 --- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/kubernetes/jobs-service-postgresql.yml +++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/kubernetes/jobs-service-postgresql.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: eventing.knative.dev/v1 kind: Broker metadata: diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/kubernetes/timeouts-showcase-database.yml b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/kubernetes/timeouts-showcase-database.yml index bc2f5ab072..c3917811d0 100644 --- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/kubernetes/timeouts-showcase-database.yml +++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/kubernetes/timeouts-showcase-database.yml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Deployment for the timeouts-showcase postgresql database apiVersion: v1 data: 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..23310b9138 100644 --- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/pom.xml @@ -1,4 +1,24 @@ + 4.0.0 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..b0e5df59b6 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 @@ -1,19 +1,21 @@ /* - * Copyright 2021 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; import java.net.URI; 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..dbc0a78da4 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,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.kie.kogito.examples; import javax.enterprise.context.ApplicationScoped; diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/src/main/resources/META-INF/resources/index.html b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/src/main/resources/META-INF/resources/index.html index 5aab9589f7..75380c58ef 100644 --- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/src/main/resources/META-INF/resources/index.html +++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/src/main/resources/META-INF/resources/index.html @@ -1,19 +1,23 @@ + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/src/main/resources/application-knative.properties b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/src/main/resources/application-knative.properties index 67e700c269..df944e57b4 100644 --- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/src/main/resources/application-knative.properties +++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/src/main/resources/application-knative.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Kogito runtime persistence configurations kogito.persistence.type=jdbc kogito.persistence.proto.marshaller=false diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/src/main/resources/application.properties index a992929322..51bcda8c6f 100644 --- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + quarkus.http.port=8080 kogito.service.url=http://localhost:${quarkus.http.port} diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/src/test/java/org/kie/kogito/examples/TimeoutIT.java b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/src/test/java/org/kie/kogito/examples/TimeoutIT.java index 5ae15d321a..edaff888be 100644 --- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/src/test/java/org/kie/kogito/examples/TimeoutIT.java +++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/src/test/java/org/kie/kogito/examples/TimeoutIT.java @@ -1,17 +1,20 @@ /* - * Copyright 2022 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; 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..63882313b7 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 @@ -1,4 +1,24 @@ + 4.0.0 diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/set-urls.sh b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/set-urls.sh index 75db2f48af..bf4b661f2b 100755 --- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/set-urls.sh +++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/set-urls.sh @@ -1,4 +1,23 @@ #!/bin/bash +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + CALLBACK_STATE_TIMEOUTS_WF=callbackstatetimeouts EVENT_STATE_TIMEOUTS_WF=eventstatetimeouts 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..5e7ca7d494 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 @@ -1,19 +1,21 @@ /* - * Copyright 2023 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; import org.eclipse.microprofile.rest.client.inject.RegisterRestClient; 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..ee2550189f 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 @@ -1,19 +1,21 @@ /* - * Copyright 2023 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; import com.fasterxml.jackson.databind.ObjectMapper; 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..305193972a 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 @@ -1,19 +1,21 @@ /* - * Copyright 2023 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; import org.eclipse.microprofile.rest.client.inject.RegisterRestClient; 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..5e11a690b2 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 @@ -1,19 +1,21 @@ /* - * Copyright 2023 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; import com.fasterxml.jackson.core.JsonProcessingException; 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..504839eb4e 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 @@ -1,19 +1,21 @@ /* - * Copyright 2023 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; import org.eclipse.microprofile.rest.client.inject.RegisterRestClient; 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..dbc0a78da4 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 @@ -1,19 +1,21 @@ /* - * Copyright 2023 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; import javax.enterprise.context.ApplicationScoped; 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..dddedcf4e9 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 @@ -1,19 +1,21 @@ /* - * Copyright 2023 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; import org.eclipse.microprofile.rest.client.annotation.ClientHeaderParam; 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..1342439937 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 @@ -1,19 +1,21 @@ /* - * Copyright 2023 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; import org.eclipse.microprofile.rest.client.inject.RegisterRestClient; 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..c0fad115f3 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 @@ -1,19 +1,21 @@ /* - * Copyright 2023 Red Hat, Inc. and/or its affiliates. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * 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 * - * 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. + * 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.examples; import org.eclipse.microprofile.rest.client.inject.RestClient; diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/resources/META-INF/resources/index.html b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/resources/META-INF/resources/index.html index a7e95b5772..175e9b2b2d 100644 --- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/resources/META-INF/resources/index.html +++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/resources/META-INF/resources/index.html @@ -1,19 +1,23 @@ + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/resources/application-kubernetes.properties b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/resources/application-kubernetes.properties index 8d89ab040b..aea54f8809 100644 --- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/resources/application-kubernetes.properties +++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/resources/application-kubernetes.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Local dns service names in the format ..svc.cluster.local are ok for this example UI, # since invocations to the SWs occurs within the cluster by design. quarkus.rest-client.callback_state_timeouts.url=http://callbackstatetimeouts.timeouts-showcase.svc.cluster.local diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/resources/application.properties index e3ae771abd..0fa9072386 100644 --- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/src/main/resources/application.properties @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + quarkus.http.port=8080 quarkus.http.cors=true diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/workflows/callback_state_timeouts_devprofile.yaml b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/workflows/callback_state_timeouts_devprofile.yaml index fc663b934c..6eb965a5de 100644 --- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/workflows/callback_state_timeouts_devprofile.yaml +++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/workflows/callback_state_timeouts_devprofile.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: sonataflow.org/v1alpha08 kind: SonataFlow metadata: diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/workflows/event_state_timeouts_devprofile.yaml b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/workflows/event_state_timeouts_devprofile.yaml index 18f9c7791a..9a18415374 100644 --- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/workflows/event_state_timeouts_devprofile.yaml +++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/workflows/event_state_timeouts_devprofile.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: sonataflow.org/v1alpha08 kind: SonataFlow metadata: diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/workflows/switch_state_timeouts_devprofile.yaml b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/workflows/switch_state_timeouts_devprofile.yaml index 80c8418a48..eaa4f78bb6 100644 --- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/workflows/switch_state_timeouts_devprofile.yaml +++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/workflows/switch_state_timeouts_devprofile.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: sonataflow.org/v1alpha08 kind: SonataFlow metadata: diff --git a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/workflows/workflow_timeouts_devprofile.yaml b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/workflows/workflow_timeouts_devprofile.yaml index 1563da4db1..e2e55de331 100644 --- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/workflows/workflow_timeouts_devprofile.yaml +++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-operator-devprofile/workflows/workflow_timeouts_devprofile.yaml @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + apiVersion: sonataflow.org/v1alpha08 kind: SonataFlow metadata: From 817517e426d1cedab097412906bacc3275d3a680 Mon Sep 17 00:00:00 2001 From: Enrique Date: Wed, 18 Oct 2023 19:28:06 +0200 Subject: [PATCH 02/10] [kie-issues-249] Data Index Events changes for allowing historical data (#1815) * [kie-issues-249] Data Index Events changes for allowing historical data * fix tests * add some logging for messages * test loggers * fix for input1 in user tasks --- .../kie/kogito/quarkus/outbox/OutboxIT.java | 33 +++++++++++-------- .../performance/client/KafkaDispatcher.java | 4 +-- .../usertasks/CustomHumanTaskLifeCycle.java | 7 ++-- .../kogito/springboot/outbox/OutboxIT.java | 32 ++++++++++-------- .../usertasks/CustomHumanTaskLifeCycle.java | 7 ++-- 5 files changed, 47 insertions(+), 36 deletions(-) diff --git a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/test/java/org/kie/kogito/quarkus/outbox/OutboxIT.java b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/test/java/org/kie/kogito/quarkus/outbox/OutboxIT.java index 35b77ce25c..d1557806da 100644 --- a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/test/java/org/kie/kogito/quarkus/outbox/OutboxIT.java +++ b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/test/java/org/kie/kogito/quarkus/outbox/OutboxIT.java @@ -57,7 +57,6 @@ public class OutboxIT { private static final String PROCESS_EVENTS_TOPIC = "kogito-processinstances-events"; private static final String USERTASK_EVENTS_TOPIC = "kogito-usertaskinstances-events"; - private static final String VARIABLE_EVENTS_TOPIC = "kogito-variables-events"; private static final int KOGITO_PORT = 8080; private static final int KAFKA_PORT = 9092; private static final int DEBEZIUM_PORT = 8083; @@ -156,18 +155,25 @@ public void testSendProcessEvents() throws InterruptedException { CountDownLatch processEventCounter = new CountDownLatch(2); CountDownLatch userTaskEventCounter = new CountDownLatch(1); kafkaClient.consume(Set.of(PROCESS_EVENTS_TOPIC, USERTASK_EVENTS_TOPIC), message -> { + LOGGER.info("ProcessInstanceVariableDataEvent: {}", message); String type = JsonPath.read(message, "$.type"); - if ("ProcessInstanceEvent".equals(type)) { - String orderNumber = JsonPath.read(message, "$.data.variables.order.orderNumber"); - boolean shipped = JsonPath.read(message, "$.data.variables.order.shipped"); - if ("23570".equals(orderNumber) && !shipped) { - processEventCounter.countDown(); + if ("ProcessInstanceVariableDataEvent".equals(type)) { + String varName = JsonPath.read(message, "$.data.variableName"); + if ("order".equals(varName)) { + String orderNumber = JsonPath.read(message, "$.data.variableValue.orderNumber"); + boolean shipped = JsonPath.read(message, "$.data.variableValue.shipped"); + if ("23570".equals(orderNumber) && !shipped) { + processEventCounter.countDown(); + } } - } else if ("UserTaskInstanceEvent".equals(type)) { - String orderNumber = JsonPath.read(message, "$.data.inputs.input1.orderNumber"); - boolean shipped = JsonPath.read(message, "$.data.inputs.input1.shipped"); - if ("23570".equals(orderNumber) && !shipped) { - userTaskEventCounter.countDown(); + } else if ("UserTaskInstanceVariableDataEvent".equals(type)) { + String varName = JsonPath.read(message, "$.data.variableName"); + if ("input1".equals(varName)) { + String orderNumber = JsonPath.read(message, "$.data.variableValue.orderNumber"); + boolean shipped = JsonPath.read(message, "$.data.variableValue.shipped"); + if ("23570".equals(orderNumber) && !shipped) { + userTaskEventCounter.countDown(); + } } } }); @@ -195,11 +201,12 @@ public void testSendProcessEvents() throws InterruptedException { .get("/connectors/{connector}/topics") .then() .statusCode(200) - .body("kogito-connector.topics", hasSize(3)) - .body("kogito-connector.topics", hasItems(PROCESS_EVENTS_TOPIC, USERTASK_EVENTS_TOPIC, VARIABLE_EVENTS_TOPIC))); + .body("kogito-connector.topics", hasSize(2)) + .body("kogito-connector.topics", hasItems(PROCESS_EVENTS_TOPIC, USERTASK_EVENTS_TOPIC))); // Check process events pushed assertTrue(processEventCounter.await(TIMEOUT.getSeconds(), TimeUnit.SECONDS)); + assertTrue(userTaskEventCounter.await(TIMEOUT.getSeconds(), TimeUnit.SECONDS)); } } diff --git a/kogito-quarkus-examples/process-performance-client/src/main/java/org/kie/kogito/performance/client/KafkaDispatcher.java b/kogito-quarkus-examples/process-performance-client/src/main/java/org/kie/kogito/performance/client/KafkaDispatcher.java index 6355ffba13..119cdc3f40 100644 --- a/kogito-quarkus-examples/process-performance-client/src/main/java/org/kie/kogito/performance/client/KafkaDispatcher.java +++ b/kogito-quarkus-examples/process-performance-client/src/main/java/org/kie/kogito/performance/client/KafkaDispatcher.java @@ -26,7 +26,7 @@ import org.apache.kafka.clients.producer.ProducerConfig; import org.apache.kafka.clients.producer.ProducerRecord; import org.apache.kafka.common.serialization.ByteArraySerializer; -import org.kie.kogito.event.process.ProcessDataEvent; +import org.kie.kogito.event.process.ProcessInstanceDataEvent; import org.kie.kogito.jackson.utils.ObjectMapperFactory; import com.fasterxml.jackson.core.JsonProcessingException; @@ -34,7 +34,7 @@ public class KafkaDispatcher implements RequestDispatcher { - private class ObjectCloudEvent extends ProcessDataEvent { + private class ObjectCloudEvent extends ProcessInstanceDataEvent { public ObjectCloudEvent(String trigger, Object data) { super(trigger, "java_client", data, null, null, null, null, null, null, null, null, null, null, null); } diff --git a/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/src/main/java/org/acme/travels/usertasks/CustomHumanTaskLifeCycle.java b/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/src/main/java/org/acme/travels/usertasks/CustomHumanTaskLifeCycle.java index 0265dcea72..c83b80302c 100644 --- a/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/src/main/java/org/acme/travels/usertasks/CustomHumanTaskLifeCycle.java +++ b/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/src/main/java/org/acme/travels/usertasks/CustomHumanTaskLifeCycle.java @@ -23,7 +23,7 @@ import java.util.Map; import org.jbpm.process.instance.impl.humantask.BaseHumanTaskLifeCycle; -import org.jbpm.process.instance.impl.humantask.HumanTaskWorkItemImpl; +import org.jbpm.process.instance.impl.humantask.InternalHumanTaskWorkItem; import org.jbpm.process.instance.impl.humantask.phases.Claim; import org.jbpm.process.instance.impl.humantask.phases.Release; import org.jbpm.process.instance.impl.humantask.phases.Skip; @@ -104,7 +104,7 @@ public Map transitionTo(KogitoWorkItem workItem, KogitoWorkItemM logger.debug("Transition method invoked for work item {} to transition to {}, currently in phase {} and status {}", workItem.getStringId(), transition.phase(), workItem.getPhaseId(), workItem.getPhaseStatus()); - HumanTaskWorkItemImpl humanTaskWorkItem = (HumanTaskWorkItemImpl) workItem; + InternalHumanTaskWorkItem humanTaskWorkItem = (InternalHumanTaskWorkItem) workItem; LifeCyclePhase targetPhase = phases.get(transition.phase()); if (targetPhase == null) { @@ -144,7 +144,6 @@ public Map transitionTo(KogitoWorkItem workItem, KogitoWorkItemM @Override public Map data(KogitoWorkItem workItem) { - - return ((HumanTaskWorkItemImpl) workItem).getResults(); + return ((InternalHumanTaskWorkItem) workItem).getResults(); } } diff --git a/kogito-springboot-examples/process-outbox-mongodb-springboot/src/test/java/org/kie/kogito/springboot/outbox/OutboxIT.java b/kogito-springboot-examples/process-outbox-mongodb-springboot/src/test/java/org/kie/kogito/springboot/outbox/OutboxIT.java index 0aea63a4bd..e11f31ef38 100644 --- a/kogito-springboot-examples/process-outbox-mongodb-springboot/src/test/java/org/kie/kogito/springboot/outbox/OutboxIT.java +++ b/kogito-springboot-examples/process-outbox-mongodb-springboot/src/test/java/org/kie/kogito/springboot/outbox/OutboxIT.java @@ -57,7 +57,6 @@ public class OutboxIT { private static final String PROCESS_EVENTS_TOPIC = "kogito-processinstances-events"; private static final String USERTASK_EVENTS_TOPIC = "kogito-usertaskinstances-events"; - private static final String VARIABLE_EVENTS_TOPIC = "kogito-variables-events"; private static final int KOGITO_PORT = 8080; private static final int KAFKA_PORT = 9092; private static final int DEBEZIUM_PORT = 8083; @@ -156,18 +155,25 @@ public void testSendProcessEvents() throws InterruptedException { CountDownLatch processEventCounter = new CountDownLatch(2); CountDownLatch userTaskEventCounter = new CountDownLatch(1); kafkaClient.consume(Set.of(PROCESS_EVENTS_TOPIC, USERTASK_EVENTS_TOPIC), message -> { + LOGGER.info("ProcessInstanceVariableDataEvent: {}", message); String type = JsonPath.read(message, "$.type"); - if ("ProcessInstanceEvent".equals(type)) { - String orderNumber = JsonPath.read(message, "$.data.variables.order.orderNumber"); - boolean shipped = JsonPath.read(message, "$.data.variables.order.shipped"); - if ("23570".equals(orderNumber) && !shipped) { - processEventCounter.countDown(); + if ("ProcessInstanceVariableDataEvent".equals(type)) { + String varName = JsonPath.read(message, "$.data.variableName"); + if ("order".equals(varName)) { + String orderNumber = JsonPath.read(message, "$.data.variableValue.orderNumber"); + boolean shipped = JsonPath.read(message, "$.data.variableValue.shipped"); + if ("23570".equals(orderNumber) && !shipped) { + processEventCounter.countDown(); + } } - } else if ("UserTaskInstanceEvent".equals(type)) { - String orderNumber = JsonPath.read(message, "$.data.inputs.input1.orderNumber"); - boolean shipped = JsonPath.read(message, "$.data.inputs.input1.shipped"); - if ("23570".equals(orderNumber) && !shipped) { - userTaskEventCounter.countDown(); + } else if ("UserTaskInstanceVariableDataEvent".equals(type)) { + String varName = JsonPath.read(message, "$.data.variableName"); + if ("input1".equals(varName)) { + String orderNumber = JsonPath.read(message, "$.data.variableValue.orderNumber"); + boolean shipped = JsonPath.read(message, "$.data.variableValue.shipped"); + if ("23570".equals(orderNumber) && !shipped) { + userTaskEventCounter.countDown(); + } } } }); @@ -195,8 +201,8 @@ public void testSendProcessEvents() throws InterruptedException { .get("/connectors/{connector}/topics") .then() .statusCode(200) - .body("kogito-connector.topics", hasSize(3)) - .body("kogito-connector.topics", hasItems(PROCESS_EVENTS_TOPIC, USERTASK_EVENTS_TOPIC, VARIABLE_EVENTS_TOPIC))); + .body("kogito-connector.topics", hasSize(2)) + .body("kogito-connector.topics", hasItems(PROCESS_EVENTS_TOPIC, USERTASK_EVENTS_TOPIC))); // Check process events pushed assertTrue(processEventCounter.await(TIMEOUT.getSeconds(), TimeUnit.SECONDS)); diff --git a/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/src/main/java/org/acme/travels/usertasks/CustomHumanTaskLifeCycle.java b/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/src/main/java/org/acme/travels/usertasks/CustomHumanTaskLifeCycle.java index 49c51e05e5..d5c0715617 100644 --- a/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/src/main/java/org/acme/travels/usertasks/CustomHumanTaskLifeCycle.java +++ b/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/src/main/java/org/acme/travels/usertasks/CustomHumanTaskLifeCycle.java @@ -23,7 +23,7 @@ import java.util.Map; import org.jbpm.process.instance.impl.humantask.BaseHumanTaskLifeCycle; -import org.jbpm.process.instance.impl.humantask.HumanTaskWorkItemImpl; +import org.jbpm.process.instance.impl.humantask.InternalHumanTaskWorkItem; import org.jbpm.process.instance.impl.humantask.phases.Claim; import org.jbpm.process.instance.impl.humantask.phases.Release; import org.jbpm.process.instance.impl.humantask.phases.Skip; @@ -104,7 +104,7 @@ public Map transitionTo(KogitoWorkItem workItem, KogitoWorkItemM logger.debug("Transition method invoked for work item {} to transition to {}, currently in phase {} and status {}", workItem.getStringId(), transition.phase(), workItem.getPhaseId(), workItem.getPhaseStatus()); - HumanTaskWorkItemImpl humanTaskWorkItem = (HumanTaskWorkItemImpl) workItem; + InternalHumanTaskWorkItem humanTaskWorkItem = (InternalHumanTaskWorkItem) workItem; LifeCyclePhase targetPhase = phases.get(transition.phase()); if (targetPhase == null) { @@ -144,7 +144,6 @@ public Map transitionTo(KogitoWorkItem workItem, KogitoWorkItemM @Override public Map data(KogitoWorkItem workItem) { - - return ((HumanTaskWorkItemImpl) workItem).getResults(); + return ((InternalHumanTaskWorkItem) workItem).getResults(); } } From 31e99479ed4e55a3bb44146b18c83e290ff394b9 Mon Sep 17 00:00:00 2001 From: Alex Porcelli Date: Thu, 26 Oct 2023 10:56:00 -0400 Subject: [PATCH 03/10] quarkus 2.16.12.Final bump (#1818) --- .../quarkus-3/patches/0001_before_sh.patch | 212 +++++++++--------- .../decisiontable-quarkus-example/pom.xml | 2 +- .../dmn-drools-quarkus-metrics/pom.xml | 2 +- .../dmn-event-driven-quarkus/pom.xml | 2 +- .../dmn-incubation-api-quarkus/pom.xml | 2 +- .../dmn-knative-quickstart-quarkus/pom.xml | 2 +- .../dmn-listener-dtable/pom.xml | 2 +- .../dmn-listener-quarkus/pom.xml | 2 +- .../dmn-pmml-quarkus-example/pom.xml | 2 +- .../dmn-quarkus-example/pom.xml | 2 +- .../dmn-tracing-quarkus/pom.xml | 2 +- .../flexible-process-quarkus/pom.xml | 2 +- .../kogito-travel-agency/basic/pom.xml | 2 +- .../kogito-travel-agency/extended/pom.xml | 2 +- .../extended/travels/pom.xml | 2 +- .../extended/visas/pom.xml | 2 +- .../kogito-travel-agency/pom.xml | 2 +- .../onboarding-example/payroll/pom.xml | 2 +- .../onboarding-example/pom.xml | 2 +- .../pmml-event-driven-quarkus/pom.xml | 2 +- .../pmml-incubation-api-quarkus/pom.xml | 2 +- .../pmml-quarkus-example/pom.xml | 2 +- .../process-business-rules-quarkus/pom.xml | 2 +- .../process-decisions-quarkus/pom.xml | 2 +- .../process-decisions-rest-quarkus/pom.xml | 2 +- .../process-decisions-rules-quarkus/pom.xml | 2 +- .../process-error-handling/pom.xml | 2 +- .../process-incubation-api-quarkus/pom.xml | 2 +- .../pom.xml | 2 +- .../process-kafka-avro-multi-quarkus/pom.xml | 2 +- .../process-kafka-multi-quarkus/pom.xml | 2 +- .../process-kafka-persistence-quarkus/pom.xml | 2 +- .../process-kafka-quickstart-quarkus/pom.xml | 2 +- .../pom.xml | 2 +- .../pom.xml | 2 +- .../process-monitoring-quarkus/pom.xml | 2 +- .../process-outbox-mongodb-quarkus/pom.xml | 2 +- .../process-performance-client/pom.xml | 2 +- .../process-performance-quarkus/pom.xml | 2 +- .../pom.xml | 2 +- .../process-quarkus-example/pom.xml | 2 +- .../process-rest-service-call-quarkus/pom.xml | 2 +- .../pom.xml | 2 +- .../process-rest-workitem-quarkus/pom.xml | 2 +- .../process-saga-quarkus/pom.xml | 2 +- .../process-scripts-quarkus/pom.xml | 2 +- .../process-service-calls-quarkus/pom.xml | 2 +- .../process-timer-quarkus/pom.xml | 2 +- .../pom.xml | 2 +- .../pom.xml | 2 +- .../process-usertasks-quarkus/pom.xml | 2 +- .../pom.xml | 2 +- .../pom.xml | 2 +- .../pom.xml | 2 +- .../pom.xml | 2 +- .../rules-incubation-api-quarkus/pom.xml | 2 +- .../rules-legacy-quarkus-example/pom.xml | 2 +- .../rules-quarkus-helloworld/pom.xml | 2 +- .../ruleunit-event-driven-quarkus/pom.xml | 2 +- .../ruleunit-quarkus-example/pom.xml | 2 +- .../pom.xml | 2 +- .../pom.xml | 2 +- .../callback-event-service/pom.xml | 2 +- .../callback-workflow/pom.xml | 2 +- .../pom.xml | 2 +- .../serverless-workflow-camel-routes/pom.xml | 2 +- .../pom.xml | 2 +- .../pom.xml | 2 +- .../pom.xml | 2 +- .../custom-function-knative-service/pom.xml | 2 +- .../workflow/pom.xml | 2 +- .../serverless-workflow-custom-type/pom.xml | 2 +- .../pom.xml | 2 +- .../serverless-workflow-error-quarkus/pom.xml | 2 +- .../pom.xml | 2 +- .../pom.xml | 2 +- .../pom.xml | 2 +- .../pom.xml | 2 +- .../pom.xml | 2 +- .../sw-funqy-services/pom.xml | 2 +- .../sw-funqy-workflow/pom.xml | 2 +- .../pom.xml | 2 +- .../pom.xml | 2 +- .../serverless-workflow-hello-world/pom.xml | 2 +- .../pom.xml | 2 +- .../pom.xml | 2 +- .../acme-financial-service/pom.xml | 2 +- .../currency-exchange-workflow/pom.xml | 2 +- .../pom.xml | 2 +- .../pom.xml | 2 +- .../pom.xml | 2 +- .../pom.xml | 2 +- .../query-answer-service/pom.xml | 2 +- .../query-service/pom.xml | 2 +- .../serverless-workflow-saga-quarkus/pom.xml | 2 +- .../pom.xml | 2 +- .../serverless-workflow-stock-profit/pom.xml | 2 +- .../conversion-workflow-full/pom.xml | 2 +- .../conversion-workflow-function/pom.xml | 2 +- .../conversion-workflow-spec/pom.xml | 2 +- .../conversion-workflow/pom.xml | 2 +- .../multiplication-service/pom.xml | 2 +- .../subtraction-service/pom.xml | 2 +- .../pom.xml | 2 +- .../pom.xml | 2 +- .../pom.xml | 2 +- .../pom.xml | 2 +- 107 files changed, 212 insertions(+), 212 deletions(-) diff --git a/.ci/environments/quarkus-3/patches/0001_before_sh.patch b/.ci/environments/quarkus-3/patches/0001_before_sh.patch index 11ffbf329c..046a753823 100644 --- a/.ci/environments/quarkus-3/patches/0001_before_sh.patch +++ b/.ci/environments/quarkus-3/patches/0001_before_sh.patch @@ -10,7 +10,7 @@ index 92e822874..08583b0b5 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -51,7 +51,7 @@ index 5edc5ee79..fe2725438 100755 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -104,7 +104,7 @@ index f494fc03e..d06bbbd1e 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -143,7 +143,7 @@ index c5abbd378..50ee80ba3 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -189,7 +189,7 @@ index 52abe49c3..9d413db17 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -225,7 +225,7 @@ index 8b3abdb38..9cfc58da5 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -289,7 +289,7 @@ index df719ac5b..4041c807a 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -380,7 +380,7 @@ index 2b502a045..a5dd0e6de 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -467,7 +467,7 @@ index 38ccc0370..93aaf6ce2 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -506,7 +506,7 @@ index 07fc0c4ce..0eb1f4f7e 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -545,7 +545,7 @@ index f59b52e1f..a06c67d3b 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -607,7 +607,7 @@ index ed8b1ecb5..cf2f43d32 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -716,7 +716,7 @@ index c95c81251..6040d3fe5 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final @@ -733,7 +733,7 @@ index 374e4df4b..b5e351b15 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -901,7 +901,7 @@ index 8e8342f2a..116a1b614 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -961,7 +961,7 @@ index 57f6d1b31..8b8ccd73f 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final @@ -1060,7 +1060,7 @@ index dc3a6cfa0..ee41039b3 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final @@ -1077,7 +1077,7 @@ index 0c349c8b1..01038a7d7 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -1100,7 +1100,7 @@ index 04ad43e09..78d159362 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -1123,7 +1123,7 @@ index 4a930255b..e82901bca 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -1169,7 +1169,7 @@ index 40fb97a02..39fa0424e 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -1256,7 +1256,7 @@ index d20e8e4f8..64f0ff6ec 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -1294,7 +1294,7 @@ index d13f21a70..4053e229d 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -1345,7 +1345,7 @@ index 852e7997b..0a53fcee5 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -1468,7 +1468,7 @@ index d80e3fe23..8b4a25a4c 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -1519,7 +1519,7 @@ index a8ea2e0d9..72cdc45de 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -1570,7 +1570,7 @@ index bddd25ce0..32bcae41e 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -1616,7 +1616,7 @@ index fdecf09f8..a2ad322c2 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -1655,7 +1655,7 @@ index 2473da2ba..955f1baa0 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -1723,7 +1723,7 @@ index 3fa03011a..bc665ceb1 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -1746,7 +1746,7 @@ index c0d02b120..3192692c4 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -1787,7 +1787,7 @@ index 294e08f52..bc6755b0a 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -1810,7 +1810,7 @@ index 5d32855e6..622713d78 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -1846,7 +1846,7 @@ index 094560f07..3fcb22315 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -1885,7 +1885,7 @@ index 1669a3fdf..34d9aba07 100755 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -1952,7 +1952,7 @@ index 47aa6727e..e956fb11c 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -1988,7 +1988,7 @@ index 99cf83fa0..f15550c51 100755 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -2011,7 +2011,7 @@ index 0d527b438..541bac1c4 100755 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -2034,7 +2034,7 @@ index 9068e217f..6f9a91b80 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -2057,7 +2057,7 @@ index 828f07f1f..00bb4ba37 100755 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -2153,7 +2153,7 @@ index f15c86c1e..c73f6ca0c 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -2247,7 +2247,7 @@ index a0cdb5918..4706ea592 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -2322,7 +2322,7 @@ index 70c6af42c..cd47ab411 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -2392,7 +2392,7 @@ index 1cf320103..7f8d2ec98 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -2486,7 +2486,7 @@ index 8515e4db6..1dc334ce4 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -2524,7 +2524,7 @@ index 8c439f235..4cd92aa14 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -2629,7 +2629,7 @@ index 32533e090..8ce39248d 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -2652,7 +2652,7 @@ index 50dffbd7f..517163a3f 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -2703,7 +2703,7 @@ index d0a90b39a..d71f4c641 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -2741,7 +2741,7 @@ index 912b40335..9f9b6ed9a 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -2779,7 +2779,7 @@ index d2f060946..ddcf8411a 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -2817,7 +2817,7 @@ index 85006df8d..803c65497 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -2871,7 +2871,7 @@ index f6b393614..f9a18ee81 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -2925,7 +2925,7 @@ index 6f84b3d3e..06f3bffcf 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -2963,7 +2963,7 @@ index 75331b945..9231e0389 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -3009,7 +3009,7 @@ index 3b0a40983..5297b4716 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -3071,7 +3071,7 @@ index 3f593a155..1c41a3b0c 100755 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -3120,7 +3120,7 @@ index d04d83799..e845249aa 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -3143,7 +3143,7 @@ index 8093fb0f0..364cbbb74 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -3182,7 +3182,7 @@ index 90831591a..426d43584 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -3803,7 +3803,7 @@ index 13129a50a..a0b3ebde7 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final 3.22.0 org.kie.kogito @@ -3825,7 +3825,7 @@ index 4e4602148..6f4e3d857 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -3885,7 +3885,7 @@ index 76a5fd018..a20b704ed 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -3906,7 +3906,7 @@ index 2f1c84d57..4dbcc325b 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -3942,7 +3942,7 @@ index 519234897..05e2b0dd8 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -3971,7 +3971,7 @@ index 480206687..015d82784 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -3992,7 +3992,7 @@ index 4cc5b957b..15d303eec 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -4013,7 +4013,7 @@ index 4cb87747c..f67a88ec0 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -4072,7 +4072,7 @@ index bb232125f..ceedd0272 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -4093,7 +4093,7 @@ index a92ad9e89..94b538fb1 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -4114,7 +4114,7 @@ index 519f3d236..43270cc84 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -4166,7 +4166,7 @@ index b7b0a4ada..2e0b986da 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -4202,7 +4202,7 @@ index f4f65c528..17baa4d8a 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -4236,7 +4236,7 @@ index 874e192c9..7379a037a 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -4352,7 +4352,7 @@ index d866929bf..2144e8b6b 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -4373,7 +4373,7 @@ index 781162a98..dffac3171 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -4394,7 +4394,7 @@ index 9424dc1b5..1d43def93 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -4531,7 +4531,7 @@ index 35c91d68b..a4136e6f8 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -4589,7 +4589,7 @@ index cda3b7296..011e97147 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final 3.8.1 11 @@ -4684,7 +4684,7 @@ index f651b169d..f72762b0b 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -4705,7 +4705,7 @@ index 7ac2e39db..738e86c3f 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -4726,7 +4726,7 @@ index 8c6563339..707894ba9 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -4769,7 +4769,7 @@ index 12e44987a..a2eeb214a 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -5060,7 +5060,7 @@ index efd654500..368067c17 100644 + 3.0.0.Final io.quarkus quarkus-bom -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -5090,7 +5090,7 @@ index 2e08e9a86..d9f50f983 100644 + 3.0.0.Final io.quarkus quarkus-bom -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -5237,7 +5237,7 @@ index cdda9bb4f..dd69b0cc3 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -5309,7 +5309,7 @@ index e0132a7d4..b7f310a7f 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -5343,7 +5343,7 @@ index f9f8962f0..e3016358b 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -5364,7 +5364,7 @@ index 101b80b76..77a15e8cf 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -5398,7 +5398,7 @@ index f8d635e57..16804f95a 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -5421,7 +5421,7 @@ index 850e11d5b..162da1ab5 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -5442,7 +5442,7 @@ index 1ec7e7629..4152dd1c4 100644 + 3.0.0.Final io.quarkus quarkus-bom -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -5547,7 +5547,7 @@ index 322691ea6..4b6b3b701 100644 + 3.0.0.Final io.quarkus quarkus-bom -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -5646,7 +5646,7 @@ index ddc08d91b..4fcd0924a 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -5738,7 +5738,7 @@ index d15fe8e64..8b3f1d9d3 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -5812,7 +5812,7 @@ index 730e56f86..d7531a2f2 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -5873,7 +5873,7 @@ index f3ee8d2f9..d1e45b1ff 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -5894,7 +5894,7 @@ index a0a03fe0b..e7f5ac799 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -5915,7 +5915,7 @@ index 8db50c271..9e56146b4 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -5936,7 +5936,7 @@ index 29686f3ca..1a4352b34 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -5957,7 +5957,7 @@ index 5d9b652af..7f0331124 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final 3.8.1 11 @@ -5999,7 +5999,7 @@ index 50157e0d9..33bb58bbc 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final 3.8.1 11 @@ -6041,7 +6041,7 @@ index 29a3d7a38..57f37d0a2 100644 + 3.0.0.Final quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -6058,7 +6058,7 @@ index 9ecc52d5a..d8a9582be 100644 UTF-8 quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -6118,7 +6118,7 @@ index 1d26d223f..bb27a5aa8 100644 UTF-8 quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom @@ -6180,7 +6180,7 @@ index d4cc05f68..600c3e642 100644 UTF-8 quarkus-bom io.quarkus -- 2.16.10.Final +- 2.16.12.Final + 3.0.0.Final org.kie.kogito kogito-bom diff --git a/kogito-quarkus-examples/decisiontable-quarkus-example/pom.xml b/kogito-quarkus-examples/decisiontable-quarkus-example/pom.xml index 78690aa93e..63c3615204 100644 --- a/kogito-quarkus-examples/decisiontable-quarkus-example/pom.xml +++ b/kogito-quarkus-examples/decisiontable-quarkus-example/pom.xml @@ -33,7 +33,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/pom.xml b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/pom.xml index cca7db1d12..83c508d917 100755 --- a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/pom.xml +++ b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/pom.xml @@ -33,7 +33,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/dmn-event-driven-quarkus/pom.xml b/kogito-quarkus-examples/dmn-event-driven-quarkus/pom.xml index 1dad814a28..85be154075 100644 --- a/kogito-quarkus-examples/dmn-event-driven-quarkus/pom.xml +++ b/kogito-quarkus-examples/dmn-event-driven-quarkus/pom.xml @@ -35,7 +35,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/dmn-incubation-api-quarkus/pom.xml b/kogito-quarkus-examples/dmn-incubation-api-quarkus/pom.xml index d2b9fd1f82..96fbbc69a0 100644 --- a/kogito-quarkus-examples/dmn-incubation-api-quarkus/pom.xml +++ b/kogito-quarkus-examples/dmn-incubation-api-quarkus/pom.xml @@ -33,7 +33,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/dmn-knative-quickstart-quarkus/pom.xml b/kogito-quarkus-examples/dmn-knative-quickstart-quarkus/pom.xml index cabaec3c25..18a5607b09 100644 --- a/kogito-quarkus-examples/dmn-knative-quickstart-quarkus/pom.xml +++ b/kogito-quarkus-examples/dmn-knative-quickstart-quarkus/pom.xml @@ -37,7 +37,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/dmn-listener-dtable/pom.xml b/kogito-quarkus-examples/dmn-listener-dtable/pom.xml index 4841ac34d5..2d33142412 100644 --- a/kogito-quarkus-examples/dmn-listener-dtable/pom.xml +++ b/kogito-quarkus-examples/dmn-listener-dtable/pom.xml @@ -33,7 +33,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/dmn-listener-quarkus/pom.xml b/kogito-quarkus-examples/dmn-listener-quarkus/pom.xml index db5f6141cd..ca94ca3071 100644 --- a/kogito-quarkus-examples/dmn-listener-quarkus/pom.xml +++ b/kogito-quarkus-examples/dmn-listener-quarkus/pom.xml @@ -33,7 +33,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/dmn-pmml-quarkus-example/pom.xml b/kogito-quarkus-examples/dmn-pmml-quarkus-example/pom.xml index e26cd6004c..05301df8ad 100644 --- a/kogito-quarkus-examples/dmn-pmml-quarkus-example/pom.xml +++ b/kogito-quarkus-examples/dmn-pmml-quarkus-example/pom.xml @@ -33,7 +33,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/dmn-quarkus-example/pom.xml b/kogito-quarkus-examples/dmn-quarkus-example/pom.xml index a1d631228a..8a932a810e 100644 --- a/kogito-quarkus-examples/dmn-quarkus-example/pom.xml +++ b/kogito-quarkus-examples/dmn-quarkus-example/pom.xml @@ -33,7 +33,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/dmn-tracing-quarkus/pom.xml b/kogito-quarkus-examples/dmn-tracing-quarkus/pom.xml index 90473686bf..48bdfd91e4 100644 --- a/kogito-quarkus-examples/dmn-tracing-quarkus/pom.xml +++ b/kogito-quarkus-examples/dmn-tracing-quarkus/pom.xml @@ -33,7 +33,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/flexible-process-quarkus/pom.xml b/kogito-quarkus-examples/flexible-process-quarkus/pom.xml index 10453d82ee..86c9c57a0d 100644 --- a/kogito-quarkus-examples/flexible-process-quarkus/pom.xml +++ b/kogito-quarkus-examples/flexible-process-quarkus/pom.xml @@ -33,7 +33,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/kogito-travel-agency/basic/pom.xml b/kogito-quarkus-examples/kogito-travel-agency/basic/pom.xml index 22e757cf86..a3874f2627 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/basic/pom.xml +++ b/kogito-quarkus-examples/kogito-travel-agency/basic/pom.xml @@ -35,7 +35,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/pom.xml b/kogito-quarkus-examples/kogito-travel-agency/extended/pom.xml index 846e2c0f43..206838622b 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/extended/pom.xml +++ b/kogito-quarkus-examples/kogito-travel-agency/extended/pom.xml @@ -38,7 +38,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.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 cbcf1dee3f..1465b59d64 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/pom.xml +++ b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/pom.xml @@ -33,7 +33,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT 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 525fbcd054..bb7c2b4b96 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/extended/visas/pom.xml +++ b/kogito-quarkus-examples/kogito-travel-agency/extended/visas/pom.xml @@ -33,7 +33,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/kogito-travel-agency/pom.xml b/kogito-quarkus-examples/kogito-travel-agency/pom.xml index 2f207b0141..d64dbf3fa6 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/pom.xml +++ b/kogito-quarkus-examples/kogito-travel-agency/pom.xml @@ -38,7 +38,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final diff --git a/kogito-quarkus-examples/onboarding-example/payroll/pom.xml b/kogito-quarkus-examples/onboarding-example/payroll/pom.xml index b25ae564b1..8af06161ea 100644 --- a/kogito-quarkus-examples/onboarding-example/payroll/pom.xml +++ b/kogito-quarkus-examples/onboarding-example/payroll/pom.xml @@ -34,7 +34,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final diff --git a/kogito-quarkus-examples/onboarding-example/pom.xml b/kogito-quarkus-examples/onboarding-example/pom.xml index 95f7fd8b8f..b95eb4134b 100644 --- a/kogito-quarkus-examples/onboarding-example/pom.xml +++ b/kogito-quarkus-examples/onboarding-example/pom.xml @@ -40,7 +40,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.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 47be62b4d5..6f2f291473 100644 --- a/kogito-quarkus-examples/pmml-event-driven-quarkus/pom.xml +++ b/kogito-quarkus-examples/pmml-event-driven-quarkus/pom.xml @@ -33,7 +33,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.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 a5ad9683d7..352a35036d 100644 --- a/kogito-quarkus-examples/pmml-incubation-api-quarkus/pom.xml +++ b/kogito-quarkus-examples/pmml-incubation-api-quarkus/pom.xml @@ -33,7 +33,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/pmml-quarkus-example/pom.xml b/kogito-quarkus-examples/pmml-quarkus-example/pom.xml index 42bae2f322..a08e5d33bf 100644 --- a/kogito-quarkus-examples/pmml-quarkus-example/pom.xml +++ b/kogito-quarkus-examples/pmml-quarkus-example/pom.xml @@ -33,7 +33,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/process-business-rules-quarkus/pom.xml b/kogito-quarkus-examples/process-business-rules-quarkus/pom.xml index 17a861e406..5d7341f08d 100644 --- a/kogito-quarkus-examples/process-business-rules-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-business-rules-quarkus/pom.xml @@ -34,7 +34,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/process-decisions-quarkus/pom.xml b/kogito-quarkus-examples/process-decisions-quarkus/pom.xml index 1ddeea8525..cec871f857 100644 --- a/kogito-quarkus-examples/process-decisions-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-decisions-quarkus/pom.xml @@ -34,7 +34,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/process-decisions-rest-quarkus/pom.xml b/kogito-quarkus-examples/process-decisions-rest-quarkus/pom.xml index 60e6743793..46dbf226b2 100644 --- a/kogito-quarkus-examples/process-decisions-rest-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-decisions-rest-quarkus/pom.xml @@ -35,7 +35,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/process-decisions-rules-quarkus/pom.xml b/kogito-quarkus-examples/process-decisions-rules-quarkus/pom.xml index 33dd4aea30..7f63a1d70a 100644 --- a/kogito-quarkus-examples/process-decisions-rules-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-decisions-rules-quarkus/pom.xml @@ -34,7 +34,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/process-error-handling/pom.xml b/kogito-quarkus-examples/process-error-handling/pom.xml index 8ebb2159f2..b02e685a30 100644 --- a/kogito-quarkus-examples/process-error-handling/pom.xml +++ b/kogito-quarkus-examples/process-error-handling/pom.xml @@ -33,7 +33,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/process-incubation-api-quarkus/pom.xml b/kogito-quarkus-examples/process-incubation-api-quarkus/pom.xml index fbd6966104..ea50ff223c 100644 --- a/kogito-quarkus-examples/process-incubation-api-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-incubation-api-quarkus/pom.xml @@ -33,7 +33,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/process-infinispan-persistence-quarkus/pom.xml b/kogito-quarkus-examples/process-infinispan-persistence-quarkus/pom.xml index bca9aeb191..8b75d83108 100644 --- a/kogito-quarkus-examples/process-infinispan-persistence-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-infinispan-persistence-quarkus/pom.xml @@ -34,7 +34,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT 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 583c489da5..14d2d10d5b 100644 --- a/kogito-quarkus-examples/process-kafka-avro-multi-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-kafka-avro-multi-quarkus/pom.xml @@ -34,7 +34,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/process-kafka-multi-quarkus/pom.xml b/kogito-quarkus-examples/process-kafka-multi-quarkus/pom.xml index 6dcb59460b..ead5675051 100644 --- a/kogito-quarkus-examples/process-kafka-multi-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-kafka-multi-quarkus/pom.xml @@ -34,7 +34,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.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 a176131a83..e8bdd2dbd8 100644 --- a/kogito-quarkus-examples/process-kafka-persistence-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-kafka-persistence-quarkus/pom.xml @@ -36,7 +36,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/process-kafka-quickstart-quarkus/pom.xml b/kogito-quarkus-examples/process-kafka-quickstart-quarkus/pom.xml index 8f04e1f510..ee9c723796 100644 --- a/kogito-quarkus-examples/process-kafka-quickstart-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-kafka-quickstart-quarkus/pom.xml @@ -34,7 +34,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.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 38eba66fb2..fae239f4c1 100644 --- a/kogito-quarkus-examples/process-knative-quickstart-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-knative-quickstart-quarkus/pom.xml @@ -35,7 +35,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/process-mongodb-persistence-quarkus/pom.xml b/kogito-quarkus-examples/process-mongodb-persistence-quarkus/pom.xml index 9e37797387..4a5fcdc5eb 100644 --- a/kogito-quarkus-examples/process-mongodb-persistence-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-mongodb-persistence-quarkus/pom.xml @@ -34,7 +34,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/process-monitoring-quarkus/pom.xml b/kogito-quarkus-examples/process-monitoring-quarkus/pom.xml index 5af0870b9a..127fcc8bab 100755 --- a/kogito-quarkus-examples/process-monitoring-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-monitoring-quarkus/pom.xml @@ -34,7 +34,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/pom.xml b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/pom.xml index a202f7c384..ad4154d110 100644 --- a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/pom.xml @@ -38,7 +38,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/process-performance-client/pom.xml b/kogito-quarkus-examples/process-performance-client/pom.xml index a865540afe..47055d85af 100755 --- a/kogito-quarkus-examples/process-performance-client/pom.xml +++ b/kogito-quarkus-examples/process-performance-client/pom.xml @@ -36,7 +36,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/process-performance-quarkus/pom.xml b/kogito-quarkus-examples/process-performance-quarkus/pom.xml index 29f2d788e3..392a3811e5 100755 --- a/kogito-quarkus-examples/process-performance-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-performance-quarkus/pom.xml @@ -36,7 +36,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.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 1c132933e4..56c7177a67 100644 --- a/kogito-quarkus-examples/process-postgresql-persistence-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-postgresql-persistence-quarkus/pom.xml @@ -39,7 +39,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/process-quarkus-example/pom.xml b/kogito-quarkus-examples/process-quarkus-example/pom.xml index f3b3243d39..3ddbf677b7 100755 --- a/kogito-quarkus-examples/process-quarkus-example/pom.xml +++ b/kogito-quarkus-examples/process-quarkus-example/pom.xml @@ -34,7 +34,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT 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 c0fe0e80e7..0e8d192f2d 100644 --- a/kogito-quarkus-examples/process-rest-service-call-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-rest-service-call-quarkus/pom.xml @@ -34,7 +34,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT 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 3c87e14dc4..2615d701e3 100644 --- a/kogito-quarkus-examples/process-rest-workitem-multi-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-rest-workitem-multi-quarkus/pom.xml @@ -34,7 +34,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/process-rest-workitem-quarkus/pom.xml b/kogito-quarkus-examples/process-rest-workitem-quarkus/pom.xml index a117f4872b..acba305ec0 100644 --- a/kogito-quarkus-examples/process-rest-workitem-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-rest-workitem-quarkus/pom.xml @@ -34,7 +34,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/process-saga-quarkus/pom.xml b/kogito-quarkus-examples/process-saga-quarkus/pom.xml index b88d97eeed..268b257b33 100644 --- a/kogito-quarkus-examples/process-saga-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-saga-quarkus/pom.xml @@ -36,7 +36,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/process-scripts-quarkus/pom.xml b/kogito-quarkus-examples/process-scripts-quarkus/pom.xml index e13ec15aaf..9d7b6eef29 100644 --- a/kogito-quarkus-examples/process-scripts-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-scripts-quarkus/pom.xml @@ -34,7 +34,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/process-service-calls-quarkus/pom.xml b/kogito-quarkus-examples/process-service-calls-quarkus/pom.xml index 0ce865e9a7..ef026a813f 100644 --- a/kogito-quarkus-examples/process-service-calls-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-service-calls-quarkus/pom.xml @@ -34,7 +34,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/process-timer-quarkus/pom.xml b/kogito-quarkus-examples/process-timer-quarkus/pom.xml index d1132daf34..5be2f70cad 100644 --- a/kogito-quarkus-examples/process-timer-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-timer-quarkus/pom.xml @@ -34,7 +34,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.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 c29912ab52..82bd7a37c2 100644 --- a/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/pom.xml @@ -34,7 +34,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT 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 48688e513c..215bf28166 100644 --- a/kogito-quarkus-examples/process-usertasks-quarkus-with-console/pom.xml +++ b/kogito-quarkus-examples/process-usertasks-quarkus-with-console/pom.xml @@ -33,7 +33,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/process-usertasks-quarkus/pom.xml b/kogito-quarkus-examples/process-usertasks-quarkus/pom.xml index b5cfc2277f..e58b699d9e 100644 --- a/kogito-quarkus-examples/process-usertasks-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-usertasks-quarkus/pom.xml @@ -34,7 +34,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT 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 4315ead3c2..d0a1f4b119 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 @@ -33,7 +33,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT 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 6dbb8fb428..e7c36a816b 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 @@ -34,7 +34,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT 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 78e6569b10..d2667bf104 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 @@ -34,7 +34,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT 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 018e939b84..d03c73a0c6 100644 --- a/kogito-quarkus-examples/process-usertasks-with-security-quarkus/pom.xml +++ b/kogito-quarkus-examples/process-usertasks-with-security-quarkus/pom.xml @@ -34,7 +34,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/rules-incubation-api-quarkus/pom.xml b/kogito-quarkus-examples/rules-incubation-api-quarkus/pom.xml index 1943345d9a..bc22e6e595 100644 --- a/kogito-quarkus-examples/rules-incubation-api-quarkus/pom.xml +++ b/kogito-quarkus-examples/rules-incubation-api-quarkus/pom.xml @@ -33,7 +33,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/rules-legacy-quarkus-example/pom.xml b/kogito-quarkus-examples/rules-legacy-quarkus-example/pom.xml index b56f40bfd9..440b84bb3f 100644 --- a/kogito-quarkus-examples/rules-legacy-quarkus-example/pom.xml +++ b/kogito-quarkus-examples/rules-legacy-quarkus-example/pom.xml @@ -33,7 +33,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/rules-quarkus-helloworld/pom.xml b/kogito-quarkus-examples/rules-quarkus-helloworld/pom.xml index b1b13083f2..9f037e7394 100755 --- a/kogito-quarkus-examples/rules-quarkus-helloworld/pom.xml +++ b/kogito-quarkus-examples/rules-quarkus-helloworld/pom.xml @@ -33,7 +33,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/pom.xml b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/pom.xml index c13a55e0a0..f646f38cb8 100644 --- a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/pom.xml +++ b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/pom.xml @@ -35,7 +35,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/ruleunit-quarkus-example/pom.xml b/kogito-quarkus-examples/ruleunit-quarkus-example/pom.xml index 2f73f3b31c..71a9b159ef 100644 --- a/kogito-quarkus-examples/ruleunit-quarkus-example/pom.xml +++ b/kogito-quarkus-examples/ruleunit-quarkus-example/pom.xml @@ -33,7 +33,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/kogito-quarkus-examples/trusty-tracing-quarkus-devservices/pom.xml b/kogito-quarkus-examples/trusty-tracing-quarkus-devservices/pom.xml index 3d4a9a1792..d8f669c654 100644 --- a/kogito-quarkus-examples/trusty-tracing-quarkus-devservices/pom.xml +++ b/kogito-quarkus-examples/trusty-tracing-quarkus-devservices/pom.xml @@ -33,7 +33,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/serverless-workflow-examples/serverless-workflow-annotations-description/pom.xml b/serverless-workflow-examples/serverless-workflow-annotations-description/pom.xml index de223ed44d..e1556a0f9b 100644 --- a/serverless-workflow-examples/serverless-workflow-annotations-description/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-annotations-description/pom.xml @@ -34,7 +34,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final 3.22.0 org.kie.kogito kogito-bom 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 980ad295bc..c0fc27e9ec 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 @@ -35,7 +35,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT 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 0a305119eb..f6eb1c2c0d 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 @@ -36,7 +36,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/serverless-workflow-examples/serverless-workflow-callback-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-callback-quarkus/pom.xml index 584eac6818..72d2ee473f 100644 --- a/serverless-workflow-examples/serverless-workflow-callback-quarkus/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-callback-quarkus/pom.xml @@ -33,7 +33,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/serverless-workflow-examples/serverless-workflow-camel-routes/pom.xml b/serverless-workflow-examples/serverless-workflow-camel-routes/pom.xml index 9ac2544be4..d8a96c3219 100644 --- a/serverless-workflow-examples/serverless-workflow-camel-routes/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-camel-routes/pom.xml @@ -35,7 +35,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/serverless-workflow-examples/serverless-workflow-compensation-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-compensation-quarkus/pom.xml index ec5b0bf915..0fe774a1ec 100644 --- a/serverless-workflow-examples/serverless-workflow-compensation-quarkus/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-compensation-quarkus/pom.xml @@ -33,7 +33,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT 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 c155576e5d..8aee17c927 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 @@ -35,7 +35,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/serverless-workflow-examples/serverless-workflow-correlation-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-correlation-quarkus/pom.xml index 0fcbb3cf29..24cd752288 100644 --- a/serverless-workflow-examples/serverless-workflow-correlation-quarkus/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-correlation-quarkus/pom.xml @@ -33,7 +33,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT 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 7cf8467b19..1914cedeb6 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 @@ -35,7 +35,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT 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 51fe060029..af3e62b21e 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 @@ -36,7 +36,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/serverless-workflow-examples/serverless-workflow-custom-type/pom.xml b/serverless-workflow-examples/serverless-workflow-custom-type/pom.xml index 4cbc9c88ca..8085e97bf0 100644 --- a/serverless-workflow-examples/serverless-workflow-custom-type/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-custom-type/pom.xml @@ -35,7 +35,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT 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 68a2a933b8..b37eb26003 100644 --- a/serverless-workflow-examples/serverless-workflow-data-index-quarkus/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-data-index-quarkus/pom.xml @@ -33,7 +33,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/serverless-workflow-examples/serverless-workflow-error-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-error-quarkus/pom.xml index 990262a18c..fab569e2df 100644 --- a/serverless-workflow-examples/serverless-workflow-error-quarkus/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-error-quarkus/pom.xml @@ -33,7 +33,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/serverless-workflow-examples/serverless-workflow-events-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-events-quarkus/pom.xml index 4316456f30..42015ef297 100644 --- a/serverless-workflow-examples/serverless-workflow-events-quarkus/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-events-quarkus/pom.xml @@ -33,7 +33,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/serverless-workflow-examples/serverless-workflow-expression-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-expression-quarkus/pom.xml index e735ae4f2f..4bff678738 100644 --- a/serverless-workflow-examples/serverless-workflow-expression-quarkus/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-expression-quarkus/pom.xml @@ -33,7 +33,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/serverless-workflow-examples/serverless-workflow-foreach-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-foreach-quarkus/pom.xml index 25a00df420..4c517682a0 100644 --- a/serverless-workflow-examples/serverless-workflow-foreach-quarkus/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-foreach-quarkus/pom.xml @@ -33,7 +33,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT 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 42b1a5d3a7..b0cd39f8af 100644 --- a/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-functions-events-quarkus/pom.xml @@ -35,7 +35,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/serverless-workflow-examples/serverless-workflow-functions-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-functions-quarkus/pom.xml index 304ddbeb30..14b98cc708 100644 --- a/serverless-workflow-examples/serverless-workflow-functions-quarkus/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-functions-quarkus/pom.xml @@ -35,7 +35,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT 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 3a62c75de2..a23132fbaf 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 @@ -34,7 +34,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final 3.8.1 11 3.0.0-M7 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 b95b3d93e8..5445c3381d 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 @@ -34,7 +34,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/serverless-workflow-examples/serverless-workflow-greeting-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-greeting-quarkus/pom.xml index 49daf86d73..319f2aa557 100644 --- a/serverless-workflow-examples/serverless-workflow-greeting-quarkus/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-greeting-quarkus/pom.xml @@ -33,7 +33,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT 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 5b45ba93e5..d9c8e7feff 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 @@ -34,7 +34,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/serverless-workflow-examples/serverless-workflow-hello-world/pom.xml b/serverless-workflow-examples/serverless-workflow-hello-world/pom.xml index 3a8e1bdc2e..c46eb1d4df 100644 --- a/serverless-workflow-examples/serverless-workflow-hello-world/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-hello-world/pom.xml @@ -35,7 +35,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/pom.xml b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/pom.xml index 5575afac92..2f3aa05aeb 100644 --- a/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-loanbroker-showcase/pom.xml @@ -35,7 +35,7 @@ 2.16.10.Final io.quarkus quarkus-bom - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/pom.xml b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/pom.xml index 71311f28ca..ea63860b78 100644 --- a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/pom.xml @@ -35,7 +35,7 @@ 2.16.10.Final io.quarkus quarkus-bom - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT 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 1a75b23ed6..51d24ba27e 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 @@ -33,7 +33,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT 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 da03bbbd9d..57e58af693 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 @@ -35,7 +35,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/serverless-workflow-examples/serverless-workflow-openvino-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-openvino-quarkus/pom.xml index ec6f8b06cf..40246ce674 100644 --- a/serverless-workflow-examples/serverless-workflow-openvino-quarkus/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-openvino-quarkus/pom.xml @@ -33,7 +33,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/serverless-workflow-examples/serverless-workflow-order-processing/pom.xml b/serverless-workflow-examples/serverless-workflow-order-processing/pom.xml index 02e1281246..97239b23fd 100644 --- a/serverless-workflow-examples/serverless-workflow-order-processing/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-order-processing/pom.xml @@ -34,7 +34,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/serverless-workflow-examples/serverless-workflow-parallel-execution/pom.xml b/serverless-workflow-examples/serverless-workflow-parallel-execution/pom.xml index 4b5c599931..58265c8da5 100644 --- a/serverless-workflow-examples/serverless-workflow-parallel-execution/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-parallel-execution/pom.xml @@ -35,7 +35,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/serverless-workflow-examples/serverless-workflow-python-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-python-quarkus/pom.xml index 9ff549daad..5aa233eaff 100644 --- a/serverless-workflow-examples/serverless-workflow-python-quarkus/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-python-quarkus/pom.xml @@ -33,7 +33,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT 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 3dce8b27a2..45a1c32502 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 @@ -34,7 +34,7 @@ 2.16.10.Final io.quarkus quarkus-bom - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT 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 c7cfa9b9aa..fc4aa3716e 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 @@ -34,7 +34,7 @@ 2.16.10.Final io.quarkus quarkus-bom - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/serverless-workflow-examples/serverless-workflow-saga-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-saga-quarkus/pom.xml index 9e3f78baa1..9287dcc494 100644 --- a/serverless-workflow-examples/serverless-workflow-saga-quarkus/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-saga-quarkus/pom.xml @@ -33,7 +33,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT 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 4de151e36c..b6a2570316 100644 --- a/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/pom.xml @@ -33,7 +33,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT diff --git a/serverless-workflow-examples/serverless-workflow-stock-profit/pom.xml b/serverless-workflow-examples/serverless-workflow-stock-profit/pom.xml index c329099263..4612ce5a37 100644 --- a/serverless-workflow-examples/serverless-workflow-stock-profit/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-stock-profit/pom.xml @@ -37,7 +37,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT 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 757139c93f..66c3ed73c5 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 @@ -33,7 +33,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT 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 e2a6a6d513..7aaddd2137 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 @@ -33,7 +33,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT 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 0280dca5f0..7a44ced079 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 @@ -33,7 +33,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT 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 a8ec3705d5..02a3bb2d64 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 @@ -33,7 +33,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT 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 fbd073c69b..cbcfdbb106 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 @@ -33,7 +33,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final 3.8.1 11 3.0.0-M7 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 7759915a31..ff39ee69e7 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 @@ -33,7 +33,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final 3.8.1 11 3.0.0-M7 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 46f55466bf..84b3a1fbb7 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 @@ -34,7 +34,7 @@ 2.16.10.Final quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT 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 4a71bb51dc..b7bcddea99 100644 --- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-embedded/pom.xml @@ -33,7 +33,7 @@ UTF-8 quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT 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 23310b9138..212a3f485f 100644 --- a/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-timeouts-showcase-extended/pom.xml @@ -33,7 +33,7 @@ UTF-8 quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT 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 63882313b7..ce003a536b 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 @@ -33,7 +33,7 @@ UTF-8 quarkus-bom io.quarkus - 2.16.10.Final + 2.16.12.Final org.kie.kogito kogito-bom 2.0.0-SNAPSHOT From 81740c1f3b2d2848d1c4bce3f8dffd6e6f8f34db Mon Sep 17 00:00:00 2001 From: Walter Medvedeo Date: Wed, 15 Nov 2023 14:57:04 +0100 Subject: [PATCH 04/10] kogito-examples-issues-1826: Disable process-outbox-mongodb-quarkus example Integration test (#1828) --- .../kie/kogito/quarkus/outbox/OutboxIT.java | 57 +++++++++---------- .../kogito/springboot/outbox/OutboxIT.java | 57 +++++++++---------- 2 files changed, 52 insertions(+), 62 deletions(-) diff --git a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/test/java/org/kie/kogito/quarkus/outbox/OutboxIT.java b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/test/java/org/kie/kogito/quarkus/outbox/OutboxIT.java index d1557806da..5832a8f472 100644 --- a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/test/java/org/kie/kogito/quarkus/outbox/OutboxIT.java +++ b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/src/test/java/org/kie/kogito/quarkus/outbox/OutboxIT.java @@ -18,16 +18,13 @@ */ package org.kie.kogito.quarkus.outbox; -import java.nio.file.Path; -import java.nio.file.Paths; import java.time.Duration; import java.util.Set; import java.util.concurrent.CountDownLatch; import java.util.concurrent.TimeUnit; import java.util.function.Consumer; -import org.junit.jupiter.api.AfterEach; -import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import org.kie.kogito.test.quarkus.kafka.KafkaTestClient; import org.slf4j.Logger; @@ -35,9 +32,6 @@ import org.testcontainers.containers.DockerComposeContainer; import org.testcontainers.containers.output.OutputFrame; import org.testcontainers.containers.output.Slf4jLogConsumer; -import org.testcontainers.containers.wait.strategy.Wait; -import org.testcontainers.junit.jupiter.Container; -import org.testcontainers.junit.jupiter.Testcontainers; import com.jayway.jsonpath.JsonPath; @@ -48,7 +42,7 @@ import static org.hamcrest.Matchers.hasSize; import static org.junit.jupiter.api.Assertions.assertTrue; -@Testcontainers +//@Testcontainers public class OutboxIT { private static final Logger LOGGER = LoggerFactory.getLogger(OutboxIT.class); @@ -61,7 +55,7 @@ public class OutboxIT { private static final int KAFKA_PORT = 9092; private static final int DEBEZIUM_PORT = 8083; - @Container + //@Container private static DockerComposeContainer COMPOSE; private int kogitoPort; @@ -71,33 +65,33 @@ public class OutboxIT { private KafkaTestClient kafkaClient; static { - Path path = Paths.get("../../docker-compose.yml"); - if (!path.toFile().exists()) { - path = Paths.get("docker-compose.yml"); - } - COMPOSE = new DockerComposeContainer(path.toFile()); - COMPOSE.withPull(false); - COMPOSE.withServices("kafka", "mongodb", "connect", "sidecar", "kogito"); - COMPOSE.withExposedService("kogito", KOGITO_PORT); - COMPOSE.withExposedService("kafka", KAFKA_PORT); - COMPOSE.withExposedService("connect", DEBEZIUM_PORT); - COMPOSE.withLogConsumer("kafka", logger()); - COMPOSE.withLogConsumer("connect", logger()); - COMPOSE.withLogConsumer("sidecar", logger()); - COMPOSE.withLogConsumer("kogito", logger()); - COMPOSE.waitingFor("kafka", Wait.forListeningPort()); - COMPOSE.waitingFor("sidecar", Wait.forListeningPort()); - COMPOSE.waitingFor("kogito", Wait.forListeningPort()); - COMPOSE.withLocalCompose(true); - //See https://github.com/testcontainers/testcontainers-java/issues/4565 - COMPOSE.withOptions("--compatibility"); + // Path path = Paths.get("../../docker-compose.yml"); + // if (!path.toFile().exists()) { + // path = Paths.get("docker-compose.yml"); + // } + // COMPOSE = new DockerComposeContainer(path.toFile()); + // COMPOSE.withPull(false); + // COMPOSE.withServices("kafka", "mongodb", "connect", "sidecar", "kogito"); + // COMPOSE.withExposedService("kogito", KOGITO_PORT); + // COMPOSE.withExposedService("kafka", KAFKA_PORT); + // COMPOSE.withExposedService("connect", DEBEZIUM_PORT); + // COMPOSE.withLogConsumer("kafka", logger()); + // COMPOSE.withLogConsumer("connect", logger()); + // COMPOSE.withLogConsumer("sidecar", logger()); + // COMPOSE.withLogConsumer("kogito", logger()); + // COMPOSE.waitingFor("kafka", Wait.forListeningPort()); + // COMPOSE.waitingFor("sidecar", Wait.forListeningPort()); + // COMPOSE.waitingFor("kogito", Wait.forListeningPort()); + // COMPOSE.withLocalCompose(true); + // //See https://github.com/testcontainers/testcontainers-java/issues/4565 + // COMPOSE.withOptions("--compatibility"); } private static Consumer logger() { return new Slf4jLogConsumer(LOGGER); } - @BeforeEach + //@BeforeEach void setup() { kogitoPort = COMPOSE.getServicePort("kogito", KOGITO_PORT); debeziumPort = COMPOSE.getServicePort("connect", DEBEZIUM_PORT); @@ -105,7 +99,7 @@ void setup() { kafkaClient = new KafkaTestClient("localhost:" + kafkaPort); } - @AfterEach + //@AfterEach void close() { if (kafkaClient != null) { kafkaClient.shutdown(); @@ -113,6 +107,7 @@ void close() { } @Test + @Disabled public void testSendProcessEvents() throws InterruptedException { // Check Debezium (Kafka, MongoDB) readiness await().ignoreExceptions() diff --git a/kogito-springboot-examples/process-outbox-mongodb-springboot/src/test/java/org/kie/kogito/springboot/outbox/OutboxIT.java b/kogito-springboot-examples/process-outbox-mongodb-springboot/src/test/java/org/kie/kogito/springboot/outbox/OutboxIT.java index e11f31ef38..1379657c3d 100644 --- a/kogito-springboot-examples/process-outbox-mongodb-springboot/src/test/java/org/kie/kogito/springboot/outbox/OutboxIT.java +++ b/kogito-springboot-examples/process-outbox-mongodb-springboot/src/test/java/org/kie/kogito/springboot/outbox/OutboxIT.java @@ -18,16 +18,13 @@ */ package org.kie.kogito.springboot.outbox; -import java.nio.file.Path; -import java.nio.file.Paths; import java.time.Duration; import java.util.Set; import java.util.concurrent.CountDownLatch; import java.util.concurrent.TimeUnit; import java.util.function.Consumer; -import org.junit.jupiter.api.AfterEach; -import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import org.kie.kogito.test.springboot.kafka.KafkaTestClient; import org.slf4j.Logger; @@ -35,9 +32,6 @@ import org.testcontainers.containers.DockerComposeContainer; import org.testcontainers.containers.output.OutputFrame; import org.testcontainers.containers.output.Slf4jLogConsumer; -import org.testcontainers.containers.wait.strategy.Wait; -import org.testcontainers.junit.jupiter.Container; -import org.testcontainers.junit.jupiter.Testcontainers; import com.jayway.jsonpath.JsonPath; @@ -48,7 +42,7 @@ import static org.hamcrest.Matchers.hasSize; import static org.junit.jupiter.api.Assertions.assertTrue; -@Testcontainers +//@Testcontainers public class OutboxIT { private static final Logger LOGGER = LoggerFactory.getLogger(OutboxIT.class); @@ -61,7 +55,7 @@ public class OutboxIT { private static final int KAFKA_PORT = 9092; private static final int DEBEZIUM_PORT = 8083; - @Container + //@Container private static DockerComposeContainer COMPOSE; private int kogitoPort; @@ -71,33 +65,33 @@ public class OutboxIT { private KafkaTestClient kafkaClient; static { - Path path = Paths.get("../../docker-compose.yml"); - if (!path.toFile().exists()) { - path = Paths.get("docker-compose.yml"); - } - COMPOSE = new DockerComposeContainer<>(path.toFile()); - COMPOSE.withPull(false); - COMPOSE.withServices("kafka", "mongodb", "connect", "sidecar", "kogito"); - COMPOSE.withExposedService("kogito", KOGITO_PORT); - COMPOSE.withExposedService("kafka", KAFKA_PORT); - COMPOSE.withExposedService("connect", DEBEZIUM_PORT); - COMPOSE.withLogConsumer("kafka", logger()); - COMPOSE.withLogConsumer("connect", logger()); - COMPOSE.withLogConsumer("sidecar", logger()); - COMPOSE.withLogConsumer("kogito", logger()); - COMPOSE.waitingFor("kafka", Wait.forListeningPort()); - COMPOSE.waitingFor("sidecar", Wait.forListeningPort()); - COMPOSE.waitingFor("kogito", Wait.forListeningPort()); - COMPOSE.withLocalCompose(true); - //See https://github.com/testcontainers/testcontainers-java/issues/4565 - COMPOSE.withOptions("--compatibility"); + // Path path = Paths.get("../../docker-compose.yml"); + // if (!path.toFile().exists()) { + // path = Paths.get("docker-compose.yml"); + // } + // COMPOSE = new DockerComposeContainer<>(path.toFile()); + // COMPOSE.withPull(false); + // COMPOSE.withServices("kafka", "mongodb", "connect", "sidecar", "kogito"); + // COMPOSE.withExposedService("kogito", KOGITO_PORT); + // COMPOSE.withExposedService("kafka", KAFKA_PORT); + // COMPOSE.withExposedService("connect", DEBEZIUM_PORT); + // COMPOSE.withLogConsumer("kafka", logger()); + // COMPOSE.withLogConsumer("connect", logger()); + // COMPOSE.withLogConsumer("sidecar", logger()); + // COMPOSE.withLogConsumer("kogito", logger()); + // COMPOSE.waitingFor("kafka", Wait.forListeningPort()); + // COMPOSE.waitingFor("sidecar", Wait.forListeningPort()); + // COMPOSE.waitingFor("kogito", Wait.forListeningPort()); + // COMPOSE.withLocalCompose(true); + // //See https://github.com/testcontainers/testcontainers-java/issues/4565 + // COMPOSE.withOptions("--compatibility"); } private static Consumer logger() { return new Slf4jLogConsumer(LOGGER); } - @BeforeEach + // @BeforeEach void setup() { kogitoPort = COMPOSE.getServicePort("kogito", KOGITO_PORT); debeziumPort = COMPOSE.getServicePort("connect", DEBEZIUM_PORT); @@ -105,7 +99,7 @@ void setup() { kafkaClient = new KafkaTestClient("localhost:" + kafkaPort); } - @AfterEach + // @AfterEach void close() { if (kafkaClient != null) { kafkaClient.shutdown(); @@ -113,6 +107,7 @@ void close() { } @Test + @Disabled public void testSendProcessEvents() throws InterruptedException { // Check Debezium (Kafka, MongoDB) readiness await().ignoreExceptions() From 74231fa59eb53e53e58ba3e2f925258b1af9e41e Mon Sep 17 00:00:00 2001 From: nmirasch Date: Thu, 16 Nov 2023 09:05:16 +0100 Subject: [PATCH 05/10] KOGITO-9807: Create SW example with data-index persistence addon (#1813) * KOGITO-9807: Create SW example with data-index persistence addon * simplified the example to show just the persistence addon indexation without any event communication * described detailed greet WF interaction * Include Apache headers --- serverless-workflow-examples/pom.xml | 1 + .../README.md | 196 ++++++++++++++++++ .../docker-compose/README.md | 40 ++++ .../docker-compose/docker-compose.yml | 67 ++++++ .../docker-compose/sql/init.sql | 20 ++ .../docker-compose/startServices.sh | 36 ++++ .../pom.xml | 163 +++++++++++++++ .../src/main/resources/application.properties | 33 +++ .../src/main/resources/greet.sw.json | 65 ++++++ .../kie/kogito/examples/DataIndexRestIT.java | 78 +++++++ .../src/test/resources/application.properties | 1 + 11 files changed, 700 insertions(+) create mode 100644 serverless-workflow-examples/serverless-workflow-data-index-persistence-addon-quarkus/README.md create mode 100644 serverless-workflow-examples/serverless-workflow-data-index-persistence-addon-quarkus/docker-compose/README.md create mode 100644 serverless-workflow-examples/serverless-workflow-data-index-persistence-addon-quarkus/docker-compose/docker-compose.yml create mode 100755 serverless-workflow-examples/serverless-workflow-data-index-persistence-addon-quarkus/docker-compose/sql/init.sql create mode 100755 serverless-workflow-examples/serverless-workflow-data-index-persistence-addon-quarkus/docker-compose/startServices.sh create mode 100644 serverless-workflow-examples/serverless-workflow-data-index-persistence-addon-quarkus/pom.xml create mode 100644 serverless-workflow-examples/serverless-workflow-data-index-persistence-addon-quarkus/src/main/resources/application.properties create mode 100644 serverless-workflow-examples/serverless-workflow-data-index-persistence-addon-quarkus/src/main/resources/greet.sw.json create mode 100644 serverless-workflow-examples/serverless-workflow-data-index-persistence-addon-quarkus/src/test/java/org/kie/kogito/examples/DataIndexRestIT.java create mode 100644 serverless-workflow-examples/serverless-workflow-data-index-persistence-addon-quarkus/src/test/resources/application.properties diff --git a/serverless-workflow-examples/pom.xml b/serverless-workflow-examples/pom.xml index 7b605c786a..7a623d45cc 100644 --- a/serverless-workflow-examples/pom.xml +++ b/serverless-workflow-examples/pom.xml @@ -50,6 +50,7 @@ serverless-workflow-correlation-quarkus serverless-workflow-custom-function-knative serverless-workflow-custom-type + serverless-workflow-data-index-persistence-addon-quarkus serverless-workflow-data-index-quarkus serverless-workflow-error-quarkus serverless-workflow-events-quarkus diff --git a/serverless-workflow-examples/serverless-workflow-data-index-persistence-addon-quarkus/README.md b/serverless-workflow-examples/serverless-workflow-data-index-persistence-addon-quarkus/README.md new file mode 100644 index 0000000000..36579c6e4f --- /dev/null +++ b/serverless-workflow-examples/serverless-workflow-data-index-persistence-addon-quarkus/README.md @@ -0,0 +1,196 @@ +# Kogito Serverless Workflow - Data Index persistence addon Example + +## Description + +This example contains a simple workflow service that demonstrates how to use Data Index persistence addon as part of the Kogito runtime. +The service is described using JSON format as defined in the +[CNCF Serverless Workflow specification](https://github.com/serverlessworkflow/specification). + +## Infrastructure requirements + +### PostgreSQL + +This example also requires persistence with a PostgreSQL server. + +Optionally and for convenience, a docker-compose [configuration file](docker-compose/docker-compose.yml) is +provided in the path [docker-compose/](docker-compose/), where you can just run the command from there: + +```sh +./startServices.sh +``` + +The configuration for setting up the connection can be found in [applications.properties](src/main/resources/application.properties) file, which +follows the Quarkus JDBC settings, for more information please check [JDBC Configuration Reference](https://quarkus.io/guides/datasource#jdbc-configuration). + +In this way a container for PostgreSQL will be started on port 5432. + +## Installing and Running + +### Prerequisites + +You will need: + - Java 11+ installed + - Environment variable JAVA_HOME set accordingly + - Maven 3.8.6+ installed + - Docker and Docker Compose to run the required example infrastructure. + +When using native image compilation, you will also need: + - GraalVM 22.2+ installed + - Environment variable GRAALVM_HOME set accordingly + - GraalVM native image needs as well native-image extension: https://www.graalvm.org/reference-manual/native-image/ + - Note that GraalVM native image compilation typically requires other packages (glibc-devel, zlib-devel and gcc) to be installed too, please refer to GraalVM installation documentation for more details. + +NOTE: Quarkus provides a way of creating a native Linux executable without GraalVM installed, leveraging a container runtime such as Docker or Podman. More details in https://quarkus.io/guides/building-native-image#container-runtime + +### Compile and Run in Local Dev Mode + +```sh +mvn clean package quarkus:dev +``` + +NOTE: Data Index graphql UI will be available in http://localhost:8180/graphiql/ + + +### Start infrastructure services + +You should start all the services before you execute any of the **Data Index** example. To do that please execute: + +```sh +mvn clean package -P container +``` + +For Linux and MacOS: + +1. Open a Terminal +2. Go to docker-compose folder +3. Run ```docker-compose up``` + +```bash +cd docker-compose && ./startServices.sh +``` + +TIP: If you get a `permission denied` error while creating the postgresql container, consider using SELinux context. +Update the following line: +```yaml + - ./sql:/docker-entrypoint-initdb.d +``` +to +```yaml + - ./sql:/docker-entrypoint-initdb.d:Z +``` + +Once all services bootstrap, the following ports will be assigned on your local machine: + +- PostgreSQL: 5432 +- PgAdmin: 8055 +- Data Index service: 8180 +- serverless-workflow-service: 8080 + +> **_NOTE:_** This step requires the project to be compiled, please consider running a ```mvn clean package -Dcontainer``` command on the project root before running the ```docker-compose up``` for the first time or any time you modify the project. + +Once started you can simply stop all services by executing the ```docker-compose stop```. + +All created containers can be removed by executing the ```docker-compose rm```. + +### Submit a request + +The service based on the JSON workflow definition can be access by sending a request to http://localhost:8080/greet' +with following content + +```json +{ + "name": "John", + "language": "English" +} +``` + +Complete curl command can be found below: + +```sh +curl -X POST -H 'Content-Type:application/json' -H 'Accept:application/json' -d '{"name": "John", "language": "English"}' http://localhost:8080/greet +``` + +Log after curl executed: + +```json +{"id":"541a5363-1667-4f6d-a8b4-1299eba81eac","workflowdata":{"name":"John","language":"English","greeting":"Hello from JSON Workflow, "}} +``` + +In Quarkus you should see the log message printed: + +```text +Hello from JSON Workflow, John +``` + +If you would like to greet the person in Spanish, we need to pass the following data on workflow start: + +```json +{ + "name": "John", + "language": "Spanish" +} +``` + +Complete curl command can be found below: + +```sh +curl -X POST -H 'Content-Type:application/json' -H 'Accept:application/json' -d '{"name": "John", "language": "Spanish"}' http://localhost:8080/greet +``` + +In Quarkus you should now see the log message printed: + +```text +Saludos desde JSON Workflow, John +``` + +Then we can verify that the data has been properly indexed accessing to http://localhost:8180/graphiql/ and executing the query: + +```text +{ProcessInstances { + id + variables +}} +``` + +getting as a result: + +```text +{ + "data": { + "ProcessInstances": [ + { + "id": "0b95e8a1-b52f-48cf-b7d0-38fa3087d467", + "variables": { + "workflowdata": { + "name": "John", + "greeting": "Hello from JSON Workflow, ", + "language": "English" + } + } + }, + { + "id": "141f7350-7802-4abc-985c-333caf1068f9", + "variables": { + "workflowdata": { + "name": "John", + "greeting": "Saludos desde JSON Workflow, ", + "language": "Spanish" + } + } + } + ] + } +} +``` + +Or by command line, executing the complete curl command can be found below: + +```sh +curl -H "Content-Type: application/json" -H "Accept: application/json" -X POST --data '{"query" : "{ProcessInstances {id variables}}" }' http://localhost:8180/graphql +``` + +getting + +```text +{"data":{"ProcessInstances":[{"id":"0b95e8a1-b52f-48cf-b7d0-38fa3087d467","variables":{"workflowdata":{"name":"John","greeting":"Hello from JSON Workflow, ","language":"English"}}},{"id":"141f7350-7802-4abc-985c-333caf1068f9","variables":{"workflowdata":{"name":"John","greeting":"Saludos desde JSON Workflow, ","language":"Spanish"}}}]}} +``` \ No newline at end of file diff --git a/serverless-workflow-examples/serverless-workflow-data-index-persistence-addon-quarkus/docker-compose/README.md b/serverless-workflow-examples/serverless-workflow-data-index-persistence-addon-quarkus/docker-compose/README.md new file mode 100644 index 0000000000..1f17b41546 --- /dev/null +++ b/serverless-workflow-examples/serverless-workflow-data-index-persistence-addon-quarkus/docker-compose/README.md @@ -0,0 +1,40 @@ +## Kogito and Infrastructure services + +To allow a quick setup of all services required to run this demo, we provide a docker compose template that starts the following services: +- Postgresql +- PgAdmin +- Data Index + +In order to use it, please ensure you have Docker Compose installed on your machine, otherwise follow the instructions available +in [here](https://docs.docker.com/compose/install/). + +### Starting required services + +Once all services bootstrap, the following ports will be assigned on your local machine: +- PostgresQL: 5432 +- PgAdmin: 8055 +- Data Index: 8180 + +### Postgresql deployment: + +####Start services + +./startServices.sh + +#### Stopping and removing volume data + +To stop all services, simply run: + +docker-compose stop + +It is also recomended to remove any of stopped containers by running: + +docker-compose rm + +NOTE: All the running containers can be stopped running `docker stop $(docker ps -a -q)` + +NOTE: All the running containers can be removed running `docker rm $(docker ps -a -q)` + +For more details please check the Docker Compose documentation. + + docker-compose --help diff --git a/serverless-workflow-examples/serverless-workflow-data-index-persistence-addon-quarkus/docker-compose/docker-compose.yml b/serverless-workflow-examples/serverless-workflow-data-index-persistence-addon-quarkus/docker-compose/docker-compose.yml new file mode 100644 index 0000000000..56070ccab4 --- /dev/null +++ b/serverless-workflow-examples/serverless-workflow-data-index-persistence-addon-quarkus/docker-compose/docker-compose.yml @@ -0,0 +1,67 @@ +version: '2.1' + +services: + postgres: + container_name: postgres + image: postgres:13.4-alpine3.14 + ports: + - "5432:5432" + volumes: + - ./sql:/docker-entrypoint-initdb.d:Z + healthcheck: + test: [ "CMD", "pg_isready", "-q", "-d", "kogito", "-U", "kogito-user" ] + timeout: 45s + interval: 10s + retries: 50 + environment: + POSTGRES_USER: postgres + POSTGRES_PASSWORD: postgres + + pgadmin-compose: + image: dpage/pgadmin4:5.0 + environment: + PGADMIN_DEFAULT_EMAIL: user@user.org + PGADMIN_DEFAULT_PASSWORD: pass + ports: + - 8055:80 + depends_on: + - postgres + container_name: pgadmin-container + + data-index: + container_name: data-index + image: quay.io/kiegroup/kogito-data-index-postgresql:${KOGITO_VERSION} + ports: + - "8180:8080" + depends_on: + postgres: + condition: service_healthy + volumes: + - ./../target/classes/META-INF/resources/persistence/protobuf:/home/kogito/data/protobufs/ + environment: + QUARKUS_DATASOURCE_JDBC_URL: "jdbc:postgresql://postgres:5432/kogito" + QUARKUS_DATASOURCE_USERNAME: kogito-user + QUARKUS_DATASOURCE_PASSWORD: kogito-pass + QUARKUS_HTTP_CORS_ORIGINS: "/.*/" + QUARKUS_FLYWAY_MIGRATE_AT_START: "true" + QUARKUS_FLYWAY_BASELINE_ON_MIGRATE: "true" + QUARKUS_FLYWAY_TABLE: FLYWAY_DATAINDEX_SERVICE + QUARKUS_HIBERNATE_ORM_DATABASE_GENERATION: update + KOGITO_DATA_INDEX_QUARKUS_PROFILE: "http-events-support" + + serverless-workflow-service: + container_name: serverless-workflow-service + image: dev.local/${USER}/serverless-workflow-service:1.0-SNAPSHOT + ports: + - "8080:8080" + depends_on: + postgres: + condition: service_healthy + environment: + QUARKUS_DATASOURCE_JDBC_URL: "jdbc:postgresql://postgres:5432/kogito" + QUARKUS_DATASOURCE_USERNAME: kogito-user + QUARKUS_DATASOURCE_PASSWORD: kogito-pass + QUARKUS_DATASOURCE_DB_KIND: postgresql + KOGITO_SERVICE_URL: http://serverless-workflow-service:8080 + + diff --git a/serverless-workflow-examples/serverless-workflow-data-index-persistence-addon-quarkus/docker-compose/sql/init.sql b/serverless-workflow-examples/serverless-workflow-data-index-persistence-addon-quarkus/docker-compose/sql/init.sql new file mode 100755 index 0000000000..ee1a94650d --- /dev/null +++ b/serverless-workflow-examples/serverless-workflow-data-index-persistence-addon-quarkus/docker-compose/sql/init.sql @@ -0,0 +1,20 @@ +CREATE ROLE "kogito-user" WITH + LOGIN + SUPERUSER + INHERIT + CREATEDB + CREATEROLE + NOREPLICATION + PASSWORD 'kogito-pass'; + +CREATE DATABASE kogito + WITH + OWNER = "kogito-user" + ENCODING = 'UTF8' + LC_COLLATE = 'en_US.utf8' + LC_CTYPE = 'en_US.utf8' + TABLESPACE = pg_default + CONNECTION LIMIT = -1; + +GRANT ALL PRIVILEGES ON DATABASE kogito TO "kogito-user"; +GRANT ALL PRIVILEGES ON DATABASE kogito TO postgres; diff --git a/serverless-workflow-examples/serverless-workflow-data-index-persistence-addon-quarkus/docker-compose/startServices.sh b/serverless-workflow-examples/serverless-workflow-data-index-persistence-addon-quarkus/docker-compose/startServices.sh new file mode 100755 index 0000000000..14f0b33ac8 --- /dev/null +++ b/serverless-workflow-examples/serverless-workflow-data-index-persistence-addon-quarkus/docker-compose/startServices.sh @@ -0,0 +1,36 @@ +#!/bin/bash +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +echo "Script requires your project to be compiled with the right profile: ../mvn clean install -DskipTests -Pcontainer" + +PROJECT_VERSION=$(cd ../ && mvn help:evaluate -Dexpression=project.version -q -DforceStdout) + +echo "Project version: ${PROJECT_VERSION}" + +if [[ $PROJECT_VERSION == *SNAPSHOT ]]; +then + KOGITO_VERSION="latest" +else + KOGITO_VERSION=${PROJECT_VERSION%.*} +fi + +echo "Kogito Image version: ${KOGITO_VERSION}" +echo "KOGITO_VERSION=${KOGITO_VERSION}" > ".env" + +docker-compose -f docker-compose.yml up \ No newline at end of file diff --git a/serverless-workflow-examples/serverless-workflow-data-index-persistence-addon-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-data-index-persistence-addon-quarkus/pom.xml new file mode 100644 index 0000000000..bfde7f534a --- /dev/null +++ b/serverless-workflow-examples/serverless-workflow-data-index-persistence-addon-quarkus/pom.xml @@ -0,0 +1,163 @@ + + + 4.0.0 + + org.kie.kogito.examples + serverless-workflow-data-index-persistence-addon-quarkus + 1.0-SNAPSHOT + + Kogito Example :: Serverless Workflow Data Index persistence addon :: Quarkus + Kogito Serverless Workflow Data Index persistence addon Example - Quarkus + + 2.16.10.Final + quarkus-bom + io.quarkus + 2.16.10.Final + org.kie.kogito + kogito-bom + 2.0.0-SNAPSHOT + 3.8.1 + 11 + 3.0.0-M7 + + + + + + ${quarkus.platform.group-id} + ${quarkus.platform.artifact-id} + ${quarkus.platform.version} + pom + import + + + ${kogito.bom.group-id} + ${kogito.bom.artifact-id} + ${kogito.bom.version} + pom + import + + + + + + org.kie.kogito + kogito-quarkus-serverless-workflow + + + io.quarkus + quarkus-resteasy + + + io.quarkus + quarkus-resteasy-jackson + + + org.kie.kogito + kogito-addons-quarkus-persistence-jdbc + + + io.quarkus + quarkus-agroal + + + io.quarkus + quarkus-jdbc-postgresql + + + org.kie.kogito + kogito-addons-quarkus-process-management + + + org.kie.kogito + kogito-quarkus-serverless-workflow-devui + + + org.kie.kogito + kogito-addons-quarkus-source-files + + + io.quarkus + quarkus-junit5 + test + + + io.quarkus + quarkus-resteasy + + + io.quarkus + quarkus-resteasy-jackson + + + org.kie.kogito + kogito-addons-quarkus-data-index-persistence-postgresql + + + + io.rest-assured + rest-assured + test + + + org.awaitility + awaitility + test + + + + ${project.artifactId} + + + maven-compiler-plugin + ${version.compiler.plugin} + + ${maven.compiler.release} + + + + ${quarkus.platform.group-id} + quarkus-maven-plugin + ${quarkus-plugin.version} + + + + build + + + + + + + + + container + + + container + + + + container + + + + io.quarkus + quarkus-container-image-jib + + + + + native + + + native + + + + native + + + + diff --git a/serverless-workflow-examples/serverless-workflow-data-index-persistence-addon-quarkus/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-data-index-persistence-addon-quarkus/src/main/resources/application.properties new file mode 100644 index 0000000000..a35fb1cfe2 --- /dev/null +++ b/serverless-workflow-examples/serverless-workflow-data-index-persistence-addon-quarkus/src/main/resources/application.properties @@ -0,0 +1,33 @@ +quarkus.kogito.data-index.graphql.ui.always-include=true +quarkus.swagger-ui.always-include=true +quarkus.http.test-port=0 + +kogito.persistence.type=jdbc +kogito.persistence.proto.marshaller=false +quarkus.datasource.db-kind=postgresql +#run create tables scripts +%container.quarkus.datasource.username=postgres +%container.quarkus.datasource.password=postgres +%container.quarkus.datasource.jdbc.url=jdbc:postgresql://localhost:5432/kogito + +quarkus.flyway.migrate-at-start=true +quarkus.flyway.baseline-on-migrate=true +quarkus.hibernate-orm.database.generation=update + +kogito.service.url=http://localhost:8080 + +#quarkus.kubernetes-client.devservices.enabled=false +quarkus.native.native-image-xmx=8g + +# profile to pack this example into a container, to use it execute activate the maven container profile, -Dcontainer +%container.quarkus.container-image.build=true +%container.quarkus.container-image.push=false +%container.quarkus.container-image.group=${USER} +%container.quarkus.container-image.registry=dev.local +%container.quarkus.container-image.tag=1.0-SNAPSHOT +%container.quarkus.jib.jvm-entrypoint=/home/kogito/kogito-app-launch.sh +%container.quarkus.jib.base-jvm-image=quay.io/kiegroup/kogito-runtime-jvm:latest +%container.quarkus.jib.working-directory=/home/kogito/bin +%container.quarkus.container-image.name=serverless-workflow-service + + diff --git a/serverless-workflow-examples/serverless-workflow-data-index-persistence-addon-quarkus/src/main/resources/greet.sw.json b/serverless-workflow-examples/serverless-workflow-data-index-persistence-addon-quarkus/src/main/resources/greet.sw.json new file mode 100644 index 0000000000..967561a2e8 --- /dev/null +++ b/serverless-workflow-examples/serverless-workflow-data-index-persistence-addon-quarkus/src/main/resources/greet.sw.json @@ -0,0 +1,65 @@ +{ + "id": "greet", + "version": "1.0", + "name": "Greeting workflow", + "description": "JSON based greeting workflow", + "start": "ChooseOnLanguage", + "functions": [ + { + "name": "greetFunction", + "type": "custom", + "operation": "sysout" + } + ], + "states": [ + { + "name": "ChooseOnLanguage", + "type": "switch", + "dataConditions": [ + { + "condition": "${ .language == \"English\" }", + "transition": "GreetInEnglish" + }, + { + "condition": "${ .language == \"Spanish\" }", + "transition": "GreetInSpanish" + } + ], + "defaultCondition": { + "transition": "GreetInEnglish" + } + }, + { + "name": "GreetInEnglish", + "type": "inject", + "data": { + "greeting": "Hello from JSON Workflow, " + }, + "transition": "GreetPerson" + }, + { + "name": "GreetInSpanish", + "type": "inject", + "data": { + "greeting": "Saludos desde JSON Workflow, " + }, + "transition": "GreetPerson" + }, + { + "name": "GreetPerson", + "type": "operation", + "actions": [ + { + "name": "greetAction", + "functionRef": { + "refName": "greetFunction", + "arguments": { + "message": ".greeting+.name" + } + } + } + ], + "end": true + } + ] +} diff --git a/serverless-workflow-examples/serverless-workflow-data-index-persistence-addon-quarkus/src/test/java/org/kie/kogito/examples/DataIndexRestIT.java b/serverless-workflow-examples/serverless-workflow-data-index-persistence-addon-quarkus/src/test/java/org/kie/kogito/examples/DataIndexRestIT.java new file mode 100644 index 0000000000..784f4f8cfa --- /dev/null +++ b/serverless-workflow-examples/serverless-workflow-data-index-persistence-addon-quarkus/src/test/java/org/kie/kogito/examples/DataIndexRestIT.java @@ -0,0 +1,78 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.kie.kogito.examples; + +import org.junit.jupiter.api.Test; + +import io.quarkus.test.junit.QuarkusIntegrationTest; +import io.restassured.RestAssured; +import io.restassured.http.ContentType; + +import static io.restassured.RestAssured.given; +import static java.util.concurrent.TimeUnit.SECONDS; +import static org.awaitility.Awaitility.await; +import static org.hamcrest.CoreMatchers.is; +import static org.hamcrest.Matchers.greaterThanOrEqualTo; + +@QuarkusIntegrationTest +class DataIndexRestIT { + + static { + RestAssured.enableLoggingOfRequestAndResponseIfValidationFails(); + } + + @Test + void testDataIndexRest() { + given().contentType(ContentType.JSON).body("{ \"query\" : \"{ProcessInstances{ id } }\" }") + .when().post("/graphql") + .then().statusCode(200) + .body("data.ProcessInstances.size()", is(greaterThanOrEqualTo(0))); + + String processInstanceId = given() + .contentType(ContentType.JSON) + .accept(ContentType.JSON) + .post("/callback") + .then() + .statusCode(201) + .extract() + .path("id"); + + await() + .atLeast(1, SECONDS) + .atMost(30, SECONDS) + .with().pollInterval(1, SECONDS) + .untilAsserted(() -> given() + .contentType(ContentType.JSON) + .accept(ContentType.JSON) + .get("/callback/{id}", processInstanceId) + .then() + .statusCode(404)); + + await() + .atLeast(1, SECONDS) + .atMost(30, SECONDS) + .with().pollInterval(1, SECONDS) + .untilAsserted(() -> given().contentType(ContentType.JSON).body("{ \"query\" : \"{ ProcessInstances(where: { id: {equal: \\\"" + processInstanceId + "\\\"}}) { id, state } }\" }") + .when().post("/graphql") + .then().statusCode(200) + .body("data.ProcessInstances.size()", is(1)) + .body("data.ProcessInstances[0].id", is(processInstanceId)) + .body("data.ProcessInstances[0].state", is("COMPLETED"))); + } +} diff --git a/serverless-workflow-examples/serverless-workflow-data-index-persistence-addon-quarkus/src/test/resources/application.properties b/serverless-workflow-examples/serverless-workflow-data-index-persistence-addon-quarkus/src/test/resources/application.properties new file mode 100644 index 0000000000..1ed004b3ef --- /dev/null +++ b/serverless-workflow-examples/serverless-workflow-data-index-persistence-addon-quarkus/src/test/resources/application.properties @@ -0,0 +1 @@ +quarkus.kogito.devservices.enabled=false \ No newline at end of file From 443e6402a731d60a9f125920b68caa5414b55903 Mon Sep 17 00:00:00 2001 From: Francisco Javier Tirado Sarti <65240126+fjtirado@users.noreply.github.com> Date: Thu, 16 Nov 2023 12:05:19 +0100 Subject: [PATCH 06/10] Creating new profile from openvino example (#1825) --- serverless-workflow-examples/pom.xml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/serverless-workflow-examples/pom.xml b/serverless-workflow-examples/pom.xml index 7a623d45cc..695398ee46 100644 --- a/serverless-workflow-examples/pom.xml +++ b/serverless-workflow-examples/pom.xml @@ -76,7 +76,6 @@ serverless-workflow-timeouts-showcase-embedded serverless-workflow-timeouts-showcase-extended serverless-workflow-timeouts-showcase-operator-devprofile - serverless-workflow-openvino-quarkus serverless-workflow-python-quarkus @@ -160,6 +159,16 @@ serverless-workflow-timeouts-showcase-operator-devprofile + + openvino + + + openvino + + + + serverless-workflow-openvino-quarkus + + - From 0c282f994809f1cf1cdea87b0809c5225abe7523 Mon Sep 17 00:00:00 2001 From: Tiago Dolphine Date: Thu, 23 Nov 2023 08:41:41 -0300 Subject: [PATCH 07/10] [KOGITO-9886] adding workflow definitions events configuration (#1821) * KOGITO-9886 adding workflow definitions events configuration --- .../travels/src/main/resources/application.properties | 6 +++++- .../travels/src/test/resources/application.properties | 6 +++++- .../visas/src/main/resources/application.properties | 5 +++++ .../src/main/resources/application.properties | 8 +++++++- .../src/main/resources/application.properties | 6 +++++- .../src/main/resources/application.properties | 4 ++++ .../src/main/resources/application.properties | 6 +++++- .../src/test/resources/application.properties | 6 +++++- .../src/main/resources/application.properties | 5 +++++ .../src/test/resources/application.properties | 6 +++++- .../src/main/resources/application.properties | 5 +++++ .../src/test/resources/application.properties | 4 ++++ .../src/main/resources/application.properties | 4 ++++ .../src/test/resources/application.properties | 4 ++++ .../src/main/resources/application.properties | 5 +++++ .../src/main/resources/application.properties | 3 +++ .../src/main/resources/application-knative.properties | 4 ++++ .../src/main/resources/application.properties | 7 ++++++- 18 files changed, 86 insertions(+), 8 deletions(-) diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/resources/application.properties b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/resources/application.properties index 27fd6b1952..5869751c51 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/resources/application.properties +++ b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/main/resources/application.properties @@ -66,4 +66,8 @@ mp.messaging.outgoing.kogito-usertaskinstances-events.value.serializer=org.apach #mp.messaging.outgoing.kogito-variables-events.bootstrap.servers=localhost:9092 mp.messaging.outgoing.kogito-variables-events.connector=smallrye-kafka mp.messaging.outgoing.kogito-variables-events.topic=kogito-variables-events -mp.messaging.outgoing.kogito-variables-events.value.serializer=org.apache.kafka.common.serialization.StringSerializer \ No newline at end of file +mp.messaging.outgoing.kogito-variables-events.value.serializer=org.apache.kafka.common.serialization.StringSerializer + +mp.messaging.outgoing.kogito-processdefinitions-events.connector=smallrye-kafka +mp.messaging.outgoing.kogito-processdefinitions-events.topic=kogito-processdefinitions-events +mp.messaging.outgoing.kogito-processdefinitions-events.value.serializer=org.apache.kafka.common.serialization.StringSerializer \ No newline at end of file diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/test/resources/application.properties b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/test/resources/application.properties index 86ab76e8b7..6242af5d67 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/test/resources/application.properties +++ b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/src/test/resources/application.properties @@ -52,4 +52,8 @@ mp.messaging.outgoing.kogito-usertaskinstances-events.value.serializer=org.apach #mp.messaging.outgoing.kogito-variables-events.bootstrap.servers=localhost:9092 mp.messaging.outgoing.kogito-variables-events.connector=smallrye-kafka mp.messaging.outgoing.kogito-variables-events.topic=kogito-variables-events -mp.messaging.outgoing.kogito-variables-events.value.serializer=org.apache.kafka.common.serialization.StringSerializer \ No newline at end of file +mp.messaging.outgoing.kogito-variables-events.value.serializer=org.apache.kafka.common.serialization.StringSerializer + +mp.messaging.outgoing.kogito-processdefinitions-events.connector=smallrye-kafka +mp.messaging.outgoing.kogito-processdefinitions-events.topic=kogito-processdefinitions-events +mp.messaging.outgoing.kogito-processdefinitions-events.value.serializer=org.apache.kafka.common.serialization.StringSerializer \ No newline at end of file diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/resources/application.properties b/kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/resources/application.properties index ad08d0b5be..a65a220a04 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/resources/application.properties +++ b/kogito-quarkus-examples/kogito-travel-agency/extended/visas/src/main/resources/application.properties @@ -69,4 +69,9 @@ mp.messaging.outgoing.kogito-variables-events.connector=smallrye-kafka mp.messaging.outgoing.kogito-variables-events.topic=kogito-variables-events mp.messaging.outgoing.kogito-variables-events.value.serializer=org.apache.kafka.common.serialization.StringSerializer +#mp.messaging.outgoing.kogito-processdefinitions-events.bootstrap.servers=localhost:9092 +mp.messaging.outgoing.kogito-processdefinitions-events.connector=smallrye-kafka +mp.messaging.outgoing.kogito-processdefinitions-events.topic=kogito-processdefinitions-events +mp.messaging.outgoing.kogito-processdefinitions-events.value.serializer=org.apache.kafka.common.serialization.StringSerializer + kogito.monitoring.process.useDefault=false diff --git a/kogito-quarkus-examples/process-kafka-multi-quarkus/src/main/resources/application.properties b/kogito-quarkus-examples/process-kafka-multi-quarkus/src/main/resources/application.properties index 4c6187bc53..44c825058b 100644 --- a/kogito-quarkus-examples/process-kafka-multi-quarkus/src/main/resources/application.properties +++ b/kogito-quarkus-examples/process-kafka-multi-quarkus/src/main/resources/application.properties @@ -58,4 +58,10 @@ mp.messaging.outgoing.kogito-variables-events.connector=smallrye-kafka mp.messaging.outgoing.kogito-variables-events.topic=kogito-variables-events mp.messaging.outgoing.kogito-variables-events.value.serializer=org.apache.kafka.common.serialization.StringSerializer mp.messaging.outgoing.kogito-variables-events.auto.offset.reset=earliest -mp.messaging.outgoing.kogito-variables-events.group.id=kogito-kafka-multi \ No newline at end of file +mp.messaging.outgoing.kogito-variables-events.group.id=kogito-kafka-multi + +mp.messaging.outgoing.kogito-processdefinitions-events.connector=smallrye-kafka +mp.messaging.outgoing.kogito-processdefinitions-events.topic=kogito-processdefinitions-events +mp.messaging.outgoing.kogito-processdefinitions-events.value.serializer=org.apache.kafka.common.serialization.StringSerializer +mp.messaging.outgoing.kogito-processdefinitions-events.auto.offset.reset=earliest +mp.messaging.outgoing.kogito-processdefinitions-events.group.id=kogito-kafka-multi diff --git a/kogito-quarkus-examples/process-mongodb-persistence-quarkus/src/main/resources/application.properties b/kogito-quarkus-examples/process-mongodb-persistence-quarkus/src/main/resources/application.properties index e09567d08d..9c7cd32267 100644 --- a/kogito-quarkus-examples/process-mongodb-persistence-quarkus/src/main/resources/application.properties +++ b/kogito-quarkus-examples/process-mongodb-persistence-quarkus/src/main/resources/application.properties @@ -37,4 +37,8 @@ mp.messaging.outgoing.kogito-usertaskinstances-events.value.serializer=org.apach mp.messaging.outgoing.kogito-variables-events.connector=smallrye-kafka mp.messaging.outgoing.kogito-variables-events.topic=kogito-variables-events -mp.messaging.outgoing.kogito-variables-events.value.serializer=org.apache.kafka.common.serialization.StringSerializer \ No newline at end of file +mp.messaging.outgoing.kogito-variables-events.value.serializer=org.apache.kafka.common.serialization.StringSerializer + +mp.messaging.outgoing.kogito-processdefinitions-events.connector=smallrye-kafka +mp.messaging.outgoing.kogito-processdefinitions-events.topic=kogito-processdefinitions-events +mp.messaging.outgoing.kogito-processdefinitions-events.value.serializer=org.apache.kafka.common.serialization.StringSerializer \ No newline at end of file diff --git a/kogito-quarkus-examples/process-postgresql-persistence-quarkus/src/main/resources/application.properties b/kogito-quarkus-examples/process-postgresql-persistence-quarkus/src/main/resources/application.properties index 365c3484e5..a68288a52e 100644 --- a/kogito-quarkus-examples/process-postgresql-persistence-quarkus/src/main/resources/application.properties +++ b/kogito-quarkus-examples/process-postgresql-persistence-quarkus/src/main/resources/application.properties @@ -39,3 +39,7 @@ mp.messaging.outgoing.kogito-usertaskinstances-events.value.serializer=org.apach mp.messaging.outgoing.kogito-variables-events.connector=smallrye-kafka mp.messaging.outgoing.kogito-variables-events.topic=kogito-variables-events mp.messaging.outgoing.kogito-variables-events.value.serializer=org.apache.kafka.common.serialization.StringSerializer + +mp.messaging.outgoing.kogito-processdefinitions-events.connector=smallrye-kafka +mp.messaging.outgoing.kogito-processdefinitions-events.topic=kogito-processdefinitions-events +mp.messaging.outgoing.kogito-processdefinitions-events.value.serializer=org.apache.kafka.common.serialization.StringSerializer diff --git a/kogito-quarkus-examples/process-quarkus-example/src/main/resources/application.properties b/kogito-quarkus-examples/process-quarkus-example/src/main/resources/application.properties index 0f36eb7eed..58d33b2d1a 100644 --- a/kogito-quarkus-examples/process-quarkus-example/src/main/resources/application.properties +++ b/kogito-quarkus-examples/process-quarkus-example/src/main/resources/application.properties @@ -37,4 +37,8 @@ mp.messaging.outgoing.kogito-usertaskinstances-events.value.serializer=org.apach mp.messaging.outgoing.kogito-variables-events.connector=smallrye-kafka mp.messaging.outgoing.kogito-variables-events.topic=kogito-variables-events -mp.messaging.outgoing.kogito-variables-events.value.serializer=org.apache.kafka.common.serialization.StringSerializer \ No newline at end of file +mp.messaging.outgoing.kogito-variables-events.value.serializer=org.apache.kafka.common.serialization.StringSerializer + +mp.messaging.outgoing.kogito-processdefinitions-events.connector=smallrye-kafka +mp.messaging.outgoing.kogito-processdefinitions-events.topic=kogito-processdefinitions-events +mp.messaging.outgoing.kogito-processdefinitions-events.value.serializer=org.apache.kafka.common.serialization.StringSerializer diff --git a/kogito-quarkus-examples/process-quarkus-example/src/test/resources/application.properties b/kogito-quarkus-examples/process-quarkus-example/src/test/resources/application.properties index f6b90c458e..dad6fd0513 100644 --- a/kogito-quarkus-examples/process-quarkus-example/src/test/resources/application.properties +++ b/kogito-quarkus-examples/process-quarkus-example/src/test/resources/application.properties @@ -30,4 +30,8 @@ mp.messaging.outgoing.kogito-usertaskinstances-events.value.serializer=org.apach mp.messaging.outgoing.kogito-variables-events.connector=smallrye-kafka mp.messaging.outgoing.kogito-variables-events.topic=kogito-variables-events -mp.messaging.outgoing.kogito-variables-events.value.serializer=org.apache.kafka.common.serialization.StringSerializer \ No newline at end of file +mp.messaging.outgoing.kogito-variables-events.value.serializer=org.apache.kafka.common.serialization.StringSerializer + +mp.messaging.outgoing.kogito-processdefinitions-events.connector=smallrye-kafka +mp.messaging.outgoing.kogito-processdefinitions-events.topic=kogito-processdefinitions-events +mp.messaging.outgoing.kogito-processdefinitions-events.value.serializer=org.apache.kafka.common.serialization.StringSerializer diff --git a/kogito-quarkus-examples/process-usertasks-quarkus-with-console/src/main/resources/application.properties b/kogito-quarkus-examples/process-usertasks-quarkus-with-console/src/main/resources/application.properties index c058567ec9..71dcf17d37 100644 --- a/kogito-quarkus-examples/process-usertasks-quarkus-with-console/src/main/resources/application.properties +++ b/kogito-quarkus-examples/process-usertasks-quarkus-with-console/src/main/resources/application.properties @@ -46,6 +46,11 @@ mp.messaging.outgoing.kogito-variables-events.connector=smallrye-kafka mp.messaging.outgoing.kogito-variables-events.topic=kogito-variables-events mp.messaging.outgoing.kogito-variables-events.value.serializer=org.apache.kafka.common.serialization.StringSerializer +mp.messaging.outgoing.kogito-processdefinitions-events.connector=smallrye-kafka +mp.messaging.outgoing.kogito-processdefinitions-events.topic=kogito-processdefinitions-events +mp.messaging.outgoing.kogito-processdefinitions-events.value.serializer=org.apache.kafka.common.serialization.StringSerializer + + %postgresql.kogito.persistence.type=jdbc %postgresql.quarkus.datasource.db-kind=postgresql diff --git a/kogito-quarkus-examples/process-usertasks-quarkus-with-console/src/test/resources/application.properties b/kogito-quarkus-examples/process-usertasks-quarkus-with-console/src/test/resources/application.properties index 86ab76e8b7..6242af5d67 100644 --- a/kogito-quarkus-examples/process-usertasks-quarkus-with-console/src/test/resources/application.properties +++ b/kogito-quarkus-examples/process-usertasks-quarkus-with-console/src/test/resources/application.properties @@ -52,4 +52,8 @@ mp.messaging.outgoing.kogito-usertaskinstances-events.value.serializer=org.apach #mp.messaging.outgoing.kogito-variables-events.bootstrap.servers=localhost:9092 mp.messaging.outgoing.kogito-variables-events.connector=smallrye-kafka mp.messaging.outgoing.kogito-variables-events.topic=kogito-variables-events -mp.messaging.outgoing.kogito-variables-events.value.serializer=org.apache.kafka.common.serialization.StringSerializer \ No newline at end of file +mp.messaging.outgoing.kogito-variables-events.value.serializer=org.apache.kafka.common.serialization.StringSerializer + +mp.messaging.outgoing.kogito-processdefinitions-events.connector=smallrye-kafka +mp.messaging.outgoing.kogito-processdefinitions-events.topic=kogito-processdefinitions-events +mp.messaging.outgoing.kogito-processdefinitions-events.value.serializer=org.apache.kafka.common.serialization.StringSerializer \ No newline at end of file diff --git a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/src/main/resources/application.properties b/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/src/main/resources/application.properties index ff7c0e825e..932e513803 100644 --- a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/src/main/resources/application.properties +++ b/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/src/main/resources/application.properties @@ -49,6 +49,11 @@ mp.messaging.outgoing.kogito-variables-events.connector=smallrye-kafka mp.messaging.outgoing.kogito-variables-events.topic=kogito-variables-events mp.messaging.outgoing.kogito-variables-events.value.serializer=org.apache.kafka.common.serialization.StringSerializer +mp.messaging.outgoing.kogito-processdefinitions-events.connector=smallrye-kafka +mp.messaging.outgoing.kogito-processdefinitions-events.topic=kogito-processdefinitions-events +mp.messaging.outgoing.kogito-processdefinitions-events.value.serializer=org.apache.kafka.common.serialization.StringSerializer + + #Job-service kogito.jobs-service.url=http://localhost:8580 diff --git a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/src/test/resources/application.properties b/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/src/test/resources/application.properties index 9ef27d9280..a26bea6b3c 100644 --- a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/src/test/resources/application.properties +++ b/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/src/test/resources/application.properties @@ -54,5 +54,9 @@ mp.messaging.outgoing.kogito-variables-events.connector=smallrye-kafka mp.messaging.outgoing.kogito-variables-events.topic=kogito-variables-events mp.messaging.outgoing.kogito-variables-events.value.serializer=org.apache.kafka.common.serialization.StringSerializer +mp.messaging.outgoing.kogito-processdefinitions-events.connector=smallrye-kafka +mp.messaging.outgoing.kogito-processdefinitions-events.topic=kogito-processdefinitions-events +mp.messaging.outgoing.kogito-processdefinitions-events.value.serializer=org.apache.kafka.common.serialization.StringSerializer + #Job-service kogito.jobs-service.url=http://localhost:8580 \ No newline at end of file diff --git a/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/src/main/resources/application.properties b/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/src/main/resources/application.properties index 476b7c8b47..24259d03c1 100644 --- a/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/src/main/resources/application.properties +++ b/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/src/main/resources/application.properties @@ -53,6 +53,10 @@ mp.messaging.outgoing.kogito-variables-events.connector=smallrye-kafka mp.messaging.outgoing.kogito-variables-events.topic=kogito-variables-events mp.messaging.outgoing.kogito-variables-events.value.serializer=org.apache.kafka.common.serialization.StringSerializer +mp.messaging.outgoing.kogito-processdefinitions-events.connector=smallrye-kafka +mp.messaging.outgoing.kogito-processdefinitions-events.topic=kogito-processdefinitions-events +mp.messaging.outgoing.kogito-processdefinitions-events.value.serializer=org.apache.kafka.common.serialization.StringSerializer + # security quarkus.oidc.auth-server-url=http://localhost:8480/auth/realms/kogito diff --git a/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/src/test/resources/application.properties b/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/src/test/resources/application.properties index 6ba1a27bc4..d7fdc50ccc 100644 --- a/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/src/test/resources/application.properties +++ b/kogito-quarkus-examples/process-usertasks-with-security-oidc-quarkus-with-console/src/test/resources/application.properties @@ -54,3 +54,7 @@ mp.messaging.outgoing.kogito-usertaskinstances-events.value.serializer=org.apach mp.messaging.outgoing.kogito-variables-events.connector=smallrye-kafka mp.messaging.outgoing.kogito-variables-events.topic=kogito-variables-events mp.messaging.outgoing.kogito-variables-events.value.serializer=org.apache.kafka.common.serialization.StringSerializer + +mp.messaging.outgoing.kogito-processdefinitions-events.connector=smallrye-kafka +mp.messaging.outgoing.kogito-processdefinitions-events.topic=kogito-processdefinitions-events +mp.messaging.outgoing.kogito-processdefinitions-events.value.serializer=org.apache.kafka.common.serialization.StringSerializer \ No newline at end of file diff --git a/serverless-workflow-examples/serverless-workflow-callback-quarkus/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-callback-quarkus/src/main/resources/application.properties index bc5e342d20..9fb8268b41 100644 --- a/serverless-workflow-examples/serverless-workflow-callback-quarkus/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-callback-quarkus/src/main/resources/application.properties @@ -53,6 +53,11 @@ mp.messaging.outgoing.kogito-variables-events.topic=kogito-variables-events mp.messaging.outgoing.kogito-variables-events.value.serializer=org.apache.kafka.common.serialization.StringSerializer +mp.messaging.outgoing.kogito-processdefinitions-events.connector=smallrye-kafka +mp.messaging.outgoing.kogito-processdefinitions-events.topic=kogito-processdefinitions-events +mp.messaging.outgoing.kogito-processdefinitions-events.value.serializer=org.apache.kafka.common.serialization.StringSerializer + + kogito.persistence.type=jdbc quarkus.datasource.db-kind=postgresql kogito.persistence.proto.marshaller=false diff --git a/serverless-workflow-examples/serverless-workflow-data-index-quarkus/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-data-index-quarkus/src/main/resources/application.properties index 7042f4dbde..5a7d177d58 100644 --- a/serverless-workflow-examples/serverless-workflow-data-index-quarkus/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-data-index-quarkus/src/main/resources/application.properties @@ -90,3 +90,6 @@ quarkus.native.native-image-xmx=8g %http-events.mp.messaging.outgoing.kogito-variables-events.url=http://data-index:8180/variables %http-events.mp.messaging.outgoing.kogito-variables-events.method=POST +%http-events.mp.messaging.outgoing.kogito-processdefinitions-events.connector=quarkus-http +%http-events.mp.messaging.outgoing.kogito-processdefinitions-events.topic=kogito-processdefinitions-events +%http-events.mp.messaging.outgoing.kogito-processdefinitions-events.url=http://data-index:8180/processes diff --git a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/src/main/resources/application-knative.properties b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/src/main/resources/application-knative.properties index e7882dd84d..008cfa2a48 100644 --- a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/src/main/resources/application-knative.properties +++ b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/src/main/resources/application-knative.properties @@ -57,6 +57,10 @@ mp.messaging.outgoing.kogito-variables-events.connector=quarkus-http mp.messaging.outgoing.kogito-variables-events.url=${K_SINK:http://localhost:8180/variables} mp.messaging.outgoing.kogito-variables-events.method=POST +mp.messaging.outgoing.kogito-processdefinitions-events.connector=quarkus-http +mp.messaging.outgoing.kogito-processdefinitions-events.url={K_SINK:http://localhost:8180/definitions} +mp.messaging.outgoing.kogito-processdefinitions-events.method=POST + ## Knative integration: # Use the Kogito service discovery mechanism to get the subscription-service url and set an env var with name SUBSCRIPTION_SERVICE_URL diff --git a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/src/main/resources/application.properties index 5b4377215c..454e33ca9b 100644 --- a/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/src/main/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-newsletter-subscription/subscription-flow/src/main/resources/application.properties @@ -63,4 +63,9 @@ mp.messaging.outgoing.kogito-usertaskinstances-events.method=POST kogito.events.variables.enabled=false mp.messaging.outgoing.kogito-variables-events.connector=quarkus-http mp.messaging.outgoing.kogito-variables-events.url=http://localhost:8180/variables -mp.messaging.outgoing.kogito-variables-events.method=POST \ No newline at end of file +mp.messaging.outgoing.kogito-variables-events.method=POST + +# process definitions events configuration. +mp.messaging.outgoing.kogito-processdefinitions-events.connector=quarkus-http +mp.messaging.outgoing.kogito-processdefinitions-events.url=http://localhost:8180/definitions +mp.messaging.outgoing.kogito-processdefinitions-events.method=POST From a0ea9b500e2927d51dfcebcb9e37aae1d2a14dfc Mon Sep 17 00:00:00 2001 From: Toni Rikkola Date: Wed, 15 Nov 2023 16:22:22 +0200 Subject: [PATCH 08/10] incubator-kie-kogito-examples/issues/1831 Disable flaky tests in incubator-kie-kogito-examples --- .../tests/multimessaging/springboot/MultiMessagingIT.java | 2 ++ .../org/acme/travel/tests/messaging/springboot/MessagingIT.java | 2 ++ 2 files changed, 4 insertions(+) diff --git a/kogito-springboot-examples/process-kafka-multi-springboot/src/test/java/org/acme/travel/tests/multimessaging/springboot/MultiMessagingIT.java b/kogito-springboot-examples/process-kafka-multi-springboot/src/test/java/org/acme/travel/tests/multimessaging/springboot/MultiMessagingIT.java index dc7875f35b..125641c8bd 100644 --- a/kogito-springboot-examples/process-kafka-multi-springboot/src/test/java/org/acme/travel/tests/multimessaging/springboot/MultiMessagingIT.java +++ b/kogito-springboot-examples/process-kafka-multi-springboot/src/test/java/org/acme/travel/tests/multimessaging/springboot/MultiMessagingIT.java @@ -29,6 +29,7 @@ import org.acme.travel.Traveller; import org.junit.jupiter.api.AfterEach; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import org.kie.kogito.test.springboot.kafka.KafkaTestClient; import org.kie.kogito.testcontainers.springboot.KafkaSpringBootTestResource; @@ -68,6 +69,7 @@ public class MultiMessagingIT { private KafkaTestClient kafkaClient; @Test + @Disabled("Flaky test") public void testProcess() throws InterruptedException { objectMapper.configure(JsonParser.Feature.ALLOW_UNQUOTED_FIELD_NAMES, true); diff --git a/kogito-springboot-examples/process-kafka-quickstart-springboot/src/test/java/org/acme/travel/tests/messaging/springboot/MessagingIT.java b/kogito-springboot-examples/process-kafka-quickstart-springboot/src/test/java/org/acme/travel/tests/messaging/springboot/MessagingIT.java index a3b472a4b5..96a90df125 100644 --- a/kogito-springboot-examples/process-kafka-quickstart-springboot/src/test/java/org/acme/travel/tests/messaging/springboot/MessagingIT.java +++ b/kogito-springboot-examples/process-kafka-quickstart-springboot/src/test/java/org/acme/travel/tests/messaging/springboot/MessagingIT.java @@ -28,6 +28,7 @@ import org.acme.travel.Traveller; import org.junit.jupiter.api.AfterEach; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import org.kie.kogito.test.springboot.kafka.KafkaTestClient; import org.kie.kogito.testcontainers.springboot.KafkaSpringBootTestResource; @@ -65,6 +66,7 @@ public class MessagingIT { private KafkaTestClient kafkaClient; @Test + @Disabled("Flaky test") public void testProcess() throws InterruptedException { objectMapper.configure(JsonParser.Feature.ALLOW_UNQUOTED_FIELD_NAMES, true); From 13b2324fd0dc981776ba246129d080c38f300101 Mon Sep 17 00:00:00 2001 From: Jan Stastny Date: Tue, 5 Dec 2023 15:26:38 +0100 Subject: [PATCH 09/10] kie-issues#739: adjust repository after transfer to apache (#1838) * kie-issues#739: adjust repository after transfer to apache * leftovers --------- Co-authored-by: jstastny-cz --- Makefile | 8 ++-- README.md | 2 +- .../decisiontable-quarkus-example.yaml | 2 +- .../operator/dmn-quarkus-example.yaml | 2 +- .../operator/dmn-pmml-quarkus-example.yaml | 2 +- .../operator/dmn-quarkus-example.yaml | 2 +- .../dmn-tracing-quarkus/README.md | 2 +- .../operator/dmn-quarkus-example.yaml | 2 +- .../operator/flexible-process-quarkus.yaml | 2 +- .../extended/operator/travels.yaml | 2 +- .../extended/operator/visas.yaml | 2 +- .../extended/travels/README.md | 2 +- .../extended/visas/README.md | 2 +- .../ocp-tryout/applicationImage.md | 2 +- .../operator/pmml-quarkus-example.yaml | 2 +- .../process-business-rules-quarkus.yaml | 2 +- .../operator/process-scripts-quarkus.yaml | 2 +- ...rocess-infinispan-persistence-quarkus.yaml | 2 +- .../operator/process-kafka-multi-quarkus.yaml | 2 +- .../process-kafka-persistence-quarkus.yaml | 2 +- .../process-kafka-quickstart-quarkus.yaml | 2 +- .../README.md | 2 +- .../process-mongodb-persistence-quarkus.yaml | 2 +- .../process-outbox-mongodb-quarkus/README.md | 2 +- .../operator/process-quarkus-example.yaml | 2 +- .../process-service-rest-call-quarkus.yaml | 2 +- .../README.md | 2 +- .../process-rest-workitem-quarkus/README.md | 2 +- .../process-service-rest-call-quarkus.yaml | 2 +- .../operator/process-scripts-quarkus.yaml | 2 +- .../process-service-calls-quarkus.yaml | 2 +- .../operator/process-timer-quarkus.yaml | 2 +- .../process-usertasks-lifecycle-quarkus.yaml | 2 +- .../operator/process-usertasks-quarkus.yaml | 2 +- .../process-tasks-security-quarkus.yaml | 2 +- .../operator/rules-quarkus-helloworld.yaml | 2 +- .../operator/ruleunit-quarkus-example.yaml | 2 +- .../trusty-demonstration/kubernetes/README.md | 2 +- .../README.md | 2 +- .../decisiontable-springboot-example.yaml | 2 +- .../operator/dmn-springboot-example.yaml | 2 +- .../operator/dmn-pmml-springboot-example.yaml | 2 +- .../operator/dmn-springboot-example.yaml | 2 +- .../dmn-tracing-springboot/README.md | 2 +- .../operator/dmn-tracing-springboot.yaml | 2 +- .../operator/flexible-process-springboot.yaml | 2 +- .../operator/pmml-springboot-example.yaml | 2 +- .../process-business-rules-springboot.yaml | 2 +- ...ess-infinispan-persistence-springboot.yaml | 2 +- .../process-kafka-multi-springboot.yaml | 2 +- .../process-kafka-quickstart-springboot.yaml | 2 +- ...rocess-mongodb-persistence-springboot.yaml | 2 +- .../README.md | 2 +- .../process-service-rest-call-springboot.yaml | 2 +- .../operator/process-scripts-springboot.yaml | 2 +- .../process-service-calls-springboot.yaml | 2 +- .../operator/process-springboot-example.yaml | 2 +- .../operator/process-timer-springboot.yaml | 2 +- ...rocess-usertasks-lifecycle-springboot.yaml | 2 +- .../process-usertasks-springboot.yaml | 2 +- .../process-tasks-security-springboot.yaml | 2 +- .../operator/ruleunit-springboot-example.yaml | 2 +- .../operator/ruleunit-springboot-example.yaml | 2 +- pom.xml | 45 ++++++++++++------- .../serverless-workflow-inventory/README.md | 2 +- .../serverless-workflow-events-quarkus.yaml | 2 +- .../serverless-workflow-greeting-quarkus.yaml | 2 +- .../README.md | 4 +- .../serverless-workflow-greeting-quarkus.yaml | 2 +- .../serverless-workflow-hello-world/README.md | 2 +- .../README.md | 2 +- ...erless-workflow-service-calls-quarkus.yaml | 2 +- .../README.md | 2 +- .../README.md | 2 +- 74 files changed, 105 insertions(+), 94 deletions(-) diff --git a/Makefile b/Makefile index 6875fbef32..9d013627a6 100644 --- a/Makefile +++ b/Makefile @@ -2,9 +2,9 @@ mvn_opts= mvn_cmd=mvn $(mvn_opts) build_chain_branch=$(shell git branch --show-current) -build_chain_file='https://raw.githubusercontent.com/kiegroup/kogito-pipelines/main/.ci/pull-request-config.yaml' -build_chain_group='kiegroup' -build_chain_project='kiegroup/kogito-examples' +build_chain_file='https://raw.githubusercontent.com/apache/incubator-kie-kogito-pipelines/main/.ci/pull-request-config.yaml' +build_chain_group='apache' +build_chain_project='apache/incubator-kie-kogito-examples' default: help @@ -21,7 +21,7 @@ build-quickly: .PHONY: build-upstream ## (build-chain) Build upstream projects from the same branch. If needed, you can modify the `build_chain_file`, `build_chain_group` and `build_chain_branch`. See `build_chain_file` for setting correct environment variables build-upstream: build-chain - build-chain build cross_pr -f ${build_chain_file} -o /tmp/bc -p ${build_chain_project} -b ${build_chain_branch} -g ${build_chain_group} --skipParallelCheckout --skipProjectExecution kiegroup/kogito-examples --skipProjectCheckout kiegroup/kogito-examples + build-chain build cross_pr -f ${build_chain_file} -o /tmp/bc -p ${build_chain_project} -b ${build_chain_branch} -g ${build_chain_group} --skipParallelCheckout --skipProjectExecution apache/incubator-kie-kogito-examples --skipProjectCheckout apache/incubator-kie-kogito-examples .PHONY: build-pr pr_link= diff --git a/README.md b/README.md index 286d111dd9..97eaae93a1 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ This module contains a number of examples that you can take a look at and try ou Since Kogito aims at supporting both Quarkus and Spring Boot each example usually provides both type of projects. - Default branch is `stable`, pointing to the latest released version. -- **[You can also check all versions by looking at releases.](https://github.com/kiegroup/kogito-examples/releases/latest)** +- **[You can also check all versions by looking at releases.](https://github.com/apache/incubator-kie-kogito-examples/releases/latest)** ## Use alternative Quarkus platforms diff --git a/kogito-quarkus-examples/decisiontable-quarkus-example/operator/decisiontable-quarkus-example.yaml b/kogito-quarkus-examples/decisiontable-quarkus-example/operator/decisiontable-quarkus-example.yaml index 7436593a2f..57984472e2 100644 --- a/kogito-quarkus-examples/decisiontable-quarkus-example/operator/decisiontable-quarkus-example.yaml +++ b/kogito-quarkus-examples/decisiontable-quarkus-example/operator/decisiontable-quarkus-example.yaml @@ -29,7 +29,7 @@ spec: # value: "my value" gitSource: contextDir: kogito-quarkus-examples/decisiontable-quarkus-example - uri: 'https://github.com/kiegroup/kogito-examples' + uri: 'https://github.com/apache/incubator-kie-kogito-examples' # set your maven nexus repository to speed up the build time #mavenMirrorURL: --- diff --git a/kogito-quarkus-examples/dmn-listener-quarkus/operator/dmn-quarkus-example.yaml b/kogito-quarkus-examples/dmn-listener-quarkus/operator/dmn-quarkus-example.yaml index c5958575db..afcf721b92 100644 --- a/kogito-quarkus-examples/dmn-listener-quarkus/operator/dmn-quarkus-example.yaml +++ b/kogito-quarkus-examples/dmn-listener-quarkus/operator/dmn-quarkus-example.yaml @@ -29,7 +29,7 @@ spec: # value: "my value" gitSource: contextDir: kogito-quarkus-examples/dmn-listener-quarkus - uri: 'https://github.com/kiegroup/kogito-examples' + uri: 'https://github.com/apache/incubator-kie-kogito-examples' # set your maven nexus repository to speed up the build time #mavenMirrorURL: --- diff --git a/kogito-quarkus-examples/dmn-pmml-quarkus-example/operator/dmn-pmml-quarkus-example.yaml b/kogito-quarkus-examples/dmn-pmml-quarkus-example/operator/dmn-pmml-quarkus-example.yaml index ef586c8b24..74713c4dcf 100644 --- a/kogito-quarkus-examples/dmn-pmml-quarkus-example/operator/dmn-pmml-quarkus-example.yaml +++ b/kogito-quarkus-examples/dmn-pmml-quarkus-example/operator/dmn-pmml-quarkus-example.yaml @@ -29,7 +29,7 @@ spec: # value: "my value" gitSource: contextDir: kogito-quarkus-examples/dmn-pmml-quarkus-example - uri: 'https://github.com/kiegroup/kogito-examples' + uri: 'https://github.com/apache/incubator-kie-kogito-examples' # set your maven nexus repository to speed up the build time #mavenMirrorURL: --- diff --git a/kogito-quarkus-examples/dmn-quarkus-example/operator/dmn-quarkus-example.yaml b/kogito-quarkus-examples/dmn-quarkus-example/operator/dmn-quarkus-example.yaml index 148bc634b2..69e8bcd1f0 100644 --- a/kogito-quarkus-examples/dmn-quarkus-example/operator/dmn-quarkus-example.yaml +++ b/kogito-quarkus-examples/dmn-quarkus-example/operator/dmn-quarkus-example.yaml @@ -29,7 +29,7 @@ spec: # value: "my value" gitSource: contextDir: kogito-quarkus-examples/dmn-quarkus-example - uri: 'https://github.com/kiegroup/kogito-examples' + uri: 'https://github.com/apache/incubator-kie-kogito-examples' # set your maven nexus repository to speed up the build time #mavenMirrorURL: --- diff --git a/kogito-quarkus-examples/dmn-tracing-quarkus/README.md b/kogito-quarkus-examples/dmn-tracing-quarkus/README.md index f401157604..2311a41d89 100644 --- a/kogito-quarkus-examples/dmn-tracing-quarkus/README.md +++ b/kogito-quarkus-examples/dmn-tracing-quarkus/README.md @@ -134,7 +134,7 @@ Example response: ## Integration example with Trusty Service -When the tracing addon is enabled, the tracing events are emitted and pushed to a Kafka broker. The [Trusty Service](https://github.com/kiegroup/kogito-apps/tree/main/trusty) can consume such events and store them on a storage. The Trusty Service exposes then some api to consume the information that has been collected. +When the tracing addon is enabled, the tracing events are emitted and pushed to a Kafka broker. The [Trusty Service](https://github.com/apache/incubator-kie-kogito-apps/tree/main/trusty) can consume such events and store them on a storage. The Trusty Service exposes then some api to consume the information that has been collected. A `docker-compose` example is provided in the current folder. In particular, when `docker-compose up` is run, a Kafka broker, an Infinispan container and the latest build of the trusty service configured to use Infinispan are deployed. Once the services are up and running, after a decision has been evaluated, you can access the trusty service API to list the evaluations at `localhost:8081/executions` for example. diff --git a/kogito-quarkus-examples/dmn-tracing-quarkus/operator/dmn-quarkus-example.yaml b/kogito-quarkus-examples/dmn-tracing-quarkus/operator/dmn-quarkus-example.yaml index 1420b17435..fc395c3c83 100644 --- a/kogito-quarkus-examples/dmn-tracing-quarkus/operator/dmn-quarkus-example.yaml +++ b/kogito-quarkus-examples/dmn-tracing-quarkus/operator/dmn-quarkus-example.yaml @@ -36,7 +36,7 @@ spec: type: RemoteSource gitSource: contextDir: kogito-quarkus-examples/dmn-tracing-quarkus - uri: "https://github.com/kiegroup/kogito-examples/" + uri: "https://github.com/apache/incubator-kie-kogito-examples/" # set your maven nexus repository to speed up the build time #mavenMirrorURL: --- diff --git a/kogito-quarkus-examples/flexible-process-quarkus/operator/flexible-process-quarkus.yaml b/kogito-quarkus-examples/flexible-process-quarkus/operator/flexible-process-quarkus.yaml index 73b3f05714..7faab42a24 100644 --- a/kogito-quarkus-examples/flexible-process-quarkus/operator/flexible-process-quarkus.yaml +++ b/kogito-quarkus-examples/flexible-process-quarkus/operator/flexible-process-quarkus.yaml @@ -29,7 +29,7 @@ spec: # value: "my value" gitSource: contextDir: kogito-quarkus-examples/flexible-process-quarkus - uri: 'https://github.com/kiegroup/kogito-examples' + uri: 'https://github.com/apache/incubator-kie-kogito-examples' # set your maven nexus repository to speed up the build time #mavenMirrorURL: --- diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/operator/travels.yaml b/kogito-quarkus-examples/kogito-travel-agency/extended/operator/travels.yaml index e397753c98..5804b0c901 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/extended/operator/travels.yaml +++ b/kogito-quarkus-examples/kogito-travel-agency/extended/operator/travels.yaml @@ -45,7 +45,7 @@ spec: type: RemoteSource gitSource: contextDir: kogito-quarkus-examples/kogito-travel-agency/extended/travels - uri: "https://github.com/kiegroup/kogito-examples/" + uri: "https://github.com/apache/incubator-kie-kogito-examples/" # set your maven nexus repository to speed up the build time #mavenMirrorURL: --- diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/operator/visas.yaml b/kogito-quarkus-examples/kogito-travel-agency/extended/operator/visas.yaml index b1cf2cc767..45fd717e61 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/extended/operator/visas.yaml +++ b/kogito-quarkus-examples/kogito-travel-agency/extended/operator/visas.yaml @@ -25,7 +25,7 @@ spec: type: RemoteSource gitSource: contextDir: kogito-quarkus-examples/kogito-travel-agency/extended/visas - uri: "https://github.com/kiegroup/kogito-examples/" + uri: "https://github.com/apache/incubator-kie-kogito-examples/" # set your maven nexus repository to speed up the build time #mavenMirrorURL: --- diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/README.md b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/README.md index 463fe026af..97bad5ef6f 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/README.md +++ b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/README.md @@ -371,4 +371,4 @@ curl -H "Content-Type: application/json" -H "Accept: application/json" -X POST h ### Querying the technical cache When running **Kogito Data Index Service** on dev mode, the GraphiQL UI is available at [http://localhost:8180](http://localhost:8180/) and allow to -perform different queries on the model as is explained at [wiki/Data-Index-service](https://github.com/kiegroup/kogito-runtimes/wiki/Data-Index-Service) +perform different queries on the model as is explained at [wiki/Data-Index-service](https://github.com/apache/incubator-kie-kogito-runtimes/wiki/Data-Index-Service) diff --git a/kogito-quarkus-examples/kogito-travel-agency/extended/visas/README.md b/kogito-quarkus-examples/kogito-travel-agency/extended/visas/README.md index 7f5cdb9195..4153730b4f 100644 --- a/kogito-quarkus-examples/kogito-travel-agency/extended/visas/README.md +++ b/kogito-quarkus-examples/kogito-travel-agency/extended/visas/README.md @@ -227,4 +227,4 @@ EOF ### Querying the technical cache When running **Kogito Data Index Service** on dev mode, the GraphiQL UI is available at [http://localhost:8180](http://localhost:8180/) and allow to -perform different queries on the model as is explained at [wiki/Data-Index-service](https://github.com/kiegroup/kogito-runtimes/wiki/Data-Index-Service) +perform different queries on the model as is explained at [wiki/Data-Index-service](https://github.com/apache/incubator-kie-kogito-runtimes/wiki/Data-Index-Service) diff --git a/kogito-quarkus-examples/ocp-tryout/applicationImage.md b/kogito-quarkus-examples/ocp-tryout/applicationImage.md index 89e8e0c79c..c7df34afda 100644 --- a/kogito-quarkus-examples/ocp-tryout/applicationImage.md +++ b/kogito-quarkus-examples/ocp-tryout/applicationImage.md @@ -1,7 +1,7 @@ ## Prepare Kogito application image The Tryout process installs a container image, which must be accessible from an image repository. If such an image exists, this step can be skipped. -Below steps show the process of building and uploading an image using the example of the [extended Kogito Travel Agency](https://github.com/kiegroup/kogito-examples/tree/stable/kogito-quarkus-examples/kogito-travel-agency/extended/travels/) application: +Below steps show the process of building and uploading an image using the example of the [extended Kogito Travel Agency](https://github.com/apache/incubator-kie-kogito-examples/tree/stable/kogito-quarkus-examples/kogito-travel-agency/extended/travels/) application: - cd into `kogito-examples/kogito-quarkus-examples/kogito-travel-agency/extended/travels` - build the application: `mvn clean package` - build the image: `docker build -f src/main/docker/Dockerfile.jvm -t quarkus/kogito-travel-agency-travels-jvm .` diff --git a/kogito-quarkus-examples/pmml-quarkus-example/operator/pmml-quarkus-example.yaml b/kogito-quarkus-examples/pmml-quarkus-example/operator/pmml-quarkus-example.yaml index c4b5aad4c6..fe8be68924 100644 --- a/kogito-quarkus-examples/pmml-quarkus-example/operator/pmml-quarkus-example.yaml +++ b/kogito-quarkus-examples/pmml-quarkus-example/operator/pmml-quarkus-example.yaml @@ -29,7 +29,7 @@ spec: # value: "my value" gitSource: contextDir: kogito-quarkus-examples/pmml-quarkus-example - uri: 'https://github.com/kiegroup/kogito-examples' + uri: 'https://github.com/apache/incubator-kie-kogito-examples' # set your maven nexus repository to speed up the build time #mavenMirrorURL: --- diff --git a/kogito-quarkus-examples/process-business-rules-quarkus/operator/process-business-rules-quarkus.yaml b/kogito-quarkus-examples/process-business-rules-quarkus/operator/process-business-rules-quarkus.yaml index e19fce04f1..b41100cf63 100644 --- a/kogito-quarkus-examples/process-business-rules-quarkus/operator/process-business-rules-quarkus.yaml +++ b/kogito-quarkus-examples/process-business-rules-quarkus/operator/process-business-rules-quarkus.yaml @@ -29,7 +29,7 @@ spec: # value: "my value" gitSource: contextDir: kogito-quarkus-examples/process-business-rules-quarkus - uri: 'https://github.com/kiegroup/kogito-examples' + uri: 'https://github.com/apache/incubator-kie-kogito-examples' # set your maven nexus repository to speed up the build time #mavenMirrorURL: --- diff --git a/kogito-quarkus-examples/process-error-handling/operator/process-scripts-quarkus.yaml b/kogito-quarkus-examples/process-error-handling/operator/process-scripts-quarkus.yaml index dcc6e81d08..87e6f0fe9c 100644 --- a/kogito-quarkus-examples/process-error-handling/operator/process-scripts-quarkus.yaml +++ b/kogito-quarkus-examples/process-error-handling/operator/process-scripts-quarkus.yaml @@ -29,7 +29,7 @@ spec: # value: "my value" gitSource: contextDir: kogito-quarkus-examples/process-error-handling - uri: 'https://github.com/kiegroup/kogito-examples' + uri: 'https://github.com/apache/incubator-kie-kogito-examples' # set your maven nexus repository to speed up the build time #mavenMirrorURL: --- diff --git a/kogito-quarkus-examples/process-infinispan-persistence-quarkus/operator/process-infinispan-persistence-quarkus.yaml b/kogito-quarkus-examples/process-infinispan-persistence-quarkus/operator/process-infinispan-persistence-quarkus.yaml index 93c23d5a55..49e3f6c398 100644 --- a/kogito-quarkus-examples/process-infinispan-persistence-quarkus/operator/process-infinispan-persistence-quarkus.yaml +++ b/kogito-quarkus-examples/process-infinispan-persistence-quarkus/operator/process-infinispan-persistence-quarkus.yaml @@ -35,7 +35,7 @@ spec: type: RemoteSource gitSource: contextDir: kogito-quarkus-examples/process-infinispan-persistence-quarkus - uri: 'https://github.com/kiegroup/kogito-examples' + uri: 'https://github.com/apache/incubator-kie-kogito-examples' # set your maven nexus repository to speed up the build time #mavenMirrorURL: --- diff --git a/kogito-quarkus-examples/process-kafka-multi-quarkus/operator/process-kafka-multi-quarkus.yaml b/kogito-quarkus-examples/process-kafka-multi-quarkus/operator/process-kafka-multi-quarkus.yaml index 0213fad4d7..172824f643 100644 --- a/kogito-quarkus-examples/process-kafka-multi-quarkus/operator/process-kafka-multi-quarkus.yaml +++ b/kogito-quarkus-examples/process-kafka-multi-quarkus/operator/process-kafka-multi-quarkus.yaml @@ -39,7 +39,7 @@ spec: # value: "my value" gitSource: contextDir: kogito-quarkus-examples/process-kafka-multi-quickstart-quarkus - uri: 'https://github.com/kiegroup/kogito-examples' + uri: 'https://github.com/apache/incubator-kie-kogito-examples' # set your maven nexus repository to speed up the build time #mavenMirrorURL: --- diff --git a/kogito-quarkus-examples/process-kafka-persistence-quarkus/operator/process-kafka-persistence-quarkus.yaml b/kogito-quarkus-examples/process-kafka-persistence-quarkus/operator/process-kafka-persistence-quarkus.yaml index f4fbf5b00b..b824bbf469 100644 --- a/kogito-quarkus-examples/process-kafka-persistence-quarkus/operator/process-kafka-persistence-quarkus.yaml +++ b/kogito-quarkus-examples/process-kafka-persistence-quarkus/operator/process-kafka-persistence-quarkus.yaml @@ -35,7 +35,7 @@ spec: type: RemoteSource gitSource: contextDir: kogito-quarkus-examples/process-kafka-persistence-quarkus - uri: 'https://github.com/kiegroup/kogito-examples' + uri: 'https://github.com/apache/incubator-kie-kogito-examples' # set your maven nexus repository to speed up the build time #mavenMirrorURL: --- diff --git a/kogito-quarkus-examples/process-kafka-quickstart-quarkus/operator/process-kafka-quickstart-quarkus.yaml b/kogito-quarkus-examples/process-kafka-quickstart-quarkus/operator/process-kafka-quickstart-quarkus.yaml index 356d25cc20..2e7b87e03c 100644 --- a/kogito-quarkus-examples/process-kafka-quickstart-quarkus/operator/process-kafka-quickstart-quarkus.yaml +++ b/kogito-quarkus-examples/process-kafka-quickstart-quarkus/operator/process-kafka-quickstart-quarkus.yaml @@ -39,7 +39,7 @@ spec: # value: "my value" gitSource: contextDir: kogito-quarkus-examples/process-kafka-quickstart-quarkus - uri: 'https://github.com/kiegroup/kogito-examples' + uri: 'https://github.com/apache/incubator-kie-kogito-examples' # set your maven nexus repository to speed up the build time #mavenMirrorURL: --- diff --git a/kogito-quarkus-examples/process-knative-quickstart-quarkus/README.md b/kogito-quarkus-examples/process-knative-quickstart-quarkus/README.md index fab6af775b..9317d827b6 100644 --- a/kogito-quarkus-examples/process-knative-quickstart-quarkus/README.md +++ b/kogito-quarkus-examples/process-knative-quickstart-quarkus/README.md @@ -3,7 +3,7 @@ ## Description A quickstart project that deals with traveller processing carried by rules. It illustrates how easy it is to make the Kogito processes and rules to work with Knative Eventing. This project is based on -the example [Process with Kafka](https://github.com/kiegroup/kogito-examples/tree/main/kogito-quarkus-examples/process-kafka-quickstart-quarkus). +the example [Process with Kafka](https://github.com/apache/incubator-kie-kogito-examples/tree/main/kogito-quarkus-examples/process-kafka-quickstart-quarkus). This example shows diff --git a/kogito-quarkus-examples/process-mongodb-persistence-quarkus/operator/process-mongodb-persistence-quarkus.yaml b/kogito-quarkus-examples/process-mongodb-persistence-quarkus/operator/process-mongodb-persistence-quarkus.yaml index e39af034fa..87936fe87f 100644 --- a/kogito-quarkus-examples/process-mongodb-persistence-quarkus/operator/process-mongodb-persistence-quarkus.yaml +++ b/kogito-quarkus-examples/process-mongodb-persistence-quarkus/operator/process-mongodb-persistence-quarkus.yaml @@ -35,7 +35,7 @@ spec: type: RemoteSource gitSource: contextDir: kogito-quarkus-examples/process-mongodb-persistence-quarkus - uri: 'https://github.com/kiegroup/kogito-examples' + uri: 'https://github.com/apache/incubator-kie-kogito-examples' # set your maven nexus repository to speed up the build time #mavenMirrorURL: --- diff --git a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/README.md b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/README.md index 9d541b4adf..8d79623ebb 100644 --- a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/README.md +++ b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/README.md @@ -36,7 +36,7 @@ curl -d '{"approver" : "john", "order" : {"orderNumber" : "12345", "shipped" : f

-6. With the Kafka broker info from step 8, run the Kogito Data Index Service with MongoDB to consume Kafka messages: https://github.com/kiegroup/kogito-runtimes/wiki/Data-Index-Service +6. With the Kafka broker info from step 8, run the Kogito Data Index Service with MongoDB to consume Kafka messages: https://github.com/apache/incubator-kie-kogito-runtimes/wiki/Data-Index-Service 7. Shut down the cluster ```shell diff --git a/kogito-quarkus-examples/process-quarkus-example/operator/process-quarkus-example.yaml b/kogito-quarkus-examples/process-quarkus-example/operator/process-quarkus-example.yaml index f6c4456a06..f143c6d0fa 100644 --- a/kogito-quarkus-examples/process-quarkus-example/operator/process-quarkus-example.yaml +++ b/kogito-quarkus-examples/process-quarkus-example/operator/process-quarkus-example.yaml @@ -25,7 +25,7 @@ spec: type: RemoteSource gitSource: contextDir: kogito-quarkus-examples/process-quarkus-example - uri: 'https://github.com/kiegroup/kogito-examples' + uri: 'https://github.com/apache/incubator-kie-kogito-examples' # set your maven nexus repository to speed up the build time #mavenMirrorURL: #uncomment to enable persistence diff --git a/kogito-quarkus-examples/process-rest-service-call-quarkus/operator/process-service-rest-call-quarkus.yaml b/kogito-quarkus-examples/process-rest-service-call-quarkus/operator/process-service-rest-call-quarkus.yaml index 47d877f7d0..a3cc78d961 100644 --- a/kogito-quarkus-examples/process-rest-service-call-quarkus/operator/process-service-rest-call-quarkus.yaml +++ b/kogito-quarkus-examples/process-rest-service-call-quarkus/operator/process-service-rest-call-quarkus.yaml @@ -29,7 +29,7 @@ spec: # value: "my value" gitSource: contextDir: kogito-quarkus-examples/process-service-rest-call-quarkus - uri: 'https://github.com/kiegroup/kogito-examples' + uri: 'https://github.com/apache/incubator-kie-kogito-examples' # set your maven nexus repository to speed up the build time #mavenMirrorURL: --- diff --git a/kogito-quarkus-examples/process-rest-workitem-multi-quarkus/README.md b/kogito-quarkus-examples/process-rest-workitem-multi-quarkus/README.md index 40ee897c75..faaa6ee043 100644 --- a/kogito-quarkus-examples/process-rest-workitem-multi-quarkus/README.md +++ b/kogito-quarkus-examples/process-rest-workitem-multi-quarkus/README.md @@ -2,7 +2,7 @@ ## Description -This example contains a BPMN that performs two consecutive REST invocations using [RestWorkItemHandler](https://github.com/kiegroup/kogito-runtimes/blob/main/kogito-workitems/kogito-rest-workitem/src/main/java/org/kogito/workitem/rest/RestWorkItemHandler.java), an alternative declarative approach to service programatic calls. +This example contains a BPMN that performs two consecutive REST invocations using [RestWorkItemHandler](https://github.com/apache/incubator-kie-kogito-runtimes/blob/main/kogito-workitems/kogito-rest-workitem/src/main/java/org/kogito/workitem/rest/RestWorkItemHandler.java), an alternative declarative approach to service programatic calls. Note that in order to user a WorkItem in Kogito Editor, corresponding .wid file needs to located together with the bpmn file under the same directory diff --git a/kogito-quarkus-examples/process-rest-workitem-quarkus/README.md b/kogito-quarkus-examples/process-rest-workitem-quarkus/README.md index 3062033e64..be4e40faca 100644 --- a/kogito-quarkus-examples/process-rest-workitem-quarkus/README.md +++ b/kogito-quarkus-examples/process-rest-workitem-quarkus/README.md @@ -5,7 +5,7 @@ A quickstart project that processes users in the system. It's main purpose is to to call external REST service to load a given user by its username. -There are two ways to invoke a rest web service in Kogito: programmatically, as shown in this other [example](https://github.com/kiegroup/kogito-examples/tree/stable/kogito-quarkus-examples/process-service-calls-quarkus) or using RestWorkItemHandler, as in this example. +There are two ways to invoke a rest web service in Kogito: programmatically, as shown in this other [example](https://github.com/apache/incubator-kie-kogito-examples/tree/stable/kogito-quarkus-examples/process-service-calls-quarkus) or using RestWorkItemHandler, as in this example. Note that in order to user a WorkItem in Kogito Editor, corresponding .wid file needs to located together with the bpmn file under the same directory diff --git a/kogito-quarkus-examples/process-rest-workitem-quarkus/operator/process-service-rest-call-quarkus.yaml b/kogito-quarkus-examples/process-rest-workitem-quarkus/operator/process-service-rest-call-quarkus.yaml index 47d877f7d0..a3cc78d961 100644 --- a/kogito-quarkus-examples/process-rest-workitem-quarkus/operator/process-service-rest-call-quarkus.yaml +++ b/kogito-quarkus-examples/process-rest-workitem-quarkus/operator/process-service-rest-call-quarkus.yaml @@ -29,7 +29,7 @@ spec: # value: "my value" gitSource: contextDir: kogito-quarkus-examples/process-service-rest-call-quarkus - uri: 'https://github.com/kiegroup/kogito-examples' + uri: 'https://github.com/apache/incubator-kie-kogito-examples' # set your maven nexus repository to speed up the build time #mavenMirrorURL: --- diff --git a/kogito-quarkus-examples/process-scripts-quarkus/operator/process-scripts-quarkus.yaml b/kogito-quarkus-examples/process-scripts-quarkus/operator/process-scripts-quarkus.yaml index de55a9acf4..be06e47cde 100644 --- a/kogito-quarkus-examples/process-scripts-quarkus/operator/process-scripts-quarkus.yaml +++ b/kogito-quarkus-examples/process-scripts-quarkus/operator/process-scripts-quarkus.yaml @@ -29,7 +29,7 @@ spec: # value: "my value" gitSource: contextDir: kogito-quarkus-examples/process-scripts-quarkus - uri: 'https://github.com/kiegroup/kogito-examples' + uri: 'https://github.com/apache/incubator-kie-kogito-examples' # set your maven nexus repository to speed up the build time #mavenMirrorURL: --- diff --git a/kogito-quarkus-examples/process-service-calls-quarkus/operator/process-service-calls-quarkus.yaml b/kogito-quarkus-examples/process-service-calls-quarkus/operator/process-service-calls-quarkus.yaml index 1db0021b58..604cfe0672 100644 --- a/kogito-quarkus-examples/process-service-calls-quarkus/operator/process-service-calls-quarkus.yaml +++ b/kogito-quarkus-examples/process-service-calls-quarkus/operator/process-service-calls-quarkus.yaml @@ -29,7 +29,7 @@ spec: # value: "my value" gitSource: contextDir: kogito-quarkus-examples/process-service-calls-quarkus - uri: 'https://github.com/kiegroup/kogito-examples' + uri: 'https://github.com/apache/incubator-kie-kogito-examples' # set your maven nexus repository to speed up the build time #mavenMirrorURL: --- diff --git a/kogito-quarkus-examples/process-timer-quarkus/operator/process-timer-quarkus.yaml b/kogito-quarkus-examples/process-timer-quarkus/operator/process-timer-quarkus.yaml index 2b3ace5f6e..cfccfbda03 100644 --- a/kogito-quarkus-examples/process-timer-quarkus/operator/process-timer-quarkus.yaml +++ b/kogito-quarkus-examples/process-timer-quarkus/operator/process-timer-quarkus.yaml @@ -29,7 +29,7 @@ spec: # value: "my value" gitSource: contextDir: kogito-quarkus-examples/process-timer-quarkus - uri: 'https://github.com/kiegroup/kogito-examples' + uri: 'https://github.com/apache/incubator-kie-kogito-examples' # set your maven nexus repository to speed up the build time #mavenMirrorURL: --- diff --git a/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/operator/process-usertasks-lifecycle-quarkus.yaml b/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/operator/process-usertasks-lifecycle-quarkus.yaml index 5c6a685ed9..adfe580a35 100644 --- a/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/operator/process-usertasks-lifecycle-quarkus.yaml +++ b/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/operator/process-usertasks-lifecycle-quarkus.yaml @@ -29,7 +29,7 @@ spec: # value: "my value" gitSource: contextDir: kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus - uri: 'https://github.com/kiegroup/kogito-examples' + uri: 'https://github.com/apache/incubator-kie-kogito-examples' # set your maven nexus repository to speed up the build time #mavenMirrorURL: --- diff --git a/kogito-quarkus-examples/process-usertasks-quarkus/operator/process-usertasks-quarkus.yaml b/kogito-quarkus-examples/process-usertasks-quarkus/operator/process-usertasks-quarkus.yaml index 21d47cadf5..7ddab454d9 100644 --- a/kogito-quarkus-examples/process-usertasks-quarkus/operator/process-usertasks-quarkus.yaml +++ b/kogito-quarkus-examples/process-usertasks-quarkus/operator/process-usertasks-quarkus.yaml @@ -29,7 +29,7 @@ spec: # value: "my value" gitSource: contextDir: kogito-quarkus-examples/process-usertasks-quarkus - uri: 'https://github.com/kiegroup/kogito-examples' + uri: 'https://github.com/apache/incubator-kie-kogito-examples' # set your maven nexus repository to speed up the build time #mavenMirrorURL: --- diff --git a/kogito-quarkus-examples/process-usertasks-with-security-quarkus/operator/process-tasks-security-quarkus.yaml b/kogito-quarkus-examples/process-usertasks-with-security-quarkus/operator/process-tasks-security-quarkus.yaml index 790b05e6dc..04f2b5cf90 100644 --- a/kogito-quarkus-examples/process-usertasks-with-security-quarkus/operator/process-tasks-security-quarkus.yaml +++ b/kogito-quarkus-examples/process-usertasks-with-security-quarkus/operator/process-tasks-security-quarkus.yaml @@ -29,7 +29,7 @@ spec: # value: "my value" gitSource: contextDir: kogito-quarkus-examples/process-usertasks-with-security-quarkus - uri: 'https://github.com/kiegroup/kogito-examples' + uri: 'https://github.com/apache/incubator-kie-kogito-examples' # set your maven nexus repository to speed up the build time #mavenMirrorURL: --- diff --git a/kogito-quarkus-examples/rules-quarkus-helloworld/operator/rules-quarkus-helloworld.yaml b/kogito-quarkus-examples/rules-quarkus-helloworld/operator/rules-quarkus-helloworld.yaml index c8ac168738..4e7885e3e9 100644 --- a/kogito-quarkus-examples/rules-quarkus-helloworld/operator/rules-quarkus-helloworld.yaml +++ b/kogito-quarkus-examples/rules-quarkus-helloworld/operator/rules-quarkus-helloworld.yaml @@ -29,7 +29,7 @@ spec: # value: "my value" gitSource: contextDir: kogito-quarkus-examples/rules-quarkus-helloworld - uri: 'https://github.com/kiegroup/kogito-examples' + uri: 'https://github.com/apache/incubator-kie-kogito-examples' # set your maven nexus repository to speed up the build time #mavenMirrorURL: --- diff --git a/kogito-quarkus-examples/ruleunit-quarkus-example/operator/ruleunit-quarkus-example.yaml b/kogito-quarkus-examples/ruleunit-quarkus-example/operator/ruleunit-quarkus-example.yaml index 4a903397ba..cbf179d3cf 100644 --- a/kogito-quarkus-examples/ruleunit-quarkus-example/operator/ruleunit-quarkus-example.yaml +++ b/kogito-quarkus-examples/ruleunit-quarkus-example/operator/ruleunit-quarkus-example.yaml @@ -29,7 +29,7 @@ spec: # value: "my value" gitSource: contextDir: kogito-quarkus-examples/ruleunit-quarkus-example - uri: 'https://github.com/kiegroup/kogito-examples' + uri: 'https://github.com/apache/incubator-kie-kogito-examples' # set your maven nexus repository to speed up the build time #mavenMirrorURL: --- diff --git a/kogito-quarkus-examples/trusty-demonstration/kubernetes/README.md b/kogito-quarkus-examples/trusty-demonstration/kubernetes/README.md index 7ee55969c6..7915128bcc 100644 --- a/kogito-quarkus-examples/trusty-demonstration/kubernetes/README.md +++ b/kogito-quarkus-examples/trusty-demonstration/kubernetes/README.md @@ -62,7 +62,7 @@ KOGITO_VERSION=v1.5.0 Deploy the kogito operator in the cluster ```bash -wget https://github.com/kiegroup/kogito-operator/releases/download/${KOGITO_VERSION}/kogito-operator.yaml +wget https://github.com/apache/incubator-kie-kogito-operator/releases/download/${KOGITO_VERSION}/kogito-operator.yaml kubectl apply -f kogito-operator.yaml ``` diff --git a/kogito-quarkus-examples/trusty-tracing-quarkus-devservices/README.md b/kogito-quarkus-examples/trusty-tracing-quarkus-devservices/README.md index fbc13b2051..89e550ff84 100644 --- a/kogito-quarkus-examples/trusty-tracing-quarkus-devservices/README.md +++ b/kogito-quarkus-examples/trusty-tracing-quarkus-devservices/README.md @@ -21,7 +21,7 @@ You will need: mvn clean compile quarkus:dev ``` -The tracing addon emits tracing events to a Kafka broker running within Quarkus DevServices. A [Trusty Service](https://github.com/kiegroup/kogito-apps/tree/main/trusty) +The tracing addon emits tracing events to a Kafka broker running within Quarkus DevServices. A [Trusty Service](https://github.com/apache/incubator-kie-kogito-apps/tree/main/trusty) instance, also running within Quarkus DevServices, consumes the events and stores them in a PostgreSQL instance running within Quarkus DevServices too. Within Quarkus DevMode the DevMode UI can be launched by pressing [d] or navigating to http://localhost:8080/q/dev/. diff --git a/kogito-springboot-examples/decisiontable-springboot-example/operator/decisiontable-springboot-example.yaml b/kogito-springboot-examples/decisiontable-springboot-example/operator/decisiontable-springboot-example.yaml index 40eac11057..844a8c845d 100644 --- a/kogito-springboot-examples/decisiontable-springboot-example/operator/decisiontable-springboot-example.yaml +++ b/kogito-springboot-examples/decisiontable-springboot-example/operator/decisiontable-springboot-example.yaml @@ -30,7 +30,7 @@ spec: # value: "my value" gitSource: contextDir: kogito-quarkus-examples/decisiontable-springboot-example - uri: 'https://github.com/kiegroup/kogito-examples' + uri: 'https://github.com/apache/incubator-kie-kogito-examples' # set your maven nexus repository to speed up the build time #mavenMirrorURL: --- diff --git a/kogito-springboot-examples/dmn-listener-springboot/operator/dmn-springboot-example.yaml b/kogito-springboot-examples/dmn-listener-springboot/operator/dmn-springboot-example.yaml index 3523735497..eb46fa58f3 100644 --- a/kogito-springboot-examples/dmn-listener-springboot/operator/dmn-springboot-example.yaml +++ b/kogito-springboot-examples/dmn-listener-springboot/operator/dmn-springboot-example.yaml @@ -30,7 +30,7 @@ spec: # value: "my value" gitSource: contextDir: kogito-quarkus-examples/dmn-listener-springboot - uri: 'https://github.com/kiegroup/kogito-examples' + uri: 'https://github.com/apache/incubator-kie-kogito-examples' # set your maven nexus repository to speed up the build time #mavenMirrorURL: --- diff --git a/kogito-springboot-examples/dmn-pmml-springboot-example/operator/dmn-pmml-springboot-example.yaml b/kogito-springboot-examples/dmn-pmml-springboot-example/operator/dmn-pmml-springboot-example.yaml index ac37fc8170..d500c425ca 100644 --- a/kogito-springboot-examples/dmn-pmml-springboot-example/operator/dmn-pmml-springboot-example.yaml +++ b/kogito-springboot-examples/dmn-pmml-springboot-example/operator/dmn-pmml-springboot-example.yaml @@ -30,7 +30,7 @@ spec: # value: "my value" gitSource: contextDir: kogito-quarkus-examples/dmn-pmml-springboot-example - uri: 'https://github.com/kiegroup/kogito-examples' + uri: 'https://github.com/apache/incubator-kie-kogito-examples' # set your maven nexus repository to speed up the build time #mavenMirrorURL: --- diff --git a/kogito-springboot-examples/dmn-springboot-example/operator/dmn-springboot-example.yaml b/kogito-springboot-examples/dmn-springboot-example/operator/dmn-springboot-example.yaml index 0a3742d67e..b4f32b7ed8 100644 --- a/kogito-springboot-examples/dmn-springboot-example/operator/dmn-springboot-example.yaml +++ b/kogito-springboot-examples/dmn-springboot-example/operator/dmn-springboot-example.yaml @@ -30,7 +30,7 @@ spec: # value: "my value" gitSource: contextDir: kogito-quarkus-examples/dmn-springboot-example - uri: 'https://github.com/kiegroup/kogito-examples' + uri: 'https://github.com/apache/incubator-kie-kogito-examples' # set your maven nexus repository to speed up the build time #mavenMirrorURL: --- diff --git a/kogito-springboot-examples/dmn-tracing-springboot/README.md b/kogito-springboot-examples/dmn-tracing-springboot/README.md index 5aff354a29..508b4df195 100644 --- a/kogito-springboot-examples/dmn-tracing-springboot/README.md +++ b/kogito-springboot-examples/dmn-tracing-springboot/README.md @@ -108,6 +108,6 @@ Example response: ## Integration example with Trusty Service -When the tracing addon is enabled, the tracing events are emitted and pushed to a Kafka broker. The [Trusty Service](https://github.com/kiegroup/kogito-apps/tree/main/trusty) can consume such events and store them on a storage. The Trusty Service exposes then some api to consume the information that has been collected. +When the tracing addon is enabled, the tracing events are emitted and pushed to a Kafka broker. The [Trusty Service](https://github.com/apache/incubator-kie-kogito-apps/tree/main/trusty) can consume such events and store them on a storage. The Trusty Service exposes then some api to consume the information that has been collected. A `docker-compose` example is provided in the current folder. In particular, when `docker-compose up` is run, a Kafka broker, an Infinispan container and the nightly build of the trusty service are deployed. Once the services are up and running, after a decision has been evaluated, you can access the trusty service swagger at `localhost:8081/swagger-ui.html` and try to query what are the evaluations of the last day at `localhost:8081/v1/executions` for example. diff --git a/kogito-springboot-examples/dmn-tracing-springboot/operator/dmn-tracing-springboot.yaml b/kogito-springboot-examples/dmn-tracing-springboot/operator/dmn-tracing-springboot.yaml index 0a3742d67e..b4f32b7ed8 100644 --- a/kogito-springboot-examples/dmn-tracing-springboot/operator/dmn-tracing-springboot.yaml +++ b/kogito-springboot-examples/dmn-tracing-springboot/operator/dmn-tracing-springboot.yaml @@ -30,7 +30,7 @@ spec: # value: "my value" gitSource: contextDir: kogito-quarkus-examples/dmn-springboot-example - uri: 'https://github.com/kiegroup/kogito-examples' + uri: 'https://github.com/apache/incubator-kie-kogito-examples' # set your maven nexus repository to speed up the build time #mavenMirrorURL: --- diff --git a/kogito-springboot-examples/flexible-process-springboot/operator/flexible-process-springboot.yaml b/kogito-springboot-examples/flexible-process-springboot/operator/flexible-process-springboot.yaml index d5ebc4dae7..617dad07df 100644 --- a/kogito-springboot-examples/flexible-process-springboot/operator/flexible-process-springboot.yaml +++ b/kogito-springboot-examples/flexible-process-springboot/operator/flexible-process-springboot.yaml @@ -30,7 +30,7 @@ spec: # value: "my value" gitSource: contextDir: kogito-quarkus-examples/flexible-process-springboot - uri: 'https://github.com/kiegroup/kogito-examples' + uri: 'https://github.com/apache/incubator-kie-kogito-examples' # set your maven nexus repository to speed up the build time #mavenMirrorURL: --- diff --git a/kogito-springboot-examples/pmml-springboot-example/operator/pmml-springboot-example.yaml b/kogito-springboot-examples/pmml-springboot-example/operator/pmml-springboot-example.yaml index 39ca1a2da3..5e11bcb16c 100644 --- a/kogito-springboot-examples/pmml-springboot-example/operator/pmml-springboot-example.yaml +++ b/kogito-springboot-examples/pmml-springboot-example/operator/pmml-springboot-example.yaml @@ -30,7 +30,7 @@ spec: # value: "my value" gitSource: contextDir: kogito-springboot-examples/pmml-springboot-example - uri: 'https://github.com/kiegroup/kogito-examples' + uri: 'https://github.com/apache/incubator-kie-kogito-examples' # set your maven nexus repository to speed up the build time #mavenMirrorURL: --- diff --git a/kogito-springboot-examples/process-business-rules-springboot/operator/process-business-rules-springboot.yaml b/kogito-springboot-examples/process-business-rules-springboot/operator/process-business-rules-springboot.yaml index 1270958458..94a013c1ee 100644 --- a/kogito-springboot-examples/process-business-rules-springboot/operator/process-business-rules-springboot.yaml +++ b/kogito-springboot-examples/process-business-rules-springboot/operator/process-business-rules-springboot.yaml @@ -30,7 +30,7 @@ spec: # value: "my value" gitSource: contextDir: kogito-quarkus-examples/process-business-rules-springboot - uri: 'https://github.com/kiegroup/kogito-examples' + uri: 'https://github.com/apache/incubator-kie-kogito-examples' # set your maven nexus repository to speed up the build time #mavenMirrorURL: --- diff --git a/kogito-springboot-examples/process-infinispan-persistence-springboot/operator/process-infinispan-persistence-springboot.yaml b/kogito-springboot-examples/process-infinispan-persistence-springboot/operator/process-infinispan-persistence-springboot.yaml index 1b361628cb..87a711b76c 100644 --- a/kogito-springboot-examples/process-infinispan-persistence-springboot/operator/process-infinispan-persistence-springboot.yaml +++ b/kogito-springboot-examples/process-infinispan-persistence-springboot/operator/process-infinispan-persistence-springboot.yaml @@ -40,7 +40,7 @@ spec: # value: "my value" gitSource: contextDir: kogito-quarkus-examples/process-infinispan-persistence-springboot - uri: 'https://github.com/kiegroup/kogito-examples' + uri: 'https://github.com/apache/incubator-kie-kogito-examples' # set your maven nexus repository to speed up the build time #mavenMirrorURL: --- diff --git a/kogito-springboot-examples/process-kafka-multi-springboot/operator/process-kafka-multi-springboot.yaml b/kogito-springboot-examples/process-kafka-multi-springboot/operator/process-kafka-multi-springboot.yaml index 7b2ac5ec84..96cbed36c3 100644 --- a/kogito-springboot-examples/process-kafka-multi-springboot/operator/process-kafka-multi-springboot.yaml +++ b/kogito-springboot-examples/process-kafka-multi-springboot/operator/process-kafka-multi-springboot.yaml @@ -40,7 +40,7 @@ spec: # value: "my value" gitSource: contextDir: kogito-quarkus-examples/process-kafka-multi-springboot - uri: 'https://github.com/kiegroup/kogito-examples' + uri: 'https://github.com/apache/incubator-kie-kogito-examples' # set your maven nexus repository to speed up the build time #mavenMirrorURL: --- diff --git a/kogito-springboot-examples/process-kafka-quickstart-springboot/operator/process-kafka-quickstart-springboot.yaml b/kogito-springboot-examples/process-kafka-quickstart-springboot/operator/process-kafka-quickstart-springboot.yaml index 898353a7d0..f1d0005eed 100644 --- a/kogito-springboot-examples/process-kafka-quickstart-springboot/operator/process-kafka-quickstart-springboot.yaml +++ b/kogito-springboot-examples/process-kafka-quickstart-springboot/operator/process-kafka-quickstart-springboot.yaml @@ -40,7 +40,7 @@ spec: # value: "my value" gitSource: contextDir: kogito-quarkus-examples/process-kafka-quickstart-springboot - uri: 'https://github.com/kiegroup/kogito-examples' + uri: 'https://github.com/apache/incubator-kie-kogito-examples' # set your maven nexus repository to speed up the build time #mavenMirrorURL: --- diff --git a/kogito-springboot-examples/process-mongodb-persistence-springboot/operator/process-mongodb-persistence-springboot.yaml b/kogito-springboot-examples/process-mongodb-persistence-springboot/operator/process-mongodb-persistence-springboot.yaml index 8f8f0c2357..a58205b2cb 100644 --- a/kogito-springboot-examples/process-mongodb-persistence-springboot/operator/process-mongodb-persistence-springboot.yaml +++ b/kogito-springboot-examples/process-mongodb-persistence-springboot/operator/process-mongodb-persistence-springboot.yaml @@ -35,7 +35,7 @@ spec: type: RemoteSource gitSource: contextDir: kogito-quarkus-examples/process-mongodb-persistence-springboot - uri: 'https://github.com/kiegroup/kogito-examples' + uri: 'https://github.com/apache/incubator-kie-kogito-examples' # set your maven nexus repository to speed up the build time #mavenMirrorURL: --- diff --git a/kogito-springboot-examples/process-outbox-mongodb-springboot/README.md b/kogito-springboot-examples/process-outbox-mongodb-springboot/README.md index cf375bf3e9..82624b5d82 100644 --- a/kogito-springboot-examples/process-outbox-mongodb-springboot/README.md +++ b/kogito-springboot-examples/process-outbox-mongodb-springboot/README.md @@ -36,7 +36,7 @@ curl -d '{"approver" : "john", "order" : {"orderNumber" : "12345", "shipped" : f

-6. With the Kafka broker info from step 8, run the Kogito Data Index Service with MongoDB to consume Kafka messages: https://github.com/kiegroup/kogito-runtimes/wiki/Data-Index-Service +6. With the Kafka broker info from step 8, run the Kogito Data Index Service with MongoDB to consume Kafka messages: https://github.com/apache/incubator-kie-kogito-runtimes/wiki/Data-Index-Service 7. Shut down the cluster ```shell diff --git a/kogito-springboot-examples/process-rest-service-call-springboot/operator/process-service-rest-call-springboot.yaml b/kogito-springboot-examples/process-rest-service-call-springboot/operator/process-service-rest-call-springboot.yaml index 79c5dbe254..b9a4502582 100644 --- a/kogito-springboot-examples/process-rest-service-call-springboot/operator/process-service-rest-call-springboot.yaml +++ b/kogito-springboot-examples/process-rest-service-call-springboot/operator/process-service-rest-call-springboot.yaml @@ -30,7 +30,7 @@ spec: # value: "my value" gitSource: contextDir: kogito-quarkus-examples/process-service-rest-call-springboot - uri: 'https://github.com/kiegroup/kogito-examples' + uri: 'https://github.com/apache/incubator-kie-kogito-examples' # set your maven nexus repository to speed up the build time #mavenMirrorURL: --- diff --git a/kogito-springboot-examples/process-scripts-springboot/operator/process-scripts-springboot.yaml b/kogito-springboot-examples/process-scripts-springboot/operator/process-scripts-springboot.yaml index 6c654c02f3..f211f37ec9 100644 --- a/kogito-springboot-examples/process-scripts-springboot/operator/process-scripts-springboot.yaml +++ b/kogito-springboot-examples/process-scripts-springboot/operator/process-scripts-springboot.yaml @@ -30,7 +30,7 @@ spec: # value: "my value" gitSource: contextDir: kogito-quarkus-examples/process-scripts-springboot - uri: 'https://github.com/kiegroup/kogito-examples' + uri: 'https://github.com/apache/incubator-kie-kogito-examples' # set your maven nexus repository to speed up the build time #mavenMirrorURL: --- diff --git a/kogito-springboot-examples/process-service-calls-springboot/operator/process-service-calls-springboot.yaml b/kogito-springboot-examples/process-service-calls-springboot/operator/process-service-calls-springboot.yaml index 6913ca1b6f..ceda118127 100644 --- a/kogito-springboot-examples/process-service-calls-springboot/operator/process-service-calls-springboot.yaml +++ b/kogito-springboot-examples/process-service-calls-springboot/operator/process-service-calls-springboot.yaml @@ -30,7 +30,7 @@ spec: # value: "my value" gitSource: contextDir: kogito-quarkus-examples/process-service-calls-springboot - uri: 'https://github.com/kiegroup/kogito-examples' + uri: 'https://github.com/apache/incubator-kie-kogito-examples' # set your maven nexus repository to speed up the build time #mavenMirrorURL: --- diff --git a/kogito-springboot-examples/process-springboot-example/operator/process-springboot-example.yaml b/kogito-springboot-examples/process-springboot-example/operator/process-springboot-example.yaml index b8a63fe28f..f4ecb08bbe 100644 --- a/kogito-springboot-examples/process-springboot-example/operator/process-springboot-example.yaml +++ b/kogito-springboot-examples/process-springboot-example/operator/process-springboot-example.yaml @@ -41,7 +41,7 @@ spec: # value: "my value" gitSource: contextDir: kogito-quarkus-examples/process-springboot-example - uri: 'https://github.com/kiegroup/kogito-examples' + uri: 'https://github.com/apache/incubator-kie-kogito-examples' # set your maven nexus repository to speed up the build time #mavenMirrorURL: --- diff --git a/kogito-springboot-examples/process-timer-springboot/operator/process-timer-springboot.yaml b/kogito-springboot-examples/process-timer-springboot/operator/process-timer-springboot.yaml index 878a268e07..1b16eee740 100644 --- a/kogito-springboot-examples/process-timer-springboot/operator/process-timer-springboot.yaml +++ b/kogito-springboot-examples/process-timer-springboot/operator/process-timer-springboot.yaml @@ -30,7 +30,7 @@ spec: # value: "my value" gitSource: contextDir: kogito-quarkus-examples/process-timer-springboot - uri: 'https://github.com/kiegroup/kogito-examples' + uri: 'https://github.com/apache/incubator-kie-kogito-examples' # set your maven nexus repository to speed up the build time #mavenMirrorURL: --- diff --git a/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/operator/process-usertasks-lifecycle-springboot.yaml b/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/operator/process-usertasks-lifecycle-springboot.yaml index 68bbbf6936..4fadf4c42b 100644 --- a/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/operator/process-usertasks-lifecycle-springboot.yaml +++ b/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/operator/process-usertasks-lifecycle-springboot.yaml @@ -30,7 +30,7 @@ spec: # value: "my value" gitSource: contextDir: kogito-quarkus-examples/process-usertasks-custom-lifecycle-springboot - uri: 'https://github.com/kiegroup/kogito-examples' + uri: 'https://github.com/apache/incubator-kie-kogito-examples' # set your maven nexus repository to speed up the build time #mavenMirrorURL: --- diff --git a/kogito-springboot-examples/process-usertasks-springboot/operator/process-usertasks-springboot.yaml b/kogito-springboot-examples/process-usertasks-springboot/operator/process-usertasks-springboot.yaml index feecb967ff..db8703b8a8 100644 --- a/kogito-springboot-examples/process-usertasks-springboot/operator/process-usertasks-springboot.yaml +++ b/kogito-springboot-examples/process-usertasks-springboot/operator/process-usertasks-springboot.yaml @@ -31,7 +31,7 @@ spec: # value: "my value" gitSource: contextDir: kogito-quarkus-examples/process-usertasks-springboot - uri: 'https://github.com/kiegroup/kogito-examples' + uri: 'https://github.com/apache/incubator-kie-kogito-examples' # set your maven nexus repository to speed up the build time #mavenMirrorURL: --- diff --git a/kogito-springboot-examples/process-usertasks-with-security-springboot/operator/process-tasks-security-springboot.yaml b/kogito-springboot-examples/process-usertasks-with-security-springboot/operator/process-tasks-security-springboot.yaml index 4d77304697..62b0d1ee68 100644 --- a/kogito-springboot-examples/process-usertasks-with-security-springboot/operator/process-tasks-security-springboot.yaml +++ b/kogito-springboot-examples/process-usertasks-with-security-springboot/operator/process-tasks-security-springboot.yaml @@ -30,7 +30,7 @@ spec: # value: "my value" gitSource: contextDir: kogito-quarkus-examples/process-usertasks-with-security-springboot - uri: 'https://github.com/kiegroup/kogito-examples' + uri: 'https://github.com/apache/incubator-kie-kogito-examples' # set your maven nexus repository to speed up the build time #mavenMirrorURL: --- diff --git a/kogito-springboot-examples/rules-legacy-springboot-example/operator/ruleunit-springboot-example.yaml b/kogito-springboot-examples/rules-legacy-springboot-example/operator/ruleunit-springboot-example.yaml index 869ceb3b4e..6df41d8093 100644 --- a/kogito-springboot-examples/rules-legacy-springboot-example/operator/ruleunit-springboot-example.yaml +++ b/kogito-springboot-examples/rules-legacy-springboot-example/operator/ruleunit-springboot-example.yaml @@ -30,7 +30,7 @@ spec: # value: "my value" gitSource: contextDir: kogito-quarkus-examples/ruleunit-springboot-example - uri: 'https://github.com/kiegroup/kogito-examples' + uri: 'https://github.com/apache/incubator-kie-kogito-examples' # set your maven nexus repository to speed up the build time #mavenMirrorURL: --- diff --git a/kogito-springboot-examples/ruleunit-springboot-example/operator/ruleunit-springboot-example.yaml b/kogito-springboot-examples/ruleunit-springboot-example/operator/ruleunit-springboot-example.yaml index 869ceb3b4e..6df41d8093 100644 --- a/kogito-springboot-examples/ruleunit-springboot-example/operator/ruleunit-springboot-example.yaml +++ b/kogito-springboot-examples/ruleunit-springboot-example/operator/ruleunit-springboot-example.yaml @@ -30,7 +30,7 @@ spec: # value: "my value" gitSource: contextDir: kogito-quarkus-examples/ruleunit-springboot-example - uri: 'https://github.com/kiegroup/kogito-examples' + uri: 'https://github.com/apache/incubator-kie-kogito-examples' # set your maven nexus repository to speed up the build time #mavenMirrorURL: --- diff --git a/pom.xml b/pom.xml index 5e6e95f023..672573bd75 100755 --- a/pom.xml +++ b/pom.xml @@ -76,14 +76,14 @@ - jboss-releases-repository - JBoss Releases Repository - https://repository.jboss.org/nexus/service/local/staging/deploy/maven2/ + apache-release-staging-repository + Apache Release Staging Repository + https://repository.apache.org/service/local/staging/deploy/maven2 - jboss-snapshots-repository - JBoss Snapshot Repository - https://repository.jboss.org/nexus/content/repositories/snapshots/ + apache-snapshots-repository + Apache Snapshot Repository + https://repository.apache.org/content/repositories/snapshots/ @@ -91,9 +91,9 @@ - jboss-public-repository-group - JBoss Public Repository Group - https://repository.jboss.org/nexus/content/groups/public/ + apache-public-repository-group + Apache Public Repository Group + https://repository.apache.org/content/groups/public/ default true @@ -108,25 +108,36 @@ - jboss-public-repository-group - JBoss Public Repository Group - https://repository.jboss.org/nexus/content/groups/public/ + + central + Central Repository + https://repo.maven.apache.org/maven2 default + + false + + + + apache-public-repository-group + Apache Public Repository Group + https://repository.apache.org/content/groups/public/ true - never true - daily - scm:git:https://github.com/kiegroup/kogito-examples.git - scm:git:git@github.com:kiegroup/kogito-examples.git - https://github.com/kiegroup/kogito-examples + scm:git:https://github.com/apache/incubator-kie-kogito-examples.git + scm:git:git@github.com:apache/incubator-kie-kogito-examples.git + https://github.com/apache/incubator-kie-kogito-examples diff --git a/serverless-operator-examples/serverless-workflow-inventory/README.md b/serverless-operator-examples/serverless-workflow-inventory/README.md index b847a6c948..a7f6194521 100644 --- a/serverless-operator-examples/serverless-workflow-inventory/README.md +++ b/serverless-operator-examples/serverless-workflow-inventory/README.md @@ -2,7 +2,7 @@ ## Description -This example is meant to let you understand how to deploy on Kubernetes the [Inventory Logic Tutorial](https://redhat-scholars.github.io/serverless-workflow/osl/index.html) using the [Operator](https://github.com/kiegroup/kogito-serverless-operator). +This example is meant to let you understand how to deploy on Kubernetes the [Inventory Logic Tutorial](https://redhat-scholars.github.io/serverless-workflow/osl/index.html) using the [Operator](https://github.com/apache/incubator-kie-kogito-serverless-operator). We'll report here for this reason only a short summary of the workflow use case, and we'd suggest you [read the complete documentation](https://redhat-scholars.github.io/serverless-workflow/osl/index.html) about this tutorial if you need more details about it. ### Use Case diff --git a/serverless-workflow-examples/serverless-workflow-events-quarkus/operator/serverless-workflow-events-quarkus.yaml b/serverless-workflow-examples/serverless-workflow-events-quarkus/operator/serverless-workflow-events-quarkus.yaml index 7cf0fd40c7..464f1f36ca 100644 --- a/serverless-workflow-examples/serverless-workflow-events-quarkus/operator/serverless-workflow-events-quarkus.yaml +++ b/serverless-workflow-examples/serverless-workflow-events-quarkus/operator/serverless-workflow-events-quarkus.yaml @@ -39,7 +39,7 @@ spec: # value: "my value" gitSource: contextDir: kogito-quarkus-examples/serverless-workflow-events-quarkus - uri: 'https://github.com/kiegroup/kogito-examples' + uri: 'https://github.com/apache/incubator-kie-kogito-examples' # set your maven nexus repository to speed up the build time #mavenMirrorURL: --- diff --git a/serverless-workflow-examples/serverless-workflow-functions-quarkus/operator/serverless-workflow-greeting-quarkus.yaml b/serverless-workflow-examples/serverless-workflow-functions-quarkus/operator/serverless-workflow-greeting-quarkus.yaml index 61fd1c6ae9..6ea9cc119e 100644 --- a/serverless-workflow-examples/serverless-workflow-functions-quarkus/operator/serverless-workflow-greeting-quarkus.yaml +++ b/serverless-workflow-examples/serverless-workflow-functions-quarkus/operator/serverless-workflow-greeting-quarkus.yaml @@ -29,7 +29,7 @@ spec: # value: "my value" gitSource: contextDir: kogito-quarkus-examples/serverless-workflow-greeting-quarkus - uri: 'https://github.com/kiegroup/kogito-examples' + uri: 'https://github.com/apache/incubator-kie-kogito-examples' # set your maven nexus repository to speed up the build time #mavenMirrorURL: --- diff --git a/serverless-workflow-examples/serverless-workflow-github-showcase/README.md b/serverless-workflow-examples/serverless-workflow-github-showcase/README.md index db2a5c4904..92d902859e 100644 --- a/serverless-workflow-examples/serverless-workflow-github-showcase/README.md +++ b/serverless-workflow-examples/serverless-workflow-github-showcase/README.md @@ -43,12 +43,12 @@ You can follow the [Knative documentation](https://knative.dev/docs/install/serv 4. **Knative** Serving and Eventing components installed. We recommend [installing the Knative Operator](https://knative.dev/docs/install/knative-with-operators/) and install the rest of the components through it as described in their documentation. -5. **Kogito Operator** installed in the namespace `kogito-github`. [Download the latest release](https://github.com/kiegroup/kogito-operator/releases), and run: `NAMESPACE=kogito-github ./hack/install.sh`. +5. **Kogito Operator** installed in the namespace `kogito-github`. [Download the latest release](https://github.com/apache/incubator-kie-kogito-operator/releases), and run: `NAMESPACE=kogito-github ./hack/install.sh`. Alternatively, you can also install it via [OperatorHub](https://operatorhub.io/operator/kogito-operator). In your local machine you will need: -1. To clone this repository and go to `serverless-workflow-github-showcase` directory (`git clone https://github.com/kiegroup/kogito-examples.git && cd serverless-workflow-github-showcase`) +1. To clone this repository and go to `serverless-workflow-github-showcase` directory (`git clone https://github.com/apache/incubator-kie-kogito-examples.git && cd serverless-workflow-github-showcase`) 2. [Java 11 SDK](https://openjdk.java.net/install/) 3. [Maven 3.8.1+](https://maven.apache.org/install.html) 4. [Podman](https://podman.io/getting-started/installation.html) or Docker to build the images diff --git a/serverless-workflow-examples/serverless-workflow-greeting-quarkus/operator/serverless-workflow-greeting-quarkus.yaml b/serverless-workflow-examples/serverless-workflow-greeting-quarkus/operator/serverless-workflow-greeting-quarkus.yaml index 546c76b86d..eeba091290 100644 --- a/serverless-workflow-examples/serverless-workflow-greeting-quarkus/operator/serverless-workflow-greeting-quarkus.yaml +++ b/serverless-workflow-examples/serverless-workflow-greeting-quarkus/operator/serverless-workflow-greeting-quarkus.yaml @@ -29,7 +29,7 @@ spec: # value: "my value" gitSource: contextDir: kogito-quarkus-examples/serverless-workflow-greeting-quarkus - uri: 'https://github.com/kiegroup/kogito-examples' + uri: 'https://github.com/apache/incubator-kie-kogito-examples' # set your maven nexus repository to speed up the build time #mavenMirrorURL: --- diff --git a/serverless-workflow-examples/serverless-workflow-hello-world/README.md b/serverless-workflow-examples/serverless-workflow-hello-world/README.md index 1a69ae6003..3c32aadce5 100644 --- a/serverless-workflow-examples/serverless-workflow-hello-world/README.md +++ b/serverless-workflow-examples/serverless-workflow-hello-world/README.md @@ -1 +1 @@ -Serverless Workflow guide: https://github.com/kiegroup/kogito-docs/blob/main/serverlessworkflow/modules/ROOT/pages/getting-started/create-your-first-workflow-service.adoc \ No newline at end of file +Serverless Workflow guide: https://github.com/apache/incubator-kie-kogito-docs/blob/main/serverlessworkflow/modules/ROOT/pages/getting-started/create-your-first-workflow-service.adoc \ No newline at end of file diff --git a/serverless-workflow-examples/serverless-workflow-parallel-execution/README.md b/serverless-workflow-examples/serverless-workflow-parallel-execution/README.md index cabec64eab..e0edd224ff 100644 --- a/serverless-workflow-examples/serverless-workflow-parallel-execution/README.md +++ b/serverless-workflow-examples/serverless-workflow-parallel-execution/README.md @@ -1,3 +1,3 @@ # serverless-workflow-parallel-execution -This project is the example application for the [https://github.com/kiegroup/kogito-docs/tree/main/serverlessworkflow/modules/ROOT/pages/core/working-with-parallelism.adoc](Working with parallelism) guide. \ No newline at end of file +This project is the example application for the [https://github.com/apache/incubator-kie-kogito-docs/tree/main/serverlessworkflow/modules/ROOT/pages/core/working-with-parallelism.adoc](Working with parallelism) guide. \ No newline at end of file diff --git a/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/operator/serverless-workflow-service-calls-quarkus.yaml b/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/operator/serverless-workflow-service-calls-quarkus.yaml index f57ee73498..f1f58725c4 100644 --- a/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/operator/serverless-workflow-service-calls-quarkus.yaml +++ b/serverless-workflow-examples/serverless-workflow-service-calls-quarkus/operator/serverless-workflow-service-calls-quarkus.yaml @@ -29,7 +29,7 @@ spec: # value: "my value" gitSource: contextDir: kogito-quarkus-examples/serverless-workflow-service-calls-quarkus - uri: 'https://github.com/kiegroup/kogito-examples' + uri: 'https://github.com/apache/incubator-kie-kogito-examples' # set your maven nexus repository to speed up the build time #mavenMirrorURL: --- diff --git a/serverless-workflow-examples/serverless-workflow-stock-profit/README.md b/serverless-workflow-examples/serverless-workflow-stock-profit/README.md index 310c0e7356..3dcddc187b 100644 --- a/serverless-workflow-examples/serverless-workflow-stock-profit/README.md +++ b/serverless-workflow-examples/serverless-workflow-stock-profit/README.md @@ -1 +1 @@ -Serverless Workflow guide: https://github.com/kiegroup/kogito-docs/blob/main/serverlessworkflow/modules/ROOT/pages/service-orchestration/configuring-openapi-services-endpoints.adoc \ No newline at end of file +Serverless Workflow guide: https://github.com/apache/incubator-kie-kogito-docs/blob/main/serverlessworkflow/modules/ROOT/pages/service-orchestration/configuring-openapi-services-endpoints.adoc \ No newline at end of file diff --git a/serverless-workflow-examples/serverless-workflow-testing-with-rest-assured/README.md b/serverless-workflow-examples/serverless-workflow-testing-with-rest-assured/README.md index 5ad353a55a..d7fd52df9c 100644 --- a/serverless-workflow-examples/serverless-workflow-testing-with-rest-assured/README.md +++ b/serverless-workflow-examples/serverless-workflow-testing-with-rest-assured/README.md @@ -1 +1 @@ -Serverless Workflow guide: https://github.com/kiegroup/kogito-docs/blob/main/serverlessworkflow/modules/ROOT/pages/testing-and-troubleshooting/basic-integration-tests-with-restassured.adoc \ No newline at end of file +Serverless Workflow guide: https://github.com/apache/incubator-kie-kogito-docs/blob/main/serverlessworkflow/modules/ROOT/pages/testing-and-troubleshooting/basic-integration-tests-with-restassured.adoc \ No newline at end of file From a15acffd652cd85c28d9e5977d280cfc85d2ceaa Mon Sep 17 00:00:00 2001 From: nmirasch Date: Tue, 12 Dec 2023 11:34:38 +0100 Subject: [PATCH 10/10] KOGITO-9971: Adding Data-index with operator use cases (#1839) * KOGITO-9971: Adding Data-index with operator use cases * KOGITO-9971: Adding Data-index with operator use cases * Removing platform resources regarding they are provided by the default swf-builder --- .../README.md | 413 ++++++++++++++++++ .../infra/dataindex/01-postgres.yaml | 72 +++ .../infra/dataindex/02-dataindex.yaml | 92 ++++ .../infra/dataindex/application.properties | 10 + .../infra/dataindex/kustomization.yaml | 17 + .../01-service-discovery-role.yaml | 36 ++ .../02-service-discovery-rolebinding.yaml | 11 + .../service_discovery/kustomization.yaml | 3 + .../usecases/usecase1/kustomization.yaml | 3 + .../usecases/usecase2/kustomization.yaml | 4 + .../02-configmap_greeting-props.yaml | 23 + .../03-sonataflow_greeting.yaml | 42 ++ .../sonataflow-greeting/kustomization.yaml | 3 + .../02-configmap_helloworld-props.yaml | 23 + .../03-sonataflow_helloworld.yaml | 21 + .../sonataflow-helloworld/kustomization.yaml | 3 + 16 files changed, 776 insertions(+) create mode 100644 serverless-operator-examples/serverless-workflow-dataindex-use-cases/README.md create mode 100644 serverless-operator-examples/serverless-workflow-dataindex-use-cases/infra/dataindex/01-postgres.yaml create mode 100644 serverless-operator-examples/serverless-workflow-dataindex-use-cases/infra/dataindex/02-dataindex.yaml create mode 100644 serverless-operator-examples/serverless-workflow-dataindex-use-cases/infra/dataindex/application.properties create mode 100644 serverless-operator-examples/serverless-workflow-dataindex-use-cases/infra/dataindex/kustomization.yaml create mode 100644 serverless-operator-examples/serverless-workflow-dataindex-use-cases/infra/service_discovery/01-service-discovery-role.yaml create mode 100644 serverless-operator-examples/serverless-workflow-dataindex-use-cases/infra/service_discovery/02-service-discovery-rolebinding.yaml create mode 100644 serverless-operator-examples/serverless-workflow-dataindex-use-cases/infra/service_discovery/kustomization.yaml create mode 100644 serverless-operator-examples/serverless-workflow-dataindex-use-cases/usecases/usecase1/kustomization.yaml create mode 100644 serverless-operator-examples/serverless-workflow-dataindex-use-cases/usecases/usecase2/kustomization.yaml create mode 100644 serverless-operator-examples/serverless-workflow-dataindex-use-cases/workflows/sonataflow-greeting/02-configmap_greeting-props.yaml create mode 100644 serverless-operator-examples/serverless-workflow-dataindex-use-cases/workflows/sonataflow-greeting/03-sonataflow_greeting.yaml create mode 100644 serverless-operator-examples/serverless-workflow-dataindex-use-cases/workflows/sonataflow-greeting/kustomization.yaml create mode 100644 serverless-operator-examples/serverless-workflow-dataindex-use-cases/workflows/sonataflow-helloworld/02-configmap_helloworld-props.yaml create mode 100644 serverless-operator-examples/serverless-workflow-dataindex-use-cases/workflows/sonataflow-helloworld/03-sonataflow_helloworld.yaml create mode 100644 serverless-operator-examples/serverless-workflow-dataindex-use-cases/workflows/sonataflow-helloworld/kustomization.yaml diff --git a/serverless-operator-examples/serverless-workflow-dataindex-use-cases/README.md b/serverless-operator-examples/serverless-workflow-dataindex-use-cases/README.md new file mode 100644 index 0000000000..7e62500bd7 --- /dev/null +++ b/serverless-operator-examples/serverless-workflow-dataindex-use-cases/README.md @@ -0,0 +1,413 @@ +# SonataFlow Data Index Use Cases + +Collection of artifacts to test SonataFlow Use Cases TP2. + +## Prereqs for all the use cases + +1. Minikube installed + +We recommend that you start Minikube with the following parameters, note that the `registry` addon must be enabled. + +```shell +minikube start --cpus 4 --memory 10240 --addons registry --addons metrics-server --insecure-registry "10.0.0.0/24" --insecure-registry "localhost:5000" +``` + +To verify that the registry addon was property added you can execute this command: + +```shell +minikube addons list | grep registry +``` + +``` +| registry | minikube | enabled ✅ | Google | +| registry-aliases | minikube | disabled | 3rd party (unknown) | +| registry-creds | minikube | disabled | 3rd party (UPMC Enterprises) | +``` + + +2. kubectl installed + +3. SonataFlow operator installed if workflows are deployed + +To install the operator you can see [SonataFlow Installation](https://sonataflow.org/serverlessworkflow/latest/cloud/operator/install-serverless-operator.html). + +## Use cases + +This is the list of available use cases: + +| Use case | Description | +|---------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| [Deploy Data Index Locally](#deploy-data-index-locally) | This use case deploys:
* PostgreSQL Service
* Data Index Service + postgresdb
| +| [Use case 1](#use-case-1) | This use case deploys:
* PostgreSQL Service
* Data Index Service + postgresdb
* The `greeting` workflow (no persistence) configured to register the process events on the Data Index Service. | +| [Use case 2](#use-case-2) | This use case deploys:
* PostgreSQL Service
* Data Index Service + postgresdb
* The `greeting` workflow (no persistence)
* The `helloworkflow` (no persistence)
* Workflows are configured to register the process events on the Data Index Service. | + +> **NOTE:** To facilitate the switch between use cases, it's strongly recommended to install each use case in a dedicated namespace. + +## Deploy Data Index locally + +Example of how to deploy Data Index on Kubernetes that uses a Postgresql DB. + +> **NOTE:** The workflow related use cases that needs a data index service already includes this step. + +### Procedure + +Open a terminal and run the following commands: + +1. Create the namespace: + +```shell +kubectl create namespace data-index-usecase +``` + +2. Deploy the Data Index Service: + +```shell +kubectl kustomize infra/dataindex | kubectl apply -f - -n data-index-usecase +``` + +``` +configmap/dataindex-properties-hg9ff8bff5 created +secret/postgres-secrets-22tkgc2dt7 created +service/data-index-service-postgresql created +service/postgres created +persistentvolumeclaim/postgres-pvc created +deployment.apps/data-index-service-postgresql created +deployment.apps/postgres created +``` + +This will deploy a Data Index for you in the `data-index-usecase` namespace. (If you don't use a namespace the `default` is used instead) +Data Index will be backed by a Postgres Data Base deployment. **This setup is not intended for production environments** since this simple Postgres Deployment does not scale well. Please see the [Postgres Operator](https://github.com/zalando/postgres-operator) for more information. + + +To check that the data index is running you can execute this command. + +```shell +kubectl get pod -n data-index-usecase +``` + +``` +data-index-service-postgresql-5d76dc4468-69hm6 1/1 Running 0 2m11s +postgres-7f78499688-j6282 1/1 Running 0 2m11s +``` + +To access the Data Index, using Minikube you can run: + +```shell +minikube service data-index-service-postgresql --url -n data-index-usecase +``` + +Example output: +``` +http://192.168.49.2:30352 +``` +The output is the Data Index URL, so you can access the GraphiQL UI by using a url like this http://192.168.49.2:30352/grpahiql/ (host and por might be different in your installation.) + +For more information about Data Index and this deployment see [Data Index standalone service](https://sonataflow.org/serverlessworkflow/latest/data-index/data-index-service.html) in SonataFlow guides. + +To execute queries see: [Querying Index Queries](#querying-data-index) + +3. Clean the use case: + +```shell +kubectl delete namespace data-index-usecase +``` + +## Use case 1 + +This use case is intended to represent an installation with: + +* A singleton Data Index Service with PostgreSQL persistence +* The `greeting` workflow (no persistence), that is configured to register events to the Data Index Service. + +### Procedure + +Open a terminal and run the following commands: + +1. Create the namespace: + +```shell +kubectl create namespace usecase1 +``` + +2. Deploy the Data Index Service: +```shell +kubectl kustomize infra/dataindex | kubectl apply -f - -n usecase1 +``` + +``` +configmap/dataindex-properties-hg9ff8bff5 created +secret/postgres-secrets-22tkgc2dt7 created +service/data-index-service-postgresql created +service/postgres created +persistentvolumeclaim/postgres-pvc created +deployment.apps/data-index-service-postgresql created +deployment.apps/postgres created + +``` + +Give some time for the data index to start, you can check that it's running by executing. + +```shell +kubectl get pod -n usecase1 +``` + +``` +NAME READY STATUS RESTARTS AGE +data-index-service-postgresql-5d76dc4468-lb259 1/1 Running 0 2m11s +postgres-7f78499688-lc8n6 1/1 Running 0 2m11s +``` + +3. Deploy the workflow: + +```shell + kubectl kustomize usecases/usecase1 | kubectl apply -f - -n usecase1 + ``` + +``` +configmap/greeting-props created +sonataflow.sonataflow.org/greeting created +``` + +Give some time for the sonataflow operator to build and deploy the workflow. +To check that the workflow is ready you can use this command. + +```shell +kubectl get workflow -n usecase1 +``` + +``` +NAME PROFILE VERSION URL READY REASON +greeting 0.0.1 True +``` + +4. Expose the workflow and get the url: + +```shell +kubectl patch svc greeting -p '{"spec": {"type": "NodePort"}}' -n usecase1 +``` + +```shell + minikube service greeting --url -n usecase1 + ``` + +5. Create a workflow instance: + +You must use the URLs calculated in step 4. + +```shell +curl -X POST -H 'Content-Type:application/json' -H 'Accept:application/json' -d '{"name": "John", "language": "English"}' http://192.168.49.2:32407/greeting +``` + +**To execute queries and see the workflows information see:** [Querying Index Queries](#querying-data-index) + + +6. Clean the use case: + +```shell +kubectl delete namespace usecase1 +``` + +## Use case 2 + +This use case is intended to represent an installation with: + +* A singleton Data Index Service with PostgreSQL persistence +* The `greeting` workflow (no persistence) +* The `helloworkflow` workflow (no persistence) +* The workflows are configured to register the process events on the Data Index Service. + +### Procedure + +Open a terminal and run the following commands: + +1. Create the namespace: + +```shell +kubectl create namespace usecase2 +``` + +2. Deploy the Data Index Service: +```shell +kubectl kustomize infra/dataindex | kubectl apply -f - -n usecase2 +``` + +``` +configmap/dataindex-properties-hg9ff8bff5 created +secret/postgres-secrets-22tkgc2dt7 created +service/data-index-service-postgresql created +service/postgres created +persistentvolumeclaim/postgres-pvc created +deployment.apps/data-index-service-postgresql created +deployment.apps/postgres created + +``` + +Give some time for the data index to start, you can check that it's running by executing. + +```shell +kubectl get pod -n usecase2 +``` + +``` +NAME READY STATUS RESTARTS AGE +data-index-service-postgresql-5d76dc4468-lb259 1/1 Running 0 2m11s +postgres-7f78499688-lc8n6 1/1 Running 0 2m11s +``` + +3. Deploy the workflows: + +```shell + kubectl kustomize usecases/usecase2 | kubectl apply -f - -n usecase2 + ``` + +``` +configmap/greeting-props created +configmap/helloworld-props created +sonataflow.sonataflow.org/greeting created +sonataflow.sonataflow.org/helloworld created +``` + +Give some time for the sonataflow operator to build and deploy the workflows. +To check that the workflows are ready you can use this command. + +```shell +kubectl get workflow -n usecase2 +``` + +``` +NAME PROFILE VERSION URL READY REASON +greeting 0.0.1 True +helloworld 0.0.1 True +``` + +4. Expose the workflows and get the urls: + +```shell +kubectl patch svc greeting helloworld -p '{"spec": {"type": "NodePort"}}' -n usecase2 +``` + +```shell + minikube service greeting --url -n usecase2 + ``` + +```shell + minikube service helloworld --url -n usecase2 + ``` + +5. Create a workflow instances: + +You must use the URLs calculated in step 4. + +```shell +curl -X POST -H 'Content-Type:application/json' -H 'Accept:application/json' -d '{"name": "John", "language": "English"}' http://192.168.49.2:32407/greeting +``` + +```shell +curl -X POST -H 'Content-Type:application/json' -H 'Accept:application/json' -d '{}' http://192.168.49.2:32327/helloworld +``` + +**To execute queries and see the workflows information see:** [Querying Index Queries](#querying-data-index) + +6. Clean the use case: + +```shell +kubectl delete namespace usecase2 +``` + +## Querying Data Index + +You can use the public Data Index endpoint to play around with the GraphiQL interface. + +### Procedure + +This procedure apply to all use cases with that deploys the Data Index Service. + +1. Get the Data Index Url: + +```shell +minikube service data-index-service-postgresql --url -n my_usecase +``` + +2. Open the GrahiqlUI + +Using the url returned in 1, open a browser window in the following url http://192.168.49.2:32409/graphiql/, note that IP and port will be different in your installation, and don't forget to add the last slash "/" to the url, otherwise the GraphiqlUI won't be opened. + + +To see the process instances information you can execute this query: + +```graphql +{ + ProcessInstances { + id, + processId, + processName, + variables, + state, + endpoint, + serviceUrl, + start, + end + } +} +``` + +The results should be something like: + + +```json +{ + "data": { + "ProcessInstances": [ + { + "id": "3ed8bf63-85c9-425d-9099-49bfb63608cb", + "processId": "greeting", + "processName": "workflow", + "variables": "{\"workflowdata\":{\"name\":\"John\",\"greeting\":\"Hello from JSON Workflow, \",\"language\":\"English\"}}", + "state": "COMPLETED", + "endpoint": "/greeting", + "serviceUrl": "http://greeting", + "start": "2023-09-13T06:59:24.319Z", + "end": "2023-09-13T06:59:24.400Z" + } + ] + } +} +``` + +To see the jobs instances information, if any, you can execute this query: + +```graphql +{ + Jobs { + id, + processId, + processInstanceId, + status, + expirationTime, + retries, + endpoint, + callbackEndpoint + } +} +``` + +The results should be something like: + +```json +{ + "data": { + "Jobs": [ + { + "id": "55c7aadb-3dff-4b97-af8e-cc45014b1c0d", + "processId": "callbackstatetimeouts", + "processInstanceId": "299886b7-2b78-4965-a701-16783c4162d8", + "status": "EXECUTED", + "expirationTime": null, + "retries": 0, + "endpoint": "http://jobs-service-postgresql/jobs", + "callbackEndpoint": "http://callbackstatetimeouts:80/management/jobs/callbackstatetimeouts/instances/299886b7-2b78-4965-a701-16783c4162d8/timers/-1" + } + ] + } +} +``` diff --git a/serverless-operator-examples/serverless-workflow-dataindex-use-cases/infra/dataindex/01-postgres.yaml b/serverless-operator-examples/serverless-workflow-dataindex-use-cases/infra/dataindex/01-postgres.yaml new file mode 100644 index 0000000000..2221b70b3d --- /dev/null +++ b/serverless-operator-examples/serverless-workflow-dataindex-use-cases/infra/dataindex/01-postgres.yaml @@ -0,0 +1,72 @@ +--- +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + labels: + app.kubernetes.io/name: postgres + name: postgres-pvc +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/name: postgres + name: postgres +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/name: postgres + template: + metadata: + labels: + app.kubernetes.io/name: postgres + spec: + containers: + - name: postgres + image: postgres:13.2-alpine + imagePullPolicy: 'IfNotPresent' + ports: + - containerPort: 5432 + volumeMounts: + - name: storage + mountPath: /var/lib/postgresql/data + envFrom: + - secretRef: + name: postgres-secrets + readinessProbe: + exec: + command: ["pg_isready"] + initialDelaySeconds: 15 + timeoutSeconds: 2 + livenessProbe: + exec: + command: ["pg_isready"] + initialDelaySeconds: 15 + timeoutSeconds: 2 + resources: + limits: + memory: "256Mi" + cpu: "500m" + volumes: + - name: storage + persistentVolumeClaim: + claimName: postgres-pvc +--- +apiVersion: v1 +kind: Service +metadata: + labels: + app.kubernetes.io/name: postgres + name: postgres +spec: + selector: + app.kubernetes.io/name: postgres + ports: + - port: 5432 diff --git a/serverless-operator-examples/serverless-workflow-dataindex-use-cases/infra/dataindex/02-dataindex.yaml b/serverless-operator-examples/serverless-workflow-dataindex-use-cases/infra/dataindex/02-dataindex.yaml new file mode 100644 index 0000000000..6e27336706 --- /dev/null +++ b/serverless-operator-examples/serverless-workflow-dataindex-use-cases/infra/dataindex/02-dataindex.yaml @@ -0,0 +1,92 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/name: data-index-service-postgresql + name: data-index-service-postgresql +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/name: data-index-service-postgresql + template: + metadata: + labels: + app.kubernetes.io/name: data-index-service-postgresql + spec: + containers: + - name: data-index-service-postgresql + image: quay.io/kiegroup/kogito-data-index-postgresql:latest + imagePullPolicy: Always + resources: + limits: + memory: "256Mi" + cpu: "500m" + ports: + - containerPort: 8080 + name: http + protocol: TCP + env: + - name: KOGITO_DATA_INDEX_QUARKUS_PROFILE + value: http-events-support + - name: KUBERNETES_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace + - name: QUARKUS_DATASOURCE_USERNAME + valueFrom: + secretKeyRef: + key: POSTGRES_USER + name: postgres-secrets + - name: QUARKUS_DATASOURCE_PASSWORD + valueFrom: + secretKeyRef: + key: POSTGRES_PASSWORD + name: postgres-secrets + volumeMounts: + - name: application-config + mountPath: "/home/kogito/config" + livenessProbe: + failureThreshold: 3 + httpGet: + path: /q/health/live + port: 8080 + scheme: HTTP + initialDelaySeconds: 0 + periodSeconds: 30 + successThreshold: 1 + timeoutSeconds: 10 + readinessProbe: + failureThreshold: 3 + httpGet: + path: /q/health/ready + port: 8080 + scheme: HTTP + initialDelaySeconds: 0 + periodSeconds: 30 + successThreshold: 1 + timeoutSeconds: 10 + volumes: + - name: application-config + configMap: + name: dataindex-properties + initContainers: + - name: init-postgres + image: registry.access.redhat.com/ubi9/ubi-minimal:latest + imagePullPolicy: IfNotPresent + command: ['sh', '-c', 'until (echo 1 > /dev/tcp/postgres.$(cat /var/run/secrets/kubernetes.io/serviceaccount/namespace).svc.cluster.local/5432) >/dev/null 2>&1; do echo "Waiting for postgres server"; sleep 3; done;'] +--- +apiVersion: v1 +kind: Service +metadata: + labels: + app.kubernetes.io/name: data-index-service-postgresql + name: data-index-service-postgresql +spec: + ports: + - name: http + port: 80 + targetPort: 8080 + selector: + app.kubernetes.io/name: data-index-service-postgresql + type: NodePort \ No newline at end of file diff --git a/serverless-operator-examples/serverless-workflow-dataindex-use-cases/infra/dataindex/application.properties b/serverless-operator-examples/serverless-workflow-dataindex-use-cases/infra/dataindex/application.properties new file mode 100644 index 0000000000..ac88f78db8 --- /dev/null +++ b/serverless-operator-examples/serverless-workflow-dataindex-use-cases/infra/dataindex/application.properties @@ -0,0 +1,10 @@ +quarkus.http.port=8080 +quarkus.http.cors=true +quarkus.http.cors.origins=/.*/ + +quarkus.datasource.jdbc.url=jdbc:postgresql://postgres:5432/sonataflow?currentSchema=data-index-service +quarkus.hibernate-orm.database.generation=update +quarkus.flyway.migrate-at-start=true + +# Disable kafka client health check since the quarkus-http connector is being used instead. +quarkus.smallrye-health.check."io.quarkus.kafka.client.health.KafkaHealthCheck".enabled=false \ No newline at end of file diff --git a/serverless-operator-examples/serverless-workflow-dataindex-use-cases/infra/dataindex/kustomization.yaml b/serverless-operator-examples/serverless-workflow-dataindex-use-cases/infra/dataindex/kustomization.yaml new file mode 100644 index 0000000000..d475d83f88 --- /dev/null +++ b/serverless-operator-examples/serverless-workflow-dataindex-use-cases/infra/dataindex/kustomization.yaml @@ -0,0 +1,17 @@ +resources: +- 01-postgres.yaml +- 02-dataindex.yaml + +secretGenerator: + - name: postgres-secrets + literals: + - POSTGRES_USER=sonataflow + - POSTGRES_PASSWORD=sonataflow + - POSTGRES_DB=sonataflow + - PGDATA=/var/lib/postgresql/data/mydata + +configMapGenerator: + - name: dataindex-properties + files: + - application.properties + diff --git a/serverless-operator-examples/serverless-workflow-dataindex-use-cases/infra/service_discovery/01-service-discovery-role.yaml b/serverless-operator-examples/serverless-workflow-dataindex-use-cases/infra/service_discovery/01-service-discovery-role.yaml new file mode 100644 index 0000000000..d337d25d30 --- /dev/null +++ b/serverless-operator-examples/serverless-workflow-dataindex-use-cases/infra/service_discovery/01-service-discovery-role.yaml @@ -0,0 +1,36 @@ +apiVersion: rbac.authorization.k8s.io/v1 +kind: Role +metadata: + name: service-discovery-role +rules: + - apiGroups: + - "" + resources: + - pods + - services + verbs: + - get + - list + - apiGroups: + - apps + resources: + - deployments + - statefulsets + verbs: + - get + - list + - apiGroups: + - networking.k8s.io + resources: + - ingresses + verbs: + - get + - list + # Knative + - apiGroups: + - serving.knative.dev + resources: + - services + verbs: + - get + - list diff --git a/serverless-operator-examples/serverless-workflow-dataindex-use-cases/infra/service_discovery/02-service-discovery-rolebinding.yaml b/serverless-operator-examples/serverless-workflow-dataindex-use-cases/infra/service_discovery/02-service-discovery-rolebinding.yaml new file mode 100644 index 0000000000..f96435a5f1 --- /dev/null +++ b/serverless-operator-examples/serverless-workflow-dataindex-use-cases/infra/service_discovery/02-service-discovery-rolebinding.yaml @@ -0,0 +1,11 @@ +apiVersion: rbac.authorization.k8s.io/v1 +kind: RoleBinding +metadata: + name: service-discovery-rolebinding +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: Role + name: service-discovery-role +subjects: + - kind: ServiceAccount + name: default \ No newline at end of file diff --git a/serverless-operator-examples/serverless-workflow-dataindex-use-cases/infra/service_discovery/kustomization.yaml b/serverless-operator-examples/serverless-workflow-dataindex-use-cases/infra/service_discovery/kustomization.yaml new file mode 100644 index 0000000000..13ad16a3e6 --- /dev/null +++ b/serverless-operator-examples/serverless-workflow-dataindex-use-cases/infra/service_discovery/kustomization.yaml @@ -0,0 +1,3 @@ +resources: +- 01-service-discovery-role.yaml +- 02-service-discovery-rolebinding.yaml diff --git a/serverless-operator-examples/serverless-workflow-dataindex-use-cases/usecases/usecase1/kustomization.yaml b/serverless-operator-examples/serverless-workflow-dataindex-use-cases/usecases/usecase1/kustomization.yaml new file mode 100644 index 0000000000..c88a2e06d7 --- /dev/null +++ b/serverless-operator-examples/serverless-workflow-dataindex-use-cases/usecases/usecase1/kustomization.yaml @@ -0,0 +1,3 @@ +resources: +- ../../infra/service_discovery +- ../../workflows/sonataflow-greeting \ No newline at end of file diff --git a/serverless-operator-examples/serverless-workflow-dataindex-use-cases/usecases/usecase2/kustomization.yaml b/serverless-operator-examples/serverless-workflow-dataindex-use-cases/usecases/usecase2/kustomization.yaml new file mode 100644 index 0000000000..6ea98cd8e5 --- /dev/null +++ b/serverless-operator-examples/serverless-workflow-dataindex-use-cases/usecases/usecase2/kustomization.yaml @@ -0,0 +1,4 @@ +resources: +- ../../infra/service_discovery +- ../../workflows/sonataflow-greeting +- ../../workflows/sonataflow-helloworld diff --git a/serverless-operator-examples/serverless-workflow-dataindex-use-cases/workflows/sonataflow-greeting/02-configmap_greeting-props.yaml b/serverless-operator-examples/serverless-workflow-dataindex-use-cases/workflows/sonataflow-greeting/02-configmap_greeting-props.yaml new file mode 100644 index 0000000000..bdc8cff3bb --- /dev/null +++ b/serverless-operator-examples/serverless-workflow-dataindex-use-cases/workflows/sonataflow-greeting/02-configmap_greeting-props.yaml @@ -0,0 +1,23 @@ +apiVersion: v1 +data: + application.properties: | + # Data Index configuration + mp.messaging.outgoing.kogito-processinstances-events.url=http://data-index-service-postgresql/processes + + mp.messaging.outgoing.kogito-usertaskinstances-events.url=http://data-index-service-postgresql/tasks + + mp.messaging.outgoing.kogito-variables-events.url=http://data-index-service-postgresql/variables + + # Skip user tasks and variables events sending. + kogito.events.usertasks.enabled=false + kogito.events.variables.enabled=false + + quarkus.log.category."io.smallrye.reactive.messaging".level = DEBUG + quarkus.log.category."org.kie".level = DEBUG + quarkus.log.category."io.quarkus.reactivemessaging".level = DEBUG + quarkus.log.category."io.vertx".level = DEBUG +kind: ConfigMap +metadata: + labels: + app: greeting + name: greeting-props diff --git a/serverless-operator-examples/serverless-workflow-dataindex-use-cases/workflows/sonataflow-greeting/03-sonataflow_greeting.yaml b/serverless-operator-examples/serverless-workflow-dataindex-use-cases/workflows/sonataflow-greeting/03-sonataflow_greeting.yaml new file mode 100644 index 0000000000..f0236a7435 --- /dev/null +++ b/serverless-operator-examples/serverless-workflow-dataindex-use-cases/workflows/sonataflow-greeting/03-sonataflow_greeting.yaml @@ -0,0 +1,42 @@ +apiVersion: sonataflow.org/v1alpha08 +kind: SonataFlow +metadata: + name: greeting + annotations: + sonataflow.org/description: Greeting example on k8s! + sonataflow.org/version: 0.0.1 +spec: + flow: + start: ChooseOnLanguage + functions: + - name: greetFunction + type: custom + operation: sysout + states: + - name: ChooseOnLanguage + type: switch + dataConditions: + - condition: "${ .language == \"English\" }" + transition: GreetInEnglish + - condition: "${ .language == \"Spanish\" }" + transition: GreetInSpanish + defaultCondition: GreetInEnglish + - name: GreetInEnglish + type: inject + data: + greeting: "Hello from JSON Workflow, " + transition: GreetPerson + - name: GreetInSpanish + type: inject + data: + greeting: "Saludos desde JSON Workflow, " + transition: GreetPerson + - name: GreetPerson + type: operation + actions: + - name: greetAction + functionRef: + refName: greetFunction + arguments: + message: ".greeting+.name" + end: true \ No newline at end of file diff --git a/serverless-operator-examples/serverless-workflow-dataindex-use-cases/workflows/sonataflow-greeting/kustomization.yaml b/serverless-operator-examples/serverless-workflow-dataindex-use-cases/workflows/sonataflow-greeting/kustomization.yaml new file mode 100644 index 0000000000..36b47a72e1 --- /dev/null +++ b/serverless-operator-examples/serverless-workflow-dataindex-use-cases/workflows/sonataflow-greeting/kustomization.yaml @@ -0,0 +1,3 @@ +resources: +- 02-configmap_greeting-props.yaml +- 03-sonataflow_greeting.yaml diff --git a/serverless-operator-examples/serverless-workflow-dataindex-use-cases/workflows/sonataflow-helloworld/02-configmap_helloworld-props.yaml b/serverless-operator-examples/serverless-workflow-dataindex-use-cases/workflows/sonataflow-helloworld/02-configmap_helloworld-props.yaml new file mode 100644 index 0000000000..5046c1ed91 --- /dev/null +++ b/serverless-operator-examples/serverless-workflow-dataindex-use-cases/workflows/sonataflow-helloworld/02-configmap_helloworld-props.yaml @@ -0,0 +1,23 @@ +apiVersion: v1 +data: + application.properties: | + # Data Index configuration + mp.messaging.outgoing.kogito-processinstances-events.url=http://data-index-service-postgresql/processes + + mp.messaging.outgoing.kogito-usertaskinstances-events.url=http://data-index-service-postgresql/tasks + + mp.messaging.outgoing.kogito-variables-events.url=http://data-index-service-postgresql/variables + + # Skip user tasks and variables events sending. + kogito.events.usertasks.enabled=false + kogito.events.variables.enabled=false + + quarkus.log.category."io.smallrye.reactive.messaging".level = DEBUG + quarkus.log.category."org.kie".level = DEBUG + quarkus.log.category."io.quarkus.reactivemessaging".level = DEBUG + quarkus.log.category."io.vertx".level = DEBUG +kind: ConfigMap +metadata: + labels: + app: helloworld + name: helloworld-props diff --git a/serverless-operator-examples/serverless-workflow-dataindex-use-cases/workflows/sonataflow-helloworld/03-sonataflow_helloworld.yaml b/serverless-operator-examples/serverless-workflow-dataindex-use-cases/workflows/sonataflow-helloworld/03-sonataflow_helloworld.yaml new file mode 100644 index 0000000000..ed8dd5438f --- /dev/null +++ b/serverless-operator-examples/serverless-workflow-dataindex-use-cases/workflows/sonataflow-helloworld/03-sonataflow_helloworld.yaml @@ -0,0 +1,21 @@ +apiVersion: sonataflow.org/v1alpha08 +kind: SonataFlow +metadata: + name: helloworld + annotations: + sonataflow.org/description: Hello World Workflow + sonataflow.org/version: 0.0.1 +spec: + flow: + start: Inject Hello World + states: + - name: Inject Hello World + type: inject + data: + greeting: Hello World + transition: Inject Mantra + - name: Inject Mantra + type: inject + data: + mantra: Serverless Workflow is awesome! + end: true \ No newline at end of file diff --git a/serverless-operator-examples/serverless-workflow-dataindex-use-cases/workflows/sonataflow-helloworld/kustomization.yaml b/serverless-operator-examples/serverless-workflow-dataindex-use-cases/workflows/sonataflow-helloworld/kustomization.yaml new file mode 100644 index 0000000000..20cb06529e --- /dev/null +++ b/serverless-operator-examples/serverless-workflow-dataindex-use-cases/workflows/sonataflow-helloworld/kustomization.yaml @@ -0,0 +1,3 @@ +resources: +- 02-configmap_helloworld-props.yaml +- 03-sonataflow_helloworld.yaml