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 /test | |
| 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 'test')
| -rw-r--r-- | test/config_schema_SUITE_data/rabbit.snippets | 9 | ||||
| -rw-r--r-- | test/definition_import_SUITE.erl | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/test/config_schema_SUITE_data/rabbit.snippets b/test/config_schema_SUITE_data/rabbit.snippets index fc0c2b7000..1d8ceb3db6 100644 --- a/test/config_schema_SUITE_data/rabbit.snippets +++ b/test/config_schema_SUITE_data/rabbit.snippets @@ -641,6 +641,15 @@ credential_validator.regexp = ^abc\\d+", []}, %% + %% Definitions + %% + + {definition_files, "load_definitions = test/definition_import_SUITE_data/case1.json", + [{rabbit, + [{load_definitions, "test/definition_import_SUITE_data/case1.json"}]}], + []}, + + %% %% Raft %% diff --git a/test/definition_import_SUITE.erl b/test/definition_import_SUITE.erl index dbbdcee8df..2f70832bae 100644 --- a/test/definition_import_SUITE.erl +++ b/test/definition_import_SUITE.erl @@ -8,7 +8,7 @@ %% License for the specific language governing rights and limitations %% under the License. %% -%% Copyright (c) 2016 Pivotal Software, Inc. All rights reserved. +%% Copyright (c) 2007-2019 Pivotal Software, Inc. All rights reserved. %% %% This test suite covers the definitions import function |
