cockroach icon indicating copy to clipboard operation
cockroach copied to clipboard

Re-organize admin client

Open mberhault opened this issue 11 years ago • 5 comments

It's very messy right now, only takes yaml, and is fairly convoluted.

mberhault avatar Jun 29 '15 11:06 mberhault

Is there a problem with Yaml? Any thoughts on what you wanted to do?

On Mon, Jun 29, 2015 at 7:00 AM MBerhault [email protected] wrote:

It's very messy right now, only takes yaml, and is fairly convoluted.

— Reply to this email directly or view it on GitHub https://github.com/cockroachdb/cockroach/issues/1548.

vivekmenezes avatar Jun 29 '15 15:06 vivekmenezes

The admin endpoints can already accept multiple encodings. For things like the UserConfig which do not take a config file, I'd rather build a proto and put that directly. My thinking was to change the admin client to take an arbitrary encoding. It will still support yaml, and this will still be the file encoding expected for accounting/perm/zone.

mberhault avatar Jun 29 '15 18:06 mberhault

Sounds good. Thanks for explaining.

On Mon, Jun 29, 2015 at 2:22 PM MBerhault [email protected] wrote:

The admin endpoints can already accept multiple encodings. For things like the UserConfig which do not take a config file, I'd rather build a proto and put that directly. My thinking was to change the admin client to take an arbitrary encoding. It will still support yaml, and this will still be the file encoding expected for accounting/perm/zone.

— Reply to this email directly or view it on GitHub https://github.com/cockroachdb/cockroach/issues/1548#issuecomment-116783602 .

vivekmenezes avatar Jun 29 '15 18:06 vivekmenezes

This is mostly done. It would be nice to add proto at some point.

mberhault avatar Jul 13 '15 12:07 mberhault

No longer needed, all configs are moving to structured layout with sql interface. #2090

mberhault avatar Aug 24 '15 00:08 mberhault