During testing the Rest-API I got Nullpointer-Exceptions for the cargobooking/findCargo ... due to the missing constructor in CargoBookingQueryService:
public CargoBookingQueryService(CargoRepository cargoRepository) {
this.cargoRepository = cargoRepository;
}
Works now 😉
During testing the Rest-API I got Nullpointer-Exceptions for the cargobooking/findCargo ... due to the missing constructor in CargoBookingQueryService:
public CargoBookingQueryService(CargoRepository cargoRepository) {
this.cargoRepository = cargoRepository;
}
Works now 😉