MXS-3239 Rename clustrix* to xpand*

Typenames still Clustrix.
This commit is contained in:
Johan Wikman
2020-10-19 13:40:54 +03:00
parent 2da2952168
commit 192ad2289f
12 changed files with 26 additions and 26 deletions

View File

@ -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)

View File

@ -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)

View 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)

View File

@ -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;

View File

@ -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>

View File

@ -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
{ {

View File

@ -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
{ {

View File

@ -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>

View File

@ -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>

View File

@ -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

View File

@ -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,

View File

@ -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
{ {