Skip to content
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

Upstream merge 2024-11-04 #234

Merged
merged 247 commits into from
Nov 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
247 commits
Select commit Hold shift + click to select a range
b70c9d6
Change GraphQL schema for carsAllowed and generate files.
VillePihlava Sep 3, 2024
3efe676
Add functionality for cars on trips.
VillePihlava Sep 3, 2024
a555f3d
Add tests for cars on trips.
VillePihlava Sep 3, 2024
5afc63c
Remove changes to QualifiedModeSet.
VillePihlava Sep 5, 2024
0f574e8
Merge branch 'dev-2.x' of github.com:opentripplanner/OpenTripPlanner …
VillePihlava Sep 9, 2024
c644034
Fix format.
VillePihlava Sep 10, 2024
54752ba
Fix format.
VillePihlava Sep 10, 2024
fe06720
Add changes based on review comments.
VillePihlava Sep 17, 2024
7e1022f
Add changes to comments and tests.
VillePihlava Sep 20, 2024
f3e982b
Remove unused carsAllowed related information from schema.
VillePihlava Sep 24, 2024
b7e0460
Clarify @Nullable and @Nonnull usage
optionsome Sep 26, 2024
1d36e7c
Change location of function and make if statement chain more compact.
VillePihlava Sep 27, 2024
8c8ad82
Merge branch 'dev-2.x' of github.com:opentripplanner/OpenTripPlanner …
VillePihlava Sep 27, 2024
39634b5
Change test to conform with new changes.
VillePihlava Sep 27, 2024
6db97ca
Put debug layers into groups
leonardehrenfried Oct 2, 2024
9cf69ca
Update layer groups
leonardehrenfried Oct 2, 2024
04a6d57
Add traversal permission layers
leonardehrenfried Oct 3, 2024
1ac0029
Remove offsets
leonardehrenfried Oct 3, 2024
1472116
Apply styles
leonardehrenfried Oct 3, 2024
01e6fe1
Split up style into several methods
leonardehrenfried Oct 4, 2024
beb76d5
Extract method
leonardehrenfried Oct 4, 2024
700d4ef
Update docs
leonardehrenfried Oct 4, 2024
eba10a6
Finetune checkbox placement
leonardehrenfried Oct 6, 2024
a4f955f
improve area handling
miklcct Oct 6, 2024
93543b1
add indoor tags for area detection
miklcct Oct 6, 2024
cd16137
add properties for indoor tags
miklcct Oct 6, 2024
b929da8
update comment
miklcct Oct 7, 2024
a7952e3
use more descriptive name
miklcct Oct 7, 2024
953d894
make indoor areas routable
miklcct Oct 8, 2024
3ad5c22
Update transit model readme
optionsome Oct 8, 2024
d1bbfff
Further clarify @Nonnull and @Nullable usage
optionsome Oct 8, 2024
83d8e3e
Update doc/dev/decisionrecords/Codestyle.md
optionsome Oct 9, 2024
fb26ec7
Merge remote-tracking branch 'upstream/dev-2.x' into layer-groups
leonardehrenfried Oct 9, 2024
aa39b75
Add line offset
leonardehrenfried Oct 9, 2024
6fea235
Finetune vector tile styling
leonardehrenfried Oct 9, 2024
b28d4b7
Merge remote-tracking branch 'upstream/dev-2.x' into layer-groups
leonardehrenfried Oct 9, 2024
9b1a577
Require use of @Nullable on fields and remove annotations from transi…
optionsome Oct 10, 2024
11f0123
Clear added patterns in TimetableSnapshot
vpaturet Oct 10, 2024
a79eb77
Fix unit test
vpaturet Oct 10, 2024
c8d07e0
Transform package-info java files to md and remove some
optionsome Oct 11, 2024
a6aa0ae
Generate package-info.java files with a template that uses @Parameter…
optionsome Oct 11, 2024
929b322
Make OTP a multi-module project
vpaturet Oct 11, 2024
a8a1730
Rename TransitModel to TimetableRepository
vpaturet Oct 11, 2024
85364d1
Merge remote-tracking branch 'upstream/dev-2.x' into layer-groups
leonardehrenfried Oct 12, 2024
c9ed8ee
Fix spelling
leonardehrenfried Oct 12, 2024
a27bbfd
Fix schema path
leonardehrenfried Oct 12, 2024
a41fad2
refactor: Move OTP application integration out of the Raptor module.
t2gran Oct 13, 2024
522fdf8
Apply review suggestions
leonardehrenfried Oct 14, 2024
65272ba
Convert Map to Record
leonardehrenfried Oct 14, 2024
b05658d
Fix lint issues
leonardehrenfried Oct 14, 2024
79bb507
Call method on correct variable
leonardehrenfried Oct 14, 2024
ead941e
Properly apply type cast
leonardehrenfried Oct 14, 2024
00c1121
Merge remote-tracking branch 'upstream/dev-2.x' into indoor-routing
miklcct Oct 15, 2024
d3f7d70
use isOneOfTags for testing OSM objects against multiple values
miklcct Oct 15, 2024
6dbaf21
renamed isArea to isAreaWay as the logic has changed
miklcct Oct 15, 2024
32a97b7
only check for routable areas instead of areas in general
miklcct Oct 15, 2024
a8a7829
fix test cases
miklcct Oct 15, 2024
b992e36
Add @Nullable annotations to Trip and Leg
habrahamsson-skanetrafiken Oct 11, 2024
866c1f6
Update dependency eslint-plugin-react-hooks to v5
renovate[bot] Oct 15, 2024
acc1f07
Update schema path
leonardehrenfried Oct 15, 2024
5cc750a
remove unused imports
miklcct Oct 15, 2024
6cb05b1
Minor fixes to docs
optionsome Oct 15, 2024
ad69d38
Remove legacy localization docs
optionsome Oct 15, 2024
afc5208
Update src location in docs
optionsome Oct 15, 2024
d8bd5f5
Update schema location in client codegen
optionsome Oct 15, 2024
243c232
Minor fixes
optionsome Oct 15, 2024
183d3f2
Merge branch 'dev-2.x' into rename_repositories
vpaturet Oct 16, 2024
7571816
Fix merge conflict
vpaturet Oct 16, 2024
7b4be49
refactor: Remove dependency from Raptor to DefaultCostCalculator, Tri…
t2gran Oct 14, 2024
1b8da58
Fix: Regression error in passThroughPoints in the Transmodel API
t2gran Oct 15, 2024
1e3ffe0
Merge pull request #6148 from entur/rename_repositories
vpaturet Oct 16, 2024
ffe45b3
Add changelog entry for #6148 [ci skip]
Oct 16, 2024
fd2124e
Bump serialization version id for #6148
Oct 16, 2024
bee2a97
Rename StopModel to SiteRepository
vpaturet Oct 16, 2024
eb0c0ee
Address review comment
habrahamsson-skanetrafiken Oct 16, 2024
b5bf265
Merge branch 'dev-2.x' into clear_added_pattern
vpaturet Oct 16, 2024
9235a79
Fix merge conflict
vpaturet Oct 16, 2024
fef3951
Apply review suggestions
vpaturet Oct 16, 2024
2e9a65d
Add button to swap from/to in debug UI
leonardehrenfried Oct 16, 2024
aa67130
Wrap in button to satisy linter
leonardehrenfried Oct 16, 2024
8355646
Merge pull request #6159 from opentripplanner/renovate/major-react-mo…
leonardehrenfried Oct 16, 2024
d7551bc
Upgrade debug client to version 2024/10/2024-10-16T19:58
Oct 16, 2024
9ffb328
Revert --break-system-packages [ci skip]
leonardehrenfried Oct 16, 2024
70b97da
Apply review feedback
leonardehrenfried Oct 17, 2024
1913ef6
Update Test dependencies
renovate[bot] Oct 17, 2024
489e9b1
Merge pull request #6114 from leonardehrenfried/layer-groups
leonardehrenfried Oct 17, 2024
b8a3179
Upgrade debug client to version 2024/10/2024-10-17T07:37
Oct 17, 2024
aff64ef
Merge pull request #6166 from leonardehrenfried/swap-from-to
leonardehrenfried Oct 17, 2024
b7f99c4
Upgrade debug client to version 2024/10/2024-10-17T07:45
Oct 17, 2024
a855a97
Update Debug UI dependencies (non-major)
renovate[bot] Oct 17, 2024
232eaec
Merge branch 'dev-2.x' of github.com:opentripplanner/OpenTripPlanner …
VillePihlava Oct 17, 2024
9958ffc
Rename transitModel to timetableRepository.
VillePihlava Oct 17, 2024
440498f
Merge pull request #6162 from entur/otp2_fix_npe_passthrough
t2gran Oct 17, 2024
bd9a4bc
add missing transit modes in InputModeWeight
miklcct Sep 30, 2024
535bd74
update generated code
miklcct Oct 1, 2024
0660e75
remove duplicate imports from generated files
miklcct Oct 11, 2024
0e8937d
fix GTFS trolleybus service
miklcct Sep 23, 2024
8c537f3
Add tests for existing GTFS to OTP modes
miklcct Sep 25, 2024
a729ec6
Merge remote-tracking branch 'upstream/dev-2.x' into null-annotation-…
optionsome Oct 17, 2024
e6a9b03
move line comments to separate lines
miklcct Sep 25, 2024
95f1d44
Move package-info-template to new src location
optionsome Oct 17, 2024
c7e16bc
Move package info plugin to application pom
optionsome Oct 17, 2024
d1b26d0
Activate washington-state on branch
leonardehrenfried Oct 17, 2024
96ffa58
Rework Washington state flex speed test
leonardehrenfried Oct 17, 2024
659c6fa
Check where travel search results are
leonardehrenfried Oct 17, 2024
b709dcc
Remove pierce flex
leonardehrenfried Oct 17, 2024
417419b
Remove some searches and Snoqualmie feed
leonardehrenfried Oct 17, 2024
f107fe7
Update paths
leonardehrenfried Oct 17, 2024
4c10b03
update the description of "CABLE_CAR" mode to cable tram.
miklcct Sep 25, 2024
7eee9b3
Change the cableway mapping of Netex to GONDOLA
miklcct Sep 25, 2024
ecae035
add test cases for cableway mapping
miklcct Oct 17, 2024
bb9eeb9
Update archive path for JFR file
leonardehrenfried Oct 17, 2024
b0d2186
Update expected results
leonardehrenfried Oct 17, 2024
0c98d93
Revert "Activate washington-state on branch"
leonardehrenfried Oct 17, 2024
612df9c
Merge pull request #6161 from HSLdevcom/fix-docs-jar-location
optionsome Oct 17, 2024
f9ea044
Upgrade debug client to version 2024/10/2024-10-17T14:15
Oct 17, 2024
786805a
Remove extra step
leonardehrenfried Oct 17, 2024
52baf4d
revert changes to the classic debug client
miklcct Oct 17, 2024
87cbb05
Apply suggestions from code review
t2gran Oct 17, 2024
18c8246
Merge pull request #6175 from opentripplanner/flex-transit-speed-test
leonardehrenfried Oct 17, 2024
4924a6b
Merge pull request #6112 from opentripplanner/renovate/debug-ui-depen…
leonardehrenfried Oct 17, 2024
15ba54a
Upgrade debug client to version 2024/10/2024-10-17T19:27
Oct 17, 2024
561be76
Allow bike walking through bicycle no thru traffic areas
flaktack Nov 21, 2022
9c8e5a3
Merge pull request #6141 from entur/clear_added_pattern
vpaturet Oct 18, 2024
9fe3c9c
Add changelog entry for #6141 [ci skip]
Oct 18, 2024
30216e9
Update broken links in ARCHITECTURE.md
t2gran Oct 18, 2024
5f980ac
refactor:Rename 'transit' to 'transitData' in SearchContext (Raptor)
t2gran Oct 20, 2024
191aec2
do not use wildcard import
miklcct Oct 21, 2024
029d96c
Rename STOP_MODEL to SITE_REPOSITORY
vpaturet Oct 21, 2024
ff070c2
refactor: Delete unused class ViaRangeRaptorDynamicSearch
t2gran Oct 21, 2024
a00003b
refactor: Small cleanup in Raptor
t2gran Oct 21, 2024
fc5e85b
feature: Extend Raptor with the possibility to run an extra multi-cri…
t2gran Oct 21, 2024
a20988a
feature: Add method to calculate distance to WgsCoordinate.
t2gran Oct 21, 2024
e416a17
feature: Add sandbox feature Sorlandsbanen.
t2gran Oct 21, 2024
1460c11
Remove branding url from Agency and ApiLeg
tkalvas-montel Oct 21, 2024
db240e9
Merge pull request #6147 from Skanetrafiken/nullability-leg-and-trip
habrahamsson-skanetrafiken Oct 21, 2024
0ae34a8
Merge pull request #6163 from entur/raptor_application_integration
t2gran Oct 21, 2024
f98c973
Merge remote-tracking branch 'otp/dev-2.x' into otp2_sorlandsbanen
t2gran Oct 21, 2024
d562a52
Generate GTFS Realtime protobuf files in separate Maven module
t2gran Oct 21, 2024
06d969d
Merge pull request #6165 from entur/rename_stop_model
vpaturet Oct 22, 2024
3b47a09
Add changelog entry for #6165 [ci skip]
Oct 22, 2024
d9b413c
Bump serialization version id for #6165
Oct 22, 2024
c794227
Merge pull request #6095 from HSLdevcom/null-annotation-conventions
optionsome Oct 22, 2024
25c2502
Merge pull request #6174 from Jnction/netex_cableway
optionsome Oct 22, 2024
1b56f26
Bump serialization version id for #6174
Oct 22, 2024
d34f27f
Make the test itinerary instance non-static as it's modified in some …
jtorin Oct 18, 2024
559fac5
Merge pull request #6101 from Jnction/gql-mode-weight
optionsome Oct 22, 2024
cee960f
Update Maven plugins
renovate[bot] Oct 23, 2024
eca2528
Fix max search-window when paging
t2gran Oct 23, 2024
685ea17
review: Apply review fixes.
t2gran Oct 23, 2024
4d3fff1
review: Apply review fixes.
t2gran Oct 24, 2024
79cf391
review: Move build extension for protobuf to sub-module(gtfs-realtime…
t2gran Oct 24, 2024
48399cc
Avoid making a copy of the underlying collection when checking if the…
jtorin Oct 24, 2024
c895a9e
review/refactor: Reanme EnturSorlandsbanen to SorlandsbanenNorway
t2gran Oct 24, 2024
b2f6faf
doc: Update JavaDoc in sandbox sorlandsbanen
t2gran Oct 24, 2024
9f2f507
feature: Add 'isNorthOf(lat)' to WgsCoordinate
t2gran Oct 24, 2024
1d52e7b
refactor: MAke code more readable
t2gran Oct 24, 2024
8a0dfc7
feature: Avoid replacing existing paths in the result for Sorlandsbanen
t2gran Oct 24, 2024
5a68586
remove orphaned field AgencyBuilder.brandingUrl
tkalvas-montel Oct 24, 2024
2e0a034
Disable protocol upgrades for the HTTP client by default.
jtorin Oct 24, 2024
2cc4ac5
Merge pull request #6179 from realCity/feature/bike-walking-through-b…
optionsome Oct 24, 2024
06aeadb
Add changelog entry for #6179 [ci skip]
Oct 24, 2024
0d826d7
only enable pedestrian indoor routing in the UK
miklcct Oct 24, 2024
d78f547
Merge pull request #6184 from entur/otp2_gtfs_realtime_proto
t2gran Oct 24, 2024
953e4a4
Merge pull request #6173 from Jnction/cable_tram_documentation
t2gran Oct 24, 2024
36ffbb7
Add changelog entry for #6173 [ci skip]
Oct 24, 2024
aafd879
docs
sam-k Oct 24, 2024
c42d8ce
misc
sam-k Oct 24, 2024
179c26a
merged contents
sam-k Oct 24, 2024
25e8c0a
Merge pull request #6177 from Skanetrafiken/avoid-modified-testobject…
jtorin Oct 25, 2024
2e2be55
review: Cleanup CompositeResult
t2gran Oct 25, 2024
d67d4d0
review: Cleanup PathKey
t2gran Oct 25, 2024
1cb96d6
review: Add more doc to ExtraMcRouterSearch
t2gran Oct 25, 2024
af4121d
review: Rename 'createMcRouterFactory' to 'createExtraMcRouterSearch'
t2gran Oct 25, 2024
736daff
review: Add @Nullable to 'executorService' in ConcurrentCompositeRapt…
t2gran Oct 25, 2024
c6801ae
no longer read unstandard brandingUrl for GTFS routes
tkalvas-montel Oct 25, 2024
91cf755
Change GraphQL tooltip for searchWindowUsed to say minutes, instead o…
eibakke Oct 28, 2024
76e05c1
Add changelog entry for #6185 [ci skip]
Oct 28, 2024
a1c8bd8
Merge pull request #6170 from Jnction/trolleybus_gtfs
optionsome Oct 28, 2024
3d60457
Add changelog entry for #6170 [ci skip]
Oct 28, 2024
785ac67
remove route.setBrandingUrl from test, so test won't break if onebusa…
tkalvas Oct 28, 2024
beba7f2
Attempt to fix speed tests
optionsome Oct 28, 2024
a574bc3
Merge pull request #6194 from Skanetrafiken/disable-http-client-proto…
jtorin Oct 28, 2024
8f5af3a
Add changelog entry for #6194 [ci skip]
Oct 28, 2024
833e5e3
fix(deps): update dependency org.apache.httpcomponents.client5:httpcl…
renovate[bot] Oct 28, 2024
6fdfef8
Address PR comments
sam-k Oct 28, 2024
7d4bdf2
Minor edits
sam-k Oct 28, 2024
7b55ee0
fix(deps): update jackson.version to v2.18.1
renovate[bot] Oct 29, 2024
02aaf42
Merge branch 'dev-2.x' of github.com:opentripplanner/OpenTripPlanner …
VillePihlava Oct 29, 2024
59b31ad
Update performance-test.yml
t2gran Oct 29, 2024
447adcf
Fix and run performance tests - install jars to make them available i…
t2gran Oct 29, 2024
433acec
Fix and run performance tests - run SpeedTest with the application ag…
t2gran Oct 29, 2024
e4d92eb
Merge pull request #6189 from entur/doc-sw
t2gran Oct 29, 2024
17de4e5
Add changelog entry for #6189 [ci skip]
Oct 29, 2024
aa0c69c
Apply suggestions from code review
t2gran Oct 29, 2024
d552776
review: Update JavaDoc for PathKey
t2gran Oct 29, 2024
a354865
review: Generate updated doc
t2gran Oct 29, 2024
eb55887
review: Improve Sandbox documentation
t2gran Oct 29, 2024
1377722
Merge pull request #5966 from HSLdevcom/car-ferry-changes
optionsome Oct 29, 2024
d49c4a6
Add changelog entry for #5966 [ci skip]
Oct 29, 2024
53a2132
Bump serialization version id for #5966
Oct 29, 2024
cfc2b41
Create OTP framework module for "extended" programming language featu…
t2gran Oct 22, 2024
0f68539
Rename Maven module to utils
t2gran Oct 29, 2024
09e2de7
Rename all packages in utils from framework to utils
t2gran Oct 29, 2024
031168e
refactor: Fix broken architecture tests.
t2gran Oct 29, 2024
9890d0f
code cleanup: Remove dependency on slf4j in otp-utils.
t2gran Oct 29, 2024
b5ceab8
add failing test for #6102
miklcct Oct 30, 2024
d93be25
minimal fix for #6102
miklcct Oct 31, 2024
719ec93
Revert "Allow bike walking through bicycle no thru traffic areas"
t2gran Oct 31, 2024
283e3f9
Merge pull request #6119 from Jnction/indoor-routing
optionsome Oct 31, 2024
6e1b813
Add changelog entry for #6119 [ci skip]
Oct 31, 2024
8479026
Merge pull request #6214 from opentripplanner/revert-6179-feature/bik…
optionsome Nov 1, 2024
c97579d
Add changelog entry for #6214 [ci skip]
Nov 1, 2024
b162fc5
Merge pull request #6183 from HSLdevcom/remove-branding-url
optionsome Nov 1, 2024
8abf67d
Add changelog entry for #6183 [ci skip]
Nov 1, 2024
f2e759c
Bump serialization version id for #6183
Nov 1, 2024
412ec99
Merge pull request #6200 from opentripplanner/renovate/org.apache.htt…
optionsome Nov 1, 2024
c15ee47
Merge pull request #6203 from opentripplanner/renovate/jackson.version
optionsome Nov 1, 2024
94e07bc
Replace matchPackagePrefixes with wildcard matchPackageNames [ci skip]
leonardehrenfried Nov 2, 2024
b134db1
Update Debug UI dependencies (non-major)
renovate[bot] Nov 3, 2024
d88b9c7
Fix command for pruning container images [ci skip]
leonardehrenfried Nov 3, 2024
ec3f9cb
Fix container build after conversion to multi-module build, relates t…
leonardehrenfried Nov 3, 2024
0c7d45f
Remove unneeded eslint-disable-line
leonardehrenfried Nov 3, 2024
ce9118c
Update dependency ch.qos.logback:logback-classic to v1.5.12
renovate[bot] Nov 4, 2024
97b558f
Merge pull request #6211 from Jnction/6102-fix-alight-npe
leonardehrenfried Nov 4, 2024
98b0cc5
Add changelog entry for #6211 [ci skip]
Nov 4, 2024
33e0c23
Merge pull request #6218 from opentripplanner/renovate/debug-ui-depen…
leonardehrenfried Nov 4, 2024
15727f5
Upgrade debug client to version 2024/11/2024-11-04T11:23
Nov 4, 2024
7a3099b
Fix @graphql/client-preset
leonardehrenfried Nov 4, 2024
6ed0b7b
Merge pull request #6221 from leonardehrenfried/fix-client-preset
leonardehrenfried Nov 4, 2024
ade4c97
Upgrade debug client to version 2024/11/2024-11-04T12:49
Nov 4, 2024
1831172
refactor: Rename ToveUtils to TroveUtils
t2gran Nov 4, 2024
071fb11
Merge remote-tracking branch 'upstream/dev-2.x' into upstream-merge-2…
leonardehrenfried Nov 4, 2024
aea9b45
Update smoke test build
leonardehrenfried Nov 4, 2024
f01e26a
Add bicycle queries to smoke tests
leonardehrenfried Nov 4, 2024
d5bb4ab
Merge pull request #6209 from entur/otp2_framework
t2gran Nov 4, 2024
507baef
Bump serialization version id for #6209
Nov 4, 2024
dd5c17c
Split out bike tests
leonardehrenfried Nov 4, 2024
cb73bff
Applied reviewer comments
sam-k Nov 4, 2024
62da416
Fix formatting
leonardehrenfried Nov 4, 2024
7eaf122
Merge remote-tracking branch 'upstream/dev-2.x' into upstream-merge-2…
leonardehrenfried Nov 5, 2024
ce1de83
Update import
leonardehrenfried Nov 5, 2024
11c181b
Update Actions version
leonardehrenfried Nov 5, 2024
c6b7ef9
Merge pull request #6195 from sam-k/docs-dev
leonardehrenfried Nov 5, 2024
ee53e50
Merge pull request #6182 from entur/otp2_sorlandsbanen
t2gran Nov 5, 2024
39c0aac
Add changelog entry for #6182 [ci skip]
Nov 5, 2024
48368b8
Merge remote-tracking branch 'upstream/dev-2.x' into upstream-merge-2…
leonardehrenfried Nov 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@

# reorder and reformat GTFS GraphQL API schema file with graphql-java
14051fab312a67cae9a460aaf0bbc77223bec624

# Make OTP a multi-module project
ead33ffe280dd7caf72cae5ff7a41542e8427636
6 changes: 4 additions & 2 deletions .github/workflows/cibuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ jobs:
if: github.event_name == 'pull_request'

- name: Install Python dependencies
run: pip install --break-system-packages -r doc/user/requirements.txt
run: pip install -r doc/user/requirements.txt


- name: Build main documentation
Expand Down Expand Up @@ -277,4 +277,6 @@ jobs:
echo "Maven version ${version_with_snapshot} contains SNAPSHOT, adding date to container image tag"
fi

mvn --batch-mode -P prettierSkip compile com.google.cloud.tools:jib-maven-plugin:build -Djib.to.tags=latest,$image_version
MAVEN_SKIP_ARGS="-P prettierSkip -Dmaven.test.skip=true -Dmaven.source.skip=true"

mvn --batch-mode $MAVEN_SKIP_ARGS package com.google.cloud.tools:jib-maven-plugin:build -Djib.to.tags=latest,$image_version
9 changes: 4 additions & 5 deletions .github/workflows/performance-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
if: matrix.profile == 'core' || github.ref == 'refs/heads/dev-2.x'
env:
MAVEN_OPTS: "-Dmaven.repo.local=/home/lenni/.m2/repository/"
run: mvn -DskipTests --batch-mode package -P prettierSkip
run: mvn -DskipTests --batch-mode install -P prettierSkip

- name: Build graph
if: matrix.profile == 'core' || github.ref == 'refs/heads/dev-2.x'
Expand All @@ -93,24 +93,23 @@ jobs:

- name: Run speed test
if: matrix.profile == 'core' || github.ref == 'refs/heads/dev-2.x'
working-directory: application
env:
PERFORMANCE_INFLUX_DB_PASSWORD: ${{ secrets.PERFORMANCE_INFLUX_DB_PASSWORD }}
SPEEDTEST_LOCATION: ${{ matrix.location }}
MAVEN_OPTS: "-Xmx50g -XX:StartFlightRecording=delay=${{ matrix.jfr-delay }},duration=30m,filename=${{ matrix.location}}-speed-test.jfr -Dmaven.repo.local=/home/lenni/.m2/repository/"
run: |
mvn exec:java -Dexec.mainClass="org.opentripplanner.transit.speed_test.SpeedTest" -Dexec.classpathScope=test -Dexec.args="--dir=../test/performance/${{ matrix.location }} -p md -n ${{ matrix.iterations }} -i 3 -0" -P prettierSkip
mvn --projects application exec:java -Dexec.mainClass="org.opentripplanner.transit.speed_test.SpeedTest" -Dexec.classpathScope=test -Dexec.args="--dir=test/performance/${{ matrix.location }} -p md -n ${{ matrix.iterations }} -i 3 -0"

- name: Archive travel results file
if: matrix.profile == 'core' || github.ref == 'refs/heads/dev-2.x'
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.location }}-travelSearch-results.csv
path: test/performance/${{ matrix.location }}/travelSearch-results.csv
path: test/performance/${{ matrix.location }}/travelSearch-results-md.csv

