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

GraphQL API feature branch #3515

Merged
merged 304 commits into from
Jun 27, 2022
Merged

GraphQL API feature branch #3515

merged 304 commits into from
Jun 27, 2022

Conversation

Premwoik
Copy link
Contributor

@Premwoik Premwoik commented Jan 25, 2022

This PR addresses GraphQL API and collects all the work done in previous months. MongooseIM 5.1.0 was released, and we can continue the GraphQL API development in the main branch because this is the target for the next release.

Premwoik and others added 30 commits December 23, 2021 15:33
These tests ensure that GraphQL works correctly on the default MongooseIM configuration
GraphQL - Move some big tests to small tests
Update graphql_helper with new helpers
Put tests into graphql_stanza_SUITE
Add new types StanzaAdminMutation and StanzaAdminQuery
Set default limit to 50 in schema
@mongoose-im

This comment was marked as outdated.

@mongoose-im

This comment was marked as outdated.

@mongoose-im

This comment was marked as outdated.

@Premwoik Premwoik changed the title GraphQL API feature branch (NOT MERGE) GraphQL API feature branch Jun 22, 2022
Janusz Jakubiec and others added 2 commits June 22, 2022 09:58
@mongoose-im
Copy link
Collaborator

mongoose-im commented Jun 22, 2022

small_tests_24 / small_tests / 8f8f488
Reports root / small


small_tests_25 / small_tests / 8f8f488
Reports root / small


dynamic_domains_pgsql_mnesia_24 / pgsql_mnesia / 8f8f488
Reports root/ big
OK: 3113 / Failed: 0 / User-skipped: 88 / Auto-skipped: 0


dynamic_domains_pgsql_mnesia_25 / pgsql_mnesia / 8f8f488
Reports root/ big
OK: 3113 / Failed: 0 / User-skipped: 88 / Auto-skipped: 0


ldap_mnesia_24 / ldap_mnesia / 8f8f488
Reports root/ big
OK: 1738 / Failed: 0 / User-skipped: 459 / Auto-skipped: 0


dynamic_domains_mysql_redis_25 / mysql_redis / 8f8f488
Reports root/ big
OK: 3096 / Failed: 0 / User-skipped: 105 / Auto-skipped: 0


ldap_mnesia_25 / ldap_mnesia / 8f8f488
Reports root/ big
OK: 1738 / Failed: 0 / User-skipped: 459 / Auto-skipped: 0


dynamic_domains_mssql_mnesia_25 / odbc_mssql_mnesia / 8f8f488
Reports root/ big
OK: 3113 / Failed: 0 / User-skipped: 88 / Auto-skipped: 0


pgsql_mnesia_24 / pgsql_mnesia / 8f8f488
Reports root/ big
OK: 3487 / Failed: 0 / User-skipped: 97 / Auto-skipped: 0


internal_mnesia_25 / internal_mnesia / 8f8f488
Reports root/ big
OK: 1844 / Failed: 0 / User-skipped: 353 / Auto-skipped: 0


elasticsearch_and_cassandra_25 / elasticsearch_and_cassandra_mnesia / 8f8f488
Reports root/ big
OK: 2134 / Failed: 0 / User-skipped: 354 / Auto-skipped: 0


mysql_redis_25 / mysql_redis / 8f8f488
Reports root/ big
OK: 3482 / Failed: 0 / User-skipped: 102 / Auto-skipped: 0


pgsql_mnesia_25 / pgsql_mnesia / 8f8f488
Reports root/ big
OK: 3487 / Failed: 0 / User-skipped: 97 / Auto-skipped: 0


riak_mnesia_24 / riak_mnesia / 8f8f488
Reports root/ big
OK: 1993 / Failed: 0 / User-skipped: 349 / Auto-skipped: 0


mssql_mnesia_25 / odbc_mssql_mnesia / 8f8f488
Reports root/ big
OK: 3498 / Failed: 1 / User-skipped: 97 / Auto-skipped: 0

pep_SUITE:pep_tests:unsubscribe_after_presence_unsubscription
{error,
  {{badmatch,
     [{xmlel,<<"message">>,
        [{<<"from">>,
        <<"alice_unsubscribe_after_presence_unsubscription_2189@localhost">>},
         {<<"to">>,
        <<"bob_unsubscribe_after_presence_unsubscription_2189@localhost/res1">>},
         {<<"type">>,<<"headline">>}],
        [{xmlel,<<"event">>,
           [{<<"xmlns">>,
           <<"http://jabber.org/protocol/pubsub#event">>}],
           [{xmlel,<<"items">>,
            [{<<"node">>,<<"OPaYm3pN5Zw8dpZdcRdyjg==">>}],
            [{xmlel,<<"item">>,
               [{<<"id">>,<<"salmon">>}],
               [{xmlel,<<"entry">>,
                  [{<<"xmlns">>,
                  <<"http://www.w3.org/2005/Atom">>}],
                  []}]}]}]},
         {xmlel,<<"headers">>,
           [{<<"xmlns">>,<<"http://jabber.org/protocol/shim">>}],
           []}]}]},
   [{pep_SUITE,'-unsubscribe_after_presence_unsubscription/1-fun-0-',2,
      [{file,"/home/circleci/project/big_tests/tests/pep_SUITE.erl"},
       {line,384}]},
    {escalus_story,story,4,
      [{file,
         "/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
       {line,72}]},
    {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1782}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1291}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1223}]}]}}

