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 { license {
desc { desc {
en: """EMQX License. Community or enterprise""" en: """EMQX License. opensource or enterprise"""
zh: """EMQX 许可。开源版本 或者企业版""" zh: """EMQX 许可。开源版本 或者企业版"""
} }
} }

View File

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

View File

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

View File

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

View File

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

View File

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