Closed damb closed 6 years ago
Also, remove EIDA node specific information from the StationLite SQLite DB.
When truncating the DB remove also endpoint information not referenced anymore.
Fetch fdsnws-station information from eidaws-routing localconfig
configuration files, too.
Hoi @kaestli,
when fetching the fdsnws-station information (i.e. URL) from eidaws-routing localconfig
configuration files directly how to deal with:
Thx, Daniel
Hoi Philipp (@kaestli),
missing fdsnws-station service elements for a certain route?
Such routes must be considered as invalid, right?
Mostly implemented with c0fd56f.
When truncating the DB remove also endpoint information not referenced anymore.
Currently not possible since orm.Endpoint
does not come along with a lastseen
field.
Using the configuration variable EIDA_NODES from
settings.py
while initializing the StationLite database by means ofeida-stationlite-db-init
is error-prone.Instead,
eida-stationlite-harvest
should receive a list of URLs for eidaws-routinglocalconfig
configuration files to be parsed to fill/update the internal SQLite database. Hence, service endpoint URLs are managed dynamically.