Merge pull request #8485 from zhongwencool/delete-config-listeners-api

chore: remove /configs/listeners, use /listeners/ API instead
This commit is contained in:
zhongwencool 2022-07-15 10:25:59 +08:00 committed by GitHub
commit bc53064ae7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 12 deletions

View File

@ -18,6 +18,7 @@
* Improve the dashboard listener startup log, the listener name is no longer spliced with port information,
and the colon(:) is no longer displayed when IP is not specified. [#8480](https://github.com/emqx/emqx/pull/8480)
* Remove `/configs/listeners` API, use `/listeners/` instead. [#8485](https://github.com/emqx/emqx/pull/8485)
# 5.0.3

View File

@ -1,13 +1,7 @@
%% -*- mode: erlang -*-
%% Unless you know what you are doing, DO NOT edit manually!!
{VSN,
[{"5.0.0",
[{load_module,emqx_dashboard,brutal_purge,soft_purge,[]},
{load_module,emqx_dashboard_api,brutal_purge,soft_purge,[]},
{load_module,emqx_dashboard_token,brutal_purge,soft_purge,[]}]},
{<<".*">>,[]}],
[{"5.0.0",
[{load_module,emqx_dashboard,brutal_purge,soft_purge,[]},
{load_module,emqx_dashboard_api,brutal_purge,soft_purge,[]},
{load_module,emqx_dashboard_token,brutal_purge,soft_purge,[]}]},
{<<".*">>,[]}]}.
%% we should always restart dashboard to make sure api rules/swagger is updated
[{<<".*">>,[{restart_application, emqx_dashboard}]}],
[{<<".*">>,[{restart_application, emqx_dashboard}]}]
}.

View File

@ -62,7 +62,8 @@
<<"prometheus">>,
<<"telemetry">>,
<<"sys_topics">>,
<<"limiter">>
<<"limiter">>,
<<"listeners">>
] ++ global_zone_roots()
).