*** User 2023-11-13 19:02:58.610 ***🔗
REST request:
Code: 200
Req: {<0.32141.0>,<<"/api/graphql">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"a6f82bbd1a6a517d">>},
{<<"authorization">>,<<"Basic YWRtaW46c2VjcmV0">>}],
<<"{\"variables\":{},\"query\":\"query { cets { systemInfo { availableNodes conflictNodes conflictTables discoveredNodes discoveryWorks joinedNodes remoteMissingTables remoteNodesWithMissingTables remoteNodesWithUnknownTables remoteNodesWithoutDisco remoteUnknownTables unavailableNodes } } }\"}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"vary">>,<<"accept">>},
{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 13 Nov 2023 19:02:58 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"1189">>}],
<<"{\"data\":{\"cets\":{\"systemInfo\":{\"unavailableNodes\":[\"badnode@localhost\"],\"remoteUnknownTables\":[\"cets_s2s_secret\",\"cets_s2s_session\",\"cets_s2s_secret\",\"cets_s2s_session\",\"cets_s2s_secret\",\"cets_external_component\",\"cets_bosh\",\"cets_session\",\"cets_external_component\",\"cets_bosh\",\"cets_session\",\"cets_external_component\",\"cets_bosh\",\"cets_auth_anonymous_anonymous.localhost\",\"cets_stream_management_session\",\"cets_auth_anonymous_anonymous.localhost\",\"cets_stream_management_session\",\"cets_auth_anonymous_anonymous.localhost\"],\"remoteNodesWithoutDisco\":[],\"remoteNodesWithUnknownTables\":[\"mongooseim3@localhost\",\"mongooseim2@localhost\"],\"remoteNodesWithMissingTables\":[\"mongooseim3@localhost\",\"mongooseim2@localhost\"],\"remoteMissingTables\":[\"cets_auth_anonymous_anonymous.localhost\",\"cets_bosh\",\"cets_external_component\",\"cets_s2s_secret\"],\"joinedNodes\":[\"mongooseim2@localhost\",\"mongooseim3@localhost\",\"mongooseim@localhost\"],\"discoveryWorks\":true,\"discoveredNodes\":[\"badnode@localhost\",\"mongooseim2@localhost\",\"mongooseim3@localhost\",\"mongooseim@localhost\"],\"conflictTables\":[],\"conflictNodes\":[],\"availableNodes\":[\"mongooseim@localhost\",\"mongooseim2@localhost\",\"mongooseim3@localhost\"]}}}}">>,
1329,2013}
Params: #{port => 5551,path => <<"/api/graphql">>,
server => #{node => mongooseim@localhost},
method => <<"POST">>,
body =>
<<"{\"variables\":{},\"query\":\"query { cets { systemInfo { availableNodes conflictNodes conflictTables discoveredNodes discoveryWorks joinedNodes remoteMissingTables remoteNodesWithMissingTables remoteNodesWithUnknownTables remoteNodesWithoutDisco remoteUnknownTables unavailableNodes } } }\"}">>,
role => {graphql,admin},
creds => {<<"admin">>,<<"secret">>},
return_maps => true,return_headers => true}