Deprecate old admin modules
Added notification messages for the deprecation of the old admin interface modules. Also added notes into the documentation about their deprecation.
This commit is contained in:
parent
e3ad827288
commit
c552845fd1
@ -1,5 +1,7 @@
|
||||
# MaxAdmin - Admin Interface
|
||||
|
||||
**NOTE:** MaxAdmin is deprecated, use [MaxCtrl](./MaxCtrl.md) instead.
|
||||
|
||||
# The Maxscale Administrative & Monitoring Client Application
|
||||
|
||||
- [Overview](#overview)
|
||||
|
@ -38,7 +38,7 @@ release. The functionality in `mmmon` has been largely obsoleted by the
|
||||
advancements in `mariadbmon`. The `ndbclustermon` is largely obsolete due to the
|
||||
fact that there are virtually no users who use it.
|
||||
|
||||
### Deprecated options
|
||||
## Deprecated features
|
||||
|
||||
The following configuration file options have been deprecated and will
|
||||
be removed in 2.4.
|
||||
@ -53,8 +53,19 @@ be removed in 2.4.
|
||||
|
||||
### MaxAdmin
|
||||
|
||||
The commands `set pollsleep` and `set nbpolls` have been deprecated and
|
||||
will be removed in 2.4.
|
||||
MaxAdmin has been deprecated in favor of the REST API and MaxCtrl. It will be
|
||||
removed in a later release.
|
||||
|
||||
In addition to this the commands `set pollsleep` and `set nbpolls` have been
|
||||
deprecated and will be removed already in 2.4.
|
||||
|
||||
### MaxInfo
|
||||
|
||||
The `maxinfo` router has been deprecated and will be removed in a later release.
|
||||
|
||||
### Debugcli
|
||||
|
||||
The `debugcli` module has been deprecated and will be removed in 2.4.
|
||||
|
||||
## New Features
|
||||
|
||||
|
@ -63,7 +63,7 @@ extern int execute_cmd(CLI_SESSION* cli);
|
||||
*/
|
||||
extern "C" MXS_MODULE* MXS_CREATE_MODULE()
|
||||
{
|
||||
MXS_NOTICE("Initialise CLI router module");
|
||||
MXS_WARNING("THE 'cli' MODULE AND 'maxadmin' ARE DEPRECATED: Use 'maxctrl' instead");
|
||||
|
||||
static MXS_ROUTER_OBJECT MyObject =
|
||||
{
|
||||
|
@ -65,7 +65,7 @@ static CLI_INSTANCE* instances;
|
||||
*/
|
||||
extern "C" MXS_MODULE* MXS_CREATE_MODULE()
|
||||
{
|
||||
MXS_NOTICE("Initialise debug CLI router module.");
|
||||
MXS_WARNING("THE 'debugcli' MODULE IS DEPRECATED");
|
||||
pthread_mutex_init(&instlock, NULL);
|
||||
instances = NULL;
|
||||
|
||||
|
@ -93,7 +93,7 @@ static INFO_INSTANCE* instances;
|
||||
*/
|
||||
extern "C" MXS_MODULE* MXS_CREATE_MODULE()
|
||||
{
|
||||
MXS_NOTICE("Initialise MaxInfo router module.");
|
||||
MXS_WARNING("THE 'maxinfo' MODULE IS DEPRECATED");
|
||||
pthread_mutex_init(&instlock, NULL);
|
||||
instances = NULL;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user