- name: Archive Flight Recorder instrumentation file
if: matrix.profile == 'core' || github.ref == 'refs/heads/dev-2.x'
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.location }}-flight-recorder
path: ${{ matrix.location}}-speed-test.jfr
path: application/${{ matrix.location }}-speed-test.jfr
2 changes: 1 addition & 1 deletion .github/workflows/prune-container-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ jobs:
run: |
# remove all snapshot container images that have not been pulled for over a year
# --keep-semver makes sure that any image with a x.y.z version scheme is unaffected by this
pip install prune-container-repo==0.0.4 --break-system-packages
pip install prune-container-repo==0.0.4
prune-container-repo -u ${CONTAINER_REGISTRY_USER} -r ${CONTAINER_REPO} --days=365 --keep-semver --activate
4 changes: 2 additions & 2 deletions .github/workflows/smoke-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ jobs:

- name: Build jar file, compile tests
run: |
mvn --no-transfer-progress clean package -Dmaven.test.skip -P prettierSkip
mvn --no-transfer-progress clean install -Dmaven.test.skip -P prettierSkip
mvn org.apache.maven.plugins:maven-compiler-plugin:testCompile

- name: Cache OSM files
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: smoke-tests/**/*.pbf
key: osm-${{ matrix.locations.name }}-2023-10-31
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ o_o_standalone_config_IncludeFileDirectiveTest_part.json
.venv/
_site/
build/
!/application/src/build/
dist/
doc/user/_build/
gen-java/
Expand Down
30 changes: 15 additions & 15 deletions ARCHITECTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,22 +40,22 @@ examples. The Transit model is more complex than the VehiclePosition model.
Below is a list of documented components in OTP. Not every component is documented at a high level,
but this is a start and we would like to expand this list in the future.

### [OTP Configuration design](src/main/java/org/opentripplanner/standalone/config/package.md)
### [OTP Configuration design](application/src/main/java/org/opentripplanner/standalone/config/package.md)

The Configuration module is responsible for loading and parsing OTP configuration files and map them
into Plan Old Java Objects (POJOs). These POJOs are injected into the other components.

### [GTFS import module](src/main/java/org/opentripplanner/gtfs/package.md)
### [GTFS import module](application/src/main/java/org/opentripplanner/gtfs/package.md)

Used to import GTFS transit data files.

### [NeTEx import module](src/main/java/org/opentripplanner/netex/package.md)
### [NeTEx import module](application/src/main/java/org/opentripplanner/netex/package.md)

Used to import NeTEx transit data files.

### Transit Routing

#### [Raptor transit routing](src/main/java/org/opentripplanner/raptor/package.md)
#### [Raptor transit routing](application/src/main/java/org/opentripplanner/raptor/package.md)

This is the OTP2 new transit routing engine implemented using the Raptor algorithm. It explains how
Raptor works, the important concepts and the design. It might be worth reading even if you are not a
Expand All @@ -68,35 +68,35 @@ dependencies from Raptor to other parts of OTP code, only to utility classes not
Also, the code follows a stricter object-oriented design, than most other parts of OTP. The Raptor
implementation is highly critical code, hence we set the bar higher with respect to code quality.

