Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TOML config #2929

Merged
merged 131 commits into from
Jan 18, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
131 commits
Select commit Hold shift + click to select a range
9b579d2
Do not use the 'cfg' format in config_parser_SUITE
chrzaszcz Oct 23, 2020
a10b54c
Do not use the 'cfg' format in ejabberd_config_SUITE
chrzaszcz Oct 23, 2020
3453557
Do not use the 'cfg' format in ejabberd_listener_SUITE
chrzaszcz Oct 23, 2020
c1b143f
Do not use the 'cfg' format in cowboy_SUITE
chrzaszcz Oct 23, 2020
ef5eb33
Do not use the 'cfg' format in revproxy_SUITE
chrzaszcz Oct 23, 2020
77570ff
Do not use the 'cfg' format in mongoose_config_SUITE
chrzaszcz Oct 23, 2020
97f6168
Do not use the 'cfg' format in big_tests
chrzaszcz Oct 23, 2020
2b9d629
Do not use the 'cfg' format in tools
chrzaszcz Oct 23, 2020
a1f7697
Remove config files with the 'cfg' format
chrzaszcz Oct 23, 2020
919e96a
Remove the config file not used by any test
chrzaszcz Oct 23, 2020
629ca5d
Remove remaining references to the 'cfg' format from comments
chrzaszcz Oct 23, 2020
5101677
Remove the 'cfg' config parser code
chrzaszcz Oct 23, 2020
d534fe3
Merge pull request #2919 from esl/toml-without-cfg
arcusfelis Oct 28, 2020
e90e8a8
Merge branch 'master' into toml-config
chrzaszcz Nov 5, 2020
225ba39
Sort expected TOML options for easier debugging
chrzaszcz Nov 5, 2020
d6ac587
Declarative specification of the 'general' section
chrzaszcz Nov 6, 2020
2df5dfa
Document the changed format of mongooseim_access_commands
chrzaszcz Nov 10, 2020
78bdb4d
Merge pull request #2931 from esl/toml-declarative-general
janciesla8818 Nov 10, 2020
8eaa500
Don't stop MongooseIM in the parser backend
chrzaszcz Nov 13, 2020
d3bd41a
Introduce new options to the config specs
chrzaszcz Nov 13, 2020
d60c693
Make the 'listen' section spec declarative
chrzaszcz Nov 13, 2020
f7b437b
Update tests with the config changes for the 'listen' section
chrzaszcz Nov 13, 2020
35bde30
Update docs with the config changes for the 'listen' section
chrzaszcz Nov 16, 2020
368d267
Merge pull request #2938 from esl/toml-declarative-listen
arcusfelis Nov 17, 2020
b821a7f
Remove unused functions
chrzaszcz Nov 17, 2020
437e087
Specify the 'auth' config section declaratively
chrzaszcz Nov 17, 2020
efd49d2
Merge pull request #2943 from esl/toml-declarative-auth
janciesla8818 Nov 18, 2020
87c04a9
Replace each block template in 'mongooseim.toml' with a section
chrzaszcz Nov 18, 2020
bfd9989
Do not put empty defaults in sections
chrzaszcz Nov 18, 2020
98d6f20
Reorganize TOML template to avoid empty lines
chrzaszcz Nov 18, 2020
75851bd
Clean up template vars
chrzaszcz Nov 19, 2020
9f375f7
Make big tests compatible with the new templates
chrzaszcz Nov 19, 2020
ba3846f
Merge pull request #2948 from esl/toml-improved-template
arcusfelis Nov 20, 2020
dec03b0
Parse the 'outgoing_pools' section in a declarative way
chrzaszcz Nov 23, 2020
3803342
Amend the tests after fixing the riak TLS options
chrzaszcz Nov 23, 2020
391607c
Update the docs after the format change of 'tls.ciphers'
chrzaszcz Nov 23, 2020
1493a40
Fix code formatting issues
chrzaszcz Nov 23, 2020
b2f5513
Merge pull request #2951 from esl/toml-declarative-pools
arcusfelis Nov 24, 2020
4e4097f
Make the specs for 'shaper', 'acl' and 'access' declarative
chrzaszcz Nov 24, 2020
376665d
Make the specs for 's2s' declarative
chrzaszcz Nov 24, 2020
0793c9c
Ensure unique keys in 'foreach' formatting
chrzaszcz Nov 24, 2020
12d7b9a
Clean up the validator module
chrzaszcz Nov 25, 2020
1f5251c
Merge pull request #2954 from esl/toml-declarative-acl
arcusfelis Nov 25, 2020
5dc0821
Merge branch 'master' into toml-config
chrzaszcz Nov 25, 2020
d9a0e99
Specify the config for services in a declarative way
chrzaszcz Dec 2, 2020
a070e68
Cover a missing case in tests
chrzaszcz Dec 3, 2020
9965afe
Merge pull request #2962 from esl/toml-declarative-services
janciesla8818 Dec 3, 2020
ed4b016
Unify testing error cases in the TOML tests
chrzaszcz Dec 3, 2020
3d8cc6c
Make the declarative spec for the first module: 'mod_adhoc'
chrzaszcz Dec 3, 2020
16a6276
Simplify tests for mod_adhoc
chrzaszcz Dec 4, 2020
5293818
Make the config of mod_auth_token declarative
chrzaszcz Dec 4, 2020
94e6d40
Simplify tests for mod_auth_token
chrzaszcz Dec 4, 2020
488669f
Make the config of mod_bosh declarative
chrzaszcz Dec 4, 2020
96f9151
Make the config of mod_caps declarative
chrzaszcz Dec 4, 2020
d5df5e2
Make the config of mod_carboncopy declarative
chrzaszcz Dec 4, 2020
a738ab9
Make the config of mod_csi declarative
chrzaszcz Dec 4, 2020
2ead2d9
Merge pull request #2965 from esl/toml-declarative-modules
leszke Dec 4, 2020
7361efc
Make the config of mod_disco declarative
chrzaszcz Dec 4, 2020
281595d
Make the config of mod_event_pusher declarative
chrzaszcz Dec 7, 2020
89dd954
Split and unify mod_event_pusher tests
chrzaszcz Dec 8, 2020
4a14801
Amend mod_event_pusher docs
chrzaszcz Dec 8, 2020
30d4fbd
Merge pull request #2970 from esl/toml-declarative-modules-continued
janciesla8818 Dec 9, 2020
c2d3aac
Merge branch 'master' into toml-config
chrzaszcz Dec 9, 2020
bbd5874
Merge branch 'master' into toml-config
chrzaszcz Dec 9, 2020
ac644da
Move config spec records to a separate header file
chrzaszcz Dec 9, 2020
1907907
Merge pull request #2975 from esl/toml-config-hrl
leszke Dec 9, 2020
2330593
Merge branch 'master' into toml-config
chrzaszcz Dec 14, 2020
ed5ea47
Make the config of mod_muc declarative
chrzaszcz Dec 9, 2020
8af76f7
Simplify tests for mod_muc
chrzaszcz Dec 9, 2020
4c8afa3
Make the config of mod_muc_light declarative
chrzaszcz Dec 9, 2020
0d5d354
Test and document the changed format of 'mod_muc_light' config
chrzaszcz Dec 9, 2020
9a71491
Make the config of mod_muc_log declarative
chrzaszcz Dec 14, 2020
da83730
Document and test the new config for mod_muc_log
chrzaszcz Dec 14, 2020
47ab8f5
Make the config of mod_offline declarative
chrzaszcz Dec 14, 2020
cf1d166
Make the config of mod_ping declarative
chrzaszcz Dec 14, 2020
184bb91
Make the config of mod_pubsub declarative
chrzaszcz Dec 15, 2020
b5e2f90
Update docs and tests for mod_pubsub
chrzaszcz Dec 15, 2020
409922a
Make the config of mongoose_push_service_mongoosepush declarative
chrzaszcz Dec 15, 2020
aa7ae03
Make the config of mod_privacy declarative
chrzaszcz Dec 15, 2020
523b42e
Make the config of mod_private declarative
chrzaszcz Dec 16, 2020
1ba1353
Merge pull request #2974 from esl/toml-declarative-modules-pt-3
leszke Dec 16, 2020
22afcef
Make the config of mod_mam_meta declarative
chrzaszcz Dec 17, 2020
53202fc
Update docs and tests for mod_mam_meta
chrzaszcz Dec 17, 2020
37f0009
Merge pull request #2983 from esl/toml-declarative-modules-mam
janciesla8818 Dec 18, 2020
49a0341
Make the config of mod_register declarative
janciesla8818 Dec 14, 2020
67bb911
Make the config of mod_roster declarative
janciesla8818 Dec 14, 2020
72c1257
Make the config of mod_shared_roster_ldap declarative
janciesla8818 Dec 15, 2020
fb4e71b
Make the config of mod_stream_management declarative
janciesla8818 Dec 15, 2020
bd60a20
Make the config of mod_vcard declarative
janciesla8818 Dec 17, 2020
193b233
Make the config of mod_version declarative
janciesla8818 Dec 17, 2020
729695e
Remove TOML validation and parsing for deprecated mod_revproxy
janciesla8818 Dec 17, 2020
854cb43
TOML declarative modules spec: apply review comments
janciesla8818 Dec 18, 2020
fe3857a
Make the config of mod_last declarative
janciesla8818 Dec 18, 2020
729fcd7
Merge pull request #2984 from esl/toml-declarative-modules-pt-4
chrzaszcz Dec 18, 2020
d0f2a84
make mod_extdisco config declarative
leszke Dec 7, 2020
7533dbb
make mod_inbox config declarative
leszke Dec 10, 2020
18db18f
make mod_jingle_sip config declarative
leszke Dec 10, 2020
e84c2af
make mod_keystore config declarative
leszke Dec 11, 2020
3aa201a
make mod_global_distrib config declarative
leszke Dec 11, 2020
cbf0e4e
update mod_global_distrib tests
leszke Dec 17, 2020
dfd17bd
make mod_http_upload config declarative
leszke Dec 14, 2020
4353e9e
Finish tests for mod_http_upload
chrzaszcz Dec 18, 2020
76cb2b7
Apply review comments for mod_keystore
chrzaszcz Dec 18, 2020
4f82648
Refactor tests for mod_jingle_sip
chrzaszcz Dec 18, 2020
57008a8
Clean up unused functions
chrzaszcz Dec 21, 2020
36c516c
Make TLS for global_distrib disabled by default
chrzaszcz Dec 21, 2020
8ff3c8a
Merge pull request #2973 from esl/toml-declarative-modules-pt-2
janciesla8818 Dec 21, 2020
61050ce
make mod_sic config declarative
leszke Dec 21, 2020
c81d4c3
make mod_time config declarative
leszke Dec 21, 2020
6070a1b
Merge pull request #2986 from esl/toml-declarative-mod_sic_mod_time
chrzaszcz Dec 21, 2020
43dbf7c
Remove int_or_inf_or_atom from mod_stream_management
janciesla8818 Dec 21, 2020
be01a4b
Remove imperative config parsing for modules
chrzaszcz Dec 21, 2020
c53d250
Remove validate/2 as no validators are left
chrzaszcz Dec 21, 2020
c25eac6
Parse host_config declaratively
chrzaszcz Dec 22, 2020
99a5180
Build the config spec only once
chrzaszcz Dec 22, 2020
f3c238c
Simplify handle_step - do not create fun's for each step
chrzaszcz Dec 22, 2020
07a15f7
apply comments
leszke Dec 22, 2020
a46b9ab
Merge pull request #2988 from esl/remove-redundant-types
chrzaszcz Dec 22, 2020
6c4fea2
Merge pull request #2987 from esl/toml-config-cleanup
leszke Dec 22, 2020
62eac1a
Rename the validator module as it is not TOML-specific now
chrzaszcz Jan 5, 2021
2440424
Add type specs to the declarative TOML config parser
chrzaszcz Jan 5, 2021
b0c3e05
Do no export all functions from mongooseim_config_spec
chrzaszcz Jan 5, 2021
56c4c29
Get rid of clean_opts/clear_opts
chrzaszcz Jan 5, 2021
bfc4d99
Merge pull request #2996 from esl/toml-config-specs
leszke Jan 7, 2021
d777685
correct validate_domain_template to handle `@HOSTS@` wildcard properly
leszke Jan 7, 2021
d48fd36
Merge pull request #3002 from esl/handle-virtual_pubsub_hosts-properly
chrzaszcz Jan 8, 2021
2646ad2
Merge branch 'master' into toml-config
leszke Jan 13, 2021
b9ff842
update migration guide with TOML updates
leszke Jan 14, 2021
a05dd9f
remove config_format_SUITE from default.spec
leszke Jan 15, 2021
2c00f85
apply review comments
leszke Jan 15, 2021
2584101
Merge pull request #3007 from esl/update-migration_guide
chrzaszcz Jan 18, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ clean:
-rm -rf asngen
-rm configure.out
-rm rel/configure.vars.config
-rm rel/vars.config
-rm rel/vars-toml.config

