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(clustrixmon)
add_subdirectory(csmon)
add_subdirectory(galeramon)
add_subdirectory(grmon)
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.
*/
#include "clustrix.hh"
#include "xpand.hh"
#include <maxbase/assert.h>
using maxscale::Monitor;

View File

@ -12,7 +12,7 @@
*/
#pragma once
#include "clustrixmon.hh"
#include "xpandmon.hh"
#include <string>
#include <maxscale/monitor.hh>
#include <maxscale/server.hh>

View File

@ -12,11 +12,11 @@
*/
#pragma once
#include "clustrixmon.hh"
#include "xpandmon.hh"
#include <iostream>
#include <sstream>
#include <string>
#include "clustrix.hh"
#include "xpand.hh"
class ClustrixMembership
{

View File

@ -11,10 +11,10 @@
* Public License.
*/
#include "clustrixmon.hh"
#include "xpandmon.hh"
#include <maxscale/modinfo.h>
#include <maxscale/modulecmd.hh>
#include "clustrixmonitor.hh"
#include "xpandmonitor.hh"
namespace
{

View File

@ -12,7 +12,7 @@
*/
#pragma once
#define MXS_MODULE_NAME "clustrixmon"
#define MXS_MODULE_NAME "xpandmon"
#include <maxscale/ccdefs.hh>
#include <maxbase/log.hh>

View File

@ -11,7 +11,7 @@
* Public License.
*/
#include "clustrixmonitor.hh"
#include "xpandmonitor.hh"
#include <algorithm>
#include <set>
#include <maxbase/string.hh>

View File

@ -12,15 +12,15 @@
*/
#pragma once
#include "clustrixmon.hh"
#include "xpandmon.hh"
#include <map>
#include <set>
#include <sqlite3.h>
#include <maxscale/config2.hh>
#include <maxscale/monitor.hh>
#include <maxbase/http.hh>
#include "clustrixmembership.hh"
#include "clustrixnode.hh"
#include "xpandmembership.hh"
#include "xpandnode.hh"
class ClustrixMonitor : public maxscale::MonitorWorker
, private ClustrixNode::Persister

View File

@ -11,8 +11,8 @@
* Public License.
*/
#include "clustrixnode.hh"
#include "clustrix.hh"
#include "xpandnode.hh"
#include "xpand.hh"
bool ClustrixNode::can_be_used_as_hub(const char* zName,
const mxs::MonitorServer::ConnectionSettings& settings,

View File

@ -12,12 +12,12 @@
*/
#pragma once
#include "clustrixmon.hh"
#include "xpandmon.hh"
#include <iostream>
#include <sstream>
#include <string>
#include "clustrix.hh"
#include "clustrixmembership.hh"
#include "xpand.hh"
#include "xpandmembership.hh"
class ClustrixNode
{