diff --git a/apps/emqx_bridge/src/schema/emqx_bridge_schema.erl b/apps/emqx_bridge/src/schema/emqx_bridge_schema.erl index b59ebfa57..aea9f8a86 100644 --- a/apps/emqx_bridge/src/schema/emqx_bridge_schema.erl +++ b/apps/emqx_bridge/src/schema/emqx_bridge_schema.erl @@ -172,7 +172,7 @@ namespace() -> "bridge". tags() -> [<<"Bridge">>]. -roots() -> [{bridges, ?HOCON(?R_REF(bridges), #{importance => ?IMPORTANCE_LOW})}]. +roots() -> [{bridges, ?HOCON(?R_REF(bridges), #{importance => ?IMPORTANCE_HIDDEN})}]. fields(bridges) -> [ diff --git a/apps/emqx_dashboard/src/emqx_dashboard_schema_api.erl b/apps/emqx_dashboard/src/emqx_dashboard_schema_api.erl index abc69bdc5..9b5c45e71 100644 --- a/apps/emqx_dashboard/src/emqx_dashboard_schema_api.erl +++ b/apps/emqx_dashboard/src/emqx_dashboard_schema_api.erl @@ -44,6 +44,7 @@ paths() -> ["/schemas/:name"]. %% This is a rather hidden API, so we don't need to add translations for the description. +%% TODO(5.7): delete 'bridges' schema("/schemas/:name") -> Schemas = [hotconf, bridges, actions, connectors], #{ diff --git a/changes/ce/breaking-12576.en.md b/changes/ce/breaking-12576.en.md new file mode 100644 index 000000000..ba03b84be --- /dev/null +++ b/changes/ce/breaking-12576.en.md @@ -0,0 +1,4 @@ +Starting from 5.6, the "Configuration Manual" document will no longer include the `bridges` config root. + +A `bridge` is now either `action` + `connector` for egress data integration, or `source` + `connector` for ingress data integration. +Please note that the `bridges` config (in `cluster.hocon`) and the REST API path `api/v5/bridges` still works, but considered deprecated.