Repository navigation
Listeners: minor fixes in docs and refactoring - #4516
Conversation
The comment actually refers to the previous clause.
- Don't mention just_tls, because this module doesn't need to be exposed to the user any longer (there is no 'module' option). - Make it clear how to enable/disable TLS (like for the c2s listener). - Specify the default mode as 'tls' for components.
|
elasticsearch_and_cassandra_27 / elasticsearch_and_cassandra_mnesia / 777ec84 small_tests_27 / small_tests / 777ec84 small_tests_26 / small_tests / 777ec84 small_tests_27_arm64 / small_tests / 777ec84 ldap_mnesia_26 / ldap_mnesia / 777ec84 ldap_mnesia_27 / ldap_mnesia / 777ec84 internal_mnesia_27 / internal_mnesia / 777ec84 dynamic_domains_mysql_redis_27 / mysql_redis / 777ec84 dynamic_domains_pgsql_mnesia_27 / pgsql_mnesia / 777ec84 dynamic_domains_pgsql_mnesia_26 / pgsql_mnesia / 777ec84 pgsql_cets_27 / pgsql_cets / 777ec84 mysql_redis_27 / mysql_redis / 777ec84 dynamic_domains_mssql_mnesia_27 / odbc_mssql_mnesia / 777ec84 cockroachdb_cets_27 / cockroachdb_cets / 777ec84 pubsub_SUITE:dag+last_item_cache:send_last_published_item_no_items_test{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"alice_send_last_published_item_no_items_test_3824@localhost/res1">>,
escalus_tcp,<0.118114.0>,
[{event_manager,<0.118111.0>},
{server,<<"localhost">>},
{username,
<<"alicE_send_last_published_item_no_items_test_3824">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.118111.0>},
{server,<<"localhost">>},
{username,
<<"alicE_send_last_published_item_no_items_test_3824">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,
<<"alice_send_last_published_item_no_items_test_3824">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,fun escalus_auth:auth_plain/2},
{wspath,undefined},
{username,
<<"alicE_send_last_published_item_no_items_test_3824">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"c9836a8adb842881">>}]},
5000],
[{file,
"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{pubsub_tools,receive_response,3,
[{file,"/home/circleci/project/big_tests/tests/pubsub_tools.erl"},
{line,434}]},
{pubsub_tools,receive_and_c...pubsub_SUITE:dag+last_item_cache:send_last_published_item_no_items_test{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"alice_send_last_published_item_no_items_test_3826@localhost/res1">>,
escalus_tcp,<0.118192.0>,
[{event_manager,<0.118181.0>},
{server,<<"localhost">>},
{username,
<<"alicE_send_last_published_item_no_items_test_3826">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.118181.0>},
{server,<<"localhost">>},
{username,
<<"alicE_send_last_published_item_no_items_test_3826">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,
<<"alice_send_last_published_item_no_items_test_3826">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,fun escalus_auth:auth_plain/2},
{wspath,undefined},
{username,
<<"alicE_send_last_published_item_no_items_test_3826">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"e9f8238cec73af63">>}]},
5000],
[{file,
"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{pubsub_tools,receive_response,3,
[{file,"/home/circleci/project/big_tests/tests/pubsub_tools.erl"},
{line,434}]},
{pubsub_tools,receive_and_c...pubsub_SUITE:dag+last_item_cache:send_last_published_item_no_items_test{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"alice_send_last_published_item_no_items_test_3830@localhost/res1">>,
escalus_tcp,<0.118272.0>,
[{event_manager,<0.118267.0>},
{server,<<"localhost">>},
{username,
<<"alicE_send_last_published_item_no_items_test_3830">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.118267.0>},
{server,<<"localhost">>},
{username,
<<"alicE_send_last_published_item_no_items_test_3830">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,
<<"alice_send_last_published_item_no_items_test_3830">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,fun escalus_auth:auth_plain/2},
{wspath,undefined},
{username,
<<"alicE_send_last_published_item_no_items_test_3830">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"6db3ca30ab66bfad">>}]},
5000],
[{file,
"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{pubsub_tools,receive_response,3,
[{file,"/home/circleci/project/big_tests/tests/pubsub_tools.erl"},
{line,434}]},
{pubsub_tools,receive_and_c...pgsql_mnesia_26 / pgsql_mnesia / 777ec84 pgsql_mnesia_27 / pgsql_mnesia / 777ec84 mssql_mnesia_27 / odbc_mssql_mnesia / 777ec84 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## feature/listeners #4516 +/- ##
=====================================================
+ Coverage 85.80% 85.85% +0.05%
=====================================================
Files 564 564
Lines 33842 33838 -4
=====================================================
+ Hits 29037 29051 +14
+ Misses 4805 4787 -18 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
- Components support dynamic domains now - Correct typos and minor mistakes
MIM supports stream closing now
- Simplify type specs - Set listener module to the correct value (actually, it would be used only for inspection)
777ec84 to
e3a603d
Compare
|
elasticsearch_and_cassandra_27 / elasticsearch_and_cassandra_mnesia / e3a603d small_tests_26 / small_tests / e3a603d small_tests_27 / small_tests / e3a603d small_tests_27_arm64 / small_tests / e3a603d ldap_mnesia_27 / ldap_mnesia / e3a603d graphql_server_SUITE:admin_cli:clustering_tests:join_successful{error,{#{what => invalid_response_code,
response_code => {exit_status,1},
expected_type => ok},
[{graphql_helper,assert_response_code,2,
[{file,"/home/circleci/project/big_tests/tests/graphql_helper.erl"},
{line,258}]},
{graphql_helper,get_ok_value,2,
[{file,"/home/circleci/project/big_tests/tests/graphql_helper.erl"},
{line,241}]},
{graphql_server_SUITE,join_successful,1,
[{file,"/home/circleci/project/big_tests/tests/graphql_server_SUITE.erl"},
{line,153}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1303}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1235}]}]}}dynamic_domains_mysql_redis_27 / mysql_redis / e3a603d ldap_mnesia_26 / ldap_mnesia / e3a603d dynamic_domains_pgsql_mnesia_27 / pgsql_mnesia / e3a603d pgsql_cets_27 / pgsql_cets / e3a603d dynamic_domains_pgsql_mnesia_26 / pgsql_mnesia / e3a603d internal_mnesia_27 / internal_mnesia / e3a603d dynamic_domains_mssql_mnesia_27 / odbc_mssql_mnesia / e3a603d mysql_redis_27 / mysql_redis / e3a603d pgsql_mnesia_26 / pgsql_mnesia / e3a603d cockroachdb_cets_27 / cockroachdb_cets / e3a603d pubsub_SUITE:dag+last_item_cache:send_last_published_item_no_items_test{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"alice_send_last_published_item_no_items_test_3795@localhost/res1">>,
escalus_tcp,<0.118773.0>,
[{event_manager,<0.118763.0>},
{server,<<"localhost">>},
{username,
<<"alicE_send_last_published_item_no_items_test_3795">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.118763.0>},
{server,<<"localhost">>},
{username,
<<"alicE_send_last_published_item_no_items_test_3795">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,
<<"alice_send_last_published_item_no_items_test_3795">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,fun escalus_auth:auth_plain/2},
{wspath,undefined},
{username,
<<"alicE_send_last_published_item_no_items_test_3795">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"59fad8509b47b7f5">>}]},
5000],
[{file,
"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{pubsub_tools,receive_response,3,
[{file,"/home/circleci/project/big_tests/tests/pubsub_tools.erl"},
{line,434}]},
{pubsub_tools,receive_and_c...pubsub_SUITE:tree+last_item_cache:send_last_published_item_no_items_test{error,
{timeout_when_waiting_for_stanza,
[{escalus_client,wait_for_stanza,
[{client,
<<"alice_send_last_published_item_no_items_test_3850@localhost/res1">>,
escalus_tcp,<0.120058.0>,
[{event_manager,<0.120047.0>},
{server,<<"localhost">>},
{username,
<<"alicE_send_last_published_item_no_items_test_3850">>},
{resource,<<"res1">>}],
[{event_client,
[{event_manager,<0.120047.0>},
{server,<<"localhost">>},
{username,
<<"alicE_send_last_published_item_no_items_test_3850">>},
{resource,<<"res1">>}]},
{resource,<<"res1">>},
{username,
<<"alice_send_last_published_item_no_items_test_3850">>},
{server,<<"localhost">>},
{host,<<"localhost">>},
{port,5222},
{auth,fun escalus_auth:auth_plain/2},
{wspath,undefined},
{username,
<<"alicE_send_last_published_item_no_items_test_3850">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>},
{stream_id,<<"dde7f30725af113f">>}]},
5000],
[{file,
"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
{line,136}]},
{pubsub_tools,receive_response,3,
[{file,"/home/circleci/project/big_tests/tests/pubsub_tools.erl"},
{line,434}]},
{pubsub_tools,receive_and_c...pgsql_mnesia_27 / pgsql_mnesia / e3a603d mssql_mnesia_27 / odbc_mssql_mnesia / e3a603d ldap_mnesia_27 / ldap_mnesia / e3a603d |
NelsonVides
left a comment
There was a problem hiding this comment.
This looks fantastic to me, very neat, thank you! 😄
This PR corrects multiple minor issues found during the review of
feature/listeners:See the commit messages for more information.