Commit Graph

13 Commits (master)

Author SHA1 Message Date
Alirie Gray f4de39d443 Add auth config link to global application config response links 2018-07-10 16:13:37 -07:00
Jared Scheib ecb5347597 WIP Refactor log viewer config to be nested under organizations
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>
2018-07-09 17:36:19 -07:00
Alirie Gray 2319ac3ff8 Replace name "LogViewerUIConfig" with "LogViewerConfig" 2018-07-09 17:36:19 -07:00
Alirie Gray c33d4aa856 Add comments and refactored map syntax for validLogViewerUIConfig
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-07-09 17:36:19 -07:00
Alirie Gray 5894e8d881 Handle decoding request before retrieving config & := syntax for res
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-07-09 17:36:19 -07:00
Jared Scheib 571bca7743 Add & fix logViewer links in configResponse
Rename LogViewerUI to LogViewer in Config struct.
Make all instances of endpoint 'logviewer' (lowercase).
Make all instances of config.links.logViewer (camelcase).
2018-07-09 17:36:19 -07:00
Jared Scheib a546112a6f Correct two missed 'logViewer's to logviewer 2018-07-09 17:36:19 -07:00
Alirie Gray 981366c55b Change the log viewer UI config property "encoding" to "encodings"
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-07-09 17:36:19 -07:00
Alirie Gray 93b351f5e2 Validate log UI config on PUT, & refactor config API methods
Replaced /:section with specific hard-coded endpoints /auth
& /logviewer, and refactored service handler methods to
handle each route separately.

Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-07-09 17:35:17 -07:00
Jared Scheib 4125399054 Add API to get/update log viewer UI config
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-07-09 17:35:17 -07:00
Michael Desa 4496c361d7 Add PUT /config/:section route 2017-12-13 09:28:39 -08:00
Michael Desa 5ec549db0f Add /config/:section endpoint 2017-12-13 09:04:44 -08:00
Michael de Sa fcd25ad580 Implement Config GET service method
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-12-12 17:06:57 -08:00