# REBAR_CT_EXTRA_ARGS comes from a test runner
Expand All @@ -28,7 +27,7 @@ ct:
eunit:
@$(RUN) $(REBAR) eunit

rel: certs configure.out rel/vars.config rel/vars-toml.config
rel: certs configure.out rel/vars-toml.config
. ./configure.out && $(REBAR) as prod release

shell: certs etc/mongooseim.cfg
Expand All @@ -41,9 +40,6 @@ rock:
elif [ "$(BRANCH)" ]; then tools/rock_changed.sh $(BRANCH); \
else tools/rock_changed.sh; fi

rel/vars.config: rel/vars.config.in rel/configure.vars.config
cat $^ > $@

rel/vars-toml.config: rel/vars-toml.config.in rel/configure.vars.config
cat $^ > $@

Expand All @@ -60,7 +56,7 @@ devrel: $(DEVNODES)
print_devnodes:
@echo $(DEVNODES)

$(DEVNODES): certs configure.out rel/vars.config rel/vars-toml.config
$(DEVNODES): certs configure.out rel/vars-toml.config
@echo "building $@"
(. ./configure.out && \
DEVNODE=true $(RUN) $(REBAR) as $@ release)
Expand Down
1 change: 0 additions & 1 deletion big_tests/default.spec
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
{suites, "tests", cluster_commands_SUITE}.
{suites, "tests", component_SUITE}.
{suites, "tests", conf_reload_SUITE}.
{suites, "tests", config_format_SUITE}.
{suites, "tests", connect_SUITE}.
{suites, "tests", disco_and_caps_SUITE}.
{suites, "tests", ejabberdctl_SUITE}.
Expand Down
9 changes: 8 additions & 1 deletion big_tests/run_common_test.erl
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ enable_preset_on_node(Node, PresetVars, HostVarsFilePrefix) ->
ok.

