MXS-1220: Add more information to the /maxscale/ resource

The /maxscale/ resource now has values for most of the configuration
parameters in the [maxscale] section as well as the version, commit and
uptime information.
This commit is contained in:
Markus Mäkelä
2017-05-15 09:59:38 +03:00
parent 551f635f50
commit adbf537d80
3 changed files with 41 additions and 15 deletions

View File

@ -434,6 +434,6 @@ bool config_reload(void);
* @param host Hostname of this server
* @return JSON object representing the paths used by MaxScale
*/
json_t* config_paths_to_json(const char* host);
json_t* config_maxscale_to_json(const char* host);
MXS_END_DECLS