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 the hydra_provider GRPC server #111

Closed
seofernando25 opened this issue Mar 6, 2024 · 3 comments
Closed

Implement the hydra_provider GRPC server #111

seofernando25 opened this issue Mar 6, 2024 · 3 comments
Assignees

Comments

@seofernando25
Copy link
Collaborator

hydra_provider is currently using a stub implementation for the GRPC server.

We would like to have an exposing API that allow us to:

  • Check the current running configuration of hydra_provider (health and status)
  • Change configurations (set data mode: random, serial port, idle; select a desired serial port, set baud rate, etc)

And optionally a simple UI front-end for it.

It seems that a quite big refactor would have to be made for it to work as the currently hydra_provider architecture doesn't allow it.

@seofernando25 seofernando25 changed the title Implement hydra_provider GRPC server Implement the hydra_provider GRPC server Mar 6, 2024
@seofernando25
Copy link
Collaborator Author

Thinking about it, it would be interesting if

  • hydra_provider without any arguments starts in an IDLE / DISCONNECTED mode
  • And we could either:
    • Use the Web UI to manually change it to random/serial/idle modes and passing their proper config
    • Use the CLI args to override the default idle mode on start-up

Thoughts?

@darrenrahnemoon
Copy link
Member

Yeah I'm adding that. So basically the cli only takes a port for serving. Everything else is configured through the api endpoints.

@seofernando25
Copy link
Collaborator Author

Closed by #113

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

2 participants