=== Test case: rest_client_SUITE:add_contact_and_be_invited/1 (click for source code)

=== Config value:

    [{watchdog,<0.76451.0>},
     {muc_light_host,<<"muclight.domain.example.com">>},
     {mam_backend,rdbms},
     {preset,"odbc_mssql_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/rest_client_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@ca2b1cd7241c.2024-03-11_11.25.11/big_tests.tests.rest_client_SUITE.logs/run.2024-03-11_11.40.24/rest_client_suite.add_contact_and_be_invited.99332.html"},
     {tc_group_properties,[{name,roster},parallel]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/rest_client_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@ca2b1cd7241c.2024-03-11_11.25.11/big_tests.tests.rest_client_SUITE.logs/run.2024-03-11_11.40.24/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,iqdisc => parallel,backend => rdbms},
        mod_roster =>
            #{iqdisc => one_queue,backend => rdbms,versioning => false,
              store_current_id => false},
        mod_amp => #{},
        mod_register =>
            #{access => register,iqdisc => one_queue,
              registration_watchers => [],password_strength => 0,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
        mod_sic => #{iqdisc => one_queue},
        mod_disco =>
            #{iqdisc => one_queue,server_info => [],extra_domains => [],
              users_can_see_hidden_services => false},
        mod_presence => #{},
        mod_stream_management =>
            #{buffer => true,ack => true,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              backend => mnesia,buffer_max => 100,ack_freq => 1,
              resume_timeout => 600},
        mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@ca2b1cd7241c.2024-03-11_11.25.11"

=== Started at 2024-03-11 11:40:26


*** CT 2024-03-11 11:40:26.638 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2681.html

*** User 2024-03-11 11:40:26.655 ***🔗
alicE_add_contact_and_be_invited_2917@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-11 11:40:26.655 ***🔗
alicE_add_contact_and_be_invited_2917@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d0d78e95476da20d' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-03-11 11:40:26.655 ***🔗
alicE_add_contact_and_be_invited_2917@domain.example.com/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-03-11 11:40:26.655 ***🔗
alicE_add_contact_and_be_invited_2917@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9jb250YWN0X2FuZF9iZV9pbnZpdGVkXzI5MTcAbWF0eWdyeXNh</auth>



*** User 2024-03-11 11:40:26.656 ***🔗
alicE_add_contact_and_be_invited_2917@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-11 11:40:26.656 ***🔗
alicE_add_contact_and_be_invited_2917@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-11 11:40:26.657 ***🔗
alicE_add_contact_and_be_invited_2917@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='28441d4ef49ba58f' from='domain.example.com' version='1.0' xml:lang='en' to='alice_add_contact_and_be_invited_2917@domain.example.com'>

*** User 2024-03-11 11:40:26.657 ***🔗
alicE_add_contact_and_be_invited_2917@domain.example.com/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-03-11 11:40:26.657 ***🔗
alicE_add_contact_and_be_invited_2917@domain.example.com/res1 out
<iq type='set' id='a5a9debbfaea8dd04b4a243aa92fe56f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-11 11:40:26.657 ***🔗
alicE_add_contact_and_be_invited_2917@domain.example.com/res1 in
<iq id='a5a9debbfaea8dd04b4a243aa92fe56f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_add_contact_and_be_invited_2917@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-03-11 11:40:26.657 ***🔗
alice_add_contact_and_be_invited_2917@domain.example.com/res1 out
<iq type='set' id='3e5bbcb67970878990fd0483ae7c3861'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 11:40:26.658 ***🔗
alice_add_contact_and_be_invited_2917@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_add_contact_and_be_invited_2917@domain.example.com/res1' id='3e5bbcb67970878990fd0483ae7c3861' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 11:40:26.658 ***🔗
alice_add_contact_and_be_invited_2917@domain.example.com/res1 out
<presence/>



