Skip to content

Should return optional instructions for stat requests. #51

Description

@dialmaster

IN order to support management, dmo-monitor will need to be able to return a response to stat requests that contains instructions for the dmo-wrapminer.
Initially, let's simply return this for simple success:
{
"commands": "",
"payload": {
}
}

and this to tell the wrapper to restart the miner:
{
"commands": "restart_miner",
"payload": {
}
}

In the future, we will need to be able to return additional commands, which should be comma delimited.
These should include (this is tentative)
"update_files" -- which would include a payload with links to download new files to overwrite what is on disk
"update_config" -- which would include a payload with a new .yaml conf file to use for dmo-wrapminer

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions