MXS-3239 Rename clustrix* to xpand*
Typenames still Clustrix.
This commit is contained in:
@ -1,6 +1,6 @@
|
|||||||
add_subdirectory(auroramon)
|
add_subdirectory(auroramon)
|
||||||
add_subdirectory(clustrixmon)
|
|
||||||
add_subdirectory(csmon)
|
add_subdirectory(csmon)
|
||||||
add_subdirectory(galeramon)
|
add_subdirectory(galeramon)
|
||||||
add_subdirectory(grmon)
|
add_subdirectory(grmon)
|
||||||
add_subdirectory(mariadbmon)
|
add_subdirectory(mariadbmon)
|
||||||
|
add_subdirectory(xpandmon)
|
||||||
|
|||||||
@ -1,9 +0,0 @@
|
|||||||
add_library(clustrixmon SHARED
|
|
||||||
clustrix.cc
|
|
||||||
clustrixmon.cc
|
|
||||||
clustrixmonitor.cc
|
|
||||||
clustrixnode.cc
|
|
||||||
)
|
|
||||||
target_link_libraries(clustrixmon maxscale-common)
|
|
||||||
set_target_properties(clustrixmon PROPERTIES VERSION "1.0.0" LINK_FLAGS -Wl,-z,defs)
|
|
||||||
install_module(clustrixmon core)
|
|
||||||
9
server/modules/monitor/xpandmon/CMakeLists.txt
Normal file
9
server/modules/monitor/xpandmon/CMakeLists.txt
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
add_library(xpandmon SHARED
|
||||||
|
xpand.cc
|
||||||
|
xpandmon.cc
|
||||||
|
xpandmonitor.cc
|
||||||
|
xpandnode.cc
|
||||||
|
)
|
||||||
|
target_link_libraries(xpandmon maxscale-common)
|
||||||
|
set_target_properties(xpandmon PROPERTIES VERSION "1.0.0" LINK_FLAGS -Wl,-z,defs)
|
||||||
|
install_module(xpandmon core)
|
||||||
@ -11,7 +11,7 @@
|
|||||||
* Public License.
|
* Public License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "clustrix.hh"
|
#include "xpand.hh"
|
||||||
#include <maxbase/assert.h>
|
#include <maxbase/assert.h>
|
||||||
|
|
||||||
using maxscale::Monitor;
|
using maxscale::Monitor;
|
||||||
@ -12,7 +12,7 @@
|
|||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "clustrixmon.hh"
|
#include "xpandmon.hh"
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <maxscale/monitor.hh>
|
#include <maxscale/monitor.hh>
|
||||||
#include <maxscale/server.hh>
|
#include <maxscale/server.hh>
|
||||||
@ -12,11 +12,11 @@
|
|||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "clustrixmon.hh"
|
#include "xpandmon.hh"
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include "clustrix.hh"
|
#include "xpand.hh"
|
||||||
|
|
||||||
class ClustrixMembership
|
class ClustrixMembership
|
||||||
{
|
{
|
||||||
@ -11,10 +11,10 @@
|
|||||||
* Public License.
|
* Public License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "clustrixmon.hh"
|
#include "xpandmon.hh"
|
||||||
#include <maxscale/modinfo.h>
|
#include <maxscale/modinfo.h>
|
||||||
#include <maxscale/modulecmd.hh>
|
#include <maxscale/modulecmd.hh>
|
||||||
#include "clustrixmonitor.hh"
|
#include "xpandmonitor.hh"
|
||||||
|
|
||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
@ -12,7 +12,7 @@
|
|||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define MXS_MODULE_NAME "clustrixmon"
|
#define MXS_MODULE_NAME "xpandmon"
|
||||||
|
|
||||||
#include <maxscale/ccdefs.hh>
|
#include <maxscale/ccdefs.hh>
|
||||||
#include <maxbase/log.hh>
|
#include <maxbase/log.hh>
|
||||||
@ -11,7 +11,7 @@
|
|||||||
* Public License.
|
* Public License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "clustrixmonitor.hh"
|
#include "xpandmonitor.hh"
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <set>
|
#include <set>
|
||||||
#include <maxbase/string.hh>
|
#include <maxbase/string.hh>
|
||||||
@ -12,15 +12,15 @@
|
|||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "clustrixmon.hh"
|
#include "xpandmon.hh"
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <set>
|
#include <set>
|
||||||
#include <sqlite3.h>
|
#include <sqlite3.h>
|
||||||
#include <maxscale/config2.hh>
|
#include <maxscale/config2.hh>
|
||||||
#include <maxscale/monitor.hh>
|
#include <maxscale/monitor.hh>
|
||||||
#include <maxbase/http.hh>
|
#include <maxbase/http.hh>
|
||||||
#include "clustrixmembership.hh"
|
#include "xpandmembership.hh"
|
||||||
#include "clustrixnode.hh"
|
#include "xpandnode.hh"
|
||||||
|
|
||||||
class ClustrixMonitor : public maxscale::MonitorWorker
|
class ClustrixMonitor : public maxscale::MonitorWorker
|
||||||
, private ClustrixNode::Persister
|
, private ClustrixNode::Persister
|
||||||
@ -11,8 +11,8 @@
|
|||||||
* Public License.
|
* Public License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "clustrixnode.hh"
|
#include "xpandnode.hh"
|
||||||
#include "clustrix.hh"
|
#include "xpand.hh"
|
||||||
|
|
||||||
bool ClustrixNode::can_be_used_as_hub(const char* zName,
|
bool ClustrixNode::can_be_used_as_hub(const char* zName,
|
||||||
const mxs::MonitorServer::ConnectionSettings& settings,
|
const mxs::MonitorServer::ConnectionSettings& settings,
|
||||||
@ -12,12 +12,12 @@
|
|||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "clustrixmon.hh"
|
#include "xpandmon.hh"
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include "clustrix.hh"
|
#include "xpand.hh"
|
||||||
#include "clustrixmembership.hh"
|
#include "xpandmembership.hh"
|
||||||
|
|
||||||
class ClustrixNode
|
class ClustrixNode
|
||||||
{
|
{
|
||||||
Reference in New Issue
Block a user