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

Make registered_tokens dynamic #1018

Open
vishakh opened this issue Jul 16, 2021 · 0 comments
Open

Make registered_tokens dynamic #1018

vishakh opened this issue Jul 16, 2021 · 0 comments
Assignees

Comments

@vishakh
Copy link
Contributor

vishakh commented Jul 16, 2021

The registered_tokens table is used not only to serve data directly but also for indexing metadata. It is currently read statically from a CSV file which is part of the codebase. As the number of available tokens is exploding, it is no longer enough to wait for Conseil releases to update the contents of the table. We should therefore load this information dynamically.

Lorre should read the URL of a CSV file containing registered tokens data from the conf file and use it to the populate the database periodically. Based on a configuration item in the conf file, Lorre should periodically refresh the contents of the table based on the given URL. If no URL is given, Lorre should read it from the same CSV file it uses now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants