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

Implement Hot Swapping of Configuration Values and Refresh Command #28

Open
jlvadell opened this issue Sep 15, 2024 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@jlvadell
Copy link
Owner

Description / The Why?

Hot swapping configuration values is a useful feature that allows configuration updates without redeployments, making the process more efficient.

Complexity: 3/5

The Task

Create a new Configs sheet to store configuration keys and values. On application startup, retrieve these configuration values and store them in local memory. Refactor the current configuration system into a service that first checks local memory for dynamic values, and falls back to environment variables if needed. Additionally, implement a new slash command to manually refresh the configuration values in local memory.

Requirements

  • Create a new Configs sheet to store configuration key-value pairs.
  • Refactor the current configuration system into a domain service with implementation in the infrastructure layer.
  • Add a new slash command ( e.g /refresh-configuration) to force a refresh of the local configuration values.
  • Add test coverage.
  • Update documentation.
@jlvadell jlvadell added the enhancement New feature or request label Sep 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant