MXS-2379: Fix maxinfo HTTP interface

Added the missing HTTP request handlers and a new JSON conversion
function.
This commit is contained in:
Markus Mäkelä
2019-03-28 13:19:24 +02:00
parent 0fa7ad8580
commit 116efb2409
6 changed files with 140 additions and 1 deletions

View File

@ -1,4 +1,4 @@
add_library(maxinfo SHARED maxinfo.cc maxinfo_parse.cc maxinfo_error.cc maxinfo_exec.cc)
add_library(maxinfo SHARED maxinfo.cc maxinfo_parse.cc maxinfo_error.cc maxinfo_exec.cc maxinfo_http.cc)
set_target_properties(maxinfo PROPERTIES INSTALL_RPATH ${CMAKE_INSTALL_RPATH}:${MAXSCALE_LIBDIR} VERSION "1.0.0" LINK_FLAGS -Wl,-z,defs)
target_link_libraries(maxinfo maxscale-common)
install_module(maxinfo core)