Report log

GraphQL - Prepare feature branch to merge to master
@mongoose-im
Copy link
Collaborator

mongoose-im commented Jun 22, 2022

small_tests_24 / small_tests / d0e2e34
Reports root / small


small_tests_25 / small_tests / d0e2e34
Reports root / small


dynamic_domains_pgsql_mnesia_24 / pgsql_mnesia / d0e2e34
Reports root/ big
OK: 3113 / Failed: 0 / User-skipped: 88 / Auto-skipped: 0


dynamic_domains_mysql_redis_25 / mysql_redis / d0e2e34
Reports root/ big
OK: 3096 / Failed: 0 / User-skipped: 105 / Auto-skipped: 0


ldap_mnesia_24 / ldap_mnesia / d0e2e34
Reports root/ big
OK: 1738 / Failed: 0 / User-skipped: 459 / Auto-skipped: 0


dynamic_domains_pgsql_mnesia_25 / pgsql_mnesia / d0e2e34
Reports root/ big
OK: 3113 / Failed: 0 / User-skipped: 88 / Auto-skipped: 0


ldap_mnesia_25 / ldap_mnesia / d0e2e34
Reports root/ big
OK: 1738 / Failed: 0 / User-skipped: 459 / Auto-skipped: 0


pgsql_mnesia_24 / pgsql_mnesia / d0e2e34
Reports root/ big
OK: 3487 / Failed: 0 / User-skipped: 97 / Auto-skipped: 0


dynamic_domains_mssql_mnesia_25 / odbc_mssql_mnesia / d0e2e34
Reports root/ big
OK: 3113 / Failed: 0 / User-skipped: 88 / Auto-skipped: 0


internal_mnesia_25 / internal_mnesia / d0e2e34
Reports root/ big
OK: 1844 / Failed: 0 / User-skipped: 353 / Auto-skipped: 0


elasticsearch_and_cassandra_25 / elasticsearch_and_cassandra_mnesia / d0e2e34
Reports root/ big
OK: 2134 / Failed: 0 / User-skipped: 354 / Auto-skipped: 0


pgsql_mnesia_25 / pgsql_mnesia / d0e2e34
Reports root/ big
OK: 3487 / Failed: 0 / User-skipped: 97 / Auto-skipped: 0


riak_mnesia_24 / riak_mnesia / d0e2e34
Reports root/ big
OK: 1993 / Failed: 0 / User-skipped: 349 / Auto-skipped: 0


mysql_redis_25 / mysql_redis / d0e2e34
Reports root/ big
OK: 3482 / Failed: 0 / User-skipped: 102 / Auto-skipped: 0


mssql_mnesia_25 / odbc_mssql_mnesia / d0e2e34
Reports root/ big
OK: 3499 / Failed: 1 / User-skipped: 97 / Auto-skipped: 0

muc_SUITE:hibernation:hibernated_room_can_be_queried_for_archive
{error,{{assertion_failed,assert,is_groupchat_message,
              [<<"Restorable message">>],
              undefined,"undefined"},
    [{escalus_new_assert,assert_true,2,
               [{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_new_assert.erl"},
                {line,84}]},
     {muc_SUITE,wait_for_mam_result,3,
          [{file,"/home/circleci/project/big_tests/tests/muc_SUITE.erl"},
           {line,4383}]},
     {muc_SUITE,'-hibernated_room_can_be_queried_for_archive/1-fun-0-',3,
          [{file,"/home/circleci/project/big_tests/tests/muc_SUITE.erl"},
           {line,4124}]},
     {escalus_story,story,4,
            [{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
             {line,72}]},
     {muc_SUITE,hibernated_room_can_be_queried_for_archive,1,
          [{file,"/home/circleci/project/big_tests/tests/muc_SUITE.erl"},
           {line,4120}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1782}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1291}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1223}]}]}}

Report log

@Premwoik Premwoik marked this pull request as ready for review June 22, 2022 09:50
Copy link
Member

@chrzaszcz chrzaszcz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, all changes have been reviewed already.

@chrzaszcz chrzaszcz merged commit 891f7ab into master Jun 27, 2022
@chrzaszcz chrzaszcz deleted the feature/graphql branch June 27, 2022 10:54
@chrzaszcz chrzaszcz added this to the 6.0.0 milestone Dec 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants