Skip to content

Endpoint to get/set current configuration #28

@teubert

Description

@teubert

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions