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

Implemented control interface to issue commands to running instance #198

Merged
merged 4 commits into from
Nov 11, 2021
Merged

Implemented control interface to issue commands to running instance #198

merged 4 commits into from
Nov 11, 2021

Conversation

bmuddha
Copy link
Collaborator

@bmuddha bmuddha commented Nov 8, 2021

  • Moved CLI options to a separate module
  • Added extra dependency: awc-uds, in order to perform http requests
    over unix sockets, as awc doesn't seem to support it out of box
  • 2 Commands are supported for now: config-reload, subscriptions on/off

Closes #196

@bmuddha bmuddha requested a review from polachok November 8, 2021 09:12
- Moved CLI options to a separate module
- Added extra dependency: awc-uds, in order to perform http requests
  over unix sockets, as awc doesn't seem to support it out of box
- 2 Commands are supported for now: config-reload, subscriptions on/off
src/control_interface.rs Outdated Show resolved Hide resolved
Cargo.toml Outdated Show resolved Hide resolved
src/cli_options.rs Outdated Show resolved Hide resolved
src/control_interface.rs Outdated Show resolved Hide resolved
src/control_interface.rs Outdated Show resolved Hide resolved
src/control_interface.rs Outdated Show resolved Hide resolved
src/main.rs Show resolved Hide resolved
Added subscriptions status getter
Restored config_read_loop function for backward compatibility
@bmuddha bmuddha merged commit 03d66ac into bestarch-ae:master Nov 11, 2021
@bmuddha bmuddha deleted the control-interface branch November 12, 2021 04:56
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

Successfully merging this pull request may close these issues.

Unix socket based, command listener implementation
2 participants