diff --git a/sdk/communication/CONTRIBUTING.md b/sdk/communication/CONTRIBUTING.md index 1f5b9f3e42c3..f95ae940d23e 100644 --- a/sdk/communication/CONTRIBUTING.md +++ b/sdk/communication/CONTRIBUTING.md @@ -10,6 +10,9 @@ Let's get started with how to setup the repo itself. To get started with any of the packages, change directory to the package you want to install and run the `pip install .` command. This will install all of the local files necessary for you to run the corresponding tests. It's important to note that if you made changes to the local files and want to run the tests again, you must run the `pip install .` command from the package root folder to update the files with your new changes. +In each SDK directory, run the following command to ensure packages to support development is installed correctly, +`python -m pip install -r .\dev_requirements.txt`. + Once the package has been installed on your machine, let's jump on how to run the tests to see that everything is in order. ## Testing diff --git a/sdk/communication/azure-communication-chat/azure/communication/chat/_shared/policy.py b/sdk/communication/azure-communication-chat/azure/communication/chat/_shared/policy.py index b2a0de8d4238..d4197ede0e38 100644 --- a/sdk/communication/azure-communication-chat/azure/communication/chat/_shared/policy.py +++ b/sdk/communication/azure-communication-chat/azure/communication/chat/_shared/policy.py @@ -51,7 +51,7 @@ def _sign_request(self, request): if self._decode_url: query_url = urllib.parse.unquote(query_url) - signed_headers = "date;host;x-ms-content-sha256" + signed_headers = "x-ms-date;host;x-ms-content-sha256" utc_now = get_current_utc_time() if request.http_request.body is None: @@ -76,7 +76,7 @@ def _sign_request(self, request): signature = self._compute_hmac(string_to_sign) signature_header = { - "Date": utc_now, + "x-ms-date": utc_now, "x-ms-content-sha256": content_hash, "x-ms-return-client-request-id": "true", "Authorization": "HMAC-SHA256 SignedHeaders=" +\ diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_access_token_validation.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_access_token_validation.yaml index 509b85ed33f4..fcf7d1f38d4c 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_access_token_validation.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_access_token_validation.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 01:59:44 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:51:50 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb0-c7c7-54b7-a43a0d000907"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d55f-fdf3-f6c7-593a0d009fe2"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 01:59:41 GMT + - Tue, 22 Jun 2021 20:51:50 GMT ms-cv: - - fHGI8ZHBdE6FWWcLXb9+rw.0 + - vSCUJP34TE698k75/G+nGQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 18ms + - 49ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 01:59:44 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:51:50 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T01:59:41.6383161+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:51:50.0857826+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 01:59:41 GMT + - Tue, 22 Jun 2021 20:51:50 GMT ms-cv: - - EfrrYu6M0kqvH0XENzwnDQ.0 + - cAHNVCW16kaXydTs9QHoPA.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 149ms + - 65ms status: code: 200 message: OK @@ -99,32 +103,34 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 183597c1-141c-48f7-8f36-536594b699bf + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - fa6291de-4be7-4a5d-9269-277457040344 method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:QpGlH_w2Jtw0OFUlTwFjkp_BMdOpuYobb064odI3LEo1@thread.v2", - "topic": "test topic1", "createdOn": "2021-03-23T01:59:42Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb0-c7c7-54b7-a43a0d000907", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb0-c7c7-54b7-a43a0d000907"}}}}' + body: '{"chatThread": {"id": "19:0OpwXD84zHNn-hB5SAUm4xePrMNmulZ33M6QIOQKNdU1@thread.v2", + "topic": "test topic1", "createdOn": "2021-06-22T20:51:51Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d55f-fdf3-f6c7-593a0d009fe2", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d55f-fdf3-f6c7-593a0d009fe2"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 01:59:42 GMT + - Tue, 22 Jun 2021 20:51:52 GMT ms-cv: - - 0QDsoA/PIkSNRfA85F0svg.0 + - +0LZ8diz9UmrKxeDG80Jnw.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 863ms + - 958ms status: code: 201 message: Created @@ -138,7 +144,7 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: @@ -146,19 +152,21 @@ interactions: headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 01:59:42 GMT + - Tue, 22 Jun 2021 20:51:52 GMT ms-cv: - - K4ohqxXMoUiwfIc1+DvMDA.0 + - Ppc2hEf7IE2e1hwxmRJAkg.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 145ms + - 83ms status: code: 200 message: OK @@ -173,30 +181,27 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 01:59:46 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - x-ms-return-client-request-id: - - 'true' + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, + 2021-03-07, 2021-04-05-preview6 date: - - Tue, 23 Mar 2021 01:59:43 GMT + - Tue, 22 Jun 2021 20:51:52 GMT ms-cv: - - lhO99myGHEqzfNHwBCBFIQ.0 - request-context: - - appId= + - fOJFQH20WkCsu48gFB3gTg.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 625ms + - 281ms status: code: 204 message: No Content @@ -212,24 +217,31 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:51:53 GMT + x-ms-return-client-request-id: + - 'true' method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 01:59:44 GMT + - Tue, 22 Jun 2021 20:51:53 GMT ms-cv: - - 6ya6A5CIZUmKVJS7j0PAQQ.0 + - yB9hp9ZolUu13FJoHHgR0w.0 + request-context: + - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 164ms + - 497ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_create_chat_thread.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_create_chat_thread.yaml index 84dbd7f52693..1eaf939f6d2b 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_create_chat_thread.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_create_chat_thread.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 01:59:47 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:51:53 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb0-d362-80f5-8b3a0d002f4e"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-0a75-ceb1-a43a0d00bdeb"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 01:59:44 GMT + - Tue, 22 Jun 2021 20:51:53 GMT ms-cv: - - uflYkslnJ0az1K57+xY24w.0 + - f4bZLHwBdECjuyyImBosHQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 22ms + - 69ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 01:59:47 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:51:54 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T01:59:44.5046882+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:51:53.3896803+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 01:59:44 GMT + - Tue, 22 Jun 2021 20:51:54 GMT ms-cv: - - NHQbqzwTnEmQN4kTm9h+DQ.0 + - GGUPhGRaNUCkR38QUSVFGA.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 150ms + - 137ms status: code: 200 message: OK @@ -95,36 +99,38 @@ interactions: Connection: - keep-alive Content-Length: - - '258' + - '349' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 7c9537bd-2f39-44df-a26a-a2fa79edbe52 + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - c6bc96ed-cd7d-4809-bb2f-1b9278681d01 method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:BYxo7l_Y6soquzd7Oy778gz14edJEaEjMtKCGxLOXN81@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T01:59:45Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb0-d362-80f5-8b3a0d002f4e", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb0-d362-80f5-8b3a0d002f4e"}}}}' + body: '{"chatThread": {"id": "19:LM_q8olIzgltuHK6uNMVuo4u7FH0NaJO_HPHSFfMuIk1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:51:54Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-0a75-ceb1-a43a0d00bdeb", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-0a75-ceb1-a43a0d00bdeb"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 01:59:46 GMT + - Tue, 22 Jun 2021 20:51:55 GMT ms-cv: - - Z4eZicRU/EGxlcnkewHl4g.0 + - ewF6qFpHKEikQywJ1GSbDA.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 667ms + - 508ms status: code: 201 message: Created @@ -139,30 +145,27 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 01:59:48 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - x-ms-return-client-request-id: - - 'true' + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, + 2021-03-07, 2021-04-05-preview6 date: - - Tue, 23 Mar 2021 01:59:46 GMT + - Tue, 22 Jun 2021 20:51:55 GMT ms-cv: - - U1WddTr9b0m75baizF2oTg.0 - request-context: - - appId= + - 1bYLG1U8+UuXKdfWHMC3xQ.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 906ms + - 108ms status: code: 204 message: No Content @@ -178,24 +181,31 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:51:55 GMT + x-ms-return-client-request-id: + - 'true' method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 01:59:47 GMT + - Tue, 22 Jun 2021 20:51:55 GMT ms-cv: - - Y5zdwC9idEugEjPPH1Qblg.0 + - 2lggGcjKFEKHSRPaC+Tdtg.0 + request-context: + - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 184ms + - 685ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_create_chat_thread_w_no_participants.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_create_chat_thread_w_no_participants.yaml index 361c89384971..fa647e635369 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_create_chat_thread_w_no_participants.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_create_chat_thread_w_no_participants.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 01:59:50 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:51:56 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb0-de48-1000-343a0d000add"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-1534-9806-113a0d002a51"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 01:59:47 GMT + - Tue, 22 Jun 2021 20:51:56 GMT ms-cv: - - AzG/QSHtjkOFVdbh6V7s6A.0 + - KZYlls6Ju0uv3K93fXVuBA.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 32ms + - 123ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 01:59:50 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:51:57 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T01:59:47.1232489+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:51:56.2488809+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 01:59:47 GMT + - Tue, 22 Jun 2021 20:51:57 GMT ms-cv: - - xzyDRZIa70iilFv36NBznA.0 + - dPgBczYazEKv4sjiHqB9Gw.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 34ms + - 165ms status: code: 200 message: OK @@ -99,32 +103,34 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 5d2562a6-0fee-427a-9477-e09a152aa74e + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 0587da26-8d1a-4b03-ade7-f702310b3e17 method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:fxoIRZPJMm6dXjLMT4k8tnmYPCBnlae4kQGQNthvJeI1@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T01:59:48Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb0-de48-1000-343a0d000add", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb0-de48-1000-343a0d000add"}}}}' + body: '{"chatThread": {"id": "19:EyT1M86f22dSYWHcXYA5QmKJ-EVOiXZ5TrkGPn0N1HY1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:51:57Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-1534-9806-113a0d002a51", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-1534-9806-113a0d002a51"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 01:59:47 GMT + - Tue, 22 Jun 2021 20:51:57 GMT ms-cv: - - yGpzNDBNdkSkJ2suBlHl1g.0 + - k0JPeei4/kykVHAe4VoHrQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 460ms + - 725ms status: code: 201 message: Created @@ -139,30 +145,27 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 01:59:51 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - x-ms-return-client-request-id: - - 'true' + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, + 2021-03-07, 2021-04-05-preview6 date: - - Tue, 23 Mar 2021 01:59:49 GMT + - Tue, 22 Jun 2021 20:51:58 GMT ms-cv: - - g9mXZj5R30i7lcnY19fLfA.0 - request-context: - - appId= + - L2klub7EVU2txmVdZFb2pw.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 1009ms + - 169ms status: code: 204 message: No Content @@ -178,24 +181,31 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:51:58 GMT + x-ms-return-client-request-id: + - 'true' method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 01:59:49 GMT + - Tue, 22 Jun 2021 20:51:59 GMT ms-cv: - - 1ikoodygZ06DDnx6IugNNg.0 + - KeGcNL0Fh0ebitakfwUzAQ.0 + request-context: + - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 180ms + - 789ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_create_chat_thread_w_repeatability_request_id.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_create_chat_thread_w_repeatability_request_id.yaml index 07b5a09c9d61..120f929b1131 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_create_chat_thread_w_repeatability_request_id.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_create_chat_thread_w_repeatability_request_id.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 01:59:52 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:51:59 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb0-e749-eef0-8b3a0d002831"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-2139-28c5-593a0d001bbf"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 01:59:50 GMT + - Tue, 22 Jun 2021 20:51:59 GMT ms-cv: - - kNOIjBzdUkSSdMXvK6WDtg.0 + - HZFqLa4hkUyGMVEld3KdVA.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 20ms + - 51ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 01:59:52 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:51:59 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T01:59:49.6172094+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:51:59.096303+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 01:59:50 GMT + - Tue, 22 Jun 2021 20:51:59 GMT ms-cv: - - M2bq+LiyUky0hQEsxZJR/g.0 + - hZ+lbd0rsUmh4681jrgnYg.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 156ms + - 65ms status: code: 200 message: OK @@ -95,36 +99,38 @@ interactions: Connection: - keep-alive Content-Length: - - '256' + - '349' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 12f32c6b-8a13-45af-95ce-d2e492fd71c8 + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 9853473b-2e19-48a9-9e01-7213d5a48b17 method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:XZn_jacKh5zU8vmPN3IskLxeXZfM-MBU1d7NzdVwPF01@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T01:59:51Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb0-e749-eef0-8b3a0d002831", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb0-e749-eef0-8b3a0d002831"}}}}' + body: '{"chatThread": {"id": "19:baoPhoV0MBRwCFaTw9B6KTXk9IPD6BdiXpmtgzOiZMU1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:52:00Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-2139-28c5-593a0d001bbf", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-2139-28c5-593a0d001bbf"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 01:59:52 GMT + - Tue, 22 Jun 2021 20:52:00 GMT ms-cv: - - +bSS41dlrEC+Zl36+g3LMg.0 + - kGbFzY/Kk0ytZH55SddRAg.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 1606ms + - 417ms status: code: 201 message: Created @@ -138,36 +144,38 @@ interactions: Connection: - keep-alive Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 12f32c6b-8a13-45af-95ce-d2e492fd71c8 + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 9853473b-2e19-48a9-9e01-7213d5a48b17 method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:XZn_jacKh5zU8vmPN3IskLxeXZfM-MBU1d7NzdVwPF01@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T01:59:51Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb0-e749-eef0-8b3a0d002831", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb0-e749-eef0-8b3a0d002831"}}}}' + body: '{"chatThread": {"id": "19:baoPhoV0MBRwCFaTw9B6KTXk9IPD6BdiXpmtgzOiZMU1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:52:00Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-2139-28c5-593a0d001bbf", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-2139-28c5-593a0d001bbf"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 01:59:52 GMT + - Tue, 22 Jun 2021 20:52:00 GMT ms-cv: - - batYK2U7QkOf5ILJ8H+GZQ.0 + - uD0G+0wiIUWTNMOyZ0YwMA.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 266ms + - 324ms status: code: 201 message: Created @@ -182,30 +190,27 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 01:59:55 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - x-ms-return-client-request-id: - - 'true' + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, + 2021-03-07, 2021-04-05-preview6 date: - - Tue, 23 Mar 2021 01:59:53 GMT + - Tue, 22 Jun 2021 20:52:00 GMT ms-cv: - - ZTRkKS4ni0GZRN2DXVGuOg.0 - request-context: - - appId= + - EOkx3+UMpUiLV24IbB04lg.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 701ms + - 156ms status: code: 204 message: No Content @@ -221,24 +226,31 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:01 GMT + x-ms-return-client-request-id: + - 'true' method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 01:59:53 GMT + - Tue, 22 Jun 2021 20:52:01 GMT ms-cv: - - qyTr+rr23UaXeKdRI9MACg.0 + - 4ibqaJ1kXE29KWKliFiPoQ.0 + request-context: + - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 118ms + - 849ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_delete_chat_thread.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_delete_chat_thread.yaml index bd406251a27c..7e547b20ff4c 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_delete_chat_thread.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_delete_chat_thread.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 01:59:56 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:02 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb0-f66e-defd-8b3a0d002c4f"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-2ca4-ceb1-a43a0d00bdf0"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 01:59:53 GMT + - Tue, 22 Jun 2021 20:52:02 GMT ms-cv: - - f7L/URyIcEyJ/hlffArpvg.0 + - LCJeZi2K80KbwaRWe9X53w.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 29ms + - 69ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 01:59:56 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:02 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T01:59:53.4873853+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:52:02.1225636+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 01:59:54 GMT + - Tue, 22 Jun 2021 20:52:02 GMT ms-cv: - - fA1HowjENU2BSh15UH/Lnw.0 + - k6lr9tU5H0mMyqWL4OzpHg.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 159ms + - 134ms status: code: 200 message: OK @@ -95,36 +99,38 @@ interactions: Connection: - keep-alive Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 1213f59f-b296-4338-896f-8a0d2e78ba78 + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 86c48417-b6bc-4cd0-b961-dea8ef0c8b0f method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:abJXrsagnDHX3cZW8lc4Eg52E_boDKgmBqcxUui5pL41@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T01:59:54Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb0-f66e-defd-8b3a0d002c4f", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb0-f66e-defd-8b3a0d002c4f"}}}}' + body: '{"chatThread": {"id": "19:tdfwwXihXDa8rsRse8l9B9hzKwqjOdap_gAcdLfikGI1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:52:03Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-2ca4-ceb1-a43a0d00bdf0", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-2ca4-ceb1-a43a0d00bdf0"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 01:59:54 GMT + - Tue, 22 Jun 2021 20:52:03 GMT ms-cv: - - cJT7n82hukmpnwZJ9J1zwg.0 + - eX/cox2sDEWqdZ2KfjE5ZQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 378ms + - 644ms status: code: 201 message: Created @@ -140,7 +146,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: @@ -149,15 +155,17 @@ interactions: headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 date: - - Tue, 23 Mar 2021 01:59:55 GMT + - Tue, 22 Jun 2021 20:52:03 GMT ms-cv: - - m/AVKdvCd02mCdtbOB0Ayg.0 + - d00+LMTFpUGitUriihYSJQ.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 121ms + - 194ms status: code: 204 message: No Content @@ -172,30 +180,27 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 01:59:57 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - x-ms-return-client-request-id: - - 'true' + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, + 2021-03-07, 2021-04-05-preview6 date: - - Tue, 23 Mar 2021 02:00:06 GMT + - Tue, 22 Jun 2021 20:52:04 GMT ms-cv: - - biayCudeBkWOn3yVTXAYHw.0 - request-context: - - appId= + - GPC1/PSvBE2rK0syf8hL6A.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11281ms + - 108ms status: code: 204 message: No Content @@ -211,24 +216,31 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:04 GMT + x-ms-return-client-request-id: + - 'true' method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:00:06 GMT + - Tue, 22 Jun 2021 20:52:05 GMT ms-cv: - - /a0SccwV+EyPJ/WfeqlOxQ.0 + - 6H/JZr2bRkCZemzgoxAUwQ.0 + request-context: + - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 91ms + - 778ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_get_thread_client.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_get_thread_client.yaml index e312e8e2b1c3..fbdd58d17623 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_get_thread_client.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_get_thread_client.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:09 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:05 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-28ac-47b4-a43a0d0015da"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-393c-71bf-a43a0d00bb84"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:07 GMT + - Tue, 22 Jun 2021 20:52:05 GMT ms-cv: - - HzzTiS9QqUqeHnaakcGZ+w.0 + - YDWH0ukBjU2aYAUz/jD7Pw.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 18ms + - 101ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:09 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:06 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:00:06.3203994+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:52:05.3848576+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:07 GMT + - Tue, 22 Jun 2021 20:52:05 GMT ms-cv: - - tLhooADcyESS1ajGze6ePw.0 + - ZLU/DNyJfUGKjlLVbVIo0Q.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 153ms + - 167ms status: code: 200 message: OK @@ -95,36 +99,38 @@ interactions: Connection: - keep-alive Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - d2f8f718-69db-49da-91f8-d0783b9d093c + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 1f86cf03-f998-4b6a-9d80-eb795b4d78c0 method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:MwQvTLMD0QBUFBXeXIY_0IVfRGvSPfaVQa-aATov1_w1@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:00:07Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-28ac-47b4-a43a0d0015da", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-28ac-47b4-a43a0d0015da"}}}}' + body: '{"chatThread": {"id": "19:V41iISKlCQRg67Jwb7-K1BSJBq-bxYb2dARsXNarYS41@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:52:06Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-393c-71bf-a43a0d00bb84", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-393c-71bf-a43a0d00bb84"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:08 GMT + - Tue, 22 Jun 2021 20:52:06 GMT ms-cv: - - Z1pUgAlLRkmaAG/Ac1SQNg.0 + - AJhAjaimzE2MvIIdIMf3Tg.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 944ms + - 573ms status: code: 201 message: Created @@ -139,30 +145,27 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:00:10 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - x-ms-return-client-request-id: - - 'true' + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, + 2021-03-07, 2021-04-05-preview6 date: - - Tue, 23 Mar 2021 02:00:09 GMT + - Tue, 22 Jun 2021 20:52:06 GMT ms-cv: - - il8/1DiR+kqDeqcPiTiQdw.0 - request-context: - - appId= + - i+4bX327DEeBUOIFU2jUqg.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 1294ms + - 158ms status: code: 204 message: No Content @@ -178,24 +181,31 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:07 GMT + x-ms-return-client-request-id: + - 'true' method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:00:10 GMT + - Tue, 22 Jun 2021 20:52:09 GMT ms-cv: - - DFrdpdvvYkKOOKHjoyKrAg.0 + - V0Q6d9eupkiPq53LK9K21g.0 + request-context: + - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 233ms + - 2023ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_list_chat_threads.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_list_chat_threads.yaml index 4e0abdd0a2f3..3c53831c4e1a 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_list_chat_threads.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_list_chat_threads.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:12 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:09 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-35a0-ac00-343a0d0029b8"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-4924-ceb1-a43a0d00bdf1"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:10 GMT + - Tue, 22 Jun 2021 20:52:09 GMT ms-cv: - - 1PXolSLN3UWbfWP3Ba3psA.0 + - W70fntTim0iRoBmVnHyZPQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 19ms + - 62ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:12 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:10 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:00:09.543551+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:52:09.4380765+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:10 GMT + - Tue, 22 Jun 2021 20:52:09 GMT ms-cv: - - uT3r9w3h6EG8bTTWwVJA5g.0 + - jM6nJq4WUUKkpZo9ye/2Hw.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 26ms + - 130ms status: code: 200 message: OK @@ -95,36 +99,38 @@ interactions: Connection: - keep-alive Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 22f9b695-8817-4e72-a6f8-d24cd0226aac + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - a9a8c11d-0ceb-4bd5-9763-a2acad21bf21 method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:Zy6nhCxHPwyMHQYL1-KH4ky6KkPtCUEzZoL6ZBYupHo1@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:00:10Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-35a0-ac00-343a0d0029b8", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-35a0-ac00-343a0d0029b8"}}}}' + body: '{"chatThread": {"id": "19:qOEr5Gk8t3D51yo9xhFS77rwmzDD2Mc2qC3tZtag27A1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:52:10Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-4924-ceb1-a43a0d00bdf1", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-4924-ceb1-a43a0d00bdf1"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:10 GMT + - Tue, 22 Jun 2021 20:52:10 GMT ms-cv: - - fJ4DKCpt2k+VchVRXIvaYg.0 + - 4+bBwEXHXE2zCya+ryunJA.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 656ms + - 667ms status: code: 201 message: Created @@ -138,7 +144,7 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/chat/threads?maxPageSize=1&api-version=2021-03-07 response: @@ -146,19 +152,21 @@ interactions: headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:12 GMT + - Tue, 22 Jun 2021 20:52:13 GMT ms-cv: - - ekqdBMd5J0GrP4WHmBN4Lg.0 + - pX4cwuqJe0SJay2Gyaw+zQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 99ms + - 105ms status: code: 200 message: OK @@ -173,30 +181,27 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:00:15 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - x-ms-return-client-request-id: - - 'true' + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, + 2021-03-07, 2021-04-05-preview6 date: - - Tue, 23 Mar 2021 02:00:14 GMT + - Tue, 22 Jun 2021 20:52:13 GMT ms-cv: - - boCHRYE7yEiQX35rgfe7sg.0 - request-context: - - appId= + - 1ZpLuvKBpEGY+7NhkazJ2w.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 1040ms + - 170ms status: code: 204 message: No Content @@ -212,24 +217,31 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:14 GMT + x-ms-return-client-request-id: + - 'true' method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:00:14 GMT + - Tue, 22 Jun 2021 20:52:13 GMT ms-cv: - - hW3wa+kWjEmc8M0tyUWsVQ.0 + - qpnAW7teXUaMzuBaE/HE+w.0 + request-context: + - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 191ms + - 771ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_create_chat_thread_async.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_create_chat_thread_async.yaml index 3d27906fb5fb..6f40a2a2b53f 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_create_chat_thread_async.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_create_chat_thread_async.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:17 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:14 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-491d-80f5-8b3a0d002f66"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-5eba-9806-113a0d002a58"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:15 GMT + - Tue, 22 Jun 2021 20:52:15 GMT ms-cv: - - 352Nh1MVSUqiXYBQc4W/1Q.0 + - lrP95kLyUE2RhgWRM0xbaw.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 12ms + - 95ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:17 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:15 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:00:14.6547958+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:52:15.0461768+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:15 GMT + - Tue, 22 Jun 2021 20:52:15 GMT ms-cv: - - wSlPJuUqHUSBpymMhN04DA.0 + - BBgY2fTxVEy5EhznI9pKEA.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 150ms + - 156ms status: code: 200 message: OK @@ -91,29 +95,30 @@ interactions: Accept: - application/json Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - b444f34d-c535-4c6c-bb69-c0825b7062ef + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 9f521261-6c27-45b4-ab58-372720169acb method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:SCmNqWfHFr0rNuEOzn9NVbXIpexZc0n6nqGVTzA9iAg1@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:00:15Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-491d-80f5-8b3a0d002f66", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-491d-80f5-8b3a0d002f66"}}}}' + body: '{"chatThread": {"id": "19:5OTItLkfqgNZNbdkZJGi0Tw7Gk3947sX4ushhmOXPCI1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:52:16Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-5eba-9806-113a0d002a58", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-5eba-9806-113a0d002a58"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:00:16 GMT - ms-cv: CqqD1gjh90OyD8aexodATw.0 + date: Tue, 22 Jun 2021 20:52:16 GMT + ms-cv: 4ST5GKZFYk6p3Xtr48//Pg.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 543ms + x-cache: CONFIG_NOCACHE + x-processing-time: 594ms status: code: 201 message: Created @@ -124,7 +129,7 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: @@ -132,11 +137,12 @@ interactions: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 - date: Tue, 23 Mar 2021 02:00:16 GMT - ms-cv: OG6kgWwHHE27SJRl8oV2Qg.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + date: Tue, 22 Jun 2021 20:52:16 GMT + ms-cv: 3wsOIOWPBkuiQC7iTEF5aQ.0 strict-transport-security: max-age=2592000 - x-processing-time: 169ms + x-cache: CONFIG_NOCACHE + x-processing-time: 177ms status: code: 204 message: No Content @@ -152,10 +158,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:00:19 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:17 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -165,17 +171,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:00:17 GMT + - Tue, 22 Jun 2021 20:52:18 GMT ms-cv: - - X1uY0axZi0GR7WnLRfIprg.0 + - u9UPqVKkgEmt/w2caavvGQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 778ms + - 914ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_create_chat_thread_w_no_participants_async.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_create_chat_thread_w_no_participants_async.yaml index 7384b940d4f2..4ddb3da38fd8 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_create_chat_thread_w_no_participants_async.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_create_chat_thread_w_no_participants_async.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:19 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:18 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-524f-47b4-a43a0d0015dd"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-6ba4-51b9-a43a0d0093f5"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:17 GMT + - Tue, 22 Jun 2021 20:52:18 GMT ms-cv: - - cFmjkEAy30CPv+8z3rRBSA.0 + - zjSh6ObOn0Kx8GCRti+iOg.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 12ms + - 105ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:20 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:19 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:00:16.965431+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:52:18.2935729+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:17 GMT + - Tue, 22 Jun 2021 20:52:18 GMT ms-cv: - - 967OF2qHbkGUs8cvRF417g.0 + - 4l2QFgYaT06TZVzmMDmgIA.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 151ms + - 178ms status: code: 200 message: OK @@ -95,25 +99,26 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - da0cf59e-36c6-4bdb-b929-a9f2474e4b4f + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 8d8b5540-2c6a-4722-8e95-299ec5e4f3cf method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:LpR0EuWSH9e86rZJskmJg9Y25nnYDf7bXfWR8UDe6pc1@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:00:18Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-524f-47b4-a43a0d0015dd", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-524f-47b4-a43a0d0015dd"}}}}' + body: '{"chatThread": {"id": "19:0KyXGTSmW4__jXsrXdhuZ11gb50yZh_0LKKhtkVNtbo1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:52:19Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-6ba4-51b9-a43a0d0093f5", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-6ba4-51b9-a43a0d0093f5"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:00:18 GMT - ms-cv: VvQccxfU20KE5W3FJEcjlw.0 + date: Tue, 22 Jun 2021 20:52:20 GMT + ms-cv: uIgLKvBgaU2uqOf0xBEZDg.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 545ms + x-cache: CONFIG_NOCACHE + x-processing-time: 529ms status: code: 201 message: Created @@ -124,7 +129,7 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: @@ -132,11 +137,12 @@ interactions: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 - date: Tue, 23 Mar 2021 02:00:18 GMT - ms-cv: Sd9ZGwFfN0K5qFmJYP8gzQ.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + date: Tue, 22 Jun 2021 20:52:20 GMT + ms-cv: Hlu6bmKxBkeFxBtf6pExUA.0 strict-transport-security: max-age=2592000 - x-processing-time: 246ms + x-cache: CONFIG_NOCACHE + x-processing-time: 108ms status: code: 204 message: No Content @@ -152,10 +158,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:00:21 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:20 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -165,17 +171,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:00:19 GMT + - Tue, 22 Jun 2021 20:52:21 GMT ms-cv: - - +pGts6cKfUCConndAEbKyA.0 + - B1y8Zlm4FEeeZ4IGvzVfNA.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 629ms + - 825ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_create_chat_thread_w_repeatability_request_id_async.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_create_chat_thread_w_repeatability_request_id_async.yaml index 25f3a44d6f22..aa543399db5c 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_create_chat_thread_w_repeatability_request_id_async.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_create_chat_thread_w_repeatability_request_id_async.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:22 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:21 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-5c36-80f5-8b3a0d002f68"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-77dc-f6c7-593a0d009fe9"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:20 GMT + - Tue, 22 Jun 2021 20:52:21 GMT ms-cv: - - w9/BQ/BDMkaf+veW//ZJYw.0 + - +YwKWQsXzkScD6ust3GIiw.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11ms + - 74ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:22 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:22 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:00:19.5297847+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:52:21.2418757+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:20 GMT + - Tue, 22 Jun 2021 20:52:22 GMT ms-cv: - - MuuCcfcVxUqQAr9+CGUwUA.0 + - Zj9KI87hAUKrZJHga6zfkQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 150ms + - 37ms status: code: 200 message: OK @@ -91,29 +95,30 @@ interactions: Accept: - application/json Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 1f15f963-d11c-4a45-aabf-7bcdde228993 + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 472eca96-c164-4ca5-b4db-e9a159504505 method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:-NtpoqgB77uWn9aWX5eCOtkoyhn6GrtusFW8o1dHIu41@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:00:20Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-5c36-80f5-8b3a0d002f68", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-5c36-80f5-8b3a0d002f68"}}}}' + body: '{"chatThread": {"id": "19:z524nkZNk3nmijkg6pYKT3aHFSqaAnjruZ15gorU1Gg1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:52:22Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-77dc-f6c7-593a0d009fe9", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-77dc-f6c7-593a0d009fe9"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:00:21 GMT - ms-cv: 9CIvBRrADU2N40/1WHPBFg.0 + date: Tue, 22 Jun 2021 20:52:22 GMT + ms-cv: 3OFCTqMk5UCSLAdCEMTtrQ.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 648ms + x-cache: CONFIG_NOCACHE + x-processing-time: 343ms status: code: 201 message: Created @@ -124,29 +129,30 @@ interactions: Accept: - application/json Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 1f15f963-d11c-4a45-aabf-7bcdde228993 + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 472eca96-c164-4ca5-b4db-e9a159504505 method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:-NtpoqgB77uWn9aWX5eCOtkoyhn6GrtusFW8o1dHIu41@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:00:20Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-5c36-80f5-8b3a0d002f68", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-5c36-80f5-8b3a0d002f68"}}}}' + body: '{"chatThread": {"id": "19:z524nkZNk3nmijkg6pYKT3aHFSqaAnjruZ15gorU1Gg1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:52:22Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-77dc-f6c7-593a0d009fe9", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-77dc-f6c7-593a0d009fe9"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:00:21 GMT - ms-cv: CPUgnBu3Gke6jF8Q96+CLQ.0 + date: Tue, 22 Jun 2021 20:52:22 GMT + ms-cv: ysfM12uJ80a0KsSChilJeg.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 310ms + x-cache: CONFIG_NOCACHE + x-processing-time: 223ms status: code: 201 message: Created @@ -157,7 +163,7 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: @@ -165,11 +171,12 @@ interactions: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 - date: Tue, 23 Mar 2021 02:00:21 GMT - ms-cv: Gho1JmO8LUed6YJBiYEwlA.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + date: Tue, 22 Jun 2021 20:52:23 GMT + ms-cv: IeyURAjdEUeXe8t6++bOUg.0 strict-transport-security: max-age=2592000 - x-processing-time: 173ms + x-cache: CONFIG_NOCACHE + x-processing-time: 286ms status: code: 204 message: No Content @@ -185,10 +192,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:00:24 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:24 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -198,17 +205,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:00:22 GMT + - Tue, 22 Jun 2021 20:52:24 GMT ms-cv: - - yvp5zvbiykmDfNUy0/5opg.0 + - wZ0dtedx60qJURutofHpxA.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 722ms + - 688ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_delete_chat_thread.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_delete_chat_thread.yaml index f11d257b69f7..396965e752de 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_delete_chat_thread.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_delete_chat_thread.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:25 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:25 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-66a4-defd-8b3a0d002c62"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-8736-9806-113a0d002a5b"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:22 GMT + - Tue, 22 Jun 2021 20:52:26 GMT ms-cv: - - ZFqWk+YogE26Kt8RA8Pong.0 + - pg7/XMlZ6k+ghW3ewBIGww.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11ms + - 92ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:25 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:26 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:00:22.2069578+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:52:25.4830008+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:22 GMT + - Tue, 22 Jun 2021 20:52:26 GMT ms-cv: - - y5w0siklgke8SEizpiWRYg.0 + - sJbW3M3D7EqBJAyD2O+3rw.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 160ms + - 167ms status: code: 200 message: OK @@ -91,29 +95,30 @@ interactions: Accept: - application/json Content-Length: - - '257' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - c3b06f54-cb81-4708-885f-264131b7b518 + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - e3d2cd5a-8940-472f-a4a9-efce0f4d3abb method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:xG9gXQbfk6W8q1vMFGNWhDzjMpahAJwX_Kp76_-RE-s1@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:00:23Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-66a4-defd-8b3a0d002c62", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-66a4-defd-8b3a0d002c62"}}}}' + body: '{"chatThread": {"id": "19:43_h7rasMUfHonmcY5qxSv2o0lAK2BfUmPl9E0uUfmU1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:52:27Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-8736-9806-113a0d002a5b", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-8736-9806-113a0d002a5b"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:00:23 GMT - ms-cv: l5qvuRupC0mK0OqLp7bsXA.0 + date: Tue, 22 Jun 2021 20:52:27 GMT + ms-cv: WMOPSchIikmmQDHr+9gv4g.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 758ms + x-cache: CONFIG_NOCACHE + x-processing-time: 568ms status: code: 201 message: Created @@ -124,7 +129,7 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: @@ -132,11 +137,12 @@ interactions: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 - date: Tue, 23 Mar 2021 02:00:23 GMT - ms-cv: MV7CXSmr40m/UBnm3VNf+w.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + date: Tue, 22 Jun 2021 20:52:27 GMT + ms-cv: MzbJCCwBj0GUpBzxDXQnAA.0 strict-transport-security: max-age=2592000 - x-processing-time: 223ms + x-cache: CONFIG_NOCACHE + x-processing-time: 130ms status: code: 204 message: No Content @@ -147,7 +153,7 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: @@ -155,11 +161,12 @@ interactions: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 - date: Tue, 23 Mar 2021 02:00:23 GMT - ms-cv: 03VKMNy1CUCxhrnrdcHlNg.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + date: Tue, 22 Jun 2021 20:52:28 GMT + ms-cv: kkb1Qs2qGESjwci1N+fo+Q.0 strict-transport-security: max-age=2592000 - x-processing-time: 95ms + x-cache: CONFIG_NOCACHE + x-processing-time: 177ms status: code: 204 message: No Content @@ -175,10 +182,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:00:26 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:29 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -188,17 +195,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:00:24 GMT + - Tue, 22 Jun 2021 20:52:30 GMT ms-cv: - - lLl+5UvO0UCuI/eV8sd9eg.0 + - IiAIRAiNK0mVZYyjIzIRJA.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 521ms + - 925ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_get_thread_client.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_get_thread_client.yaml index 9e27c855aea7..8e1e9f6188b9 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_get_thread_client.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_get_thread_client.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:27 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:30 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-7061-1000-343a0d000aec"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-a2df-edbe-a43a0d00d178"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:25 GMT + - Tue, 22 Jun 2021 20:52:32 GMT ms-cv: - - 20AsF8Po1Ui7DK/vgoKVTA.0 + - goTz6/Zc8kSWOdRGe7I+vA.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 12ms + - 85ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:27 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:33 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:00:24.5096169+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:52:32.9783707+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:25 GMT + - Tue, 22 Jun 2021 20:52:33 GMT ms-cv: - - robHajmGLE2DtRokN/3wpQ.0 + - 8YV1Fd9HFkmu3J9JbHja0Q.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 24ms + - 136ms status: code: 200 message: OK @@ -91,29 +95,30 @@ interactions: Accept: - application/json Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - c58e918d-8a6f-450a-8e33-e823da308c32 + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 6e1f34d0-972f-4a8f-ad0f-e454e3d90cad method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:a7scq8j6cixJ4hNuVIYg_nwcUINk35nAVjmuunqfatg1@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:00:25Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-7061-1000-343a0d000aec", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-7061-1000-343a0d000aec"}}}}' + body: '{"chatThread": {"id": "19:7LGDmjICcpbNNGmJgqpwIQ6QdF1GSHBbEGDhh9_0w3Q1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:52:34Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-a2df-edbe-a43a0d00d178", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-a2df-edbe-a43a0d00d178"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:00:26 GMT - ms-cv: Z5+5T7qhNEOMf7ntKWuI5w.0 + date: Tue, 22 Jun 2021 20:52:34 GMT + ms-cv: jMldTRwtpkOwwkFKBoCJNQ.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 728ms + x-cache: CONFIG_NOCACHE + x-processing-time: 597ms status: code: 201 message: Created @@ -124,7 +129,7 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: @@ -132,11 +137,12 @@ interactions: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 - date: Tue, 23 Mar 2021 02:00:26 GMT - ms-cv: dBEoEGGH102GxGxr49MQtQ.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + date: Tue, 22 Jun 2021 20:52:34 GMT + ms-cv: njWVsxdIVU+Zkc0yo+j84Q.0 strict-transport-security: max-age=2592000 - x-processing-time: 250ms + x-cache: CONFIG_NOCACHE + x-processing-time: 169ms status: code: 204 message: No Content @@ -152,10 +158,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:00:29 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:35 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -165,17 +171,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:00:26 GMT + - Tue, 22 Jun 2021 20:52:35 GMT ms-cv: - - qhvKEctchEeBe5gaET8VPA.0 + - 8sPeUSKmFEG+7OHyfJR1MQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 496ms + - 640ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_list_chat_threads.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_list_chat_threads.yaml index b3bf1ba99b6e..498026e03c2f 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_list_chat_threads.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_list_chat_threads.yaml @@ -12,31 +12,33 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:29 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:36 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-7994-92fd-8b3a0d00251d"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-b3fa-ceb1-a43a0d00bdf8"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:27 GMT + - Tue, 22 Jun 2021 20:52:36 GMT ms-cv: - - dL/9ZAvsZ0K47psZhnrzHg.0 + - pSJ0VwTB20K1kSnqqHi0Nw.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - 60ms status: @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:30 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:37 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:00:27.0553604+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:52:36.884581+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:28 GMT + - Tue, 22 Jun 2021 20:52:37 GMT ms-cv: - - JEalPJbddkK55SgrhgljNw.0 + - b6q5W6gNAkW8vVnkBXne3A.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 159ms + - 128ms status: code: 200 message: OK @@ -91,29 +95,30 @@ interactions: Accept: - application/json Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - fcc573bb-8907-467e-b3ab-e99b4c142758 + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 3ad888a5-d7e1-48c7-bff7-7203e0738b4e method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:ZSVbarYVepoj0_gutZl9w_e9nrk5fJsxe5nxkyLtwRs1@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:00:28Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-7994-92fd-8b3a0d00251d", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-7994-92fd-8b3a0d00251d"}}}}' + body: '{"chatThread": {"id": "19:YPYZOu1agJIntrn2lZ-WacPkxyTBSYdJkOlUhiCoOwM1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:52:38Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-b3fa-ceb1-a43a0d00bdf8", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-b3fa-ceb1-a43a0d00bdf8"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:00:28 GMT - ms-cv: gZUwcIRRM02izBwR9ezZsA.0 + date: Tue, 22 Jun 2021 20:52:38 GMT + ms-cv: 4xGkE00hIUmbOhafN06YVg.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 634ms + x-cache: CONFIG_NOCACHE + x-processing-time: 590ms status: code: 201 message: Created @@ -124,20 +129,21 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/chat/threads?maxPageSize=1&api-version=2021-03-07 response: body: '{"value": "sanitized"}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:00:30 GMT - ms-cv: GUV3c5NqRkmDQK1rAMymCQ.0 + date: Tue, 22 Jun 2021 20:52:41 GMT + ms-cv: KcAYig+aWkekdksKcPmhuA.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 95ms + x-cache: CONFIG_NOCACHE + x-processing-time: 81ms status: code: 200 message: OK @@ -148,7 +154,7 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: @@ -156,11 +162,12 @@ interactions: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 - date: Tue, 23 Mar 2021 02:00:30 GMT - ms-cv: ZazzKVAVMUqfETyEOH4OYA.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + date: Tue, 22 Jun 2021 20:52:41 GMT + ms-cv: 75liE9Ou006qfrU5tYTf+g.0 strict-transport-security: max-age=2592000 - x-processing-time: 252ms + x-cache: CONFIG_NOCACHE + x-processing-time: 125ms status: code: 204 message: No Content @@ -176,10 +183,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:00:33 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:42 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -189,17 +196,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:00:32 GMT + - Tue, 22 Jun 2021 20:52:42 GMT ms-cv: - - c6PMtgQUCE6gHmXuEX7sCA.0 + - k1kuT9vr3E2aH1+qo4Ljfg.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 1349ms + - 887ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_add_participants.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_add_participants.yaml index 2a8aa2798c52..43632207c237 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_add_participants.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_add_participants.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:35 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:44 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-8f27-3ef0-8b3a0d0028c8"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-cf6a-b8ba-a43a0d002ce4"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:32 GMT + - Tue, 22 Jun 2021 20:52:43 GMT ms-cv: - - Co2UcdZOy0yFojpWYa7vgw.0 + - gWrrJWCVOUumh2Oz9BQbtg.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 33ms + - 84ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:35 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:44 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:00:32.5814511+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:52:44.0742387+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:33 GMT + - Tue, 22 Jun 2021 20:52:44 GMT ms-cv: - - XA9Sd9TUOkant1xGAgfUqA.0 + - lDsgpVAIi029IUCxURZs+w.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 159ms + - 128ms status: code: 200 message: OK @@ -98,33 +102,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:35 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:45 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-909d-3ef0-8b3a0d0028ca"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-d207-b8ba-a43a0d002ce5"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:33 GMT + - Tue, 22 Jun 2021 20:52:44 GMT ms-cv: - - peGqdZKPIEaZkZuqi4n3IA.0 + - 1mRJWhZTy0yQ3VkF6ZGJOA.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 10ms + - 62ms status: code: 201 message: Created @@ -141,33 +147,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:36 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:45 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:00:32.9589505+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:52:44.480522+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:33 GMT + - Tue, 22 Jun 2021 20:52:44 GMT ms-cv: - - zrsHxBfzZkyLEj9RgJyAXA.0 + - U8K+fnmQl0ultnK/AMI8dQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 160ms + - 136ms status: code: 200 message: OK @@ -181,36 +189,38 @@ interactions: Connection: - keep-alive Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 6d9ec3fc-020a-4149-889d-d1754c0a4757 + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 7b84fd83-f8c7-462a-8334-7a374313762f method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:X-i1OCfjs_ydNeTf4PGzbMVjP9Jh--N9N82AfC_c1N01@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:00:34Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-8f27-3ef0-8b3a0d0028c8", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-8f27-3ef0-8b3a0d0028c8"}}}}' + body: '{"chatThread": {"id": "19:ewl3-fapK9Nosd1ilIbwq6vODeuiJWv30vQkNN7D0FQ1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:52:46Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-cf6a-b8ba-a43a0d002ce4", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-cf6a-b8ba-a43a0d002ce4"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:34 GMT + - Tue, 22 Jun 2021 20:52:46 GMT ms-cv: - - aOYWol46nU2wfX9F9BSKyQ.0 + - 6Uy157BgzUONPqW442LTHg.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 854ms + - 711ms status: code: 201 message: Created @@ -224,30 +234,33 @@ interactions: Connection: - keep-alive Content-Length: - - '234' + - '327' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/participants/:add?api-version=2021-03-07 response: body: '{}' headers: api-supported-versions: - - 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07 + - 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, + 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:35 GMT + - Tue, 22 Jun 2021 20:52:47 GMT ms-cv: - - hdvnkrhPBkOZfM6pGsoEtQ.0 + - 3k2SkPvs/0+RFMEZ4pkbVw.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 384ms + - 369ms status: code: 201 message: Created @@ -262,30 +275,27 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:00:37 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - x-ms-return-client-request-id: - - 'true' + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, + 2021-03-07, 2021-04-05-preview6 date: - - Tue, 23 Mar 2021 02:00:36 GMT + - Tue, 22 Jun 2021 20:52:47 GMT ms-cv: - - Sc8j/Vw7T0OeSwngT+OP+w.0 - request-context: - - appId= + - zr9KmXuUrUSU8qf7gOZB6Q.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 693ms + - 170ms status: code: 204 message: No Content @@ -300,10 +310,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:00:38 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:48 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -313,17 +323,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:00:36 GMT + - Tue, 22 Jun 2021 20:52:49 GMT ms-cv: - - d9S4omrr8kehP4eTH3d48A.0 + - 5eO0U4Xl70qmP+O5wxkUvA.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 681ms + - 1828ms status: code: 204 message: No Content @@ -339,24 +351,31 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:50 GMT + x-ms-return-client-request-id: + - 'true' method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:00:37 GMT + - Tue, 22 Jun 2021 20:52:50 GMT ms-cv: - - kF1DOTdEH0GxA6Wn5BgpUA.0 + - 0jEp3n0/Q0mKoLnwiVc44w.0 + request-context: + - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 213ms + - 929ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_delete_message.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_delete_message.yaml index 65bbac4ae3ee..2a9a519101d4 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_delete_message.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_delete_message.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:39 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:51 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-a033-80f5-8b3a0d002f72"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-ea1a-ceb1-a43a0d00bdfb"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:37 GMT + - Tue, 22 Jun 2021 20:52:51 GMT ms-cv: - - bUbrqt4Q8UqEVyHbDPYdGQ.0 + - NmIRlZ9MJUqhnkLfWeA4Jg.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11ms + - 91ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:40 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:51 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:00:36.930961+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:52:50.6187793+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:37 GMT + - Tue, 22 Jun 2021 20:52:51 GMT ms-cv: - - mvjmzoxHW0acbOjTofeaSA.0 + - R/DEBPl8qEaKhCoerDW0sA.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 149ms + - 137ms status: code: 200 message: OK @@ -98,33 +102,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:40 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:51 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-a19b-80f5-8b3a0d002f73"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-eb90-ceb1-a43a0d00bdfc"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:37 GMT + - Tue, 22 Jun 2021 20:52:51 GMT ms-cv: - - 3k84s4ANrUudeN8GaQ470g.0 + - 0y0XeeKYSE2rBdRQWOkO0g.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 13ms + - 71ms status: code: 201 message: Created @@ -141,33 +147,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:40 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:51 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:00:37.3164629+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:52:51.0220441+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:37 GMT + - Tue, 22 Jun 2021 20:52:51 GMT ms-cv: - - a8KaGG6F3U6e2p7WueaKnw.0 + - Opq0xom0WkalaUwGpwIW4A.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 152ms + - 165ms status: code: 200 message: OK @@ -181,36 +189,38 @@ interactions: Connection: - keep-alive Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 03dc0aa7-b478-412e-b691-1a1fd51c7453 + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 3d6f0447-94e6-49e5-bcce-81b5dbc225a7 method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:u2XjqhWUkGdp3R0cNPYHCeiEC8CiqARUEn0VxBVNNe81@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:00:38Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-a033-80f5-8b3a0d002f72", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-a033-80f5-8b3a0d002f72"}}}}' + body: '{"chatThread": {"id": "19:Lka7ukU8T01s5p_sXicH_14AJWaqaPT64snT9Is6pM01@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:52:52Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-ea1a-ceb1-a43a0d00bdfb", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-ea1a-ceb1-a43a0d00bdfb"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:38 GMT + - Tue, 22 Jun 2021 20:52:52 GMT ms-cv: - - jaqSDX8OQ0ym8JGfxH1qeg.0 + - gI1INlIc9Eq8hJIXY0zx9A.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 736ms + - 496ms status: code: 201 message: Created @@ -229,7 +239,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 response: @@ -237,19 +247,21 @@ interactions: headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:39 GMT + - Tue, 22 Jun 2021 20:52:52 GMT ms-cv: - - 9NSwZSDH40OUU7sgcYmysw.0 + - Vep4URYeN0avDBFaJw3YBA.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 190ms + - 210ms status: code: 201 message: Created @@ -265,7 +277,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages/sanitized?api-version=2021-03-07 response: @@ -274,15 +286,17 @@ interactions: headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 date: - - Tue, 23 Mar 2021 02:00:39 GMT + - Tue, 22 Jun 2021 20:52:52 GMT ms-cv: - - sVVv2d/3/U2u4/+ez7X8rA.0 + - P73t5e6DHE2C+dpc3H8I6g.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 270ms + - 257ms status: code: 204 message: No Content @@ -297,30 +311,27 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:00:42 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - x-ms-return-client-request-id: - - 'true' + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, + 2021-03-07, 2021-04-05-preview6 date: - - Tue, 23 Mar 2021 02:00:39 GMT + - Tue, 22 Jun 2021 20:52:53 GMT ms-cv: - - cOquMqzEoUuG7yxV2qe/Jg.0 - request-context: - - appId= + - uE4gXOvDkkCNfASslmSzQg.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 638ms + - 318ms status: code: 204 message: No Content @@ -335,10 +346,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:00:42 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:53 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -348,17 +359,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:00:40 GMT + - Tue, 22 Jun 2021 20:52:54 GMT ms-cv: - - LXcXVj8COUiT9tazWnoFmA.0 + - we/NjoDv30eZV59VldrtQw.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 656ms + - 620ms status: code: 204 message: No Content @@ -374,24 +387,31 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:54 GMT + x-ms-return-client-request-id: + - 'true' method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:00:41 GMT + - Tue, 22 Jun 2021 20:52:55 GMT ms-cv: - - A83dHXa3YkyI035DvJCsmA.0 + - H5PY1b2hzEyKK2eXRdSnpA.0 + request-context: + - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 168ms + - 732ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_get_message.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_get_message.yaml index 55636fc1f504..a22948fc35dd 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_get_message.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_get_message.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:43 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:55 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-b016-99bf-a43a0d0024e9"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-faf7-e3c7-593a0d001af4"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:41 GMT + - Tue, 22 Jun 2021 20:52:55 GMT ms-cv: - - cdvzzGq/80mPDCU9r6xyUw.0 + - aaeABU1Xe06GwZEg1JswmQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11ms + - 42ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:44 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:55 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:00:40.9646647+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:52:54.7753604+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:41 GMT + - Tue, 22 Jun 2021 20:52:55 GMT ms-cv: - - 1/wCXe/1kEmssUazr11RjA.0 + - 0N2X/MP2MESeB3PkXke1Og.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 131ms + - 37ms status: code: 200 message: OK @@ -98,33 +102,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:44 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:55 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-b13c-99bf-a43a0d0024ea"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-fbac-e3c7-593a0d001af5"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:41 GMT + - Tue, 22 Jun 2021 20:52:55 GMT ms-cv: - - NzVOg2HP4UukhUlMisSc2w.0 + - XYeLM4uixEWWWjqTEwRQ8Q.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 10ms + - 24ms status: code: 201 message: Created @@ -141,33 +147,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:44 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:55 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:00:41.2687055+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:52:54.9505748+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:41 GMT + - Tue, 22 Jun 2021 20:52:55 GMT ms-cv: - - ViFOd+M440iPgwucZJth5Q.0 + - 1c6kgzPFVU2Zq3K6kikL4A.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 142ms + - 32ms status: code: 200 message: OK @@ -181,36 +189,38 @@ interactions: Connection: - keep-alive Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 7e0ae889-b166-4765-b544-f8026f9640e9 + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 18c89648-0d4a-4373-8fa3-d52aa41524e2 method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:_oZBBj-GZY3J160sLaeeSRImsXuJnPssSn09dRHO9l81@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:00:42Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-b016-99bf-a43a0d0024e9", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-b016-99bf-a43a0d0024e9"}}}}' + body: '{"chatThread": {"id": "19:DKWVb1_3iQgLjBQn3i_d2saoFSv3GgYXKAwt8tQRD2g1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:52:56Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-faf7-e3c7-593a0d001af4", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-faf7-e3c7-593a0d001af4"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:42 GMT + - Tue, 22 Jun 2021 20:52:56 GMT ms-cv: - - B2cy4jZXskasqGcivp3GkA.0 + - S5UG0uK3REel82YZV2fUFQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 750ms + - 648ms status: code: 201 message: Created @@ -229,7 +239,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 response: @@ -237,19 +247,21 @@ interactions: headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:42 GMT + - Tue, 22 Jun 2021 20:52:56 GMT ms-cv: - - EBXa+njix06JptuSjdqz2g.0 + - 5CDv1n3FlUGnK8jVsBpvVQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 197ms + - 279ms status: code: 201 message: Created @@ -263,30 +275,32 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages/sanitized?api-version=2021-03-07 response: - body: '{"id": "sanitized", "type": "text", "sequenceId": "3", "version": "1616464843669", + body: '{"id": "sanitized", "type": "text", "sequenceId": "3", "version": "1624395177044", "content": {"message": "hello world"}, "senderDisplayName": "sender name", "createdOn": - "2021-03-23T02:00:43Z", "senderCommunicationIdentifier": {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-b016-99bf-a43a0d0024e9", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-b016-99bf-a43a0d0024e9"}}}' + "2021-06-22T20:52:57Z", "senderCommunicationIdentifier": {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-faf7-e3c7-593a0d001af4", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-faf7-e3c7-593a0d001af4"}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:42 GMT + - Tue, 22 Jun 2021 20:52:56 GMT ms-cv: - - i8SRJZTyR02P1MwoFUfa+A.0 + - pdfPUTV8qEyLn2wHdcpVUQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 102ms + - 116ms status: code: 200 message: OK @@ -301,30 +315,27 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:00:46 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - x-ms-return-client-request-id: - - 'true' + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, + 2021-03-07, 2021-04-05-preview6 date: - - Tue, 23 Mar 2021 02:00:43 GMT + - Tue, 22 Jun 2021 20:52:57 GMT ms-cv: - - 1kBfJt0AWUWUgdQW0Y0BAQ.0 - request-context: - - appId= + - Y0Hhg87HE0CWyLi5i2UxZQ.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 490ms + - 257ms status: code: 204 message: No Content @@ -339,10 +350,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:00:46 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:57 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -352,17 +363,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:00:44 GMT + - Tue, 22 Jun 2021 20:52:58 GMT ms-cv: - - V05VY4wxwkiOxogzyZb7wA.0 + - cQZhKYzCikGiqhT3eXhJ4A.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 1108ms + - 664ms status: code: 204 message: No Content @@ -378,24 +391,31 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:58 GMT + x-ms-return-client-request-id: + - 'true' method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:00:44 GMT + - Tue, 22 Jun 2021 20:52:58 GMT ms-cv: - - tkFwb2BKGE6LlE+8EtSbtQ.0 + - EFf8o6CvCk+VlW6ZWZ57ag.0 + request-context: + - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 195ms + - 563ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_get_properties.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_get_properties.yaml index 961da0dc7dee..964de05022f0 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_get_properties.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_get_properties.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:48 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:59 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-c171-47b4-a43a0d0015e0"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-0a36-28c5-593a0d001bcf"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:45 GMT + - Tue, 22 Jun 2021 20:52:59 GMT ms-cv: - - HRttduw6yk6W6/cvLNibrQ.0 + - gidDQVUDekaenMwsLroXVg.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 12ms + - 29ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:48 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:59 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:00:45.415765+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:52:58.6871619+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:45 GMT + - Tue, 22 Jun 2021 20:52:59 GMT ms-cv: - - 0Stw0iU3UkW6uM00qjXNyQ.0 + - 2phab7zz8U2Av91LApxy4g.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 155ms + - 42ms status: code: 200 message: OK @@ -98,33 +102,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:48 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:59 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-c29f-47b4-a43a0d0015e1"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-0af6-28c5-593a0d001bd0"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:46 GMT + - Tue, 22 Jun 2021 20:52:59 GMT ms-cv: - - snLE0XuLjUew4PzaigMMxQ.0 + - vuehMXX20k+Hv+GvTd/Yjw.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11ms + - 33ms status: code: 201 message: Created @@ -141,33 +147,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:48 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:59 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:00:45.7258597+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:52:58.8764278+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:46 GMT + - Tue, 22 Jun 2021 20:52:59 GMT ms-cv: - - Drn0i1EzZkes7KhbU8Zi5g.0 + - E7vFE+bEWUmOwwMXVfMnlQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 164ms + - 44ms status: code: 200 message: OK @@ -181,36 +189,38 @@ interactions: Connection: - keep-alive Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 60ba2499-d29e-424a-9b78-f21d6bf636bb + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - f4f2f85f-1a8c-49ef-b712-05d30d214b63 method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:_8yVP1qtd1nnrOoiF5ycR1rvL1tb8N0tcd1Vz4baEnQ1@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:00:46Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-c171-47b4-a43a0d0015e0", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-c171-47b4-a43a0d0015e0"}}}}' + body: '{"chatThread": {"id": "19:cwsBqfi5P16U-E_PwkGgEcQcCg8z74f7OJfDhf2NRh01@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:53:00Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-0a36-28c5-593a0d001bcf", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-0a36-28c5-593a0d001bcf"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:47 GMT + - Tue, 22 Jun 2021 20:52:59 GMT ms-cv: - - CtWGuQritkaUnBlHE1GlSA.0 + - EqMQTSelQEqNupIBD6T6QQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 736ms + - 448ms status: code: 201 message: Created @@ -224,29 +234,31 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: - body: '{"id": "sanitized", "topic": "test topic", "createdOn": "2021-03-23T02:00:46Z", - "createdByCommunicationIdentifier": {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-c171-47b4-a43a0d0015e0", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-c171-47b4-a43a0d0015e0"}}}' + body: '{"id": "sanitized", "topic": "test topic", "createdOn": "2021-06-22T20:53:00Z", + "createdByCommunicationIdentifier": {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-0a36-28c5-593a0d001bcf", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-0a36-28c5-593a0d001bcf"}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:47 GMT + - Tue, 22 Jun 2021 20:53:00 GMT ms-cv: - - 37yyyNYTYEGaeVtqskvwYQ.0 + - /bi1FXiao0y/xvLterHScg.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 91ms + - 78ms status: code: 200 message: OK @@ -261,30 +273,27 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:00:50 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - x-ms-return-client-request-id: - - 'true' + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, + 2021-03-07, 2021-04-05-preview6 date: - - Tue, 23 Mar 2021 02:00:48 GMT + - Tue, 22 Jun 2021 20:53:00 GMT ms-cv: - - X4SfyQU5YkyqbeyZtvHIkw.0 - request-context: - - appId= + - 2IxEFt9ybkG3gNINgY8O+Q.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 880ms + - 163ms status: code: 204 message: No Content @@ -299,10 +308,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:00:51 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:01 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -312,17 +321,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:00:49 GMT + - Tue, 22 Jun 2021 20:53:02 GMT ms-cv: - - eOgROPPueEiXhC8YWrhH9w.0 + - ejBwpkXvCUS+XNnVD8e/EA.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 589ms + - 822ms status: code: 204 message: No Content @@ -338,24 +349,31 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:02 GMT + x-ms-return-client-request-id: + - 'true' method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:00:49 GMT + - Tue, 22 Jun 2021 20:53:02 GMT ms-cv: - - /28EsY7bUkyplfSAR4pitA.0 + - a33rA3Yc+EWEC30cSKX61Q.0 + request-context: + - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 180ms + - 682ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_list_messages.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_list_messages.yaml index b79115469d34..fe112c14506d 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_list_messages.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_list_messages.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:52 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:03 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-d0e4-63b2-a43a0d0025a6"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-1a9b-e3c7-593a0d001af6"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:49 GMT + - Tue, 22 Jun 2021 20:53:03 GMT ms-cv: - - JNHmnJWT+06jOv4PUfI69A.0 + - XxjSxEXcr0yeB3LwWpKrWw.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 30ms + - 33ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:52 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:03 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:00:49.3681884+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:02.8820605+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:49 GMT + - Tue, 22 Jun 2021 20:53:03 GMT ms-cv: - - viWRaFnN6EGlwdpdlCz7hQ.0 + - 0Sm8wtmUL06twwBDAIqayQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 149ms + - 37ms status: code: 200 message: OK @@ -98,33 +102,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:52 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:03 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-d220-63b2-a43a0d0025a7"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-1b65-e3c7-593a0d001af7"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:49 GMT + - Tue, 22 Jun 2021 20:53:03 GMT ms-cv: - - jrF/gQkLqESi/SOSXm7+Ew.0 + - Wip+OVoQHUaijH1SnHH6iQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 12ms + - 32ms status: code: 201 message: Created @@ -141,33 +147,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:52 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:04 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:00:49.6799549+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:03.0774892+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:49 GMT + - Tue, 22 Jun 2021 20:53:03 GMT ms-cv: - - hlk/t84Yp0O4u1B3/ayvFA.0 + - 0i289LekwEOikg+BVA3UfQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 131ms + - 38ms status: code: 200 message: OK @@ -181,36 +189,38 @@ interactions: Connection: - keep-alive Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 20bae8b1-59c2-4a6d-a1eb-724ebcff406d + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 8614c7c6-b342-468d-85b1-bfde25b7de9d method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:BEl-6moQ2D1CUCNoo6ublDWRjH7MXdqIBmOMsHF31dw1@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:00:50Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-d0e4-63b2-a43a0d0025a6", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-d0e4-63b2-a43a0d0025a6"}}}}' + body: '{"chatThread": {"id": "19:vraRn114U16p4LbamnaYDiO8aE4qGmzUCh_LwYJa6F81@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:53:04Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-1a9b-e3c7-593a0d001af6", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-1a9b-e3c7-593a0d001af6"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:51 GMT + - Tue, 22 Jun 2021 20:53:04 GMT ms-cv: - - OY8ghh+JUE2pMpwPkJHPfQ.0 + - xJzLs8xs/E+Wd6SUL0s+6g.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 763ms + - 473ms status: code: 201 message: Created @@ -229,7 +239,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 response: @@ -237,19 +247,21 @@ interactions: headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:51 GMT + - Tue, 22 Jun 2021 20:53:05 GMT ms-cv: - - MDlTupfvnUGGR17+RuagaA.0 + - f8/SrLeJzEudt21Z8SECeA.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 223ms + - 387ms status: code: 201 message: Created @@ -263,7 +275,7 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?maxPageSize=1&api-version=2021-03-07 response: @@ -271,19 +283,21 @@ interactions: headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:51 GMT + - Tue, 22 Jun 2021 20:53:05 GMT ms-cv: - - IHiVcl5+L0yqctQpreP78A.0 + - 9+11J0zs6UStci2lsiiFKA.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 140ms + - 248ms status: code: 200 message: OK @@ -297,7 +311,7 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?syncState=sanitized&startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00&maxPageSize=1&api-version=2021-03-07 response: @@ -305,19 +319,21 @@ interactions: headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:51 GMT + - Tue, 22 Jun 2021 20:53:06 GMT ms-cv: - - QaXc0ceouUWv/dZPCukRdw.0 + - KEAWOb6oxU6KA9Hz39ZIKw.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 180ms + - 135ms status: code: 200 message: OK @@ -331,7 +347,7 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?syncState=sanitized&startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00&maxPageSize=1&api-version=2021-03-07 response: @@ -339,19 +355,21 @@ interactions: headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:51 GMT + - Tue, 22 Jun 2021 20:53:06 GMT ms-cv: - - FCyzKp9eBUmemwUtSp83+A.0 + - CgimGtMmC06DX6PyMRZSyg.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 186ms + - 122ms status: code: 200 message: OK @@ -365,7 +383,7 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?syncState=sanitized&startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00&maxPageSize=1&api-version=2021-03-07 response: @@ -373,19 +391,21 @@ interactions: headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:52 GMT + - Tue, 22 Jun 2021 20:53:06 GMT ms-cv: - - KmV3/ZPAlUGuwhf2bfdfEQ.0 + - qkqyBxwun0yjq1h68TFJqw.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 174ms + - 140ms status: code: 200 message: OK @@ -400,30 +420,27 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:00:55 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - x-ms-return-client-request-id: - - 'true' + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, + 2021-03-07, 2021-04-05-preview6 date: - - Tue, 23 Mar 2021 02:00:53 GMT + - Tue, 22 Jun 2021 20:53:06 GMT ms-cv: - - qX0Y/Y2tiUa3Gg+2pi29tQ.0 - request-context: - - appId= + - 7HyA7KtuSkKaBUeV+n+PSQ.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 977ms + - 163ms status: code: 204 message: No Content @@ -438,10 +455,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:00:56 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:07 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -451,17 +468,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:00:54 GMT + - Tue, 22 Jun 2021 20:53:07 GMT ms-cv: - - KiPmz6HlEka2+A+Uuo5IFg.0 + - XqxzZLOwaESAnTU61BMWKw.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 685ms + - 653ms status: code: 204 message: No Content @@ -477,24 +496,31 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:07 GMT + x-ms-return-client-request-id: + - 'true' method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:00:54 GMT + - Tue, 22 Jun 2021 20:53:07 GMT ms-cv: - - nr0sBiDLzEewhvZwbMKMAw.0 + - KrRW27v7vke+bGa6sB1ooQ.0 + request-context: + - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 274ms + - 495ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_list_participants.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_list_participants.yaml index 59f1e15be40f..34a02528286b 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_list_participants.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_list_participants.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:57 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:08 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-e551-b5bb-a43a0d0030a6"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-2d87-e3c7-593a0d001afd"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:54 GMT + - Tue, 22 Jun 2021 20:53:08 GMT ms-cv: - - 9rGoSow960qX6+dhR7DnwQ.0 + - Rluqi/eOcU6dMQwjIKC6AQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 19ms + - 32ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:57 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:08 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:00:54.5803127+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:07.9578099+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:55 GMT + - Tue, 22 Jun 2021 20:53:08 GMT ms-cv: - - qGbguC5qjkW8JQgiuNG9/Q.0 + - CK5W7uXtdkmqa2Q53s6lYw.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 133ms + - 32ms status: code: 200 message: OK @@ -98,33 +102,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:57 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:08 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-e67b-b5bb-a43a0d0030a7"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-2f79-e3c7-593a0d001afe"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:55 GMT + - Tue, 22 Jun 2021 20:53:08 GMT ms-cv: - - AomPQS1UTE2FDu9K7MCVHg.0 + - fTyl4H0ty0umoTwv7SezUQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11ms + - 61ms status: code: 201 message: Created @@ -141,33 +147,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:58 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:09 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:00:54.8846113+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:08.2355618+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:55 GMT + - Tue, 22 Jun 2021 20:53:08 GMT ms-cv: - - mDrrUpGr4UivsPUmepZRcA.0 + - +2oplxi3EUqr2lusN4ziDw.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 135ms + - 37ms status: code: 200 message: OK @@ -181,36 +189,38 @@ interactions: Connection: - keep-alive Content-Length: - - '257' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 6bc5b929-c807-4882-af99-c8410a0669e4 + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 25b72693-946f-409f-88e0-8d6310d2ad82 method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:u2GVykDHbvqJB7ltRBVLfjueg4DXyA6rp7A4t_JE6xc1@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:00:56Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-e551-b5bb-a43a0d0030a6", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-e551-b5bb-a43a0d0030a6"}}}}' + body: '{"chatThread": {"id": "19:0br5s3BTIsrwva4YZlbfaabAuOjWyXIbVyNh2PQCiiI1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:53:09Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-2d87-e3c7-593a0d001afd", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-2d87-e3c7-593a0d001afd"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:56 GMT + - Tue, 22 Jun 2021 20:53:09 GMT ms-cv: - - UJbbJHq5PE2HZWd7NPgzqw.0 + - oeY2bcXYNUibkNW6RjIT5g.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 942ms + - 388ms status: code: 201 message: Created @@ -224,30 +234,33 @@ interactions: Connection: - keep-alive Content-Length: - - '235' + - '327' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/participants/:add?api-version=2021-03-07 response: body: '{}' headers: api-supported-versions: - - 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07 + - 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, + 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:56 GMT + - Tue, 22 Jun 2021 20:53:09 GMT ms-cv: - - Iyr41xYT706pQxM7PDkjew.0 + - Ti4/ZA+BF0W381v8cbyMxQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 279ms + - 232ms status: code: 201 message: Created @@ -261,26 +274,29 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/chat/threads/sanitized/participants?maxPageSize=1&skip=1&api-version=2021-03-07 response: body: '{"value": "sanitized"}' headers: api-supported-versions: - - 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07 + - 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, + 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:57 GMT + - Tue, 22 Jun 2021 20:53:10 GMT ms-cv: - - NnJvwsUgCUuyxpRHvtbzDQ.0 + - jtJiO+vgSkKgprINEk5YVQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 164ms + - 90ms status: code: 200 message: OK @@ -295,30 +311,27 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:01:00 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - x-ms-return-client-request-id: - - 'true' + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, + 2021-03-07, 2021-04-05-preview6 date: - - Tue, 23 Mar 2021 02:00:58 GMT + - Tue, 22 Jun 2021 20:53:10 GMT ms-cv: - - RbJySq/SbkCXMptTad+oqA.0 - request-context: - - appId= + - p2SuPL7P40eykdmcjjT3UQ.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 625ms + - 133ms status: code: 204 message: No Content @@ -333,10 +346,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:01:01 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:11 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -346,17 +359,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:00:59 GMT + - Tue, 22 Jun 2021 20:53:11 GMT ms-cv: - - oRnRCz3XF06khtQ96qF/kg.0 + - baMV3AnyNky8tPeBX5lw2A.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 765ms + - 496ms status: code: 204 message: No Content @@ -372,24 +387,31 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:11 GMT + x-ms-return-client-request-id: + - 'true' method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:00:58 GMT + - Tue, 22 Jun 2021 20:53:11 GMT ms-cv: - - MfEd8BRzN0KNvjQqpufSgw.0 + - fe9iKwA87UasA/GHtUU+RQ.0 + request-context: + - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 242ms + - 780ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_list_read_receipts.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_list_read_receipts.yaml index a28ab9bc1013..da10316d9e76 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_list_read_receipts.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_list_read_receipts.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:02 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:12 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-f7dc-6a0b-343a0d00275b"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-3e21-b8ba-a43a0d002cea"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:59 GMT + - Tue, 22 Jun 2021 20:53:12 GMT ms-cv: - - 3sJKD+JFiUiDAiJR7jhCCA.0 + - fHf029up8kuT+ODkZAmEeg.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 18ms + - 60ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:02 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:12 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:00:59.1936435+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:12.1709642+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:59 GMT + - Tue, 22 Jun 2021 20:53:13 GMT ms-cv: - - xcKub/dMtE+1AEyoQ9cD/Q.0 + - mlOYNkC/ZEiqZQCYum+K+Q.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 25ms + - 139ms status: code: 200 message: OK @@ -98,33 +102,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:02 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:13 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-f858-6a0b-343a0d00275c"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-3ff1-b8ba-a43a0d002ceb"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:59 GMT + - Tue, 22 Jun 2021 20:53:13 GMT ms-cv: - - cBkFFWGZYkGUA8ykPs2bNA.0 + - FVBq2qpqVEehAl4WMVZX/A.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 12ms + - 62ms status: code: 201 message: Created @@ -141,33 +147,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:02 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:13 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:00:59.3384224+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:12.6692365+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:59 GMT + - Tue, 22 Jun 2021 20:53:13 GMT ms-cv: - - OoqWf7xSXUir4TURKI777Q.0 + - VjZ1o+IGI0WTECW7C5fO7Q.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 28ms + - 137ms status: code: 200 message: OK @@ -181,36 +189,38 @@ interactions: Connection: - keep-alive Content-Length: - - '475' + - '659' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 40334be5-6db5-40a2-9086-b8f6080182fb + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 7d46b5b6-7a25-4d7d-8aee-ad8407169ea1 method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:2sAh1iSiY-YP8qJnPfcxq0PJ_rnx2Q3kpQ4vIIhi-881@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:01:00Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-f7dc-6a0b-343a0d00275b", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-f7dc-6a0b-343a0d00275b"}}}}' + body: '{"chatThread": {"id": "19:wpJTRn5aSw3d4G3M1Lx45w56nPcIvSR7HiyTG-a0Q4Y1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:53:14Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-3e21-b8ba-a43a0d002cea", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-3e21-b8ba-a43a0d002cea"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:00 GMT + - Tue, 22 Jun 2021 20:53:14 GMT ms-cv: - - pFrSgFoM6USXkVa+Mhcyyw.0 + - WMIPcRV1DE2QymDdVSubTw.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 689ms + - 627ms status: code: 201 message: Created @@ -229,7 +239,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 response: @@ -237,19 +247,21 @@ interactions: headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:00 GMT + - Tue, 22 Jun 2021 20:53:15 GMT ms-cv: - - 68pwrisUIE+bSqvf0JCU2w.0 + - CfjVEQ4yK0ikYCBocZpwDg.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 197ms + - 300ms status: code: 201 message: Created @@ -267,7 +279,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-03-07 response: @@ -276,17 +288,19 @@ interactions: headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-length: - '0' date: - - Tue, 23 Mar 2021 02:01:00 GMT + - Tue, 22 Jun 2021 20:53:15 GMT ms-cv: - - oKsMI60yAku3U80TzMZbyQ.0 + - 0ApUVuUYQ0yCxpTCzbz1MA.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 179ms + - 105ms status: code: 200 message: OK @@ -300,7 +314,7 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-03-07 response: @@ -308,19 +322,21 @@ interactions: headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:01 GMT + - Tue, 22 Jun 2021 20:53:15 GMT ms-cv: - - D2eRx7unKUOqBNEf2neBDQ.0 + - 2swZZP/ScU+cOSS4pD6mww.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 107ms + - 352ms status: code: 200 message: OK @@ -339,7 +355,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 response: @@ -347,19 +363,21 @@ interactions: headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:01 GMT + - Tue, 22 Jun 2021 20:53:16 GMT ms-cv: - - PgvePwvtnE6f+Wx2MnMWGg.0 + - WdxhwXJo1kefM2D8x3ikOQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 147ms + - 327ms status: code: 201 message: Created @@ -377,7 +395,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-03-07 response: @@ -386,17 +404,19 @@ interactions: headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-length: - '0' date: - - Tue, 23 Mar 2021 02:01:01 GMT + - Tue, 22 Jun 2021 20:53:16 GMT ms-cv: - - 31EHmIzUi0ylKTjKaxbzwg.0 + - ylsoKw+1lEaJukci67zgpQ.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 194ms + - 106ms status: code: 200 message: OK @@ -410,7 +430,7 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-03-07 response: @@ -418,19 +438,21 @@ interactions: headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:02 GMT + - Tue, 22 Jun 2021 20:53:17 GMT ms-cv: - - CclAU5uz7UG7nITOPEJmbA.0 + - M4KP5msYP0KUXXatKodjQQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 102ms + - 292ms status: code: 200 message: OK @@ -449,7 +471,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 response: @@ -457,19 +479,21 @@ interactions: headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:02 GMT + - Tue, 22 Jun 2021 20:53:17 GMT ms-cv: - - glG0jl5HXESqlKVBXlfkcg.0 + - JWc/YZqq1Eu8BSezJgDfPQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 123ms + - 346ms status: code: 201 message: Created @@ -487,7 +511,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-03-07 response: @@ -496,17 +520,19 @@ interactions: headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-length: - '0' date: - - Tue, 23 Mar 2021 02:01:02 GMT + - Tue, 22 Jun 2021 20:53:17 GMT ms-cv: - - Z+BdB+6Zm0WfA28qquBdjA.0 + - j9Sdx/cSN0Kb1dKlsnhUpQ.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 450ms + - 124ms status: code: 200 message: OK @@ -520,7 +546,7 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-03-07 response: @@ -528,19 +554,21 @@ interactions: headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:03 GMT + - Tue, 22 Jun 2021 20:53:18 GMT ms-cv: - - UQVo4Hu/MEmbFfKoO7z5xw.0 + - 9Dh5KNDkjEiDSEzRUvSuzg.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 97ms + - 153ms status: code: 200 message: OK @@ -554,7 +582,7 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?maxPageSize=2&skip=0&api-version=2021-03-07 response: @@ -562,19 +590,21 @@ interactions: headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:03 GMT + - Tue, 22 Jun 2021 20:53:18 GMT ms-cv: - - /CwxPly3qUSZONfb47bbQQ.0 + - 1VPnxLIpgUOkkHYRxHFIDQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 94ms + - 242ms status: code: 200 message: OK @@ -589,30 +619,27 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:01:06 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - x-ms-return-client-request-id: - - 'true' + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, + 2021-03-07, 2021-04-05-preview6 date: - - Tue, 23 Mar 2021 02:01:04 GMT + - Tue, 22 Jun 2021 20:53:18 GMT ms-cv: - - 8oEkkLbp1UKuhoWfeK7v2g.0 - request-context: - - appId= + - 3vrdi7D8jU+7gEbplWdTrA.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 1069ms + - 244ms status: code: 204 message: No Content @@ -627,10 +654,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:01:07 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:19 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -640,17 +667,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:01:04 GMT + - Tue, 22 Jun 2021 20:53:19 GMT ms-cv: - - RolRQPCXu0Op1VuavXP2Xw.0 + - FtE9hcMmuUC5kWzmNcUzig.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 546ms + - 627ms status: code: 204 message: No Content @@ -666,24 +695,31 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:20 GMT + x-ms-return-client-request-id: + - 'true' method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:01:05 GMT + - Tue, 22 Jun 2021 20:53:20 GMT ms-cv: - - Q8AzXkbx+kSPl3qUwpSkww.0 + - nzxtfmFkKkay+Hls9rdYOA.0 + request-context: + - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 259ms + - 718ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_remove_participant.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_remove_participant.yaml index 223ad88e5d6a..9c65800d5ca5 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_remove_participant.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_remove_participant.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:08 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:20 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-0f75-0e04-343a0d00096c"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-5fb4-7f07-113a0d003339"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:05 GMT + - Tue, 22 Jun 2021 20:53:21 GMT ms-cv: - - Ar2enym3ZUqiPacmPBX2eA.0 + - GuyGzQIX8E+Qz3rFYdDezQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 20ms + - 93ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:08 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:21 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:01:05.2518727+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:20.8161891+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:05 GMT + - Tue, 22 Jun 2021 20:53:21 GMT ms-cv: - - cWM/TPUsa0+giLQO+V9OLA.0 + - HV8G2cJnUUWV33uDFoLVsw.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 24ms + - 164ms status: code: 200 message: OK @@ -98,33 +102,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:08 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:21 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-1018-0e04-343a0d00096d"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-6194-7f07-113a0d00333a"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:05 GMT + - Tue, 22 Jun 2021 20:53:21 GMT ms-cv: - - pqbxihMO8kWHKDc1YKlZLQ.0 + - UUiH97VEAU2pplPeeZ+0TA.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 13ms + - 89ms status: code: 201 message: Created @@ -141,33 +147,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:08 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:22 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:01:05.3988906+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:21.2749423+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:05 GMT + - Tue, 22 Jun 2021 20:53:22 GMT ms-cv: - - q2nS3MMYUUi6bFy6ME+Ytw.0 + - xh9jGvTPbkSa5hIT/eouTQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 27ms + - 162ms status: code: 200 message: OK @@ -181,36 +189,38 @@ interactions: Connection: - keep-alive Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - d32418f7-681b-479f-8594-4acce312b5ab + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 64288911-987d-4cdb-93fb-f10417537668 method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:B8oq8ahBK5cFIHtWi1_aHFypfzWNGhW2DKTms3abRjA1@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:01:06Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-0f75-0e04-343a0d00096c", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-0f75-0e04-343a0d00096c"}}}}' + body: '{"chatThread": {"id": "19:0oyHLO0Q80qnPax4RVGXdoRRVE5Z8SaMetegO5WtUkQ1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:53:22Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-5fb4-7f07-113a0d003339", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-5fb4-7f07-113a0d003339"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:06 GMT + - Tue, 22 Jun 2021 20:53:22 GMT ms-cv: - - EKFbWFRymUqjekuNFdGVNA.0 + - jzmK3rvGtkicAR1lgdsflQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 561ms + - 700ms status: code: 201 message: Created @@ -224,35 +234,39 @@ interactions: Connection: - keep-alive Content-Length: - - '235' + - '327' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/participants/:add?api-version=2021-03-07 response: body: '{}' headers: api-supported-versions: - - 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07 + - 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, + 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:06 GMT + - Tue, 22 Jun 2021 20:53:23 GMT ms-cv: - - 6nzOIXmYFkW15FwwYJpI5w.0 + - 7KcGmsNMwkW1HNSbQ0qDiQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 228ms + - 321ms status: code: 201 message: Created - request: - body: '{"communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-1018-0e04-343a0d00096d"}}' + body: '{"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-6194-7f07-113a0d00333a", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-6194-7f07-113a0d00333a"}}' headers: Accept: - application/json @@ -261,11 +275,11 @@ interactions: Connection: - keep-alive Content-Length: - - '112' + - '204' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/participants/:remove?api-version=2021-03-07 response: @@ -273,15 +287,18 @@ interactions: string: '' headers: api-supported-versions: - - 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07 + - 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, + 2021-04-05-preview6 date: - - Tue, 23 Mar 2021 02:01:06 GMT + - Tue, 22 Jun 2021 20:53:24 GMT ms-cv: - - Tjk6XY1CZE6swZWMHVX+Hg.0 + - xQefzArrQU+jLAFhP0ti6Q.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 217ms + - 350ms status: code: 204 message: No Content @@ -296,30 +313,27 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:01:10 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - x-ms-return-client-request-id: - - 'true' + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, + 2021-03-07, 2021-04-05-preview6 date: - - Tue, 23 Mar 2021 02:01:07 GMT + - Tue, 22 Jun 2021 20:53:24 GMT ms-cv: - - incA1PkCLkecbcE6OiXliw.0 - request-context: - - appId= + - cg7UC/jYEEW0wGr5kqQQgA.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 748ms + - 302ms status: code: 204 message: No Content @@ -334,10 +348,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:01:10 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:24 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -347,17 +361,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:01:08 GMT + - Tue, 22 Jun 2021 20:53:25 GMT ms-cv: - - /UfnfY1KWUGNmH65oSVLtQ.0 + - gsxrvN956kGuqQBhnS0Xzw.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 688ms + - 627ms status: code: 204 message: No Content @@ -373,24 +389,31 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:25 GMT + x-ms-return-client-request-id: + - 'true' method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:01:08 GMT + - Tue, 22 Jun 2021 20:53:26 GMT ms-cv: - - v9vvOA99dkKdiBOupqgKRQ.0 + - +5ImzKkfo0OBkmeyYZ2FXg.0 + request-context: + - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 130ms + - 683ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_send_message.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_send_message.yaml index b5d00646d8eb..5a3d66d634a0 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_send_message.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_send_message.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:11 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:26 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-1d00-0e04-343a0d000971"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-75b0-7f07-113a0d00333e"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:08 GMT + - Tue, 22 Jun 2021 20:53:26 GMT ms-cv: - - D6obLY9aXkaM9rg2F9jzsA.0 + - e/M9zbkgvk+2x+PPER/ykA.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 13ms + - 92ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:11 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:27 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:01:08.706543+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:26.5023506+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:08 GMT + - Tue, 22 Jun 2021 20:53:27 GMT ms-cv: - - H21lpkVFeUyDulUU98N3zQ.0 + - LDLFPZYQx0yhDeveIi2fXA.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 27ms + - 183ms status: code: 200 message: OK @@ -98,33 +102,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:12 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:27 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-1d91-0e04-343a0d000972"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-78f0-7f07-113a0d003340"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:08 GMT + - Tue, 22 Jun 2021 20:53:27 GMT ms-cv: - - 4MxQCtcyNUy/b/EtiNcb3w.0 + - U+soSJC8mUSz5/jQ8D5wpg.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11ms + - 120ms status: code: 201 message: Created @@ -141,33 +147,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:12 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:28 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:01:08.8693015+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:27.3067682+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:09 GMT + - Tue, 22 Jun 2021 20:53:28 GMT ms-cv: - - o25SHeW0fESSnDXHQbIAEg.0 + - XIEOkE0fqk2VEB3lwaRJ7Q.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 28ms + - 157ms status: code: 200 message: OK @@ -181,36 +189,38 @@ interactions: Connection: - keep-alive Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 98b412c1-e4cd-4502-b0e9-67916c17130d + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - a35c8257-5af7-427d-8357-5c6047318e3e method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:beKR5WZ7fUwlYtunpLzHwvC04sgZ5diqfR2A4NUq-9w1@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:01:10Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-1d00-0e04-343a0d000971", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-1d00-0e04-343a0d000971"}}}}' + body: '{"chatThread": {"id": "19:vR7qiRNiD_0wWQfsiPL_8WwUsUQPBsr8NPvYTq5d4jo1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:53:28Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-75b0-7f07-113a0d00333e", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-75b0-7f07-113a0d00333e"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:09 GMT + - Tue, 22 Jun 2021 20:53:28 GMT ms-cv: - - 3cTSDRN8dUCG7SaJ+kixyQ.0 + - DnJbWwBN5ESfxpTNIGqhUA.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 726ms + - 409ms status: code: 201 message: Created @@ -229,7 +239,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 response: @@ -237,19 +247,21 @@ interactions: headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:10 GMT + - Tue, 22 Jun 2021 20:53:29 GMT ms-cv: - - UgCVno3Q1UiOof5R314g9A.0 + - +5/VKxVfwUOhIHMP70xKEw.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 133ms + - 276ms status: code: 201 message: Created @@ -264,30 +276,27 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:01:13 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - x-ms-return-client-request-id: - - 'true' + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, + 2021-03-07, 2021-04-05-preview6 date: - - Tue, 23 Mar 2021 02:01:10 GMT + - Tue, 22 Jun 2021 20:53:29 GMT ms-cv: - - 4OahkuZQJEO+TmYweDqOHg.0 - request-context: - - appId= + - 8C9BadazikSaZeAgH1bBCw.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 656ms + - 196ms status: code: 204 message: No Content @@ -302,10 +311,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:01:14 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:30 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -315,17 +324,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:01:11 GMT + - Tue, 22 Jun 2021 20:53:31 GMT ms-cv: - - Kftn8p3U5UOHnekrrePXQQ.0 + - 1FBeqW1Noku1KBz9CZJn0g.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 440ms + - 854ms status: code: 204 message: No Content @@ -341,24 +352,31 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:31 GMT + x-ms-return-client-request-id: + - 'true' method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:01:11 GMT + - Tue, 22 Jun 2021 20:53:31 GMT ms-cv: - - 3DTe5NV2tUy9TE905OksmQ.0 + - WJc4DNtM+U2H8YNFhmt6Vw.0 + request-context: + - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 118ms + - 656ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_send_read_receipt.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_send_read_receipt.yaml index 7cb043d59035..e56eabf5ce26 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_send_read_receipt.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_send_read_receipt.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:14 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:32 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-2845-f40f-343a0d00347d"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-8e91-7f07-113a0d003343"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:11 GMT + - Tue, 22 Jun 2021 20:53:33 GMT ms-cv: - - TuLtMxdB8UCTM2W5RjfkIA.0 + - YC+hyU3EtUmhOQUN+25Qtg.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 17ms + - 90ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:14 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:33 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:01:11.5858096+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:32.8408559+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:11 GMT + - Tue, 22 Jun 2021 20:53:33 GMT ms-cv: - - aMrzIgkI5UefrA4buRI4sA.0 + - +teTKivEfEOwOp4uWzVmBQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 23ms + - 161ms status: code: 200 message: OK @@ -98,33 +102,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:14 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:33 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-28d1-f40f-343a0d00347e"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-90c1-7f07-113a0d003346"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:11 GMT + - Tue, 22 Jun 2021 20:53:33 GMT ms-cv: - - wdniYBQiX0GVWSxQgTsAnA.0 + - GC72mNEmjUmsyJnKAiDK1w.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11ms + - 93ms status: code: 201 message: Created @@ -141,33 +147,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:15 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:34 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:01:11.7429317+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:33.4678143+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:11 GMT + - Tue, 22 Jun 2021 20:53:34 GMT ms-cv: - - cImLG5Don0ey9gH68UWGcg.0 + - wYvKyI1UxEK5UJ/KSkGsMw.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 24ms + - 209ms status: code: 200 message: OK @@ -181,36 +189,38 @@ interactions: Connection: - keep-alive Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 6fc377d8-4d02-4b92-9e42-5755b5be306a + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - a3b50289-8979-4fd0-89f2-3b68176f405b method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:qGB_ac1hdprV0WmOguQWM8vytmT4UMA5z087Dq_owUw1@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:01:12Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-2845-f40f-343a0d00347d", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-2845-f40f-343a0d00347d"}}}}' + body: '{"chatThread": {"id": "19:Ve2ZfT4zjCTsHMSPSmkK9mpLlrnk5VALkpg27IViYRk1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:53:35Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-8e91-7f07-113a0d003343", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-8e91-7f07-113a0d003343"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:13 GMT + - Tue, 22 Jun 2021 20:53:35 GMT ms-cv: - - BD2XKS5rGkWQHir+DE53zg.0 + - Bs6T1mw5o0+45P7eDf9qpA.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 812ms + - 929ms status: code: 201 message: Created @@ -229,7 +239,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 response: @@ -237,19 +247,21 @@ interactions: headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:13 GMT + - Tue, 22 Jun 2021 20:53:36 GMT ms-cv: - - IYUGx5fb5Uqhjd8+91OouQ.0 + - Cm9q9MFS7U6D56hDuwrgbw.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 176ms + - 320ms status: code: 201 message: Created @@ -267,7 +279,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-03-07 response: @@ -276,17 +288,19 @@ interactions: headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-length: - '0' date: - - Tue, 23 Mar 2021 02:01:13 GMT + - Tue, 22 Jun 2021 20:53:36 GMT ms-cv: - - xCzroDh+QEm5YiFRGrTM8A.0 + - WZxNrQle/kW9xGuJYvkL8w.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 186ms + - 264ms status: code: 200 message: OK @@ -301,30 +315,27 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:01:16 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - x-ms-return-client-request-id: - - 'true' + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, + 2021-03-07, 2021-04-05-preview6 date: - - Tue, 23 Mar 2021 02:01:13 GMT + - Tue, 22 Jun 2021 20:53:37 GMT ms-cv: - - Z5zD3Zx0qEKNYEUKJ/TPUg.0 - request-context: - - appId= + - NzMmuphMHUWHzO5sFXFejA.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 543ms + - 248ms status: code: 204 message: No Content @@ -339,10 +350,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:01:17 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:37 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -352,17 +363,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:01:14 GMT + - Tue, 22 Jun 2021 20:53:39 GMT ms-cv: - - XHwpMtOSK069+CKL81efGA.0 + - vLztvNFxk0S8xVp/AC0eBA.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 629ms + - 2151ms status: code: 204 message: No Content @@ -378,24 +391,31 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:40 GMT + x-ms-return-client-request-id: + - 'true' method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:01:15 GMT + - Tue, 22 Jun 2021 20:53:40 GMT ms-cv: - - 9bbAD8PfEEWUoKkrW+a1sA.0 + - iT0wSdBgoEq1lO7X6CY3ow.0 + request-context: + - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 134ms + - 921ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_send_typing_notification.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_send_typing_notification.yaml index 8e76467471c0..7e1404bd16bd 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_send_typing_notification.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_send_typing_notification.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:18 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:41 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-362f-ac00-343a0d0029e2"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-ae62-b8ba-a43a0d002cf2"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:15 GMT + - Tue, 22 Jun 2021 20:53:41 GMT ms-cv: - - G6FFxcQIV0KZYI/blGkRKQ.0 + - RLUpnCbVSUyNo5DyhQil8g.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11ms + - 59ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:18 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:41 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:01:15.1650847+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:40.9266298+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:15 GMT + - Tue, 22 Jun 2021 20:53:41 GMT ms-cv: - - XxfgnhNXFkShZ05F3sVnbA.0 + - sCbKx6FXeEivBwzCm7XK0A.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 24ms + - 141ms status: code: 200 message: OK @@ -98,33 +102,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:18 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:41 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-36cc-ac00-343a0d0029e3"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-b029-b8ba-a43a0d002cf3"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:15 GMT + - Tue, 22 Jun 2021 20:53:41 GMT ms-cv: - - VZD1G3JvpE6amF0I2xJGYQ.0 + - kTDVqz4cpkSzy9XhBzOnmQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 10ms + - 62ms status: code: 201 message: Created @@ -141,33 +147,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:18 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:42 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:01:15.3051653+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:41.364192+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:15 GMT + - Tue, 22 Jun 2021 20:53:41 GMT ms-cv: - - wxg21vC9wUi1wqkrlD5SnQ.0 + - WaYQ6vTaOEOuTjIF5NIfDA.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 24ms + - 136ms status: code: 200 message: OK @@ -181,36 +189,38 @@ interactions: Connection: - keep-alive Content-Length: - - '258' + - '349' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 24c0c828-5301-4f58-955b-ee94ce3e58cc + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 9773afa0-5c20-4ddb-a745-237b7e600dc0 method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:yvV3f3G4aaImX4P6x9cxEbqeF5mMCWqZ4COCZU7n33A1@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:01:19Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-362f-ac00-343a0d0029e2", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-362f-ac00-343a0d0029e2"}}}}' + body: '{"chatThread": {"id": "19:-t5q3MxOu7oWbKcEplCsZp-MpcHQ14TKECCMkGJKBIs1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:53:42Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-ae62-b8ba-a43a0d002cf2", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-ae62-b8ba-a43a0d002cf2"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:20 GMT + - Tue, 22 Jun 2021 20:53:43 GMT ms-cv: - - UCWHpDwitUuunHCFmGxDpg.0 + - Mc6WCDj8AUmbWzXAfv/87Q.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 3833ms + - 570ms status: code: 201 message: Created @@ -226,7 +236,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/typing?api-version=2021-03-07 response: @@ -235,17 +245,19 @@ interactions: headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-length: - '0' date: - - Tue, 23 Mar 2021 02:01:19 GMT + - Tue, 22 Jun 2021 20:53:43 GMT ms-cv: - - 0xs0B6bhW0Sd53azinpyEA.0 + - TOnwlAwHJE+eV9qDeWFrxg.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 125ms + - 457ms status: code: 200 message: OK @@ -260,30 +272,27 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:01:22 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - x-ms-return-client-request-id: - - 'true' + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, + 2021-03-07, 2021-04-05-preview6 date: - - Tue, 23 Mar 2021 02:01:20 GMT + - Tue, 22 Jun 2021 20:53:44 GMT ms-cv: - - Ku6ml2ePIEucROuO85btnQ.0 - request-context: - - appId= + - TzEabzIkPUa3B1DyMBQ9bw.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 1003ms + - 264ms status: code: 204 message: No Content @@ -298,10 +307,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:01:23 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:44 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -311,17 +320,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:01:21 GMT + - Tue, 22 Jun 2021 20:53:44 GMT ms-cv: - - CIKy5OWUvEy23EuGkbSJHw.0 + - sGMjak7Sg0CruPJuKaAqIg.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 708ms + - 742ms status: code: 204 message: No Content @@ -337,24 +348,31 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:45 GMT + x-ms-return-client-request-id: + - 'true' method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:01:22 GMT + - Tue, 22 Jun 2021 20:53:45 GMT ms-cv: - - Cnk4RDXJXE2/p9wX5yyGGQ.0 + - pX5ETG4m80GrTEu8PfXGRw.0 + request-context: + - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 193ms + - 754ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_update_message.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_update_message.yaml index bc64f74941e9..2011116c76ac 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_update_message.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_update_message.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:24 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:46 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-506e-3ef0-8b3a0d0028e2"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-c119-ceb1-a43a0d00be1b"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:22 GMT + - Tue, 22 Jun 2021 20:53:45 GMT ms-cv: - - UMki/9+bHEaI+ftMx4anZw.0 + - 36o/csKzK0iKljvfjxaZXA.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 12ms + - 70ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:25 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:46 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:01:22.0563135+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:45.6679125+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:22 GMT + - Tue, 22 Jun 2021 20:53:45 GMT ms-cv: - - iQEmbNEZAEOQD2F0iBt9WA.0 + - KY9aFZiwVk27Bc46g7gqJw.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 159ms + - 133ms status: code: 200 message: OK @@ -98,33 +102,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:25 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:46 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-51dc-3ef0-8b3a0d0028e4"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-c2cb-ceb1-a43a0d00be1e"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:23 GMT + - Tue, 22 Jun 2021 20:53:46 GMT ms-cv: - - VfRqI7em1UK+PV8mtGAriA.0 + - 1hbDPoOCpUqNwm14IATLCA.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11ms + - 111ms status: code: 201 message: Created @@ -141,33 +147,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:25 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:46 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:01:22.4376219+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:46.1039276+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:23 GMT + - Tue, 22 Jun 2021 20:53:46 GMT ms-cv: - - OIrGLVttkUmwzV35iZhrFw.0 + - M0dFUiEhjkCWJTm3auM3QA.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 158ms + - 136ms status: code: 200 message: OK @@ -181,36 +189,38 @@ interactions: Connection: - keep-alive Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 493325e0-cd8b-458a-842c-19805a8795b5 + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 68c54c2b-00e7-4ad4-9bee-be8d2218097c method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:a09Xy7oVWsLRF7YgxJijFT6BA89sK48unHlaF4Z_gNQ1@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:01:23Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-506e-3ef0-8b3a0d0028e2", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-506e-3ef0-8b3a0d0028e2"}}}}' + body: '{"chatThread": {"id": "19:-BvngluhydL8F1gmUbbeNquC-NDG13ZZd8nJAbC_7iU1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:53:47Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-c119-ceb1-a43a0d00be1b", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-c119-ceb1-a43a0d00be1b"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:24 GMT + - Tue, 22 Jun 2021 20:53:47 GMT ms-cv: - - qQoCzLos7Uiu4jD92BO5kQ.0 + - Ci3MYsyp9kubNDY48OD1IQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 811ms + - 997ms status: code: 201 message: Created @@ -229,7 +239,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 response: @@ -237,19 +247,21 @@ interactions: headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:24 GMT + - Tue, 22 Jun 2021 20:53:48 GMT ms-cv: - - Iisft2CL1Ue5x8Dkpp1pCg.0 + - a3NAsV7dWEmn/CoK4W57LA.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 125ms + - 219ms status: code: 201 message: Created @@ -267,7 +279,7 @@ interactions: Content-Type: - application/merge-patch+json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages/sanitized?api-version=2021-03-07 response: @@ -276,15 +288,17 @@ interactions: headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 date: - - Tue, 23 Mar 2021 02:01:25 GMT + - Tue, 22 Jun 2021 20:53:48 GMT ms-cv: - - 7SOl1totUkaUtmg3yYGEtA.0 + - s78p5y6DlUqF3zHgw/4LwA.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 236ms + - 262ms status: code: 204 message: No Content @@ -299,30 +313,27 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:01:27 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - x-ms-return-client-request-id: - - 'true' + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, + 2021-03-07, 2021-04-05-preview6 date: - - Tue, 23 Mar 2021 02:01:25 GMT + - Tue, 22 Jun 2021 20:53:48 GMT ms-cv: - - +u1Zmue3w0Crzd7Ea+JRDQ.0 - request-context: - - appId= + - M7CacyQ7tkS5+OEvhTWJjQ.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 644ms + - 246ms status: code: 204 message: No Content @@ -337,10 +348,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:01:28 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:49 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -350,17 +361,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:01:26 GMT + - Tue, 22 Jun 2021 20:53:49 GMT ms-cv: - - kXYrJ3FJuE2VeyVP1bAAcw.0 + - KM5Se/cnKk2EAdGA+26Wlg.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 732ms + - 809ms status: code: 204 message: No Content @@ -376,24 +389,31 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:50 GMT + x-ms-return-client-request-id: + - 'true' method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:01:26 GMT + - Tue, 22 Jun 2021 20:53:50 GMT ms-cv: - - 95gKGT+TOU6rkYmUljljxw.0 + - EZfrJ0Jq1kWOAzh/8YuZfw.0 + request-context: + - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 139ms + - 592ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_update_topic.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_update_topic.yaml index c73944177ae6..eed2bbae1c44 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_update_topic.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_update_topic.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:29 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:51 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-6124-1000-343a0d000afc"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-d525-f6c7-593a0d00a003"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:26 GMT + - Tue, 22 Jun 2021 20:53:51 GMT ms-cv: - - HYBoLTX030ipNXepouOTzg.0 + - C1qoiNl7IkCnqP1Oqe0IYg.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11ms + - 56ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:29 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:51 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:01:26.1642219+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:50.6495859+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:26 GMT + - Tue, 22 Jun 2021 20:53:51 GMT ms-cv: - - 08MvGdzhiES92bkTBy9Jug.0 + - kDzPKMb+RU2zihyd2uvt9A.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 25ms + - 37ms status: code: 200 message: OK @@ -98,33 +102,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:29 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:51 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-61b4-1000-343a0d000afd"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-d5ff-f6c7-593a0d00a004"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:26 GMT + - Tue, 22 Jun 2021 20:53:51 GMT ms-cv: - - ku+Et+fnekKI1Bjqod7CUA.0 + - FRzjdflDFkKar4pPIyo0/g.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11ms + - 31ms status: code: 201 message: Created @@ -141,33 +147,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:29 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:51 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:01:26.5548682+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:50.8597505+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:26 GMT + - Tue, 22 Jun 2021 20:53:51 GMT ms-cv: - - NLLV3c7hsEiVV88MG5++Vg.0 + - 3Yc9mI+xq02hlX/S8YC4hg.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 266ms + - 39ms status: code: 200 message: OK @@ -181,36 +189,38 @@ interactions: Connection: - keep-alive Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - ff1cd2b1-2f26-4f3a-901e-6e1494fcc5d7 + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - fce812e6-bc11-48a0-a1c2-2470f66d1b6f method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:KfTNmvbO3T_lmdUcXIdLnFahl6wsTUWawsi1NpQUqRc1@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:01:27Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-6124-1000-343a0d000afc", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-6124-1000-343a0d000afc"}}}}' + body: '{"chatThread": {"id": "19:hrY9cyB7ZgErqa0D6SAjE_-qOhLJoVAFLMloLt7xs681@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:53:52Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-d525-f6c7-593a0d00a003", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-d525-f6c7-593a0d00a003"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:27 GMT + - Tue, 22 Jun 2021 20:53:52 GMT ms-cv: - - EjqFMniZxE61CjSp+rlYDA.0 + - GZIEKl0lO0ulGWefkkTkRg.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 627ms + - 913ms status: code: 201 message: Created @@ -228,7 +238,7 @@ interactions: Content-Type: - application/merge-patch+json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: @@ -237,15 +247,17 @@ interactions: headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 date: - - Tue, 23 Mar 2021 02:01:28 GMT + - Tue, 22 Jun 2021 20:53:53 GMT ms-cv: - - 5BQRTC6dWUar+WtxvS7cQA.0 + - 7Wwzh2D3s0yJ9N3q9wElYw.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 326ms + - 266ms status: code: 204 message: No Content @@ -260,30 +272,27 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:01:31 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - x-ms-return-client-request-id: - - 'true' + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, + 2021-03-07, 2021-04-05-preview6 date: - - Tue, 23 Mar 2021 02:01:29 GMT + - Tue, 22 Jun 2021 20:53:52 GMT ms-cv: - - q4+2Mhgs8kuKn4S7vdjZwg.0 - request-context: - - appId= + - zrGvZuWGVkG5h0wDR8EHTg.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 636ms + - 346ms status: code: 204 message: No Content @@ -298,10 +307,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:01:31 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:53 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -311,17 +320,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:01:30 GMT + - Tue, 22 Jun 2021 20:53:54 GMT ms-cv: - - TJ1juBJzK0eDCD31dUB+Mw.0 + - q9uOqr0GTUSKe/ir/ryyNA.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 428ms + - 824ms status: code: 204 message: No Content @@ -337,24 +348,31 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:54 GMT + x-ms-return-client-request-id: + - 'true' method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:01:29 GMT + - Tue, 22 Jun 2021 20:53:55 GMT ms-cv: - - mbsLPqTEc0CdZMmcq0t2RA.0 + - iCVroY422E6rGrsUYenAUA.0 + request-context: + - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 185ms + - 721ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_add_participants.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_add_participants.yaml index 4395383eeb60..2e51e2a474c0 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_add_participants.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_add_participants.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:32 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:55 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-6e79-99bf-a43a0d00250d"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-e5e6-28c5-593a0d001c0d"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:30 GMT + - Tue, 22 Jun 2021 20:53:55 GMT ms-cv: - - RbpAl36CeUyXCNaJPFJ1IA.0 + - XWpww3stDUyqbMmJ+1yJEw.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 10ms + - 30ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:32 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:55 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:01:29.7064114+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:54.9284912+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:30 GMT + - Tue, 22 Jun 2021 20:53:55 GMT ms-cv: - - AsJSZpsvUUeDNrc+LjdhCw.0 + - mpm66b7OekSep7ZzPU5FPg.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 137ms + - 40ms status: code: 200 message: OK @@ -98,33 +102,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:33 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:55 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-6fa1-99bf-a43a0d00250e"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-e6cb-28c5-593a0d001c0e"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:30 GMT + - Tue, 22 Jun 2021 20:53:55 GMT ms-cv: - - qJYoueAetkSIjsLsEzcC9w.0 + - uBKTX6L61UCeqboOoOWdVw.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11ms + - 56ms status: code: 201 message: Created @@ -141,33 +147,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:33 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:56 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:01:29.9813796+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:55.1582054+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:30 GMT + - Tue, 22 Jun 2021 20:53:55 GMT ms-cv: - - s13nOlnnDEWAI0GyZ1Ap5A.0 + - ZZH5HFJsw0WR+NDwglwoag.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 129ms + - 37ms status: code: 200 message: OK @@ -177,29 +185,30 @@ interactions: Accept: - application/json Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 5d24a6d1-be90-4b8a-9d22-dbfb9fb88a26 + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - c3f7b5a1-e256-4e60-a5ea-53aca37e7483 method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:KfNu_4Ds85hGQgtD4MAKz_TKTDP6ZURenP1BKib4HL01@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:01:31Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-6e79-99bf-a43a0d00250d", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-6e79-99bf-a43a0d00250d"}}}}' + body: '{"chatThread": {"id": "19:WUog7EmOuu8P05BLA7E9Ppvm30CDd5UxWWojjT26rzM1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:53:56Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-e5e6-28c5-593a0d001c0d", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-e5e6-28c5-593a0d001c0d"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:01:31 GMT - ms-cv: jZGrFToxcUKhvS20F4ACTg.0 + date: Tue, 22 Jun 2021 20:53:57 GMT + ms-cv: jxUIv3+9a0u0fx4mg0Q/Eg.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 388ms + x-cache: CONFIG_NOCACHE + x-processing-time: 1022ms status: code: 201 message: Created @@ -210,24 +219,25 @@ interactions: Accept: - application/json Content-Length: - - '235' + - '327' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/participants/:add?api-version=2021-03-07 response: body: '{}' headers: api-supported-versions: 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:01:31 GMT - ms-cv: VvwE4UblLEil6i/krAvmpA.0 + date: Tue, 22 Jun 2021 20:53:57 GMT + ms-cv: cKjdzV9BgUqbKIyZSjwVdg.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 290ms + x-cache: CONFIG_NOCACHE + x-processing-time: 152ms status: code: 201 message: Created @@ -238,7 +248,7 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: @@ -246,11 +256,12 @@ interactions: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 - date: Tue, 23 Mar 2021 02:01:31 GMT - ms-cv: O54DGubSS0GLHGY9oKL2AA.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + date: Tue, 22 Jun 2021 20:53:58 GMT + ms-cv: xGzw7HdbhkSAf0HtoZivGQ.0 strict-transport-security: max-age=2592000 - x-processing-time: 157ms + x-cache: CONFIG_NOCACHE + x-processing-time: 281ms status: code: 204 message: No Content @@ -266,10 +277,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:01:34 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:58 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -279,17 +290,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:01:32 GMT + - Tue, 22 Jun 2021 20:53:58 GMT ms-cv: - - RRZcVwrPhEWkj3+FWVNyJg.0 + - P5+gBHsU7EOBwcN+yCtd8Q.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 556ms + - 768ms status: code: 204 message: No Content @@ -304,10 +317,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:01:35 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:59 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -317,17 +330,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:01:33 GMT + - Tue, 22 Jun 2021 20:53:59 GMT ms-cv: - - Hnx7tOCmIUSldt3W4NwWYg.0 + - oKtZ9hnGZUSdsxiZNevOcw.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 812ms + - 888ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_delete_message.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_delete_message.yaml index 818856e34f39..4b11017a7ab8 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_delete_message.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_delete_message.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:35 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:00 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-7c6f-eef0-8b3a0d00285e"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-f8bc-570c-113a0d001776"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:34 GMT + - Tue, 22 Jun 2021 20:54:00 GMT ms-cv: - - gGTImgLdekGqbCz4XGNKHw.0 + - HAc+6a6fU0yftNm+UhGG/A.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 12ms + - 107ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:36 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:00 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:01:33.3191566+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:59.9986836+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:34 GMT + - Tue, 22 Jun 2021 20:54:00 GMT ms-cv: - - PGz0Ee42jkmBMZQFpg0wyw.0 + - sqQKW1qslkaFHrvfE4Z4zw.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 154ms + - 163ms status: code: 200 message: OK @@ -98,33 +102,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:36 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:01 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-7dee-eef0-8b3a0d00285f"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-faad-570c-113a0d001777"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:34 GMT + - Tue, 22 Jun 2021 20:54:00 GMT ms-cv: - - aTH30t3MRk6VBA/qgEuTjA.0 + - aitQoG1bV0Smf3M7CbIAbg.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 10ms + - 87ms status: code: 201 message: Created @@ -141,33 +147,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:36 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:01 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:01:33.7058079+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:00.5218274+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:34 GMT + - Tue, 22 Jun 2021 20:54:01 GMT ms-cv: - - 0aQPJ2jE6U+jDr8JvL2OGw.0 + - mBUPBK/5e0Cv/0LsuHuwtA.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 157ms + - 186ms status: code: 200 message: OK @@ -177,29 +185,30 @@ interactions: Accept: - application/json Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - d99e87ae-f8d2-4d0a-a639-6b5ed5a8b712 + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 499169b3-89c3-4d79-8081-09329c9258ba method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:HEaNh2Zfgzh1Fy65Z1yIHDUCgJ56KNJJ-upLvUE5jWg1@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:01:34Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-7c6f-eef0-8b3a0d00285e", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-7c6f-eef0-8b3a0d00285e"}}}}' + body: '{"chatThread": {"id": "19:2bfBBjFX-LF28V9kWUmHvOdoa9NM5hLZDnl824nt2kc1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:54:02Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-f8bc-570c-113a0d001776", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-f8bc-570c-113a0d001776"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:01:35 GMT - ms-cv: 5rfOvIWdVkSGNh2aAel3CA.0 + date: Tue, 22 Jun 2021 20:54:01 GMT + ms-cv: wiXbQ9z9hkCmXQ1WX6FLaA.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 674ms + x-cache: CONFIG_NOCACHE + x-processing-time: 1070ms status: code: 201 message: Created @@ -215,20 +224,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 response: body: '{"id": "sanitized"}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:01:34 GMT - ms-cv: 4j2L4rzVDkKHkxDdrCAoew.0 + date: Tue, 22 Jun 2021 20:54:02 GMT + ms-cv: HB4yT9fRYECvn1dkxaxrVw.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 130ms + x-cache: CONFIG_NOCACHE + x-processing-time: 137ms status: code: 201 message: Created @@ -239,7 +249,7 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages/sanitized?api-version=2021-03-07 response: @@ -247,11 +257,12 @@ interactions: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 - date: Tue, 23 Mar 2021 02:01:35 GMT - ms-cv: 0l8MS4zxukWJ3jI/oRFyPQ.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + date: Tue, 22 Jun 2021 20:54:02 GMT + ms-cv: 25Yp2PAvPkCjy6AEBdreNw.0 strict-transport-security: max-age=2592000 - x-processing-time: 148ms + x-cache: CONFIG_NOCACHE + x-processing-time: 194ms status: code: 204 message: No Content @@ -262,7 +273,7 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: @@ -270,11 +281,12 @@ interactions: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 - date: Tue, 23 Mar 2021 02:01:35 GMT - ms-cv: X7CIxPMlz0GTKj0Zak3AsQ.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + date: Tue, 22 Jun 2021 20:54:02 GMT + ms-cv: WdtqWb/hUk+TGfE+3yshCQ.0 strict-transport-security: max-age=2592000 - x-processing-time: 186ms + x-cache: CONFIG_NOCACHE + x-processing-time: 117ms status: code: 204 message: No Content @@ -290,10 +302,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:01:38 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:03 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -303,17 +315,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:01:36 GMT + - Tue, 22 Jun 2021 20:54:04 GMT ms-cv: - - wzeWZc48E0SCEkZtttt6Gw.0 + - K2sAnihUKkCAGdItrSxxHg.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 791ms + - 876ms status: code: 204 message: No Content @@ -328,10 +342,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:01:39 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:04 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -341,17 +355,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:01:38 GMT + - Tue, 22 Jun 2021 20:54:05 GMT ms-cv: - - LnrsMEpVsk2TBsJU4CsAGA.0 + - Rk7bc2s7AU+LDjhYSpveNA.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 728ms + - 776ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_get_message.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_get_message.yaml index 398f23f012c2..97ac02fac809 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_get_message.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_get_message.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:40 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:05 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-8ce7-6a0b-343a0d002767"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-0cbe-b8ba-a43a0d002cff"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:38 GMT + - Tue, 22 Jun 2021 20:54:05 GMT ms-cv: - - ImRSG/3KLEGs976GXBpY1Q.0 + - RLZBQT8YPUWAzD7bo/efSQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11ms + - 60ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:40 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:05 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:01:37.3508481+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:05.0254301+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:38 GMT + - Tue, 22 Jun 2021 20:54:05 GMT ms-cv: - - BpZIgAevuUujc4YZqy/T6A.0 + - KIzItmhL+06VBiLxdETVrg.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 28ms + - 135ms status: code: 200 message: OK @@ -98,33 +102,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:40 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:06 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-8d62-6a0b-343a0d002768"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-0e62-b8ba-a43a0d002d00"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:38 GMT + - Tue, 22 Jun 2021 20:54:06 GMT ms-cv: - - 4BP8zhGrHk+N66rNbpYabw.0 + - aSh00vLNLEizqRtjXeik2Q.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 9ms + - 96ms status: code: 201 message: Created @@ -141,33 +147,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:40 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:06 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:01:37.4847991+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:05.4591877+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:38 GMT + - Tue, 22 Jun 2021 20:54:06 GMT ms-cv: - - OzWH+TyVQESPKnQ2FlvLtA.0 + - r2KAkS0Wq02/qCN0Nu8D4Q.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 26ms + - 146ms status: code: 200 message: OK @@ -177,29 +185,30 @@ interactions: Accept: - application/json Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 804833b7-e592-4a33-8edd-f3ade3307e0a + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - a70f4e5d-a202-447f-bbb6-39fe30a751e8 method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:yyDNL6BtrLwjYbPdkCHUXouom06BzoUj8-oRK4bBHN01@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:01:38Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-8ce7-6a0b-343a0d002767", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-8ce7-6a0b-343a0d002767"}}}}' + body: '{"chatThread": {"id": "19:OqsBKH78B-ASbL8lopnL7TfzS5oPZecTgP9h2bbOZ381@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:54:06Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-0cbe-b8ba-a43a0d002cff", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-0cbe-b8ba-a43a0d002cff"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:01:38 GMT - ms-cv: CE7uwJQ4gkaxUeMqIlT61w.0 + date: Tue, 22 Jun 2021 20:54:07 GMT + ms-cv: dQKbZZTsvUqMSRDWJqXJeg.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 751ms + x-cache: CONFIG_NOCACHE + x-processing-time: 463ms status: code: 201 message: Created @@ -215,20 +224,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 response: body: '{"id": "sanitized"}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:01:38 GMT - ms-cv: KKz2dSgNeEiBQZi+9xf3hQ.0 + date: Tue, 22 Jun 2021 20:54:07 GMT + ms-cv: mh4QuWAPn0qvfXZa61e9zg.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 171ms + x-cache: CONFIG_NOCACHE + x-processing-time: 281ms status: code: 201 message: Created @@ -239,23 +249,24 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages/sanitized?api-version=2021-03-07 response: - body: '{"id": "sanitized", "type": "text", "sequenceId": "3", "version": "1616464899480", + body: '{"id": "sanitized", "type": "text", "sequenceId": "3", "version": "1624395247382", "content": {"message": "hello world"}, "senderDisplayName": "sender name", "createdOn": - "2021-03-23T02:01:39Z", "senderCommunicationIdentifier": {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-8ce7-6a0b-343a0d002767", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-8ce7-6a0b-343a0d002767"}}}' + "2021-06-22T20:54:07Z", "senderCommunicationIdentifier": {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-0cbe-b8ba-a43a0d002cff", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-0cbe-b8ba-a43a0d002cff"}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:01:38 GMT - ms-cv: qi8NIvmP1kixVo6jvScp4g.0 + date: Tue, 22 Jun 2021 20:54:07 GMT + ms-cv: I++SMZGu7EyK3kv0WzQFDg.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 267ms + x-cache: CONFIG_NOCACHE + x-processing-time: 109ms status: code: 200 message: OK @@ -266,7 +277,7 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: @@ -274,11 +285,12 @@ interactions: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 - date: Tue, 23 Mar 2021 02:01:39 GMT - ms-cv: mB1CExfxI0SR0rYVZMLpaw.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + date: Tue, 22 Jun 2021 20:54:07 GMT + ms-cv: mVgN23PaGEyiGgo5V40rBA.0 strict-transport-security: max-age=2592000 - x-processing-time: 177ms + x-cache: CONFIG_NOCACHE + x-processing-time: 270ms status: code: 204 message: No Content @@ -294,10 +306,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:01:42 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:08 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -307,17 +319,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:01:40 GMT + - Tue, 22 Jun 2021 20:54:08 GMT ms-cv: - - CxM9gPCLlUiLBlN5MSj1Fw.0 + - PL/oc9cZC0qxaGACMwSDag.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 495ms + - 803ms status: code: 204 message: No Content @@ -332,10 +346,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:01:43 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:08 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -345,17 +359,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:01:41 GMT + - Tue, 22 Jun 2021 20:54:09 GMT ms-cv: - - gfzoYenB3UOJb+VYm5/5Wg.0 + - LpWYNIv5T06G4XDUnPyKvw.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 631ms + - 488ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_get_properties.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_get_properties.yaml index 89397cd2f91f..31005e16ca6d 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_get_properties.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_get_properties.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:43 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:09 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-9b08-3ef0-8b3a0d0028f8"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-1df7-51b9-a43a0d009419"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:41 GMT + - Tue, 22 Jun 2021 20:54:10 GMT ms-cv: - - l6poQNuDVkOUZiOA8+Sx0w.0 + - ZAAM4UZTJkii6HZy6TlB3g.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11ms + - 69ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:44 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:10 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:01:41.1588227+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:09.490438+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:41 GMT + - Tue, 22 Jun 2021 20:54:10 GMT ms-cv: - - 7/GVCALi40iNIYLXgFkp8g.0 + - csbtpOA6nUmNIwpsfqdnfg.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 158ms + - 184ms status: code: 200 message: OK @@ -98,33 +102,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:44 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:10 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-9c7c-3ef0-8b3a0d0028f9"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-1fc9-51b9-a43a0d00941a"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:41 GMT + - Tue, 22 Jun 2021 20:54:10 GMT ms-cv: - - 6RHVc0jXAUmIrVzKCgurNg.0 + - Sf27eaCSXECGtSbQ3xVNgA.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 12ms + - 98ms status: code: 201 message: Created @@ -141,33 +147,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:44 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:10 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:01:41.5520077+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:09.9658129+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:42 GMT + - Tue, 22 Jun 2021 20:54:10 GMT ms-cv: - - uBQ8X4WH8k6Z/he2RCKpKQ.0 + - 2pvk2x1rSEC49KodxUMVwA.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 166ms + - 155ms status: code: 200 message: OK @@ -177,29 +185,30 @@ interactions: Accept: - application/json Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 57e8a09f-93ae-4f59-97bb-fbb0ca922465 + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 688c08f7-d916-485c-b32e-dc2de45bbab0 method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:w2v_LnGoH_NQzUsSOBeDIiy-rQFX6ooEhhFYxtAfDt01@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:01:42Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-9b08-3ef0-8b3a0d0028f8", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-9b08-3ef0-8b3a0d0028f8"}}}}' + body: '{"chatThread": {"id": "19:6LDSbOCXBWWvZnFFxPmDLC3x5_3oXqyaCG6OC28K2nQ1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:54:11Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-1df7-51b9-a43a0d009419", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-1df7-51b9-a43a0d009419"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:01:43 GMT - ms-cv: BQbIugkgVUWvF119R0pDtQ.0 + date: Tue, 22 Jun 2021 20:54:11 GMT + ms-cv: PjLujZB+ZEqERW3yVaQW2Q.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 691ms + x-cache: CONFIG_NOCACHE + x-processing-time: 708ms status: code: 201 message: Created @@ -210,22 +219,23 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: - body: '{"id": "sanitized", "topic": "test topic", "createdOn": "2021-03-23T02:01:42Z", - "createdByCommunicationIdentifier": {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-9b08-3ef0-8b3a0d0028f8", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-9b08-3ef0-8b3a0d0028f8"}}}' + body: '{"id": "sanitized", "topic": "test topic", "createdOn": "2021-06-22T20:54:11Z", + "createdByCommunicationIdentifier": {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-1df7-51b9-a43a0d009419", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-1df7-51b9-a43a0d009419"}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:01:43 GMT - ms-cv: z1B8OczIPE6ZMai/qYDg/Q.0 + date: Tue, 22 Jun 2021 20:54:12 GMT + ms-cv: t8aAZGqQREy2lRPb2tLSFw.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 145ms + x-cache: CONFIG_NOCACHE + x-processing-time: 90ms status: code: 200 message: OK @@ -236,7 +246,7 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: @@ -244,11 +254,12 @@ interactions: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 - date: Tue, 23 Mar 2021 02:01:43 GMT - ms-cv: PDFAzl/jpkOYmD3x1p7Kfw.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + date: Tue, 22 Jun 2021 20:54:12 GMT + ms-cv: l1NFCKT1802RymnMQEMGUA.0 strict-transport-security: max-age=2592000 - x-processing-time: 174ms + x-cache: CONFIG_NOCACHE + x-processing-time: 124ms status: code: 204 message: No Content @@ -264,10 +275,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:01:46 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:12 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -277,17 +288,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:01:44 GMT + - Tue, 22 Jun 2021 20:54:13 GMT ms-cv: - - eOR4XQpT00CKg9IIUx+J/A.0 + - tksE94u4g0mOaIPraXGUWw.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 756ms + - 679ms status: code: 204 message: No Content @@ -302,10 +315,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:01:47 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:13 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -315,17 +328,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:01:45 GMT + - Tue, 22 Jun 2021 20:54:14 GMT ms-cv: - - P1dz9eQpI0eCgDbUphOYpg.0 + - XdL6QvFe3U+iwuyR4jQWXQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 685ms + - 752ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_list_messages.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_list_messages.yaml index cd4f4837bd7f..3ce050a67048 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_list_messages.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_list_messages.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:48 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:14 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-ab4a-f40f-343a0d00348f"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-2f94-ceb1-a43a0d00be3d"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:45 GMT + - Tue, 22 Jun 2021 20:54:14 GMT ms-cv: - - 3JEPxcumoEG8SNyJQTcD3Q.0 + - qno+WgjR1kijEOzaDWVRmw.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11ms + - 59ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:48 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:14 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:01:45.1271161+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:13.9575394+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:46 GMT + - Tue, 22 Jun 2021 20:54:14 GMT ms-cv: - - BV2LzGusj0Gs7PEoEQOM9Q.0 + - WxZVPzHY0EScFh1JhfdnSA.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 25ms + - 136ms status: code: 200 message: OK @@ -98,33 +102,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:48 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:15 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-abc5-f40f-343a0d003490"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-313b-ceb1-a43a0d00be3e"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:46 GMT + - Tue, 22 Jun 2021 20:54:14 GMT ms-cv: - - wUwWJFmIK0SEdesHvB4pMQ.0 + - GdmHh306W0qKqXYosKng5A.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11ms + - 60ms status: code: 201 message: Created @@ -141,33 +147,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:48 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:15 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:01:45.2499843+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:14.3763+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:46 GMT + - Tue, 22 Jun 2021 20:54:14 GMT ms-cv: - - i3TdECcaoU6GXqc/cLl+uw.0 + - yapNkafm2UKFPdGE2kNABw.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 25ms + - 135ms status: code: 200 message: OK @@ -177,29 +185,30 @@ interactions: Accept: - application/json Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - b8374fe8-e7ce-4bb4-82a2-5ef6f05e71ac + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 2ec1eab4-67e2-419c-a8c3-ad007e02e535 method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:zBc3LxTPpuXaVjsv1UC0nBQtbCpHh7P9qybTAOAaWaM1@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:01:46Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-ab4a-f40f-343a0d00348f", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-ab4a-f40f-343a0d00348f"}}}}' + body: '{"chatThread": {"id": "19:-BvCnUQkh7-NosK2rCWxqE1TIlbPcrdeUpvGI_aw0WA1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:54:15Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-2f94-ceb1-a43a0d00be3d", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-2f94-ceb1-a43a0d00be3d"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:01:46 GMT - ms-cv: v1b6xZ2EiEKA8hCVC//qNQ.0 + date: Tue, 22 Jun 2021 20:54:16 GMT + ms-cv: vOkIhlOJwEaDcWUwMwwEHg.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 569ms + x-cache: CONFIG_NOCACHE + x-processing-time: 1098ms status: code: 201 message: Created @@ -215,20 +224,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 response: body: '{"id": "sanitized"}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:01:46 GMT - ms-cv: +fCAeaZSR0+PP83DgM4IrA.0 + date: Tue, 22 Jun 2021 20:54:16 GMT + ms-cv: veT6Y7DBQEC2PGwqguj6Og.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 131ms + x-cache: CONFIG_NOCACHE + x-processing-time: 255ms status: code: 201 message: Created @@ -239,20 +249,21 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?maxPageSize=1&api-version=2021-03-07 response: body: '{"value": "sanitized", "nextLink": "sanitized"}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:01:46 GMT - ms-cv: BpPY2EayZUehWvCteoY38w.0 + date: Tue, 22 Jun 2021 20:54:16 GMT + ms-cv: zLsxENg1+EOnd1sRdwstVg.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 111ms + x-cache: CONFIG_NOCACHE + x-processing-time: 153ms status: code: 200 message: OK @@ -263,20 +274,21 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?syncState=sanitized&startTime=1/1/1970%2012:00:00%20AM%20%2B00:00&maxPageSize=1&api-version=2021-03-07 response: body: '{"value": "sanitized", "nextLink": "sanitized"}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:01:46 GMT - ms-cv: HjNutBNQA0iLnUwmnjWAAQ.0 + date: Tue, 22 Jun 2021 20:54:16 GMT + ms-cv: m8FKnXWBHUunjtpVcUn2xQ.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 149ms + x-cache: CONFIG_NOCACHE + x-processing-time: 216ms status: code: 200 message: OK @@ -287,20 +299,21 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?syncState=sanitized&startTime=1/1/1970%2012:00:00%20AM%20%2B00:00&maxPageSize=1&api-version=2021-03-07 response: body: '{"value": "sanitized", "nextLink": "sanitized"}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:01:47 GMT - ms-cv: fUiZjjTw3E6lCZgdEXCILg.0 + date: Tue, 22 Jun 2021 20:54:17 GMT + ms-cv: zTVMe32EGUCXcZzcbkK93w.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 136ms + x-cache: CONFIG_NOCACHE + x-processing-time: 216ms status: code: 200 message: OK @@ -311,20 +324,21 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?syncState=sanitized&startTime=1/1/1970%2012:00:00%20AM%20%2B00:00&maxPageSize=1&api-version=2021-03-07 response: body: '{"value": "sanitized"}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:01:47 GMT - ms-cv: T80LxrYXwk6Oqmvz3G/r4Q.0 + date: Tue, 22 Jun 2021 20:54:17 GMT + ms-cv: 50u/dVa2xkWKvfEtj8Hu1A.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 184ms + x-cache: CONFIG_NOCACHE + x-processing-time: 293ms status: code: 200 message: OK @@ -335,7 +349,7 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: @@ -343,11 +357,12 @@ interactions: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 - date: Tue, 23 Mar 2021 02:01:47 GMT - ms-cv: zOG6UGK/QEGqHqFmu6a/jw.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + date: Tue, 22 Jun 2021 20:54:17 GMT + ms-cv: tyrZYzqAQk+y2NE0EGSyTA.0 strict-transport-security: max-age=2592000 - x-processing-time: 114ms + x-cache: CONFIG_NOCACHE + x-processing-time: 298ms status: code: 204 message: No Content @@ -363,10 +378,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:01:50 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:18 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -376,17 +391,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:01:48 GMT + - Tue, 22 Jun 2021 20:54:18 GMT ms-cv: - - o8qpbPgcMEaGnIt9yYCiPw.0 + - YYzFUh/Oq0GwQVQoy7DGEw.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 630ms + - 588ms status: code: 204 message: No Content @@ -401,10 +418,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:01:51 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:19 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -414,17 +431,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:01:49 GMT + - Tue, 22 Jun 2021 20:54:19 GMT ms-cv: - - OxhCNyQcaEGHF9fUDKI4/g.0 + - D8kNdWJcFkSl65osT65WTg.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 532ms + - 599ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_list_participants.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_list_participants.yaml index 3c808a060d66..1262bc561b98 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_list_participants.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_list_participants.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:52 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:20 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-ba0c-b5bb-a43a0d0030c1"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-47e0-ceb1-a43a0d00be45"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:48 GMT + - Tue, 22 Jun 2021 20:54:20 GMT ms-cv: - - fIalAE7hAESRqdjlYFHP9Q.0 + - 4cdXxvLfn0yzJOe/FkqhEw.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11ms + - 65ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:52 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:21 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:01:49.0486876+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:20.2206621+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:49 GMT + - Tue, 22 Jun 2021 20:54:20 GMT ms-cv: - - kdPXkN/g7UWB8uwNzdLjvw.0 + - pXvVqjoZXESzKPWpK0nvbg.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 133ms + - 131ms status: code: 200 message: OK @@ -98,33 +102,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:52 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:21 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-bb2f-b5bb-a43a0d0030c2"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-49d5-ceb1-a43a0d00be46"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:49 GMT + - Tue, 22 Jun 2021 20:54:20 GMT ms-cv: - - JY6WZcADrE2MCxiD6uFw2w.0 + - J/GDmkv77kavo6bM1c+myQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11ms + - 63ms status: code: 201 message: Created @@ -141,33 +147,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:52 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:21 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:01:49.3450146+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:20.6923263+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:49 GMT + - Tue, 22 Jun 2021 20:54:20 GMT ms-cv: - - ifqeP/nbbEeyGQhSImAzIA.0 + - i1fclV1Qskmh5v8J5pUukA.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 134ms + - 130ms status: code: 200 message: OK @@ -177,29 +185,30 @@ interactions: Accept: - application/json Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 4819e137-60e0-40ce-ad41-637fd7b4ff4d + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 54313c93-9823-44c3-84e9-8b1d7e31cc53 method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:obYF2-CpFUqL8bXE0HAGvfrpgnbMwt-wprLkFlxvZR81@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:01:50Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-ba0c-b5bb-a43a0d0030c1", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-ba0c-b5bb-a43a0d0030c1"}}}}' + body: '{"chatThread": {"id": "19:vVHmsbRsyNUbAUFVwcFYrsJ970aWOClkvnZxG16V5TU1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:54:21Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-47e0-ceb1-a43a0d00be45", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-47e0-ceb1-a43a0d00be45"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:01:51 GMT - ms-cv: K0X7wcG4YUyYmdQBa6vnFg.0 + date: Tue, 22 Jun 2021 20:54:21 GMT + ms-cv: KR1oIRziQEKbK8OWcP2b0w.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 938ms + x-cache: CONFIG_NOCACHE + x-processing-time: 696ms status: code: 201 message: Created @@ -210,24 +219,25 @@ interactions: Accept: - application/json Content-Length: - - '235' + - '327' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/participants/:add?api-version=2021-03-07 response: body: '{}' headers: api-supported-versions: 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:01:51 GMT - ms-cv: M+iMwQs1MUKL0JbpqEH56g.0 + date: Tue, 22 Jun 2021 20:54:22 GMT + ms-cv: Abns45iUlEa8RmnjmVgaqQ.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 273ms + x-cache: CONFIG_NOCACHE + x-processing-time: 255ms status: code: 201 message: Created @@ -238,20 +248,21 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/chat/threads/sanitized/participants?maxPageSize=1&skip=1&api-version=2021-03-07 response: body: '{"value": "sanitized"}' headers: api-supported-versions: 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:01:51 GMT - ms-cv: sHt5RZxawk6W8QhYI4g6HQ.0 + date: Tue, 22 Jun 2021 20:54:22 GMT + ms-cv: 2Zr8WiuwTkeceKfN9+DAXA.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 108ms + x-cache: CONFIG_NOCACHE + x-processing-time: 103ms status: code: 200 message: OK @@ -262,7 +273,7 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: @@ -270,11 +281,12 @@ interactions: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 - date: Tue, 23 Mar 2021 02:01:51 GMT - ms-cv: zBpOMXzWiU2knmrm1frObQ.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + date: Tue, 22 Jun 2021 20:54:22 GMT + ms-cv: w1qWZgHqW0uHzw3N7K6x4Q.0 strict-transport-security: max-age=2592000 - x-processing-time: 258ms + x-cache: CONFIG_NOCACHE + x-processing-time: 126ms status: code: 204 message: No Content @@ -290,10 +302,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:01:54 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:23 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -303,17 +315,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:01:51 GMT + - Tue, 22 Jun 2021 20:54:23 GMT ms-cv: - - KrfPmahnI0iYsQslMxIQhQ.0 + - xbR2O1ZgsEuOFAZdOzSong.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 456ms + - 671ms status: code: 204 message: No Content @@ -328,10 +342,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:01:55 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:24 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -341,17 +355,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:01:52 GMT + - Tue, 22 Jun 2021 20:54:24 GMT ms-cv: - - OG+MWL9VL0aoy8YQGbhkpQ.0 + - I0MqS8Bp2kKNl/GtQRVL4w.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 785ms + - 711ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_list_read_receipts.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_list_read_receipts.yaml index 8fb25a57f2cf..edd49792d88a 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_list_read_receipts.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_list_read_receipts.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:56 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:25 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-cafe-92fd-8b3a0d002532"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-596b-b8ba-a43a0d002d11"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:53 GMT + - Tue, 22 Jun 2021 20:54:24 GMT ms-cv: - - 6qgune8SGUmbgnn81jaX3w.0 + - +M/pYbd5ekaEb+MikDW9Lg.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11ms + - 62ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:56 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:25 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:01:53.424543+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:24.6795353+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:53 GMT + - Tue, 22 Jun 2021 20:54:24 GMT ms-cv: - - j9w5mgHRo0yp3naT3ruZUg.0 + - 1Um9nUSh2EGxsDfUizh3Eg.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 148ms + - 140ms status: code: 200 message: OK @@ -98,33 +102,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:56 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:25 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-cc65-92fd-8b3a0d002533"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-5afc-b8ba-a43a0d002d12"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:53 GMT + - Tue, 22 Jun 2021 20:54:25 GMT ms-cv: - - dDDA7XKt8UCMg/57WCDbsQ.0 + - kApVSJfIj0SFaJ11GqWIQA.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11ms + - 60ms status: code: 201 message: Created @@ -141,33 +147,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:56 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:25 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:01:53.7844653+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:24.0726322+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:54 GMT + - Tue, 22 Jun 2021 20:54:25 GMT ms-cv: - - IbIkMYhfmk6k2gS3Gwb9cw.0 + - b0jfkb4u3EicByRfv6TwJA.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 148ms + - 138ms status: code: 200 message: OK @@ -177,29 +185,30 @@ interactions: Accept: - application/json Content-Length: - - '475' + - '659' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 5c277620-3a8c-4a62-bc2d-701205223760 + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 6f60d9df-0261-4d6f-9df5-5d7dc4e020f5 method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:TJc_Iz5YIv_tJ1-fF5-cOVYut1AAPDA-gj7--7lCpcM1@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:01:54Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-cafe-92fd-8b3a0d002532", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-cafe-92fd-8b3a0d002532"}}}}' + body: '{"chatThread": {"id": "19:e7oDYrKtGUNpCbdNh2sL0LFls3C25lvhfeEtoZlkRtM1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:54:26Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-596b-b8ba-a43a0d002d11", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-596b-b8ba-a43a0d002d11"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:01:55 GMT - ms-cv: kiCCiyLk1kKhjD66zv5U3g.0 + date: Tue, 22 Jun 2021 20:54:26 GMT + ms-cv: G/hz8rX8jk27tlZG0No7TQ.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 418ms + x-cache: CONFIG_NOCACHE + x-processing-time: 450ms status: code: 201 message: Created @@ -215,20 +224,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 response: body: '{"id": "sanitized"}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:01:55 GMT - ms-cv: 5QFZ9n9vR0i26qAFk1SiVw.0 + date: Tue, 22 Jun 2021 20:54:26 GMT + ms-cv: TBzEYBVOp0ezRotk6g+oQQ.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 222ms + x-cache: CONFIG_NOCACHE + x-processing-time: 198ms status: code: 201 message: Created @@ -243,7 +253,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-03-07 response: @@ -251,12 +261,13 @@ interactions: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-length: '0' - date: Tue, 23 Mar 2021 02:01:55 GMT - ms-cv: 2RsNc/iQsEun7mpIcVFqFw.0 + date: Tue, 22 Jun 2021 20:54:26 GMT + ms-cv: ZQvBdcoiikKJuyqRUePN9A.0 strict-transport-security: max-age=2592000 - x-processing-time: 221ms + x-cache: CONFIG_NOCACHE + x-processing-time: 116ms status: code: 200 message: OK @@ -267,20 +278,21 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-03-07 response: body: '{"value": "sanitized"}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:01:55 GMT - ms-cv: 9sspPAfyAE+ashBpGadL0Q.0 + date: Tue, 22 Jun 2021 20:54:26 GMT + ms-cv: Il3dgS029UWsvq4r6vhkuw.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 106ms + x-cache: CONFIG_NOCACHE + x-processing-time: 148ms status: code: 200 message: OK @@ -296,20 +308,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 response: body: '{"id": "sanitized"}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:01:55 GMT - ms-cv: E7LgtFddlkqpaD5UB33uDA.0 + date: Tue, 22 Jun 2021 20:54:27 GMT + ms-cv: JBbVET7fwEOyN448LVR7Ng.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 121ms + x-cache: CONFIG_NOCACHE + x-processing-time: 212ms status: code: 201 message: Created @@ -324,7 +337,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-03-07 response: @@ -332,12 +345,13 @@ interactions: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-length: '0' - date: Tue, 23 Mar 2021 02:01:56 GMT - ms-cv: me4SNxnVe0CWWdl9W7fHXw.0 + date: Tue, 22 Jun 2021 20:54:27 GMT + ms-cv: u5owL29DjkeGm+ywVNR4NA.0 strict-transport-security: max-age=2592000 - x-processing-time: 229ms + x-cache: CONFIG_NOCACHE + x-processing-time: 141ms status: code: 200 message: OK @@ -348,20 +362,21 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-03-07 response: body: '{"value": "sanitized"}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:01:56 GMT - ms-cv: 2kCArQBeekaSdvuDKvWj6g.0 + date: Tue, 22 Jun 2021 20:54:28 GMT + ms-cv: D2vXx2TFZ0e8er0BZm9pCw.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 109ms + x-cache: CONFIG_NOCACHE + x-processing-time: 108ms status: code: 200 message: OK @@ -377,20 +392,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 response: body: '{"id": "sanitized"}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:01:56 GMT - ms-cv: FZmhiH9pPUWQOv87YvLTQw.0 + date: Tue, 22 Jun 2021 20:54:27 GMT + ms-cv: 6oJtVbwoWk+Lz5OTTmMpeg.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 138ms + x-cache: CONFIG_NOCACHE + x-processing-time: 174ms status: code: 201 message: Created @@ -405,7 +421,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-03-07 response: @@ -413,12 +429,13 @@ interactions: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-length: '0' - date: Tue, 23 Mar 2021 02:01:57 GMT - ms-cv: sv0i4SW5Dkudq7UuRNUqYg.0 + date: Tue, 22 Jun 2021 20:54:28 GMT + ms-cv: RHxHXip2W0OP+wiA9aCwqg.0 strict-transport-security: max-age=2592000 - x-processing-time: 228ms + x-cache: CONFIG_NOCACHE + x-processing-time: 97ms status: code: 200 message: OK @@ -429,20 +446,21 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-03-07 response: body: '{"value": "sanitized"}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:01:57 GMT - ms-cv: 0tcBaPSAMECuICv1fUYIHg.0 + date: Tue, 22 Jun 2021 20:54:28 GMT + ms-cv: ndpKimPpNUy6KW4PW+QyIg.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 102ms + x-cache: CONFIG_NOCACHE + x-processing-time: 118ms status: code: 200 message: OK @@ -453,20 +471,21 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?maxPageSize=2&skip=0&api-version=2021-03-07 response: body: '{"value": "sanitized"}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:01:57 GMT - ms-cv: u7WGhEwtBUO3cqoFMyx+Ug.0 + date: Tue, 22 Jun 2021 20:54:29 GMT + ms-cv: QTu1bX322EaphP3bGtdmig.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 145ms + x-cache: CONFIG_NOCACHE + x-processing-time: 129ms status: code: 200 message: OK @@ -477,7 +496,7 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: @@ -485,11 +504,12 @@ interactions: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 - date: Tue, 23 Mar 2021 02:01:57 GMT - ms-cv: 2M5tIDvBlkayLKZpsENY/w.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + date: Tue, 22 Jun 2021 20:54:29 GMT + ms-cv: cipnldZBs0qong6eweHJcQ.0 strict-transport-security: max-age=2592000 - x-processing-time: 131ms + x-cache: CONFIG_NOCACHE + x-processing-time: 178ms status: code: 204 message: No Content @@ -505,10 +525,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:02:00 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:29 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -518,17 +538,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:01:58 GMT + - Tue, 22 Jun 2021 20:54:29 GMT ms-cv: - - h8AF707O3U2/xwlEM8OA/g.0 + - I9UVp+7RGky9WYz7K4svVA.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 794ms + - 657ms status: code: 204 message: No Content @@ -543,10 +565,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:02:01 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:30 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -556,17 +578,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:01:59 GMT + - Tue, 22 Jun 2021 20:54:30 GMT ms-cv: - - jaKqMubaD0GuMlbcgLZcVA.0 + - X5aCNTC/lU+ik1HggqYISA.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 1005ms + - 618ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_remove_participant.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_remove_participant.yaml index 7fbe547e15e9..f7f644ef3546 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_remove_participant.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_remove_participant.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:02:02 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:31 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-e219-80f5-8b3a0d002f99"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-717f-f6c7-593a0d00a00d"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:59 GMT + - Tue, 22 Jun 2021 20:54:31 GMT ms-cv: - - Kn8BWge50EaaTyByJZJOig.0 + - IqvWsJuyq0WoSkExSYrgNg.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 13ms + - 44ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:02:02 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:31 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:01:59.347789+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:30.6578675+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:59 GMT + - Tue, 22 Jun 2021 20:54:31 GMT ms-cv: - - 0D+zPQzTokeWpmgyY7a3Zw.0 + - 2IcCcwd2v0CCS1Sjh8aCKg.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 150ms + - 26ms status: code: 200 message: OK @@ -98,33 +102,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:02:02 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:31 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-e389-80f5-8b3a0d002f9a"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-7247-f6c7-593a0d00a00e"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:59 GMT + - Tue, 22 Jun 2021 20:54:31 GMT ms-cv: - - TNMQKztBgEO0D/l8w4lvKw.0 + - +ARJdn1gbUSv+VunSIQZ3A.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 12ms + - 35ms status: code: 201 message: Created @@ -141,33 +147,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:02:02 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:31 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:01:59.7078343+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:30.89207+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:02:00 GMT + - Tue, 22 Jun 2021 20:54:31 GMT ms-cv: - - YAp6Y1hZ0EaThiZiXsAKgA.0 + - P3/7emU+i0y5qG4b0Nkeew.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 151ms + - 62ms status: code: 200 message: OK @@ -177,29 +185,30 @@ interactions: Accept: - application/json Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - cc9166bb-7449-430f-ad42-8b33a62d34e1 + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 1e069a50-3c63-4a4e-b49d-618ddebd4414 method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:fZ0plAX6yNjPhU2w1QrIF0IWhyS_nyr8NC6A59_yP7A1@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:02:00Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-e219-80f5-8b3a0d002f99", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-e219-80f5-8b3a0d002f99"}}}}' + body: '{"chatThread": {"id": "19:1ungQFx5v99KM_cZK_UXp0A5vy822oO__BjqoQmIm0c1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:54:32Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-717f-f6c7-593a0d00a00d", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-717f-f6c7-593a0d00a00d"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:02:00 GMT - ms-cv: mSPbZ3cEgECCKX4ZBVTyZQ.0 + date: Tue, 22 Jun 2021 20:54:32 GMT + ms-cv: h7NhsyYQlEGj7XTNgWx4DQ.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 615ms + x-cache: CONFIG_NOCACHE + x-processing-time: 742ms status: code: 201 message: Created @@ -210,39 +219,41 @@ interactions: Accept: - application/json Content-Length: - - '235' + - '327' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/participants/:add?api-version=2021-03-07 response: body: '{}' headers: api-supported-versions: 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:02:01 GMT - ms-cv: wysyux9XukSuk2OWbPl4Eg.0 + date: Tue, 22 Jun 2021 20:54:33 GMT + ms-cv: 792I65gM3UmT7bUDVx/xSQ.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 404ms + x-cache: CONFIG_NOCACHE + x-processing-time: 331ms status: code: 201 message: Created url: https://sanitized.communication.azure.com/chat/threads/sanitized/participants/:add?api-version=2021-03-07 - request: - body: '{"communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-e389-80f5-8b3a0d002f9a"}}' + body: '{"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-7247-f6c7-593a0d00a00e", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-7247-f6c7-593a0d00a00e"}}' headers: Accept: - application/json Content-Length: - - '112' + - '204' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/participants/:remove?api-version=2021-03-07 response: @@ -250,11 +261,12 @@ interactions: string: '' headers: api-supported-versions: 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 - date: Tue, 23 Mar 2021 02:02:01 GMT - ms-cv: LgiU/w/uN0aKzZlRf6muag.0 + 2021-03-07, 2021-04-05-preview6 + date: Tue, 22 Jun 2021 20:54:33 GMT + ms-cv: NBLyJEFAmkWBrQTBIF3J+g.0 strict-transport-security: max-age=2592000 - x-processing-time: 178ms + x-cache: CONFIG_NOCACHE + x-processing-time: 323ms status: code: 204 message: No Content @@ -265,7 +277,7 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: @@ -273,11 +285,12 @@ interactions: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 - date: Tue, 23 Mar 2021 02:02:02 GMT - ms-cv: e+gjt74cc06qaVFHquX0Kw.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + date: Tue, 22 Jun 2021 20:54:33 GMT + ms-cv: nd4N1IhVPEyzqWJkVYSTMg.0 strict-transport-security: max-age=2592000 - x-processing-time: 247ms + x-cache: CONFIG_NOCACHE + x-processing-time: 125ms status: code: 204 message: No Content @@ -293,10 +306,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:02:05 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:33 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -306,17 +319,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:02:02 GMT + - Tue, 22 Jun 2021 20:54:34 GMT ms-cv: - - AIaELJmEw06K1geN/edDJg.0 + - 29WY8NNhWUmQ9AeHdq/rNA.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 679ms + - 745ms status: code: 204 message: No Content @@ -331,10 +346,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:02:06 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:34 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -344,17 +359,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:02:03 GMT + - Tue, 22 Jun 2021 20:54:34 GMT ms-cv: - - 0ftUfgWYZUmXNhsPJidHQQ.0 + - qPVyqimsdkmzcHUi+xuMUQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 765ms + - 778ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_send_message.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_send_message.yaml index f65f37f70641..f14608061d6a 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_send_message.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_send_message.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:02:06 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:35 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-f3ff-3ef0-8b3a0d00290a"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-8304-f6c7-593a0d00a00f"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:02:04 GMT + - Tue, 22 Jun 2021 20:54:35 GMT ms-cv: - - PDmx66Jzp067QxtLOoTi8A.0 + - ALwGnKk//0OaT9X1Ntk95g.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11ms + - 69ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:02:07 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:36 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:02:03.9333825+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:35.201396+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:02:04 GMT + - Tue, 22 Jun 2021 20:54:35 GMT ms-cv: - - wsT8yZ2kJkmNcYgTzFLIUg.0 + - osvRLdA+PEOeofdOK3gk1Q.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 161ms + - 65ms status: code: 200 message: OK @@ -98,33 +102,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:02:07 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:36 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-f574-3ef0-8b3a0d00290b"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-8412-f6c7-593a0d00a010"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:02:04 GMT + - Tue, 22 Jun 2021 20:54:35 GMT ms-cv: - - moFdM9UosEOUEArjEW4wnQ.0 + - OmV87kLnRkOjfAdvFuLr0A.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11ms + - 32ms status: code: 201 message: Created @@ -141,33 +147,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:02:07 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:36 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:02:04.3249993+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:35.4291858+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:02:04 GMT + - Tue, 22 Jun 2021 20:54:35 GMT ms-cv: - - 6YOS4pgrG0KCe0NEoYUd6Q.0 + - Kf7cM2EqkEamCtp1T/oThA.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 164ms + - 40ms status: code: 200 message: OK @@ -177,29 +185,30 @@ interactions: Accept: - application/json Content-Length: - - '258' + - '349' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 3a03f73b-3808-4a99-8c08-dfd0571d03be + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - be5b3ad2-e26e-431b-b848-2296fde84ed7 method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:ad-UPbyRbyuUKR0pk86hRM-qqtShJf56MAmXE6HxQfs1@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:02:05Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-f3ff-3ef0-8b3a0d00290a", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-f3ff-3ef0-8b3a0d00290a"}}}}' + body: '{"chatThread": {"id": "19:JwuKSQ17ePPSgIzlmMfT65-itpaosjoTTyeYTBu0DF01@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:54:36Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-8304-f6c7-593a0d00a00f", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-8304-f6c7-593a0d00a00f"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:02:06 GMT - ms-cv: f+QlwLUZ0kmnSdZtSU90UA.0 + date: Tue, 22 Jun 2021 20:54:37 GMT + ms-cv: 8jJyi3KKOEqvs+XA+SEenA.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 743ms + x-cache: CONFIG_NOCACHE + x-processing-time: 669ms status: code: 201 message: Created @@ -215,20 +224,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 response: body: '{"id": "sanitized"}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:02:05 GMT - ms-cv: WK3lp+bTV0a/8bEazqMisQ.0 + date: Tue, 22 Jun 2021 20:54:37 GMT + ms-cv: 5/f7LH34Ek+OLfGSOkJkNA.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 185ms + x-cache: CONFIG_NOCACHE + x-processing-time: 187ms status: code: 201 message: Created @@ -239,7 +249,7 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: @@ -247,11 +257,12 @@ interactions: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 - date: Tue, 23 Mar 2021 02:02:06 GMT - ms-cv: Vw8CUko+wU63Se34+95txw.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + date: Tue, 22 Jun 2021 20:54:37 GMT + ms-cv: +2tY6Wy0a0imxcK2aqE87w.0 strict-transport-security: max-age=2592000 - x-processing-time: 236ms + x-cache: CONFIG_NOCACHE + x-processing-time: 121ms status: code: 204 message: No Content @@ -267,10 +278,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:02:09 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:37 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -280,17 +291,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:02:07 GMT + - Tue, 22 Jun 2021 20:54:38 GMT ms-cv: - - epZy4C+ipE68RqinUgpFDw.0 + - c82Dkxy8ikGWkihaylhR7w.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 778ms + - 833ms status: code: 204 message: No Content @@ -305,10 +318,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:02:10 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:38 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -318,17 +331,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:02:07 GMT + - Tue, 22 Jun 2021 20:54:38 GMT ms-cv: - - OOJNDItXikG9Gt2Gnbpj3A.0 + - WC7lx3t0FUqf0K/5XiJeaQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 638ms + - 510ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_send_read_receipt.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_send_read_receipt.yaml index d061acd9123d..ae2a14ae8545 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_send_read_receipt.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_send_read_receipt.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:02:10 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:39 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb3-0432-3ef0-8b3a0d002910"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-92ad-28c5-593a0d001c47"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:02:08 GMT + - Tue, 22 Jun 2021 20:54:39 GMT ms-cv: - - 9g14Sa04yUGx4wfH+3AK0Q.0 + - ZHWslVpngE6RjQ8qQR/2dw.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11ms + - 22ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:02:11 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:40 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:02:08.0806226+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:39.4154833+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:02:09 GMT + - Tue, 22 Jun 2021 20:54:40 GMT ms-cv: - - O26apXiXG0isn5F/86PEbg.0 + - PzTxP5OSHkCBUT8iWGlpMg.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 162ms + - 42ms status: code: 200 message: OK @@ -98,33 +102,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:02:11 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:40 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb3-05ab-3ef0-8b3a0d002913"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-957e-28c5-593a0d001c48"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:02:09 GMT + - Tue, 22 Jun 2021 20:54:40 GMT ms-cv: - - 47PwiPj4MUmunmw8qtz8zw.0 + - hiTQSi757kSbcJn+6St8pQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 10ms + - 31ms status: code: 201 message: Created @@ -141,33 +147,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:02:11 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:40 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:02:08.4696443+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:39.9305944+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:02:09 GMT + - Tue, 22 Jun 2021 20:54:40 GMT ms-cv: - - 9TiizXJRAk2WNCb1oXIVrg.0 + - wGhXJm2eJ023sI2mKEDU8Q.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 158ms + - 40ms status: code: 200 message: OK @@ -177,29 +185,30 @@ interactions: Accept: - application/json Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - de1069cd-1688-4d5d-ace9-5603ff43896d + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - f11ba3f8-8d25-4853-a43b-60769bf0d247 method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:THAH-m4HFKOOiOedTFEGEj23gST5NVHjHvLS6GVUyxk1@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:02:09Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb3-0432-3ef0-8b3a0d002910", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb3-0432-3ef0-8b3a0d002910"}}}}' + body: '{"chatThread": {"id": "19:-x6L3gHUNtF6P2wflnLjbCkW2cL6oS4UVpExU0XYUTQ1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:54:41Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-92ad-28c5-593a0d001c47", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-92ad-28c5-593a0d001c47"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:02:09 GMT - ms-cv: Tzob30ICKEqFdtzjSZX6aw.0 + date: Tue, 22 Jun 2021 20:54:41 GMT + ms-cv: oKqWEz+oOkOp8R/UzkPrXQ.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 563ms + x-cache: CONFIG_NOCACHE + x-processing-time: 697ms status: code: 201 message: Created @@ -215,20 +224,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 response: body: '{"id": "sanitized"}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:02:09 GMT - ms-cv: lxGWHkc90kGN4YGUiwWq/g.0 + date: Tue, 22 Jun 2021 20:54:41 GMT + ms-cv: RlHGvShOCUS3lAk7MtmZWA.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 119ms + x-cache: CONFIG_NOCACHE + x-processing-time: 250ms status: code: 201 message: Created @@ -243,7 +253,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-03-07 response: @@ -251,12 +261,13 @@ interactions: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-length: '0' - date: Tue, 23 Mar 2021 02:02:09 GMT - ms-cv: Qay0GnVjKUW2RlWA5VzK1Q.0 + date: Tue, 22 Jun 2021 20:54:42 GMT + ms-cv: GsHLUVJxsU2h/j2Aj/qbcg.0 strict-transport-security: max-age=2592000 - x-processing-time: 265ms + x-cache: CONFIG_NOCACHE + x-processing-time: 241ms status: code: 200 message: OK @@ -267,7 +278,7 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: @@ -275,11 +286,12 @@ interactions: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 - date: Tue, 23 Mar 2021 02:02:10 GMT - ms-cv: OyizfITJ8UmY85MQcSbJlw.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + date: Tue, 22 Jun 2021 20:54:42 GMT + ms-cv: IjQ1s1MxpUWcw/T7RwqvNA.0 strict-transport-security: max-age=2592000 - x-processing-time: 252ms + x-cache: CONFIG_NOCACHE + x-processing-time: 299ms status: code: 204 message: No Content @@ -295,10 +307,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:02:13 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:43 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -308,17 +320,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:02:11 GMT + - Tue, 22 Jun 2021 20:54:44 GMT ms-cv: - - 43gFbB2Q3kmqnuR1Bjvt1A.0 + - bFwZIKESmEi2kvlmluxhog.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 696ms + - 822ms status: code: 204 message: No Content @@ -333,10 +347,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:02:14 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:45 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -346,17 +360,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:02:12 GMT + - Tue, 22 Jun 2021 20:54:45 GMT ms-cv: - - Pya6Qto9Lk2xYgZSZoazMw.0 + - EkWWHVPidk6GBzuv40xZtQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 542ms + - 550ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_send_typing_notification.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_send_typing_notification.yaml index 5189d5b0455c..c956210778c8 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_send_typing_notification.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_send_typing_notification.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:02:14 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:45 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb3-12f2-1000-343a0d000b07"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-abef-b8ba-a43a0d002d22"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:02:12 GMT + - Tue, 22 Jun 2021 20:54:46 GMT ms-cv: - - f8MBljXf1kuYxa2lvrkVBw.0 + - uNPycoiaHkSeEWdwYPGPHg.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 12ms + - 93ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:02:14 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:46 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:02:11.6791242+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:45.8106545+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:02:12 GMT + - Tue, 22 Jun 2021 20:54:46 GMT ms-cv: - - UNZJSP4nyEKjbWfb+/53mg.0 + - 2dxUqyMv0UyngcN5b3tnTw.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 23ms + - 139ms status: code: 200 message: OK @@ -98,33 +102,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:02:15 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:46 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb3-137e-1000-343a0d000b08"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-ada2-b8ba-a43a0d002d23"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:02:12 GMT + - Tue, 22 Jun 2021 20:54:46 GMT ms-cv: - - eYtUpybz+USYfRW4Q9ul0w.0 + - FcZnCnf6rkGbxOWEuXKUfg.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 10ms + - 87ms status: code: 201 message: Created @@ -141,33 +147,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:02:15 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:47 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:02:11.8051875+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:46.2564276+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:02:12 GMT + - Tue, 22 Jun 2021 20:54:46 GMT ms-cv: - - j0pUtkj0lEyaKhAmrrTTMQ.0 + - yBJPkAejjkOgDtogXYfvwQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 24ms + - 168ms status: code: 200 message: OK @@ -177,28 +185,29 @@ interactions: Accept: - application/json Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 300d4d28-607a-4b5c-9bf4-f45fa973ab0d + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 28e6d964-77bd-42cd-a8e5-107268111a92 method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:IdonVjTgIEdQDkiiynPc5J__gwXbSYom_T4Uk4ubW-k1@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:02:12Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb3-12f2-1000-343a0d000b07", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb3-12f2-1000-343a0d000b07"}}}}' + body: '{"chatThread": {"id": "19:-Vtmg8MynfXaSL4-snZhqIM_F349EJKadyT2kmivCiQ1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:54:47Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-abef-b8ba-a43a0d002d22", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-abef-b8ba-a43a0d002d22"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:02:13 GMT - ms-cv: oAY0MrSkpkOmmgboS8hwaA.0 + date: Tue, 22 Jun 2021 20:54:47 GMT + ms-cv: kf0yrBRoL0a2Km5uJ/5ksw.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked + x-cache: CONFIG_NOCACHE x-processing-time: 736ms status: code: 201 @@ -210,7 +219,7 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/typing?api-version=2021-03-07 response: @@ -218,12 +227,13 @@ interactions: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-length: '0' - date: Tue, 23 Mar 2021 02:02:13 GMT - ms-cv: txmi0jMTrkemJzYhSYg5Xw.0 + date: Tue, 22 Jun 2021 20:54:47 GMT + ms-cv: UU5D+Mzz/EaLBOQo4tn+wA.0 strict-transport-security: max-age=2592000 - x-processing-time: 232ms + x-cache: CONFIG_NOCACHE + x-processing-time: 258ms status: code: 200 message: OK @@ -234,7 +244,7 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: @@ -242,11 +252,12 @@ interactions: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 - date: Tue, 23 Mar 2021 02:02:13 GMT - ms-cv: p2tssF1EiUue1w8CNYfWFw.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + date: Tue, 22 Jun 2021 20:54:48 GMT + ms-cv: Du6a5WU5+UiJIeDc8DDVzQ.0 strict-transport-security: max-age=2592000 - x-processing-time: 187ms + x-cache: CONFIG_NOCACHE + x-processing-time: 238ms status: code: 204 message: No Content @@ -262,10 +273,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:02:16 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:48 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -275,17 +286,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:02:14 GMT + - Tue, 22 Jun 2021 20:54:49 GMT ms-cv: - - L3uAOfgxT0OpozDoWBEo2w.0 + - /azBFW05bEGPuwTM4DeEVg.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 551ms + - 776ms status: code: 204 message: No Content @@ -300,10 +313,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:02:17 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:49 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -313,17 +326,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:02:15 GMT + - Tue, 22 Jun 2021 20:54:49 GMT ms-cv: - - UyKeyBRlHU+zY8Cn2+TJvw.0 + - JjPmNNWASkCXMRnH9U6JoQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 990ms + - 640ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_update_message.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_update_message.yaml index 2baa5152b14c..ff67dc4c7751 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_update_message.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_update_message.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:02:18 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:50 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb3-2101-6a0b-343a0d00277c"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-be09-51b9-a43a0d009445"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:02:15 GMT + - Tue, 22 Jun 2021 20:54:50 GMT ms-cv: - - aIDb/ulzrEWcIP4kI8KmBw.0 + - /Ub5zZaghkaLwcdZOFVNrQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 13ms + - 70ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:02:18 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:51 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:02:15.2830379+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:50.484132+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:02:15 GMT + - Tue, 22 Jun 2021 20:54:50 GMT ms-cv: - - Qqj2/7/gRUOzfQG+oIsg2g.0 + - iv3zmQ6ekUOcE3i6Sovp4Q.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 27ms + - 171ms status: code: 200 message: OK @@ -98,33 +102,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:02:18 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:51 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb3-2193-6a0b-343a0d00277d"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-c010-51b9-a43a0d009446"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:02:15 GMT + - Tue, 22 Jun 2021 20:54:50 GMT ms-cv: - - rnQh1FFGx0ahd7ePMhbUMg.0 + - NEhQUCZwjU2XlFeTkB632Q.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 12ms + - 96ms status: code: 201 message: Created @@ -141,33 +147,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:02:18 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:51 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:02:15.4276198+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:51.03718+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:02:15 GMT + - Tue, 22 Jun 2021 20:54:52 GMT ms-cv: - - GmSqkCO/B0yeYcOzQWmOgw.0 + - uQGkYyW2NEOewW448sR/rQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 26ms + - 147ms status: code: 200 message: OK @@ -177,29 +185,30 @@ interactions: Accept: - application/json Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 9886e472-2842-4982-a5c8-a79c4f2a9da0 + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 7cadd68e-5e6f-4a33-8862-fc8769ece727 method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:s4u_awPd_-N0gIPN2ybUzmgMS8eI-DXGdcjKdZCg41A1@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:02:16Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb3-2101-6a0b-343a0d00277c", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb3-2101-6a0b-343a0d00277c"}}}}' + body: '{"chatThread": {"id": "19:h5Qj9fgSx2isMThWhsaE5_Jll8G0a163GcIoNmmFnIg1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:54:52Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-be09-51b9-a43a0d009445", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-be09-51b9-a43a0d009445"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:02:16 GMT - ms-cv: Mwrb4ZrOVkyy7rRlJrPi+g.0 + date: Tue, 22 Jun 2021 20:54:52 GMT + ms-cv: c9gEYpnO8k+cpKoGdwsW+w.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 591ms + x-cache: CONFIG_NOCACHE + x-processing-time: 431ms status: code: 201 message: Created @@ -215,20 +224,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 response: body: '{"id": "sanitized"}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:02:16 GMT - ms-cv: 0yy2JP/LSE+sHN1siCm2/Q.0 + date: Tue, 22 Jun 2021 20:54:53 GMT + ms-cv: QWI0euuxD0i0svu061fdXw.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 184ms + x-cache: CONFIG_NOCACHE + x-processing-time: 185ms status: code: 201 message: Created @@ -243,7 +253,7 @@ interactions: Content-Type: - application/merge-patch+json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages/sanitized?api-version=2021-03-07 response: @@ -251,11 +261,12 @@ interactions: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 - date: Tue, 23 Mar 2021 02:02:16 GMT - ms-cv: PMN1WU1MY0G8Gftg31M2+g.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + date: Tue, 22 Jun 2021 20:54:53 GMT + ms-cv: Fcb4SdBa7EiwyKgPMltfWQ.0 strict-transport-security: max-age=2592000 - x-processing-time: 235ms + x-cache: CONFIG_NOCACHE + x-processing-time: 245ms status: code: 204 message: No Content @@ -266,7 +277,7 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: @@ -274,11 +285,12 @@ interactions: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 - date: Tue, 23 Mar 2021 02:02:17 GMT - ms-cv: 9Fi1w+eQW0iAn4cP8fYKFg.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + date: Tue, 22 Jun 2021 20:54:53 GMT + ms-cv: AeZmKWdjskK4lhb+mpHV8A.0 strict-transport-security: max-age=2592000 - x-processing-time: 126ms + x-cache: CONFIG_NOCACHE + x-processing-time: 179ms status: code: 204 message: No Content @@ -294,10 +306,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:02:20 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:54 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -307,17 +319,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:02:18 GMT + - Tue, 22 Jun 2021 20:54:54 GMT ms-cv: - - nBo9ZUJZa0qFJoRPVyIj0A.0 + - Sf5Or/RWBEGpB2hKq0oo5w.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 827ms + - 588ms status: code: 204 message: No Content @@ -332,10 +346,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:02:21 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:54 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -345,17 +359,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:02:19 GMT + - Tue, 22 Jun 2021 20:54:55 GMT ms-cv: - - 0jTsJDEvX0qSx2ixE0VjDw.0 + - w92WNoXjZEeYpHIgqWMXfw.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 1115ms + - 708ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_update_topic.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_update_topic.yaml index 065d17822fbc..7dcd8b626c8e 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_update_topic.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_update_topic.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:02:22 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:55 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb3-31c1-92fd-8b3a0d00253c"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-d5cb-570c-113a0d00178f"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:02:20 GMT + - Tue, 22 Jun 2021 20:54:57 GMT ms-cv: - - Wgnh93aprkarSvXkZxU9lg.0 + - d7cDl24Vn0iuYgLfRNVBoA.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11ms + - 83ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:02:22 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:57 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:02:19.7454209+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:56.6651919+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:02:20 GMT + - Tue, 22 Jun 2021 20:54:57 GMT ms-cv: - - 75LQm+Bsa0uohY1VhGW9TA.0 + - TF1wdnaLl0imD9GGQ0rsKw.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 159ms + - 162ms status: code: 200 message: OK @@ -98,33 +102,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:02:23 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:57 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb3-333b-92fd-8b3a0d00253d"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-d8d4-570c-113a0d001791"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:02:20 GMT + - Tue, 22 Jun 2021 20:54:57 GMT ms-cv: - - U06Obtx0Kkyo/ocPN4tTuA.0 + - VAWDijDsqU+M2PbTCZ6gFw.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 12ms + - 91ms status: code: 201 message: Created @@ -141,33 +147,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:02:23 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:58 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:02:20.1323824+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:57.7524043+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:02:20 GMT + - Tue, 22 Jun 2021 20:54:58 GMT ms-cv: - - 5eVOsn42Dk6NF6YKvVgp0w.0 + - 2/nGLYVsdEWTBNEVFvw8wg.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 155ms + - 217ms status: code: 200 message: OK @@ -177,29 +185,30 @@ interactions: Accept: - application/json Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 1e7d74f4-b208-4898-98b3-1593d221bd1d + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 1e455e28-a94f-4cd1-ae4b-30f60276ec0a method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:k6_-wPrAEB1TIUJd4qB1Quf6oxatO2B5UWtl9kR4ylg1@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:02:21Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb3-31c1-92fd-8b3a0d00253c", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb3-31c1-92fd-8b3a0d00253c"}}}}' + body: '{"chatThread": {"id": "19:CaKyZFIDA9YYOhv2UkyImFQ5A0NJI133NHLUGcD7ypE1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:54:59Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-d5cb-570c-113a0d00178f", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-d5cb-570c-113a0d00178f"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:02:22 GMT - ms-cv: scmv8T9+qEOwncsefCytGg.0 + date: Tue, 22 Jun 2021 20:54:59 GMT + ms-cv: 10CBOcI3Sk+cD7apl2KD4w.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 1254ms + x-cache: CONFIG_NOCACHE + x-processing-time: 453ms status: code: 201 message: Created @@ -214,7 +223,7 @@ interactions: Content-Type: - application/merge-patch+json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: @@ -222,11 +231,12 @@ interactions: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 - date: Tue, 23 Mar 2021 02:02:22 GMT - ms-cv: xJ6J/E/1oEWO0IPOo7HhwA.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + date: Tue, 22 Jun 2021 20:55:01 GMT + ms-cv: b7xy7EWFgE6lTlT3Ek1vag.0 strict-transport-security: max-age=2592000 - x-processing-time: 261ms + x-cache: CONFIG_NOCACHE + x-processing-time: 275ms status: code: 204 message: No Content @@ -237,7 +247,7 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: @@ -245,11 +255,12 @@ interactions: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 - date: Tue, 23 Mar 2021 02:02:22 GMT - ms-cv: KZntzLqWfEKJKZvCo7FIVg.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + date: Tue, 22 Jun 2021 20:55:01 GMT + ms-cv: 9nW1AUfRAUCQqESp3XiTbA.0 strict-transport-security: max-age=2592000 - x-processing-time: 258ms + x-cache: CONFIG_NOCACHE + x-processing-time: 244ms status: code: 204 message: No Content @@ -265,10 +276,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:02:25 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:55:02 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -278,17 +289,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:02:23 GMT + - Tue, 22 Jun 2021 20:55:03 GMT ms-cv: - - MIzREcoipkKUMZqZrwzU3g.0 + - UISdDH9xH0mSFJcmdo8nbw.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 752ms + - 1046ms status: code: 204 message: No Content @@ -303,10 +316,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:02:26 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:55:03 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -316,17 +329,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:02:24 GMT + - Tue, 22 Jun 2021 20:55:04 GMT ms-cv: - - azi3b8ZlIkyDln3Sp7Ltag.0 + - QqT2UWjvQE655NpiLEzjEg.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 662ms + - 861ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-identity/azure/communication/identity/_shared/policy.py b/sdk/communication/azure-communication-identity/azure/communication/identity/_shared/policy.py index b2a0de8d4238..d4197ede0e38 100644 --- a/sdk/communication/azure-communication-identity/azure/communication/identity/_shared/policy.py +++ b/sdk/communication/azure-communication-identity/azure/communication/identity/_shared/policy.py @@ -51,7 +51,7 @@ def _sign_request(self, request): if self._decode_url: query_url = urllib.parse.unquote(query_url) - signed_headers = "date;host;x-ms-content-sha256" + signed_headers = "x-ms-date;host;x-ms-content-sha256" utc_now = get_current_utc_time() if request.http_request.body is None: @@ -76,7 +76,7 @@ def _sign_request(self, request): signature = self._compute_hmac(string_to_sign) signature_header = { - "Date": utc_now, + "x-ms-date": utc_now, "x-ms-content-sha256": content_hash, "x-ms-return-client-request-id": "true", "Authorization": "HMAC-SHA256 SignedHeaders=" +\ diff --git a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_create_user.yaml b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_create_user.yaml index 7e41f754589f..301b0204bd09 100644 --- a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_create_user.yaml +++ b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_create_user.yaml @@ -12,10 +12,10 @@ interactions: - '2' Content-Type: - application/json - Date: - - Wed, 21 Apr 2021 01:03:37 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 18:58:41 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -25,21 +25,23 @@ interactions: string: '{"identity": {"id": "sanitized"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 01:03:35 GMT + - Tue, 22 Jun 2021 18:58:41 GMT ms-cv: - - MAFpWlOWZkOwGTjcoqQs/A.0 + - lHDY2orXNUaVroMvaXTo5Q.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 13ms + - 67ms status: code: 201 message: Created diff --git a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_create_user_and_token.yaml b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_create_user_and_token.yaml index 641ff514b18f..774bc7a8bfd9 100644 --- a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_create_user_and_token.yaml +++ b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_create_user_and_token.yaml @@ -12,10 +12,10 @@ interactions: - '35' Content-Type: - application/json - Date: - - Wed, 21 Apr 2021 01:03:37 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 18:58:41 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -23,24 +23,26 @@ interactions: response: body: string: '{"identity": {"id": "sanitized"}, "accessToken": {"token": "sanitized", - "expiresOn": "2021-04-22T01:03:36.4974103+00:00"}}' + "expiresOn": "2021-06-23T18:58:41.0416959+00:00"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 01:03:37 GMT + - Tue, 22 Jun 2021 18:58:41 GMT ms-cv: - - 8h5FkbC290CXIiTUXJXG1A.0 + - l/CSdhjlCkqUxwXbhm0A0A.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 460ms + - 44ms status: code: 201 message: Created diff --git a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_create_user_and_token_with_no_scopes.yaml b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_create_user_and_token_with_no_scopes.yaml index cb6d253c9f41..41dce2b2b65a 100644 --- a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_create_user_and_token_with_no_scopes.yaml +++ b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_create_user_and_token_with_no_scopes.yaml @@ -12,10 +12,10 @@ interactions: - '2' Content-Type: - application/json - Date: - - Wed, 21 Apr 2021 01:03:38 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 18:58:42 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -25,21 +25,23 @@ interactions: string: '{"identity": {"id": "sanitized"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 01:03:37 GMT + - Tue, 22 Jun 2021 18:58:41 GMT ms-cv: - - vm3Y63QS2E2q02bPpNW/pw.0 + - xw+PCHfIQk+b5c4uCZpjWQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 13ms + - 66ms status: code: 201 message: Created diff --git a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_create_user_from_managed_identity.yaml b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_create_user_from_managed_identity.yaml index 56c413fc45bc..cdd55f49254c 100644 --- a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_create_user_from_managed_identity.yaml +++ b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_create_user_from_managed_identity.yaml @@ -13,7 +13,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: @@ -21,21 +21,23 @@ interactions: string: '{"identity": {"id": "sanitized"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 01:03:38 GMT + - Tue, 22 Jun 2021 18:58:43 GMT ms-cv: - - /0cdgYWzkUSJN8NGVXbzww.0 + - rpnmbbC2M0Kyzkz98A1JdQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 12ms + - 134ms status: code: 201 message: Created diff --git a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_delete_user.yaml b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_delete_user.yaml index 250ef1bbcff1..e68e914c5ed9 100644 --- a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_delete_user.yaml +++ b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_delete_user.yaml @@ -12,10 +12,10 @@ interactions: - '2' Content-Type: - application/json - Date: - - Wed, 21 Apr 2021 01:03:39 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 18:58:44 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -25,21 +25,23 @@ interactions: string: '{"identity": {"id": "sanitized"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 01:03:38 GMT + - Tue, 22 Jun 2021 18:58:43 GMT ms-cv: - - v1sp8VZ12kmfHIv4KPQL/g.0 + - 9IzqC9YNm0uDNYm6RxtIYg.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11ms + - 49ms status: code: 201 message: Created @@ -54,10 +56,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Wed, 21 Apr 2021 01:03:39 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 18:58:44 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -67,17 +69,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Wed, 21 Apr 2021 01:03:39 GMT + - Tue, 22 Jun 2021 18:58:44 GMT ms-cv: - - pd0NJk+DuE+kE0OxofV5oA.0 + - JTY7rdzhkUqYBDIPRq0VQQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 556ms + - 533ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_delete_user_from_managed_identity.yaml b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_delete_user_from_managed_identity.yaml index 7459941fd8df..a99163075e33 100644 --- a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_delete_user_from_managed_identity.yaml +++ b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_delete_user_from_managed_identity.yaml @@ -13,7 +13,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: @@ -21,21 +21,23 @@ interactions: string: '{"identity": {"id": "sanitized"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 01:03:41 GMT + - Tue, 22 Jun 2021 18:58:45 GMT ms-cv: - - i1V3NBItW0+3BVjUvRgbMw.0 + - Ug7Zn5/Gz0KQgz9N4Xhucg.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 192ms + - 184ms status: code: 201 message: Created @@ -51,7 +53,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 response: @@ -59,17 +61,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Wed, 21 Apr 2021 01:03:42 GMT + - Tue, 22 Jun 2021 18:58:46 GMT ms-cv: - - LTpN0ElayE2anISXsYUn0A.0 + - nilo/u16T0+MwV1DVmJmKA.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 559ms + - 602ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_get_token.yaml b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_get_token.yaml index 86e6b83ec35f..a039939d2bf0 100644 --- a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_get_token.yaml +++ b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_get_token.yaml @@ -12,10 +12,10 @@ interactions: - '2' Content-Type: - application/json - Date: - - Wed, 21 Apr 2021 01:03:43 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 18:58:46 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -25,21 +25,23 @@ interactions: string: '{"identity": {"id": "sanitized"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 01:03:42 GMT + - Tue, 22 Jun 2021 18:58:46 GMT ms-cv: - - qRo3jp67IUCPfCZMWCCiOg.0 + - sQSar9r5TUOqqCxbdBHTyQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 10ms + - 64ms status: code: 201 message: Created @@ -56,34 +58,36 @@ interactions: - '20' Content-Type: - application/json - Date: - - Wed, 21 Apr 2021 01:03:44 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 18:58:47 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: body: - string: '{"token": "sanitized", "expiresOn": "2021-04-22T01:03:42.4880688+00:00"}' + string: '{"token": "sanitized", "expiresOn": "2021-06-23T18:58:46.6953294+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 01:03:42 GMT + - Tue, 22 Jun 2021 18:58:47 GMT ms-cv: - - f/in6N3GcUGnAXhB0syCrw.0 + - /4RHszheLUCYJWaFYBC0Ew.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 149ms + - 139ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_get_token_from_managed_identity.yaml b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_get_token_from_managed_identity.yaml index af0da6165764..593290083c18 100644 --- a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_get_token_from_managed_identity.yaml +++ b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_get_token_from_managed_identity.yaml @@ -13,7 +13,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: @@ -21,21 +21,23 @@ interactions: string: '{"identity": {"id": "sanitized"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 01:03:44 GMT + - Tue, 22 Jun 2021 18:58:47 GMT ms-cv: - - /8iK7bJGjUi0wHSNAwuUvg.0 + - hVvyYX9XxU6zWOPqQNGexQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 63ms + - 120ms status: code: 201 message: Created @@ -53,29 +55,31 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: body: - string: '{"token": "sanitized", "expiresOn": "2021-04-22T01:03:43.9098436+00:00"}' + string: '{"token": "sanitized", "expiresOn": "2021-06-23T18:58:47.9669834+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 01:03:44 GMT + - Tue, 22 Jun 2021 18:58:48 GMT ms-cv: - - lFmF0NQQv0mEcihxGfvDNA.0 + - ScBH9C6lcUKVpuK/HgdNag.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 152ms + - 132ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_get_token_with_no_scopes.yaml b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_get_token_with_no_scopes.yaml index 5f659146f0bd..9701e68cbebb 100644 --- a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_get_token_with_no_scopes.yaml +++ b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_get_token_with_no_scopes.yaml @@ -12,10 +12,10 @@ interactions: - '2' Content-Type: - application/json - Date: - - Wed, 21 Apr 2021 01:03:45 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 18:58:49 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -25,21 +25,23 @@ interactions: string: '{"identity": {"id": "sanitized"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 01:03:44 GMT + - Tue, 22 Jun 2021 18:58:48 GMT ms-cv: - - 9vrmAbY5v0CAKw3yWG5Bmg.0 + - vamc7sfwiEqgDSToVw/p6w.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 13ms + - 66ms status: code: 201 message: Created @@ -56,10 +58,10 @@ interactions: - '2' Content-Type: - application/json - Date: - - Wed, 21 Apr 2021 01:03:46 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 18:58:49 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -72,17 +74,19 @@ interactions: content-type: - application/json date: - - Wed, 21 Apr 2021 01:03:45 GMT + - Tue, 22 Jun 2021 18:58:48 GMT ms-cv: - - Tp8+MIEEKU+8PBZ/KK1LZQ.0 + - JsKQZ1aVqEqESmmKxCb9Jw.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11ms + - 15ms status: code: 400 message: Bad Request diff --git a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_revoke_tokens.yaml b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_revoke_tokens.yaml index 3aa0310f73f2..99816cd053cd 100644 --- a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_revoke_tokens.yaml +++ b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_revoke_tokens.yaml @@ -12,10 +12,10 @@ interactions: - '2' Content-Type: - application/json - Date: - - Wed, 21 Apr 2021 01:03:46 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 18:58:49 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -25,21 +25,23 @@ interactions: string: '{"identity": {"id": "sanitized"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 01:03:45 GMT + - Tue, 22 Jun 2021 18:58:49 GMT ms-cv: - - fuf/w29xP0WNPsRxaQzqoA.0 + - FJHzH2TvD0e12lVcXgSuyA.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 13ms + - 63ms status: code: 201 message: Created @@ -56,34 +58,36 @@ interactions: - '20' Content-Type: - application/json - Date: - - Wed, 21 Apr 2021 01:03:46 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 18:58:50 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: body: - string: '{"token": "sanitized", "expiresOn": "2021-04-22T01:03:45.2383068+00:00"}' + string: '{"token": "sanitized", "expiresOn": "2021-06-23T18:58:49.3439607+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 01:03:45 GMT + - Tue, 22 Jun 2021 18:58:49 GMT ms-cv: - - yDf0VHpTCUOuwF4VOh6jYA.0 + - DKf8LhNaDUOZXXKAxbPF0A.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 144ms + - 136ms status: code: 200 message: OK @@ -98,10 +102,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Wed, 21 Apr 2021 01:03:47 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 18:58:50 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -111,17 +115,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Wed, 21 Apr 2021 01:03:46 GMT + - Tue, 22 Jun 2021 18:58:49 GMT ms-cv: - - x6iZdquF6U6B1JffH3SVog.0 + - kE8W5L1ywUyHQ8Ti27FqDw.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 646ms + - 118ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_revoke_tokens_from_managed_identity.yaml b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_revoke_tokens_from_managed_identity.yaml index b86efc264de9..4bf4ec120fbd 100644 --- a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_revoke_tokens_from_managed_identity.yaml +++ b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_revoke_tokens_from_managed_identity.yaml @@ -13,7 +13,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: @@ -21,21 +21,23 @@ interactions: string: '{"identity": {"id": "sanitized"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 01:03:47 GMT + - Tue, 22 Jun 2021 18:58:51 GMT ms-cv: - - EXzyqcpSLEmW/V9CMYTdrA.0 + - /v3eXw+ynEmrXJx7SCxnZg.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 13ms + - 61ms status: code: 201 message: Created @@ -53,29 +55,31 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: body: - string: '{"token": "sanitized", "expiresOn": "2021-04-22T01:03:47.3930771+00:00"}' + string: '{"token": "sanitized", "expiresOn": "2021-06-23T18:58:50.9078351+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 01:03:48 GMT + - Tue, 22 Jun 2021 18:58:51 GMT ms-cv: - - Ixbw0cZ9202QiXVlpIX4Xg.0 + - BHvQo/WPQUqrZL9kU873EA.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 142ms + - 136ms status: code: 200 message: OK @@ -91,7 +95,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:revokeAccessTokens?api-version=2021-03-07 response: @@ -99,17 +103,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Wed, 21 Apr 2021 01:03:48 GMT + - Tue, 22 Jun 2021 18:58:51 GMT ms-cv: - - siARyMOEtE+pYQ8qc+NsmQ.0 + - w2m7hOe0Z06KH0UWpOZgFw.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 314ms + - 157ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_create_user.yaml b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_create_user.yaml index 7f2bd96fc4ae..5c08470130ad 100644 --- a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_create_user.yaml +++ b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_create_user.yaml @@ -8,10 +8,10 @@ interactions: - '2' Content-Type: - application/json - Date: - - Wed, 21 Apr 2021 01:03:49 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 18:58:52 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -20,16 +20,18 @@ interactions: body: string: '{"identity": {"id": "sanitized"}}' headers: - api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, + 2021-03-31-preview1 content-type: application/json; charset=utf-8 - date: Wed, 21 Apr 2021 01:03:48 GMT - ms-cv: vLH+ygW3XUa8wzACEaR+Bw.0 + date: Tue, 22 Jun 2021 18:58:52 GMT + ms-cv: 8b6Yfs+VdEKtQYXxtcyTrQ.0 request-context: appId= strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 12ms + x-cache: CONFIG_NOCACHE + x-processing-time: 61ms status: code: 201 message: Created - url: https://lakshmanscommunication-communication.communication.azure.com/identities?api-version=2021-03-07 + url: https://smstestapp.communication.azure.com/identities?api-version=2021-03-07 version: 1 diff --git a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_create_user_and_token.yaml b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_create_user_and_token.yaml index 6fdf410808e0..7e280b547b9b 100644 --- a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_create_user_and_token.yaml +++ b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_create_user_and_token.yaml @@ -8,10 +8,10 @@ interactions: - '35' Content-Type: - application/json - Date: - - Wed, 21 Apr 2021 01:03:49 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 18:58:52 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -19,18 +19,20 @@ interactions: response: body: string: '{"identity": {"id": "sanitized"}, "accessToken": {"token": "sanitized", - "expiresOn": "2021-04-22T01:03:48.6583292+00:00"}}' + "expiresOn": "2021-06-23T18:58:52.2693039+00:00"}}' headers: - api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, + 2021-03-31-preview1 content-type: application/json; charset=utf-8 - date: Wed, 21 Apr 2021 01:03:49 GMT - ms-cv: kOV35dSPHEKdFd1cLyyQGA.0 + date: Tue, 22 Jun 2021 18:58:52 GMT + ms-cv: XTjYc9kgYUu7zZ6B8Rdsgg.0 request-context: appId= strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 271ms + x-cache: CONFIG_NOCACHE + x-processing-time: 220ms status: code: 201 message: Created - url: https://lakshmanscommunication-communication.communication.azure.com/identities?api-version=2021-03-07 + url: https://smstestapp.communication.azure.com/identities?api-version=2021-03-07 version: 1 diff --git a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_create_user_and_token_with_no_scopes.yaml b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_create_user_and_token_with_no_scopes.yaml index 734bdbe3fa68..6f6f74d0c129 100644 --- a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_create_user_and_token_with_no_scopes.yaml +++ b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_create_user_and_token_with_no_scopes.yaml @@ -8,10 +8,10 @@ interactions: - '2' Content-Type: - application/json - Date: - - Wed, 21 Apr 2021 01:03:50 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 18:58:53 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -20,16 +20,18 @@ interactions: body: string: '{"identity": {"id": "sanitized"}}' headers: - api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, + 2021-03-31-preview1 content-type: application/json; charset=utf-8 - date: Wed, 21 Apr 2021 01:03:49 GMT - ms-cv: oyaGnhQ3UEmQUwkoKSJAxg.0 + date: Tue, 22 Jun 2021 18:58:53 GMT + ms-cv: daAADl1wzkCrA1udPhvONg.0 request-context: appId= strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 12ms + x-cache: CONFIG_NOCACHE + x-processing-time: 60ms status: code: 201 message: Created - url: https://lakshmanscommunication-communication.communication.azure.com/identities?api-version=2021-03-07 + url: https://smstestapp.communication.azure.com/identities?api-version=2021-03-07 version: 1 diff --git a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_create_user_from_managed_identity.yaml b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_create_user_from_managed_identity.yaml index 923e8bf08762..747ada8532a1 100644 --- a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_create_user_from_managed_identity.yaml +++ b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_create_user_from_managed_identity.yaml @@ -9,23 +9,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: body: string: '{"identity": {"id": "sanitized"}}' headers: - api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, + 2021-03-31-preview1 content-type: application/json; charset=utf-8 - date: Wed, 21 Apr 2021 01:03:57 GMT - ms-cv: sZ0IpHj30kWgvOIETT0pSw.0 + date: Tue, 22 Jun 2021 18:58:53 GMT + ms-cv: blzFPJXQKECRzon4Dt1t+g.0 request-context: appId= strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 75ms + x-cache: CONFIG_NOCACHE + x-processing-time: 29ms status: code: 201 message: Created - url: https://lakshmanscommunication-communication.communication.azure.com/identities?api-version=2021-03-07 + url: https://smstestapp.communication.azure.com/identities?api-version=2021-03-07 version: 1 diff --git a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_delete_user.yaml b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_delete_user.yaml index a1c3b5e80dca..b4ddf3559e35 100644 --- a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_delete_user.yaml +++ b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_delete_user.yaml @@ -8,10 +8,10 @@ interactions: - '2' Content-Type: - application/json - Date: - - Wed, 21 Apr 2021 01:03:57 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 18:58:54 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -20,27 +20,29 @@ interactions: body: string: '{"identity": {"id": "sanitized"}}' headers: - api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, + 2021-03-31-preview1 content-type: application/json; charset=utf-8 - date: Wed, 21 Apr 2021 01:03:56 GMT - ms-cv: CJkZvR0IjU24z7Hl7wULlQ.0 + date: Tue, 22 Jun 2021 18:58:53 GMT + ms-cv: srpqeGImaU+bWruVBTOEgQ.0 request-context: appId= strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 12ms + x-cache: CONFIG_NOCACHE + x-processing-time: 64ms status: code: 201 message: Created - url: https://lakshmanscommunication-communication.communication.azure.com/identities?api-version=2021-03-07 + url: https://smstestapp.communication.azure.com/identities?api-version=2021-03-07 - request: body: '' headers: Accept: - application/json - Date: - - Wed, 21 Apr 2021 01:03:57 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 18:58:54 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -49,14 +51,16 @@ interactions: body: string: '' headers: - api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 - date: Wed, 21 Apr 2021 01:03:56 GMT - ms-cv: CnKxXcEGq0OgIKxwDm9ImA.0 + api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, + 2021-03-31-preview1 + date: Tue, 22 Jun 2021 18:58:54 GMT + ms-cv: Tnse04fTa0653orPnAB3SA.0 request-context: appId= strict-transport-security: max-age=2592000 - x-processing-time: 516ms + x-cache: CONFIG_NOCACHE + x-processing-time: 570ms status: code: 204 message: No Content - url: https://lakshmanscommunication-communication.communication.azure.com/identities/sanitized?api-version=2021-03-07 + url: https://smstestapp.communication.azure.com/identities/sanitized?api-version=2021-03-07 version: 1 diff --git a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_delete_user_from_managed_identity.yaml b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_delete_user_from_managed_identity.yaml index ac4670d4c137..1087400e1b79 100644 --- a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_delete_user_from_managed_identity.yaml +++ b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_delete_user_from_managed_identity.yaml @@ -9,46 +9,50 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: body: string: '{"identity": {"id": "sanitized"}}' headers: - api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, + 2021-03-31-preview1 content-type: application/json; charset=utf-8 - date: Wed, 21 Apr 2021 01:04:01 GMT - ms-cv: KTWJCXY3gUiYfQy7doRb8Q.0 + date: Tue, 22 Jun 2021 18:58:55 GMT + ms-cv: P20kvw1g/k62AibiEW0m0w.0 request-context: appId= strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 13ms + x-cache: CONFIG_NOCACHE + x-processing-time: 213ms status: code: 201 message: Created - url: https://lakshmanscommunication-communication.communication.azure.com/identities?api-version=2021-03-07 + url: https://smstestapp.communication.azure.com/identities?api-version=2021-03-07 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 response: body: string: '' headers: - api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 - date: Wed, 21 Apr 2021 01:04:02 GMT - ms-cv: FonWIeITCEGEaNxOB9+T0w.0 + api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, + 2021-03-31-preview1 + date: Tue, 22 Jun 2021 18:58:56 GMT + ms-cv: PUdu1M8QkkeuAL9M7ArAGg.0 request-context: appId= strict-transport-security: max-age=2592000 - x-processing-time: 543ms + x-cache: CONFIG_NOCACHE + x-processing-time: 741ms status: code: 204 message: No Content - url: https://lakshmanscommunication-communication.communication.azure.com/identities/sanitized?api-version=2021-03-07 + url: https://smstestapp.communication.azure.com/identities/sanitized?api-version=2021-03-07 version: 1 diff --git a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_get_token.yaml b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_get_token.yaml index ece1d84b7d7a..9a2b042db410 100644 --- a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_get_token.yaml +++ b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_get_token.yaml @@ -8,10 +8,10 @@ interactions: - '2' Content-Type: - application/json - Date: - - Wed, 21 Apr 2021 01:04:03 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 18:58:57 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -20,18 +20,20 @@ interactions: body: string: '{"identity": {"id": "sanitized"}}' headers: - api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, + 2021-03-31-preview1 content-type: application/json; charset=utf-8 - date: Wed, 21 Apr 2021 01:04:01 GMT - ms-cv: fmX+9TYBPUm5ZkIKPaifcg.0 + date: Tue, 22 Jun 2021 18:58:56 GMT + ms-cv: JeNejveUHE6tLkBFbxCwnA.0 request-context: appId= strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 11ms + x-cache: CONFIG_NOCACHE + x-processing-time: 32ms status: code: 201 message: Created - url: https://lakshmanscommunication-communication.communication.azure.com/identities?api-version=2021-03-07 + url: https://smstestapp.communication.azure.com/identities?api-version=2021-03-07 - request: body: '{"scopes": ["chat"]}' headers: @@ -41,28 +43,30 @@ interactions: - '20' Content-Type: - application/json - Date: - - Wed, 21 Apr 2021 01:04:03 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 18:58:57 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: body: - string: '{"token": "sanitized", "expiresOn": "2021-04-22T01:04:01.7301111+00:00"}' + string: '{"token": "sanitized", "expiresOn": "2021-06-23T18:58:56.6293051+00:00"}' headers: - api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, + 2021-03-31-preview1 content-type: application/json; charset=utf-8 - date: Wed, 21 Apr 2021 01:04:02 GMT - ms-cv: c9LnBXull0+tsXKdnfOgAA.0 + date: Tue, 22 Jun 2021 18:58:56 GMT + ms-cv: ypTGR8db/0ONDQgCgRMc7A.0 request-context: appId= strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 146ms + x-cache: CONFIG_NOCACHE + x-processing-time: 41ms status: code: 200 message: OK - url: https://lakshmanscommunication-communication.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 + url: https://smstestapp.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 version: 1 diff --git a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_get_token_from_managed_identity.yaml b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_get_token_from_managed_identity.yaml index cef3bc481f75..13aee8398063 100644 --- a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_get_token_from_managed_identity.yaml +++ b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_get_token_from_managed_identity.yaml @@ -9,25 +9,27 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: body: string: '{"identity": {"id": "sanitized"}}' headers: - api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, + 2021-03-31-preview1 content-type: application/json; charset=utf-8 - date: Wed, 21 Apr 2021 01:04:03 GMT - ms-cv: TSIMcZz1E06I4UrDT9KTJQ.0 + date: Tue, 22 Jun 2021 18:58:58 GMT + ms-cv: 7oopmmtvjkWXfajCRFqUKQ.0 request-context: appId= strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 189ms + x-cache: CONFIG_NOCACHE + x-processing-time: 156ms status: code: 201 message: Created - url: https://lakshmanscommunication-communication.communication.azure.com/identities?api-version=2021-03-07 + url: https://smstestapp.communication.azure.com/identities?api-version=2021-03-07 - request: body: '{"scopes": ["chat"]}' headers: @@ -38,23 +40,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: body: - string: '{"token": "sanitized", "expiresOn": "2021-04-22T01:04:03.4374044+00:00"}' + string: '{"token": "sanitized", "expiresOn": "2021-06-23T18:58:57.8544274+00:00"}' headers: - api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, + 2021-03-31-preview1 content-type: application/json; charset=utf-8 - date: Wed, 21 Apr 2021 01:04:03 GMT - ms-cv: Gh+ByIBlWkGjuFkngm5tbw.0 + date: Tue, 22 Jun 2021 18:58:58 GMT + ms-cv: RbLsOw6sfUauQ7hxmcs76w.0 request-context: appId= strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 26ms + x-cache: CONFIG_NOCACHE + x-processing-time: 155ms status: code: 200 message: OK - url: https://lakshmanscommunication-communication.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 + url: https://smstestapp.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 version: 1 diff --git a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_get_token_with_no_scopes.yaml b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_get_token_with_no_scopes.yaml index beff73ce320b..9069d24f085a 100644 --- a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_get_token_with_no_scopes.yaml +++ b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_get_token_with_no_scopes.yaml @@ -8,10 +8,10 @@ interactions: - '2' Content-Type: - application/json - Date: - - Wed, 21 Apr 2021 01:04:05 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 18:58:58 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -20,18 +20,20 @@ interactions: body: string: '{"identity": {"id": "sanitized"}}' headers: - api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, + 2021-03-31-preview1 content-type: application/json; charset=utf-8 - date: Wed, 21 Apr 2021 01:04:04 GMT - ms-cv: +Ld0uuJrsEy+Fmi0FwHE8A.0 + date: Tue, 22 Jun 2021 18:58:58 GMT + ms-cv: PI32xduU1kufD7wpUg8OzQ.0 request-context: appId= strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 12ms + x-cache: CONFIG_NOCACHE + x-processing-time: 32ms status: code: 201 message: Created - url: https://lakshmanscommunication-communication.communication.azure.com/identities?api-version=2021-03-07 + url: https://smstestapp.communication.azure.com/identities?api-version=2021-03-07 - request: body: '{}' headers: @@ -41,10 +43,10 @@ interactions: - '2' Content-Type: - application/json - Date: - - Wed, 21 Apr 2021 01:04:05 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 18:58:59 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -55,14 +57,15 @@ interactions: field is required.", "target": "Scopes"}}' headers: content-type: application/json - date: Wed, 21 Apr 2021 01:04:04 GMT - ms-cv: o4QM5R8B1EaTu9t9KLIA2g.0 + date: Tue, 22 Jun 2021 18:58:58 GMT + ms-cv: IivNGo5Jgk+G+i/KIsh3KQ.0 request-context: appId= strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 19ms + x-cache: CONFIG_NOCACHE + x-processing-time: 38ms status: code: 400 message: Bad Request - url: https://lakshmanscommunication-communication.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 + url: https://smstestapp.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 version: 1 diff --git a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_revoke_tokens.yaml b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_revoke_tokens.yaml index 5d128fe9e387..0adbd6067d92 100644 --- a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_revoke_tokens.yaml +++ b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_revoke_tokens.yaml @@ -8,10 +8,10 @@ interactions: - '2' Content-Type: - application/json - Date: - - Wed, 21 Apr 2021 01:04:05 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 18:58:59 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -20,18 +20,20 @@ interactions: body: string: '{"identity": {"id": "sanitized"}}' headers: - api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, + 2021-03-31-preview1 content-type: application/json; charset=utf-8 - date: Wed, 21 Apr 2021 01:04:04 GMT - ms-cv: q+ucnkroYUqgGSLLb7AE/w.0 + date: Tue, 22 Jun 2021 18:58:58 GMT + ms-cv: mJmgM9zu2kGn0sD7GWAPeQ.0 request-context: appId= strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 12ms + x-cache: CONFIG_NOCACHE + x-processing-time: 59ms status: code: 201 message: Created - url: https://lakshmanscommunication-communication.communication.azure.com/identities?api-version=2021-03-07 + url: https://smstestapp.communication.azure.com/identities?api-version=2021-03-07 - request: body: '{"scopes": ["chat"]}' headers: @@ -41,39 +43,41 @@ interactions: - '20' Content-Type: - application/json - Date: - - Wed, 21 Apr 2021 01:04:05 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 18:58:59 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: body: - string: '{"token": "sanitized", "expiresOn": "2021-04-22T01:04:04.2125267+00:00"}' + string: '{"token": "sanitized", "expiresOn": "2021-06-23T18:58:58.4494428+00:00"}' headers: - api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, + 2021-03-31-preview1 content-type: application/json; charset=utf-8 - date: Wed, 21 Apr 2021 01:04:04 GMT - ms-cv: gOgVb9xDOU6aJ58CkV4Eag.0 + date: Tue, 22 Jun 2021 18:58:58 GMT + ms-cv: EyrkOFV4gEayIxQQzsv/Xw.0 request-context: appId= strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 143ms + x-cache: CONFIG_NOCACHE + x-processing-time: 35ms status: code: 200 message: OK - url: https://lakshmanscommunication-communication.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 + url: https://smstestapp.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 - request: body: '' headers: Accept: - application/json - Date: - - Wed, 21 Apr 2021 01:04:05 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 18:58:59 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -82,14 +86,16 @@ interactions: body: string: '' headers: - api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 - date: Wed, 21 Apr 2021 01:04:04 GMT - ms-cv: z3IGAket8EuW3k4420x+Jw.0 + api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, + 2021-03-31-preview1 + date: Tue, 22 Jun 2021 18:58:58 GMT + ms-cv: TOQFHBkQpkqIRdzCAbyiNw.0 request-context: appId= strict-transport-security: max-age=2592000 - x-processing-time: 134ms + x-cache: CONFIG_NOCACHE + x-processing-time: 97ms status: code: 204 message: No Content - url: https://lakshmanscommunication-communication.communication.azure.com/identities/sanitized/:revokeAccessTokens?api-version=2021-03-07 + url: https://smstestapp.communication.azure.com/identities/sanitized/:revokeAccessTokens?api-version=2021-03-07 version: 1 diff --git a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_revoke_tokens_from_managed_identity.yaml b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_revoke_tokens_from_managed_identity.yaml index 18d8f3c30851..004a75ea1975 100644 --- a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_revoke_tokens_from_managed_identity.yaml +++ b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_revoke_tokens_from_managed_identity.yaml @@ -9,25 +9,27 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: body: string: '{"identity": {"id": "sanitized"}}' headers: - api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, + 2021-03-31-preview1 content-type: application/json; charset=utf-8 - date: Wed, 21 Apr 2021 01:04:06 GMT - ms-cv: esqhi3WAnUSWE09C5oWopQ.0 + date: Tue, 22 Jun 2021 18:58:59 GMT + ms-cv: xMC3NdE8+UOt9+GxzhhPdA.0 request-context: appId= strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 14ms + x-cache: CONFIG_NOCACHE + x-processing-time: 63ms status: code: 201 message: Created - url: https://lakshmanscommunication-communication.communication.azure.com/identities?api-version=2021-03-07 + url: https://smstestapp.communication.azure.com/identities?api-version=2021-03-07 - request: body: '{"scopes": ["chat"]}' headers: @@ -38,46 +40,50 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: body: - string: '{"token": "sanitized", "expiresOn": "2021-04-22T01:04:05.5521447+00:00"}' + string: '{"token": "sanitized", "expiresOn": "2021-06-23T18:58:59.4525188+00:00"}' headers: - api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, + 2021-03-31-preview1 content-type: application/json; charset=utf-8 - date: Wed, 21 Apr 2021 01:04:06 GMT - ms-cv: DThu30avp0m4zQe2A2DIvQ.0 + date: Tue, 22 Jun 2021 18:59:00 GMT + ms-cv: WQwpvECVnEOtmsOqTfyibQ.0 request-context: appId= strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 147ms + x-cache: CONFIG_NOCACHE + x-processing-time: 138ms status: code: 200 message: OK - url: https://lakshmanscommunication-communication.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 + url: https://smstestapp.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:revokeAccessTokens?api-version=2021-03-07 response: body: string: '' headers: - api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 - date: Wed, 21 Apr 2021 01:04:06 GMT - ms-cv: ELlNYXpYGk+PxAb32vSRJA.0 + api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, + 2021-03-31-preview1 + date: Tue, 22 Jun 2021 18:59:00 GMT + ms-cv: J1LfEe6dv0KsmrtnfoiCJA.0 request-context: appId= strict-transport-security: max-age=2592000 - x-processing-time: 225ms + x-cache: CONFIG_NOCACHE + x-processing-time: 129ms status: code: 204 message: No Content - url: https://lakshmanscommunication-communication.communication.azure.com/identities/sanitized/:revokeAccessTokens?api-version=2021-03-07 + url: https://smstestapp.communication.azure.com/identities/sanitized/:revokeAccessTokens?api-version=2021-03-07 version: 1 diff --git a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_shared/policy.py b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_shared/policy.py index b2a0de8d4238..d4197ede0e38 100644 --- a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_shared/policy.py +++ b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_shared/policy.py @@ -51,7 +51,7 @@ def _sign_request(self, request): if self._decode_url: query_url = urllib.parse.unquote(query_url) - signed_headers = "date;host;x-ms-content-sha256" + signed_headers = "x-ms-date;host;x-ms-content-sha256" utc_now = get_current_utc_time() if request.http_request.body is None: @@ -76,7 +76,7 @@ def _sign_request(self, request): signature = self._compute_hmac(string_to_sign) signature_header = { - "Date": utc_now, + "x-ms-date": utc_now, "x-ms-content-sha256": content_hash, "x-ms-return-client-request-id": "true", "Authorization": "HMAC-SHA256 SignedHeaders=" +\ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_get_purchased_phone_number.yaml b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_get_purchased_phone_number.yaml index 764e374b596e..cb4a73acbdfb 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_get_purchased_phone_number.yaml +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_get_purchased_phone_number.yaml @@ -8,10 +8,10 @@ interactions: - gzip, deflate Connection: - keep-alive - Date: - - Mon, 19 Apr 2021 21:48:46 GMT User-Agent: - - azsdk-python-communication-phonenumbers/1.0.0b5 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:44:57 GMT x-ms-return-client-request-id: - 'true' method: GET @@ -20,7 +20,7 @@ interactions: body: string: '{"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "inbound", "sms": - "inbound+outbound"}, "assignmentType": "application", "purchaseDate": "2000-01-01T00:00:00+00:00", + "outbound"}, "assignmentType": "application", "purchaseDate": "2021-03-09T15:01:55.0949003+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}' headers: api-supported-versions: @@ -28,15 +28,17 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 19 Apr 2021 21:48:48 GMT + - Tue, 22 Jun 2021 20:44:59 GMT ms-cv: - - icnv38Nf2Ee4VYsAtG0drw.0 + - cHfeMFABLEmxv6jxdIHxYA.0 request-context: - appId= transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 2326ms + - 1829ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_get_purchased_phone_number_from_managed_identity.yaml b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_get_purchased_phone_number_from_managed_identity.yaml index 5157865eddc1..67f80593f797 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_get_purchased_phone_number_from_managed_identity.yaml +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_get_purchased_phone_number_from_managed_identity.yaml @@ -9,14 +9,14 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-communication-phonenumbers/1.0.0b5 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/phoneNumbers/sanitized?api-version=2021-03-07 response: body: string: '{"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "inbound", "sms": - "inbound+outbound"}, "assignmentType": "application", "purchaseDate": "2000-01-01T00:00:00+00:00", + "outbound"}, "assignmentType": "application", "purchaseDate": "2021-03-09T15:01:55.0949003+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}' headers: api-supported-versions: @@ -24,15 +24,17 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 19 Apr 2021 21:48:50 GMT + - Tue, 22 Jun 2021 20:45:02 GMT ms-cv: - - Zi4vLw+YjEq33j5+bRQ0/Q.0 + - B83QXGnmAUCqJREwCTGA0w.0 request-context: - appId= transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 1730ms + - 1564ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_get_purchased_phone_number_with_invalid_phone_number.yaml b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_get_purchased_phone_number_with_invalid_phone_number.yaml index 7527b2d91c1e..98ab7ed77892 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_get_purchased_phone_number_with_invalid_phone_number.yaml +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_get_purchased_phone_number_with_invalid_phone_number.yaml @@ -8,33 +8,35 @@ interactions: - gzip, deflate Connection: - keep-alive - Date: - - Mon, 19 Apr 2021 21:48:51 GMT User-Agent: - - azsdk-python-communication-phonenumbers/1.0.0b5 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:45:02 GMT x-ms-return-client-request-id: - 'true' method: GET uri: https://sanitized.communication.azure.com/phoneNumbers/sanitized?api-version=2021-03-07 response: body: - string: '{"error": {"code": "PhoneNumberNotFound", "message": "The specified - phone number +14255550123 cannot be found.", "target": "phonenumber"}}' + string: '{"error": {"code": "NotFound", "message": "Input phoneNumber +14255550123 + cannot be found.", "target": "phonenumber"}}' headers: api-supported-versions: - '2021-03-07' content-type: - application/json date: - - Mon, 19 Apr 2021 21:48:51 GMT + - Tue, 22 Jun 2021 20:45:03 GMT ms-cv: - - 5h1NjStvd0SrcZTNKmwgtw.0 + - Hsrooe9j7kKbBXUskCK25w.0 request-context: - appId= transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 775ms + - 1025ms status: code: 404 message: Not Found diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_list_purchased_phone_numbers.yaml b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_list_purchased_phone_numbers.yaml index 0a1315125791..08451aba4f35 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_list_purchased_phone_numbers.yaml +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_list_purchased_phone_numbers.yaml @@ -8,10 +8,10 @@ interactions: - gzip, deflate Connection: - keep-alive - Date: - - Mon, 19 Apr 2021 21:48:52 GMT User-Agent: - - azsdk-python-communication-phonenumbers/1.0.0b5 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:45:04 GMT x-ms-return-client-request-id: - 'true' method: GET @@ -23,128 +23,62 @@ interactions: "sms": "none"}, "assignmentType": "application", "purchaseDate": "2021-04-14T00:23:52.1861991+00:00", "cost": {"amount": 1.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "geographic", "capabilities": {"calling": "inbound", "sms": "none"}, "assignmentType": - "application", "purchaseDate": "2021-04-14T21:31:30.9566555+00:00", "cost": - {"amount": 1.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": - "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "geographic", "capabilities": {"calling": "outbound", "sms": "none"}, "assignmentType": "application", "purchaseDate": "2021-04-06T23:27:52.858607+00:00", "cost": {"amount": 1.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "geographic", "capabilities": {"calling": "inbound", "sms": "none"}, "assignmentType": - "application", "purchaseDate": "2021-04-06T23:48:49.38583+00:00", "cost": - {"amount": 1.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": - "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "none", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-02-10T17:51:13.4876763+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "none", "sms": "outbound"}, "assignmentType": - "application", "purchaseDate": "2021-02-10T17:52:41.818335+00:00", "cost": - {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": - "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "none", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-02-10T18:01:46.4199999+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "none", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-03-09T15:01:55.0949003+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-03-09T15:03:04.7513808+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "none", "sms": "outbound"}, "assignmentType": - "application", "purchaseDate": "2021-03-26T21:13:23.5677014+00:00", "cost": - {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": - "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "none", "sms": "outbound"}, "assignmentType": - "application", "purchaseDate": "2021-03-26T20:48:35.6663829+00:00", "cost": + "application", "purchaseDate": "2021-05-25T00:03:06.2985305+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "none", "sms": "outbound"}, "assignmentType": - "application", "purchaseDate": "2021-03-26T22:41:03.6935096+00:00", "cost": + "application", "purchaseDate": "2021-05-24T23:39:11.2079613+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound+outbound", "sms": "none"}, - "assignmentType": "application", "purchaseDate": "2021-03-29T20:13:20.1694649+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-03-30T23:10:20.4361699+00:00", + "assignmentType": "application", "purchaseDate": "2021-05-26T23:18:22.4715623+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-06T17:35:42.8155189+00:00", + "assignmentType": "application", "purchaseDate": "2021-05-27T03:05:50.816041+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "outbound", "sms": "outbound"}, "assignmentType": - "application", "purchaseDate": "2021-04-06T23:15:56.8228107+00:00", "cost": - {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": - "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound"}, "assignmentType": - "application", "purchaseDate": "2021-04-06T23:32:06.9113399+00:00", "cost": + "application", "purchaseDate": "2021-02-10T17:52:41.818335+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "none", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-06T21:36:18.8554333+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-06T23:02:07.935429+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-06T23:14:21.7956616+00:00", + "assignmentType": "application", "purchaseDate": "2021-02-10T18:01:46.4199999+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "none", "sms": "outbound"}, "assignmentType": - "application", "purchaseDate": "2021-04-06T23:19:11.9095127+00:00", "cost": + "tollFree", "capabilities": {"calling": "inbound", "sms": "outbound"}, "assignmentType": + "application", "purchaseDate": "2021-03-09T15:01:55.0949003+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "outbound", "sms": "inbound"}, "assignmentType": - "application", "purchaseDate": "2021-04-06T23:40:02.0410712+00:00", "cost": + "tollFree", "capabilities": {"calling": "inbound", "sms": "outbound"}, "assignmentType": + "application", "purchaseDate": "2021-03-09T15:03:04.7513808+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-07T16:37:03.918591+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-08T16:18:38.5365335+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-08T19:48:38.3328121+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-08T20:56:52.3906615+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, + "tollFree", "capabilities": {"calling": "outbound", "sms": "inbound+outbound"}, "assignmentType": "application", "purchaseDate": "2000-01-01T00:00:00+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "geographic", "capabilities": {"calling": "inbound+outbound", "sms": "none"}, - "assignmentType": "application", "purchaseDate": "2021-04-14T15:50:33.2361831+00:00", - "cost": {"amount": 1.0, "currencyCode": "USD", "billingFrequency": "monthly"}}]}' + "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}]}' headers: api-supported-versions: - '2021-03-07' content-type: - application/json; charset=utf-8 date: - - Mon, 19 Apr 2021 21:49:11 GMT + - Tue, 22 Jun 2021 20:45:06 GMT ms-cv: - - t1PykxARPUOCUU7QX1bUqQ.0 + - XNBGMxu4bEy8YLFQJnaXOw.0 request-context: - appId= transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 18600ms + - 2610ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_list_purchased_phone_numbers_from_managed_identity.yaml b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_list_purchased_phone_numbers_from_managed_identity.yaml index 533fd88bd40a..053256cc4215 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_list_purchased_phone_numbers_from_managed_identity.yaml +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_list_purchased_phone_numbers_from_managed_identity.yaml @@ -9,7 +9,7 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-communication-phonenumbers/1.0.0b5 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/phoneNumbers?skip=0&top=100&api-version=2021-03-07 response: @@ -19,128 +19,62 @@ interactions: "sms": "none"}, "assignmentType": "application", "purchaseDate": "2021-04-14T00:23:52.1861991+00:00", "cost": {"amount": 1.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "geographic", "capabilities": {"calling": "inbound", "sms": "none"}, "assignmentType": - "application", "purchaseDate": "2021-04-14T21:31:30.9566555+00:00", "cost": - {"amount": 1.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": - "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "geographic", "capabilities": {"calling": "outbound", "sms": "none"}, "assignmentType": "application", "purchaseDate": "2021-04-06T23:27:52.858607+00:00", "cost": {"amount": 1.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "geographic", "capabilities": {"calling": "inbound", "sms": "none"}, "assignmentType": - "application", "purchaseDate": "2021-04-06T23:48:49.38583+00:00", "cost": - {"amount": 1.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": - "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "none", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-02-10T17:51:13.4876763+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "none", "sms": "outbound"}, "assignmentType": - "application", "purchaseDate": "2021-02-10T17:52:41.818335+00:00", "cost": - {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": - "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "none", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-02-10T18:01:46.4199999+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "none", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-03-09T15:01:55.0949003+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-03-09T15:03:04.7513808+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "none", "sms": "outbound"}, "assignmentType": - "application", "purchaseDate": "2021-03-26T21:13:23.5677014+00:00", "cost": - {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": - "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "none", "sms": "outbound"}, "assignmentType": - "application", "purchaseDate": "2021-03-26T20:48:35.6663829+00:00", "cost": + "application", "purchaseDate": "2021-05-25T00:03:06.2985305+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "none", "sms": "outbound"}, "assignmentType": - "application", "purchaseDate": "2021-03-26T22:41:03.6935096+00:00", "cost": + "application", "purchaseDate": "2021-05-24T23:39:11.2079613+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound+outbound", "sms": "none"}, - "assignmentType": "application", "purchaseDate": "2021-03-29T20:13:20.1694649+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-03-30T23:10:20.4361699+00:00", + "assignmentType": "application", "purchaseDate": "2021-05-26T23:18:22.4715623+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-06T17:35:42.8155189+00:00", + "assignmentType": "application", "purchaseDate": "2021-05-27T03:05:50.816041+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "outbound", "sms": "outbound"}, "assignmentType": - "application", "purchaseDate": "2021-04-06T23:15:56.8228107+00:00", "cost": - {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": - "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound"}, "assignmentType": - "application", "purchaseDate": "2021-04-06T23:32:06.9113399+00:00", "cost": + "application", "purchaseDate": "2021-02-10T17:52:41.818335+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "none", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-06T21:36:18.8554333+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-06T23:02:07.935429+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-06T23:14:21.7956616+00:00", + "assignmentType": "application", "purchaseDate": "2021-02-10T18:01:46.4199999+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "none", "sms": "outbound"}, "assignmentType": - "application", "purchaseDate": "2021-04-06T23:19:11.9095127+00:00", "cost": + "tollFree", "capabilities": {"calling": "inbound", "sms": "outbound"}, "assignmentType": + "application", "purchaseDate": "2021-03-09T15:01:55.0949003+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "outbound", "sms": "inbound"}, "assignmentType": - "application", "purchaseDate": "2021-04-06T23:40:02.0410712+00:00", "cost": + "tollFree", "capabilities": {"calling": "inbound", "sms": "outbound"}, "assignmentType": + "application", "purchaseDate": "2021-03-09T15:03:04.7513808+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-07T16:37:03.918591+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-08T16:18:38.5365335+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-08T19:48:38.3328121+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-08T20:56:52.3906615+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, + "tollFree", "capabilities": {"calling": "outbound", "sms": "inbound+outbound"}, "assignmentType": "application", "purchaseDate": "2000-01-01T00:00:00+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "geographic", "capabilities": {"calling": "inbound+outbound", "sms": "none"}, - "assignmentType": "application", "purchaseDate": "2021-04-14T15:50:33.2361831+00:00", - "cost": {"amount": 1.0, "currencyCode": "USD", "billingFrequency": "monthly"}}]}' + "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}]}' headers: api-supported-versions: - '2021-03-07' content-type: - application/json; charset=utf-8 date: - - Mon, 19 Apr 2021 21:49:44 GMT + - Tue, 22 Jun 2021 20:45:10 GMT ms-cv: - - 0Z8gtvI0QU23MCk18CE4JA.0 + - lnYAf4Nr3kq+LYS2bvybog.0 request-context: - appId= transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 30850ms + - 2313ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_search_available_phone_numbers.yaml b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_search_available_phone_numbers.yaml index 302fc3583747..0423af83dc1f 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_search_available_phone_numbers.yaml +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_search_available_phone_numbers.yaml @@ -13,10 +13,10 @@ interactions: - '131' Content-Type: - application/json - Date: - - Wed, 07 Apr 2021 18:29:43 GMT User-Agent: - - azsdk-python-communication-phonenumbers/1.0.0b5 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:45:10 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -32,19 +32,21 @@ interactions: content-length: - '0' date: - - Wed, 07 Apr 2021 18:29:44 GMT + - Tue, 22 Jun 2021 20:45:12 GMT ms-cv: - - LvLK+LqWDUu7V7yHfmkRmA.0 + - vXOXkjCfiE6dNa/huWEhcA.0 operation-id: - - search_78110af8-eb5e-4015-ac29-7c8d5f5e18c3 + - search_42ad2046-6138-41ba-9bb2-813d73b020bf operation-location: - - /phoneNumbers/operations/search_78110af8-eb5e-4015-ac29-7c8d5f5e18c3?api-version=2021-03-07 + - /phoneNumbers/operations/search_42ad2046-6138-41ba-9bb2-813d73b020bf?api-version=2021-03-07 request-context: - appId= search-id: - - 78110af8-eb5e-4015-ac29-7c8d5f5e18c3 + - 42ad2046-6138-41ba-9bb2-813d73b020bf + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 3174ms + - 2089ms status: code: 202 message: Accepted @@ -57,18 +59,18 @@ interactions: - gzip, deflate Connection: - keep-alive - Date: - - Wed, 07 Apr 2021 18:30:16 GMT User-Agent: - - azsdk-python-communication-phonenumbers/1.0.0b5 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:45:43 GMT x-ms-return-client-request-id: - 'true' method: GET - uri: https://sanitized.communication.azure.com/phoneNumbers/operations/search_78110af8-eb5e-4015-ac29-7c8d5f5e18c3?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/phoneNumbers/operations/search_42ad2046-6138-41ba-9bb2-813d73b020bf?api-version=2021-03-07 response: body: - string: '{"status": "succeeded", "resourceLocation": "/availablePhoneNumbers/searchResults/78110af8-eb5e-4015-ac29-7c8d5f5e18c3?api-version=2021-03-07", - "createdDateTime": "2021-04-07T18:29:44.4976895+00:00", "id": "sanitized", + string: '{"status": "succeeded", "resourceLocation": "/availablePhoneNumbers/searchResults/42ad2046-6138-41ba-9bb2-813d73b020bf?api-version=2021-03-07", + "createdDateTime": "2021-06-22T20:45:12.973093+00:00", "id": "sanitized", "operationType": "search", "lastActionDateTime": "0001-01-01T00:00:00+00:00"}' headers: access-control-expose-headers: @@ -78,15 +80,17 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 18:30:15 GMT + - Tue, 22 Jun 2021 20:45:43 GMT ms-cv: - - i4+zgQOBak2k/ioGPGp9dA.0 + - UhmgFX5aT0KpUg9Bn07oOQ.0 request-context: - appId= transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 866ms + - 375ms status: code: 200 message: OK @@ -100,36 +104,38 @@ interactions: - gzip, deflate Connection: - keep-alive - Date: - - Wed, 07 Apr 2021 18:30:17 GMT User-Agent: - - azsdk-python-communication-phonenumbers/1.0.0b5 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:45:43 GMT x-ms-return-client-request-id: - 'true' method: GET - uri: https://sanitized.communication.azure.com/availablePhoneNumbers/searchResults/78110af8-eb5e-4015-ac29-7c8d5f5e18c3?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/availablePhoneNumbers/searchResults/42ad2046-6138-41ba-9bb2-813d73b020bf?api-version=2021-03-07 response: body: - string: '{"searchId": "78110af8-eb5e-4015-ac29-7c8d5f5e18c3", "phoneNumbers": + string: '{"searchId": "42ad2046-6138-41ba-9bb2-813d73b020bf", "phoneNumbers": ["sanitized"], "phoneNumberType": "tollFree", "assignmentType": "application", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}, "searchExpiresBy": - "2021-04-07T18:45:49.2672556+00:00"}' + "2021-06-22T21:01:14.4876979+00:00"}' headers: api-supported-versions: - '2021-03-07' content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 18:30:16 GMT + - Tue, 22 Jun 2021 20:45:44 GMT ms-cv: - - IfRdHuIX0UC42Rg3CjLrzQ.0 + - bMfOuPz8lUenz2j+TEMgtQ.0 request-context: - appId= transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 1088ms + - 836ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_search_available_phone_numbers_from_managed_identity.yaml b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_search_available_phone_numbers_from_managed_identity.yaml index 13998b502964..456345ff2633 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_search_available_phone_numbers_from_managed_identity.yaml +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_search_available_phone_numbers_from_managed_identity.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-phonenumbers/1.0.0b5 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/:search?api-version=2021-03-07 response: @@ -28,19 +28,21 @@ interactions: content-length: - '0' date: - - Wed, 07 Apr 2021 18:30:21 GMT + - Tue, 22 Jun 2021 20:45:48 GMT ms-cv: - - N1sHbasufkeD6OIvutgLVg.0 + - JqIO26MYSkKRuCzVr5jTwQ.0 operation-id: - - search_d637d7ed-1486-4b9e-b9cb-aaa8521538de + - search_e4a33ed5-2f35-4cfd-b9c2-5f38a3680d37 operation-location: - - /phoneNumbers/operations/search_d637d7ed-1486-4b9e-b9cb-aaa8521538de?api-version=2021-03-07 + - /phoneNumbers/operations/search_e4a33ed5-2f35-4cfd-b9c2-5f38a3680d37?api-version=2021-03-07 request-context: - appId= search-id: - - d637d7ed-1486-4b9e-b9cb-aaa8521538de + - e4a33ed5-2f35-4cfd-b9c2-5f38a3680d37 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 2587ms + - 2601ms status: code: 202 message: Accepted @@ -54,13 +56,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-communication-phonenumbers/1.0.0b5 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://sanitized.communication.azure.com/phoneNumbers/operations/search_d637d7ed-1486-4b9e-b9cb-aaa8521538de?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/phoneNumbers/operations/search_e4a33ed5-2f35-4cfd-b9c2-5f38a3680d37?api-version=2021-03-07 response: body: - string: '{"status": "succeeded", "resourceLocation": "/availablePhoneNumbers/searchResults/d637d7ed-1486-4b9e-b9cb-aaa8521538de?api-version=2021-03-07", - "createdDateTime": "2021-04-07T18:30:20.8854076+00:00", "id": "sanitized", + string: '{"status": "succeeded", "resourceLocation": "/availablePhoneNumbers/searchResults/e4a33ed5-2f35-4cfd-b9c2-5f38a3680d37?api-version=2021-03-07", + "createdDateTime": "2021-06-22T20:45:48.0480102+00:00", "id": "sanitized", "operationType": "search", "lastActionDateTime": "0001-01-01T00:00:00+00:00"}' headers: access-control-expose-headers: @@ -70,15 +72,17 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 18:30:51 GMT + - Tue, 22 Jun 2021 20:46:18 GMT ms-cv: - - /QYgPFGEcUK285lLkY7iXg.0 + - e9cQiYr4CU2FQ9cydc99tg.0 request-context: - appId= transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 424ms + - 371ms status: code: 200 message: OK @@ -93,31 +97,33 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-communication-phonenumbers/1.0.0b5 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://sanitized.communication.azure.com/availablePhoneNumbers/searchResults/d637d7ed-1486-4b9e-b9cb-aaa8521538de?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/availablePhoneNumbers/searchResults/e4a33ed5-2f35-4cfd-b9c2-5f38a3680d37?api-version=2021-03-07 response: body: - string: '{"searchId": "d637d7ed-1486-4b9e-b9cb-aaa8521538de", "phoneNumbers": + string: '{"searchId": "e4a33ed5-2f35-4cfd-b9c2-5f38a3680d37", "phoneNumbers": ["sanitized"], "phoneNumberType": "tollFree", "assignmentType": "application", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}, "searchExpiresBy": - "2021-04-07T18:46:26.1636769+00:00"}' + "2021-06-22T21:01:49.4858573+00:00"}' headers: api-supported-versions: - '2021-03-07' content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 18:30:52 GMT + - Tue, 22 Jun 2021 20:46:19 GMT ms-cv: - - CIYMmIMnzUipb7frdCigqQ.0 + - 00XBl/MO9EyBSoy8GoWBxw.0 request-context: - appId= transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 885ms + - 750ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_search_available_phone_numbers_with_invalid_country_code.yaml b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_search_available_phone_numbers_with_invalid_country_code.yaml index 0c4552eb60d4..3229512b1dc8 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_search_available_phone_numbers_with_invalid_country_code.yaml +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_search_available_phone_numbers_with_invalid_country_code.yaml @@ -13,10 +13,10 @@ interactions: - '131' Content-Type: - application/json - Date: - - Mon, 19 Apr 2021 21:49:44 GMT User-Agent: - - azsdk-python-communication-phonenumbers/1.0.0b5 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:46:19 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -31,15 +31,17 @@ interactions: content-type: - application/json date: - - Mon, 19 Apr 2021 21:49:44 GMT + - Tue, 22 Jun 2021 20:46:20 GMT ms-cv: - - tAckLoEl7Uyqg0NYT97njA.0 + - X5zahc33FEioKcd5dQTdxA.0 request-context: - appId= transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 13ms + - 29ms status: code: 400 message: Bad Request diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_update_phone_number_capabilities.yaml b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_update_phone_number_capabilities.yaml index 9945b8a2a065..25c62bda1879 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_update_phone_number_capabilities.yaml +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_update_phone_number_capabilities.yaml @@ -8,10 +8,10 @@ interactions: - gzip, deflate Connection: - keep-alive - Date: - - Fri, 30 Apr 2021 16:14:38 GMT User-Agent: - - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:46:20 GMT x-ms-return-client-request-id: - 'true' method: GET @@ -20,7 +20,7 @@ interactions: body: string: '{"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "inbound", "sms": - "inbound+outbound"}, "assignmentType": "application", "purchaseDate": "2000-01-01T00:00:00+00:00", + "outbound"}, "assignmentType": "application", "purchaseDate": "2021-03-09T15:01:55.0949003+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}' headers: api-supported-versions: @@ -28,21 +28,23 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Apr 2021 16:14:38 GMT + - Tue, 22 Jun 2021 20:46:20 GMT ms-cv: - - tMx8pGeOqEul+6PPHnwXJw.0 + - vaBhNY7NNUSeaflNX53uUg.0 request-context: - appId= transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 1934ms + - 988ms status: code: 200 message: OK url: sanitized - request: - body: '{"calling": "outbound", "sms": "outbound"}' + body: '{"calling": "outbound", "sms": "inbound+outbound"}' headers: Accept: - application/json @@ -51,43 +53,45 @@ interactions: Connection: - keep-alive Content-Length: - - '42' + - '50' Content-Type: - application/merge-patch+json - Date: - - Fri, 30 Apr 2021 16:14:40 GMT User-Agent: - - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:46:21 GMT x-ms-return-client-request-id: - 'true' method: PATCH uri: https://sanitized.communication.azure.com/phoneNumbers/sanitized/capabilities?api-version=2021-03-07 response: body: - string: '{"capabilitiesUpdateId": "3421d622-f7c5-454f-8565-4ce3b4f8f75e"}' + string: '{"capabilitiesUpdateId": "087efda3-1a64-4115-b26a-ce3661c57443"}' headers: access-control-expose-headers: - Operation-Location,Location,operation-id,capabilities-id api-supported-versions: - '2021-03-07' capabilities-id: - - 3421d622-f7c5-454f-8565-4ce3b4f8f75e + - 087efda3-1a64-4115-b26a-ce3661c57443 content-type: - application/json; charset=utf-8 date: - - Fri, 30 Apr 2021 16:14:40 GMT + - Tue, 22 Jun 2021 20:46:22 GMT ms-cv: - - 56CQKwhda0iJyB7+4J7nWw.0 + - ZJy/oJxyYE6Ow9yrzqTeFQ.0 operation-id: - - capabilities_3421d622-f7c5-454f-8565-4ce3b4f8f75e + - capabilities_087efda3-1a64-4115-b26a-ce3661c57443 operation-location: - - /phoneNumbers/operations/capabilities_3421d622-f7c5-454f-8565-4ce3b4f8f75e?api-version=2021-03-07 + - /phoneNumbers/operations/capabilities_087efda3-1a64-4115-b26a-ce3661c57443?api-version=2021-03-07 request-context: - appId= transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 1521ms + - 1681ms status: code: 202 message: Accepted @@ -101,18 +105,18 @@ interactions: - gzip, deflate Connection: - keep-alive - Date: - - Fri, 30 Apr 2021 16:15:12 GMT User-Agent: - - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:46:53 GMT x-ms-return-client-request-id: - 'true' method: GET - uri: https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_3421d622-f7c5-454f-8565-4ce3b4f8f75e?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_087efda3-1a64-4115-b26a-ce3661c57443?api-version=2021-03-07 response: body: - string: '{"status": "succeeded", "resourceLocation": "/phoneNumbers/+18335260208?api-version=2021-03-07", - "createdDateTime": "2021-04-30T16:14:39.9584305+00:00", "id": "sanitized", + string: '{"status": "succeeded", "resourceLocation": "/phoneNumbers/+18332408804?api-version=2021-03-07", + "createdDateTime": "2021-06-22T20:46:22.994957+00:00", "id": "sanitized", "operationType": "updatePhoneNumberCapabilities", "lastActionDateTime": "0001-01-01T00:00:00+00:00"}' headers: access-control-expose-headers: @@ -122,15 +126,17 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Apr 2021 16:15:10 GMT + - Tue, 22 Jun 2021 20:46:53 GMT ms-cv: - - rgELiaWEZ0ickxlU0rKhJQ.0 + - e4sUKtC4AkODZ9Y6GXge/Q.0 request-context: - appId= transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 577ms + - 335ms status: code: 200 message: OK @@ -144,19 +150,19 @@ interactions: - gzip, deflate Connection: - keep-alive - Date: - - Fri, 30 Apr 2021 16:15:13 GMT User-Agent: - - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:46:53 GMT x-ms-return-client-request-id: - 'true' method: GET - uri: https://sanitized.communication.azure.com/phoneNumbers/+18335260208?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/phoneNumbers/+18332408804?api-version=2021-03-07 response: body: string: '{"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "outbound", "sms": - "outbound"}, "assignmentType": "application", "purchaseDate": "2000-01-01T00:00:00+00:00", + "inbound+outbound"}, "assignmentType": "application", "purchaseDate": "2021-03-09T15:01:55.0949003+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}' headers: api-supported-versions: @@ -164,15 +170,17 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Apr 2021 16:15:13 GMT + - Tue, 22 Jun 2021 20:46:54 GMT ms-cv: - - ASe3ytfjIEee94LoaAFw9g.0 + - TILVQVGyhEGDDqqlJegCBw.0 request-context: - appId= transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 2504ms + - 1141ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_update_phone_number_capabilities_from_managed_identity.yaml b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_update_phone_number_capabilities_from_managed_identity.yaml index 7b8ee14013e6..a7520f8e23c7 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_update_phone_number_capabilities_from_managed_identity.yaml +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_update_phone_number_capabilities_from_managed_identity.yaml @@ -9,14 +9,14 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/phoneNumbers/sanitized?api-version=2021-03-07 response: body: string: '{"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "outbound", "sms": - "outbound"}, "assignmentType": "application", "purchaseDate": "2000-01-01T00:00:00+00:00", + "inbound+outbound"}, "assignmentType": "application", "purchaseDate": "2021-03-09T15:01:55.0949003+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}' headers: api-supported-versions: @@ -24,21 +24,23 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Apr 2021 16:15:21 GMT + - Tue, 22 Jun 2021 20:46:57 GMT ms-cv: - - NN1ByHp1/UWMdngUtxuKsQ.0 + - kjhoufizi02M9+QPZd4MVA.0 request-context: - appId= transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 7009ms + - 1298ms status: code: 200 message: OK url: sanitized - request: - body: '{"calling": "inbound", "sms": "inbound+outbound"}' + body: '{"calling": "inbound", "sms": "outbound"}' headers: Accept: - application/json @@ -47,39 +49,41 @@ interactions: Connection: - keep-alive Content-Length: - - '49' + - '41' Content-Type: - application/merge-patch+json User-Agent: - - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://sanitized.communication.azure.com/phoneNumbers/sanitized/capabilities?api-version=2021-03-07 response: body: - string: '{"capabilitiesUpdateId": "be1e19b1-9d28-43b3-b54d-18c3ba16df1a"}' + string: '{"capabilitiesUpdateId": "d82c64c9-e114-4041-b1e5-ab63401776ed"}' headers: access-control-expose-headers: - Operation-Location,Location,operation-id,capabilities-id api-supported-versions: - '2021-03-07' capabilities-id: - - be1e19b1-9d28-43b3-b54d-18c3ba16df1a + - d82c64c9-e114-4041-b1e5-ab63401776ed content-type: - application/json; charset=utf-8 date: - - Fri, 30 Apr 2021 16:15:23 GMT + - Tue, 22 Jun 2021 20:46:59 GMT ms-cv: - - CVK1lozVPEOndsRX5RX4xA.0 + - QjT48a2ou0GZYbZmxLnf3w.0 operation-id: - - capabilities_be1e19b1-9d28-43b3-b54d-18c3ba16df1a + - capabilities_d82c64c9-e114-4041-b1e5-ab63401776ed operation-location: - - /phoneNumbers/operations/capabilities_be1e19b1-9d28-43b3-b54d-18c3ba16df1a?api-version=2021-03-07 + - /phoneNumbers/operations/capabilities_d82c64c9-e114-4041-b1e5-ab63401776ed?api-version=2021-03-07 request-context: - appId= transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 1804ms + - 1954ms status: code: 202 message: Accepted @@ -94,13 +98,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_be1e19b1-9d28-43b3-b54d-18c3ba16df1a?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_d82c64c9-e114-4041-b1e5-ab63401776ed?api-version=2021-03-07 response: body: - string: '{"status": "succeeded", "resourceLocation": "/phoneNumbers/+18335260208?api-version=2021-03-07", - "createdDateTime": "2021-04-30T16:15:24.2219997+00:00", "id": "sanitized", + string: '{"status": "succeeded", "resourceLocation": "/phoneNumbers/+18332408804?api-version=2021-03-07", + "createdDateTime": "2021-06-22T20:46:58.6394532+00:00", "id": "sanitized", "operationType": "updatePhoneNumberCapabilities", "lastActionDateTime": "0001-01-01T00:00:00+00:00"}' headers: access-control-expose-headers: @@ -110,15 +114,17 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Apr 2021 16:15:54 GMT + - Tue, 22 Jun 2021 20:47:29 GMT ms-cv: - - SXa4WyO3Mka8a9Gsf8BsYQ.0 + - P6C7GfA5rU6V2tBIOS3Bgg.0 request-context: - appId= transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 267ms + - 759ms status: code: 200 message: OK @@ -133,14 +139,14 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://sanitized.communication.azure.com/phoneNumbers/+18335260208?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/phoneNumbers/+18332408804?api-version=2021-03-07 response: body: string: '{"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "inbound", "sms": - "inbound+outbound"}, "assignmentType": "application", "purchaseDate": "2000-01-01T00:00:00+00:00", + "outbound"}, "assignmentType": "application", "purchaseDate": "2021-03-09T15:01:55.0949003+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}' headers: api-supported-versions: @@ -148,15 +154,17 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Apr 2021 16:15:55 GMT + - Tue, 22 Jun 2021 20:47:31 GMT ms-cv: - - /K7P7Q7xt0Sgxjgs/KsISg.0 + - xms5AKIsBE+vHxF9ijrhkg.0 request-context: - appId= transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 1185ms + - 1984ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_update_phone_number_capabilities_with_invalid_phone_number.yaml b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_update_phone_number_capabilities_with_invalid_phone_number.yaml index dcfb20aff2a4..4135cf8dbf0b 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_update_phone_number_capabilities_with_invalid_phone_number.yaml +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_update_phone_number_capabilities_with_invalid_phone_number.yaml @@ -12,31 +12,37 @@ interactions: - '49' Content-Type: - application/merge-patch+json - Date: - - Fri, 30 Apr 2021 16:15:58 GMT User-Agent: - - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:47:32 GMT x-ms-return-client-request-id: - 'true' method: PATCH uri: https://sanitized.communication.azure.com/phoneNumbers/sanitized/capabilities?api-version=2021-03-07 response: body: - string: '' + string: '{"error": {"code": "InternalError", "message": "The server encountered + an internal error."}}' headers: api-supported-versions: - '2021-03-07' - content-length: - - '0' + content-type: + - application/json date: - - Fri, 30 Apr 2021 16:15:57 GMT + - Tue, 22 Jun 2021 20:47:32 GMT ms-cv: - - Uoo4DHvUEE2ERImbFBY4Lg.0 + - wOfynf2/VkWvUO9h7jk2Sg.0 request-context: - appId= + transfer-encoding: + - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 381ms + - 448ms status: code: 404 message: Not Found + url: sanitized version: 1 diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_get_purchased_phone_number.yaml b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_get_purchased_phone_number.yaml index 35205680b6c8..6b6ba242838b 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_get_purchased_phone_number.yaml +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_get_purchased_phone_number.yaml @@ -4,10 +4,10 @@ interactions: headers: Accept: - application/json - Date: - - Mon, 19 Apr 2021 21:50:55 GMT User-Agent: - - azsdk-python-communication-phonenumbers/1.0.0b5 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:47:33 GMT x-ms-return-client-request-id: - 'true' method: GET @@ -16,16 +16,17 @@ interactions: body: string: '{"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "inbound", "sms": - "inbound+outbound"}, "assignmentType": "application", "purchaseDate": "2000-01-01T00:00:00+00:00", + "outbound"}, "assignmentType": "application", "purchaseDate": "2021-03-09T15:01:55.0949003+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}' headers: api-supported-versions: '2021-03-07' content-type: application/json; charset=utf-8 - date: Mon, 19 Apr 2021 21:50:56 GMT - ms-cv: AFGxY/duj06Kmg3TuDfcGA.0 + date: Tue, 22 Jun 2021 20:47:34 GMT + ms-cv: ak3TkQ+u6kKnYzN0owAzFw.0 request-context: appId= transfer-encoding: chunked - x-processing-time: 1847ms + x-cache: CONFIG_NOCACHE + x-processing-time: 1929ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_get_purchased_phone_number_from_managed_identity.yaml b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_get_purchased_phone_number_from_managed_identity.yaml index d1cbf3822007..29a2a86dcef3 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_get_purchased_phone_number_from_managed_identity.yaml +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_get_purchased_phone_number_from_managed_identity.yaml @@ -5,23 +5,24 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-phonenumbers/1.0.0b5 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/phoneNumbers/sanitized?api-version=2021-03-07 response: body: string: '{"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "inbound", "sms": - "inbound+outbound"}, "assignmentType": "application", "purchaseDate": "2000-01-01T00:00:00+00:00", + "outbound"}, "assignmentType": "application", "purchaseDate": "2021-03-09T15:01:55.0949003+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}' headers: api-supported-versions: '2021-03-07' content-type: application/json; charset=utf-8 - date: Mon, 19 Apr 2021 21:50:59 GMT - ms-cv: 3EenyQdSX024+58WLGrx3Q.0 + date: Tue, 22 Jun 2021 20:47:36 GMT + ms-cv: u+qnQDcXqEqzi+RzxpD0hg.0 request-context: appId= transfer-encoding: chunked - x-processing-time: 1864ms + x-cache: CONFIG_NOCACHE + x-processing-time: 1605ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_get_purchased_phone_number_with_invalid_phone_number.yaml b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_get_purchased_phone_number_with_invalid_phone_number.yaml index 631f7d10407f..7cece02b420c 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_get_purchased_phone_number_with_invalid_phone_number.yaml +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_get_purchased_phone_number_with_invalid_phone_number.yaml @@ -4,26 +4,27 @@ interactions: headers: Accept: - application/json - Date: - - Mon, 19 Apr 2021 21:51:00 GMT User-Agent: - - azsdk-python-communication-phonenumbers/1.0.0b5 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:47:37 GMT x-ms-return-client-request-id: - 'true' method: GET uri: https://sanitized.communication.azure.com/phoneNumbers/sanitized?api-version=2021-03-07 response: body: - string: '{"error": {"code": "PhoneNumberNotFound", "message": "The specified - phone number +14255550123 cannot be found.", "target": "phonenumber"}}' + string: '{"error": {"code": "NotFound", "message": "Input phoneNumber +14255550123 + cannot be found.", "target": "phonenumber"}}' headers: api-supported-versions: '2021-03-07' content-type: application/json - date: Mon, 19 Apr 2021 21:51:00 GMT - ms-cv: mIQqzEwXO0ix/6wyl5JeaA.0 + date: Tue, 22 Jun 2021 20:47:38 GMT + ms-cv: 7+dgmadKM06K8sXhBnyRew.0 request-context: appId= transfer-encoding: chunked - x-processing-time: 370ms + x-cache: CONFIG_NOCACHE + x-processing-time: 632ms status: code: 404 message: Not Found diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_list_purchased_phone_numbers.yaml b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_list_purchased_phone_numbers.yaml index 4c32175634b5..6ec64c266e5c 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_list_purchased_phone_numbers.yaml +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_list_purchased_phone_numbers.yaml @@ -4,10 +4,10 @@ interactions: headers: Accept: - application/json - Date: - - Mon, 19 Apr 2021 21:51:00 GMT User-Agent: - - azsdk-python-communication-phonenumbers/1.0.0b5 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:47:38 GMT x-ms-return-client-request-id: - 'true' method: GET @@ -19,121 +19,54 @@ interactions: "sms": "none"}, "assignmentType": "application", "purchaseDate": "2021-04-14T00:23:52.1861991+00:00", "cost": {"amount": 1.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "geographic", "capabilities": {"calling": "inbound", "sms": "none"}, "assignmentType": - "application", "purchaseDate": "2021-04-14T21:31:30.9566555+00:00", "cost": - {"amount": 1.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": - "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "geographic", "capabilities": {"calling": "outbound", "sms": "none"}, "assignmentType": "application", "purchaseDate": "2021-04-06T23:27:52.858607+00:00", "cost": {"amount": 1.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "geographic", "capabilities": {"calling": "inbound", "sms": "none"}, "assignmentType": - "application", "purchaseDate": "2021-04-06T23:48:49.38583+00:00", "cost": - {"amount": 1.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": - "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "none", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-02-10T17:51:13.4876763+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "none", "sms": "outbound"}, "assignmentType": - "application", "purchaseDate": "2021-02-10T17:52:41.818335+00:00", "cost": - {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": - "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "none", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-02-10T18:01:46.4199999+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "none", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-03-09T15:01:55.0949003+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-03-09T15:03:04.7513808+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "none", "sms": "outbound"}, "assignmentType": - "application", "purchaseDate": "2021-03-26T21:13:23.5677014+00:00", "cost": - {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": - "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "none", "sms": "outbound"}, "assignmentType": - "application", "purchaseDate": "2021-03-26T20:48:35.6663829+00:00", "cost": + "application", "purchaseDate": "2021-05-25T00:03:06.2985305+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "none", "sms": "outbound"}, "assignmentType": - "application", "purchaseDate": "2021-03-26T22:41:03.6935096+00:00", "cost": + "application", "purchaseDate": "2021-05-24T23:39:11.2079613+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound+outbound", "sms": "none"}, - "assignmentType": "application", "purchaseDate": "2021-03-29T20:13:20.1694649+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-03-30T23:10:20.4361699+00:00", + "assignmentType": "application", "purchaseDate": "2021-05-26T23:18:22.4715623+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-06T17:35:42.8155189+00:00", + "assignmentType": "application", "purchaseDate": "2021-05-27T03:05:50.816041+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "outbound", "sms": "outbound"}, "assignmentType": - "application", "purchaseDate": "2021-04-06T23:15:56.8228107+00:00", "cost": - {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": - "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound"}, "assignmentType": - "application", "purchaseDate": "2021-04-06T23:32:06.9113399+00:00", "cost": + "application", "purchaseDate": "2021-02-10T17:52:41.818335+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "none", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-06T21:36:18.8554333+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-06T23:02:07.935429+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-06T23:14:21.7956616+00:00", + "assignmentType": "application", "purchaseDate": "2021-02-10T18:01:46.4199999+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "none", "sms": "outbound"}, "assignmentType": - "application", "purchaseDate": "2021-04-06T23:19:11.9095127+00:00", "cost": + "tollFree", "capabilities": {"calling": "inbound", "sms": "outbound"}, "assignmentType": + "application", "purchaseDate": "2021-03-09T15:01:55.0949003+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "outbound", "sms": "inbound"}, "assignmentType": - "application", "purchaseDate": "2021-04-06T23:40:02.0410712+00:00", "cost": + "tollFree", "capabilities": {"calling": "inbound", "sms": "outbound"}, "assignmentType": + "application", "purchaseDate": "2021-03-09T15:03:04.7513808+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-07T16:37:03.918591+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-08T16:18:38.5365335+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-08T19:48:38.3328121+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-08T20:56:52.3906615+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, + "tollFree", "capabilities": {"calling": "outbound", "sms": "inbound+outbound"}, "assignmentType": "application", "purchaseDate": "2000-01-01T00:00:00+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "geographic", "capabilities": {"calling": "inbound+outbound", "sms": "none"}, - "assignmentType": "application", "purchaseDate": "2021-04-14T15:50:33.2361831+00:00", - "cost": {"amount": 1.0, "currencyCode": "USD", "billingFrequency": "monthly"}}]}' + "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}]}' headers: api-supported-versions: '2021-03-07' content-type: application/json; charset=utf-8 - date: Mon, 19 Apr 2021 21:51:22 GMT - ms-cv: l7h5Udj1KEmfnFBK5cXaHQ.0 + date: Tue, 22 Jun 2021 20:47:40 GMT + ms-cv: du5+GuN5+ES2ioFPWok6Ig.0 request-context: appId= transfer-encoding: chunked - x-processing-time: 22047ms + x-cache: CONFIG_NOCACHE + x-processing-time: 2763ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_list_purchased_phone_numbers_from_managed_identity.yaml b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_list_purchased_phone_numbers_from_managed_identity.yaml index 9bc51ca049b6..3d1142381ed0 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_list_purchased_phone_numbers_from_managed_identity.yaml +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_list_purchased_phone_numbers_from_managed_identity.yaml @@ -5,7 +5,7 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-phonenumbers/1.0.0b5 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/phoneNumbers?skip=0&top=100&api-version=2021-03-07 response: @@ -15,121 +15,54 @@ interactions: "sms": "none"}, "assignmentType": "application", "purchaseDate": "2021-04-14T00:23:52.1861991+00:00", "cost": {"amount": 1.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "geographic", "capabilities": {"calling": "inbound", "sms": "none"}, "assignmentType": - "application", "purchaseDate": "2021-04-14T21:31:30.9566555+00:00", "cost": - {"amount": 1.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": - "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "geographic", "capabilities": {"calling": "outbound", "sms": "none"}, "assignmentType": "application", "purchaseDate": "2021-04-06T23:27:52.858607+00:00", "cost": {"amount": 1.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "geographic", "capabilities": {"calling": "inbound", "sms": "none"}, "assignmentType": - "application", "purchaseDate": "2021-04-06T23:48:49.38583+00:00", "cost": - {"amount": 1.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": - "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "none", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-02-10T17:51:13.4876763+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "none", "sms": "outbound"}, "assignmentType": - "application", "purchaseDate": "2021-02-10T17:52:41.818335+00:00", "cost": - {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": - "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "none", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-02-10T18:01:46.4199999+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "none", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-03-09T15:01:55.0949003+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-03-09T15:03:04.7513808+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "none", "sms": "outbound"}, "assignmentType": - "application", "purchaseDate": "2021-03-26T21:13:23.5677014+00:00", "cost": - {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": - "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "none", "sms": "outbound"}, "assignmentType": - "application", "purchaseDate": "2021-03-26T20:48:35.6663829+00:00", "cost": + "application", "purchaseDate": "2021-05-25T00:03:06.2985305+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "none", "sms": "outbound"}, "assignmentType": - "application", "purchaseDate": "2021-03-26T22:41:03.6935096+00:00", "cost": + "application", "purchaseDate": "2021-05-24T23:39:11.2079613+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound+outbound", "sms": "none"}, - "assignmentType": "application", "purchaseDate": "2021-03-29T20:13:20.1694649+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-03-30T23:10:20.4361699+00:00", + "assignmentType": "application", "purchaseDate": "2021-05-26T23:18:22.4715623+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-06T17:35:42.8155189+00:00", + "assignmentType": "application", "purchaseDate": "2021-05-27T03:05:50.816041+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "outbound", "sms": "outbound"}, "assignmentType": - "application", "purchaseDate": "2021-04-06T23:15:56.8228107+00:00", "cost": - {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": - "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound"}, "assignmentType": - "application", "purchaseDate": "2021-04-06T23:32:06.9113399+00:00", "cost": + "application", "purchaseDate": "2021-02-10T17:52:41.818335+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "none", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-06T21:36:18.8554333+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-06T23:02:07.935429+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-06T23:14:21.7956616+00:00", + "assignmentType": "application", "purchaseDate": "2021-02-10T18:01:46.4199999+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "none", "sms": "outbound"}, "assignmentType": - "application", "purchaseDate": "2021-04-06T23:19:11.9095127+00:00", "cost": + "tollFree", "capabilities": {"calling": "inbound", "sms": "outbound"}, "assignmentType": + "application", "purchaseDate": "2021-03-09T15:01:55.0949003+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "outbound", "sms": "inbound"}, "assignmentType": - "application", "purchaseDate": "2021-04-06T23:40:02.0410712+00:00", "cost": + "tollFree", "capabilities": {"calling": "inbound", "sms": "outbound"}, "assignmentType": + "application", "purchaseDate": "2021-03-09T15:03:04.7513808+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-07T16:37:03.918591+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-08T16:18:38.5365335+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-08T19:48:38.3328121+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-08T20:56:52.3906615+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, + "tollFree", "capabilities": {"calling": "outbound", "sms": "inbound+outbound"}, "assignmentType": "application", "purchaseDate": "2000-01-01T00:00:00+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "geographic", "capabilities": {"calling": "inbound+outbound", "sms": "none"}, - "assignmentType": "application", "purchaseDate": "2021-04-14T15:50:33.2361831+00:00", - "cost": {"amount": 1.0, "currencyCode": "USD", "billingFrequency": "monthly"}}]}' + "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}]}' headers: api-supported-versions: '2021-03-07' content-type: application/json; charset=utf-8 - date: Mon, 19 Apr 2021 21:51:50 GMT - ms-cv: Jx2d1/4mNEmD1ZWnJzt1YQ.0 + date: Tue, 22 Jun 2021 20:47:43 GMT + ms-cv: qcNbhv5WqU6HogBWb93mkQ.0 request-context: appId= transfer-encoding: chunked - x-processing-time: 26011ms + x-cache: CONFIG_NOCACHE + x-processing-time: 1488ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_search_available_phone_numbers.yaml b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_search_available_phone_numbers.yaml index 953feca5e429..d7565f49784d 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_search_available_phone_numbers.yaml +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_search_available_phone_numbers.yaml @@ -9,10 +9,10 @@ interactions: - '131' Content-Type: - application/json - Date: - - Wed, 07 Apr 2021 18:48:54 GMT User-Agent: - - azsdk-python-communication-phonenumbers/1.0.0b5 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:47:43 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -24,13 +24,14 @@ interactions: access-control-expose-headers: Location,Operation-Location,operation-id,search-id api-supported-versions: '2021-03-07' content-length: '0' - date: Wed, 07 Apr 2021 18:48:56 GMT - ms-cv: /OjVQPdlhka/jerEeAhXtw.0 - operation-id: search_2eb536a6-57c8-46f8-b15a-7b4424c425a2 - operation-location: /phoneNumbers/operations/search_2eb536a6-57c8-46f8-b15a-7b4424c425a2?api-version=2021-03-07 + date: Tue, 22 Jun 2021 20:47:45 GMT + ms-cv: d2IuwtOW+km0VKnygc3F2g.0 + operation-id: search_ca052693-7500-4cc3-a225-7d9c1fd34b1b + operation-location: /phoneNumbers/operations/search_ca052693-7500-4cc3-a225-7d9c1fd34b1b?api-version=2021-03-07 request-context: appId= - search-id: 2eb536a6-57c8-46f8-b15a-7b4424c425a2 - x-processing-time: 4020ms + search-id: ca052693-7500-4cc3-a225-7d9c1fd34b1b + x-cache: CONFIG_NOCACHE + x-processing-time: 1984ms status: code: 202 message: Accepted diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_search_available_phone_numbers_from_managed_identity.yaml b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_search_available_phone_numbers_from_managed_identity.yaml index 11c3d2c27c4c..69a1f2a41e2e 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_search_available_phone_numbers_from_managed_identity.yaml +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_search_available_phone_numbers_from_managed_identity.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-phonenumbers/1.0.0b5 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/:search?api-version=2021-03-07 response: @@ -20,13 +20,14 @@ interactions: access-control-expose-headers: Location,Operation-Location,operation-id,search-id api-supported-versions: '2021-03-07' content-length: '0' - date: Wed, 07 Apr 2021 18:49:02 GMT - ms-cv: eES0hVGbok+B4zAc1Oe1TA.0 - operation-id: search_d6dc3b85-25dc-438d-906e-e83e1baf5765 - operation-location: /phoneNumbers/operations/search_d6dc3b85-25dc-438d-906e-e83e1baf5765?api-version=2021-03-07 + date: Tue, 22 Jun 2021 20:47:48 GMT + ms-cv: enVXTP8D9kqwjFsx4VKoNg.0 + operation-id: search_b3c21f0a-e304-4a65-a596-6f3d2e158744 + operation-location: /phoneNumbers/operations/search_b3c21f0a-e304-4a65-a596-6f3d2e158744?api-version=2021-03-07 request-context: appId= - search-id: d6dc3b85-25dc-438d-906e-e83e1baf5765 - x-processing-time: 3678ms + search-id: b3c21f0a-e304-4a65-a596-6f3d2e158744 + x-cache: CONFIG_NOCACHE + x-processing-time: 2112ms status: code: 202 message: Accepted diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_search_available_phone_numbers_with_invalid_country_code.yaml b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_search_available_phone_numbers_with_invalid_country_code.yaml index 7013ea5074a7..640fa54910e9 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_search_available_phone_numbers_with_invalid_country_code.yaml +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_search_available_phone_numbers_with_invalid_country_code.yaml @@ -9,10 +9,10 @@ interactions: - '131' Content-Type: - application/json - Date: - - Fri, 30 Apr 2021 21:35:58 GMT User-Agent: - - azsdk-python-communication-phonenumbers/1.0.1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:47:48 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -24,11 +24,12 @@ interactions: headers: api-supported-versions: '2021-03-07' content-type: application/json - date: Fri, 30 Apr 2021 21:35:58 GMT - ms-cv: vS+4qpNfgUqjc0RGNA/ZgQ.0 + date: Tue, 22 Jun 2021 20:47:47 GMT + ms-cv: yjkV05mHAUiTKwXC80sLow.0 request-context: appId= transfer-encoding: chunked - x-processing-time: 33ms + x-cache: CONFIG_NOCACHE + x-processing-time: 71ms status: code: 400 message: Bad Request diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_update_phone_number_capabilities.yaml b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_update_phone_number_capabilities.yaml index 0eca61196c8c..6d7abdc918c3 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_update_phone_number_capabilities.yaml +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_update_phone_number_capabilities.yaml @@ -4,10 +4,10 @@ interactions: headers: Accept: - application/json - Date: - - Fri, 30 Apr 2021 16:17:37 GMT User-Agent: - - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:47:48 GMT x-ms-return-client-request-id: - 'true' method: GET @@ -16,52 +16,54 @@ interactions: body: string: '{"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "inbound", "sms": - "inbound+outbound"}, "assignmentType": "application", "purchaseDate": "2000-01-01T00:00:00+00:00", + "outbound"}, "assignmentType": "application", "purchaseDate": "2021-03-09T15:01:55.0949003+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}' headers: api-supported-versions: '2021-03-07' content-type: application/json; charset=utf-8 - date: Fri, 30 Apr 2021 16:17:36 GMT - ms-cv: 0JBRywupmUiOUPbwKf2v8Q.0 + date: Tue, 22 Jun 2021 20:47:50 GMT + ms-cv: eNoOQ2NX6ke7I8BldBOFMg.0 request-context: appId= transfer-encoding: chunked - x-processing-time: 1754ms + x-cache: CONFIG_NOCACHE + x-processing-time: 1702ms status: code: 200 message: OK url: sanitized - request: - body: '{"calling": "outbound", "sms": "outbound"}' + body: '{"calling": "outbound", "sms": "inbound+outbound"}' headers: Accept: - application/json Content-Length: - - '42' + - '50' Content-Type: - application/merge-patch+json - Date: - - Fri, 30 Apr 2021 16:17:39 GMT User-Agent: - - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:47:50 GMT x-ms-return-client-request-id: - 'true' method: PATCH uri: https://sanitized.communication.azure.com/phoneNumbers/sanitized/capabilities?api-version=2021-03-07 response: body: - string: '{"capabilitiesUpdateId": "2ca86ef2-8dcc-468b-9fe2-0d15a74f8d32"}' + string: '{"capabilitiesUpdateId": "40eb12ed-bb5f-454f-bec7-90a170a5f8ce"}' headers: access-control-expose-headers: Operation-Location,Location,operation-id,capabilities-id api-supported-versions: '2021-03-07' - capabilities-id: 2ca86ef2-8dcc-468b-9fe2-0d15a74f8d32 + capabilities-id: 40eb12ed-bb5f-454f-bec7-90a170a5f8ce content-type: application/json; charset=utf-8 - date: Fri, 30 Apr 2021 16:17:38 GMT - ms-cv: p+R3H1NjEkmqK3T3KmaYVw.0 - operation-id: capabilities_2ca86ef2-8dcc-468b-9fe2-0d15a74f8d32 - operation-location: /phoneNumbers/operations/capabilities_2ca86ef2-8dcc-468b-9fe2-0d15a74f8d32?api-version=2021-03-07 + date: Tue, 22 Jun 2021 20:47:52 GMT + ms-cv: imjyH9MVr0WirATbirebdw.0 + operation-id: capabilities_40eb12ed-bb5f-454f-bec7-90a170a5f8ce + operation-location: /phoneNumbers/operations/capabilities_40eb12ed-bb5f-454f-bec7-90a170a5f8ce?api-version=2021-03-07 request-context: appId= transfer-encoding: chunked - x-processing-time: 1329ms + x-cache: CONFIG_NOCACHE + x-processing-time: 2138ms status: code: 202 message: Accepted @@ -69,28 +71,29 @@ interactions: - request: body: '' headers: - Date: - - Fri, 30 Apr 2021 16:18:10 GMT User-Agent: - - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:48:22 GMT x-ms-return-client-request-id: - 'true' method: GET - uri: https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_2ca86ef2-8dcc-468b-9fe2-0d15a74f8d32?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_40eb12ed-bb5f-454f-bec7-90a170a5f8ce?api-version=2021-03-07 response: body: - string: '{"status": "succeeded", "resourceLocation": "/phoneNumbers/+18335260208?api-version=2021-03-07", - "createdDateTime": "2021-04-30T16:17:38.4897453+00:00", "id": "sanitized", - "operationType": "updatePhoneNumberCapabilities", "lastActionDateTime": "0001-01-01T00:00:00+00:00"}' + string: '{"status": "succeeded", "resourceLocation": "/phoneNumbers/+18332408804?api-version=2021-03-07", + "createdDateTime": "2021-06-22T20:47:52.39424+00:00", "id": "sanitized", "operationType": + "updatePhoneNumberCapabilities", "lastActionDateTime": "0001-01-01T00:00:00+00:00"}' headers: access-control-expose-headers: Location api-supported-versions: '2021-03-07' content-type: application/json; charset=utf-8 - date: Fri, 30 Apr 2021 16:18:09 GMT - ms-cv: nVFdQRsWe0WKjRRQJAnEpg.0 + date: Tue, 22 Jun 2021 20:48:22 GMT + ms-cv: Uh9eA0XWuE+XghkF2vRnRw.0 request-context: appId= transfer-encoding: chunked - x-processing-time: 367ms + x-cache: CONFIG_NOCACHE + x-processing-time: 497ms status: code: 200 message: OK @@ -98,28 +101,29 @@ interactions: - request: body: '' headers: - Date: - - Fri, 30 Apr 2021 16:18:11 GMT User-Agent: - - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:48:23 GMT x-ms-return-client-request-id: - 'true' method: GET - uri: https://sanitized.communication.azure.com/phoneNumbers/+18335260208?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/phoneNumbers/+18332408804?api-version=2021-03-07 response: body: string: '{"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "outbound", "sms": - "outbound"}, "assignmentType": "application", "purchaseDate": "2000-01-01T00:00:00+00:00", + "inbound+outbound"}, "assignmentType": "application", "purchaseDate": "2021-03-09T15:01:55.0949003+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}' headers: api-supported-versions: '2021-03-07' content-type: application/json; charset=utf-8 - date: Fri, 30 Apr 2021 16:18:11 GMT - ms-cv: haippK60VEW5h9Upy8R3qg.0 + date: Tue, 22 Jun 2021 20:48:24 GMT + ms-cv: +bZ/lqVNSkGbw9K8gPjPXw.0 request-context: appId= transfer-encoding: chunked - x-processing-time: 1847ms + x-cache: CONFIG_NOCACHE + x-processing-time: 1438ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_update_phone_number_capabilities_from_managed_identity.yaml b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_update_phone_number_capabilities_from_managed_identity.yaml index 93f047b96d0f..c4c738725b20 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_update_phone_number_capabilities_from_managed_identity.yaml +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_update_phone_number_capabilities_from_managed_identity.yaml @@ -5,55 +5,57 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/phoneNumbers/sanitized?api-version=2021-03-07 response: body: string: '{"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "outbound", "sms": - "outbound"}, "assignmentType": "application", "purchaseDate": "2000-01-01T00:00:00+00:00", + "inbound+outbound"}, "assignmentType": "application", "purchaseDate": "2021-03-09T15:01:55.0949003+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}' headers: api-supported-versions: '2021-03-07' content-type: application/json; charset=utf-8 - date: Fri, 30 Apr 2021 16:18:15 GMT - ms-cv: b8QShH17K0OPkuuUcD83tg.0 + date: Tue, 22 Jun 2021 20:48:26 GMT + ms-cv: nrkAV6nj2Eex37E9sJRfRw.0 request-context: appId= transfer-encoding: chunked - x-processing-time: 2201ms + x-cache: CONFIG_NOCACHE + x-processing-time: 1053ms status: code: 200 message: OK url: sanitized - request: - body: '{"calling": "inbound", "sms": "inbound+outbound"}' + body: '{"calling": "inbound", "sms": "outbound"}' headers: Accept: - application/json Content-Length: - - '49' + - '41' Content-Type: - application/merge-patch+json User-Agent: - - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://sanitized.communication.azure.com/phoneNumbers/sanitized/capabilities?api-version=2021-03-07 response: body: - string: '{"capabilitiesUpdateId": "d673295d-7927-4c56-8912-3b8a7517c3dd"}' + string: '{"capabilitiesUpdateId": "061f7879-d6f5-40a4-b613-fbfd526f0d0b"}' headers: access-control-expose-headers: Operation-Location,Location,operation-id,capabilities-id api-supported-versions: '2021-03-07' - capabilities-id: d673295d-7927-4c56-8912-3b8a7517c3dd + capabilities-id: 061f7879-d6f5-40a4-b613-fbfd526f0d0b content-type: application/json; charset=utf-8 - date: Fri, 30 Apr 2021 16:18:17 GMT - ms-cv: EglfUu8sgke3lTBhJ92ynw.0 - operation-id: capabilities_d673295d-7927-4c56-8912-3b8a7517c3dd - operation-location: /phoneNumbers/operations/capabilities_d673295d-7927-4c56-8912-3b8a7517c3dd?api-version=2021-03-07 + date: Tue, 22 Jun 2021 20:48:28 GMT + ms-cv: PLjM7uRQ7kukTd8fEPOY2Q.0 + operation-id: capabilities_061f7879-d6f5-40a4-b613-fbfd526f0d0b + operation-location: /phoneNumbers/operations/capabilities_061f7879-d6f5-40a4-b613-fbfd526f0d0b?api-version=2021-03-07 request-context: appId= transfer-encoding: chunked - x-processing-time: 1806ms + x-cache: CONFIG_NOCACHE + x-processing-time: 1863ms status: code: 202 message: Accepted @@ -62,23 +64,24 @@ interactions: body: null headers: User-Agent: - - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_d673295d-7927-4c56-8912-3b8a7517c3dd?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_061f7879-d6f5-40a4-b613-fbfd526f0d0b?api-version=2021-03-07 response: body: - string: '{"status": "succeeded", "resourceLocation": "/phoneNumbers/+18335260208?api-version=2021-03-07", - "createdDateTime": "2021-04-30T16:18:17.4753288+00:00", "id": "sanitized", - "operationType": "updatePhoneNumberCapabilities", "lastActionDateTime": "0001-01-01T00:00:00+00:00"}' + string: '{"status": "succeeded", "resourceLocation": "/phoneNumbers/+18332408804?api-version=2021-03-07", + "createdDateTime": "2021-06-22T20:48:28.08175+00:00", "id": "sanitized", "operationType": + "updatePhoneNumberCapabilities", "lastActionDateTime": "0001-01-01T00:00:00+00:00"}' headers: access-control-expose-headers: Location api-supported-versions: '2021-03-07' content-type: application/json; charset=utf-8 - date: Fri, 30 Apr 2021 16:18:48 GMT - ms-cv: VnwNJZRFBUimJlcQEKl/2Q.0 + date: Tue, 22 Jun 2021 20:48:58 GMT + ms-cv: +cxPnf8pNkKGkBzU9WFh9Q.0 request-context: appId= transfer-encoding: chunked - x-processing-time: 664ms + x-cache: CONFIG_NOCACHE + x-processing-time: 322ms status: code: 200 message: OK @@ -87,23 +90,24 @@ interactions: body: null headers: User-Agent: - - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://sanitized.communication.azure.com/phoneNumbers/+18335260208?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/phoneNumbers/+18332408804?api-version=2021-03-07 response: body: string: '{"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "inbound", "sms": - "inbound+outbound"}, "assignmentType": "application", "purchaseDate": "2000-01-01T00:00:00+00:00", + "outbound"}, "assignmentType": "application", "purchaseDate": "2021-03-09T15:01:55.0949003+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}' headers: api-supported-versions: '2021-03-07' content-type: application/json; charset=utf-8 - date: Fri, 30 Apr 2021 16:18:53 GMT - ms-cv: INpASdJbFkiAzoUK/fLPgA.0 + date: Tue, 22 Jun 2021 20:48:59 GMT + ms-cv: rQocnmx/fkiwpB1c8CErjA.0 request-context: appId= transfer-encoding: chunked - x-processing-time: 4863ms + x-cache: CONFIG_NOCACHE + x-processing-time: 1226ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_update_phone_number_capabilities_with_invalid_phone_number.yaml b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_update_phone_number_capabilities_with_invalid_phone_number.yaml index 4c97e64c7811..be0a46368f49 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_update_phone_number_capabilities_with_invalid_phone_number.yaml +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_update_phone_number_capabilities_with_invalid_phone_number.yaml @@ -8,26 +8,29 @@ interactions: - '49' Content-Type: - application/merge-patch+json - Date: - - Fri, 30 Apr 2021 16:18:56 GMT User-Agent: - - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:49:00 GMT x-ms-return-client-request-id: - 'true' method: PATCH uri: https://sanitized.communication.azure.com/phoneNumbers/sanitized/capabilities?api-version=2021-03-07 response: body: - string: '' + string: '{"error": {"code": "InternalError", "message": "The server encountered + an internal error."}}' headers: api-supported-versions: '2021-03-07' - content-length: '0' - date: Fri, 30 Apr 2021 16:18:53 GMT - ms-cv: QA1uxSsFAU+cTcx7eE5x+A.0 + content-type: application/json + date: Tue, 22 Jun 2021 20:49:00 GMT + ms-cv: ZHFikJ3L5EitfYqYolw4hw.0 request-context: appId= - x-processing-time: 424ms + transfer-encoding: chunked + x-cache: CONFIG_NOCACHE + x-processing-time: 446ms status: code: 404 message: Not Found - url: https://sanitized.communication.azure.com/phoneNumbers/sanitized/capabilities?api-version=2021-03-07 + url: sanitized version: 1 diff --git a/sdk/communication/azure-communication-sms/azure/communication/sms/_shared/policy.py b/sdk/communication/azure-communication-sms/azure/communication/sms/_shared/policy.py index b2a0de8d4238..d4197ede0e38 100644 --- a/sdk/communication/azure-communication-sms/azure/communication/sms/_shared/policy.py +++ b/sdk/communication/azure-communication-sms/azure/communication/sms/_shared/policy.py @@ -51,7 +51,7 @@ def _sign_request(self, request): if self._decode_url: query_url = urllib.parse.unquote(query_url) - signed_headers = "date;host;x-ms-content-sha256" + signed_headers = "x-ms-date;host;x-ms-content-sha256" utc_now = get_current_utc_time() if request.http_request.body is None: @@ -76,7 +76,7 @@ def _sign_request(self, request): signature = self._compute_hmac(string_to_sign) signature_header = { - "Date": utc_now, + "x-ms-date": utc_now, "x-ms-content-sha256": content_hash, "x-ms-return-client-request-id": "true", "Authorization": "HMAC-SHA256 SignedHeaders=" +\ diff --git a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_fake_from_phone_number.yaml b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_fake_from_phone_number.yaml index b329522d9fe1..7554c0f6830c 100644 --- a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_fake_from_phone_number.yaml +++ b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_fake_from_phone_number.yaml @@ -11,13 +11,13 @@ interactions: Connection: - keep-alive Content-Length: - - '274' + - '277' Content-Type: - application/json - Date: - - Tue, 13 Apr 2021 18:38:02 GMT User-Agent: - - azsdk-python-communication-sms/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-sms/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:30:27 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -29,15 +29,17 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 13 Apr 2021 18:38:03 GMT + - Tue, 22 Jun 2021 20:30:28 GMT ms-cv: - - K5QlPZ6p/0qNhQ7fRebKJg.0 + - ARQosNcM9EO/b9GJUF1nVg.0 request-context: - appId= transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11ms + - 69ms status: code: 400 message: Bad Request diff --git a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_fake_to_phone_number.yaml b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_fake_to_phone_number.yaml index 1b552a76f2a8..e6c2a030b31b 100644 --- a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_fake_to_phone_number.yaml +++ b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_fake_to_phone_number.yaml @@ -11,13 +11,13 @@ interactions: Connection: - keep-alive Content-Length: - - '274' + - '277' Content-Type: - application/json - Date: - - Tue, 13 Apr 2021 18:38:03 GMT User-Agent: - - azsdk-python-communication-sms/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-sms/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:30:28 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -32,15 +32,17 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 13 Apr 2021 18:38:03 GMT + - Tue, 22 Jun 2021 20:30:28 GMT ms-cv: - - gw4wVjhc2U2L30f0iIDuZg.0 + - ZPA4aT5edkuwX15js2huwg.0 request-context: - appId= transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 316ms + - 344ms status: code: 202 message: Accepted diff --git a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_from_managed_identity.yaml b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_from_managed_identity.yaml index 0aceff61bf54..c252912f616d 100644 --- a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_from_managed_identity.yaml +++ b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_from_managed_identity.yaml @@ -11,11 +11,11 @@ interactions: Connection: - keep-alive Content-Length: - - '274' + - '277' Content-Type: - application/json User-Agent: - - azsdk-python-communication-sms/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-sms/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/sms?api-version=2021-03-07 response: @@ -28,15 +28,17 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 13 Apr 2021 18:38:05 GMT + - Tue, 22 Jun 2021 20:30:30 GMT ms-cv: - - olGG26idwE+LzaOTnK/I+w.0 + - Lo2mfQ4IEkWMcpxC/Iv2AQ.0 request-context: - appId= transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 843ms + - 860ms status: code: 202 message: Accepted diff --git a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_multiple_with_options.yaml b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_multiple_with_options.yaml index 80d3c413c085..9f744add6c50 100644 --- a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_multiple_with_options.yaml +++ b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_multiple_with_options.yaml @@ -12,13 +12,13 @@ interactions: Connection: - keep-alive Content-Length: - - '440' + - '446' Content-Type: - application/json - Date: - - Tue, 13 Apr 2021 18:38:05 GMT User-Agent: - - azsdk-python-communication-sms/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-sms/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:30:31 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -35,15 +35,17 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 13 Apr 2021 18:38:06 GMT + - Tue, 22 Jun 2021 20:30:32 GMT ms-cv: - - ovcS8YyU6UauDrfEXMFaqQ.0 + - 3EwH1EGbVkCGNZLLLfIGQQ.0 request-context: - appId= transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 629ms + - 1079ms status: code: 202 message: Accepted diff --git a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_single.yaml b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_single.yaml index 15eeee51ea91..812bb71d73ca 100644 --- a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_single.yaml +++ b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_single.yaml @@ -11,13 +11,13 @@ interactions: Connection: - keep-alive Content-Length: - - '274' + - '277' Content-Type: - application/json - Date: - - Tue, 13 Apr 2021 18:38:06 GMT User-Agent: - - azsdk-python-communication-sms/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-sms/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:30:32 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -32,15 +32,17 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 13 Apr 2021 18:38:07 GMT + - Tue, 22 Jun 2021 20:30:33 GMT ms-cv: - - lf9zHoiaa06EpPwt/ZkcGg.0 + - Wj790wWSzUmOajAGS9uQvA.0 request-context: - appId= transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 539ms + - 614ms status: code: 202 message: Accepted diff --git a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_unauthorized_from_phone_number.yaml b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_unauthorized_from_phone_number.yaml index d3cec6baea4e..a6737b8ec02f 100644 --- a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_unauthorized_from_phone_number.yaml +++ b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_unauthorized_from_phone_number.yaml @@ -11,33 +11,38 @@ interactions: Connection: - keep-alive Content-Length: - - '274' + - '277' Content-Type: - application/json - Date: - - Mon, 26 Apr 2021 20:44:56 GMT User-Agent: - - azsdk-python-communication-sms/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-sms/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:30:33 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/sms?api-version=2021-03-07 response: body: - string: '' + string: '{"error": {"code": "InternalError", "message": "The server encountered + an internal error."}}' headers: api-supported-versions: - 2020-07-20-preview1, 2020-08-20-preview, 2021-03-07 - content-length: - - '0' + content-type: + - application/json date: - - Mon, 26 Apr 2021 20:44:56 GMT + - Tue, 22 Jun 2021 20:30:34 GMT ms-cv: - - J4SJhRMiv0iKUhAQqxUttw.0 + - JLPu8nvoPUyp8DcG8QBtSg.0 request-context: - appId= + transfer-encoding: + - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 278ms + - 532ms status: code: 401 message: Unauthorized diff --git a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_unique_message_ids.yaml b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_unique_message_ids.yaml index 518f1638d17a..200eb692420b 100644 --- a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_unique_message_ids.yaml +++ b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_unique_message_ids.yaml @@ -11,13 +11,13 @@ interactions: Connection: - keep-alive Content-Length: - - '274' + - '277' Content-Type: - application/json - Date: - - Tue, 13 Apr 2021 18:38:07 GMT User-Agent: - - azsdk-python-communication-sms/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-sms/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:30:34 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -32,15 +32,17 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 13 Apr 2021 18:38:08 GMT + - Tue, 22 Jun 2021 20:30:34 GMT ms-cv: - - NaeHfjm8vEa2kzQRYtt98w.0 + - g6Xq7ydQ4U64DKXTQdEBeg.0 request-context: - appId= transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 545ms + - 766ms status: code: 202 message: Accepted @@ -56,13 +58,13 @@ interactions: Connection: - keep-alive Content-Length: - - '274' + - '277' Content-Type: - application/json - Date: - - Tue, 13 Apr 2021 18:38:08 GMT User-Agent: - - azsdk-python-communication-sms/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-sms/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:30:35 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -77,15 +79,17 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 13 Apr 2021 18:38:08 GMT + - Tue, 22 Jun 2021 20:30:35 GMT ms-cv: - - S/65ens12keVDGV4IohU4g.0 + - TRCxUKw8AkqOOYjaAqd4DQ.0 request-context: - appId= transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 557ms + - 513ms status: code: 202 message: Accepted diff --git a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_fake_from_phone_number_async.yaml b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_fake_from_phone_number_async.yaml index 75f4588ee94c..c216177ac4fd 100644 --- a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_fake_from_phone_number_async.yaml +++ b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_fake_from_phone_number_async.yaml @@ -7,13 +7,13 @@ interactions: Accept: - application/json Content-Length: - - '274' + - '277' Content-Type: - application/json - Date: - - Tue, 13 Apr 2021 18:38:09 GMT User-Agent: - - azsdk-python-communication-sms/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-sms/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:30:36 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -23,11 +23,12 @@ interactions: string: '{"From": ["Invalid From phone number format"]}' headers: content-type: application/json; charset=utf-8 - date: Tue, 13 Apr 2021 18:38:09 GMT - ms-cv: QucM3d0xPEu+KcFVDrOwOw.0 + date: Tue, 22 Jun 2021 20:30:36 GMT + ms-cv: 5YjuVK2z8U+886rY73SotQ.0 request-context: appId= transfer-encoding: chunked - x-processing-time: 11ms + x-cache: CONFIG_NOCACHE + x-processing-time: 43ms status: code: 400 message: Bad Request diff --git a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_fake_to_phone_number_async.yaml b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_fake_to_phone_number_async.yaml index 4d66a08fc98d..9300526342c0 100644 --- a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_fake_to_phone_number_async.yaml +++ b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_fake_to_phone_number_async.yaml @@ -7,13 +7,13 @@ interactions: Accept: - application/json Content-Length: - - '274' + - '277' Content-Type: - application/json - Date: - - Tue, 13 Apr 2021 18:38:09 GMT User-Agent: - - azsdk-python-communication-sms/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-sms/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:30:36 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -25,11 +25,12 @@ interactions: headers: api-supported-versions: 2020-07-20-preview1, 2020-08-20-preview, 2021-03-07 content-type: application/json; charset=utf-8 - date: Tue, 13 Apr 2021 18:38:10 GMT - ms-cv: XiBqPF17n0uN6sU/BdaG8A.0 + date: Tue, 22 Jun 2021 20:30:36 GMT + ms-cv: cwjft2WrCE2odK9SR6OpSA.0 request-context: appId= transfer-encoding: chunked - x-processing-time: 403ms + x-cache: CONFIG_NOCACHE + x-processing-time: 312ms status: code: 202 message: Accepted diff --git a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_from_managed_identity_async.yaml b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_from_managed_identity_async.yaml index 5e04c65db21a..97e41e3046a7 100644 --- a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_from_managed_identity_async.yaml +++ b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_from_managed_identity_async.yaml @@ -7,11 +7,11 @@ interactions: Accept: - application/json Content-Length: - - '274' + - '277' Content-Type: - application/json User-Agent: - - azsdk-python-communication-sms/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-sms/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/sms?api-version=2021-03-07 response: @@ -21,11 +21,12 @@ interactions: headers: api-supported-versions: 2020-07-20-preview1, 2020-08-20-preview, 2021-03-07 content-type: application/json; charset=utf-8 - date: Tue, 13 Apr 2021 18:38:13 GMT - ms-cv: KUAqE6zPEkWUxs7nDfgQRQ.0 + date: Tue, 22 Jun 2021 20:30:38 GMT + ms-cv: ekwtXvPV2keeZdu6kzKFfw.0 request-context: appId= transfer-encoding: chunked - x-processing-time: 423ms + x-cache: CONFIG_NOCACHE + x-processing-time: 677ms status: code: 202 message: Accepted diff --git a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_multiple_with_options_async.yaml b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_multiple_with_options_async.yaml index ad678856f5d2..ff15c7e8c84b 100644 --- a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_multiple_with_options_async.yaml +++ b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_multiple_with_options_async.yaml @@ -8,13 +8,13 @@ interactions: Accept: - application/json Content-Length: - - '440' + - '446' Content-Type: - application/json - Date: - - Tue, 13 Apr 2021 18:38:13 GMT User-Agent: - - azsdk-python-communication-sms/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-sms/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:30:38 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -28,11 +28,12 @@ interactions: headers: api-supported-versions: 2020-07-20-preview1, 2020-08-20-preview, 2021-03-07 content-type: application/json; charset=utf-8 - date: Tue, 13 Apr 2021 18:38:14 GMT - ms-cv: x7S22jrJvECxJVGZiDIbHA.0 + date: Tue, 22 Jun 2021 20:30:38 GMT + ms-cv: 2TXhchZkk0KQADFoBoeU6w.0 request-context: appId= transfer-encoding: chunked - x-processing-time: 565ms + x-cache: CONFIG_NOCACHE + x-processing-time: 932ms status: code: 202 message: Accepted diff --git a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_single_async.yaml b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_single_async.yaml index 22305bf06c85..42c0a492955a 100644 --- a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_single_async.yaml +++ b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_single_async.yaml @@ -7,13 +7,13 @@ interactions: Accept: - application/json Content-Length: - - '274' + - '277' Content-Type: - application/json - Date: - - Tue, 13 Apr 2021 18:38:14 GMT User-Agent: - - azsdk-python-communication-sms/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-sms/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:30:39 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -25,11 +25,12 @@ interactions: headers: api-supported-versions: 2020-07-20-preview1, 2020-08-20-preview, 2021-03-07 content-type: application/json; charset=utf-8 - date: Tue, 13 Apr 2021 18:38:15 GMT - ms-cv: QuTYQM60jk61jhpAbrjtpQ.0 + date: Tue, 22 Jun 2021 20:30:40 GMT + ms-cv: MQp1OH2E6UeKCBSc0kANRA.0 request-context: appId= transfer-encoding: chunked - x-processing-time: 415ms + x-cache: CONFIG_NOCACHE + x-processing-time: 657ms status: code: 202 message: Accepted diff --git a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_unauthorized_from_phone_number_async.yaml b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_unauthorized_from_phone_number_async.yaml index bef48595de5b..0efc487bb8e3 100644 --- a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_unauthorized_from_phone_number_async.yaml +++ b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_unauthorized_from_phone_number_async.yaml @@ -7,27 +7,30 @@ interactions: Accept: - application/json Content-Length: - - '274' + - '277' Content-Type: - application/json - Date: - - Mon, 26 Apr 2021 20:45:02 GMT User-Agent: - - azsdk-python-communication-sms/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-sms/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:30:40 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/sms?api-version=2021-03-07 response: body: - string: '' + string: '{"error": {"code": "InternalError", "message": "The server encountered + an internal error."}}' headers: api-supported-versions: 2020-07-20-preview1, 2020-08-20-preview, 2021-03-07 - content-length: '0' - date: Mon, 26 Apr 2021 20:45:02 GMT - ms-cv: G+jHfvCEjECPwEKrIJkC4w.0 + content-type: application/json + date: Tue, 22 Jun 2021 20:30:41 GMT + ms-cv: MZ7Sljypt0eiijzebXl8PA.0 request-context: appId= - x-processing-time: 332ms + transfer-encoding: chunked + x-cache: CONFIG_NOCACHE + x-processing-time: 363ms status: code: 401 message: Unauthorized diff --git a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_unique_message_ids_async.yaml b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_unique_message_ids_async.yaml index f5a92c8ebfa9..49d4d971ab6c 100644 --- a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_unique_message_ids_async.yaml +++ b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_unique_message_ids_async.yaml @@ -7,13 +7,13 @@ interactions: Accept: - application/json Content-Length: - - '274' + - '277' Content-Type: - application/json - Date: - - Tue, 13 Apr 2021 18:38:15 GMT User-Agent: - - azsdk-python-communication-sms/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-sms/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:30:41 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -25,11 +25,12 @@ interactions: headers: api-supported-versions: 2020-07-20-preview1, 2020-08-20-preview, 2021-03-07 content-type: application/json; charset=utf-8 - date: Tue, 13 Apr 2021 18:38:16 GMT - ms-cv: ihlwg7nsO0esXTalhuPp4g.0 + date: Tue, 22 Jun 2021 20:30:42 GMT + ms-cv: xGjy4/vRbUiYkqdcDmnDFg.0 request-context: appId= transfer-encoding: chunked - x-processing-time: 504ms + x-cache: CONFIG_NOCACHE + x-processing-time: 668ms status: code: 202 message: Accepted @@ -42,13 +43,13 @@ interactions: Accept: - application/json Content-Length: - - '274' + - '277' Content-Type: - application/json - Date: - - Tue, 13 Apr 2021 18:38:16 GMT User-Agent: - - azsdk-python-communication-sms/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-sms/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:30:42 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -60,11 +61,12 @@ interactions: headers: api-supported-versions: 2020-07-20-preview1, 2020-08-20-preview, 2021-03-07 content-type: application/json; charset=utf-8 - date: Tue, 13 Apr 2021 18:38:16 GMT - ms-cv: TPMC9LfJX0mL0Z5sa13JNQ.0 + date: Tue, 22 Jun 2021 20:30:42 GMT + ms-cv: yIG8uY7bZkGL4GUPfnA1Yg.0 request-context: appId= transfer-encoding: chunked - x-processing-time: 510ms + x-cache: CONFIG_NOCACHE + x-processing-time: 654ms status: code: 202 message: Accepted