chore: delete plugins related configuration
This commit is contained in:
parent
5ae8cd2fa3
commit
24292f4f4e
|
@ -1,4 +1,4 @@
|
||||||
## EMQ X Configuration 4.3
|
## EMQ X Configuration 5.0
|
||||||
|
|
||||||
##--------------------------------------------------------------------
|
##--------------------------------------------------------------------
|
||||||
## Cluster
|
## Cluster
|
||||||
|
@ -2318,16 +2318,6 @@ listener.quic.external {
|
||||||
## Plugins
|
## Plugins
|
||||||
##-------------------------------------------------------------------
|
##-------------------------------------------------------------------
|
||||||
plugins: {
|
plugins: {
|
||||||
## The etc dir for plugins' config.
|
|
||||||
##
|
|
||||||
## Value: Folder
|
|
||||||
etc_dir: "{{ platform_etc_dir }}/plugins/"
|
|
||||||
|
|
||||||
## The file to store loaded plugin names.
|
|
||||||
##
|
|
||||||
## Value: File
|
|
||||||
loaded_file: "{{ platform_data_dir }}/loaded_plugins"
|
|
||||||
|
|
||||||
## The directory of extension plugins.
|
## The directory of extension plugins.
|
||||||
##
|
##
|
||||||
## Value: File
|
## Value: File
|
||||||
|
|
|
@ -254,15 +254,11 @@ reload_config(ConfFile) ->
|
||||||
|
|
||||||
|
|
||||||
emqx_feature() ->
|
emqx_feature() ->
|
||||||
[ emqx_authn
|
[ emqx_resource
|
||||||
|
, emqx_authn
|
||||||
, emqx_authz
|
, emqx_authz
|
||||||
, observer_cli
|
|
||||||
, emqx_http_lib
|
|
||||||
, emqx_resource
|
|
||||||
, emqx_connector
|
|
||||||
, emqx_data_bridge
|
, emqx_data_bridge
|
||||||
, emqx_rule_engine
|
, emqx_rule_engine
|
||||||
, emqx_rule_actions
|
|
||||||
, emqx_bridge_mqtt
|
, emqx_bridge_mqtt
|
||||||
, emqx_modules
|
, emqx_modules
|
||||||
, emqx_management
|
, emqx_management
|
||||||
|
|
|
@ -455,9 +455,7 @@ fields("rule") ->
|
||||||
[ {"$id", t(string())}];
|
[ {"$id", t(string())}];
|
||||||
|
|
||||||
fields("plugins") ->
|
fields("plugins") ->
|
||||||
[ {"etc_dir", t(string(), "emqx.plugins_etc_dir", undefined)}
|
[ {"expand_plugins_dir", t(string(), "emqx.expand_plugins_dir", undefined)}
|
||||||
, {"loaded_file", t(string(), "emqx.plugins_loaded_file", undefined)}
|
|
||||||
, {"expand_plugins_dir", t(string(), "emqx.expand_plugins_dir", undefined)}
|
|
||||||
];
|
];
|
||||||
|
|
||||||
fields("broker") ->
|
fields("broker") ->
|
||||||
|
|
|
@ -247,12 +247,12 @@ relx_apps(ReleaseType) ->
|
||||||
, {mnesia, load}
|
, {mnesia, load}
|
||||||
, {ekka, load}
|
, {ekka, load}
|
||||||
, {emqx_plugin_libs, load}
|
, {emqx_plugin_libs, load}
|
||||||
, emqx_authn
|
|
||||||
, emqx_authz
|
|
||||||
, observer_cli
|
, observer_cli
|
||||||
, emqx_http_lib
|
, emqx_http_lib
|
||||||
, emqx_resource
|
, emqx_resource
|
||||||
, emqx_connector
|
, emqx_connector
|
||||||
|
, emqx_authn
|
||||||
|
, emqx_authz
|
||||||
, emqx_data_bridge
|
, emqx_data_bridge
|
||||||
, emqx_rule_engine
|
, emqx_rule_engine
|
||||||
, emqx_rule_actions
|
, emqx_rule_actions
|
||||||
|
|
|
@ -28,7 +28,7 @@ main(_) ->
|
||||||
case filelib:is_regular(Filename) of
|
case filelib:is_regular(Filename) of
|
||||||
true ->
|
true ->
|
||||||
{ok, Bin1} = file:read_file(Filename),
|
{ok, Bin1} = file:read_file(Filename),
|
||||||
<<Acc/binary, "\r\n", Bin1/binary>>;
|
[Acc, io_lib:nl(), Bin1];
|
||||||
false -> Acc
|
false -> Acc
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue