Skip to content

Commit

Permalink
Update the bundled regions files
Browse files Browse the repository at this point in the history
* Fixes unit tests that relied on outdated data from the previous regions.json file versions.
* Adds expectations to ensure that sidecarBaseURL is populated as expected
  • Loading branch information
aaronbrethorst committed Nov 27, 2024
1 parent 833032b commit 65ad52a
Show file tree
Hide file tree
Showing 12 changed files with 123 additions and 3,827 deletions.
611 changes: 1 addition & 610 deletions Apps/CatalystTest/Resources/regions.json

Large diffs are not rendered by default.

68 changes: 6 additions & 62 deletions Apps/KiedyBus/Resources/regions.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,40 +27,12 @@
"stopInfoUrl": null,
"active": true,
"facebookUrl": "",
"obaBaseUrl": "http://kiedybus.pl:8080/oba-api-webapp-pkspoznan?key=web",
"obaBaseUrl": "https://pksonline.pl:8443/oba-api?key=web",
"id": 1,
"experimental": false,
"regionName": "PKS Poznań"
},
{
"siriBaseUrl": "",
"supportsEmbeddedSocial": true,
"obaVersionInfo": "1.1.11-SNAPSHOT|1|1|11|SNAPSHOT|6950d86123a7a9e5f12065bcbec0c516f35d86d9",
"supportsSiriRealtimeApis": false,
"language": "pl_PL",
"supportsObaDiscoveryApis": true,
"twitterUrl": "",
"supportsObaRealtimeApis": true,
"bounds": [
{
"lat": 52.406755,
"latSpan": 0.5424609999999994,
"lon": 17.083954,
"lonSpan": 0.576357999999999
}
],
"otpBaseUrl": "",
"contactEmail": "[email protected]",
"otpContactEmail": "",
"stopInfoUrl": null,
"active": true,
"facebookUrl": "",
"obaBaseUrl": "http://kiedybus.pl:8080/onebusaway-api-webapp-production?key=web",
"id": 2,
"experimental": false,
"regionName": "Swarzędz"
},
{
{
"siriBaseUrl": "",
"supportsEmbeddedSocial": true,
"obaVersionInfo": "1.1.11-SNAPSHOT|1|1|11|SNAPSHOT|6950d86123a7a9e5f12065bcbec0c516f35d86d9",
Expand All @@ -83,7 +55,7 @@
"stopInfoUrl": null,
"active": true,
"facebookUrl": "",
"obaBaseUrl": "http://kiedybus.pl:8080/onebusaway-api-webapp-production?key=web",
"obaBaseUrl": "https://obasrodaapi.iplaner.pl/?key=web",
"id": 3,
"experimental": false,
"regionName": "Środa Wlkp."
Expand Down Expand Up @@ -111,15 +83,15 @@
"stopInfoUrl": null,
"active": true,
"facebookUrl": "",
"obaBaseUrl": "http://kiedybus.pl:8080/onebusaway-api-webapp-production?key=web",
"obaBaseUrl": "https://obakombusapi.iplaner.pl?key=web",
"id": 4,
"experimental": false,
"regionName": "Kórnik"
},
{
"siriBaseUrl": "",
"supportsEmbeddedSocial": true,
"obaVersionInfo": "1.1.11-SNAPSHOT|1|1|11|SNAPSHOT|6950d86123a7a9e5f12065bcbec0c516f35d86d9",
"obaVersionInfo": "2.5.13-otsf|2|5|13|otsf|d41d8cd98f00b204e9800998ecf8427e",
"supportsSiriRealtimeApis": false,
"language": "pl_PL",
"supportsObaDiscoveryApis": true,
Expand All @@ -139,38 +111,10 @@
"stopInfoUrl": null,
"active": true,
"facebookUrl": "",
"obaBaseUrl": "http://kiedybus.pl:8080/onebusaway-api-webapp-ztm?key=web",
"obaBaseUrl": "https://obaztmapi.iplaner.pl",
"id": 5,
"experimental": false,
"regionName": "ZTM Poznań"
},
{
"siriBaseUrl": "",
"supportsEmbeddedSocial": true,
"obaVersionInfo": "1.1.11-SNAPSHOT|1|1|11|SNAPSHOT|6950d86123a7a9e5f12065bcbec0c516f35d86d9",
"supportsSiriRealtimeApis": false,
"language": "pl_PL",
"supportsObaDiscoveryApis": true,
"twitterUrl": "",
"supportsObaRealtimeApis": true,
"bounds": [
{
"lat": 51.111163,
"latSpan": 0.5424609999999994,
"lon": 17.034778,
"lonSpan": 0.576357999999999
}
],
"otpBaseUrl": "",
"contactEmail": "[email protected]",
"otpContactEmail": "",
"stopInfoUrl": null,
"active": true,
"facebookUrl": "",
"obaBaseUrl": "http://kiedybus.pl:8080/onebusaway-api-webapp-wroclaw?key=web",
"id": 6,
"experimental": false,
"regionName": "MPK Wrocław"
}
]
}
Expand Down
Loading

0 comments on commit 65ad52a

Please sign in to comment.