*** User 2024-03-11 11:40:26.659 ***🔗
alice_add_contact_and_be_invited_2917@domain.example.com/res1 in
<presence from='alice_add_contact_and_be_invited_2917@domain.example.com/res1' to='alice_add_contact_and_be_invited_2917@domain.example.com/res1'/>



*** User 2024-03-11 11:40:26.660 ***🔗
bOb_add_contact_and_be_invited_2917@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-11 11:40:26.660 ***🔗
bOb_add_contact_and_be_invited_2917@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a35d6286e9aca80a' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-03-11 11:40:26.660 ***🔗
bOb_add_contact_and_be_invited_2917@domain.example.com/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-03-11 11:40:26.660 ***🔗
bOb_add_contact_and_be_invited_2917@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfY29udGFjdF9hbmRfYmVfaW52aXRlZF8yOTE3AG1ha3JvbGlrYQ==</auth>



*** User 2024-03-11 11:40:26.662 ***🔗
bOb_add_contact_and_be_invited_2917@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-11 11:40:26.662 ***🔗
bOb_add_contact_and_be_invited_2917@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-11 11:40:26.662 ***🔗
bOb_add_contact_and_be_invited_2917@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='259c035bf455eb23' from='domain.example.com' version='1.0' xml:lang='en' to='bob_add_contact_and_be_invited_2917@domain.example.com'>

*** User 2024-03-11 11:40:26.662 ***🔗
bOb_add_contact_and_be_invited_2917@domain.example.com/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-03-11 11:40:26.662 ***🔗
bOb_add_contact_and_be_invited_2917@domain.example.com/res1 out
<iq type='set' id='380f9665f47c0d1e61fb463f125fc4cf'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-11 11:40:26.663 ***🔗
bOb_add_contact_and_be_invited_2917@domain.example.com/res1 in
<iq id='380f9665f47c0d1e61fb463f125fc4cf' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_add_contact_and_be_invited_2917@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-03-11 11:40:26.663 ***🔗
bob_add_contact_and_be_invited_2917@domain.example.com/res1 out
<iq type='set' id='43fc93b60b619ba05e8118ed8fb22a75'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 11:40:26.663 ***🔗
bob_add_contact_and_be_invited_2917@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_add_contact_and_be_invited_2917@domain.example.com/res1' id='43fc93b60b619ba05e8118ed8fb22a75' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 11:40:26.663 ***🔗
bob_add_contact_and_be_invited_2917@domain.example.com/res1 out
<presence/>



*** User 2024-03-11 11:40:26.665 ***🔗
bob_add_contact_and_be_invited_2917@domain.example.com/res1 in
<presence from='bob_add_contact_and_be_invited_2917@domain.example.com/res1' to='bob_add_contact_and_be_invited_2917@domain.example.com/res1'/>



*** User 2024-03-11 11:40:26.674 ***🔗
REST request:
Code: 200
Req: {<0.76517.0>,<<"/api/contacts">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"d425941ed5ccb499">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9jb250YWN0X2FuZF9iZV9pbnZpdGVkXzI5MTdAZG9tYWluLmV4YW1wbGUuY29tOm1ha3JvbGlrYQ==">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 11 Mar 2024 11:40:25 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"2">>}],
         <<"[]">>,125,3897}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,
          creds =>
              {<<"bob_add_contact_and_be_invited_2917@domain.example.com">>,
               <<"makrolika">>},
          method => <<"GET">>,role => client,return_headers => true}


*** User 2024-03-11 11:40:26.686 ***🔗
REST request:
Code: 204
Req: {<0.76550.0>,<<"/api/contacts">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"e2a662ac14f79e82">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9jb250YWN0X2FuZF9iZV9pbnZpdGVkXzI5MTdAZG9tYWluLmV4YW1wbGUuY29tOm1ha3JvbGlrYQ==">>}],
      <<"{\"jid\":\"alice_add_contact_and_be_invited_2917@domain.example.com\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 11 Mar 2024 11:40:25 GMT">>}],
         <<>>,80,6524}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          body =>
              <<"{\"jid\":\"alice_add_contact_and_be_invited_2917@domain.example.com\"}">>,
          creds =>
              {<<"bob_add_contact_and_be_invited_2917@domain.example.com">>,
               <<"makrolika">>},
          method => <<"POST">>,role => client,return_headers => true}