template_config(Template, Vars) ->
MergedVars = merge_vars(Vars),
MergedVars = ensure_binary_strings(merge_vars(Vars)),
%% Render twice to replace variables in variables
Tmp = bbmustache:render(Template, MergedVars, [{key_type, atom}]),
bbmustache:render(Tmp, MergedVars, [{key_type, atom}]).
Expand All @@ -306,6 +306,13 @@ merge_vars([Vars1, Vars2|Rest]) ->
merge_vars([Vars|Rest]);
merge_vars([Vars]) -> Vars.

%% bbmustache tries to iterate over lists, so we need to make them binaries
ensure_binary_strings(Vars) ->
lists:map(fun({dbs, V}) -> {dbs, V};
({K, V}) when is_list(V) -> {K, list_to_binary(V)};
({K, V}) -> {K, V}
end, Vars).

call(Node, M, F, A) ->
case rpc:call(Node, M, F, A) of
{badrpc, Reason} ->
Expand Down
144 changes: 5 additions & 139 deletions big_tests/test.config
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@
{odbc_mssql_mnesia,
[{dbs, [redis, mssql]},
{auth_method, "\"rdbms\""},
{rdbms_server_type, "rdbms_server_type = \"mssql\""},
{rdbms_server_type, "\"mssql\""},
{outgoing_pools, "[outgoing_pools.redis.global_distrib]
scope = \"global\"
workers = 10
Expand Down Expand Up @@ -357,11 +357,11 @@
strategy = \"next_worker\"
connection.address = \"127.0.0.1\"
connection.port = 8087
connection.username = \"ejabberd\"
connection.password = \"mongooseim_secret\"
connection.tls.ciphers = [\"AES256-SHA\", \"DHE-RSA-AES128-SHA256\"]
connection.credentials.user = \"ejabberd\"
connection.credentials.password = \"mongooseim_secret\"
connection.tls.ciphers = \"AES256-SHA:DHE-RSA-AES128-SHA256\"
connection.tls.server_name_indication = false
connection.cacertfile = \"priv/ssl/cacert.pem\""},
connection.tls.cacertfile = \"priv/ssl/cacert.pem\""},
{mod_last, "[modules.mod_last]
backend = \"riak\""},
{mod_privacy, "[modules.mod_privacy]
Expand Down Expand Up @@ -390,140 +390,6 @@
scope = \"global\""},
{mod_offline, "[modules.mod_offline]"}
]}
]},
{cfg, % preset vars for the 'cfg' format - used only by the config equivalence tests
[
{internal_mnesia,
%% dbs variable is used by ./tools/test_runner/presets_to_dbs.sh script
[{dbs, [redis, minio]},
{sm_backend, "{mnesia, []}"},
{auth_method, "internal"},
{outgoing_pools, "{outgoing_pools, [
{redis, global, global_distrib, [{workers, 10}], []}
]}."},
{mod_offline, "{mod_offline, []},"}]},
{pgsql_mnesia,
[{dbs, [redis, pgsql]},
{sm_backend, "{mnesia, []}"},
{auth_method, "rdbms"},
{outgoing_pools, "{outgoing_pools, [
{redis, global, global_distrib, [{workers, 10}], []},
{rdbms, global, default, [{workers, 5}],
[{server, {pgsql, \"localhost\", \"ejabberd\", \"ejabberd\", \"mongooseim_secret\",
[{ssl, required}, {ssl_opts, [{verify, verify_peer},
{cacertfile, \"priv/ssl/cacert.pem\"}, {server_name_indication, disable}]}]}}]}
]}."},
{mod_last, "{mod_last, [{backend, rdbms}]},"},
{mod_privacy, "{mod_privacy, [{backend, rdbms}]},"},
{mod_private, "{mod_private, [{backend, rdbms}]},"},
{mod_offline, "{mod_offline, [{backend, rdbms}]},"},
{mod_vcard, "{mod_vcard, [{backend, rdbms}, {host, \"vjud.@HOST@\"}]},"},
{mod_roster, "{mod_roster, [{backend, rdbms}]},"}]},
{odbc_mssql_mnesia,
[{dbs, [redis, mssql]},
{sm_backend, "{mnesia, []}"},
{auth_method, "rdbms"},
{rdbms_server_type, "{rdbms_server_type, mssql}."},
{outgoing_pools, "{outgoing_pools, [
{redis, global, global_distrib, [{workers, 10}], []},
{rdbms, global, default, [{workers, 5}],
[{server, \"DSN=mongoose-mssql;UID=sa;PWD=mongooseim_secret+ESL123\"}]}
]}."},
{mod_last, "{mod_last, [{backend, rdbms}]},"},
{mod_privacy, "{mod_privacy, [{backend, rdbms}]},"},
{mod_private, "{mod_private, [{backend, rdbms}]},"},
{mod_offline, "{mod_offline, [{backend, rdbms}]},"},
{mod_vcard, "{mod_vcard, [{backend, rdbms}, {host, \"vjud.@HOST@\"}]},"},
{mod_roster, "{mod_roster, [{backend, rdbms}]},"}]},
{mysql_redis,
[{dbs, [redis, mysql]},
{sm_backend, "{redis, []}"},
{auth_method, "rdbms"},
{outgoing_pools, "{outgoing_pools, [
{redis, global, global_distrib, [{workers, 10}], []},
{redis, global, default, [{workers, 10}, {strategy, random_worker}], []},
{rdbms, global, default, [{workers, 5}],
[{server, {mysql, \"localhost\", \"ejabberd\", \"ejabberd\", \"mongooseim_secret\",
[{versions, ['tlsv1.2']}, {verify, verify_peer}, {cacertfile, \"priv/ssl/cacert.pem\"}]}}]}
]}."},
{mod_last, "{mod_last, [{backend, rdbms}]},"},
{mod_privacy, "{mod_privacy, [{backend, rdbms}]},"},
{mod_private, "{mod_private, [{backend, rdbms}]},"},
{mod_offline, "{mod_offline, [{backend, rdbms}]},"},
{mod_vcard, "{mod_vcard, [{backend, rdbms}, {host, \"vjud.@HOST@\"}]},"},
{mod_roster, "{mod_roster, [{backend, rdbms}]},"}]},
{ldap_mnesia,
[{dbs, [redis, ldap]},
{sm_backend, "{mnesia, []}"},
{auth_method, "ldap"},
{outgoing_pools, "{outgoing_pools, [
{redis, global, global_distrib, [{workers, 10}], []},
{ldap, global, default, [{workers, 5}], [{port, 3636},
{rootdn, \"cn=admin,dc=esl,dc=com\"},
{password, \"mongooseim_secret\"},
{encrypt, tls},
{tls_options, [{versions, ['tlsv1.2']},
{verify, verify_peer},
{cacertfile, \"priv/ssl/cacert.pem\"},
{certfile, \"priv/ssl/fake_cert.pem\"},
{keyfile, \"priv/ssl/fake_key.pem\"}]}]},
{ldap, global, bind, [{workers, 5}], [{port, 3636},
{encrypt, tls},
{tls_options, [{versions, ['tlsv1.2']},
{verify, verify_peer},
{cacertfile, \"priv/ssl/cacert.pem\"},
{certfile, \"priv/ssl/fake_cert.pem\"},
{keyfile, \"priv/ssl/fake_key.pem\"}]}]}
]}."},
{mod_offline, "{mod_offline, []},"},
{password_format, "{password_format, scram}"},
{auth_ldap, ", {ldap_base, \"ou=Users,dc=esl,dc=com\"},
{ldap_filter, \"(objectClass=inetOrgPerson)\"}"
},
{mod_vcard,"{mod_vcard, [{backend, ldap}, {host, \"vjud.@HOST@\"},\n"
"{ldap_base, \"ou=Users,dc=esl,dc=com\"},\n"
"{ldap_filter,\"(objectClass=inetOrgPerson)\"}\n"
"]},"}
]},
{riak_mnesia,
[{dbs, [redis, riak]},
{sm_backend, "{mnesia, []}"},
{auth_method, "riak"},
%% Specify a list of ciphers to avoid
%% "no function clause matching tls_v1:enum_to_oid(28)" error
%% on Riak's side running with Erlang R16.
%% https://github.com/basho/riak-erlang-client/issues/232#issuecomment-178612129
%% We also set ciphers in tools/setup_riak on the server side.
{outgoing_pools, "{outgoing_pools, [
{redis, global, global_distrib, [{workers, 10}], []},
{riak, global, default, [{workers, 5},
{strategy, next_worker}],
[{address, \"127.0.0.1\"},{port, 8087},
{ssl_opts, [{ciphers, [\"AES256-SHA\", \"DHE-RSA-AES128-SHA256\"]},
{server_name_indication, disable}]},
{credentials, \"ejabberd\", \"mongooseim_secret\"},
{cacertfile, \"priv/ssl/cacert.pem\"}]}
]}."},
{mod_roster, "{mod_roster, [{backend, riak}]},"},
{mod_private, "{mod_private, [{backend, riak}]},"},
{mod_vcard, "{mod_vcard, [{backend, riak}, {host, \"vjud.@HOST@\"}]},"},
{mod_offline, "{mod_offline, [{backend, riak}]},"},
{mod_last, "{mod_last, [{backend, riak}]},"},
{mod_privacy, "{mod_privacy, [{backend, riak}]},"}
]},
{elasticsearch_and_cassandra_mnesia,
[{dbs, [redis, elasticsearch, cassandra]},
{sm_backend, "{mnesia, []}"},
{outgoing_pools, "{outgoing_pools, [
{redis, global, global_distrib, [{workers, 10}], []},
{cassandra, global, default, [{workers, 20}],
[{ssl,[{cacertfile, \"priv/ssl/cacert.pem\"},
{verify, verify_peer}] }]},
{elastic, global, default, [], []}
]}."},
{auth_method, "internal"},
{mod_offline, "{mod_offline, []},"}
]}
]}
]}.

Expand Down
3 changes: 0 additions & 3 deletions big_tests/tests/accounts_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -392,8 +392,5 @@ enable_watcher(Config, Watcher) ->
disable_watcher(Config) ->
restore_mod_register_options(Config).

watcher(Watcher) ->
{registration_watchers, [binary_to_list(Watcher)]}.

domain() ->
ct:get_config({hosts, mim, domain}).
155 changes: 0 additions & 155 deletions big_tests/tests/config_format_SUITE.erl

This file was deleted.

Loading