OTP provides transit data to Raptor by implementing the _raptor/api/transit_ model. The
[RoutingService](src/main/java/org/opentripplanner/routing/RoutingService.java)
OTP provides transit data to Raptor by implementing the _raptor/spi_. The
[RoutingService](application/src/main/java/org/opentripplanner/routing/service/DefaultRoutingService.java)
is responsible for mapping from the OTP context to a
[RaptorRequest](src/main/java/org/opentripplanner/raptor/api/request/RaptorRequest.java)
[RaptorRequest](application/src/main/java/org/opentripplanner/raptor/api/request/RaptorRequest.java)
and then map the
result, [Raptor Path](src/main/java/org/opentripplanner/raptor/api/path/Path.java), back to
result, [Raptor Path](application/src/main/java/org/opentripplanner/raptor/api/path/RaptorPath.java), back to
the OTP internal domain. This might seem like a lot of unnecessary mapping, but mapping is simple -
routing is not.

The performance of Raptor is important, and we care about every millisecond. All changes to the
existing Raptor coded should be tested with the
[SpeedTest](src/test/java/org/opentripplanner/transit/raptor/speed_test/package.md) and compared
[SpeedTest](application/src/test/java/org/opentripplanner/transit/speed_test/package.md) and compared
with an earlier version of the code to make sure the performance is NOT degraded.