*** User 2024-03-11 11:40:26.686 ***🔗
bob_add_contact_and_be_invited_2917@domain.example.com/res1 in
<iq from='bob_add_contact_and_be_invited_2917@domain.example.com' to='bob_add_contact_and_be_invited_2917@domain.example.com/res1' id='pushdc7ca57bf6ffbdd5' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_add_contact_and_be_invited_2917@domain.example.com' subscription='none'/>
	</query>
</iq>



*** User 2024-03-11 11:40:26.744 ***🔗
REST request:
Code: 200
Req: {<0.76588.0>,<<"/api/contacts">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"814d6eea44eff4f2">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9jb250YWN0X2FuZF9iZV9pbnZpdGVkXzI5MTdAZG9tYWluLmV4YW1wbGUuY29tOm1ha3JvbGlrYQ==">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 11 Mar 2024 11:40:26 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"103">>}],
         <<"[{\"ask\":\"none\",\"subscription\":\"none\",\"jid\":\"alice_add_contact_and_be_invited_2917@domain.example.com\"}]">>,
         228,4552}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,
          creds =>
              {<<"bob_add_contact_and_be_invited_2917@domain.example.com">>,
               <<"makrolika">>},
          method => <<"GET">>,role => client,return_headers => true}


*** User 2024-03-11 11:40:26.745 ***🔗
alice_add_contact_and_be_invited_2917@domain.example.com/res1 out
<iq type='set' id='338b0f75001c491627ac5ac956243f5f'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_add_contact_and_be_invited_2917@domain.example.com' name='Bobek'/>
	</query>
</iq>



*** User 2024-03-11 11:40:26.749 ***🔗
alice_add_contact_and_be_invited_2917@domain.example.com/res1 in
<iq from='alice_add_contact_and_be_invited_2917@domain.example.com' to='alice_add_contact_and_be_invited_2917@domain.example.com/res1' id='push15fb41853cbc7def' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobek' jid='bob_add_contact_and_be_invited_2917@domain.example.com' subscription='none'/>
	</query>
</iq>



*** User 2024-03-11 11:40:26.749 ***🔗
alice_add_contact_and_be_invited_2917@domain.example.com/res1 in
<iq from='alice_add_contact_and_be_invited_2917@domain.example.com' to='alice_add_contact_and_be_invited_2917@domain.example.com/res1' id='338b0f75001c491627ac5ac956243f5f' type='result'/>



*** User 2024-03-11 11:40:26.749 ***🔗
alice_add_contact_and_be_invited_2917@domain.example.com/res1 out
<presence type='subscribe' to='bob_add_contact_and_be_invited_2917@domain.example.com'/>



*** User 2024-03-11 11:40:26.759 ***🔗
alice_add_contact_and_be_invited_2917@domain.example.com/res1 in
<iq from='alice_add_contact_and_be_invited_2917@domain.example.com' to='alice_add_contact_and_be_invited_2917@domain.example.com/res1' id='push8222dda175abf130' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobek' ask='subscribe' jid='bob_add_contact_and_be_invited_2917@domain.example.com' subscription='none'/>
	</query>
</iq>



*** User 2024-03-11 11:40:26.759 ***🔗
bob_add_contact_and_be_invited_2917@domain.example.com/res1 in
<presence from='alice_add_contact_and_be_invited_2917@domain.example.com' to='bob_add_contact_and_be_invited_2917@domain.example.com/res1' type='subscribe'/>



