From 2d2e085f42c773db7293406cb0cd7708b87d6dd2 Mon Sep 17 00:00:00 2001 From: jomarko Date: Wed, 27 Sep 2023 08:37:21 +0200 Subject: [PATCH 1/3] kie-issues#568: replace copyrights headers/comments in optaplanner-quickstarts --- .../quickstarts/all/domain/QuickstartMeta.java | 18 ++++++++++++++++++ .../quickstarts/all/rest/ExitResource.java | 18 ++++++++++++++++++ .../all/rest/QuickstartLauncherResource.java | 18 ++++++++++++++++++ .../rest/QuickstartLauncherResourceTest.java | 18 ++++++++++++++++++ .../acme/schooltimetabling/TimeTableApp.java | 18 ++++++++++++++++++ .../acme/schooltimetabling/domain/Lesson.java | 18 ++++++++++++++++++ .../acme/schooltimetabling/domain/Room.java | 18 ++++++++++++++++++ .../schooltimetabling/domain/TimeTable.java | 18 ++++++++++++++++++ .../schooltimetabling/domain/Timeslot.java | 18 ++++++++++++++++++ .../solver/TimeTableConstraintProvider.java | 18 ++++++++++++++++++ .../JarWithDependenciesIT.java | 18 ++++++++++++++++++ .../TimeTableConstraintProviderTest.java | 18 ++++++++++++++++++ .../bootstrap/DemoDataGenerator.java | 18 ++++++++++++++++++ .../persistence/TimeTableRepository.java | 18 ++++++++++++++++++ .../rest/TimeTableResource.java | 18 ++++++++++++++++++ .../ActiveMQTestResourceLifecycleManager.java | 18 ++++++++++++++++++ .../TimeTableResourceTest.java | 18 ++++++++++++++++++ .../acme/schooltimetabling/domain/Lesson.java | 18 ++++++++++++++++++ .../acme/schooltimetabling/domain/Room.java | 18 ++++++++++++++++++ .../schooltimetabling/domain/TimeTable.java | 18 ++++++++++++++++++ .../schooltimetabling/domain/Timeslot.java | 18 ++++++++++++++++++ .../message/SolverRequest.java | 18 ++++++++++++++++++ .../message/SolverResponse.java | 18 ++++++++++++++++++ .../messaging/TimeTableMessagingHandler.java | 18 ++++++++++++++++++ .../solver/TimeTableConstraintProvider.java | 18 ++++++++++++++++++ .../ActiveMQEmbeddedBroker.java | 18 ++++++++++++++++++ .../TimeTableMessagingHandlerIT.java | 18 ++++++++++++++++++ .../TimeTableMessagingHandlerTest.java | 18 ++++++++++++++++++ .../TimeTableConstraintProviderTest.java | 18 ++++++++++++++++++ .../TimeTableSpringBootApp.java | 18 ++++++++++++++++++ .../acme/schooltimetabling/domain/Lesson.java | 18 ++++++++++++++++++ .../acme/schooltimetabling/domain/Room.java | 18 ++++++++++++++++++ .../schooltimetabling/domain/TimeTable.java | 18 ++++++++++++++++++ .../schooltimetabling/domain/Timeslot.java | 18 ++++++++++++++++++ .../persistence/LessonRepository.java | 18 ++++++++++++++++++ .../persistence/RoomRepository.java | 18 ++++++++++++++++++ .../persistence/TimeTableRepository.java | 18 ++++++++++++++++++ .../persistence/TimeslotRepository.java | 18 ++++++++++++++++++ .../rest/TimeTableController.java | 18 ++++++++++++++++++ .../solver/TimeTableConstraintProvider.java | 18 ++++++++++++++++++ .../rest/TimeTableControllerTest.java | 18 ++++++++++++++++++ .../solver/TimeTableBenchmarkTest.java | 18 ++++++++++++++++++ .../TimeTableConstraintProviderTest.java | 18 ++++++++++++++++++ .../common/domain/AbstractPersistable.java | 18 ++++++++++++++++++ .../java/org/acme/common/domain/Lesson.java | 18 ++++++++++++++++++ .../main/java/org/acme/common/domain/Room.java | 18 ++++++++++++++++++ .../java/org/acme/common/domain/TimeTable.java | 18 ++++++++++++++++++ .../java/org/acme/common/domain/Timeslot.java | 18 ++++++++++++++++++ .../org/acme/common/event/SolverEvent.java | 18 ++++++++++++++++++ .../org/acme/common/event/SolverEventType.java | 18 ++++++++++++++++++ .../org/acme/common/message/SolverRequest.java | 18 ++++++++++++++++++ .../acme/common/message/SolverResponse.java | 18 ++++++++++++++++++ .../common/persistence/LessonRepository.java | 18 ++++++++++++++++++ .../common/persistence/RoomRepository.java | 18 ++++++++++++++++++ .../persistence/TimeTableRepository.java | 18 ++++++++++++++++++ .../common/persistence/TimeslotRepository.java | 18 ++++++++++++++++++ .../solver/TimeTableConstraintProvider.java | 18 ++++++++++++++++++ .../TimeTableConstraintProviderTest.java | 18 ++++++++++++++++++ .../demoapp/generator/DemoDataGenerator.java | 18 ++++++++++++++++++ .../java/org/acme/demoapp/rest/Dataset.java | 18 ++++++++++++++++++ .../acme/demoapp/rest/DemoDataResource.java | 18 ++++++++++++++++++ .../org/acme/demoapp/rest/EventResource.java | 18 ++++++++++++++++++ .../InMemoryBrokerLifecycleManager.java | 18 ++++++++++++++++++ .../generator/DemoDataGeneratorTest.java | 18 ++++++++++++++++++ .../demoapp/rest/DemoDataResourceTest.java | 18 ++++++++++++++++++ .../messaging/MessageHandler.java | 18 ++++++++++++++++++ ...ActiveMQEmbeddedBrokerLifecycleManager.java | 18 ++++++++++++++++++ .../messaging/MessageHandlerTest.java | 18 ++++++++++++++++++ .../acme/callcenter/data/DataGenerator.java | 18 ++++++++++++++++++ .../java/org/acme/callcenter/domain/Agent.java | 18 ++++++++++++++++++ .../java/org/acme/callcenter/domain/Call.java | 18 ++++++++++++++++++ .../org/acme/callcenter/domain/CallCenter.java | 18 ++++++++++++++++++ .../callcenter/domain/PreviousCallOrAgent.java | 18 ++++++++++++++++++ .../java/org/acme/callcenter/domain/Skill.java | 18 ++++++++++++++++++ .../callcenter/rest/CallCenterResource.java | 18 ++++++++++++++++++ .../org/acme/callcenter/rest/CallResource.java | 18 ++++++++++++++++++ .../callcenter/rest/SimulationParameters.java | 18 ++++++++++++++++++ .../callcenter/rest/SimulationResource.java | 18 ++++++++++++++++++ .../callcenter/service/SimulationService.java | 18 ++++++++++++++++++ .../acme/callcenter/service/SolverService.java | 18 ++++++++++++++++++ .../solver/CallCenterConstraintsProvider.java | 18 ++++++++++++++++++ .../ResponseTimeUpdatingVariableListener.java | 18 ++++++++++++++++++ .../solver/change/AddCallProblemChange.java | 18 ++++++++++++++++++ .../solver/change/PinCallProblemChange.java | 18 ++++++++++++++++++ .../ProlongCallByMinuteProblemChange.java | 18 ++++++++++++++++++ .../solver/change/RemoveCallProblemChange.java | 18 ++++++++++++++++++ .../CallCenterConstraintProviderTest.java | 18 ++++++++++++++++++ .../callcenter/solver/SolverServiceTest.java | 18 ++++++++++++++++++ .../bootstrap/DemoDataGenerator.java | 18 ++++++++++++++++++ .../domain/Availability.java | 18 ++++++++++++++++++ .../domain/AvailabilityType.java | 18 ++++++++++++++++++ .../employeescheduling/domain/Employee.java | 18 ++++++++++++++++++ .../domain/EmployeeSchedule.java | 18 ++++++++++++++++++ .../domain/ScheduleState.java | 18 ++++++++++++++++++ .../acme/employeescheduling/domain/Shift.java | 18 ++++++++++++++++++ .../domain/ShiftPinningFilter.java | 18 ++++++++++++++++++ .../persistence/AvailabilityRepository.java | 18 ++++++++++++++++++ .../persistence/EmployeeRepository.java | 18 ++++++++++++++++++ .../persistence/ScheduleStateRepository.java | 18 ++++++++++++++++++ .../persistence/ShiftRepository.java | 18 ++++++++++++++++++ .../rest/EmployeeScheduleResource.java | 18 ++++++++++++++++++ .../EmployeeSchedulingConstraintProvider.java | 18 ++++++++++++++++++ .../acme/employeescheduling/TestResources.java | 18 ++++++++++++++++++ .../rest/EmployeeScheduleResourceTest.java | 18 ++++++++++++++++++ ...ployeeSchedulingConstraintProviderTest.java | 18 ++++++++++++++++++ .../bootstrap/DemoDataBuilder.java | 18 ++++++++++++++++++ .../bootstrap/DemoDataGenerator.java | 18 ++++++++++++++++++ .../acme/facilitylocation/domain/Consumer.java | 18 ++++++++++++++++++ .../acme/facilitylocation/domain/Facility.java | 18 ++++++++++++++++++ ...acilityLocationConstraintConfiguration.java | 18 ++++++++++++++++++ .../domain/FacilityLocationProblem.java | 18 ++++++++++++++++++ .../acme/facilitylocation/domain/Location.java | 18 ++++++++++++++++++ .../FacilityLocationProblemRepository.java | 18 ++++++++++++++++++ .../facilitylocation/rest/SolverResource.java | 18 ++++++++++++++++++ .../org/acme/facilitylocation/rest/Status.java | 18 ++++++++++++++++++ .../FacilityLocationConstraintProvider.java | 18 ++++++++++++++++++ .../bootstrap/DemoDataBuilderTest.java | 18 ++++++++++++++++++ ...FacilityLocationConstraintProviderTest.java | 18 ++++++++++++++++++ .../solver/SolverManagerTest.java | 18 ++++++++++++++++++ .../bootstrap/DemoDataGenerator.java | 18 ++++++++++++++++++ .../maintenancescheduling/domain/Crew.java | 18 ++++++++++++++++++ .../acme/maintenancescheduling/domain/Job.java | 18 ++++++++++++++++++ .../domain/MaintenanceSchedule.java | 18 ++++++++++++++++++ .../domain/WorkCalendar.java | 18 ++++++++++++++++++ .../persistence/CrewRepository.java | 18 ++++++++++++++++++ .../persistence/JobRepository.java | 18 ++++++++++++++++++ .../persistence/WorkCalendarRepository.java | 18 ++++++++++++++++++ .../rest/MaintenanceScheduleResource.java | 18 ++++++++++++++++++ .../EndDateUpdatingVariableListener.java | 18 ++++++++++++++++++ .../MaintenanceScheduleConstraintProvider.java | 18 ++++++++++++++++++ .../maintenancescheduling/TestResources.java | 18 ++++++++++++++++++ .../rest/MaintenanceScheduleResourceTest.java | 18 ++++++++++++++++++ ...enanceSchedulingConstraintProviderTest.java | 18 ++++++++++++++++++ .../bootstrap/DemoDataGenerator.java | 18 ++++++++++++++++++ .../org/acme/orderpicking/domain/Order.java | 18 ++++++++++++++++++ .../acme/orderpicking/domain/OrderItem.java | 18 ++++++++++++++++++ .../domain/OrderPickingPlanning.java | 18 ++++++++++++++++++ .../domain/OrderPickingSolution.java | 18 ++++++++++++++++++ .../org/acme/orderpicking/domain/Product.java | 18 ++++++++++++++++++ .../org/acme/orderpicking/domain/Shelving.java | 18 ++++++++++++++++++ .../org/acme/orderpicking/domain/Trolley.java | 18 ++++++++++++++++++ .../domain/TrolleyOrTrolleyStep.java | 18 ++++++++++++++++++ .../acme/orderpicking/domain/TrolleyStep.java | 18 ++++++++++++++++++ .../acme/orderpicking/domain/Warehouse.java | 18 ++++++++++++++++++ .../orderpicking/domain/WarehouseLocation.java | 18 ++++++++++++++++++ .../persistence/OrderPickingRepository.java | 18 ++++++++++++++++++ .../rest/OrderPickingSolverResource.java | 18 ++++++++++++++++++ .../solver/OrderPickingConstraintProvider.java | 18 ++++++++++++++++++ .../orderpicking/domain/WarehouseTest.java | 18 ++++++++++++++++++ .../OrderPickingConstraintProviderTest.java | 18 ++++++++++++++++++ .../bootstrap/DemoDataGenerator.java | 18 ++++++++++++++++++ .../acme/schooltimetabling/domain/Lesson.java | 18 ++++++++++++++++++ .../acme/schooltimetabling/domain/Room.java | 18 ++++++++++++++++++ .../schooltimetabling/domain/TimeTable.java | 18 ++++++++++++++++++ .../schooltimetabling/domain/Timeslot.java | 18 ++++++++++++++++++ .../persistence/LessonRepository.java | 18 ++++++++++++++++++ .../persistence/RoomRepository.java | 18 ++++++++++++++++++ .../persistence/TimeslotRepository.java | 18 ++++++++++++++++++ .../schooltimetabling/rest/LessonResource.java | 18 ++++++++++++++++++ .../schooltimetabling/rest/RoomResource.java | 18 ++++++++++++++++++ .../rest/TimeTableResource.java | 18 ++++++++++++++++++ .../rest/TimeslotResource.java | 18 ++++++++++++++++++ .../solver/TimeTableConstraintProvider.java | 18 ++++++++++++++++++ .../acme/schooltimetabling/TestResources.java | 18 ++++++++++++++++++ .../rest/LessonResourceIT.java | 18 ++++++++++++++++++ .../rest/LessonResourceTest.java | 18 ++++++++++++++++++ .../schooltimetabling/rest/RoomResourceIT.java | 18 ++++++++++++++++++ .../rest/RoomResourceTest.java | 18 ++++++++++++++++++ .../rest/TimeTableResourceTest.java | 18 ++++++++++++++++++ .../rest/TimeslotResourceIT.java | 18 ++++++++++++++++++ .../rest/TimeslotResourceTest.java | 18 ++++++++++++++++++ .../solver/TimeTableBenchmarkTest.java | 18 ++++++++++++++++++ .../TimeTableConstraintProviderTest.java | 18 ++++++++++++++++++ .../bootstrap/DemoDataGenerator.java | 18 ++++++++++++++++++ .../domain/Appointment.java | 18 ++++++++++++++++++ .../vaccinationscheduler/domain/Location.java | 18 ++++++++++++++++++ .../vaccinationscheduler/domain/Person.java | 18 ++++++++++++++++++ .../domain/VaccinationCenter.java | 18 ++++++++++++++++++ .../domain/VaccinationSchedule.java | 18 ++++++++++++++++++ .../domain/VaccineType.java | 18 ++++++++++++++++++ .../domain/solver/PersonAssignment.java | 18 ++++++++++++++++++ .../domain/solver/VaccinationSlot.java | 18 ++++++++++++++++++ .../domain/solver/VaccinationSolution.java | 18 ++++++++++++++++++ .../VaccinationScheduleRepository.java | 18 ++++++++++++++++++ .../VaccinationScheduleSolverResource.java | 18 ++++++++++++++++++ .../PersonAssignmentDifficultyComparator.java | 18 ++++++++++++++++++ .../VaccinationScheduleConstraintProvider.java | 18 ++++++++++++++++++ .../solver/geo/DistanceCalculator.java | 18 ++++++++++++++++++ .../geo/EuclideanDistanceCalculator.java | 18 ++++++++++++++++++ ...VaccinationCustomConstructionHeuristic.java | 18 ++++++++++++++++++ .../domain/solver/VaccinationSolutionTest.java | 18 ++++++++++++++++++ ...cinationScheduleConstraintProviderTest.java | 18 ++++++++++++++++++ .../bootstrap/DemoDataBuilder.java | 18 ++++++++++++++++++ .../bootstrap/DemoDataGenerator.java | 18 ++++++++++++++++++ .../acme/vehiclerouting/domain/Customer.java | 18 ++++++++++++++++++ .../org/acme/vehiclerouting/domain/Depot.java | 18 ++++++++++++++++++ .../acme/vehiclerouting/domain/Location.java | 18 ++++++++++++++++++ .../acme/vehiclerouting/domain/Vehicle.java | 18 ++++++++++++++++++ .../domain/VehicleRoutingSolution.java | 18 ++++++++++++++++++ .../domain/geo/DistanceCalculator.java | 18 ++++++++++++++++++ .../geo/EuclideanDistanceCalculator.java | 18 ++++++++++++++++++ ...otAngleCustomerDifficultyWeightFactory.java | 18 ++++++++++++++++++ .../VehicleRoutingSolutionRepository.java | 18 ++++++++++++++++++ .../vehiclerouting/rest/SolverResource.java | 18 ++++++++++++++++++ .../org/acme/vehiclerouting/rest/Status.java | 18 ++++++++++++++++++ .../VehicleRoutingConstraintProvider.java | 18 ++++++++++++++++++ .../bootstrap/DemoDataBuilderTest.java | 18 ++++++++++++++++++ .../geo/EuclideanDistanceCalculatorTest.java | 18 ++++++++++++++++++ .../rest/SolverResourceTest.java | 18 ++++++++++++++++++ .../solver/SolverManagerTest.java | 18 ++++++++++++++++++ .../VehicleRoutingConstraintProviderTest.java | 18 ++++++++++++++++++ 211 files changed, 3798 insertions(+) diff --git a/build/quickstarts-showcase/src/main/java/org/optaplanner/quickstarts/all/domain/QuickstartMeta.java b/build/quickstarts-showcase/src/main/java/org/optaplanner/quickstarts/all/domain/QuickstartMeta.java index 075ac7151..9d0a77dd0 100644 --- a/build/quickstarts-showcase/src/main/java/org/optaplanner/quickstarts/all/domain/QuickstartMeta.java +++ b/build/quickstarts-showcase/src/main/java/org/optaplanner/quickstarts/all/domain/QuickstartMeta.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.optaplanner.quickstarts.all.domain; import java.util.ArrayList; diff --git a/build/quickstarts-showcase/src/main/java/org/optaplanner/quickstarts/all/rest/ExitResource.java b/build/quickstarts-showcase/src/main/java/org/optaplanner/quickstarts/all/rest/ExitResource.java index 0f1c18941..0301a92da 100644 --- a/build/quickstarts-showcase/src/main/java/org/optaplanner/quickstarts/all/rest/ExitResource.java +++ b/build/quickstarts-showcase/src/main/java/org/optaplanner/quickstarts/all/rest/ExitResource.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.optaplanner.quickstarts.all.rest; import jakarta.ws.rs.POST; diff --git a/build/quickstarts-showcase/src/main/java/org/optaplanner/quickstarts/all/rest/QuickstartLauncherResource.java b/build/quickstarts-showcase/src/main/java/org/optaplanner/quickstarts/all/rest/QuickstartLauncherResource.java index 9b9e4c1ac..148a247e9 100644 --- a/build/quickstarts-showcase/src/main/java/org/optaplanner/quickstarts/all/rest/QuickstartLauncherResource.java +++ b/build/quickstarts-showcase/src/main/java/org/optaplanner/quickstarts/all/rest/QuickstartLauncherResource.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.optaplanner.quickstarts.all.rest; import java.awt.Desktop; diff --git a/build/quickstarts-showcase/src/test/java/org/optaplanner/quickstarts/all/rest/QuickstartLauncherResourceTest.java b/build/quickstarts-showcase/src/test/java/org/optaplanner/quickstarts/all/rest/QuickstartLauncherResourceTest.java index d0386f766..27265c1b4 100644 --- a/build/quickstarts-showcase/src/test/java/org/optaplanner/quickstarts/all/rest/QuickstartLauncherResourceTest.java +++ b/build/quickstarts-showcase/src/test/java/org/optaplanner/quickstarts/all/rest/QuickstartLauncherResourceTest.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.optaplanner.quickstarts.all.rest; import static io.restassured.RestAssured.given; diff --git a/hello-world/src/main/java/org/acme/schooltimetabling/TimeTableApp.java b/hello-world/src/main/java/org/acme/schooltimetabling/TimeTableApp.java index e3ec977ca..2e7b2a65d 100644 --- a/hello-world/src/main/java/org/acme/schooltimetabling/TimeTableApp.java +++ b/hello-world/src/main/java/org/acme/schooltimetabling/TimeTableApp.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.schooltimetabling; import java.time.DayOfWeek; diff --git a/hello-world/src/main/java/org/acme/schooltimetabling/domain/Lesson.java b/hello-world/src/main/java/org/acme/schooltimetabling/domain/Lesson.java index 5c691c4e3..e670d2dfe 100644 --- a/hello-world/src/main/java/org/acme/schooltimetabling/domain/Lesson.java +++ b/hello-world/src/main/java/org/acme/schooltimetabling/domain/Lesson.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.schooltimetabling.domain; import org.optaplanner.core.api.domain.entity.PlanningEntity; diff --git a/hello-world/src/main/java/org/acme/schooltimetabling/domain/Room.java b/hello-world/src/main/java/org/acme/schooltimetabling/domain/Room.java index 58b2e47d1..204451ef8 100644 --- a/hello-world/src/main/java/org/acme/schooltimetabling/domain/Room.java +++ b/hello-world/src/main/java/org/acme/schooltimetabling/domain/Room.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.schooltimetabling.domain; public class Room { diff --git a/hello-world/src/main/java/org/acme/schooltimetabling/domain/TimeTable.java b/hello-world/src/main/java/org/acme/schooltimetabling/domain/TimeTable.java index 95f53b113..add903b85 100644 --- a/hello-world/src/main/java/org/acme/schooltimetabling/domain/TimeTable.java +++ b/hello-world/src/main/java/org/acme/schooltimetabling/domain/TimeTable.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.schooltimetabling.domain; import java.util.List; diff --git a/hello-world/src/main/java/org/acme/schooltimetabling/domain/Timeslot.java b/hello-world/src/main/java/org/acme/schooltimetabling/domain/Timeslot.java index 2247a679a..094627a0d 100644 --- a/hello-world/src/main/java/org/acme/schooltimetabling/domain/Timeslot.java +++ b/hello-world/src/main/java/org/acme/schooltimetabling/domain/Timeslot.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.schooltimetabling.domain; import java.time.DayOfWeek; diff --git a/hello-world/src/main/java/org/acme/schooltimetabling/solver/TimeTableConstraintProvider.java b/hello-world/src/main/java/org/acme/schooltimetabling/solver/TimeTableConstraintProvider.java index f0d24dfc8..2b1e90da6 100644 --- a/hello-world/src/main/java/org/acme/schooltimetabling/solver/TimeTableConstraintProvider.java +++ b/hello-world/src/main/java/org/acme/schooltimetabling/solver/TimeTableConstraintProvider.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.schooltimetabling.solver; import java.time.Duration; diff --git a/hello-world/src/test/java/org/acme/schooltimetabling/JarWithDependenciesIT.java b/hello-world/src/test/java/org/acme/schooltimetabling/JarWithDependenciesIT.java index 74938e048..9cc963879 100644 --- a/hello-world/src/test/java/org/acme/schooltimetabling/JarWithDependenciesIT.java +++ b/hello-world/src/test/java/org/acme/schooltimetabling/JarWithDependenciesIT.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.schooltimetabling; import org.assertj.core.api.Assertions; diff --git a/hello-world/src/test/java/org/acme/schooltimetabling/solver/TimeTableConstraintProviderTest.java b/hello-world/src/test/java/org/acme/schooltimetabling/solver/TimeTableConstraintProviderTest.java index c2f268790..36de319ad 100644 --- a/hello-world/src/test/java/org/acme/schooltimetabling/solver/TimeTableConstraintProviderTest.java +++ b/hello-world/src/test/java/org/acme/schooltimetabling/solver/TimeTableConstraintProviderTest.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.schooltimetabling.solver; import java.time.DayOfWeek; diff --git a/technology/java-activemq-quarkus/client/src/main/java/org/acme/schooltimetabling/bootstrap/DemoDataGenerator.java b/technology/java-activemq-quarkus/client/src/main/java/org/acme/schooltimetabling/bootstrap/DemoDataGenerator.java index 49f668312..0627ac4a7 100644 --- a/technology/java-activemq-quarkus/client/src/main/java/org/acme/schooltimetabling/bootstrap/DemoDataGenerator.java +++ b/technology/java-activemq-quarkus/client/src/main/java/org/acme/schooltimetabling/bootstrap/DemoDataGenerator.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.schooltimetabling.bootstrap; import java.time.DayOfWeek; diff --git a/technology/java-activemq-quarkus/client/src/main/java/org/acme/schooltimetabling/persistence/TimeTableRepository.java b/technology/java-activemq-quarkus/client/src/main/java/org/acme/schooltimetabling/persistence/TimeTableRepository.java index 3fd2314c3..44c4c179f 100644 --- a/technology/java-activemq-quarkus/client/src/main/java/org/acme/schooltimetabling/persistence/TimeTableRepository.java +++ b/technology/java-activemq-quarkus/client/src/main/java/org/acme/schooltimetabling/persistence/TimeTableRepository.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.schooltimetabling.persistence; import java.util.Objects; diff --git a/technology/java-activemq-quarkus/client/src/main/java/org/acme/schooltimetabling/rest/TimeTableResource.java b/technology/java-activemq-quarkus/client/src/main/java/org/acme/schooltimetabling/rest/TimeTableResource.java index 5e3a2e870..341399a8d 100644 --- a/technology/java-activemq-quarkus/client/src/main/java/org/acme/schooltimetabling/rest/TimeTableResource.java +++ b/technology/java-activemq-quarkus/client/src/main/java/org/acme/schooltimetabling/rest/TimeTableResource.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.schooltimetabling.rest; import jakarta.inject.Inject; diff --git a/technology/java-activemq-quarkus/client/src/test/java/org/acme/schooltimetabling/ActiveMQTestResourceLifecycleManager.java b/technology/java-activemq-quarkus/client/src/test/java/org/acme/schooltimetabling/ActiveMQTestResourceLifecycleManager.java index abb025182..72e4bf754 100644 --- a/technology/java-activemq-quarkus/client/src/test/java/org/acme/schooltimetabling/ActiveMQTestResourceLifecycleManager.java +++ b/technology/java-activemq-quarkus/client/src/test/java/org/acme/schooltimetabling/ActiveMQTestResourceLifecycleManager.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.schooltimetabling; import java.util.HashMap; diff --git a/technology/java-activemq-quarkus/client/src/test/java/org/acme/schooltimetabling/TimeTableResourceTest.java b/technology/java-activemq-quarkus/client/src/test/java/org/acme/schooltimetabling/TimeTableResourceTest.java index a8a14d2e0..a17a1a06d 100644 --- a/technology/java-activemq-quarkus/client/src/test/java/org/acme/schooltimetabling/TimeTableResourceTest.java +++ b/technology/java-activemq-quarkus/client/src/test/java/org/acme/schooltimetabling/TimeTableResourceTest.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.schooltimetabling; import static org.assertj.core.api.Assertions.assertThat; diff --git a/technology/java-activemq-quarkus/common/src/main/java/org/acme/schooltimetabling/domain/Lesson.java b/technology/java-activemq-quarkus/common/src/main/java/org/acme/schooltimetabling/domain/Lesson.java index ed94b56a1..8e17d8635 100644 --- a/technology/java-activemq-quarkus/common/src/main/java/org/acme/schooltimetabling/domain/Lesson.java +++ b/technology/java-activemq-quarkus/common/src/main/java/org/acme/schooltimetabling/domain/Lesson.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.schooltimetabling.domain; import org.optaplanner.core.api.domain.entity.PlanningEntity; diff --git a/technology/java-activemq-quarkus/common/src/main/java/org/acme/schooltimetabling/domain/Room.java b/technology/java-activemq-quarkus/common/src/main/java/org/acme/schooltimetabling/domain/Room.java index a8edc942a..5523938f0 100644 --- a/technology/java-activemq-quarkus/common/src/main/java/org/acme/schooltimetabling/domain/Room.java +++ b/technology/java-activemq-quarkus/common/src/main/java/org/acme/schooltimetabling/domain/Room.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.schooltimetabling.domain; import org.optaplanner.core.api.domain.lookup.PlanningId; diff --git a/technology/java-activemq-quarkus/common/src/main/java/org/acme/schooltimetabling/domain/TimeTable.java b/technology/java-activemq-quarkus/common/src/main/java/org/acme/schooltimetabling/domain/TimeTable.java index af38f39b5..f90de0303 100644 --- a/technology/java-activemq-quarkus/common/src/main/java/org/acme/schooltimetabling/domain/TimeTable.java +++ b/technology/java-activemq-quarkus/common/src/main/java/org/acme/schooltimetabling/domain/TimeTable.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.schooltimetabling.domain; import java.util.List; diff --git a/technology/java-activemq-quarkus/common/src/main/java/org/acme/schooltimetabling/domain/Timeslot.java b/technology/java-activemq-quarkus/common/src/main/java/org/acme/schooltimetabling/domain/Timeslot.java index 11de408be..f43938871 100644 --- a/technology/java-activemq-quarkus/common/src/main/java/org/acme/schooltimetabling/domain/Timeslot.java +++ b/technology/java-activemq-quarkus/common/src/main/java/org/acme/schooltimetabling/domain/Timeslot.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.schooltimetabling.domain; import java.time.DayOfWeek; diff --git a/technology/java-activemq-quarkus/common/src/main/java/org/acme/schooltimetabling/message/SolverRequest.java b/technology/java-activemq-quarkus/common/src/main/java/org/acme/schooltimetabling/message/SolverRequest.java index 9a92e575a..22da3392c 100644 --- a/technology/java-activemq-quarkus/common/src/main/java/org/acme/schooltimetabling/message/SolverRequest.java +++ b/technology/java-activemq-quarkus/common/src/main/java/org/acme/schooltimetabling/message/SolverRequest.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.schooltimetabling.message; import org.acme.schooltimetabling.domain.TimeTable; diff --git a/technology/java-activemq-quarkus/common/src/main/java/org/acme/schooltimetabling/message/SolverResponse.java b/technology/java-activemq-quarkus/common/src/main/java/org/acme/schooltimetabling/message/SolverResponse.java index ab233dbf0..acdb9abd5 100644 --- a/technology/java-activemq-quarkus/common/src/main/java/org/acme/schooltimetabling/message/SolverResponse.java +++ b/technology/java-activemq-quarkus/common/src/main/java/org/acme/schooltimetabling/message/SolverResponse.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.schooltimetabling.message; import org.acme.schooltimetabling.domain.TimeTable; diff --git a/technology/java-activemq-quarkus/solver/src/main/java/org/acme/schooltimetabling/messaging/TimeTableMessagingHandler.java b/technology/java-activemq-quarkus/solver/src/main/java/org/acme/schooltimetabling/messaging/TimeTableMessagingHandler.java index 74c5aaa78..9fc917d64 100644 --- a/technology/java-activemq-quarkus/solver/src/main/java/org/acme/schooltimetabling/messaging/TimeTableMessagingHandler.java +++ b/technology/java-activemq-quarkus/solver/src/main/java/org/acme/schooltimetabling/messaging/TimeTableMessagingHandler.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.schooltimetabling.messaging; import java.util.concurrent.CompletableFuture; diff --git a/technology/java-activemq-quarkus/solver/src/main/java/org/acme/schooltimetabling/solver/TimeTableConstraintProvider.java b/technology/java-activemq-quarkus/solver/src/main/java/org/acme/schooltimetabling/solver/TimeTableConstraintProvider.java index f0d24dfc8..2b1e90da6 100644 --- a/technology/java-activemq-quarkus/solver/src/main/java/org/acme/schooltimetabling/solver/TimeTableConstraintProvider.java +++ b/technology/java-activemq-quarkus/solver/src/main/java/org/acme/schooltimetabling/solver/TimeTableConstraintProvider.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.schooltimetabling.solver; import java.time.Duration; diff --git a/technology/java-activemq-quarkus/solver/src/test/java/org/acme/schooltimetabling/ActiveMQEmbeddedBroker.java b/technology/java-activemq-quarkus/solver/src/test/java/org/acme/schooltimetabling/ActiveMQEmbeddedBroker.java index bcdca4be1..14d291454 100644 --- a/technology/java-activemq-quarkus/solver/src/test/java/org/acme/schooltimetabling/ActiveMQEmbeddedBroker.java +++ b/technology/java-activemq-quarkus/solver/src/test/java/org/acme/schooltimetabling/ActiveMQEmbeddedBroker.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.schooltimetabling; import static org.awaitility.Awaitility.await; diff --git a/technology/java-activemq-quarkus/solver/src/test/java/org/acme/schooltimetabling/TimeTableMessagingHandlerIT.java b/technology/java-activemq-quarkus/solver/src/test/java/org/acme/schooltimetabling/TimeTableMessagingHandlerIT.java index c24178241..0727666e0 100644 --- a/technology/java-activemq-quarkus/solver/src/test/java/org/acme/schooltimetabling/TimeTableMessagingHandlerIT.java +++ b/technology/java-activemq-quarkus/solver/src/test/java/org/acme/schooltimetabling/TimeTableMessagingHandlerIT.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.schooltimetabling; import io.quarkus.test.junit.QuarkusIntegrationTest; diff --git a/technology/java-activemq-quarkus/solver/src/test/java/org/acme/schooltimetabling/TimeTableMessagingHandlerTest.java b/technology/java-activemq-quarkus/solver/src/test/java/org/acme/schooltimetabling/TimeTableMessagingHandlerTest.java index 7db4099da..52b341ac2 100644 --- a/technology/java-activemq-quarkus/solver/src/test/java/org/acme/schooltimetabling/TimeTableMessagingHandlerTest.java +++ b/technology/java-activemq-quarkus/solver/src/test/java/org/acme/schooltimetabling/TimeTableMessagingHandlerTest.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.schooltimetabling; import static org.assertj.core.api.Assertions.assertThat; diff --git a/technology/java-activemq-quarkus/solver/src/test/java/org/acme/schooltimetabling/solver/TimeTableConstraintProviderTest.java b/technology/java-activemq-quarkus/solver/src/test/java/org/acme/schooltimetabling/solver/TimeTableConstraintProviderTest.java index 0f081ba65..8a51598cb 100644 --- a/technology/java-activemq-quarkus/solver/src/test/java/org/acme/schooltimetabling/solver/TimeTableConstraintProviderTest.java +++ b/technology/java-activemq-quarkus/solver/src/test/java/org/acme/schooltimetabling/solver/TimeTableConstraintProviderTest.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.schooltimetabling.solver; import java.time.DayOfWeek; diff --git a/technology/java-spring-boot/src/main/java/org/acme/schooltimetabling/TimeTableSpringBootApp.java b/technology/java-spring-boot/src/main/java/org/acme/schooltimetabling/TimeTableSpringBootApp.java index 8f751b79b..82d9c344b 100644 --- a/technology/java-spring-boot/src/main/java/org/acme/schooltimetabling/TimeTableSpringBootApp.java +++ b/technology/java-spring-boot/src/main/java/org/acme/schooltimetabling/TimeTableSpringBootApp.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.schooltimetabling; import java.time.DayOfWeek; diff --git a/technology/java-spring-boot/src/main/java/org/acme/schooltimetabling/domain/Lesson.java b/technology/java-spring-boot/src/main/java/org/acme/schooltimetabling/domain/Lesson.java index b9f6e0831..e1ae5a660 100644 --- a/technology/java-spring-boot/src/main/java/org/acme/schooltimetabling/domain/Lesson.java +++ b/technology/java-spring-boot/src/main/java/org/acme/schooltimetabling/domain/Lesson.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.schooltimetabling.domain; import jakarta.persistence.Entity; diff --git a/technology/java-spring-boot/src/main/java/org/acme/schooltimetabling/domain/Room.java b/technology/java-spring-boot/src/main/java/org/acme/schooltimetabling/domain/Room.java index 7ba07a5d8..8d99514ff 100644 --- a/technology/java-spring-boot/src/main/java/org/acme/schooltimetabling/domain/Room.java +++ b/technology/java-spring-boot/src/main/java/org/acme/schooltimetabling/domain/Room.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.schooltimetabling.domain; import jakarta.persistence.Entity; diff --git a/technology/java-spring-boot/src/main/java/org/acme/schooltimetabling/domain/TimeTable.java b/technology/java-spring-boot/src/main/java/org/acme/schooltimetabling/domain/TimeTable.java index 6add62848..38a88fe56 100644 --- a/technology/java-spring-boot/src/main/java/org/acme/schooltimetabling/domain/TimeTable.java +++ b/technology/java-spring-boot/src/main/java/org/acme/schooltimetabling/domain/TimeTable.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.schooltimetabling.domain; import java.util.List; diff --git a/technology/java-spring-boot/src/main/java/org/acme/schooltimetabling/domain/Timeslot.java b/technology/java-spring-boot/src/main/java/org/acme/schooltimetabling/domain/Timeslot.java index 1bddfe2f5..6354dce2c 100644 --- a/technology/java-spring-boot/src/main/java/org/acme/schooltimetabling/domain/Timeslot.java +++ b/technology/java-spring-boot/src/main/java/org/acme/schooltimetabling/domain/Timeslot.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.schooltimetabling.domain; import java.time.DayOfWeek; diff --git a/technology/java-spring-boot/src/main/java/org/acme/schooltimetabling/persistence/LessonRepository.java b/technology/java-spring-boot/src/main/java/org/acme/schooltimetabling/persistence/LessonRepository.java index 99c6c19d1..a2f5f651d 100644 --- a/technology/java-spring-boot/src/main/java/org/acme/schooltimetabling/persistence/LessonRepository.java +++ b/technology/java-spring-boot/src/main/java/org/acme/schooltimetabling/persistence/LessonRepository.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.schooltimetabling.persistence; import java.util.List; diff --git a/technology/java-spring-boot/src/main/java/org/acme/schooltimetabling/persistence/RoomRepository.java b/technology/java-spring-boot/src/main/java/org/acme/schooltimetabling/persistence/RoomRepository.java index 7591982d1..716cdf11b 100644 --- a/technology/java-spring-boot/src/main/java/org/acme/schooltimetabling/persistence/RoomRepository.java +++ b/technology/java-spring-boot/src/main/java/org/acme/schooltimetabling/persistence/RoomRepository.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.schooltimetabling.persistence; import java.util.List; diff --git a/technology/java-spring-boot/src/main/java/org/acme/schooltimetabling/persistence/TimeTableRepository.java b/technology/java-spring-boot/src/main/java/org/acme/schooltimetabling/persistence/TimeTableRepository.java index ed6ad3b85..fe1323190 100644 --- a/technology/java-spring-boot/src/main/java/org/acme/schooltimetabling/persistence/TimeTableRepository.java +++ b/technology/java-spring-boot/src/main/java/org/acme/schooltimetabling/persistence/TimeTableRepository.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.schooltimetabling.persistence; import org.springframework.beans.factory.annotation.Autowired; diff --git a/technology/java-spring-boot/src/main/java/org/acme/schooltimetabling/persistence/TimeslotRepository.java b/technology/java-spring-boot/src/main/java/org/acme/schooltimetabling/persistence/TimeslotRepository.java index 525f0e26d..8358cc97c 100644 --- a/technology/java-spring-boot/src/main/java/org/acme/schooltimetabling/persistence/TimeslotRepository.java +++ b/technology/java-spring-boot/src/main/java/org/acme/schooltimetabling/persistence/TimeslotRepository.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.schooltimetabling.persistence; import java.util.List; diff --git a/technology/java-spring-boot/src/main/java/org/acme/schooltimetabling/rest/TimeTableController.java b/technology/java-spring-boot/src/main/java/org/acme/schooltimetabling/rest/TimeTableController.java index 2c4807911..2625d1de3 100644 --- a/technology/java-spring-boot/src/main/java/org/acme/schooltimetabling/rest/TimeTableController.java +++ b/technology/java-spring-boot/src/main/java/org/acme/schooltimetabling/rest/TimeTableController.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.schooltimetabling.rest; import org.acme.schooltimetabling.domain.TimeTable; diff --git a/technology/java-spring-boot/src/main/java/org/acme/schooltimetabling/solver/TimeTableConstraintProvider.java b/technology/java-spring-boot/src/main/java/org/acme/schooltimetabling/solver/TimeTableConstraintProvider.java index 6267e2c3a..e1cc5b391 100644 --- a/technology/java-spring-boot/src/main/java/org/acme/schooltimetabling/solver/TimeTableConstraintProvider.java +++ b/technology/java-spring-boot/src/main/java/org/acme/schooltimetabling/solver/TimeTableConstraintProvider.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.schooltimetabling.solver; import java.time.Duration; diff --git a/technology/java-spring-boot/src/test/java/org/acme/schooltimetabling/rest/TimeTableControllerTest.java b/technology/java-spring-boot/src/test/java/org/acme/schooltimetabling/rest/TimeTableControllerTest.java index 1991a359f..b68f0797c 100644 --- a/technology/java-spring-boot/src/test/java/org/acme/schooltimetabling/rest/TimeTableControllerTest.java +++ b/technology/java-spring-boot/src/test/java/org/acme/schooltimetabling/rest/TimeTableControllerTest.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.schooltimetabling.rest; import static io.restassured.RestAssured.get; diff --git a/technology/java-spring-boot/src/test/java/org/acme/schooltimetabling/solver/TimeTableBenchmarkTest.java b/technology/java-spring-boot/src/test/java/org/acme/schooltimetabling/solver/TimeTableBenchmarkTest.java index 853969ea4..b633e4678 100644 --- a/technology/java-spring-boot/src/test/java/org/acme/schooltimetabling/solver/TimeTableBenchmarkTest.java +++ b/technology/java-spring-boot/src/test/java/org/acme/schooltimetabling/solver/TimeTableBenchmarkTest.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.schooltimetabling.solver; import org.acme.schooltimetabling.rest.TimeTableController; diff --git a/technology/java-spring-boot/src/test/java/org/acme/schooltimetabling/solver/TimeTableConstraintProviderTest.java b/technology/java-spring-boot/src/test/java/org/acme/schooltimetabling/solver/TimeTableConstraintProviderTest.java index a25b254cf..d9acbca09 100644 --- a/technology/java-spring-boot/src/test/java/org/acme/schooltimetabling/solver/TimeTableConstraintProviderTest.java +++ b/technology/java-spring-boot/src/test/java/org/acme/schooltimetabling/solver/TimeTableConstraintProviderTest.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.schooltimetabling.solver; import java.time.DayOfWeek; diff --git a/technology/kubernetes/common/src/main/java/org/acme/common/domain/AbstractPersistable.java b/technology/kubernetes/common/src/main/java/org/acme/common/domain/AbstractPersistable.java index 9abb9180c..c21a017b9 100644 --- a/technology/kubernetes/common/src/main/java/org/acme/common/domain/AbstractPersistable.java +++ b/technology/kubernetes/common/src/main/java/org/acme/common/domain/AbstractPersistable.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.common.domain; import jakarta.persistence.GeneratedValue; diff --git a/technology/kubernetes/common/src/main/java/org/acme/common/domain/Lesson.java b/technology/kubernetes/common/src/main/java/org/acme/common/domain/Lesson.java index 3b102377d..27636dcfc 100644 --- a/technology/kubernetes/common/src/main/java/org/acme/common/domain/Lesson.java +++ b/technology/kubernetes/common/src/main/java/org/acme/common/domain/Lesson.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.common.domain; import jakarta.persistence.Entity; diff --git a/technology/kubernetes/common/src/main/java/org/acme/common/domain/Room.java b/technology/kubernetes/common/src/main/java/org/acme/common/domain/Room.java index 43e3afaf4..1b6a501df 100644 --- a/technology/kubernetes/common/src/main/java/org/acme/common/domain/Room.java +++ b/technology/kubernetes/common/src/main/java/org/acme/common/domain/Room.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.common.domain; import jakarta.persistence.Entity; diff --git a/technology/kubernetes/common/src/main/java/org/acme/common/domain/TimeTable.java b/technology/kubernetes/common/src/main/java/org/acme/common/domain/TimeTable.java index f164643fa..c1505ff98 100644 --- a/technology/kubernetes/common/src/main/java/org/acme/common/domain/TimeTable.java +++ b/technology/kubernetes/common/src/main/java/org/acme/common/domain/TimeTable.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.common.domain; import java.util.List; diff --git a/technology/kubernetes/common/src/main/java/org/acme/common/domain/Timeslot.java b/technology/kubernetes/common/src/main/java/org/acme/common/domain/Timeslot.java index af0aed377..bf6628f10 100644 --- a/technology/kubernetes/common/src/main/java/org/acme/common/domain/Timeslot.java +++ b/technology/kubernetes/common/src/main/java/org/acme/common/domain/Timeslot.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.common.domain; import java.time.DayOfWeek; diff --git a/technology/kubernetes/common/src/main/java/org/acme/common/event/SolverEvent.java b/technology/kubernetes/common/src/main/java/org/acme/common/event/SolverEvent.java index cb65833a1..de3f7bb56 100644 --- a/technology/kubernetes/common/src/main/java/org/acme/common/event/SolverEvent.java +++ b/technology/kubernetes/common/src/main/java/org/acme/common/event/SolverEvent.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.common.event; public class SolverEvent { diff --git a/technology/kubernetes/common/src/main/java/org/acme/common/event/SolverEventType.java b/technology/kubernetes/common/src/main/java/org/acme/common/event/SolverEventType.java index 02650afbb..1671a8354 100644 --- a/technology/kubernetes/common/src/main/java/org/acme/common/event/SolverEventType.java +++ b/technology/kubernetes/common/src/main/java/org/acme/common/event/SolverEventType.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.common.event; public enum SolverEventType { diff --git a/technology/kubernetes/common/src/main/java/org/acme/common/message/SolverRequest.java b/technology/kubernetes/common/src/main/java/org/acme/common/message/SolverRequest.java index 125f0159c..07998cc27 100644 --- a/technology/kubernetes/common/src/main/java/org/acme/common/message/SolverRequest.java +++ b/technology/kubernetes/common/src/main/java/org/acme/common/message/SolverRequest.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.common.message; import io.quarkus.runtime.annotations.RegisterForReflection; diff --git a/technology/kubernetes/common/src/main/java/org/acme/common/message/SolverResponse.java b/technology/kubernetes/common/src/main/java/org/acme/common/message/SolverResponse.java index e797ac34f..1f5e9cc96 100644 --- a/technology/kubernetes/common/src/main/java/org/acme/common/message/SolverResponse.java +++ b/technology/kubernetes/common/src/main/java/org/acme/common/message/SolverResponse.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.common.message; import com.fasterxml.jackson.annotation.JsonIgnore; diff --git a/technology/kubernetes/common/src/main/java/org/acme/common/persistence/LessonRepository.java b/technology/kubernetes/common/src/main/java/org/acme/common/persistence/LessonRepository.java index e4e2b9a45..46fa07de9 100644 --- a/technology/kubernetes/common/src/main/java/org/acme/common/persistence/LessonRepository.java +++ b/technology/kubernetes/common/src/main/java/org/acme/common/persistence/LessonRepository.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.common.persistence; import java.util.List; diff --git a/technology/kubernetes/common/src/main/java/org/acme/common/persistence/RoomRepository.java b/technology/kubernetes/common/src/main/java/org/acme/common/persistence/RoomRepository.java index c9e53d888..f6c5a3ccf 100644 --- a/technology/kubernetes/common/src/main/java/org/acme/common/persistence/RoomRepository.java +++ b/technology/kubernetes/common/src/main/java/org/acme/common/persistence/RoomRepository.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.common.persistence; import java.util.List; diff --git a/technology/kubernetes/common/src/main/java/org/acme/common/persistence/TimeTableRepository.java b/technology/kubernetes/common/src/main/java/org/acme/common/persistence/TimeTableRepository.java index 4ba451d41..c301b4c3f 100644 --- a/technology/kubernetes/common/src/main/java/org/acme/common/persistence/TimeTableRepository.java +++ b/technology/kubernetes/common/src/main/java/org/acme/common/persistence/TimeTableRepository.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.common.persistence; import jakarta.enterprise.context.ApplicationScoped; diff --git a/technology/kubernetes/common/src/main/java/org/acme/common/persistence/TimeslotRepository.java b/technology/kubernetes/common/src/main/java/org/acme/common/persistence/TimeslotRepository.java index c3d2facd1..e6048d849 100644 --- a/technology/kubernetes/common/src/main/java/org/acme/common/persistence/TimeslotRepository.java +++ b/technology/kubernetes/common/src/main/java/org/acme/common/persistence/TimeslotRepository.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.common.persistence; import java.util.List; diff --git a/technology/kubernetes/common/src/main/java/org/acme/common/solver/TimeTableConstraintProvider.java b/technology/kubernetes/common/src/main/java/org/acme/common/solver/TimeTableConstraintProvider.java index 1bc0a2767..cb77a2b03 100644 --- a/technology/kubernetes/common/src/main/java/org/acme/common/solver/TimeTableConstraintProvider.java +++ b/technology/kubernetes/common/src/main/java/org/acme/common/solver/TimeTableConstraintProvider.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.common.solver; import java.time.Duration; diff --git a/technology/kubernetes/common/src/test/java/org/acme/common/solver/TimeTableConstraintProviderTest.java b/technology/kubernetes/common/src/test/java/org/acme/common/solver/TimeTableConstraintProviderTest.java index acb3c57b2..762adf495 100644 --- a/technology/kubernetes/common/src/test/java/org/acme/common/solver/TimeTableConstraintProviderTest.java +++ b/technology/kubernetes/common/src/test/java/org/acme/common/solver/TimeTableConstraintProviderTest.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.common.solver; import java.time.DayOfWeek; diff --git a/technology/kubernetes/demo-app/src/main/java/org/acme/demoapp/generator/DemoDataGenerator.java b/technology/kubernetes/demo-app/src/main/java/org/acme/demoapp/generator/DemoDataGenerator.java index 0249432f6..b460692d6 100644 --- a/technology/kubernetes/demo-app/src/main/java/org/acme/demoapp/generator/DemoDataGenerator.java +++ b/technology/kubernetes/demo-app/src/main/java/org/acme/demoapp/generator/DemoDataGenerator.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.demoapp.generator; import java.time.DayOfWeek; diff --git a/technology/kubernetes/demo-app/src/main/java/org/acme/demoapp/rest/Dataset.java b/technology/kubernetes/demo-app/src/main/java/org/acme/demoapp/rest/Dataset.java index 509d50368..42f59c477 100644 --- a/technology/kubernetes/demo-app/src/main/java/org/acme/demoapp/rest/Dataset.java +++ b/technology/kubernetes/demo-app/src/main/java/org/acme/demoapp/rest/Dataset.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.demoapp.rest; public class Dataset { diff --git a/technology/kubernetes/demo-app/src/main/java/org/acme/demoapp/rest/DemoDataResource.java b/technology/kubernetes/demo-app/src/main/java/org/acme/demoapp/rest/DemoDataResource.java index 23e2d4ce5..1286fb802 100644 --- a/technology/kubernetes/demo-app/src/main/java/org/acme/demoapp/rest/DemoDataResource.java +++ b/technology/kubernetes/demo-app/src/main/java/org/acme/demoapp/rest/DemoDataResource.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.demoapp.rest; import java.util.ArrayList; diff --git a/technology/kubernetes/demo-app/src/main/java/org/acme/demoapp/rest/EventResource.java b/technology/kubernetes/demo-app/src/main/java/org/acme/demoapp/rest/EventResource.java index 32a60f58c..3b15487f0 100644 --- a/technology/kubernetes/demo-app/src/main/java/org/acme/demoapp/rest/EventResource.java +++ b/technology/kubernetes/demo-app/src/main/java/org/acme/demoapp/rest/EventResource.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.demoapp.rest; import java.util.UUID; diff --git a/technology/kubernetes/demo-app/src/test/java/org/acme/demoapp/InMemoryBrokerLifecycleManager.java b/technology/kubernetes/demo-app/src/test/java/org/acme/demoapp/InMemoryBrokerLifecycleManager.java index 8e21fc8de..6fcdd734f 100644 --- a/technology/kubernetes/demo-app/src/test/java/org/acme/demoapp/InMemoryBrokerLifecycleManager.java +++ b/technology/kubernetes/demo-app/src/test/java/org/acme/demoapp/InMemoryBrokerLifecycleManager.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.demoapp; import java.util.HashMap; diff --git a/technology/kubernetes/demo-app/src/test/java/org/acme/demoapp/generator/DemoDataGeneratorTest.java b/technology/kubernetes/demo-app/src/test/java/org/acme/demoapp/generator/DemoDataGeneratorTest.java index 34b2cb850..7faf57ddd 100644 --- a/technology/kubernetes/demo-app/src/test/java/org/acme/demoapp/generator/DemoDataGeneratorTest.java +++ b/technology/kubernetes/demo-app/src/test/java/org/acme/demoapp/generator/DemoDataGeneratorTest.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.demoapp.generator; import static org.assertj.core.api.Assertions.assertThat; diff --git a/technology/kubernetes/demo-app/src/test/java/org/acme/demoapp/rest/DemoDataResourceTest.java b/technology/kubernetes/demo-app/src/test/java/org/acme/demoapp/rest/DemoDataResourceTest.java index 4114c6b0a..49f50eb5e 100644 --- a/technology/kubernetes/demo-app/src/test/java/org/acme/demoapp/rest/DemoDataResourceTest.java +++ b/technology/kubernetes/demo-app/src/test/java/org/acme/demoapp/rest/DemoDataResourceTest.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.demoapp.rest; import static org.assertj.core.api.Assertions.assertThat; diff --git a/technology/kubernetes/school-timetabling/src/main/java/org/acme/schooltimetabling/messaging/MessageHandler.java b/technology/kubernetes/school-timetabling/src/main/java/org/acme/schooltimetabling/messaging/MessageHandler.java index 64848d0dc..8456737c7 100644 --- a/technology/kubernetes/school-timetabling/src/main/java/org/acme/schooltimetabling/messaging/MessageHandler.java +++ b/technology/kubernetes/school-timetabling/src/main/java/org/acme/schooltimetabling/messaging/MessageHandler.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.schooltimetabling.messaging; import java.util.concurrent.ExecutorService; diff --git a/technology/kubernetes/school-timetabling/src/test/java/org/acme/schooltimetabling/messaging/ActiveMQEmbeddedBrokerLifecycleManager.java b/technology/kubernetes/school-timetabling/src/test/java/org/acme/schooltimetabling/messaging/ActiveMQEmbeddedBrokerLifecycleManager.java index 7d7ce1310..466d8711e 100644 --- a/technology/kubernetes/school-timetabling/src/test/java/org/acme/schooltimetabling/messaging/ActiveMQEmbeddedBrokerLifecycleManager.java +++ b/technology/kubernetes/school-timetabling/src/test/java/org/acme/schooltimetabling/messaging/ActiveMQEmbeddedBrokerLifecycleManager.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.schooltimetabling.messaging; import static org.awaitility.Awaitility.await; diff --git a/technology/kubernetes/school-timetabling/src/test/java/org/acme/schooltimetabling/messaging/MessageHandlerTest.java b/technology/kubernetes/school-timetabling/src/test/java/org/acme/schooltimetabling/messaging/MessageHandlerTest.java index e9f48cb6f..5e123e81e 100644 --- a/technology/kubernetes/school-timetabling/src/test/java/org/acme/schooltimetabling/messaging/MessageHandlerTest.java +++ b/technology/kubernetes/school-timetabling/src/test/java/org/acme/schooltimetabling/messaging/MessageHandlerTest.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.schooltimetabling.messaging; import static org.assertj.core.api.Assertions.assertThat; diff --git a/use-cases/call-center/src/main/java/org/acme/callcenter/data/DataGenerator.java b/use-cases/call-center/src/main/java/org/acme/callcenter/data/DataGenerator.java index c2ef02d26..a4b5b2c7f 100644 --- a/use-cases/call-center/src/main/java/org/acme/callcenter/data/DataGenerator.java +++ b/use-cases/call-center/src/main/java/org/acme/callcenter/data/DataGenerator.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.callcenter.data; import java.util.ArrayList; diff --git a/use-cases/call-center/src/main/java/org/acme/callcenter/domain/Agent.java b/use-cases/call-center/src/main/java/org/acme/callcenter/domain/Agent.java index 1f1993c63..6b2206671 100644 --- a/use-cases/call-center/src/main/java/org/acme/callcenter/domain/Agent.java +++ b/use-cases/call-center/src/main/java/org/acme/callcenter/domain/Agent.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.callcenter.domain; import java.time.Duration; diff --git a/use-cases/call-center/src/main/java/org/acme/callcenter/domain/Call.java b/use-cases/call-center/src/main/java/org/acme/callcenter/domain/Call.java index ce194f9eb..d0ef8b6d1 100644 --- a/use-cases/call-center/src/main/java/org/acme/callcenter/domain/Call.java +++ b/use-cases/call-center/src/main/java/org/acme/callcenter/domain/Call.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.callcenter.domain; import java.time.Duration; diff --git a/use-cases/call-center/src/main/java/org/acme/callcenter/domain/CallCenter.java b/use-cases/call-center/src/main/java/org/acme/callcenter/domain/CallCenter.java index c0c83a530..1d27d2862 100644 --- a/use-cases/call-center/src/main/java/org/acme/callcenter/domain/CallCenter.java +++ b/use-cases/call-center/src/main/java/org/acme/callcenter/domain/CallCenter.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.callcenter.domain; import java.util.List; diff --git a/use-cases/call-center/src/main/java/org/acme/callcenter/domain/PreviousCallOrAgent.java b/use-cases/call-center/src/main/java/org/acme/callcenter/domain/PreviousCallOrAgent.java index 42489ed19..7b38c600e 100644 --- a/use-cases/call-center/src/main/java/org/acme/callcenter/domain/PreviousCallOrAgent.java +++ b/use-cases/call-center/src/main/java/org/acme/callcenter/domain/PreviousCallOrAgent.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.callcenter.domain; import java.time.Duration; diff --git a/use-cases/call-center/src/main/java/org/acme/callcenter/domain/Skill.java b/use-cases/call-center/src/main/java/org/acme/callcenter/domain/Skill.java index 7a3ac8532..9b6816f8a 100644 --- a/use-cases/call-center/src/main/java/org/acme/callcenter/domain/Skill.java +++ b/use-cases/call-center/src/main/java/org/acme/callcenter/domain/Skill.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.callcenter.domain; import com.fasterxml.jackson.annotation.JsonValue; diff --git a/use-cases/call-center/src/main/java/org/acme/callcenter/rest/CallCenterResource.java b/use-cases/call-center/src/main/java/org/acme/callcenter/rest/CallCenterResource.java index 9f7461ee3..7b3b48050 100644 --- a/use-cases/call-center/src/main/java/org/acme/callcenter/rest/CallCenterResource.java +++ b/use-cases/call-center/src/main/java/org/acme/callcenter/rest/CallCenterResource.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.callcenter.rest; import java.util.concurrent.atomic.AtomicReference; diff --git a/use-cases/call-center/src/main/java/org/acme/callcenter/rest/CallResource.java b/use-cases/call-center/src/main/java/org/acme/callcenter/rest/CallResource.java index 4a0fced7f..ee1ffc741 100644 --- a/use-cases/call-center/src/main/java/org/acme/callcenter/rest/CallResource.java +++ b/use-cases/call-center/src/main/java/org/acme/callcenter/rest/CallResource.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.callcenter.rest; import jakarta.inject.Inject; diff --git a/use-cases/call-center/src/main/java/org/acme/callcenter/rest/SimulationParameters.java b/use-cases/call-center/src/main/java/org/acme/callcenter/rest/SimulationParameters.java index d94f417be..385826635 100644 --- a/use-cases/call-center/src/main/java/org/acme/callcenter/rest/SimulationParameters.java +++ b/use-cases/call-center/src/main/java/org/acme/callcenter/rest/SimulationParameters.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.callcenter.rest; public class SimulationParameters { diff --git a/use-cases/call-center/src/main/java/org/acme/callcenter/rest/SimulationResource.java b/use-cases/call-center/src/main/java/org/acme/callcenter/rest/SimulationResource.java index b0ac85223..5eb9310f9 100644 --- a/use-cases/call-center/src/main/java/org/acme/callcenter/rest/SimulationResource.java +++ b/use-cases/call-center/src/main/java/org/acme/callcenter/rest/SimulationResource.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.callcenter.rest; import jakarta.inject.Inject; diff --git a/use-cases/call-center/src/main/java/org/acme/callcenter/service/SimulationService.java b/use-cases/call-center/src/main/java/org/acme/callcenter/service/SimulationService.java index 3f143b0ce..5e48cced5 100644 --- a/use-cases/call-center/src/main/java/org/acme/callcenter/service/SimulationService.java +++ b/use-cases/call-center/src/main/java/org/acme/callcenter/service/SimulationService.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.callcenter.service; import java.time.Duration; diff --git a/use-cases/call-center/src/main/java/org/acme/callcenter/service/SolverService.java b/use-cases/call-center/src/main/java/org/acme/callcenter/service/SolverService.java index 0cb05d148..c2532f600 100644 --- a/use-cases/call-center/src/main/java/org/acme/callcenter/service/SolverService.java +++ b/use-cases/call-center/src/main/java/org/acme/callcenter/service/SolverService.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.callcenter.service; import java.util.List; diff --git a/use-cases/call-center/src/main/java/org/acme/callcenter/solver/CallCenterConstraintsProvider.java b/use-cases/call-center/src/main/java/org/acme/callcenter/solver/CallCenterConstraintsProvider.java index 664a7dae3..e07d8ed52 100644 --- a/use-cases/call-center/src/main/java/org/acme/callcenter/solver/CallCenterConstraintsProvider.java +++ b/use-cases/call-center/src/main/java/org/acme/callcenter/solver/CallCenterConstraintsProvider.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.callcenter.solver; import org.acme.callcenter.domain.Call; diff --git a/use-cases/call-center/src/main/java/org/acme/callcenter/solver/ResponseTimeUpdatingVariableListener.java b/use-cases/call-center/src/main/java/org/acme/callcenter/solver/ResponseTimeUpdatingVariableListener.java index 0740f6e69..2aa6c55b4 100644 --- a/use-cases/call-center/src/main/java/org/acme/callcenter/solver/ResponseTimeUpdatingVariableListener.java +++ b/use-cases/call-center/src/main/java/org/acme/callcenter/solver/ResponseTimeUpdatingVariableListener.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.callcenter.solver; import java.time.Duration; diff --git a/use-cases/call-center/src/main/java/org/acme/callcenter/solver/change/AddCallProblemChange.java b/use-cases/call-center/src/main/java/org/acme/callcenter/solver/change/AddCallProblemChange.java index 1c3894258..c71ee26a6 100644 --- a/use-cases/call-center/src/main/java/org/acme/callcenter/solver/change/AddCallProblemChange.java +++ b/use-cases/call-center/src/main/java/org/acme/callcenter/solver/change/AddCallProblemChange.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.callcenter.solver.change; import org.acme.callcenter.domain.Call; diff --git a/use-cases/call-center/src/main/java/org/acme/callcenter/solver/change/PinCallProblemChange.java b/use-cases/call-center/src/main/java/org/acme/callcenter/solver/change/PinCallProblemChange.java index 1d4f3d969..5d87753ec 100644 --- a/use-cases/call-center/src/main/java/org/acme/callcenter/solver/change/PinCallProblemChange.java +++ b/use-cases/call-center/src/main/java/org/acme/callcenter/solver/change/PinCallProblemChange.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.callcenter.solver.change; import java.time.LocalTime; diff --git a/use-cases/call-center/src/main/java/org/acme/callcenter/solver/change/ProlongCallByMinuteProblemChange.java b/use-cases/call-center/src/main/java/org/acme/callcenter/solver/change/ProlongCallByMinuteProblemChange.java index f6bf8e2e2..4d517f2fd 100644 --- a/use-cases/call-center/src/main/java/org/acme/callcenter/solver/change/ProlongCallByMinuteProblemChange.java +++ b/use-cases/call-center/src/main/java/org/acme/callcenter/solver/change/ProlongCallByMinuteProblemChange.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.callcenter.solver.change; import java.time.Duration; diff --git a/use-cases/call-center/src/main/java/org/acme/callcenter/solver/change/RemoveCallProblemChange.java b/use-cases/call-center/src/main/java/org/acme/callcenter/solver/change/RemoveCallProblemChange.java index 6d37ecc94..a20cc0dd9 100644 --- a/use-cases/call-center/src/main/java/org/acme/callcenter/solver/change/RemoveCallProblemChange.java +++ b/use-cases/call-center/src/main/java/org/acme/callcenter/solver/change/RemoveCallProblemChange.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.callcenter.solver.change; import java.util.Optional; diff --git a/use-cases/call-center/src/test/java/org/acme/callcenter/solver/CallCenterConstraintProviderTest.java b/use-cases/call-center/src/test/java/org/acme/callcenter/solver/CallCenterConstraintProviderTest.java index ac503fe53..343ac87e6 100644 --- a/use-cases/call-center/src/test/java/org/acme/callcenter/solver/CallCenterConstraintProviderTest.java +++ b/use-cases/call-center/src/test/java/org/acme/callcenter/solver/CallCenterConstraintProviderTest.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.callcenter.solver; import java.time.Duration; diff --git a/use-cases/call-center/src/test/java/org/acme/callcenter/solver/SolverServiceTest.java b/use-cases/call-center/src/test/java/org/acme/callcenter/solver/SolverServiceTest.java index 9a5820416..d547ae4f7 100644 --- a/use-cases/call-center/src/test/java/org/acme/callcenter/solver/SolverServiceTest.java +++ b/use-cases/call-center/src/test/java/org/acme/callcenter/solver/SolverServiceTest.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.callcenter.solver; import static org.assertj.core.api.Assertions.assertThat; diff --git a/use-cases/employee-scheduling/src/main/java/org/acme/employeescheduling/bootstrap/DemoDataGenerator.java b/use-cases/employee-scheduling/src/main/java/org/acme/employeescheduling/bootstrap/DemoDataGenerator.java index c9964a3ec..0fafd1d25 100644 --- a/use-cases/employee-scheduling/src/main/java/org/acme/employeescheduling/bootstrap/DemoDataGenerator.java +++ b/use-cases/employee-scheduling/src/main/java/org/acme/employeescheduling/bootstrap/DemoDataGenerator.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.employeescheduling.bootstrap; import java.time.DayOfWeek; diff --git a/use-cases/employee-scheduling/src/main/java/org/acme/employeescheduling/domain/Availability.java b/use-cases/employee-scheduling/src/main/java/org/acme/employeescheduling/domain/Availability.java index 6c4bbb709..99a0a7230 100644 --- a/use-cases/employee-scheduling/src/main/java/org/acme/employeescheduling/domain/Availability.java +++ b/use-cases/employee-scheduling/src/main/java/org/acme/employeescheduling/domain/Availability.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.employeescheduling.domain; import java.time.LocalDate; diff --git a/use-cases/employee-scheduling/src/main/java/org/acme/employeescheduling/domain/AvailabilityType.java b/use-cases/employee-scheduling/src/main/java/org/acme/employeescheduling/domain/AvailabilityType.java index 24bbd87cc..b9905a45d 100644 --- a/use-cases/employee-scheduling/src/main/java/org/acme/employeescheduling/domain/AvailabilityType.java +++ b/use-cases/employee-scheduling/src/main/java/org/acme/employeescheduling/domain/AvailabilityType.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.employeescheduling.domain; public enum AvailabilityType { diff --git a/use-cases/employee-scheduling/src/main/java/org/acme/employeescheduling/domain/Employee.java b/use-cases/employee-scheduling/src/main/java/org/acme/employeescheduling/domain/Employee.java index 3ae2c4d0d..2261e0dc5 100644 --- a/use-cases/employee-scheduling/src/main/java/org/acme/employeescheduling/domain/Employee.java +++ b/use-cases/employee-scheduling/src/main/java/org/acme/employeescheduling/domain/Employee.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.employeescheduling.domain; import java.util.Set; diff --git a/use-cases/employee-scheduling/src/main/java/org/acme/employeescheduling/domain/EmployeeSchedule.java b/use-cases/employee-scheduling/src/main/java/org/acme/employeescheduling/domain/EmployeeSchedule.java index 9d3d98272..3821e1c03 100644 --- a/use-cases/employee-scheduling/src/main/java/org/acme/employeescheduling/domain/EmployeeSchedule.java +++ b/use-cases/employee-scheduling/src/main/java/org/acme/employeescheduling/domain/EmployeeSchedule.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.employeescheduling.domain; import java.util.List; diff --git a/use-cases/employee-scheduling/src/main/java/org/acme/employeescheduling/domain/ScheduleState.java b/use-cases/employee-scheduling/src/main/java/org/acme/employeescheduling/domain/ScheduleState.java index 619464aed..5b1d3a633 100644 --- a/use-cases/employee-scheduling/src/main/java/org/acme/employeescheduling/domain/ScheduleState.java +++ b/use-cases/employee-scheduling/src/main/java/org/acme/employeescheduling/domain/ScheduleState.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.employeescheduling.domain; import java.time.LocalDate; diff --git a/use-cases/employee-scheduling/src/main/java/org/acme/employeescheduling/domain/Shift.java b/use-cases/employee-scheduling/src/main/java/org/acme/employeescheduling/domain/Shift.java index eea20caa0..2b4da5bc7 100644 --- a/use-cases/employee-scheduling/src/main/java/org/acme/employeescheduling/domain/Shift.java +++ b/use-cases/employee-scheduling/src/main/java/org/acme/employeescheduling/domain/Shift.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.employeescheduling.domain; import java.time.LocalDateTime; diff --git a/use-cases/employee-scheduling/src/main/java/org/acme/employeescheduling/domain/ShiftPinningFilter.java b/use-cases/employee-scheduling/src/main/java/org/acme/employeescheduling/domain/ShiftPinningFilter.java index 562e73c23..66f95ffdf 100644 --- a/use-cases/employee-scheduling/src/main/java/org/acme/employeescheduling/domain/ShiftPinningFilter.java +++ b/use-cases/employee-scheduling/src/main/java/org/acme/employeescheduling/domain/ShiftPinningFilter.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.employeescheduling.domain; import org.optaplanner.core.api.domain.entity.PinningFilter; diff --git a/use-cases/employee-scheduling/src/main/java/org/acme/employeescheduling/persistence/AvailabilityRepository.java b/use-cases/employee-scheduling/src/main/java/org/acme/employeescheduling/persistence/AvailabilityRepository.java index a77deec8c..7a21f4460 100644 --- a/use-cases/employee-scheduling/src/main/java/org/acme/employeescheduling/persistence/AvailabilityRepository.java +++ b/use-cases/employee-scheduling/src/main/java/org/acme/employeescheduling/persistence/AvailabilityRepository.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.employeescheduling.persistence; import jakarta.enterprise.context.ApplicationScoped; diff --git a/use-cases/employee-scheduling/src/main/java/org/acme/employeescheduling/persistence/EmployeeRepository.java b/use-cases/employee-scheduling/src/main/java/org/acme/employeescheduling/persistence/EmployeeRepository.java index 19e9b8279..5a56f0f8f 100644 --- a/use-cases/employee-scheduling/src/main/java/org/acme/employeescheduling/persistence/EmployeeRepository.java +++ b/use-cases/employee-scheduling/src/main/java/org/acme/employeescheduling/persistence/EmployeeRepository.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.employeescheduling.persistence; import jakarta.enterprise.context.ApplicationScoped; diff --git a/use-cases/employee-scheduling/src/main/java/org/acme/employeescheduling/persistence/ScheduleStateRepository.java b/use-cases/employee-scheduling/src/main/java/org/acme/employeescheduling/persistence/ScheduleStateRepository.java index c5f19e615..4a4a59601 100644 --- a/use-cases/employee-scheduling/src/main/java/org/acme/employeescheduling/persistence/ScheduleStateRepository.java +++ b/use-cases/employee-scheduling/src/main/java/org/acme/employeescheduling/persistence/ScheduleStateRepository.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.employeescheduling.persistence; import jakarta.enterprise.context.ApplicationScoped; diff --git a/use-cases/employee-scheduling/src/main/java/org/acme/employeescheduling/persistence/ShiftRepository.java b/use-cases/employee-scheduling/src/main/java/org/acme/employeescheduling/persistence/ShiftRepository.java index 829e2c8a6..b7b360e82 100644 --- a/use-cases/employee-scheduling/src/main/java/org/acme/employeescheduling/persistence/ShiftRepository.java +++ b/use-cases/employee-scheduling/src/main/java/org/acme/employeescheduling/persistence/ShiftRepository.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.employeescheduling.persistence; import jakarta.enterprise.context.ApplicationScoped; diff --git a/use-cases/employee-scheduling/src/main/java/org/acme/employeescheduling/rest/EmployeeScheduleResource.java b/use-cases/employee-scheduling/src/main/java/org/acme/employeescheduling/rest/EmployeeScheduleResource.java index 5e10d2c10..8e5cae698 100644 --- a/use-cases/employee-scheduling/src/main/java/org/acme/employeescheduling/rest/EmployeeScheduleResource.java +++ b/use-cases/employee-scheduling/src/main/java/org/acme/employeescheduling/rest/EmployeeScheduleResource.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.employeescheduling.rest; import java.time.LocalDate; diff --git a/use-cases/employee-scheduling/src/main/java/org/acme/employeescheduling/solver/EmployeeSchedulingConstraintProvider.java b/use-cases/employee-scheduling/src/main/java/org/acme/employeescheduling/solver/EmployeeSchedulingConstraintProvider.java index 27017a68e..5db25e549 100644 --- a/use-cases/employee-scheduling/src/main/java/org/acme/employeescheduling/solver/EmployeeSchedulingConstraintProvider.java +++ b/use-cases/employee-scheduling/src/main/java/org/acme/employeescheduling/solver/EmployeeSchedulingConstraintProvider.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.employeescheduling.solver; import java.time.Duration; diff --git a/use-cases/employee-scheduling/src/test/java/org/acme/employeescheduling/TestResources.java b/use-cases/employee-scheduling/src/test/java/org/acme/employeescheduling/TestResources.java index 5ac21e0d9..39c364f7d 100644 --- a/use-cases/employee-scheduling/src/test/java/org/acme/employeescheduling/TestResources.java +++ b/use-cases/employee-scheduling/src/test/java/org/acme/employeescheduling/TestResources.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.employeescheduling; import io.quarkus.test.common.QuarkusTestResource; diff --git a/use-cases/employee-scheduling/src/test/java/org/acme/employeescheduling/rest/EmployeeScheduleResourceTest.java b/use-cases/employee-scheduling/src/test/java/org/acme/employeescheduling/rest/EmployeeScheduleResourceTest.java index 5dd30e495..ac818e492 100644 --- a/use-cases/employee-scheduling/src/test/java/org/acme/employeescheduling/rest/EmployeeScheduleResourceTest.java +++ b/use-cases/employee-scheduling/src/test/java/org/acme/employeescheduling/rest/EmployeeScheduleResourceTest.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.employeescheduling.rest; import static org.junit.jupiter.api.Assertions.assertFalse; diff --git a/use-cases/employee-scheduling/src/test/java/org/acme/employeescheduling/solver/EmployeeSchedulingConstraintProviderTest.java b/use-cases/employee-scheduling/src/test/java/org/acme/employeescheduling/solver/EmployeeSchedulingConstraintProviderTest.java index 4a9202f6c..156bf70df 100644 --- a/use-cases/employee-scheduling/src/test/java/org/acme/employeescheduling/solver/EmployeeSchedulingConstraintProviderTest.java +++ b/use-cases/employee-scheduling/src/test/java/org/acme/employeescheduling/solver/EmployeeSchedulingConstraintProviderTest.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.employeescheduling.solver; import java.time.Duration; diff --git a/use-cases/facility-location/src/main/java/org/acme/facilitylocation/bootstrap/DemoDataBuilder.java b/use-cases/facility-location/src/main/java/org/acme/facilitylocation/bootstrap/DemoDataBuilder.java index 255b704c6..9c3a5f0bd 100644 --- a/use-cases/facility-location/src/main/java/org/acme/facilitylocation/bootstrap/DemoDataBuilder.java +++ b/use-cases/facility-location/src/main/java/org/acme/facilitylocation/bootstrap/DemoDataBuilder.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.facilitylocation.bootstrap; import java.util.List; diff --git a/use-cases/facility-location/src/main/java/org/acme/facilitylocation/bootstrap/DemoDataGenerator.java b/use-cases/facility-location/src/main/java/org/acme/facilitylocation/bootstrap/DemoDataGenerator.java index 5fbcd405c..207c5e4de 100644 --- a/use-cases/facility-location/src/main/java/org/acme/facilitylocation/bootstrap/DemoDataGenerator.java +++ b/use-cases/facility-location/src/main/java/org/acme/facilitylocation/bootstrap/DemoDataGenerator.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.facilitylocation.bootstrap; import jakarta.enterprise.context.ApplicationScoped; diff --git a/use-cases/facility-location/src/main/java/org/acme/facilitylocation/domain/Consumer.java b/use-cases/facility-location/src/main/java/org/acme/facilitylocation/domain/Consumer.java index aef0d05f5..84bbe1878 100644 --- a/use-cases/facility-location/src/main/java/org/acme/facilitylocation/domain/Consumer.java +++ b/use-cases/facility-location/src/main/java/org/acme/facilitylocation/domain/Consumer.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.facilitylocation.domain; import org.acme.facilitylocation.solver.FacilityLocationConstraintProvider; diff --git a/use-cases/facility-location/src/main/java/org/acme/facilitylocation/domain/Facility.java b/use-cases/facility-location/src/main/java/org/acme/facilitylocation/domain/Facility.java index c5e1b099f..cea27f72c 100644 --- a/use-cases/facility-location/src/main/java/org/acme/facilitylocation/domain/Facility.java +++ b/use-cases/facility-location/src/main/java/org/acme/facilitylocation/domain/Facility.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.facilitylocation.domain; import java.util.ArrayList; diff --git a/use-cases/facility-location/src/main/java/org/acme/facilitylocation/domain/FacilityLocationConstraintConfiguration.java b/use-cases/facility-location/src/main/java/org/acme/facilitylocation/domain/FacilityLocationConstraintConfiguration.java index af57ec2e8..9ce5ec68c 100644 --- a/use-cases/facility-location/src/main/java/org/acme/facilitylocation/domain/FacilityLocationConstraintConfiguration.java +++ b/use-cases/facility-location/src/main/java/org/acme/facilitylocation/domain/FacilityLocationConstraintConfiguration.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.facilitylocation.domain; import org.optaplanner.core.api.domain.constraintweight.ConstraintConfiguration; diff --git a/use-cases/facility-location/src/main/java/org/acme/facilitylocation/domain/FacilityLocationProblem.java b/use-cases/facility-location/src/main/java/org/acme/facilitylocation/domain/FacilityLocationProblem.java index fca024301..eeb6d12b5 100644 --- a/use-cases/facility-location/src/main/java/org/acme/facilitylocation/domain/FacilityLocationProblem.java +++ b/use-cases/facility-location/src/main/java/org/acme/facilitylocation/domain/FacilityLocationProblem.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.facilitylocation.domain; import static java.util.Collections.emptyList; diff --git a/use-cases/facility-location/src/main/java/org/acme/facilitylocation/domain/Location.java b/use-cases/facility-location/src/main/java/org/acme/facilitylocation/domain/Location.java index 59c486bba..ad1363ff8 100644 --- a/use-cases/facility-location/src/main/java/org/acme/facilitylocation/domain/Location.java +++ b/use-cases/facility-location/src/main/java/org/acme/facilitylocation/domain/Location.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.facilitylocation.domain; import static java.lang.Math.ceil; diff --git a/use-cases/facility-location/src/main/java/org/acme/facilitylocation/persistence/FacilityLocationProblemRepository.java b/use-cases/facility-location/src/main/java/org/acme/facilitylocation/persistence/FacilityLocationProblemRepository.java index e1a68f4e2..0c7da8a9d 100644 --- a/use-cases/facility-location/src/main/java/org/acme/facilitylocation/persistence/FacilityLocationProblemRepository.java +++ b/use-cases/facility-location/src/main/java/org/acme/facilitylocation/persistence/FacilityLocationProblemRepository.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.facilitylocation.persistence; import java.util.Optional; diff --git a/use-cases/facility-location/src/main/java/org/acme/facilitylocation/rest/SolverResource.java b/use-cases/facility-location/src/main/java/org/acme/facilitylocation/rest/SolverResource.java index 6e50077ec..1a06b493d 100644 --- a/use-cases/facility-location/src/main/java/org/acme/facilitylocation/rest/SolverResource.java +++ b/use-cases/facility-location/src/main/java/org/acme/facilitylocation/rest/SolverResource.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.facilitylocation.rest; import java.util.Optional; diff --git a/use-cases/facility-location/src/main/java/org/acme/facilitylocation/rest/Status.java b/use-cases/facility-location/src/main/java/org/acme/facilitylocation/rest/Status.java index eef3d7f86..696627ed2 100644 --- a/use-cases/facility-location/src/main/java/org/acme/facilitylocation/rest/Status.java +++ b/use-cases/facility-location/src/main/java/org/acme/facilitylocation/rest/Status.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.facilitylocation.rest; import org.acme.facilitylocation.domain.FacilityLocationProblem; diff --git a/use-cases/facility-location/src/main/java/org/acme/facilitylocation/solver/FacilityLocationConstraintProvider.java b/use-cases/facility-location/src/main/java/org/acme/facilitylocation/solver/FacilityLocationConstraintProvider.java index 7d335c51f..4760fe85e 100644 --- a/use-cases/facility-location/src/main/java/org/acme/facilitylocation/solver/FacilityLocationConstraintProvider.java +++ b/use-cases/facility-location/src/main/java/org/acme/facilitylocation/solver/FacilityLocationConstraintProvider.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.facilitylocation.solver; import static org.optaplanner.core.api.score.stream.ConstraintCollectors.sumLong; diff --git a/use-cases/facility-location/src/test/java/org/acme/facilitylocation/bootstrap/DemoDataBuilderTest.java b/use-cases/facility-location/src/test/java/org/acme/facilitylocation/bootstrap/DemoDataBuilderTest.java index b99901a3b..86ec469dc 100644 --- a/use-cases/facility-location/src/test/java/org/acme/facilitylocation/bootstrap/DemoDataBuilderTest.java +++ b/use-cases/facility-location/src/test/java/org/acme/facilitylocation/bootstrap/DemoDataBuilderTest.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.facilitylocation.bootstrap; import static org.junit.jupiter.api.Assertions.assertEquals; diff --git a/use-cases/facility-location/src/test/java/org/acme/facilitylocation/solver/FacilityLocationConstraintProviderTest.java b/use-cases/facility-location/src/test/java/org/acme/facilitylocation/solver/FacilityLocationConstraintProviderTest.java index 704ac5552..1312d66fd 100644 --- a/use-cases/facility-location/src/test/java/org/acme/facilitylocation/solver/FacilityLocationConstraintProviderTest.java +++ b/use-cases/facility-location/src/test/java/org/acme/facilitylocation/solver/FacilityLocationConstraintProviderTest.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.facilitylocation.solver; import jakarta.inject.Inject; diff --git a/use-cases/facility-location/src/test/java/org/acme/facilitylocation/solver/SolverManagerTest.java b/use-cases/facility-location/src/test/java/org/acme/facilitylocation/solver/SolverManagerTest.java index 2c0ba9b13..2fe00eee0 100644 --- a/use-cases/facility-location/src/test/java/org/acme/facilitylocation/solver/SolverManagerTest.java +++ b/use-cases/facility-location/src/test/java/org/acme/facilitylocation/solver/SolverManagerTest.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.facilitylocation.solver; import java.util.concurrent.ExecutionException; diff --git a/use-cases/maintenance-scheduling/src/main/java/org/acme/maintenancescheduling/bootstrap/DemoDataGenerator.java b/use-cases/maintenance-scheduling/src/main/java/org/acme/maintenancescheduling/bootstrap/DemoDataGenerator.java index daa37ecf9..ee7d3482d 100644 --- a/use-cases/maintenance-scheduling/src/main/java/org/acme/maintenancescheduling/bootstrap/DemoDataGenerator.java +++ b/use-cases/maintenance-scheduling/src/main/java/org/acme/maintenancescheduling/bootstrap/DemoDataGenerator.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.maintenancescheduling.bootstrap; import java.time.DayOfWeek; diff --git a/use-cases/maintenance-scheduling/src/main/java/org/acme/maintenancescheduling/domain/Crew.java b/use-cases/maintenance-scheduling/src/main/java/org/acme/maintenancescheduling/domain/Crew.java index 0279e83b2..7a4abfdba 100644 --- a/use-cases/maintenance-scheduling/src/main/java/org/acme/maintenancescheduling/domain/Crew.java +++ b/use-cases/maintenance-scheduling/src/main/java/org/acme/maintenancescheduling/domain/Crew.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.maintenancescheduling.domain; import jakarta.persistence.Entity; diff --git a/use-cases/maintenance-scheduling/src/main/java/org/acme/maintenancescheduling/domain/Job.java b/use-cases/maintenance-scheduling/src/main/java/org/acme/maintenancescheduling/domain/Job.java index 1373d7fba..c44f4c4dd 100644 --- a/use-cases/maintenance-scheduling/src/main/java/org/acme/maintenancescheduling/domain/Job.java +++ b/use-cases/maintenance-scheduling/src/main/java/org/acme/maintenancescheduling/domain/Job.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.maintenancescheduling.domain; import java.time.LocalDate; diff --git a/use-cases/maintenance-scheduling/src/main/java/org/acme/maintenancescheduling/domain/MaintenanceSchedule.java b/use-cases/maintenance-scheduling/src/main/java/org/acme/maintenancescheduling/domain/MaintenanceSchedule.java index e2d0e7264..91a59a311 100644 --- a/use-cases/maintenance-scheduling/src/main/java/org/acme/maintenancescheduling/domain/MaintenanceSchedule.java +++ b/use-cases/maintenance-scheduling/src/main/java/org/acme/maintenancescheduling/domain/MaintenanceSchedule.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.maintenancescheduling.domain; import java.time.DayOfWeek; diff --git a/use-cases/maintenance-scheduling/src/main/java/org/acme/maintenancescheduling/domain/WorkCalendar.java b/use-cases/maintenance-scheduling/src/main/java/org/acme/maintenancescheduling/domain/WorkCalendar.java index 03942a13e..08a974bd7 100644 --- a/use-cases/maintenance-scheduling/src/main/java/org/acme/maintenancescheduling/domain/WorkCalendar.java +++ b/use-cases/maintenance-scheduling/src/main/java/org/acme/maintenancescheduling/domain/WorkCalendar.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.maintenancescheduling.domain; import java.time.LocalDate; diff --git a/use-cases/maintenance-scheduling/src/main/java/org/acme/maintenancescheduling/persistence/CrewRepository.java b/use-cases/maintenance-scheduling/src/main/java/org/acme/maintenancescheduling/persistence/CrewRepository.java index aa139d631..c5d6607c3 100644 --- a/use-cases/maintenance-scheduling/src/main/java/org/acme/maintenancescheduling/persistence/CrewRepository.java +++ b/use-cases/maintenance-scheduling/src/main/java/org/acme/maintenancescheduling/persistence/CrewRepository.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.maintenancescheduling.persistence; import jakarta.enterprise.context.ApplicationScoped; diff --git a/use-cases/maintenance-scheduling/src/main/java/org/acme/maintenancescheduling/persistence/JobRepository.java b/use-cases/maintenance-scheduling/src/main/java/org/acme/maintenancescheduling/persistence/JobRepository.java index 22acea544..fcefd66d5 100644 --- a/use-cases/maintenance-scheduling/src/main/java/org/acme/maintenancescheduling/persistence/JobRepository.java +++ b/use-cases/maintenance-scheduling/src/main/java/org/acme/maintenancescheduling/persistence/JobRepository.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.maintenancescheduling.persistence; import jakarta.enterprise.context.ApplicationScoped; diff --git a/use-cases/maintenance-scheduling/src/main/java/org/acme/maintenancescheduling/persistence/WorkCalendarRepository.java b/use-cases/maintenance-scheduling/src/main/java/org/acme/maintenancescheduling/persistence/WorkCalendarRepository.java index 4364e8062..d5be20791 100644 --- a/use-cases/maintenance-scheduling/src/main/java/org/acme/maintenancescheduling/persistence/WorkCalendarRepository.java +++ b/use-cases/maintenance-scheduling/src/main/java/org/acme/maintenancescheduling/persistence/WorkCalendarRepository.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.maintenancescheduling.persistence; import jakarta.enterprise.context.ApplicationScoped; diff --git a/use-cases/maintenance-scheduling/src/main/java/org/acme/maintenancescheduling/rest/MaintenanceScheduleResource.java b/use-cases/maintenance-scheduling/src/main/java/org/acme/maintenancescheduling/rest/MaintenanceScheduleResource.java index 8fabb7134..ef0960096 100644 --- a/use-cases/maintenance-scheduling/src/main/java/org/acme/maintenancescheduling/rest/MaintenanceScheduleResource.java +++ b/use-cases/maintenance-scheduling/src/main/java/org/acme/maintenancescheduling/rest/MaintenanceScheduleResource.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.maintenancescheduling.rest; import jakarta.inject.Inject; diff --git a/use-cases/maintenance-scheduling/src/main/java/org/acme/maintenancescheduling/solver/EndDateUpdatingVariableListener.java b/use-cases/maintenance-scheduling/src/main/java/org/acme/maintenancescheduling/solver/EndDateUpdatingVariableListener.java index 9466c1d33..05317d5af 100644 --- a/use-cases/maintenance-scheduling/src/main/java/org/acme/maintenancescheduling/solver/EndDateUpdatingVariableListener.java +++ b/use-cases/maintenance-scheduling/src/main/java/org/acme/maintenancescheduling/solver/EndDateUpdatingVariableListener.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.maintenancescheduling.solver; import java.time.LocalDate; diff --git a/use-cases/maintenance-scheduling/src/main/java/org/acme/maintenancescheduling/solver/MaintenanceScheduleConstraintProvider.java b/use-cases/maintenance-scheduling/src/main/java/org/acme/maintenancescheduling/solver/MaintenanceScheduleConstraintProvider.java index 8397cf16e..29543aa59 100644 --- a/use-cases/maintenance-scheduling/src/main/java/org/acme/maintenancescheduling/solver/MaintenanceScheduleConstraintProvider.java +++ b/use-cases/maintenance-scheduling/src/main/java/org/acme/maintenancescheduling/solver/MaintenanceScheduleConstraintProvider.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.maintenancescheduling.solver; import java.util.Collections; diff --git a/use-cases/maintenance-scheduling/src/test/java/org/acme/maintenancescheduling/TestResources.java b/use-cases/maintenance-scheduling/src/test/java/org/acme/maintenancescheduling/TestResources.java index fbeb2e2f5..b781453da 100644 --- a/use-cases/maintenance-scheduling/src/test/java/org/acme/maintenancescheduling/TestResources.java +++ b/use-cases/maintenance-scheduling/src/test/java/org/acme/maintenancescheduling/TestResources.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.maintenancescheduling; import io.quarkus.test.common.QuarkusTestResource; diff --git a/use-cases/maintenance-scheduling/src/test/java/org/acme/maintenancescheduling/rest/MaintenanceScheduleResourceTest.java b/use-cases/maintenance-scheduling/src/test/java/org/acme/maintenancescheduling/rest/MaintenanceScheduleResourceTest.java index 8e684a867..91fbce026 100644 --- a/use-cases/maintenance-scheduling/src/test/java/org/acme/maintenancescheduling/rest/MaintenanceScheduleResourceTest.java +++ b/use-cases/maintenance-scheduling/src/test/java/org/acme/maintenancescheduling/rest/MaintenanceScheduleResourceTest.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.maintenancescheduling.rest; import static org.junit.jupiter.api.Assertions.assertFalse; diff --git a/use-cases/maintenance-scheduling/src/test/java/org/acme/maintenancescheduling/solver/MaintenanceSchedulingConstraintProviderTest.java b/use-cases/maintenance-scheduling/src/test/java/org/acme/maintenancescheduling/solver/MaintenanceSchedulingConstraintProviderTest.java index 2e1ea4af3..8da30c582 100644 --- a/use-cases/maintenance-scheduling/src/test/java/org/acme/maintenancescheduling/solver/MaintenanceSchedulingConstraintProviderTest.java +++ b/use-cases/maintenance-scheduling/src/test/java/org/acme/maintenancescheduling/solver/MaintenanceSchedulingConstraintProviderTest.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.maintenancescheduling.solver; import java.time.LocalDate; diff --git a/use-cases/order-picking/src/main/java/org/acme/orderpicking/bootstrap/DemoDataGenerator.java b/use-cases/order-picking/src/main/java/org/acme/orderpicking/bootstrap/DemoDataGenerator.java index a9be9c22b..c52d75290 100644 --- a/use-cases/order-picking/src/main/java/org/acme/orderpicking/bootstrap/DemoDataGenerator.java +++ b/use-cases/order-picking/src/main/java/org/acme/orderpicking/bootstrap/DemoDataGenerator.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.orderpicking.bootstrap; import java.util.ArrayList; diff --git a/use-cases/order-picking/src/main/java/org/acme/orderpicking/domain/Order.java b/use-cases/order-picking/src/main/java/org/acme/orderpicking/domain/Order.java index 465c8af95..f62edbaf4 100644 --- a/use-cases/order-picking/src/main/java/org/acme/orderpicking/domain/Order.java +++ b/use-cases/order-picking/src/main/java/org/acme/orderpicking/domain/Order.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.orderpicking.domain; import java.util.ArrayList; diff --git a/use-cases/order-picking/src/main/java/org/acme/orderpicking/domain/OrderItem.java b/use-cases/order-picking/src/main/java/org/acme/orderpicking/domain/OrderItem.java index 36884572f..78a57f055 100644 --- a/use-cases/order-picking/src/main/java/org/acme/orderpicking/domain/OrderItem.java +++ b/use-cases/order-picking/src/main/java/org/acme/orderpicking/domain/OrderItem.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.orderpicking.domain; import com.fasterxml.jackson.annotation.JsonIgnore; diff --git a/use-cases/order-picking/src/main/java/org/acme/orderpicking/domain/OrderPickingPlanning.java b/use-cases/order-picking/src/main/java/org/acme/orderpicking/domain/OrderPickingPlanning.java index 461a048a7..3400e59a2 100644 --- a/use-cases/order-picking/src/main/java/org/acme/orderpicking/domain/OrderPickingPlanning.java +++ b/use-cases/order-picking/src/main/java/org/acme/orderpicking/domain/OrderPickingPlanning.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.orderpicking.domain; import java.util.HashMap; diff --git a/use-cases/order-picking/src/main/java/org/acme/orderpicking/domain/OrderPickingSolution.java b/use-cases/order-picking/src/main/java/org/acme/orderpicking/domain/OrderPickingSolution.java index 16a445019..622b60f28 100644 --- a/use-cases/order-picking/src/main/java/org/acme/orderpicking/domain/OrderPickingSolution.java +++ b/use-cases/order-picking/src/main/java/org/acme/orderpicking/domain/OrderPickingSolution.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.orderpicking.domain; import java.util.List; diff --git a/use-cases/order-picking/src/main/java/org/acme/orderpicking/domain/Product.java b/use-cases/order-picking/src/main/java/org/acme/orderpicking/domain/Product.java index 0087fcd07..1293bfa20 100644 --- a/use-cases/order-picking/src/main/java/org/acme/orderpicking/domain/Product.java +++ b/use-cases/order-picking/src/main/java/org/acme/orderpicking/domain/Product.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.orderpicking.domain; /** diff --git a/use-cases/order-picking/src/main/java/org/acme/orderpicking/domain/Shelving.java b/use-cases/order-picking/src/main/java/org/acme/orderpicking/domain/Shelving.java index 924b69c0d..014317ff8 100644 --- a/use-cases/order-picking/src/main/java/org/acme/orderpicking/domain/Shelving.java +++ b/use-cases/order-picking/src/main/java/org/acme/orderpicking/domain/Shelving.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.orderpicking.domain; /** diff --git a/use-cases/order-picking/src/main/java/org/acme/orderpicking/domain/Trolley.java b/use-cases/order-picking/src/main/java/org/acme/orderpicking/domain/Trolley.java index 0e636a78c..f9c31d074 100644 --- a/use-cases/order-picking/src/main/java/org/acme/orderpicking/domain/Trolley.java +++ b/use-cases/order-picking/src/main/java/org/acme/orderpicking/domain/Trolley.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.orderpicking.domain; /** diff --git a/use-cases/order-picking/src/main/java/org/acme/orderpicking/domain/TrolleyOrTrolleyStep.java b/use-cases/order-picking/src/main/java/org/acme/orderpicking/domain/TrolleyOrTrolleyStep.java index 00deb6eb3..78a7cc149 100644 --- a/use-cases/order-picking/src/main/java/org/acme/orderpicking/domain/TrolleyOrTrolleyStep.java +++ b/use-cases/order-picking/src/main/java/org/acme/orderpicking/domain/TrolleyOrTrolleyStep.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.orderpicking.domain; import org.optaplanner.core.api.domain.entity.PlanningEntity; diff --git a/use-cases/order-picking/src/main/java/org/acme/orderpicking/domain/TrolleyStep.java b/use-cases/order-picking/src/main/java/org/acme/orderpicking/domain/TrolleyStep.java index 7a88fbc1d..6c1fb865a 100644 --- a/use-cases/order-picking/src/main/java/org/acme/orderpicking/domain/TrolleyStep.java +++ b/use-cases/order-picking/src/main/java/org/acme/orderpicking/domain/TrolleyStep.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.orderpicking.domain; import com.fasterxml.jackson.annotation.JsonIgnore; diff --git a/use-cases/order-picking/src/main/java/org/acme/orderpicking/domain/Warehouse.java b/use-cases/order-picking/src/main/java/org/acme/orderpicking/domain/Warehouse.java index 07582a8ce..a75a8d8ff 100644 --- a/use-cases/order-picking/src/main/java/org/acme/orderpicking/domain/Warehouse.java +++ b/use-cases/order-picking/src/main/java/org/acme/orderpicking/domain/Warehouse.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.orderpicking.domain; import java.util.HashMap; diff --git a/use-cases/order-picking/src/main/java/org/acme/orderpicking/domain/WarehouseLocation.java b/use-cases/order-picking/src/main/java/org/acme/orderpicking/domain/WarehouseLocation.java index 95244feb9..c454a0696 100644 --- a/use-cases/order-picking/src/main/java/org/acme/orderpicking/domain/WarehouseLocation.java +++ b/use-cases/order-picking/src/main/java/org/acme/orderpicking/domain/WarehouseLocation.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.orderpicking.domain; /** diff --git a/use-cases/order-picking/src/main/java/org/acme/orderpicking/persistence/OrderPickingRepository.java b/use-cases/order-picking/src/main/java/org/acme/orderpicking/persistence/OrderPickingRepository.java index d3d850370..9a5fb803e 100644 --- a/use-cases/order-picking/src/main/java/org/acme/orderpicking/persistence/OrderPickingRepository.java +++ b/use-cases/order-picking/src/main/java/org/acme/orderpicking/persistence/OrderPickingRepository.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.orderpicking.persistence; import jakarta.enterprise.context.ApplicationScoped; diff --git a/use-cases/order-picking/src/main/java/org/acme/orderpicking/rest/OrderPickingSolverResource.java b/use-cases/order-picking/src/main/java/org/acme/orderpicking/rest/OrderPickingSolverResource.java index a9b8a9e73..b4e341061 100644 --- a/use-cases/order-picking/src/main/java/org/acme/orderpicking/rest/OrderPickingSolverResource.java +++ b/use-cases/order-picking/src/main/java/org/acme/orderpicking/rest/OrderPickingSolverResource.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.orderpicking.rest; import java.util.concurrent.atomic.AtomicBoolean; diff --git a/use-cases/order-picking/src/main/java/org/acme/orderpicking/solver/OrderPickingConstraintProvider.java b/use-cases/order-picking/src/main/java/org/acme/orderpicking/solver/OrderPickingConstraintProvider.java index a5df5e8c3..112d0bc3c 100644 --- a/use-cases/order-picking/src/main/java/org/acme/orderpicking/solver/OrderPickingConstraintProvider.java +++ b/use-cases/order-picking/src/main/java/org/acme/orderpicking/solver/OrderPickingConstraintProvider.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.orderpicking.solver; import org.acme.orderpicking.domain.TrolleyStep; diff --git a/use-cases/order-picking/src/test/java/org/acme/orderpicking/domain/WarehouseTest.java b/use-cases/order-picking/src/test/java/org/acme/orderpicking/domain/WarehouseTest.java index 477f100f6..403d827a9 100644 --- a/use-cases/order-picking/src/test/java/org/acme/orderpicking/domain/WarehouseTest.java +++ b/use-cases/order-picking/src/test/java/org/acme/orderpicking/domain/WarehouseTest.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.orderpicking.domain; import java.util.stream.Stream; diff --git a/use-cases/order-picking/src/test/java/org/acme/orderpicking/solver/OrderPickingConstraintProviderTest.java b/use-cases/order-picking/src/test/java/org/acme/orderpicking/solver/OrderPickingConstraintProviderTest.java index 0740d5f3e..7d01fe9b0 100644 --- a/use-cases/order-picking/src/test/java/org/acme/orderpicking/solver/OrderPickingConstraintProviderTest.java +++ b/use-cases/order-picking/src/test/java/org/acme/orderpicking/solver/OrderPickingConstraintProviderTest.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.orderpicking.solver; import java.util.ArrayList; diff --git a/use-cases/school-timetabling/src/main/java/org/acme/schooltimetabling/bootstrap/DemoDataGenerator.java b/use-cases/school-timetabling/src/main/java/org/acme/schooltimetabling/bootstrap/DemoDataGenerator.java index 868768922..d5ded3144 100644 --- a/use-cases/school-timetabling/src/main/java/org/acme/schooltimetabling/bootstrap/DemoDataGenerator.java +++ b/use-cases/school-timetabling/src/main/java/org/acme/schooltimetabling/bootstrap/DemoDataGenerator.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.schooltimetabling.bootstrap; import java.time.DayOfWeek; diff --git a/use-cases/school-timetabling/src/main/java/org/acme/schooltimetabling/domain/Lesson.java b/use-cases/school-timetabling/src/main/java/org/acme/schooltimetabling/domain/Lesson.java index 744208559..59ed6acec 100644 --- a/use-cases/school-timetabling/src/main/java/org/acme/schooltimetabling/domain/Lesson.java +++ b/use-cases/school-timetabling/src/main/java/org/acme/schooltimetabling/domain/Lesson.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.schooltimetabling.domain; import jakarta.persistence.Entity; diff --git a/use-cases/school-timetabling/src/main/java/org/acme/schooltimetabling/domain/Room.java b/use-cases/school-timetabling/src/main/java/org/acme/schooltimetabling/domain/Room.java index 34cded51b..e33d53534 100644 --- a/use-cases/school-timetabling/src/main/java/org/acme/schooltimetabling/domain/Room.java +++ b/use-cases/school-timetabling/src/main/java/org/acme/schooltimetabling/domain/Room.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.schooltimetabling.domain; import jakarta.persistence.Entity; diff --git a/use-cases/school-timetabling/src/main/java/org/acme/schooltimetabling/domain/TimeTable.java b/use-cases/school-timetabling/src/main/java/org/acme/schooltimetabling/domain/TimeTable.java index e300f70d9..15e91970c 100644 --- a/use-cases/school-timetabling/src/main/java/org/acme/schooltimetabling/domain/TimeTable.java +++ b/use-cases/school-timetabling/src/main/java/org/acme/schooltimetabling/domain/TimeTable.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.schooltimetabling.domain; import java.util.List; diff --git a/use-cases/school-timetabling/src/main/java/org/acme/schooltimetabling/domain/Timeslot.java b/use-cases/school-timetabling/src/main/java/org/acme/schooltimetabling/domain/Timeslot.java index 8dae825d9..eb8652349 100644 --- a/use-cases/school-timetabling/src/main/java/org/acme/schooltimetabling/domain/Timeslot.java +++ b/use-cases/school-timetabling/src/main/java/org/acme/schooltimetabling/domain/Timeslot.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.schooltimetabling.domain; import java.time.DayOfWeek; diff --git a/use-cases/school-timetabling/src/main/java/org/acme/schooltimetabling/persistence/LessonRepository.java b/use-cases/school-timetabling/src/main/java/org/acme/schooltimetabling/persistence/LessonRepository.java index ac8a53c25..ec7fcea4f 100644 --- a/use-cases/school-timetabling/src/main/java/org/acme/schooltimetabling/persistence/LessonRepository.java +++ b/use-cases/school-timetabling/src/main/java/org/acme/schooltimetabling/persistence/LessonRepository.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.schooltimetabling.persistence; import jakarta.enterprise.context.ApplicationScoped; diff --git a/use-cases/school-timetabling/src/main/java/org/acme/schooltimetabling/persistence/RoomRepository.java b/use-cases/school-timetabling/src/main/java/org/acme/schooltimetabling/persistence/RoomRepository.java index 8cb09e9c7..0abf1b2c1 100644 --- a/use-cases/school-timetabling/src/main/java/org/acme/schooltimetabling/persistence/RoomRepository.java +++ b/use-cases/school-timetabling/src/main/java/org/acme/schooltimetabling/persistence/RoomRepository.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.schooltimetabling.persistence; import jakarta.enterprise.context.ApplicationScoped; diff --git a/use-cases/school-timetabling/src/main/java/org/acme/schooltimetabling/persistence/TimeslotRepository.java b/use-cases/school-timetabling/src/main/java/org/acme/schooltimetabling/persistence/TimeslotRepository.java index c44387d76..9aedde38a 100644 --- a/use-cases/school-timetabling/src/main/java/org/acme/schooltimetabling/persistence/TimeslotRepository.java +++ b/use-cases/school-timetabling/src/main/java/org/acme/schooltimetabling/persistence/TimeslotRepository.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.schooltimetabling.persistence; import jakarta.enterprise.context.ApplicationScoped; diff --git a/use-cases/school-timetabling/src/main/java/org/acme/schooltimetabling/rest/LessonResource.java b/use-cases/school-timetabling/src/main/java/org/acme/schooltimetabling/rest/LessonResource.java index 011f673bd..a0974764b 100644 --- a/use-cases/school-timetabling/src/main/java/org/acme/schooltimetabling/rest/LessonResource.java +++ b/use-cases/school-timetabling/src/main/java/org/acme/schooltimetabling/rest/LessonResource.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.schooltimetabling.rest; import org.acme.schooltimetabling.domain.Lesson; diff --git a/use-cases/school-timetabling/src/main/java/org/acme/schooltimetabling/rest/RoomResource.java b/use-cases/school-timetabling/src/main/java/org/acme/schooltimetabling/rest/RoomResource.java index 1cc936374..801bc98b6 100644 --- a/use-cases/school-timetabling/src/main/java/org/acme/schooltimetabling/rest/RoomResource.java +++ b/use-cases/school-timetabling/src/main/java/org/acme/schooltimetabling/rest/RoomResource.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.schooltimetabling.rest; import org.acme.schooltimetabling.domain.Room; diff --git a/use-cases/school-timetabling/src/main/java/org/acme/schooltimetabling/rest/TimeTableResource.java b/use-cases/school-timetabling/src/main/java/org/acme/schooltimetabling/rest/TimeTableResource.java index 275d6fd37..3dc58427d 100644 --- a/use-cases/school-timetabling/src/main/java/org/acme/schooltimetabling/rest/TimeTableResource.java +++ b/use-cases/school-timetabling/src/main/java/org/acme/schooltimetabling/rest/TimeTableResource.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.schooltimetabling.rest; import jakarta.inject.Inject; diff --git a/use-cases/school-timetabling/src/main/java/org/acme/schooltimetabling/rest/TimeslotResource.java b/use-cases/school-timetabling/src/main/java/org/acme/schooltimetabling/rest/TimeslotResource.java index d563aa630..2dfb8392d 100644 --- a/use-cases/school-timetabling/src/main/java/org/acme/schooltimetabling/rest/TimeslotResource.java +++ b/use-cases/school-timetabling/src/main/java/org/acme/schooltimetabling/rest/TimeslotResource.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.schooltimetabling.rest; import org.acme.schooltimetabling.domain.Timeslot; diff --git a/use-cases/school-timetabling/src/main/java/org/acme/schooltimetabling/solver/TimeTableConstraintProvider.java b/use-cases/school-timetabling/src/main/java/org/acme/schooltimetabling/solver/TimeTableConstraintProvider.java index f0d24dfc8..2b1e90da6 100644 --- a/use-cases/school-timetabling/src/main/java/org/acme/schooltimetabling/solver/TimeTableConstraintProvider.java +++ b/use-cases/school-timetabling/src/main/java/org/acme/schooltimetabling/solver/TimeTableConstraintProvider.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.schooltimetabling.solver; import java.time.Duration; diff --git a/use-cases/school-timetabling/src/test/java/org/acme/schooltimetabling/TestResources.java b/use-cases/school-timetabling/src/test/java/org/acme/schooltimetabling/TestResources.java index c3431b0c6..9ce7b9e29 100644 --- a/use-cases/school-timetabling/src/test/java/org/acme/schooltimetabling/TestResources.java +++ b/use-cases/school-timetabling/src/test/java/org/acme/schooltimetabling/TestResources.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.schooltimetabling; import io.quarkus.test.common.QuarkusTestResource; diff --git a/use-cases/school-timetabling/src/test/java/org/acme/schooltimetabling/rest/LessonResourceIT.java b/use-cases/school-timetabling/src/test/java/org/acme/schooltimetabling/rest/LessonResourceIT.java index 4d512f236..f665029c7 100644 --- a/use-cases/school-timetabling/src/test/java/org/acme/schooltimetabling/rest/LessonResourceIT.java +++ b/use-cases/school-timetabling/src/test/java/org/acme/schooltimetabling/rest/LessonResourceIT.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.schooltimetabling.rest; import io.quarkus.test.junit.QuarkusIntegrationTest; diff --git a/use-cases/school-timetabling/src/test/java/org/acme/schooltimetabling/rest/LessonResourceTest.java b/use-cases/school-timetabling/src/test/java/org/acme/schooltimetabling/rest/LessonResourceTest.java index facb81547..6a0b55b39 100644 --- a/use-cases/school-timetabling/src/test/java/org/acme/schooltimetabling/rest/LessonResourceTest.java +++ b/use-cases/school-timetabling/src/test/java/org/acme/schooltimetabling/rest/LessonResourceTest.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.schooltimetabling.rest; import static io.restassured.RestAssured.given; diff --git a/use-cases/school-timetabling/src/test/java/org/acme/schooltimetabling/rest/RoomResourceIT.java b/use-cases/school-timetabling/src/test/java/org/acme/schooltimetabling/rest/RoomResourceIT.java index 5b0ef3ecf..3346138d0 100644 --- a/use-cases/school-timetabling/src/test/java/org/acme/schooltimetabling/rest/RoomResourceIT.java +++ b/use-cases/school-timetabling/src/test/java/org/acme/schooltimetabling/rest/RoomResourceIT.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.schooltimetabling.rest; import io.quarkus.test.junit.QuarkusIntegrationTest; diff --git a/use-cases/school-timetabling/src/test/java/org/acme/schooltimetabling/rest/RoomResourceTest.java b/use-cases/school-timetabling/src/test/java/org/acme/schooltimetabling/rest/RoomResourceTest.java index 8f1b025e2..bed00f43f 100644 --- a/use-cases/school-timetabling/src/test/java/org/acme/schooltimetabling/rest/RoomResourceTest.java +++ b/use-cases/school-timetabling/src/test/java/org/acme/schooltimetabling/rest/RoomResourceTest.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.schooltimetabling.rest; import static io.restassured.RestAssured.given; diff --git a/use-cases/school-timetabling/src/test/java/org/acme/schooltimetabling/rest/TimeTableResourceTest.java b/use-cases/school-timetabling/src/test/java/org/acme/schooltimetabling/rest/TimeTableResourceTest.java index 344ad6752..42a11e24c 100644 --- a/use-cases/school-timetabling/src/test/java/org/acme/schooltimetabling/rest/TimeTableResourceTest.java +++ b/use-cases/school-timetabling/src/test/java/org/acme/schooltimetabling/rest/TimeTableResourceTest.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.schooltimetabling.rest; import static io.restassured.RestAssured.get; diff --git a/use-cases/school-timetabling/src/test/java/org/acme/schooltimetabling/rest/TimeslotResourceIT.java b/use-cases/school-timetabling/src/test/java/org/acme/schooltimetabling/rest/TimeslotResourceIT.java index 748952b09..3be71406c 100644 --- a/use-cases/school-timetabling/src/test/java/org/acme/schooltimetabling/rest/TimeslotResourceIT.java +++ b/use-cases/school-timetabling/src/test/java/org/acme/schooltimetabling/rest/TimeslotResourceIT.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.schooltimetabling.rest; import io.quarkus.test.junit.QuarkusIntegrationTest; diff --git a/use-cases/school-timetabling/src/test/java/org/acme/schooltimetabling/rest/TimeslotResourceTest.java b/use-cases/school-timetabling/src/test/java/org/acme/schooltimetabling/rest/TimeslotResourceTest.java index 1aa8a205a..8dec63796 100644 --- a/use-cases/school-timetabling/src/test/java/org/acme/schooltimetabling/rest/TimeslotResourceTest.java +++ b/use-cases/school-timetabling/src/test/java/org/acme/schooltimetabling/rest/TimeslotResourceTest.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.schooltimetabling.rest; import static io.restassured.RestAssured.given; diff --git a/use-cases/school-timetabling/src/test/java/org/acme/schooltimetabling/solver/TimeTableBenchmarkTest.java b/use-cases/school-timetabling/src/test/java/org/acme/schooltimetabling/solver/TimeTableBenchmarkTest.java index d2f4c7013..f740327ef 100644 --- a/use-cases/school-timetabling/src/test/java/org/acme/schooltimetabling/solver/TimeTableBenchmarkTest.java +++ b/use-cases/school-timetabling/src/test/java/org/acme/schooltimetabling/solver/TimeTableBenchmarkTest.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.schooltimetabling.solver; import jakarta.inject.Inject; diff --git a/use-cases/school-timetabling/src/test/java/org/acme/schooltimetabling/solver/TimeTableConstraintProviderTest.java b/use-cases/school-timetabling/src/test/java/org/acme/schooltimetabling/solver/TimeTableConstraintProviderTest.java index 0f081ba65..8a51598cb 100644 --- a/use-cases/school-timetabling/src/test/java/org/acme/schooltimetabling/solver/TimeTableConstraintProviderTest.java +++ b/use-cases/school-timetabling/src/test/java/org/acme/schooltimetabling/solver/TimeTableConstraintProviderTest.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.schooltimetabling.solver; import java.time.DayOfWeek; diff --git a/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/bootstrap/DemoDataGenerator.java b/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/bootstrap/DemoDataGenerator.java index 63879dcb6..f4d9b025a 100644 --- a/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/bootstrap/DemoDataGenerator.java +++ b/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/bootstrap/DemoDataGenerator.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.vaccinationscheduler.bootstrap; import static java.time.temporal.ChronoUnit.DAYS; diff --git a/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/domain/Appointment.java b/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/domain/Appointment.java index e43e33d2f..ad5101e51 100644 --- a/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/domain/Appointment.java +++ b/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/domain/Appointment.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.vaccinationscheduler.domain; import java.time.LocalDateTime; diff --git a/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/domain/Location.java b/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/domain/Location.java index 9ee6b0c07..7bd222845 100644 --- a/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/domain/Location.java +++ b/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/domain/Location.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.vaccinationscheduler.domain; import com.fasterxml.jackson.annotation.JsonFormat; diff --git a/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/domain/Person.java b/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/domain/Person.java index 6aa5f6d90..f62ab6e1a 100644 --- a/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/domain/Person.java +++ b/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/domain/Person.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.vaccinationscheduler.domain; import java.time.LocalDate; diff --git a/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/domain/VaccinationCenter.java b/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/domain/VaccinationCenter.java index 4391a1620..3dfc5c5a4 100644 --- a/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/domain/VaccinationCenter.java +++ b/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/domain/VaccinationCenter.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.vaccinationscheduler.domain; import com.fasterxml.jackson.annotation.JsonIdentityInfo; diff --git a/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/domain/VaccinationSchedule.java b/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/domain/VaccinationSchedule.java index b2b258577..cd8939e3c 100644 --- a/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/domain/VaccinationSchedule.java +++ b/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/domain/VaccinationSchedule.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.vaccinationscheduler.domain; import java.util.List; diff --git a/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/domain/VaccineType.java b/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/domain/VaccineType.java index 1cce4d81a..16fdd8e35 100644 --- a/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/domain/VaccineType.java +++ b/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/domain/VaccineType.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.vaccinationscheduler.domain; import com.fasterxml.jackson.annotation.JsonIdentityInfo; diff --git a/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/domain/solver/PersonAssignment.java b/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/domain/solver/PersonAssignment.java index 06f90310b..ba44912f8 100644 --- a/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/domain/solver/PersonAssignment.java +++ b/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/domain/solver/PersonAssignment.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.vaccinationscheduler.domain.solver; import static java.time.temporal.ChronoUnit.YEARS; diff --git a/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/domain/solver/VaccinationSlot.java b/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/domain/solver/VaccinationSlot.java index be9ff65c5..0f3b296a1 100644 --- a/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/domain/solver/VaccinationSlot.java +++ b/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/domain/solver/VaccinationSlot.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.vaccinationscheduler.domain.solver; import java.time.LocalDate; diff --git a/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/domain/solver/VaccinationSolution.java b/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/domain/solver/VaccinationSolution.java index 1979f62bb..8ba388509 100644 --- a/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/domain/solver/VaccinationSolution.java +++ b/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/domain/solver/VaccinationSolution.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.vaccinationscheduler.domain.solver; import static java.util.stream.Collectors.groupingBy; diff --git a/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/persistence/VaccinationScheduleRepository.java b/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/persistence/VaccinationScheduleRepository.java index ff97e5eb1..1cbbb57c8 100644 --- a/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/persistence/VaccinationScheduleRepository.java +++ b/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/persistence/VaccinationScheduleRepository.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.vaccinationscheduler.persistence; import jakarta.enterprise.context.ApplicationScoped; diff --git a/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/rest/VaccinationScheduleSolverResource.java b/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/rest/VaccinationScheduleSolverResource.java index 485897fdb..a0dd168e8 100644 --- a/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/rest/VaccinationScheduleSolverResource.java +++ b/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/rest/VaccinationScheduleSolverResource.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.vaccinationscheduler.rest; import java.util.ArrayList; diff --git a/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/solver/PersonAssignmentDifficultyComparator.java b/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/solver/PersonAssignmentDifficultyComparator.java index bd2ea5e66..cc2eef36f 100644 --- a/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/solver/PersonAssignmentDifficultyComparator.java +++ b/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/solver/PersonAssignmentDifficultyComparator.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.vaccinationscheduler.solver; import java.util.Comparator; diff --git a/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/solver/VaccinationScheduleConstraintProvider.java b/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/solver/VaccinationScheduleConstraintProvider.java index 955b4ca5e..4260e1d5c 100644 --- a/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/solver/VaccinationScheduleConstraintProvider.java +++ b/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/solver/VaccinationScheduleConstraintProvider.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.vaccinationscheduler.solver; import static java.time.temporal.ChronoUnit.DAYS; diff --git a/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/solver/geo/DistanceCalculator.java b/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/solver/geo/DistanceCalculator.java index bd1850758..45e9b7fdb 100644 --- a/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/solver/geo/DistanceCalculator.java +++ b/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/solver/geo/DistanceCalculator.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.vaccinationscheduler.solver.geo; import org.acme.vaccinationscheduler.domain.Location; diff --git a/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/solver/geo/EuclideanDistanceCalculator.java b/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/solver/geo/EuclideanDistanceCalculator.java index 4fc8ee6c2..109263304 100644 --- a/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/solver/geo/EuclideanDistanceCalculator.java +++ b/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/solver/geo/EuclideanDistanceCalculator.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.vaccinationscheduler.solver.geo; import static java.lang.Math.ceil; diff --git a/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/solver/optional/VaccinationCustomConstructionHeuristic.java b/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/solver/optional/VaccinationCustomConstructionHeuristic.java index 6728c76de..bcefdf84d 100644 --- a/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/solver/optional/VaccinationCustomConstructionHeuristic.java +++ b/use-cases/vaccination-scheduling/src/main/java/org/acme/vaccinationscheduler/solver/optional/VaccinationCustomConstructionHeuristic.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.vaccinationscheduler.solver.optional; import static java.time.temporal.ChronoUnit.DAYS; diff --git a/use-cases/vaccination-scheduling/src/test/java/org/acme/vaccinationscheduler/domain/solver/VaccinationSolutionTest.java b/use-cases/vaccination-scheduling/src/test/java/org/acme/vaccinationscheduler/domain/solver/VaccinationSolutionTest.java index 9e1cd8fbe..5a8039f04 100644 --- a/use-cases/vaccination-scheduling/src/test/java/org/acme/vaccinationscheduler/domain/solver/VaccinationSolutionTest.java +++ b/use-cases/vaccination-scheduling/src/test/java/org/acme/vaccinationscheduler/domain/solver/VaccinationSolutionTest.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.vaccinationscheduler.domain.solver; import static org.junit.jupiter.api.Assertions.assertEquals; diff --git a/use-cases/vaccination-scheduling/src/test/java/org/acme/vaccinationscheduler/solver/VaccinationScheduleConstraintProviderTest.java b/use-cases/vaccination-scheduling/src/test/java/org/acme/vaccinationscheduler/solver/VaccinationScheduleConstraintProviderTest.java index fb45c5b28..b3a88e65b 100644 --- a/use-cases/vaccination-scheduling/src/test/java/org/acme/vaccinationscheduler/solver/VaccinationScheduleConstraintProviderTest.java +++ b/use-cases/vaccination-scheduling/src/test/java/org/acme/vaccinationscheduler/solver/VaccinationScheduleConstraintProviderTest.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.vaccinationscheduler.solver; import java.time.LocalDate; diff --git a/use-cases/vehicle-routing/src/main/java/org/acme/vehiclerouting/bootstrap/DemoDataBuilder.java b/use-cases/vehicle-routing/src/main/java/org/acme/vehiclerouting/bootstrap/DemoDataBuilder.java index 66f9e8e19..9589f3a78 100644 --- a/use-cases/vehicle-routing/src/main/java/org/acme/vehiclerouting/bootstrap/DemoDataBuilder.java +++ b/use-cases/vehicle-routing/src/main/java/org/acme/vehiclerouting/bootstrap/DemoDataBuilder.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.vehiclerouting.bootstrap; import java.util.List; diff --git a/use-cases/vehicle-routing/src/main/java/org/acme/vehiclerouting/bootstrap/DemoDataGenerator.java b/use-cases/vehicle-routing/src/main/java/org/acme/vehiclerouting/bootstrap/DemoDataGenerator.java index 187df0710..157d45a0c 100644 --- a/use-cases/vehicle-routing/src/main/java/org/acme/vehiclerouting/bootstrap/DemoDataGenerator.java +++ b/use-cases/vehicle-routing/src/main/java/org/acme/vehiclerouting/bootstrap/DemoDataGenerator.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.vehiclerouting.bootstrap; import jakarta.enterprise.context.ApplicationScoped; diff --git a/use-cases/vehicle-routing/src/main/java/org/acme/vehiclerouting/domain/Customer.java b/use-cases/vehicle-routing/src/main/java/org/acme/vehiclerouting/domain/Customer.java index bef77b1cb..dfb0d8e53 100644 --- a/use-cases/vehicle-routing/src/main/java/org/acme/vehiclerouting/domain/Customer.java +++ b/use-cases/vehicle-routing/src/main/java/org/acme/vehiclerouting/domain/Customer.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.vehiclerouting.domain; public class Customer { diff --git a/use-cases/vehicle-routing/src/main/java/org/acme/vehiclerouting/domain/Depot.java b/use-cases/vehicle-routing/src/main/java/org/acme/vehiclerouting/domain/Depot.java index eb893d503..2d20bf328 100644 --- a/use-cases/vehicle-routing/src/main/java/org/acme/vehiclerouting/domain/Depot.java +++ b/use-cases/vehicle-routing/src/main/java/org/acme/vehiclerouting/domain/Depot.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.vehiclerouting.domain; public class Depot { diff --git a/use-cases/vehicle-routing/src/main/java/org/acme/vehiclerouting/domain/Location.java b/use-cases/vehicle-routing/src/main/java/org/acme/vehiclerouting/domain/Location.java index 66f8a72c1..301b0dfdb 100644 --- a/use-cases/vehicle-routing/src/main/java/org/acme/vehiclerouting/domain/Location.java +++ b/use-cases/vehicle-routing/src/main/java/org/acme/vehiclerouting/domain/Location.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.vehiclerouting.domain; import java.util.Map; diff --git a/use-cases/vehicle-routing/src/main/java/org/acme/vehiclerouting/domain/Vehicle.java b/use-cases/vehicle-routing/src/main/java/org/acme/vehiclerouting/domain/Vehicle.java index 15deaa0eb..bc38bb9c1 100644 --- a/use-cases/vehicle-routing/src/main/java/org/acme/vehiclerouting/domain/Vehicle.java +++ b/use-cases/vehicle-routing/src/main/java/org/acme/vehiclerouting/domain/Vehicle.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.vehiclerouting.domain; import java.util.ArrayList; diff --git a/use-cases/vehicle-routing/src/main/java/org/acme/vehiclerouting/domain/VehicleRoutingSolution.java b/use-cases/vehicle-routing/src/main/java/org/acme/vehiclerouting/domain/VehicleRoutingSolution.java index 21f58aa65..cf79b5635 100644 --- a/use-cases/vehicle-routing/src/main/java/org/acme/vehiclerouting/domain/VehicleRoutingSolution.java +++ b/use-cases/vehicle-routing/src/main/java/org/acme/vehiclerouting/domain/VehicleRoutingSolution.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.vehiclerouting.domain; import java.util.Arrays; diff --git a/use-cases/vehicle-routing/src/main/java/org/acme/vehiclerouting/domain/geo/DistanceCalculator.java b/use-cases/vehicle-routing/src/main/java/org/acme/vehiclerouting/domain/geo/DistanceCalculator.java index 0e42b0468..3116def1e 100644 --- a/use-cases/vehicle-routing/src/main/java/org/acme/vehiclerouting/domain/geo/DistanceCalculator.java +++ b/use-cases/vehicle-routing/src/main/java/org/acme/vehiclerouting/domain/geo/DistanceCalculator.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.vehiclerouting.domain.geo; import java.util.Collection; diff --git a/use-cases/vehicle-routing/src/main/java/org/acme/vehiclerouting/domain/geo/EuclideanDistanceCalculator.java b/use-cases/vehicle-routing/src/main/java/org/acme/vehiclerouting/domain/geo/EuclideanDistanceCalculator.java index f1f5490d7..33d349eae 100644 --- a/use-cases/vehicle-routing/src/main/java/org/acme/vehiclerouting/domain/geo/EuclideanDistanceCalculator.java +++ b/use-cases/vehicle-routing/src/main/java/org/acme/vehiclerouting/domain/geo/EuclideanDistanceCalculator.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.vehiclerouting.domain.geo; import static java.lang.Math.ceil; diff --git a/use-cases/vehicle-routing/src/main/java/org/acme/vehiclerouting/domain/solver/DepotAngleCustomerDifficultyWeightFactory.java b/use-cases/vehicle-routing/src/main/java/org/acme/vehiclerouting/domain/solver/DepotAngleCustomerDifficultyWeightFactory.java index 5c617476d..c58826960 100644 --- a/use-cases/vehicle-routing/src/main/java/org/acme/vehiclerouting/domain/solver/DepotAngleCustomerDifficultyWeightFactory.java +++ b/use-cases/vehicle-routing/src/main/java/org/acme/vehiclerouting/domain/solver/DepotAngleCustomerDifficultyWeightFactory.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.vehiclerouting.domain.solver; import static java.util.Comparator.comparingDouble; diff --git a/use-cases/vehicle-routing/src/main/java/org/acme/vehiclerouting/persistence/VehicleRoutingSolutionRepository.java b/use-cases/vehicle-routing/src/main/java/org/acme/vehiclerouting/persistence/VehicleRoutingSolutionRepository.java index 835f9b5e0..b47b21a96 100644 --- a/use-cases/vehicle-routing/src/main/java/org/acme/vehiclerouting/persistence/VehicleRoutingSolutionRepository.java +++ b/use-cases/vehicle-routing/src/main/java/org/acme/vehiclerouting/persistence/VehicleRoutingSolutionRepository.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.vehiclerouting.persistence; import java.util.Optional; diff --git a/use-cases/vehicle-routing/src/main/java/org/acme/vehiclerouting/rest/SolverResource.java b/use-cases/vehicle-routing/src/main/java/org/acme/vehiclerouting/rest/SolverResource.java index 4294f0c3c..71dbcbbb2 100644 --- a/use-cases/vehicle-routing/src/main/java/org/acme/vehiclerouting/rest/SolverResource.java +++ b/use-cases/vehicle-routing/src/main/java/org/acme/vehiclerouting/rest/SolverResource.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.vehiclerouting.rest; import java.util.Optional; diff --git a/use-cases/vehicle-routing/src/main/java/org/acme/vehiclerouting/rest/Status.java b/use-cases/vehicle-routing/src/main/java/org/acme/vehiclerouting/rest/Status.java index b9f8db470..ab79eb2be 100644 --- a/use-cases/vehicle-routing/src/main/java/org/acme/vehiclerouting/rest/Status.java +++ b/use-cases/vehicle-routing/src/main/java/org/acme/vehiclerouting/rest/Status.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.vehiclerouting.rest; import org.acme.vehiclerouting.domain.VehicleRoutingSolution; diff --git a/use-cases/vehicle-routing/src/main/java/org/acme/vehiclerouting/solver/VehicleRoutingConstraintProvider.java b/use-cases/vehicle-routing/src/main/java/org/acme/vehiclerouting/solver/VehicleRoutingConstraintProvider.java index 2653444ac..463490a27 100644 --- a/use-cases/vehicle-routing/src/main/java/org/acme/vehiclerouting/solver/VehicleRoutingConstraintProvider.java +++ b/use-cases/vehicle-routing/src/main/java/org/acme/vehiclerouting/solver/VehicleRoutingConstraintProvider.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.vehiclerouting.solver; import org.acme.vehiclerouting.domain.Vehicle; diff --git a/use-cases/vehicle-routing/src/test/java/org/acme/vehiclerouting/bootstrap/DemoDataBuilderTest.java b/use-cases/vehicle-routing/src/test/java/org/acme/vehiclerouting/bootstrap/DemoDataBuilderTest.java index 8af75c846..dcd5d7f06 100644 --- a/use-cases/vehicle-routing/src/test/java/org/acme/vehiclerouting/bootstrap/DemoDataBuilderTest.java +++ b/use-cases/vehicle-routing/src/test/java/org/acme/vehiclerouting/bootstrap/DemoDataBuilderTest.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.vehiclerouting.bootstrap; import static org.assertj.core.api.Assertions.assertThatIllegalStateException; diff --git a/use-cases/vehicle-routing/src/test/java/org/acme/vehiclerouting/domain/geo/EuclideanDistanceCalculatorTest.java b/use-cases/vehicle-routing/src/test/java/org/acme/vehiclerouting/domain/geo/EuclideanDistanceCalculatorTest.java index ef9274723..b49db8984 100644 --- a/use-cases/vehicle-routing/src/test/java/org/acme/vehiclerouting/domain/geo/EuclideanDistanceCalculatorTest.java +++ b/use-cases/vehicle-routing/src/test/java/org/acme/vehiclerouting/domain/geo/EuclideanDistanceCalculatorTest.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.vehiclerouting.domain.geo; import static org.assertj.core.api.Assertions.assertThat; diff --git a/use-cases/vehicle-routing/src/test/java/org/acme/vehiclerouting/rest/SolverResourceTest.java b/use-cases/vehicle-routing/src/test/java/org/acme/vehiclerouting/rest/SolverResourceTest.java index a18ccfed3..a37e04a24 100644 --- a/use-cases/vehicle-routing/src/test/java/org/acme/vehiclerouting/rest/SolverResourceTest.java +++ b/use-cases/vehicle-routing/src/test/java/org/acme/vehiclerouting/rest/SolverResourceTest.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.vehiclerouting.rest; import static io.restassured.RestAssured.given; diff --git a/use-cases/vehicle-routing/src/test/java/org/acme/vehiclerouting/solver/SolverManagerTest.java b/use-cases/vehicle-routing/src/test/java/org/acme/vehiclerouting/solver/SolverManagerTest.java index 1f721bc74..65ee337c6 100644 --- a/use-cases/vehicle-routing/src/test/java/org/acme/vehiclerouting/solver/SolverManagerTest.java +++ b/use-cases/vehicle-routing/src/test/java/org/acme/vehiclerouting/solver/SolverManagerTest.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.vehiclerouting.solver; import java.util.concurrent.ExecutionException; diff --git a/use-cases/vehicle-routing/src/test/java/org/acme/vehiclerouting/solver/VehicleRoutingConstraintProviderTest.java b/use-cases/vehicle-routing/src/test/java/org/acme/vehiclerouting/solver/VehicleRoutingConstraintProviderTest.java index 67d482996..92ed69347 100644 --- a/use-cases/vehicle-routing/src/test/java/org/acme/vehiclerouting/solver/VehicleRoutingConstraintProviderTest.java +++ b/use-cases/vehicle-routing/src/test/java/org/acme/vehiclerouting/solver/VehicleRoutingConstraintProviderTest.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.vehiclerouting.solver; import java.util.Arrays; From 2b1e60b0fbc541aff38e3d176f47503aa088a335 Mon Sep 17 00:00:00 2001 From: jomarko Date: Tue, 10 Oct 2023 12:51:01 +0200 Subject: [PATCH 2/3] Add NOTICE --- NOTICE.txt | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 NOTICE.txt diff --git a/NOTICE.txt b/NOTICE.txt new file mode 100644 index 000000000..6a7d335aa --- /dev/null +++ b/NOTICE.txt @@ -0,0 +1,9 @@ +Apache KIE +Copyright 2023 The Apache Software Foundation + +This product includes software developed at +The Apache Software Foundation (http://www.apache.org/). + +The Initial Developer of some parts of the framework, which are copied from, derived from, or +inspired by KIE (Knowledge Is Everthing) group, is Red Hat, Inc (https://www.redhat.com/). +Copyright Red Hat, Inc. and/or its affiliates.. All Rights Reserved. From 9bb5d81a62772d6957c2a436dd0c57944193a2b5 Mon Sep 17 00:00:00 2001 From: jomarko Date: Wed, 11 Oct 2023 09:49:31 +0200 Subject: [PATCH 3/3] remove 'txt' extension --- NOTICE.txt => NOTICE | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename NOTICE.txt => NOTICE (100%) diff --git a/NOTICE.txt b/NOTICE similarity index 100% rename from NOTICE.txt rename to NOTICE