-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use SIRI-ET and GTFS-RT TripUpdates at the same time #6363
base: dev-2.x
Are you sure you want to change the base?
Use SIRI-ET and GTFS-RT TripUpdates at the same time #6363
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev-2.x #6363 +/- ##
=============================================
+ Coverage 69.77% 69.80% +0.02%
- Complexity 18053 18079 +26
=============================================
Files 2060 2064 +4
Lines 77122 77154 +32
Branches 7856 7846 -10
=============================================
+ Hits 53814 53858 +44
+ Misses 20556 20543 -13
- Partials 2752 2753 +1 ☔ View full report in Codecov by Sentry. |
f80a8a6
to
5f8eb10
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good. Just minor comments.
application/src/main/java/org/opentripplanner/transit/service/DefaultTransitService.java
Outdated
Show resolved
Hide resolved
application/src/main/java/org/opentripplanner/updater/spi/TimetableSnapshotFlush.java
Show resolved
Hide resolved
application/src/main/java/org/opentripplanner/transit/service/DefaultTransitService.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You probably don't need to bump the serialization id since you change only a transient field.
So removing fields doesn't count as breaking backwards-compatibility? |
Summary
Previously it was not possible to run SIRI-ET and GTFS-RT TripUpdates in the same instance. This PR changes it by cleaning up the relationships of the various real-time components.
A class diagram to show the new relationships is available in the issue #6348.
Issue
Closes #6348
Unit tests
Some unit tests updated.
Documentation
The new class diagram is available in this PR in
doc/dev/diagrams/TimetableSnapshotManager.svg
.Bumping the serialization version id
While no actual entities have changed, but the
TimetableRepository
has which is serialized into the graph. Therefore we need to bump it.cc @fahrplaner