*** User 2024-03-11 11:40:26.775 ***🔗
REST request:
Code: 200
Req: {<0.76656.0>,<<"/api/contacts">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"4dc13c477f0a926d">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9jb250YWN0X2FuZF9iZV9pbnZpdGVkXzI5MTdAZG9tYWluLmV4YW1wbGUuY29tOm1ha3JvbGlrYQ==">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 11 Mar 2024 11:40:26 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"101">>}],
         <<"[{\"ask\":\"in\",\"subscription\":\"none\",\"jid\":\"alice_add_contact_and_be_invited_2917@domain.example.com\"}]">>,
         226,9825}
Params: #{path => <<"/api/contacts">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,
          creds =>
              {<<"bob_add_contact_and_be_invited_2917@domain.example.com">>,
               <<"makrolika">>},
          method => <<"GET">>,role => client,return_headers => true}


*** User 2024-03-11 11:40:26.843 ***🔗
REST request:
Code: 204
Req: {<0.76693.0>,
      <<"/api/contacts/alice_add_contact_and_be_invited_2917@domain.example.com">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"7e96af42cdaa8775">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FkZF9jb250YWN0X2FuZF9iZV9pbnZpdGVkXzI5MTdAZG9tYWluLmV4YW1wbGUuY29tOm1ha3JvbGlrYQ==">>}],
      <<"{\"action\":\"accept\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 11 Mar 2024 11:40:26 GMT">>}],
         <<>>,80,9363}
Params: #{path =>
              <<"/api/contacts/alice_add_contact_and_be_invited_2917@domain.example.com">>,
          server => #{node => mongooseim@localhost},
          body => <<"{\"action\":\"accept\"}">>,
          creds =>
              {<<"bob_add_contact_and_be_invited_2917@domain.example.com">>,
               <<"makrolika">>},
          method => <<"PUT">>,role => client,return_headers => true}


*** User 2024-03-11 11:40:26.844 ***🔗
bob_add_contact_and_be_invited_2917@domain.example.com/res1 in
<iq from='bob_add_contact_and_be_invited_2917@domain.example.com' to='bob_add_contact_and_be_invited_2917@domain.example.com/res1' id='pushdb9bafbb79881b22' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_add_contact_and_be_invited_2917@domain.example.com' subscription='from'/>
	</query>
</iq>



*** User 2024-03-11 11:40:26.844 ***🔗
alice_add_contact_and_be_invited_2917@domain.example.com/res1 in
<presence from='bob_add_contact_and_be_invited_2917@domain.example.com/res1' to='alice_add_contact_and_be_invited_2917@domain.example.com/res1'/>



*** User 2024-03-11 11:40:26.844 ***🔗
alice_add_contact_and_be_invited_2917@domain.example.com/res1 in
<iq from='alice_add_contact_and_be_invited_2917@domain.example.com' to='alice_add_contact_and_be_invited_2917@domain.example.com/res1' id='pushf0aa1ad26a9d8a80' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobek' jid='bob_add_contact_and_be_invited_2917@domain.example.com' subscription='to'/>
	</query>
</iq>



*** User 2024-03-11 11:40:26.844 ***🔗
alice_add_contact_and_be_invited_2917@domain.example.com/res1 in
<presence from='bob_add_contact_and_be_invited_2917@domain.example.com' to='alice_add_contact_and_be_invited_2917@domain.example.com/res1' type='subscribed'/>



*** User 2024-03-11 11:40:26.845 ***🔗
bob_add_contact_and_be_invited_2917@domain.example.com/res1 out
</stream:stream>

*** User 2024-03-11 11:40:26.845 ***🔗
bob_add_contact_and_be_invited_2917@domain.example.com/res1 in
</stream:stream>

*** User 2024-03-11 11:40:26.845 ***🔗
alice_add_contact_and_be_invited_2917@domain.example.com/res1 out
</stream:stream>

*** User 2024-03-11 11:40:26.845 ***🔗
alice_add_contact_and_be_invited_2917@domain.example.com/res1 in
</stream:stream>
*** CT 2024-03-11 11:40:26.848 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2681.html



=== Ended at 2024-03-11 11:40:26
=== successfully completed test case
=== === Returned value: ok