feat: add validations for emqx_ee_conf_schema

This commit is contained in:
Zhongwen Deng 2023-05-04 16:53:03 +08:00
parent e82623d0fb
commit a4bb865e6a
2 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{application, emqx_ee_conf, [
{description, "EMQX Enterprise Edition configuration schema"},
{vsn, "0.1.1"},
{vsn, "0.1.2"},
{registered, []},
{applications, [
kernel,

View File

@ -6,7 +6,7 @@
-behaviour(hocon_schema).
-export([namespace/0, roots/0, fields/1, translations/0, translation/1]).
-export([namespace/0, roots/0, fields/1, translations/0, translation/1, validations/0]).
-define(EE_SCHEMA_MODULES, [emqx_license_schema, emqx_ee_schema_registry_schema]).
@ -30,3 +30,6 @@ translations() ->
translation(Name) ->
emqx_conf_schema:translation(Name).
validations() ->
emqx_conf_schema:validations().