#### [Transfer path optimization](src/main/java/org/opentripplanner/routing/algorithm/transferoptimization/package.md)
#### [Transfer path optimization](application/src/main/java/org/opentripplanner/routing/algorithm/transferoptimization/package.md)

Describes the transfer functionality, the design and the implementation. The logic for finding the
best transfer is distributed to the Raptor and
the [OptimizeTransferService](src/main/java/org/opentripplanner/routing/algorithm/transferoptimization/OptimizeTransferService.java)
the [OptimizeTransferService](application/src/main/java/org/opentripplanner/routing/algorithm/transferoptimization/OptimizeTransferService.java)
.

#### [Itinerary list filter chain](src/main/java/org/opentripplanner/routing/algorithm/filterchain/package.md)
#### [Itinerary list filter chain](application/src/main/java/org/opentripplanner/routing/algorithm/filterchain/package.md)

Describes the itinerary list filter chain, used to post-process the itineraries returned from the
routers in [RoutingWorker](src/main/java/org/opentripplanner/routing/algorithm/RoutingWorker.java),
routers in [RoutingWorker](application/src/main/java/org/opentripplanner/routing/algorithm/RoutingWorker.java),
in order to sort and reduce the number of returned itineraries. It can also be used to decorate the
returned itineraries, especially if it requires more complex calculations, which would be unfeasible
to do during the routing process.

