docs: change descriptive info from 'community' to 'opensource'
This commit is contained in:
parent
4e24be7597
commit
385566c1a0
|
@ -30,7 +30,7 @@ emqx_dashboard_api {
|
|||
|
||||
license {
|
||||
desc {
|
||||
en: """EMQX License. Community or enterprise"""
|
||||
en: """EMQX License. opensource or enterprise"""
|
||||
zh: """EMQX 许可。开源版本 或者企业版"""
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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) ->
|
||||
|
|
|
@ -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())},
|
||||
|
|
|
@ -106,7 +106,7 @@ fields(telemetry) ->
|
|||
map(),
|
||||
#{
|
||||
desc => ?DESC(license),
|
||||
example => #{edition => <<"community">>}
|
||||
example => #{edition => <<"opensource">>}
|
||||
}
|
||||
)},
|
||||
{os_name,
|
||||
|
|
|
@ -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},
|
||||
|
|
|
@ -15,7 +15,7 @@ export PROFILE
|
|||
case $PROFILE in
|
||||
"emqx")
|
||||
DIR='broker'
|
||||
EDITION='community'
|
||||
EDITION='opensource'
|
||||
;;
|
||||
"emqx-enterprise")
|
||||
DIR='enterprise'
|
||||
|
|
Loading…
Reference in New Issue