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

@ -17,7 +17,8 @@
## Enhancements ## Enhancements
* Improve the dashboard listener startup log, the listener name is no longer spliced with port information, * 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) 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 # 5.0.3

View File

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

View File

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