Skip to content
This repository has been archived by the owner on Apr 9, 2021. It is now read-only.

stl: StationLite localconfig #26

Closed
damb opened this issue Apr 30, 2018 · 7 comments
Closed

stl: StationLite localconfig #26

damb opened this issue Apr 30, 2018 · 7 comments

Comments

@damb
Copy link
Contributor

damb commented Apr 30, 2018

Using the configuration variable EIDA_NODES from settings.py while initializing the StationLite database by means of eida-stationlite-db-init is error-prone.

Instead, eida-stationlite-harvest should receive a list of URLs for eidaws-routing localconfig configuration files to be parsed to fill/update the internal SQLite database. Hence, service endpoint URLs are managed dynamically.

@damb damb added this to the Stationlite milestone Apr 30, 2018
@damb damb self-assigned this Apr 30, 2018
@damb
Copy link
Contributor Author

damb commented Apr 30, 2018

Also, remove EIDA node specific information from the StationLite SQLite DB.

@damb
Copy link
Contributor Author

damb commented Apr 30, 2018

When truncating the DB remove also endpoint information not referenced anymore.

@damb
Copy link
Contributor Author

damb commented Apr 30, 2018

Fetch fdsnws-station information from eidaws-routing localconfig configuration files, too.

@damb
Copy link
Contributor Author

damb commented Apr 30, 2018

Hoi @kaestli,

when fetching the fdsnws-station information (i.e. URL) from eidaws-routing localconfig configuration files directly how to deal with:

  1. the fact that there might occur ambiguities due to multiple different fdsnws-station URLs for different route-epochs?
  2. missing fdsnws-station service elements for a certain route?

Thx, Daniel

@damb damb removed their assignment Apr 30, 2018
@damb
Copy link
Contributor Author

damb commented Apr 30, 2018

Hoi Philipp (@kaestli),

missing fdsnws-station service elements for a certain route?

Such routes must be considered as invalid, right?

@damb
Copy link
Contributor Author

damb commented Apr 30, 2018

Mostly implemented with c0fd56f.

@damb damb self-assigned this Apr 30, 2018
@damb
Copy link
Contributor Author

damb commented Apr 30, 2018

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.

@damb damb added the question label Apr 30, 2018
@damb damb closed this as completed Sep 20, 2018
@damb damb changed the title StationLite localconfig stl: StationLite localconfig Sep 27, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant