Calvin Leung Huang 656b113dbd
sys/config: config state endpoint (#7424)
* sys/config: initial work on adding config state endpoint

* server/config: add tests, fix Sanitized method

* thread config through NewTestCluster's config to avoid panic on dev modes

* properly guard endpoint against request forwarding

* add http tests, guard against panics on nil RawConfig

* ensure non-nil rawConfig on NewTestCluster cores

* update non-forwarding logic

* fix imports; use no-forward handler

* add missing config test fixture; update gitignore

* return sanitized config as a map

* fix test, use deep.Equal to check for equality

* fix http test

* minor comment fix

* config: change Sanitized to return snake-cased keys, update tests

* core: hold rlock when reading config; add docstring

* update docstring
2019-10-08 10:57:15 -07:00
..
2019-04-13 03:44:06 -04:00
2017-10-24 09:30:47 -04:00
2017-10-24 09:30:47 -04:00
2017-10-24 09:30:47 -04:00
2017-10-24 09:28:06 -04:00
2019-03-25 10:56:04 -07:00
2017-10-24 09:30:47 -04:00
2017-10-24 09:28:06 -04:00
2019-02-14 11:54:47 -08:00
2019-03-05 15:19:52 -05:00
2019-09-04 16:46:00 -07:00
2018-10-22 23:34:02 -07:00
2018-02-12 18:12:16 -05:00
2018-07-12 10:18:50 -04:00
2017-10-24 09:30:47 -04:00
2018-02-12 18:12:16 -05:00
2019-09-26 08:46:41 -04:00
2019-07-05 13:36:44 -07:00
2018-08-27 12:02:57 -04:00
2018-08-27 12:02:57 -04:00
2018-08-24 12:09:03 -04:00
2018-08-22 14:37:40 -04:00
2019-06-21 17:41:07 -04:00
2019-06-20 21:32:00 -04:00
2019-04-12 18:12:13 -04:00
2017-10-24 09:30:48 -04:00
2017-10-24 09:39:34 -04:00
2018-11-06 17:21:24 -08:00
2017-10-24 09:30:48 -04:00
2018-09-17 23:03:00 -04:00
2017-10-24 09:30:48 -04:00
2018-02-12 18:12:16 -05:00
2017-10-24 09:30:48 -04:00
2018-02-12 18:12:16 -05:00
2017-10-24 09:30:48 -04:00
2018-08-14 14:20:49 -04:00
2019-06-20 21:00:01 -04:00
2019-06-20 12:14:58 -07:00
2017-10-24 09:39:34 -04:00
2018-02-12 18:12:16 -05:00
2018-02-12 18:12:16 -05:00
2019-07-01 11:39:54 +02:00
2018-02-12 18:12:16 -05:00
2018-02-12 18:12:16 -05:00
2018-02-12 18:12:16 -05:00
2017-10-24 09:30:47 -04:00
2017-10-24 09:30:47 -04:00
2018-03-20 14:54:10 -04:00
2018-02-12 18:12:16 -05:00
2017-10-24 09:30:48 -04:00
2018-04-04 04:41:46 -04:00