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

Endpoint to get/set current configuration #28

Open
6 tasks
teubert opened this issue Aug 8, 2024 · 0 comments
Open
6 tasks

Endpoint to get/set current configuration #28

teubert opened this issue Aug 8, 2024 · 0 comments

Comments

@teubert
Copy link
Collaborator

teubert commented Aug 8, 2024

Requirement Text
Be able to get or set the current configuration for an active session

Background Information
Currently, configuration is set when the session is created. It is desirable to be able to get and update a configuration for an active session

Suggested Solution
Add endpoints for configuration. I'm thinking either:

  1. /session/int:session_id/config, or
  2. /session/int:session_id/[THE THING]/config (e.g., predictor/config or state_estimator/config)

Where PUT would replace the config and POST would update.

When getting config, the end point would have to collect the configuration from each of the elements (model, state_estimator, predictor) into a large dictionary which is returned

When updating, the end point would have to set the specified system (for model, the model in the state estimator and predictor; for predictor, the predictor, etc.)

DoD

  • Implement endpoints in server
  • Update swagger file accordingly
  • Update client to add this functionality
  • Add to example
  • Add tests
  • Add to change notes for next release
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant