|
246 | 246 | {odbc_mssql_mnesia,
|
247 | 247 | [{dbs, [redis, mssql]},
|
248 | 248 | {auth_method, "\"rdbms\""},
|
249 |
| - {rdbms_server_type, "rdbms_server_type = \"mssql\""}, |
| 249 | + {rdbms_server_type, "\"mssql\""}, |
250 | 250 | {outgoing_pools, "[outgoing_pools.redis.global_distrib]
|
251 | 251 | scope = \"global\"
|
252 | 252 | workers = 10
|
|
357 | 357 | strategy = \"next_worker\"
|
358 | 358 | connection.address = \"127.0.0.1\"
|
359 | 359 | connection.port = 8087
|
360 |
| - connection.username = \"ejabberd\" |
361 |
| - connection.password = \"mongooseim_secret\" |
362 |
| - connection.tls.ciphers = [\"AES256-SHA\", \"DHE-RSA-AES128-SHA256\"] |
| 360 | + connection.credentials.user = \"ejabberd\" |
| 361 | + connection.credentials.password = \"mongooseim_secret\" |
| 362 | + connection.tls.ciphers = \"AES256-SHA:DHE-RSA-AES128-SHA256\" |
363 | 363 | connection.tls.server_name_indication = false
|
364 |
| - connection.cacertfile = \"priv/ssl/cacert.pem\""}, |
| 364 | + connection.tls.cacertfile = \"priv/ssl/cacert.pem\""}, |
365 | 365 | {mod_last, "[modules.mod_last]
|
366 | 366 | backend = \"riak\""},
|
367 | 367 | {mod_privacy, "[modules.mod_privacy]
|
|
390 | 390 | scope = \"global\""},
|
391 | 391 | {mod_offline, "[modules.mod_offline]"}
|
392 | 392 | ]}
|
393 |
| - ]}, |
394 |
| - {cfg, % preset vars for the 'cfg' format - used only by the config equivalence tests |
395 |
| - [ |
396 |
| - {internal_mnesia, |
397 |
| - %% dbs variable is used by ./tools/test_runner/presets_to_dbs.sh script |
398 |
| - [{dbs, [redis, minio]}, |
399 |
| - {sm_backend, "{mnesia, []}"}, |
400 |
| - {auth_method, "internal"}, |
401 |
| - {outgoing_pools, "{outgoing_pools, [ |
402 |
| - {redis, global, global_distrib, [{workers, 10}], []} |
403 |
| - ]}."}, |
404 |
| - {mod_offline, "{mod_offline, []},"}]}, |
405 |
| - {pgsql_mnesia, |
406 |
| - [{dbs, [redis, pgsql]}, |
407 |
| - {sm_backend, "{mnesia, []}"}, |
408 |
| - {auth_method, "rdbms"}, |
409 |
| - {outgoing_pools, "{outgoing_pools, [ |
410 |
| - {redis, global, global_distrib, [{workers, 10}], []}, |
411 |
| - {rdbms, global, default, [{workers, 5}], |
412 |
| - [{server, {pgsql, \"localhost\", \"ejabberd\", \"ejabberd\", \"mongooseim_secret\", |
413 |
| - [{ssl, required}, {ssl_opts, [{verify, verify_peer}, |
414 |
| - {cacertfile, \"priv/ssl/cacert.pem\"}, {server_name_indication, disable}]}]}}]} |
415 |
| - ]}."}, |
416 |
| - {mod_last, "{mod_last, [{backend, rdbms}]},"}, |
417 |
| - {mod_privacy, "{mod_privacy, [{backend, rdbms}]},"}, |
418 |
| - {mod_private, "{mod_private, [{backend, rdbms}]},"}, |
419 |
| - {mod_offline, "{mod_offline, [{backend, rdbms}]},"}, |
420 |
| - {mod_vcard, "{mod_vcard, [{backend, rdbms}, {host, \"vjud.@HOST@\"}]},"}, |
421 |
| - {mod_roster, "{mod_roster, [{backend, rdbms}]},"}]}, |
422 |
| - {odbc_mssql_mnesia, |
423 |
| - [{dbs, [redis, mssql]}, |
424 |
| - {sm_backend, "{mnesia, []}"}, |
425 |
| - {auth_method, "rdbms"}, |
426 |
| - {rdbms_server_type, "{rdbms_server_type, mssql}."}, |
427 |
| - {outgoing_pools, "{outgoing_pools, [ |
428 |
| - {redis, global, global_distrib, [{workers, 10}], []}, |
429 |
| - {rdbms, global, default, [{workers, 5}], |
430 |
| - [{server, \"DSN=mongoose-mssql;UID=sa;PWD=mongooseim_secret+ESL123\"}]} |
431 |
| - ]}."}, |
432 |
| - {mod_last, "{mod_last, [{backend, rdbms}]},"}, |
433 |
| - {mod_privacy, "{mod_privacy, [{backend, rdbms}]},"}, |
434 |
| - {mod_private, "{mod_private, [{backend, rdbms}]},"}, |
435 |
| - {mod_offline, "{mod_offline, [{backend, rdbms}]},"}, |
436 |
| - {mod_vcard, "{mod_vcard, [{backend, rdbms}, {host, \"vjud.@HOST@\"}]},"}, |
437 |
| - {mod_roster, "{mod_roster, [{backend, rdbms}]},"}]}, |
438 |
| - {mysql_redis, |
439 |
| - [{dbs, [redis, mysql]}, |
440 |
| - {sm_backend, "{redis, []}"}, |
441 |
| - {auth_method, "rdbms"}, |
442 |
| - {outgoing_pools, "{outgoing_pools, [ |
443 |
| - {redis, global, global_distrib, [{workers, 10}], []}, |
444 |
| - {redis, global, default, [{workers, 10}, {strategy, random_worker}], []}, |
445 |
| - {rdbms, global, default, [{workers, 5}], |
446 |
| - [{server, {mysql, \"localhost\", \"ejabberd\", \"ejabberd\", \"mongooseim_secret\", |
447 |
| - [{versions, ['tlsv1.2']}, {verify, verify_peer}, {cacertfile, \"priv/ssl/cacert.pem\"}]}}]} |
448 |
| - ]}."}, |
449 |
| - {mod_last, "{mod_last, [{backend, rdbms}]},"}, |
450 |
| - {mod_privacy, "{mod_privacy, [{backend, rdbms}]},"}, |
451 |
| - {mod_private, "{mod_private, [{backend, rdbms}]},"}, |
452 |
| - {mod_offline, "{mod_offline, [{backend, rdbms}]},"}, |
453 |
| - {mod_vcard, "{mod_vcard, [{backend, rdbms}, {host, \"vjud.@HOST@\"}]},"}, |
454 |
| - {mod_roster, "{mod_roster, [{backend, rdbms}]},"}]}, |
455 |
| - {ldap_mnesia, |
456 |
| - [{dbs, [redis, ldap]}, |
457 |
| - {sm_backend, "{mnesia, []}"}, |
458 |
| - {auth_method, "ldap"}, |
459 |
| - {outgoing_pools, "{outgoing_pools, [ |
460 |
| - {redis, global, global_distrib, [{workers, 10}], []}, |
461 |
| - {ldap, global, default, [{workers, 5}], [{port, 3636}, |
462 |
| - {rootdn, \"cn=admin,dc=esl,dc=com\"}, |
463 |
| - {password, \"mongooseim_secret\"}, |
464 |
| - {encrypt, tls}, |
465 |
| - {tls_options, [{versions, ['tlsv1.2']}, |
466 |
| - {verify, verify_peer}, |
467 |
| - {cacertfile, \"priv/ssl/cacert.pem\"}, |
468 |
| - {certfile, \"priv/ssl/fake_cert.pem\"}, |
469 |
| - {keyfile, \"priv/ssl/fake_key.pem\"}]}]}, |
470 |
| - {ldap, global, bind, [{workers, 5}], [{port, 3636}, |
471 |
| - {encrypt, tls}, |
472 |
| - {tls_options, [{versions, ['tlsv1.2']}, |
473 |
| - {verify, verify_peer}, |
474 |
| - {cacertfile, \"priv/ssl/cacert.pem\"}, |
475 |
| - {certfile, \"priv/ssl/fake_cert.pem\"}, |
476 |
| - {keyfile, \"priv/ssl/fake_key.pem\"}]}]} |
477 |
| - ]}."}, |
478 |
| - {mod_offline, "{mod_offline, []},"}, |
479 |
| - {password_format, "{password_format, scram}"}, |
480 |
| - {auth_ldap, ", {ldap_base, \"ou=Users,dc=esl,dc=com\"}, |
481 |
| - {ldap_filter, \"(objectClass=inetOrgPerson)\"}" |
482 |
| - }, |
483 |
| - {mod_vcard,"{mod_vcard, [{backend, ldap}, {host, \"vjud.@HOST@\"},\n" |
484 |
| - "{ldap_base, \"ou=Users,dc=esl,dc=com\"},\n" |
485 |
| - "{ldap_filter,\"(objectClass=inetOrgPerson)\"}\n" |
486 |
| - "]},"} |
487 |
| - ]}, |
488 |
| - {riak_mnesia, |
489 |
| - [{dbs, [redis, riak]}, |
490 |
| - {sm_backend, "{mnesia, []}"}, |
491 |
| - {auth_method, "riak"}, |
492 |
| - %% Specify a list of ciphers to avoid |
493 |
| - %% "no function clause matching tls_v1:enum_to_oid(28)" error |
494 |
| - %% on Riak's side running with Erlang R16. |
495 |
| - %% https://github.com/basho/riak-erlang-client/issues/232#issuecomment-178612129 |
496 |
| - %% We also set ciphers in tools/setup_riak on the server side. |
497 |
| - {outgoing_pools, "{outgoing_pools, [ |
498 |
| - {redis, global, global_distrib, [{workers, 10}], []}, |
499 |
| - {riak, global, default, [{workers, 5}, |
500 |
| - {strategy, next_worker}], |
501 |
| - [{address, \"127.0.0.1\"},{port, 8087}, |
502 |
| - {ssl_opts, [{ciphers, [\"AES256-SHA\", \"DHE-RSA-AES128-SHA256\"]}, |
503 |
| - {server_name_indication, disable}]}, |
504 |
| - {credentials, \"ejabberd\", \"mongooseim_secret\"}, |
505 |
| - {cacertfile, \"priv/ssl/cacert.pem\"}]} |
506 |
| - ]}."}, |
507 |
| - {mod_roster, "{mod_roster, [{backend, riak}]},"}, |
508 |
| - {mod_private, "{mod_private, [{backend, riak}]},"}, |
509 |
| - {mod_vcard, "{mod_vcard, [{backend, riak}, {host, \"vjud.@HOST@\"}]},"}, |
510 |
| - {mod_offline, "{mod_offline, [{backend, riak}]},"}, |
511 |
| - {mod_last, "{mod_last, [{backend, riak}]},"}, |
512 |
| - {mod_privacy, "{mod_privacy, [{backend, riak}]},"} |
513 |
| - ]}, |
514 |
| - {elasticsearch_and_cassandra_mnesia, |
515 |
| - [{dbs, [redis, elasticsearch, cassandra]}, |
516 |
| - {sm_backend, "{mnesia, []}"}, |
517 |
| - {outgoing_pools, "{outgoing_pools, [ |
518 |
| - {redis, global, global_distrib, [{workers, 10}], []}, |
519 |
| - {cassandra, global, default, [{workers, 20}], |
520 |
| - [{ssl,[{cacertfile, \"priv/ssl/cacert.pem\"}, |
521 |
| - {verify, verify_peer}] }]}, |
522 |
| - {elastic, global, default, [], []} |
523 |
| - ]}."}, |
524 |
| - {auth_method, "internal"}, |
525 |
| - {mod_offline, "{mod_offline, []},"} |
526 |
| - ]} |
527 | 393 | ]}
|
528 | 394 | ]}.
|
529 | 395 |
|
|
0 commit comments