You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lamassu should not subscribe successfully to a system, which does not publish a valid gbfs.json.
(Ideally, gbfs.json should be reloaded periodically to detect new/changed upstream feed declarations)
Observed behavior
The gbfs.json file of a system is requested once on startup, and, if parseable, cached, even if it does not declare all required feeds (e.g. has system_information missing). It can only be refreshed via a Lamassu restart.
(One of our providers temporarily published incomplete gbfs.json files wich did not contain a system_information feed).
and change the gbfs.json after lamassu is started. Lamassu will continue to publish the initially loaded, incorrect gbfs.json.
The text was updated successfully, but these errors were encountered:
hbruch
changed the title
(Possibly only temporary) invalid gbfs.json are cached and only be updated on Lamassu restart
(Possibly only temporarilly) invalid gbfs.json are cached and only be updated on Lamassu restart
Jun 26, 2024
hbruch
changed the title
(Possibly only temporarilly) invalid gbfs.json are cached and only be updated on Lamassu restart
(Possibly only temporarilly) invalid gbfs.json are cached and will only be updated on Lamassu restart
Jun 26, 2024
Expected behavior
Lamassu should not subscribe successfully to a system, which does not publish a valid gbfs.json.
(Ideally,
gbfs.json
should be reloaded periodically to detect new/changed upstream feed declarations)Observed behavior
The
gbfs.json
file of a system is requested once on startup, and, if parseable, cached, even if it does not declare all required feeds (e.g. hassystem_information
missing). It can only be refreshed via a Lamassu restart.(One of our providers temporarily published incomplete gbfs.json files wich did not contain a
system_information
feed).See also entur/gbfs-validator-java#90 for improved gbfs.json validation rules.
Version of lamassu used (exact commit hash or JAR name)
2195466
Data sets in use (links to GBFS feeds)
N.A. (meanwhile the corrupt gbfs.json is fixed by provider)
How to reproduce
Try to import a feed with a
gbfs.json
like:and change the gbfs.json after lamassu is started. Lamassu will continue to publish the initially loaded, incorrect gbfs.json.
The text was updated successfully, but these errors were encountered: