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

ManagementMessage protocol v1 #17

Open
TimVinkemeier opened this issue Aug 19, 2015 · 0 comments
Open

ManagementMessage protocol v1 #17

TimVinkemeier opened this issue Aug 19, 2015 · 0 comments

Comments

@TimVinkemeier
Copy link
Member

Hi,

I would like to use this issue to collect requirements for the Management protocol as well as define it.
Currently, I agree with @farhaven in the idea to use a simple JSON format with commands and parameters.
This could look like the following:

{
   "command" : "set-configvalue",
   "parameters" : 
      {
         "name" : "compositionspecification",
         "value" : "<XML string>"
      }
}

or:

{
   "command" : "get-configvalue",
   "parameters" : 
      {
         "name" : "compositionspecification"
      }
}

which would return:

{
   "command" : "get-configvalue-result",
   "parameters" : 
      {
         "name" : "compositionspecification",
         "value" : "<XML string>"
      }
}

What do you think of this?
Please comment and let us know what requirements you have!

Best,
Tim

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

2 participants