diff --git a/application/src/main/java/org/opentripplanner/standalone/configure/ConstructApplication.java b/application/src/main/java/org/opentripplanner/standalone/configure/ConstructApplication.java index 1d04384d1aa..f2174528671 100644 --- a/application/src/main/java/org/opentripplanner/standalone/configure/ConstructApplication.java +++ b/application/src/main/java/org/opentripplanner/standalone/configure/ConstructApplication.java @@ -35,6 +35,7 @@ import org.opentripplanner.street.model.elevation.ElevationUtils; import org.opentripplanner.transit.service.TimetableRepository; import org.opentripplanner.updater.configure.UpdaterConfigurator; +import org.opentripplanner.updater.trip.TimetableSnapshotManager; import org.opentripplanner.utils.logging.ProgressTracker; import org.opentripplanner.visualizer.GraphVisualizer; import org.slf4j.Logger; @@ -169,7 +170,7 @@ private void setupTransitRoutingServer() { vehicleRentalRepository(), vehicleParkingRepository(), timetableRepository(), - factory.timetableSnapshotManager(), + snapshotManager(), routerConfig().updaterConfig() ); @@ -269,6 +270,10 @@ public VehicleRentalRepository vehicleRentalRepository() { return factory.vehicleRentalRepository(); } + private TimetableSnapshotManager snapshotManager() { + return factory.timetableSnapshotManager(); + } + public VehicleParkingService vehicleParkingService() { return factory.vehicleParkingService(); }