docs: change descriptive info from 'community' to 'opensource'

This commit is contained in:
Zaiming (Stone) Shi 2022-06-20 19:38:29 +02:00
parent 4e24be7597
commit 385566c1a0
6 changed files with 7 additions and 7 deletions

View File

@ -30,7 +30,7 @@ emqx_dashboard_api {
license {
desc {
en: """EMQX License. Community or enterprise"""
en: """EMQX License. opensource or enterprise"""
zh: """EMQX 许可。开源版本 或者企业版"""
}
}

View File

@ -196,8 +196,8 @@ field(license) ->
{license, [
{edition,
mk(
enum([community, enterprise]),
#{desc => ?DESC(license), example => community}
enum([opensource, enterprise]),
#{desc => ?DESC(license), example => opensource}
)}
]};
field(version) ->

View File

@ -326,7 +326,7 @@ get_telemetry(State0 = #state{node_uuid = NodeUUID, cluster_uuid = ClusterUUID})
} = get_rule_engine_and_bridge_info(),
{State, [
{emqx_version, bin(emqx_app:get_release())},
{license, [{edition, <<"community">>}]},
{license, [{edition, <<"opensource">>}]},
{os_name, bin(get_value(os_name, OSInfo))},
{os_version, bin(get_value(os_version, OSInfo))},
{otp_version, bin(otp_version())},

View File

@ -106,7 +106,7 @@ fields(telemetry) ->
map(),
#{
desc => ?DESC(license),
example => #{edition => <<"community">>}
example => #{edition => <<"opensource">>}
}
)},
{os_name,

View File

@ -207,7 +207,7 @@ profiles_dev() ->
%% RelType: cloud (full size)
%% PkgType: bin | pkg
%% Edition: ce (community) | ee (enterprise)
%% Edition: ce (opensource) | ee (enterprise)
relx(Vsn, RelType, PkgType, Edition) ->
[
{include_src, false},

View File

@ -15,7 +15,7 @@ export PROFILE
case $PROFILE in
"emqx")
DIR='broker'
EDITION='community'
EDITION='opensource'
;;
"emqx-enterprise")
DIR='enterprise'