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

Optionally manage feed providers via api / client and store in redis #633

Open
testower opened this issue Jan 29, 2025 · 2 comments
Open
Assignees

Comments

@testower
Copy link
Collaborator

Is your feature request related to a problem? Please describe.

It is cumbersome to update feeds by redeploying the application, especially when config is part of source control and has to pass through various stages of CI/CD, as is the case at Entur.

Goal / high level use-case

The goal is to be able to manage feeds via the admin-api, and that the config should be kept across restarts (e.g. in redis). This also entails that the application must respond to changes in the config by adding / removing subscriptions, cleaning up etc. I'd also like to add a very light-weight admin client to facilitate the usage of the admin api. Keeping in mind, only basic auth is supported still for the admin endpoints.

Describe the solution you'd like

Some CRUD endpoints for managing feeds / providers under the admin umbrella. Use redis for persistence. Create a light-weight client that can be at the root of /admin. It can also support other existing admin functions. All of this should be configurable.

Consider how we handle credentials, can we store them in redis - do we need to encrypt them?

Describe alternatives you've considered

Allow the config be reloaded dynamically (e.g #218 ).

@testower testower self-assigned this Jan 29, 2025
@testower
Copy link
Collaborator Author

As a lightweight version of this we could also allow disabling / enabling feeds in memory with restarts

@testower
Copy link
Collaborator Author

testower commented Feb 5, 2025

Option to read/write config file from/to disk

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

No branches or pull requests

1 participant