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:
@ -1,5 +1,7 @@
|
|||||||
# MaxAdmin - Admin Interface
|
# MaxAdmin - Admin Interface
|
||||||
|
|
||||||
|
**NOTE:** MaxAdmin is deprecated, use [MaxCtrl](./MaxCtrl.md) instead.
|
||||||
|
|
||||||
# The Maxscale Administrative & Monitoring Client Application
|
# The Maxscale Administrative & Monitoring Client Application
|
||||||
|
|
||||||
- [Overview](#overview)
|
- [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
|
advancements in `mariadbmon`. The `ndbclustermon` is largely obsolete due to the
|
||||||
fact that there are virtually no users who use it.
|
fact that there are virtually no users who use it.
|
||||||
|
|
||||||
### Deprecated options
|
## Deprecated features
|
||||||
|
|
||||||
The following configuration file options have been deprecated and will
|
The following configuration file options have been deprecated and will
|
||||||
be removed in 2.4.
|
be removed in 2.4.
|
||||||
@ -53,8 +53,19 @@ be removed in 2.4.
|
|||||||
|
|
||||||
### MaxAdmin
|
### MaxAdmin
|
||||||
|
|
||||||
The commands `set pollsleep` and `set nbpolls` have been deprecated and
|
MaxAdmin has been deprecated in favor of the REST API and MaxCtrl. It will be
|
||||||
will be removed in 2.4.
|
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
|
## New Features
|
||||||
|
|
||||||
|
|||||||
@ -63,7 +63,7 @@ extern int execute_cmd(CLI_SESSION* cli);
|
|||||||
*/
|
*/
|
||||||
extern "C" MXS_MODULE* MXS_CREATE_MODULE()
|
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 =
|
static MXS_ROUTER_OBJECT MyObject =
|
||||||
{
|
{
|
||||||
|
|||||||
@ -65,7 +65,7 @@ static CLI_INSTANCE* instances;
|
|||||||
*/
|
*/
|
||||||
extern "C" MXS_MODULE* MXS_CREATE_MODULE()
|
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);
|
pthread_mutex_init(&instlock, NULL);
|
||||||
instances = NULL;
|
instances = NULL;
|
||||||
|
|
||||||
|
|||||||
@ -93,7 +93,7 @@ static INFO_INSTANCE* instances;
|
|||||||
*/
|
*/
|
||||||
extern "C" MXS_MODULE* MXS_CREATE_MODULE()
|
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);
|
pthread_mutex_init(&instlock, NULL);
|
||||||
instances = NULL;
|
instances = NULL;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user