MXS-2513 Deprecate firewall and masking filters

This commit is contained in:
Johan Wikman
2019-05-28 14:31:34 +03:00
parent 3b60bf00e1
commit de3c5721e9
6 changed files with 40 additions and 41 deletions

View File

@ -1272,6 +1272,9 @@ Dbfw::~Dbfw()
Dbfw* Dbfw::create(const char* zName, MXS_CONFIG_PARAMETER* pParams)
{
MXS_WARNING("The database firewall filter has been DEPRECATED in MaxScale 2.4 "
"and it will be removed in a future release of MaxScale.");
Dbfw* rval = NULL;
RuleList rules;
UserMap users;

View File

@ -77,8 +77,6 @@ extern "C" MXS_MODULE* MXS_CREATE_MODULE()
reload_argv,
"Reload masking filter rules");
MXS_NOTICE("Masking module %s initialized.", VERSION_STRING);
typedef MaskingFilter::Config Config;
static MXS_MODULE info =
@ -176,6 +174,9 @@ MaskingFilter::~MaskingFilter()
// static
MaskingFilter* MaskingFilter::create(const char* zName, MXS_CONFIG_PARAMETER* pParams)
{
MXS_WARNING("The masking filter has been DEPRECATED in MaxScale 2.4 and "
"it will be removed in a future release of MaxScale.");
MaskingFilter* pFilter = NULL;
Config config(zName, pParams);