diff options
| author | Michael Klishin <mklishin@pivotal.io> | 2019-11-12 04:12:55 +0300 |
|---|---|---|
| committer | Michael Klishin <mklishin@pivotal.io> | 2019-11-12 04:12:55 +0300 |
| commit | 723e032d25cc2e2d5ef16cd53279b386b3035760 (patch) | |
| tree | 6d3731a9da5967ffa5c733b7d17192ecd334e0e2 /priv/schema | |
| parent | 2aa2f78104aa129b49595c2dd07b4e7e6a7b53cc (diff) | |
| download | rabbitmq-server-git-723e032d25cc2e2d5ef16cd53279b386b3035760.tar.gz | |
Support pluginless definition import in config schema
management.load_definitions is still there but being superseded
with just
load_definitions = /path/to/definitions/file.json
Part of rabbitmq/rabbitmq-management#749.
Diffstat (limited to 'priv/schema')
| -rw-r--r-- | priv/schema/rabbit.schema | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/priv/schema/rabbit.schema b/priv/schema/rabbit.schema index 8db2ebf3ff..9d33ea597d 100644 --- a/priv/schema/rabbit.schema +++ b/priv/schema/rabbit.schema @@ -73,7 +73,7 @@ end}. ]}. -%% Maximum time for AMQP 0-8/0-9/0-9-1 handshake (after socket connection +%% Maximum time for 0-9-1 handshake (after socket connection %% and SSL handshake), in milliseconds. %% %% {handshake_timeout, 10000}, @@ -98,6 +98,19 @@ end}. ]}. %% +%% Definition import +%% + +%% Load definitions from a JSON file or directory of files. See +%% https://www.rabbitmq.com/management.html#load-definitions +%% +%% {load_definitions, "/path/to/schema.json"}, +%% {load_definitions, "/path/to/schemas"}, +{mapping, "load_definitions", "rabbit.load_definitions", + [{datatype, string}, + {validators, ["file_accessible"]}]}. + +%% %% Security / AAA %% ============== %% |
