On 02/06/2013 01:34 PM, Sage Weil wrote: > I think the one caveat here is that having a single registry for commands > in the monitor means that commands can come in two flavors: vector<string> > (cli) and URL (presumably in json form). But a single command > dispatch/registry framework will make that distinction pretty simple... Any reason you can't have your CLI json-encode the commands (or, conversely, your cgi/wsgi/php/servlet URL handler decode them into vector<string>) before passing them on to the monitor? -- Dimitri Maziuk Programmer/sysadmin BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu
Attachment:
signature.asc
Description: OpenPGP digital signature