### [Service](src/main/java/org/opentripplanner/service/package.md)
### [Service](application/src/main/java/org/opentripplanner/service/package.md)
The service package contains small services usually specific to one or a few use-cases. In contrast
to a domain model they may use one or many domain models and other services.
to a domain model they may use one or many domain models and other services.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,10 @@ We run a speed test (included in the code) to measure the performance for every

## Repository layout

The main Java server code is in `src/main/`. OTP also includes a Javascript client based on the
Leaflet mapping library in `src/client/`. This client is now primarily used for testing, with most
major deployments building custom clients from reusable components. The Maven build produces a
unified ("shaded") JAR file at `target/otp-VERSION.jar` containing all necessary code and
dependencies to run OpenTripPlanner.
The main Java server code is in `application/src/main/`. OTP also includes a Javascript client based on the
MapLibre mapping library in `client/src/`. This client is now used for testing, with most major
deployments building custom clients from reusable components. The Maven build produces a unified ("shaded")
JAR file at `application/target/otp-VERSION.jar` containing all necessary code and dependencies to run OpenTripPlanner.

Additional information and instructions are available in
the [main documentation](http://docs.opentripplanner.org/en/dev-2.x/), including a
Expand Down
40 changes: 38 additions & 2 deletions application/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,19 @@
<name>OpenTripPlanner - Application</name>

<dependencies>
<!-- project dependencies -->
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>gtfs-realtime-protobuf</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>otp-utils</artifactId>
<version>${project.version}</version>
</dependency>

<!-- 3rd party dependencies -->
<dependency>
<groupId>net.sf.trove4j</groupId>
<artifactId>trove4j</artifactId>
Expand Down Expand Up @@ -161,7 +174,7 @@
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>5.13.0</version>
<version>5.14.2</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down Expand Up @@ -323,7 +336,7 @@
<dependency>
<groupId>org.apache.httpcomponents.client5</groupId>
<artifactId>httpclient5</artifactId>
<version>5.4</version>
<version>5.4.1</version>
</dependency>
<dependency>
<groupId>commons-cli</groupId>
Expand Down Expand Up @@ -519,6 +532,29 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.github.bohnman</groupId>
<artifactId>package-info-maven-plugin</artifactId>
<version>1.1.0</version>
<configuration>
<!-- Couldn't get this to work for main and ext code at the same time. -->
<sourceDirectory>${project.basedir}/src/main/java</sourceDirectory>
<outputDirectory>${project.basedir}/target/generated-sources</outputDirectory>
<packages>
<package>
<pattern>**</pattern>
<template>${project.basedir}/src/build/templates/package-info-template.java</template>
</package>
</packages>
</configuration>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
4 changes: 4 additions & 0 deletions application/src/build/templates/package-info-template.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
@ParametersAreNonnullByDefault
package org.opentripplanner;

import javax.annotation.ParametersAreNonnullByDefault;
4 changes: 2 additions & 2 deletions application/src/client/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<link rel="icon" type="image/svg+xml" href="/img/otp-logo.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>OTP Debug Client</title>
<script type="module" crossorigin src="https://cdn.jsdelivr.net/gh/opentripplanner/debug-client-assets@main/2024/10/2024-10-09T18:54/assets/index-C6b5LCY-.js"></script>
<link rel="stylesheet" crossorigin href="https://cdn.jsdelivr.net/gh/opentripplanner/debug-client-assets@main/2024/10/2024-10-09T18:54/assets/index-BcsxnGE8.css">
<script type="module" crossorigin src="https://cdn.jsdelivr.net/gh/opentripplanner/debug-client-assets@main/2024/11/2024-11-04T12:49/assets/index-DPdUtdaa.js"></script>
<link rel="stylesheet" crossorigin href="https://cdn.jsdelivr.net/gh/opentripplanner/debug-client-assets@main/2024/11/2024-11-04T12:49/assets/index-CaBThmWm.css">
</head>
<body>
<div id="root"></div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNull;
import static org.opentripplanner.model.plan.Itinerary.createScheduledTransitItinerary;
import static org.opentripplanner.transit.model._data.TransitModelForTest.id;
import static org.opentripplanner.transit.model._data.TimetableRepositoryForTest.id;

import java.time.OffsetDateTime;
import java.time.ZonedDateTime;
Expand All @@ -21,7 +21,7 @@
import org.opentripplanner.model.plan.ScheduledTransitLegBuilder;
import org.opentripplanner.model.plan.StreetLeg;
import org.opentripplanner.street.search.TraverseMode;
import org.opentripplanner.transit.model._data.TransitModelForTest;
import org.opentripplanner.transit.model._data.TimetableRepositoryForTest;
import org.opentripplanner.transit.model.basic.TransitMode;
import org.opentripplanner.transit.model.framework.Deduplicator;
import org.opentripplanner.transit.model.framework.FeedScopedId;
Expand All @@ -46,9 +46,13 @@ class EmissionsTest {
.withEndTime(TIME.plusHours(1))
.build();

private static final Route ROUTE_WITH_EMISSIONS = TransitModelForTest.route(id("1")).build();
private static final Route ROUTE_WITH_ZERO_EMISSIONS = TransitModelForTest.route(id("2")).build();
private static final Route ROUTE_WITHOUT_EMISSIONS_CONFIGURED = TransitModelForTest
private static final Route ROUTE_WITH_EMISSIONS = TimetableRepositoryForTest
.route(id("1"))
.build();
private static final Route ROUTE_WITH_ZERO_EMISSIONS = TimetableRepositoryForTest
.route(id("2"))
.build();
private static final Route ROUTE_WITHOUT_EMISSIONS_CONFIGURED = TimetableRepositoryForTest
.route(id("3"))
.build();

Expand Down Expand Up @@ -119,12 +123,15 @@ private ScheduledTransitLeg createTransitLeg(Route route) {
var stoptime = new StopTime();
var stopTimes = new ArrayList<StopTime>();
stopTimes.add(stoptime);
var testModel = TransitModelForTest.of();
var testModel = TimetableRepositoryForTest.of();
var stopOne = testModel.stop("1:stop1", 60, 25).build();
var stopTwo = testModel.stop("1:stop1", 61, 25).build();
var stopThree = testModel.stop("1:stop1", 62, 25).build();
var stopPattern = TransitModelForTest.stopPattern(stopOne, stopTwo, stopThree);
var pattern = TransitModelForTest.tripPattern("1", route).withStopPattern(stopPattern).build();
var stopPattern = TimetableRepositoryForTest.stopPattern(stopOne, stopTwo, stopThree);
var pattern = TimetableRepositoryForTest
.tripPattern("1", route)
.withStopPattern(stopPattern)
.build();
var trip = Trip
.of(FeedScopedId.parse("FOO:BAR"))
.withMode(TransitMode.BUS)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.opentripplanner.model.plan.TestItineraryBuilder.newItinerary;
import static org.opentripplanner.transit.model._data.TransitModelForTest.id;
import static org.opentripplanner.transit.model._data.TimetableRepositoryForTest.id;

import java.util.List;
import org.junit.jupiter.api.Test;
Expand All @@ -13,12 +13,12 @@
import org.opentripplanner.model.plan.Place;
import org.opentripplanner.model.plan.PlanTestConstants;
import org.opentripplanner.routing.fares.FareService;
import org.opentripplanner.transit.model._data.TransitModelForTest;
import org.opentripplanner.transit.model._data.TimetableRepositoryForTest;
import org.opentripplanner.transit.model.basic.Money;

public class FaresFilterTest implements PlanTestConstants {

private final TransitModelForTest testModel = TransitModelForTest.of();
private final TimetableRepositoryForTest testModel = TimetableRepositoryForTest.of();

@Test
void shouldAddFare() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
import org.opentripplanner.transit.model.network.Route;
import org.opentripplanner.transit.model.organization.Agency;
import org.opentripplanner.transit.model.site.RegularStop;
import org.opentripplanner.transit.service.StopModel;
import org.opentripplanner.transit.service.SiteRepository;

public class AtlantaFareServiceTest implements PlanTestConstants {

Expand Down Expand Up @@ -262,20 +262,20 @@ private static Leg createLeg(String agencyId, String shortName, long startTimeMi
}

private static Itinerary createItinerary(String agencyId, String shortName, long startTimeMins) {
var stopModelBuilder = StopModel.of();
var siteRepositoryBuilder = SiteRepository.of();
Agency agency = Agency
.of(new FeedScopedId(FEED_ID, agencyId))
.withName(agencyId)
.withTimezone(ZoneIds.NEW_YORK.getId())
.build();

// Set up stops
RegularStop firstStop = stopModelBuilder
RegularStop firstStop = siteRepositoryBuilder
.regularStop(new FeedScopedId(FEED_ID, "1"))
.withCoordinate(new WgsCoordinate(1, 1))
.withName(new NonLocalizedString("first stop"))
.build();
RegularStop lastStop = stopModelBuilder
RegularStop lastStop = siteRepositoryBuilder
.regularStop(new FeedScopedId(FEED_ID, "2"))
.withCoordinate(new WgsCoordinate(1, 2))
.withName(new NonLocalizedString("last stop"))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@
import org.opentripplanner.model.plan.Place;
import org.opentripplanner.model.plan.PlanTestConstants;
import org.opentripplanner.routing.core.FareType;
import org.opentripplanner.transit.model._data.TransitModelForTest;
import org.opentripplanner.transit.model._data.TimetableRepositoryForTest;
import org.opentripplanner.transit.model.basic.Money;
import org.opentripplanner.transit.model.network.Route;

class CombinedInterlinedLegsFareServiceTest implements PlanTestConstants {

static final Route route = TransitModelForTest.route("route-1").build();
static final Route route = TimetableRepositoryForTest.route("route-1").build();
static final Itinerary interlinedWithDifferentRoute = newItinerary(
Place.forStop(AIRPORT_STOP),
T11_00
Expand Down
Loading
Loading