From cbb359029551ce6dc8e8164fac95c7ca8184b4d7 Mon Sep 17 00:00:00 2001 From: minnieliu Date: Fri, 5 May 2023 21:05:42 -0700 Subject: [PATCH] [Communication]Migrate ACS Rooms Python to use new Test Proxy (#30217) * Migrate ACS Rooms Python to use new Test Proxy * santizie MS-CV and other response headers * Address comments * Fix tests in playback mode * Fix tests in playback mode * Refactor --------- Co-authored-by: Minnie Liu --- .../dev_requirements.txt | 4 +- .../azure-communication-rooms/tests.yml | 3 + .../tests/acs_rooms_test_case.py | 21 + .../tests/conftest.py | 54 ++ .../azure-communication-rooms/tests/helper.py | 20 - ...Clienttest_add_or_update_participants.json | 166 ++++++ ...d_or_update_participants_incorrectMri.json | 121 ++++ ...or_update_participants_with_null_role.json | 222 +++++++ ...Clienttest_create_room_all_attributes.json | 81 +++ ...enttest_create_room_correct_timerange.json | 76 +++ ...msClienttest_create_room_incorrectMri.json | 55 ++ ...sClienttest_create_room_no_attributes.json | 76 +++ ...enttest_create_room_only_participants.json | 84 +++ ...yTestRoomsClienttest_get_invalid_room.json | 139 +++++ ...client.pyTestRoomsClienttest_get_room.json | 115 ++++ ...stRoomsClienttest_remove_participants.json | 153 +++++ ...enttest_update_room_correct_timerange.json | 115 ++++ ...msClienttest_update_room_deleted_room.json | 116 ++++ ...test_update_room_exceed_max_timerange.json | 121 ++++ ...ienttest_update_room_incorrect_roomId.json | 45 ++ ...sClienttest_update_room_wrongRoleName.json | 129 +++++ ...ctest_add_or_update_participant_async.json | 163 ++++++ ...ate_participant_with_null_roles_async.json | 219 +++++++ ...pdate_participants_incorrectMri_async.json | 91 +++ ..._add_participants_wrongRoleName_async.json | 102 ++++ ...test_create_room_all_attributes_async.json | 79 +++ ...t_create_room_correct_timerange_async.json | 74 +++ ...nctest_create_room_incorrectMri_async.json | 54 ++ ...ctest_create_room_no_attributes_async.json | 74 +++ ...t_create_room_only_participants_async.json | 82 +++ ...t_create_room_validFrom_7Months_async.json | 51 ++ ..._create_room_validUntil_7Months_async.json | 51 ++ ...lientAsynctest_get_invalid_room_async.json | 136 +++++ ...stRoomsClientAsynctest_get_room_async.json | 113 ++++ ...entAsynctest_remove_participant_async.json | 150 +++++ ...t_update_room_correct_timerange_async.json | 112 ++++ ...nctest_update_room_deleted_room_async.json | 113 ++++ ...pdate_room_exceed_max_timerange_async.json | 91 +++ ...st_update_room_incorrect_roomId_async.json | 44 ++ ....test_add_or_update_participant_async.yaml | 440 -------------- ...ate_participant_with_null_roles_async.yaml | 490 ---------------- ...pdate_participants_incorrectMri_async.yaml | 400 ------------- ..._add_participants_wrongRoleName_async.yaml | 401 ------------- ...test_create_room_all_attributes_async.yaml | 378 ------------ ...t_create_room_correct_timerange_async.yaml | 392 ------------- ...e.test_create_room_incorrectMri_async.yaml | 353 ----------- ....test_create_room_no_attributes_async.yaml | 392 ------------- ...t_create_room_only_participants_async.yaml | 392 ------------- ...t_create_room_validFrom_7Months_async.yaml | 366 ------------ ..._create_room_validUntil_7Months_async.yaml | 366 ------------ ...async_e2e.test_get_invalid_room_async.yaml | 436 -------------- ..._client_async_e2e.test_get_room_async.yaml | 420 -------------- ...ync_e2e.test_remove_participant_async.yaml | 457 --------------- ...t_update_room_correct_timerange_async.yaml | 408 ------------- ...e.test_update_room_deleted_room_async.yaml | 413 ------------- ...pdate_room_exceed_max_timerange_async.yaml | 398 ------------- ...st_update_room_incorrect_roomId_async.yaml | 361 ------------ ...t_e2e.test_add_or_update_participants.yaml | 481 --------------- ...d_or_update_participants_incorrectMri.yaml | 420 -------------- ...or_update_participants_with_null_role.yaml | 546 ------------------ ...t_e2e.test_create_room_all_attributes.yaml | 417 ------------- ...2e.test_create_room_correct_timerange.yaml | 397 ------------- ...ent_e2e.test_create_room_incorrectMri.yaml | 378 ------------ ...nt_e2e.test_create_room_no_attributes.yaml | 401 ------------- ...2e.test_create_room_only_participants.yaml | 403 ------------- ...ooms_client_e2e.test_get_invalid_room.yaml | 482 ---------------- .../test_rooms_client_e2e.test_get_room.yaml | 451 --------------- ...s_client_e2e.test_remove_participants.yaml | 494 ---------------- ...2e.test_update_room_correct_timerange.yaml | 445 -------------- ...ent_e2e.test_update_room_deleted_room.yaml | 462 --------------- ...test_update_room_exceed_max_timerange.yaml | 455 --------------- ...e2e.test_update_room_incorrect_roomId.yaml | 374 ------------ ...nt_e2e.test_update_room_wrongRoleName.yaml | 409 ------------- .../tests/test_hmac.py | 7 +- ...oms_client_e2e.py => test_rooms_client.py} | 148 +++-- ...sync_e2e.py => test_rooms_client_async.py} | 150 ++--- .../tests/testcase.py | 37 -- .../tests/testcase_async.py | 30 - .../tests/unittest_helpers.py | 21 - 79 files changed, 3859 insertions(+), 14527 deletions(-) create mode 100644 sdk/communication/azure-communication-rooms/tests/acs_rooms_test_case.py create mode 100644 sdk/communication/azure-communication-rooms/tests/conftest.py delete mode 100644 sdk/communication/azure-communication-rooms/tests/helper.py create mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_add_or_update_participants.json create mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_add_or_update_participants_incorrectMri.json create mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_add_or_update_participants_with_null_role.json create mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_create_room_all_attributes.json create mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_create_room_correct_timerange.json create mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_create_room_incorrectMri.json create mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_create_room_no_attributes.json create mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_create_room_only_participants.json create mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_get_invalid_room.json create mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_get_room.json create mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_remove_participants.json create mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_update_room_correct_timerange.json create mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_update_room_deleted_room.json create mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_update_room_exceed_max_timerange.json create mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_update_room_incorrect_roomId.json create mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_update_room_wrongRoleName.json create mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_add_or_update_participant_async.json create mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_add_or_update_participant_with_null_roles_async.json create mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_add_or_update_participants_incorrectMri_async.json create mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_add_participants_wrongRoleName_async.json create mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_create_room_all_attributes_async.json create mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_create_room_correct_timerange_async.json create mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_create_room_incorrectMri_async.json create mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_create_room_no_attributes_async.json create mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_create_room_only_participants_async.json create mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_create_room_validFrom_7Months_async.json create mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_create_room_validUntil_7Months_async.json create mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_get_invalid_room_async.json create mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_get_room_async.json create mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_remove_participant_async.json create mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_update_room_correct_timerange_async.json create mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_update_room_deleted_room_async.json create mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_update_room_exceed_max_timerange_async.json create mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_update_room_incorrect_roomId_async.json delete mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_add_or_update_participant_async.yaml delete mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_add_or_update_participant_with_null_roles_async.yaml delete mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_add_or_update_participants_incorrectMri_async.yaml delete mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_add_participants_wrongRoleName_async.yaml delete mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_create_room_all_attributes_async.yaml delete mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_create_room_correct_timerange_async.yaml delete mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_create_room_incorrectMri_async.yaml delete mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_create_room_no_attributes_async.yaml delete mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_create_room_only_participants_async.yaml delete mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_create_room_validFrom_7Months_async.yaml delete mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_create_room_validUntil_7Months_async.yaml delete mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_get_invalid_room_async.yaml delete mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_get_room_async.yaml delete mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_remove_participant_async.yaml delete mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_update_room_correct_timerange_async.yaml delete mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_update_room_deleted_room_async.yaml delete mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_update_room_exceed_max_timerange_async.yaml delete mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_update_room_incorrect_roomId_async.yaml delete mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_add_or_update_participants.yaml delete mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_add_or_update_participants_incorrectMri.yaml delete mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_add_or_update_participants_with_null_role.yaml delete mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_create_room_all_attributes.yaml delete mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_create_room_correct_timerange.yaml delete mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_create_room_incorrectMri.yaml delete mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_create_room_no_attributes.yaml delete mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_create_room_only_participants.yaml delete mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_get_invalid_room.yaml delete mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_get_room.yaml delete mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_remove_participants.yaml delete mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_update_room_correct_timerange.yaml delete mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_update_room_deleted_room.yaml delete mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_update_room_exceed_max_timerange.yaml delete mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_update_room_incorrect_roomId.yaml delete mode 100644 sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_update_room_wrongRoleName.yaml rename sdk/communication/azure-communication-rooms/tests/{test_rooms_client_e2e.py => test_rooms_client.py} (83%) rename sdk/communication/azure-communication-rooms/tests/{test_rooms_client_async_e2e.py => test_rooms_client_async.py} (84%) delete mode 100644 sdk/communication/azure-communication-rooms/tests/testcase.py delete mode 100644 sdk/communication/azure-communication-rooms/tests/testcase_async.py delete mode 100644 sdk/communication/azure-communication-rooms/tests/unittest_helpers.py diff --git a/sdk/communication/azure-communication-rooms/dev_requirements.txt b/sdk/communication/azure-communication-rooms/dev_requirements.txt index ba496a920f6c..2aa11c3af596 100644 --- a/sdk/communication/azure-communication-rooms/dev_requirements.txt +++ b/sdk/communication/azure-communication-rooms/dev_requirements.txt @@ -3,7 +3,7 @@ -e ../azure-communication-identity ../../core/azure-core ../../identity/azure-identity -aiohttp>=3.0; +aiohttp>=3.0 typing_extensions>=3.7.2 aiounittest>=1.4 -asyncio \ No newline at end of file +asyncio diff --git a/sdk/communication/azure-communication-rooms/tests.yml b/sdk/communication/azure-communication-rooms/tests.yml index 18d27a3eb811..431066dd6b72 100644 --- a/sdk/communication/azure-communication-rooms/tests.yml +++ b/sdk/communication/azure-communication-rooms/tests.yml @@ -22,4 +22,7 @@ stages: Clouds: Public,Int TestResourceDirectories: - communication/test-resources/ + EnvVars: + AZURE_SKIP_LIVE_RECORDING: 'True' + AZURE_TEST_RUN_LIVE: 'true' diff --git a/sdk/communication/azure-communication-rooms/tests/acs_rooms_test_case.py b/sdk/communication/azure-communication-rooms/tests/acs_rooms_test_case.py new file mode 100644 index 000000000000..077c2ec9ed5d --- /dev/null +++ b/sdk/communication/azure-communication-rooms/tests/acs_rooms_test_case.py @@ -0,0 +1,21 @@ +# coding: utf-8 +# ------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# -------------------------------------------------------------------------- +import os +from devtools_testutils import AzureRecordedTestCase, is_live +from azure.communication.rooms._shared.utils import parse_connection_str + +class ACSRoomsTestCase(AzureRecordedTestCase): + def setUp(self): + if is_live(): + self.connection_str = os.getenv('COMMUNICATION_CONNECTION_STRING_ROOMS') + self.endpoint, _ = parse_connection_str(self.connection_str) + self._resource_name = self.endpoint.split(".")[0] + else: + self.connection_str = "endpoint=https://sanitized.communication.azure.com/;accesskey=fake===" + self.endpoint, _ = parse_connection_str(self.connection_str) + self._resource_name = self.endpoint.split(".")[0] + diff --git a/sdk/communication/azure-communication-rooms/tests/conftest.py b/sdk/communication/azure-communication-rooms/tests/conftest.py new file mode 100644 index 000000000000..5de95b4c15f8 --- /dev/null +++ b/sdk/communication/azure-communication-rooms/tests/conftest.py @@ -0,0 +1,54 @@ +# -------------------------------------------------------------------------- +# +# Copyright (c) Microsoft Corporation. All rights reserved. +# +# The MIT License (MIT) +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the ""Software""), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. +# +# -------------------------------------------------------------------------- +import pytest +import os +from devtools_testutils import add_general_string_sanitizer, add_header_regex_sanitizer, add_body_key_sanitizer, set_default_session_settings +from azure.communication.rooms._shared.utils import parse_connection_str + +@pytest.fixture(scope="session", autouse=True) +def add_sanitizers(test_proxy): + set_default_session_settings() + + communication_connection_string = os.getenv("COMMUNICATION_CONNECTION_STRING_ROOMS", "endpoint=https://sanitized.communication.azure.com/;accesskey=fake===") + + add_general_string_sanitizer(target=communication_connection_string, value="endpoint=https://sanitized.communication.azure.com/;accesskey=fake===") + endpoint, _ = parse_connection_str(communication_connection_string) + add_general_string_sanitizer(target=endpoint, value="sanitized.communication.azure.com") + add_header_regex_sanitizer(key="x-ms-content-sha256", value="sanitized") + add_header_regex_sanitizer(key="Set-Cookie", value="sanitized") + add_header_regex_sanitizer(key="Date", value="sanitized") + add_header_regex_sanitizer(key="Cookie", value="sanitized") + add_header_regex_sanitizer(key="client-request-id", value="sanitized") + add_header_regex_sanitizer(key="MS-CV", value="sanitized") + add_header_regex_sanitizer(key="X-Azure-Ref", value="sanitized") + add_header_regex_sanitizer(key="x-ms-content-sha256", value="sanitized") + add_header_regex_sanitizer(key="x-ms-client-request-id", value="sanitized") + add_header_regex_sanitizer(key="x-ms-date", value="sanitized") + add_header_regex_sanitizer(key="x-ms-request-id", value="sanitized") + add_header_regex_sanitizer( + key="Content-Security-Policy-Report-Only", value="sanitized") + add_header_regex_sanitizer(key="Repeatability-First-Sent", value="sanitized") + add_header_regex_sanitizer(key="Repeatability-Request-ID", value="sanitized") diff --git a/sdk/communication/azure-communication-rooms/tests/helper.py b/sdk/communication/azure-communication-rooms/tests/helper.py deleted file mode 100644 index 9bcbba9fe85d..000000000000 --- a/sdk/communication/azure-communication-rooms/tests/helper.py +++ /dev/null @@ -1,20 +0,0 @@ -# ------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -------------------------------------------------------------------------- -from azure_devtools.scenario_tests import RecordingProcessor -from azure_devtools.scenario_tests.utilities import is_text_payload - -class URIIdentityReplacer(RecordingProcessor): - """Replace the identity in request uri""" - def process_request(self, request): - import re - request.uri = re.sub('/identities/[A-Za-z0-9-_%]+', '/identities/sanitized', request.uri) - return request - - def process_response(self, response): - import re - if 'url' in response: - response['url'] = re.sub('/identities/[A-Za-z0-9-_%]+', '/identities/sanitized', response['url']) - return response \ No newline at end of file diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_add_or_update_participants.json b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_add_or_update_participants.json new file mode 100644 index 000000000000..a45910d8d646 --- /dev/null +++ b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_add_or_update_participants.json @@ -0,0 +1,166 @@ +{ + "Entries": [ + { + "RequestUri": "https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "142", + "Content-Type": "application/json", + "Repeatability-First-Sent": "sanitized", + "Repeatability-Request-ID": "sanitized", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "validFrom": null, + "validUntil": null, + "participants": { + "8:acs:sanitized1": { + "role": "Presenter" + }, + "8:acs:sanitized3": { + "role": "Attendee" + } + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "Location": "99438909571195444", + "MS-CV": "sanitized", + "Repeatability-Result": "accepted", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": { + "id": "99438909571195444", + "createdAt": "2023-05-05T21:09:08.8167074\u002B00:00", + "validFrom": "2023-05-05T21:09:08.7637676\u002B00:00", + "validUntil": "2023-11-01T21:09:08.7637676\u002B00:00" + } + }, + { + "RequestUri": "https://sanitized.communication.azure.com/rooms/99438909571195444/participants?api-version=2023-03-31-preview", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "102", + "Content-Type": "application/merge-patch\u002Bjson", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "participants": { + "8:acs:sanitized1": { + "role": "Consumer" + }, + "8:acs:sanitized2": { + "role": "Consumer" + } + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": {} + }, + { + "RequestUri": "https://sanitized.communication.azure.com/rooms/99438909571195444/participants?api-version=2023-03-31-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": { + "value": [ + { + "rawId": "8:acs:sanitized1", + "role": "Consumer" + }, + { + "rawId": "8:acs:sanitized3", + "role": "Attendee" + }, + { + "rawId": "8:acs:sanitized2", + "role": "Consumer" + } + ] + } + }, + { + "RequestUri": "https://sanitized.communication.azure.com/rooms/99438909571195444?api-version=2023-03-31-preview", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "0", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_add_or_update_participants_incorrectMri.json b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_add_or_update_participants_incorrectMri.json new file mode 100644 index 000000000000..31b8d7d9a5d3 --- /dev/null +++ b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_add_or_update_participants_incorrectMri.json @@ -0,0 +1,121 @@ +{ + "Entries": [ + { + "RequestUri": "https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "39", + "Content-Type": "application/json", + "Repeatability-First-Sent": "sanitized", + "Repeatability-Request-ID": "sanitized", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "validFrom": null, + "validUntil": null + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "Location": "99480754424293869", + "MS-CV": "sanitized", + "Repeatability-Result": "accepted", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": { + "id": "99480754424293869", + "createdAt": "2023-05-05T21:09:15.2763763\u002B00:00", + "validFrom": "2023-05-05T21:09:14.7938968\u002B00:00", + "validUntil": "2023-11-01T21:09:14.7938968\u002B00:00" + } + }, + { + "RequestUri": "https://sanitized.communication.azure.com/rooms/99480754424293869/participants?api-version=2023-03-31-preview", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "96", + "Content-Type": "application/merge-patch\u002Bjson", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "participants": { + "wrong_mri": { + "role": "Attendee" + }, + "8:acs:sanitized1": { + "role": "Presenter" + } + } + }, + "StatusCode": 400, + "ResponseHeaders": { + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE", + "x-ms-error-code": "BadRequest" + }, + "ResponseBody": { + "error": { + "code": "BadRequest", + "message": "Invalid value for the Participants." + } + } + }, + { + "RequestUri": "https://sanitized.communication.azure.com/rooms/99480754424293869?api-version=2023-03-31-preview", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "0", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_add_or_update_participants_with_null_role.json b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_add_or_update_participants_with_null_role.json new file mode 100644 index 000000000000..9bc6c879e5ae --- /dev/null +++ b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_add_or_update_participants_with_null_role.json @@ -0,0 +1,222 @@ +{ + "Entries": [ + { + "RequestUri": "https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "184", + "Content-Type": "application/json", + "Repeatability-First-Sent": "sanitized", + "Repeatability-Request-ID": "sanitized", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "validFrom": null, + "validUntil": null, + "participants": { + "8:acs:sanitized1": { + "role": "Attendee" + }, + "8:acs:sanitized2": { + "role": "Attendee" + }, + "8:acs:sanitized3": { + "role": "Presenter" + } + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "Location": "99435072472731143", + "MS-CV": "sanitized", + "Repeatability-Result": "accepted", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": { + "id": "99435072472731143", + "createdAt": "2023-05-05T21:09:11.269997\u002B00:00", + "validFrom": "2023-05-05T21:09:11.2194967\u002B00:00", + "validUntil": "2023-11-01T21:09:11.2194967\u002B00:00" + } + }, + { + "RequestUri": "https://sanitized.communication.azure.com/rooms/99435072472731143/participants?api-version=2023-03-31-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": { + "value": [ + { + "rawId": "8:acs:sanitized1", + "role": "Attendee" + }, + { + "rawId": "8:acs:sanitized2", + "role": "Attendee" + }, + { + "rawId": "8:acs:sanitized3", + "role": "Presenter" + } + ] + } + }, + { + "RequestUri": "https://sanitized.communication.azure.com/rooms/99435072472731143/participants?api-version=2023-03-31-preview", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "186", + "Content-Type": "application/merge-patch\u002Bjson", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "participants": { + "8:acs:sanitized1": { + "role": "Attendee" + }, + "8:acs:sanitized2": { + "role": "Consumer" + }, + "8:acs:sanitized3": { + "role": "Attendee" + }, + "8:acs:sanitized4": { + "role": "Attendee" + } + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": {} + }, + { + "RequestUri": "https://sanitized.communication.azure.com/rooms/99435072472731143/participants?api-version=2023-03-31-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": { + "value": [ + { + "rawId": "8:acs:sanitized1", + "role": "Attendee" + }, + { + "rawId": "8:acs:sanitized2", + "role": "Consumer" + }, + { + "rawId": "8:acs:sanitized3", + "role": "Attendee" + }, + { + "rawId": "8:acs:sanitized4", + "role": "Attendee" + } + ] + } + }, + { + "RequestUri": "https://sanitized.communication.azure.com/rooms/99435072472731143?api-version=2023-03-31-preview", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "0", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_create_room_all_attributes.json b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_create_room_all_attributes.json new file mode 100644 index 000000000000..3ac8cd402dba --- /dev/null +++ b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_create_room_all_attributes.json @@ -0,0 +1,81 @@ +{ + "Entries": [ + { + "RequestUri": "https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "150", + "Content-Type": "application/json", + "Repeatability-First-Sent": "sanitized", + "Repeatability-Request-ID": "sanitized", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "validFrom": "2023-05-08T14:09:01.151840Z", + "validUntil": "2023-06-05T14:09:01.151840Z", + "participants": { + "8:acs:sanitized1": { + "role": "Presenter" + } + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "Location": "99423699996310602", + "MS-CV": "sanitized", + "Repeatability-Result": "accepted", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": { + "id": "99423699996310602", + "createdAt": "2023-05-05T21:09:02.753788\u002B00:00", + "validFrom": "2023-05-08T14:09:01.15184\u002B00:00", + "validUntil": "2023-06-05T14:09:01.15184\u002B00:00" + } + }, + { + "RequestUri": "https://sanitized.communication.azure.com/rooms/99423699996310602?api-version=2023-03-31-preview", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "0", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_create_room_correct_timerange.json b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_create_room_correct_timerange.json new file mode 100644 index 000000000000..6cf0221b94fa --- /dev/null +++ b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_create_room_correct_timerange.json @@ -0,0 +1,76 @@ +{ + "Entries": [ + { + "RequestUri": "https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "89", + "Content-Type": "application/json", + "Repeatability-First-Sent": "sanitized", + "Repeatability-Request-ID": "sanitized", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "validFrom": "2023-05-08T14:08:59.493699Z", + "validUntil": "2023-06-05T14:08:59.493699Z" + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "Location": "99420787664879481", + "MS-CV": "sanitized", + "Repeatability-Result": "accepted", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": { + "id": "99420787664879481", + "createdAt": "2023-05-05T21:09:01.0974246\u002B00:00", + "validFrom": "2023-05-08T14:08:59.493699\u002B00:00", + "validUntil": "2023-06-05T14:08:59.493699\u002B00:00" + } + }, + { + "RequestUri": "https://sanitized.communication.azure.com/rooms/99420787664879481?api-version=2023-03-31-preview", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "0", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_create_room_incorrectMri.json b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_create_room_incorrectMri.json new file mode 100644 index 000000000000..16350f631639 --- /dev/null +++ b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_create_room_incorrectMri.json @@ -0,0 +1,55 @@ +{ + "Entries": [ + { + "RequestUri": "https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "135", + "Content-Type": "application/json", + "Repeatability-First-Sent": "sanitized", + "Repeatability-Request-ID": "sanitized", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "validFrom": null, + "validUntil": null, + "participants": { + "wrong_mri": { + "role": "Attendee" + }, + "8:acs:sanitized1": { + "role": "Presenter" + } + } + }, + "StatusCode": 400, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE", + "x-ms-error-code": "BadRequest" + }, + "ResponseBody": { + "error": { + "code": "BadRequest", + "message": "Invalid format for communication identifier." + } + } + } + ], + "Variables": {} +} diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_create_room_no_attributes.json b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_create_room_no_attributes.json new file mode 100644 index 000000000000..b630f75eff04 --- /dev/null +++ b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_create_room_no_attributes.json @@ -0,0 +1,76 @@ +{ + "Entries": [ + { + "RequestUri": "https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "39", + "Content-Type": "application/json", + "Repeatability-First-Sent": "sanitized", + "Repeatability-Request-ID": "sanitized", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "validFrom": null, + "validUntil": null + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "Location": "9944170664113558", + "MS-CV": "sanitized", + "Repeatability-Result": "accepted", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": { + "id": "9944170664113558", + "createdAt": "2023-05-05T21:08:58.8472755\u002B00:00", + "validFrom": "2023-05-05T21:08:58.7831676\u002B00:00", + "validUntil": "2023-11-01T21:08:58.7831676\u002B00:00" + } + }, + { + "RequestUri": "https://sanitized.communication.azure.com/rooms/9944170664113558?api-version=2023-03-31-preview", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "0", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_create_room_only_participants.json b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_create_room_only_participants.json new file mode 100644 index 000000000000..f4e1380e0e50 --- /dev/null +++ b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_create_room_only_participants.json @@ -0,0 +1,84 @@ +{ + "Entries": [ + { + "RequestUri": "https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "142", + "Content-Type": "application/json", + "Repeatability-First-Sent": "sanitized", + "Repeatability-Request-ID": "sanitized", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "validFrom": null, + "validUntil": null, + "participants": { + "8:acs:sanitized1": { + "role": "Presenter" + }, + "8:acs:sanitized3": { + "role": "Attendee" + } + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "Location": "99490988658597687", + "MS-CV": "sanitized", + "Repeatability-Result": "accepted", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": { + "id": "99490988658597687", + "createdAt": "2023-05-05T21:09:00.0661113\u002B00:00", + "validFrom": "2023-05-05T21:09:00.0143287\u002B00:00", + "validUntil": "2023-11-01T21:09:00.0143287\u002B00:00" + } + }, + { + "RequestUri": "https://sanitized.communication.azure.com/rooms/99490988658597687?api-version=2023-03-31-preview", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "0", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_get_invalid_room.json b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_get_invalid_room.json new file mode 100644 index 000000000000..8b3f5ff961e2 --- /dev/null +++ b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_get_invalid_room.json @@ -0,0 +1,139 @@ +{ + "Entries": [ + { + "RequestUri": "https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "39", + "Content-Type": "application/json", + "Repeatability-First-Sent": "sanitized", + "Repeatability-Request-ID": "sanitized", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "validFrom": null, + "validUntil": null + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "Location": "99454291444134085", + "MS-CV": "sanitized", + "Repeatability-Result": "accepted", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": { + "id": "99454291444134085", + "createdAt": "2023-05-05T21:09:04.988318\u002B00:00", + "validFrom": "2023-05-05T21:09:04.9305019\u002B00:00", + "validUntil": "2023-11-01T21:09:04.9305019\u002B00:00" + } + }, + { + "RequestUri": "https://sanitized.communication.azure.com/rooms/99454291444134085?api-version=2023-03-31-preview", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "0", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://sanitized.communication.azure.com/rooms/99454291444134085?api-version=2023-03-31-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE", + "x-ms-error-code": "NotFound" + }, + "ResponseBody": { + "error": { + "code": "NotFound", + "message": "The server cannot find the requested resource." + } + } + }, + { + "RequestUri": "https://sanitized.communication.azure.com/rooms/99454291444134085?api-version=2023-03-31-preview", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "0", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_get_room.json b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_get_room.json new file mode 100644 index 000000000000..3a5a24a561aa --- /dev/null +++ b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_get_room.json @@ -0,0 +1,115 @@ +{ + "Entries": [ + { + "RequestUri": "https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "150", + "Content-Type": "application/json", + "Repeatability-First-Sent": "sanitized", + "Repeatability-Request-ID": "sanitized", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "validFrom": "2023-05-08T14:09:02.169610Z", + "validUntil": "2023-05-22T14:09:02.169610Z", + "participants": { + "8:acs:sanitized1": { + "role": "Presenter" + } + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "Location": "99416836489840321", + "MS-CV": "sanitized", + "Repeatability-Result": "accepted", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": { + "id": "99416836489840321", + "createdAt": "2023-05-05T21:09:03.7694895\u002B00:00", + "validFrom": "2023-05-08T14:09:02.16961\u002B00:00", + "validUntil": "2023-05-22T14:09:02.16961\u002B00:00" + } + }, + { + "RequestUri": "https://sanitized.communication.azure.com/rooms/99416836489840321?api-version=2023-03-31-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": { + "id": "99416836489840321", + "createdAt": "2023-05-05T21:09:03.7694895\u002B00:00", + "validFrom": "2023-05-08T14:09:02.16961\u002B00:00", + "validUntil": "2023-05-22T14:09:02.16961\u002B00:00" + } + }, + { + "RequestUri": "https://sanitized.communication.azure.com/rooms/99416836489840321?api-version=2023-03-31-preview", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "0", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_remove_participants.json b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_remove_participants.json new file mode 100644 index 000000000000..ded4e1634c27 --- /dev/null +++ b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_remove_participants.json @@ -0,0 +1,153 @@ +{ + "Entries": [ + { + "RequestUri": "https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "142", + "Content-Type": "application/json", + "Repeatability-First-Sent": "sanitized", + "Repeatability-Request-ID": "sanitized", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "validFrom": null, + "validUntil": null, + "participants": { + "8:acs:sanitized1": { + "role": "Presenter" + }, + "8:acs:sanitized3": { + "role": "Attendee" + } + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "Location": "99427541872074146", + "MS-CV": "sanitized", + "Repeatability-Result": "accepted", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": { + "id": "99427541872074146", + "createdAt": "2023-05-05T21:09:13.0898663\u002B00:00", + "validFrom": "2023-05-05T21:09:13.0390848\u002B00:00", + "validUntil": "2023-11-01T21:09:13.0390848\u002B00:00" + } + }, + { + "RequestUri": "https://sanitized.communication.azure.com/rooms/99427541872074146/participants?api-version=2023-03-31-preview", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "44", + "Content-Type": "application/merge-patch\u002Bjson", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "participants": { + "8:acs:sanitized1": null + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": {} + }, + { + "RequestUri": "https://sanitized.communication.azure.com/rooms/99427541872074146/participants?api-version=2023-03-31-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": { + "value": [ + { + "rawId": "8:acs:sanitized3", + "role": "Attendee" + } + ] + } + }, + { + "RequestUri": "https://sanitized.communication.azure.com/rooms/99427541872074146?api-version=2023-03-31-preview", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "0", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_update_room_correct_timerange.json b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_update_room_correct_timerange.json new file mode 100644 index 000000000000..dc75771c0386 --- /dev/null +++ b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_update_room_correct_timerange.json @@ -0,0 +1,115 @@ +{ + "Entries": [ + { + "RequestUri": "https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "39", + "Content-Type": "application/json", + "Repeatability-First-Sent": "sanitized", + "Repeatability-Request-ID": "sanitized", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "validFrom": null, + "validUntil": null + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "Location": "99459317470657784", + "MS-CV": "sanitized", + "Repeatability-Result": "accepted", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": { + "id": "99459317470657784", + "createdAt": "2023-05-05T21:09:07.4884949\u002B00:00", + "validFrom": "2023-05-05T21:09:07.4408961\u002B00:00", + "validUntil": "2023-11-01T21:09:07.4408961\u002B00:00" + } + }, + { + "RequestUri": "https://sanitized.communication.azure.com/rooms/99459317470657784?api-version=2023-03-31-preview", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "89", + "Content-Type": "application/merge-patch\u002Bjson", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "validFrom": "2023-05-08T14:09:06.207600Z", + "validUntil": "2023-06-02T14:09:06.207600Z" + }, + "StatusCode": 200, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": { + "id": "99459317470657784", + "createdAt": "2023-05-05T21:09:07.4884949\u002B00:00", + "validFrom": "2023-05-08T14:09:06.2076\u002B00:00", + "validUntil": "2023-06-02T14:09:06.2076\u002B00:00" + } + }, + { + "RequestUri": "https://sanitized.communication.azure.com/rooms/99459317470657784?api-version=2023-03-31-preview", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "0", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_update_room_deleted_room.json b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_update_room_deleted_room.json new file mode 100644 index 000000000000..540879d4587c --- /dev/null +++ b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_update_room_deleted_room.json @@ -0,0 +1,116 @@ +{ + "Entries": [ + { + "RequestUri": "https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "39", + "Content-Type": "application/json", + "Repeatability-First-Sent": "sanitized", + "Repeatability-Request-ID": "sanitized", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "validFrom": null, + "validUntil": null + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "Location": "99413845703757768", + "MS-CV": "sanitized", + "Repeatability-Result": "accepted", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": { + "id": "99413845703757768", + "createdAt": "2023-05-05T21:09:19.6524505\u002B00:00", + "validFrom": "2023-05-05T21:09:19.3832989\u002B00:00", + "validUntil": "2023-11-01T21:09:19.3832989\u002B00:00" + } + }, + { + "RequestUri": "https://sanitized.communication.azure.com/rooms/99413845703757768?api-version=2023-03-31-preview", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "0", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://sanitized.communication.azure.com/rooms/99413845703757768?api-version=2023-03-31-preview", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "89", + "Content-Type": "application/merge-patch\u002Bjson", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "validFrom": "2023-05-08T14:09:18.854851Z", + "validUntil": "2023-05-12T14:09:18.854851Z" + }, + "StatusCode": 404, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE", + "x-ms-error-code": "NotFound" + }, + "ResponseBody": { + "error": { + "code": "NotFound", + "message": "The server cannot find the requested resource." + } + } + } + ], + "Variables": {} +} diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_update_room_exceed_max_timerange.json b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_update_room_exceed_max_timerange.json new file mode 100644 index 000000000000..6b1789d2a92f --- /dev/null +++ b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_update_room_exceed_max_timerange.json @@ -0,0 +1,121 @@ +{ + "Entries": [ + { + "RequestUri": "https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "39", + "Content-Type": "application/json", + "Repeatability-First-Sent": "sanitized", + "Repeatability-Request-ID": "sanitized", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "validFrom": null, + "validUntil": null + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "Location": "99460124009769008", + "MS-CV": "sanitized", + "Repeatability-Result": "accepted", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": { + "id": "99460124009769008", + "createdAt": "2023-05-05T21:09:06.3790336\u002B00:00", + "validFrom": "2023-05-05T21:09:06.3179219\u002B00:00", + "validUntil": "2023-11-01T21:09:06.3179219\u002B00:00" + } + }, + { + "RequestUri": "https://sanitized.communication.azure.com/rooms/99460124009769008?api-version=2023-03-31-preview", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "89", + "Content-Type": "application/merge-patch\u002Bjson", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "validFrom": "2023-05-08T14:09:05.053287Z", + "validUntil": "2023-11-24T14:09:05.053287Z" + }, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE", + "x-ms-error-code": "BadRequest" + }, + "ResponseBody": { + "error": { + "code": "BadRequest", + "message": "The request could not be understood by the server due to malformed syntax.", + "details": [ + { + "code": "BadArgument", + "message": "The time range is incorrect, or larger than 180 days.", + "target": "ValidUntil" + } + ] + } + } + }, + { + "RequestUri": "https://sanitized.communication.azure.com/rooms/99460124009769008?api-version=2023-03-31-preview", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "0", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_update_room_incorrect_roomId.json b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_update_room_incorrect_roomId.json new file mode 100644 index 000000000000..6f79b0a9d203 --- /dev/null +++ b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_update_room_incorrect_roomId.json @@ -0,0 +1,45 @@ +{ + "Entries": [ + { + "RequestUri": "https://sanitized.communication.azure.com/rooms/78469124725336262?api-version=2023-03-31-preview", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "89", + "Content-Type": "application/merge-patch\u002Bjson", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "validFrom": "2023-05-08T14:09:16.902595Z", + "validUntil": "2023-05-12T14:09:16.902595Z" + }, + "StatusCode": 404, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE", + "x-ms-error-code": "NotFound" + }, + "ResponseBody": { + "error": { + "code": "NotFound", + "message": "The server cannot find the requested resource." + } + } + } + ], + "Variables": {} +} diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_update_room_wrongRoleName.json b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_update_room_wrongRoleName.json new file mode 100644 index 000000000000..7f1038f6cc3f --- /dev/null +++ b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client.pyTestRoomsClienttest_update_room_wrongRoleName.json @@ -0,0 +1,129 @@ +{ + "Entries": [ + { + "RequestUri": "https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "39", + "Content-Type": "application/json", + "Repeatability-First-Sent": "sanitized", + "Repeatability-Request-ID": "sanitized", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "validFrom": null, + "validUntil": null + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "Location": "99415931706207305", + "MS-CV": "sanitized", + "Repeatability-Result": "accepted", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": { + "id": "99415931706207305", + "createdAt": "2023-05-05T21:09:16.9647733\u002B00:00", + "validFrom": "2023-05-05T21:09:16.7037225\u002B00:00", + "validUntil": "2023-11-01T21:09:16.7037225\u002B00:00" + } + }, + { + "RequestUri": "https://sanitized.communication.azure.com/rooms/99415931706207305/participants?api-version=2023-03-31-preview", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "57", + "Content-Type": "application/merge-patch\u002Bjson", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "participants": { + "8:acs:sanitized1": { + "role": "Kafka" + } + } + }, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE", + "x-ms-error-code": "BadRequest" + }, + "ResponseBody": { + "error": { + "code": "BadRequest", + "message": "The request could not be understood by the server due to malformed syntax.", + "details": [ + { + "code": "BadArgument", + "message": "The updateParticipantsRequestDto field is required.", + "target": "updateParticipantsRequestDto" + }, + { + "code": "BadArgument", + "message": "The JSON value could not be converted to Microsoft.AzureCommunicationService.Rooms.Api.Contracts.V2023_03_31_Preview.RoleDto. Path: $.participants.8:acs:sanitized1.role | LineNumber: 0 | BytePositionInLine: 117.", + "target": "$.participants.8:acs:sanitized1.role" + } + ] + } + } + }, + { + "RequestUri": "https://sanitized.communication.azure.com/rooms/99415931706207305?api-version=2023-03-31-preview", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "0", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_add_or_update_participant_async.json b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_add_or_update_participant_async.json new file mode 100644 index 000000000000..bda0d086852d --- /dev/null +++ b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_add_or_update_participant_async.json @@ -0,0 +1,163 @@ +{ + "Entries": [ + { + "RequestUri": "https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "141", + "Content-Type": "application/json", + "Repeatability-First-Sent": "sanitized", + "Repeatability-Request-ID": "sanitized", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "validFrom": null, + "validUntil": null, + "participants": { + "8:acs:sanitized1": { + "role": "Consumer" + }, + "8:acs:sanitized3": { + "role": "Attendee" + } + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "Location": "99414976991665083", + "MS-CV": "sanitized", + "Repeatability-Result": "accepted", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": { + "id": "99414976991665083", + "createdAt": "2023-05-05T21:09:32.795056\u002B00:00", + "validFrom": "2023-05-05T21:09:32.7401737\u002B00:00", + "validUntil": "2023-11-01T21:09:32.7401737\u002B00:00" + } + }, + { + "RequestUri": "https://sanitized.communication.azure.com/rooms/99414976991665083/participants?api-version=2023-03-31-preview", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "102", + "Content-Type": "application/merge-patch\u002Bjson", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "participants": { + "8:acs:sanitized1": { + "role": "Consumer" + }, + "8:acs:sanitized2": { + "role": "Consumer" + } + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": {} + }, + { + "RequestUri": "https://sanitized.communication.azure.com/rooms/99414976991665083/participants?api-version=2023-03-31-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": { + "value": [ + { + "rawId": "8:acs:sanitized1", + "role": "Consumer" + }, + { + "rawId": "8:acs:sanitized3", + "role": "Attendee" + }, + { + "rawId": "8:acs:sanitized2", + "role": "Consumer" + } + ] + } + }, + { + "RequestUri": "https://sanitized.communication.azure.com/rooms/99414976991665083?api-version=2023-03-31-preview", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_add_or_update_participant_with_null_roles_async.json b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_add_or_update_participant_with_null_roles_async.json new file mode 100644 index 000000000000..0b66bc5e77d5 --- /dev/null +++ b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_add_or_update_participant_with_null_roles_async.json @@ -0,0 +1,219 @@ +{ + "Entries": [ + { + "RequestUri": "https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "184", + "Content-Type": "application/json", + "Repeatability-First-Sent": "sanitized", + "Repeatability-Request-ID": "sanitized", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "validFrom": null, + "validUntil": null, + "participants": { + "8:acs:sanitized1": { + "role": "Attendee" + }, + "8:acs:sanitized2": { + "role": "Attendee" + }, + "8:acs:sanitized3": { + "role": "Presenter" + } + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "Location": "99465774127271847", + "MS-CV": "sanitized", + "Repeatability-Result": "accepted", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": { + "id": "99465774127271847", + "createdAt": "2023-05-05T21:09:34.4982984\u002B00:00", + "validFrom": "2023-05-05T21:09:34.4431122\u002B00:00", + "validUntil": "2023-11-01T21:09:34.4431122\u002B00:00" + } + }, + { + "RequestUri": "https://sanitized.communication.azure.com/rooms/99465774127271847/participants?api-version=2023-03-31-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": { + "value": [ + { + "rawId": "8:acs:sanitized1", + "role": "Attendee" + }, + { + "rawId": "8:acs:sanitized2", + "role": "Attendee" + }, + { + "rawId": "8:acs:sanitized3", + "role": "Presenter" + } + ] + } + }, + { + "RequestUri": "https://sanitized.communication.azure.com/rooms/99465774127271847/participants?api-version=2023-03-31-preview", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "186", + "Content-Type": "application/merge-patch\u002Bjson", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "participants": { + "8:acs:sanitized1": { + "role": "Attendee" + }, + "8:acs:sanitized2": { + "role": "Consumer" + }, + "8:acs:sanitized3": { + "role": "Attendee" + }, + "8:acs:sanitized4": { + "role": "Attendee" + } + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": {} + }, + { + "RequestUri": "https://sanitized.communication.azure.com/rooms/99465774127271847/participants?api-version=2023-03-31-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": { + "value": [ + { + "rawId": "8:acs:sanitized1", + "role": "Attendee" + }, + { + "rawId": "8:acs:sanitized2", + "role": "Consumer" + }, + { + "rawId": "8:acs:sanitized3", + "role": "Attendee" + }, + { + "rawId": "8:acs:sanitized4", + "role": "Attendee" + } + ] + } + }, + { + "RequestUri": "https://sanitized.communication.azure.com/rooms/99465774127271847?api-version=2023-03-31-preview", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_add_or_update_participants_incorrectMri_async.json b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_add_or_update_participants_incorrectMri_async.json new file mode 100644 index 000000000000..a121476fe11e --- /dev/null +++ b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_add_or_update_participants_incorrectMri_async.json @@ -0,0 +1,91 @@ +{ + "Entries": [ + { + "RequestUri": "https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "39", + "Content-Type": "application/json", + "Repeatability-First-Sent": "sanitized", + "Repeatability-Request-ID": "sanitized", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "validFrom": null, + "validUntil": null + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "Location": "9946472561460204", + "MS-CV": "sanitized", + "Repeatability-Result": "accepted", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": { + "id": "9946472561460204", + "createdAt": "2023-05-05T21:09:37.8266483\u002B00:00", + "validFrom": "2023-05-05T21:09:37.7820014\u002B00:00", + "validUntil": "2023-11-01T21:09:37.7820014\u002B00:00" + } + }, + { + "RequestUri": "https://sanitized.communication.azure.com/rooms/9946472561460204/participants?api-version=2023-03-31-preview", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "96", + "Content-Type": "application/merge-patch\u002Bjson", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "participants": { + "wrong_mri": { + "role": "Attendee" + }, + "8:acs:sanitized1": { + "role": "Presenter" + } + } + }, + "StatusCode": 400, + "ResponseHeaders": { + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE", + "x-ms-error-code": "BadRequest" + }, + "ResponseBody": { + "error": { + "code": "BadRequest", + "message": "Invalid value for the Participants." + } + } + } + ], + "Variables": {} +} diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_add_participants_wrongRoleName_async.json b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_add_participants_wrongRoleName_async.json new file mode 100644 index 000000000000..aca63cf94c8b --- /dev/null +++ b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_add_participants_wrongRoleName_async.json @@ -0,0 +1,102 @@ +{ + "Entries": [ + { + "RequestUri": "https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "39", + "Content-Type": "application/json", + "Repeatability-First-Sent": "sanitized", + "Repeatability-Request-ID": "sanitized", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "validFrom": null, + "validUntil": null + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "Location": "99417835389606121", + "MS-CV": "sanitized", + "Repeatability-Result": "accepted", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": { + "id": "99417835389606121", + "createdAt": "2023-05-05T21:09:38.7959306\u002B00:00", + "validFrom": "2023-05-05T21:09:38.7575864\u002B00:00", + "validUntil": "2023-11-01T21:09:38.7575864\u002B00:00" + } + }, + { + "RequestUri": "https://sanitized.communication.azure.com/rooms/99417835389606121/participants?api-version=2023-03-31-preview", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "89", + "Content-Type": "application/merge-patch\u002Bjson", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "participants": { + "chris": { + "role": "kafka" + }, + "8:acs:sanitized1": { + "role": "Presenter" + } + } + }, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE", + "x-ms-error-code": "BadRequest" + }, + "ResponseBody": { + "error": { + "code": "BadRequest", + "message": "The request could not be understood by the server due to malformed syntax.", + "details": [ + { + "code": "BadArgument", + "message": "The updateParticipantsRequestDto field is required.", + "target": "updateParticipantsRequestDto" + }, + { + "code": "BadArgument", + "message": "The JSON value could not be converted to Microsoft.AzureCommunicationService.Rooms.Api.Contracts.V2023_03_31_Preview.RoleDto. Path: $.participants.chris.role | LineNumber: 0 | BytePositionInLine: 43.", + "target": "$.participants.chris.role" + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_create_room_all_attributes_async.json b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_create_room_all_attributes_async.json new file mode 100644 index 000000000000..4adfbcc40b0b --- /dev/null +++ b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_create_room_all_attributes_async.json @@ -0,0 +1,79 @@ +{ + "Entries": [ + { + "RequestUri": "https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "150", + "Content-Type": "application/json", + "Repeatability-First-Sent": "sanitized", + "Repeatability-Request-ID": "sanitized", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "validFrom": "2023-05-08T14:09:25.139826Z", + "validUntil": "2023-06-05T14:09:25.139826Z", + "participants": { + "8:acs:sanitized1": { + "role": "Presenter" + } + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "Location": "99443443268514443", + "MS-CV": "sanitized", + "Repeatability-Result": "accepted", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": { + "id": "99443443268514443", + "createdAt": "2023-05-05T21:09:26.747514\u002B00:00", + "validFrom": "2023-05-08T14:09:25.139826\u002B00:00", + "validUntil": "2023-06-05T14:09:25.139826\u002B00:00" + } + }, + { + "RequestUri": "https://sanitized.communication.azure.com/rooms/99443443268514443?api-version=2023-03-31-preview", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_create_room_correct_timerange_async.json b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_create_room_correct_timerange_async.json new file mode 100644 index 000000000000..03520031e3bb --- /dev/null +++ b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_create_room_correct_timerange_async.json @@ -0,0 +1,74 @@ +{ + "Entries": [ + { + "RequestUri": "https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "89", + "Content-Type": "application/json", + "Repeatability-First-Sent": "sanitized", + "Repeatability-Request-ID": "sanitized", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "validFrom": "2023-05-08T14:09:23.554852Z", + "validUntil": "2023-06-05T14:09:23.554852Z" + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "Location": "99498390056056148", + "MS-CV": "sanitized", + "Repeatability-Result": "accepted", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": { + "id": "99498390056056148", + "createdAt": "2023-05-05T21:09:25.1523532\u002B00:00", + "validFrom": "2023-05-08T14:09:23.554852\u002B00:00", + "validUntil": "2023-06-05T14:09:23.554852\u002B00:00" + } + }, + { + "RequestUri": "https://sanitized.communication.azure.com/rooms/99498390056056148?api-version=2023-03-31-preview", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_create_room_incorrectMri_async.json b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_create_room_incorrectMri_async.json new file mode 100644 index 000000000000..da619f214982 --- /dev/null +++ b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_create_room_incorrectMri_async.json @@ -0,0 +1,54 @@ +{ + "Entries": [ + { + "RequestUri": "https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "135", + "Content-Type": "application/json", + "Repeatability-First-Sent": "sanitized", + "Repeatability-Request-ID": "sanitized", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "validFrom": null, + "validUntil": null, + "participants": { + "wrong_mri": { + "role": "Attendee" + }, + "8:acs:sanitized1": { + "role": "Presenter" + } + } + }, + "StatusCode": 400, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE", + "x-ms-error-code": "BadRequest" + }, + "ResponseBody": { + "error": { + "code": "BadRequest", + "message": "Invalid format for communication identifier." + } + } + } + ], + "Variables": {} +} diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_create_room_no_attributes_async.json b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_create_room_no_attributes_async.json new file mode 100644 index 000000000000..16016d633f44 --- /dev/null +++ b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_create_room_no_attributes_async.json @@ -0,0 +1,74 @@ +{ + "Entries": [ + { + "RequestUri": "https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "39", + "Content-Type": "application/json", + "Repeatability-First-Sent": "sanitized", + "Repeatability-Request-ID": "sanitized", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "validFrom": null, + "validUntil": null + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "Location": "99447495102310761", + "MS-CV": "sanitized", + "Repeatability-Result": "accepted", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": { + "id": "99447495102310761", + "createdAt": "2023-05-05T21:09:21.3869539\u002B00:00", + "validFrom": "2023-05-05T21:09:21.1242423\u002B00:00", + "validUntil": "2023-11-01T21:09:21.1242423\u002B00:00" + } + }, + { + "RequestUri": "https://sanitized.communication.azure.com/rooms/99447495102310761?api-version=2023-03-31-preview", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_create_room_only_participants_async.json b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_create_room_only_participants_async.json new file mode 100644 index 000000000000..7f4b097c8421 --- /dev/null +++ b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_create_room_only_participants_async.json @@ -0,0 +1,82 @@ +{ + "Entries": [ + { + "RequestUri": "https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "142", + "Content-Type": "application/json", + "Repeatability-First-Sent": "sanitized", + "Repeatability-Request-ID": "sanitized", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "validFrom": null, + "validUntil": null, + "participants": { + "8:acs:sanitized1": { + "role": "Presenter" + }, + "8:acs:sanitized3": { + "role": "Attendee" + } + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "Location": "9946381807803357", + "MS-CV": "sanitized", + "Repeatability-Result": "accepted", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": { + "id": "9946381807803357", + "createdAt": "2023-05-05T21:09:22.6834316\u002B00:00", + "validFrom": "2023-05-05T21:09:22.6250366\u002B00:00", + "validUntil": "2023-11-01T21:09:22.6250366\u002B00:00" + } + }, + { + "RequestUri": "https://sanitized.communication.azure.com/rooms/9946381807803357?api-version=2023-03-31-preview", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_create_room_validFrom_7Months_async.json b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_create_room_validFrom_7Months_async.json new file mode 100644 index 000000000000..518edb353658 --- /dev/null +++ b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_create_room_validFrom_7Months_async.json @@ -0,0 +1,51 @@ +{ + "Entries": [ + { + "RequestUri": "https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "64", + "Content-Type": "application/json", + "Repeatability-First-Sent": "sanitized", + "Repeatability-Request-ID": "sanitized", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "validFrom": "2023-11-24T14:09:22.948460Z", + "validUntil": null + }, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE", + "x-ms-error-code": "BadRequest" + }, + "ResponseBody": { + "error": { + "code": "BadRequest", + "message": "The request could not be understood by the server due to malformed syntax.", + "details": [ + { + "code": "BadArgument", + "message": "Value is incorrect or more than 180 days in the future.", + "target": "ValidFrom" + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_create_room_validUntil_7Months_async.json b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_create_room_validUntil_7Months_async.json new file mode 100644 index 000000000000..299d76f64eb3 --- /dev/null +++ b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_create_room_validUntil_7Months_async.json @@ -0,0 +1,51 @@ +{ + "Entries": [ + { + "RequestUri": "https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "89", + "Content-Type": "application/json", + "Repeatability-First-Sent": "sanitized", + "Repeatability-Request-ID": "sanitized", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "validFrom": "2023-05-08T14:09:22.213166Z", + "validUntil": "2023-11-27T14:09:22.213166Z" + }, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE", + "x-ms-error-code": "BadRequest" + }, + "ResponseBody": { + "error": { + "code": "BadRequest", + "message": "The request could not be understood by the server due to malformed syntax.", + "details": [ + { + "code": "BadArgument", + "message": "The time range is incorrect, or larger than 180 days.", + "target": "ValidUntil" + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_get_invalid_room_async.json b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_get_invalid_room_async.json new file mode 100644 index 000000000000..3311964fa38e --- /dev/null +++ b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_get_invalid_room_async.json @@ -0,0 +1,136 @@ +{ + "Entries": [ + { + "RequestUri": "https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "39", + "Content-Type": "application/json", + "Repeatability-First-Sent": "sanitized", + "Repeatability-Request-ID": "sanitized", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "validFrom": null, + "validUntil": null + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "Location": "99442791249872082", + "MS-CV": "sanitized", + "Repeatability-Result": "accepted", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": { + "id": "99442791249872082", + "createdAt": "2023-05-05T21:09:29.0605081\u002B00:00", + "validFrom": "2023-05-05T21:09:29.0236698\u002B00:00", + "validUntil": "2023-11-01T21:09:29.0236698\u002B00:00" + } + }, + { + "RequestUri": "https://sanitized.communication.azure.com/rooms/99442791249872082?api-version=2023-03-31-preview", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://sanitized.communication.azure.com/rooms/99442791249872082?api-version=2023-03-31-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE", + "x-ms-error-code": "NotFound" + }, + "ResponseBody": { + "error": { + "code": "NotFound", + "message": "The server cannot find the requested resource." + } + } + }, + { + "RequestUri": "https://sanitized.communication.azure.com/rooms/99442791249872082?api-version=2023-03-31-preview", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_get_room_async.json b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_get_room_async.json new file mode 100644 index 000000000000..be971ec15432 --- /dev/null +++ b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_get_room_async.json @@ -0,0 +1,113 @@ +{ + "Entries": [ + { + "RequestUri": "https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "150", + "Content-Type": "application/json", + "Repeatability-First-Sent": "sanitized", + "Repeatability-Request-ID": "sanitized", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "validFrom": "2023-05-08T14:09:26.207877Z", + "validUntil": "2023-05-22T14:09:26.207877Z", + "participants": { + "8:acs:sanitized1": { + "role": "Presenter" + } + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "Location": "99434017971929169", + "MS-CV": "sanitized", + "Repeatability-Result": "accepted", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": { + "id": "99434017971929169", + "createdAt": "2023-05-05T21:09:27.810348\u002B00:00", + "validFrom": "2023-05-08T14:09:26.207877\u002B00:00", + "validUntil": "2023-05-22T14:09:26.207877\u002B00:00" + } + }, + { + "RequestUri": "https://sanitized.communication.azure.com/rooms/99434017971929169?api-version=2023-03-31-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": { + "id": "99434017971929169", + "createdAt": "2023-05-05T21:09:27.810348\u002B00:00", + "validFrom": "2023-05-08T14:09:26.207877\u002B00:00", + "validUntil": "2023-05-22T14:09:26.207877\u002B00:00" + } + }, + { + "RequestUri": "https://sanitized.communication.azure.com/rooms/99434017971929169?api-version=2023-03-31-preview", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_remove_participant_async.json b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_remove_participant_async.json new file mode 100644 index 000000000000..41a51c5c6cb5 --- /dev/null +++ b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_remove_participant_async.json @@ -0,0 +1,150 @@ +{ + "Entries": [ + { + "RequestUri": "https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "142", + "Content-Type": "application/json", + "Repeatability-First-Sent": "sanitized", + "Repeatability-Request-ID": "sanitized", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "validFrom": null, + "validUntil": null, + "participants": { + "8:acs:sanitized1": { + "role": "Presenter" + }, + "8:acs:sanitized3": { + "role": "Attendee" + } + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "Location": "99452587158165204", + "MS-CV": "sanitized", + "Repeatability-Result": "accepted", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": { + "id": "99452587158165204", + "createdAt": "2023-05-05T21:09:36.2952892\u002B00:00", + "validFrom": "2023-05-05T21:09:36.26352\u002B00:00", + "validUntil": "2023-11-01T21:09:36.26352\u002B00:00" + } + }, + { + "RequestUri": "https://sanitized.communication.azure.com/rooms/99452587158165204/participants?api-version=2023-03-31-preview", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "44", + "Content-Type": "application/merge-patch\u002Bjson", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "participants": { + "8:acs:sanitized1": null + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": {} + }, + { + "RequestUri": "https://sanitized.communication.azure.com/rooms/99452587158165204/participants?api-version=2023-03-31-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": { + "value": [ + { + "rawId": "8:acs:sanitized3", + "role": "Attendee" + } + ] + } + }, + { + "RequestUri": "https://sanitized.communication.azure.com/rooms/99452587158165204?api-version=2023-03-31-preview", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_update_room_correct_timerange_async.json b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_update_room_correct_timerange_async.json new file mode 100644 index 000000000000..03a53659c518 --- /dev/null +++ b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_update_room_correct_timerange_async.json @@ -0,0 +1,112 @@ +{ + "Entries": [ + { + "RequestUri": "https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "39", + "Content-Type": "application/json", + "Repeatability-First-Sent": "sanitized", + "Repeatability-Request-ID": "sanitized", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "validFrom": null, + "validUntil": null + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "Location": "99419886720401188", + "MS-CV": "sanitized", + "Repeatability-Result": "accepted", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": { + "id": "99419886720401188", + "createdAt": "2023-05-05T21:09:31.4044018\u002B00:00", + "validFrom": "2023-05-05T21:09:31.3612688\u002B00:00", + "validUntil": "2023-11-01T21:09:31.3612688\u002B00:00" + } + }, + { + "RequestUri": "https://sanitized.communication.azure.com/rooms/99419886720401188?api-version=2023-03-31-preview", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "89", + "Content-Type": "application/merge-patch\u002Bjson", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "validFrom": "2023-05-08T14:09:30.145659Z", + "validUntil": "2023-06-02T14:09:30.145659Z" + }, + "StatusCode": 200, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": { + "id": "99419886720401188", + "createdAt": "2023-05-05T21:09:31.4044018\u002B00:00", + "validFrom": "2023-05-08T14:09:30.145659\u002B00:00", + "validUntil": "2023-06-02T14:09:30.145659\u002B00:00" + } + }, + { + "RequestUri": "https://sanitized.communication.azure.com/rooms/99419886720401188?api-version=2023-03-31-preview", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_update_room_deleted_room_async.json b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_update_room_deleted_room_async.json new file mode 100644 index 000000000000..6a5f03a3d6a0 --- /dev/null +++ b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_update_room_deleted_room_async.json @@ -0,0 +1,113 @@ +{ + "Entries": [ + { + "RequestUri": "https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "39", + "Content-Type": "application/json", + "Repeatability-First-Sent": "sanitized", + "Repeatability-Request-ID": "sanitized", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "validFrom": null, + "validUntil": null + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "Location": "99437603766787606", + "MS-CV": "sanitized", + "Repeatability-Result": "accepted", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": { + "id": "99437603766787606", + "createdAt": "2023-05-05T21:09:40.2985301\u002B00:00", + "validFrom": "2023-05-05T21:09:40.2389575\u002B00:00", + "validUntil": "2023-11-01T21:09:40.2389575\u002B00:00" + } + }, + { + "RequestUri": "https://sanitized.communication.azure.com/rooms/99437603766787606?api-version=2023-03-31-preview", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "0", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://sanitized.communication.azure.com/rooms/99437603766787606?api-version=2023-03-31-preview", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "89", + "Content-Type": "application/merge-patch\u002Bjson", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "validFrom": "2023-05-08T14:09:39.314911Z", + "validUntil": "2023-05-12T14:09:39.314911Z" + }, + "StatusCode": 404, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE", + "x-ms-error-code": "NotFound" + }, + "ResponseBody": { + "error": { + "code": "NotFound", + "message": "The server cannot find the requested resource." + } + } + } + ], + "Variables": {} +} diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_update_room_exceed_max_timerange_async.json b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_update_room_exceed_max_timerange_async.json new file mode 100644 index 000000000000..a4ca2a15eb4f --- /dev/null +++ b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_update_room_exceed_max_timerange_async.json @@ -0,0 +1,91 @@ +{ + "Entries": [ + { + "RequestUri": "https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "39", + "Content-Type": "application/json", + "Repeatability-First-Sent": "sanitized", + "Repeatability-Request-ID": "sanitized", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "validFrom": null, + "validUntil": null + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "Location": "99499661629852688", + "MS-CV": "sanitized", + "Repeatability-Result": "accepted", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE" + }, + "ResponseBody": { + "id": "99499661629852688", + "createdAt": "2023-05-05T21:09:30.5292811\u002B00:00", + "validFrom": "2023-05-05T21:09:30.4695237\u002B00:00", + "validUntil": "2023-11-01T21:09:30.4695237\u002B00:00" + } + }, + { + "RequestUri": "https://sanitized.communication.azure.com/rooms/99499661629852688?api-version=2023-03-31-preview", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "89", + "Content-Type": "application/merge-patch\u002Bjson", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "validFrom": "2023-05-08T14:09:29.210612Z", + "validUntil": "2023-11-24T14:09:29.210612Z" + }, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE", + "x-ms-error-code": "BadRequest" + }, + "ResponseBody": { + "error": { + "code": "BadRequest", + "message": "The request could not be understood by the server due to malformed syntax.", + "details": [ + { + "code": "BadArgument", + "message": "The time range is incorrect, or larger than 180 days.", + "target": "ValidUntil" + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_update_room_incorrect_roomId_async.json b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_update_room_incorrect_roomId_async.json new file mode 100644 index 000000000000..a8585681f4f9 --- /dev/null +++ b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async.pyTestRoomsClientAsynctest_update_room_incorrect_roomId_async.json @@ -0,0 +1,44 @@ +{ + "Entries": [ + { + "RequestUri": "https://sanitized.communication.azure.com/rooms/78469124725336262?api-version=2023-03-31-preview", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Authorization": "Sanitized", + "Content-Length": "89", + "Content-Type": "application/merge-patch\u002Bjson", + "User-Agent": "azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0)", + "x-ms-client-request-id": "sanitized", + "x-ms-content-sha256": "sanitized", + "x-ms-date": "sanitized", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "validFrom": "2023-05-08T14:09:38.087098Z", + "validUntil": "2023-05-12T14:09:38.087098Z" + }, + "StatusCode": 404, + "ResponseHeaders": { + "api-deprecated-versions": "2021-04-07", + "api-supported-versions": "2022-02-01, 2023-03-31-preview", + "Content-Type": "application/json; charset=utf-8", + "Date": "sanitized", + "MS-CV": "sanitized", + "Request-Context": "appId=", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "sanitized", + "X-Cache": "CONFIG_NOCACHE", + "x-ms-error-code": "NotFound" + }, + "ResponseBody": { + "error": { + "code": "NotFound", + "message": "The server cannot find the requested resource." + } + } + } + ], + "Variables": {} +} diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_add_or_update_participant_async.yaml b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_add_or_update_participant_async.yaml deleted file mode 100644 index 499c7bd1f185..000000000000 --- a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_add_or_update_participant_async.yaml +++ /dev/null @@ -1,440 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:04 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472c-f890-1985-09482200949b"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:03 GMT - ms-cv: - - 3zGSQ1unVkavzNDL+sLXdA.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 19ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:05 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472c-f927-1985-09482200949c"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:03 GMT - ms-cv: - - AVP5k+3ZMkmlrsstv3otyA.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 22ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:05 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472c-f979-1985-09482200949d"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:04 GMT - ms-cv: - - loxt5aDWxEeotL9ZpN1okw.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 19ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:05 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472c-f9d1-1985-09482200949e"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:04 GMT - ms-cv: - - Pg+dNobcwUmfhxzg9SzZWw.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 21ms - status: - code: 201 - message: Created -- request: - body: '{"validFrom": null, "validUntil": null, "participants": {"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472c-f890-1985-09482200949b": - {"role": "Consumer"}, "8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472c-f979-1985-09482200949d": - {"role": "Attendee"}}}' - headers: - Accept: - - application/json - Content-Length: - - '267' - Content-Type: - - application/json - Repeatability-First-Sent: - - Sat, 22 Apr 2023 04:49:05 GMT - Repeatability-Request-ID: - - 02ad1c4f-e0c9-11ed-a686-e45e37e24f59 - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:05 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview - response: - body: - string: '{"id":"99474765996343800","createdAt":"2023-04-22T04:49:05.5276114+00:00","validFrom":"2023-04-22T04:49:05.489649+00:00","validUntil":"2023-10-19T04:49:05.489649+00:00"}' - headers: - api-supported-versions: 2021-04-07, 2022-02-01, 2023-03-31-preview - content-type: application/json; charset=utf-8 - date: Sat, 22 Apr 2023 04:49:04 GMT - ms-cv: 1fl/ajiVk0abqXjaJPTzZQ.0 - repeatability-result: accepted - request-context: appId= - transfer-encoding: chunked - x-cache: CONFIG_NOCACHE - status: - code: 201 - message: Created - url: https://rooms-ppe-us.ppe.communication.azure.net/rooms?api-version=2023-03-31-preview -- request: - body: '{"participants": {"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472c-f890-1985-09482200949b": - {"role": "Consumer"}, "8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472c-f927-1985-09482200949c": - {"role": "Consumer"}}}' - headers: - Accept: - - application/json - Content-Length: - - '228' - Content-Type: - - application/merge-patch+json - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:06 GMT - x-ms-return-client-request-id: - - 'true' - method: PATCH - uri: https://sanitized.communication.azure.com/rooms/99474765996343800/participants?api-version=2023-03-31-preview - response: - body: - string: '{}' - headers: - api-supported-versions: 2022-02-01, 2023-03-31-preview - content-type: application/json; charset=utf-8 - date: Sat, 22 Apr 2023 04:49:05 GMT - ms-cv: 3jZCg7y3RkC0pyba4yQU0A.0 - request-context: appId= - transfer-encoding: chunked - x-cache: CONFIG_NOCACHE - status: - code: 200 - message: OK - url: https://rooms-ppe-us.ppe.communication.azure.net/rooms/99474765996343800/participants?api-version=2023-03-31-preview -- request: - body: '' - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:06 GMT - x-ms-return-client-request-id: - - 'true' - method: GET - uri: https://sanitized.communication.azure.com/rooms/99474765996343800/participants?api-version=2023-03-31-preview - response: - body: - string: '{"value":[{"rawId":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472c-f890-1985-09482200949b","role":"Consumer"},{"rawId":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472c-f979-1985-09482200949d","role":"Attendee"},{"rawId":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472c-f927-1985-09482200949c","role":"Consumer"}]}' - headers: - api-supported-versions: 2022-02-01, 2023-03-31-preview - content-type: application/json; charset=utf-8 - date: Sat, 22 Apr 2023 04:49:05 GMT - ms-cv: 4LXbTukVSU++sSye+N2a+w.0 - request-context: appId= - transfer-encoding: chunked - x-cache: CONFIG_NOCACHE - status: - code: 200 - message: OK - url: https://rooms-ppe-us.ppe.communication.azure.net/rooms/99474765996343800/participants?api-version=2023-03-31-preview -- request: - body: '' - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:07 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/rooms/99474765996343800?api-version=2023-03-31-preview - response: - body: - string: '' - headers: - api-supported-versions: 2021-04-07, 2022-02-01, 2023-03-31-preview - date: Sat, 22 Apr 2023 04:49:06 GMT - ms-cv: Q7k1c9YS1kS1uQGQy57NJA.0 - request-context: appId= - x-cache: CONFIG_NOCACHE - status: - code: 204 - message: No Content - url: https://rooms-ppe-us.ppe.communication.azure.net/rooms/99474765996343800?api-version=2023-03-31-preview -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:07 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - date: - - Sat, 22 Apr 2023 04:49:06 GMT - ms-cv: - - EvybmQT5Xk6DgFo46JDukw.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 129ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:07 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - date: - - Sat, 22 Apr 2023 04:49:06 GMT - ms-cv: - - L3VrgtV48E2XSLad1lHMyg.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 124ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:08 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - date: - - Sat, 22 Apr 2023 04:49:06 GMT - ms-cv: - - tUFNvxiNS0GaHwM9n0Lcow.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 137ms - status: - code: 204 - message: No Content -version: 1 diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_add_or_update_participant_with_null_roles_async.yaml b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_add_or_update_participant_with_null_roles_async.yaml deleted file mode 100644 index 9a5f056698d4..000000000000 --- a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_add_or_update_participant_with_null_roles_async.yaml +++ /dev/null @@ -1,490 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:08 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-055c-1788-094822009937"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:07 GMT - ms-cv: - - IRvR8Xe9eE6WZRSKxusEag.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 19ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:08 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-05ab-1788-094822009938"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:08 GMT - ms-cv: - - kQyoUSwJE0SVb+kRlQDPVg.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 19ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:08 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-05fb-1788-094822009939"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:08 GMT - ms-cv: - - A09cx23FeEWDpSkIQVWTjQ.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 18ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:08 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-064f-1788-09482200993a"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:08 GMT - ms-cv: - - y4SJU4UEiUefKwDdDSxA1A.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 19ms - status: - code: 201 - message: Created -- request: - body: '{"validFrom": null, "validUntil": null, "participants": {"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-055c-1788-094822009937": - {"role": "Attendee"}, "8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-05ab-1788-094822009938": - {"role": "Attendee"}, "8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-05fb-1788-094822009939": - {"role": "Presenter"}}}' - headers: - Accept: - - application/json - Content-Length: - - '373' - Content-Type: - - application/json - Repeatability-First-Sent: - - Sat, 22 Apr 2023 04:49:08 GMT - Repeatability-Request-ID: - - 0497159f-e0c9-11ed-b5e2-e45e37e24f59 - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:08 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview - response: - body: - string: '{"id":"99473431181511101","createdAt":"2023-04-22T04:49:08.5903785+00:00","validFrom":"2023-04-22T04:49:08.5365443+00:00","validUntil":"2023-10-19T04:49:08.5365443+00:00"}' - headers: - api-supported-versions: 2021-04-07, 2022-02-01, 2023-03-31-preview - connection: keep-alive - content-type: application/json; charset=utf-8 - date: Sat, 22 Apr 2023 04:49:08 GMT - ms-cv: GFgfDKgqjUyvEIzg5WNA2w.0 - repeatability-result: accepted - request-context: appId= - transfer-encoding: chunked - x-cache: CONFIG_NOCACHE - status: - code: 201 - message: Created - url: https://rooms-ppe-us.ppe.communication.azure.net/rooms?api-version=2023-03-31-preview -- request: - body: '' - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:09 GMT - x-ms-return-client-request-id: - - 'true' - method: GET - uri: https://sanitized.communication.azure.com/rooms/99473431181511101/participants?api-version=2023-03-31-preview - response: - body: - string: '{"value":[{"rawId":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-055c-1788-094822009937","role":"Attendee"},{"rawId":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-05ab-1788-094822009938","role":"Attendee"},{"rawId":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-05fb-1788-094822009939","role":"Presenter"}]}' - headers: - api-supported-versions: 2022-02-01, 2023-03-31-preview - connection: keep-alive - content-type: application/json; charset=utf-8 - date: Sat, 22 Apr 2023 04:49:08 GMT - ms-cv: bYpRgTbXFk2jnz0O8+HUlQ.0 - request-context: appId= - transfer-encoding: chunked - x-cache: CONFIG_NOCACHE - status: - code: 200 - message: OK - url: https://rooms-ppe-us.ppe.communication.azure.net/rooms/99473431181511101/participants?api-version=2023-03-31-preview -- request: - body: '{"participants": {"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-055c-1788-094822009937": - {"role": "Attendee"}, "8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-05ab-1788-094822009938": - {"role": "Consumer"}, "8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-05fb-1788-094822009939": - {"role": "Attendee"}, "8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-064f-1788-09482200993a": - {"role": "Attendee"}}}' - headers: - Accept: - - application/json - Content-Length: - - '438' - Content-Type: - - application/merge-patch+json - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:09 GMT - x-ms-return-client-request-id: - - 'true' - method: PATCH - uri: https://sanitized.communication.azure.com/rooms/99473431181511101/participants?api-version=2023-03-31-preview - response: - body: - string: '{}' - headers: - api-supported-versions: 2022-02-01, 2023-03-31-preview - connection: keep-alive - content-type: application/json; charset=utf-8 - date: Sat, 22 Apr 2023 04:49:09 GMT - ms-cv: 1XRWiT2Wtki+GSjYRoU82A.0 - request-context: appId= - transfer-encoding: chunked - x-cache: CONFIG_NOCACHE - status: - code: 200 - message: OK - url: https://rooms-ppe-us.ppe.communication.azure.net/rooms/99473431181511101/participants?api-version=2023-03-31-preview -- request: - body: '' - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:10 GMT - x-ms-return-client-request-id: - - 'true' - method: GET - uri: https://sanitized.communication.azure.com/rooms/99473431181511101/participants?api-version=2023-03-31-preview - response: - body: - string: '{"value":[{"rawId":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-055c-1788-094822009937","role":"Attendee"},{"rawId":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-05ab-1788-094822009938","role":"Consumer"},{"rawId":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-05fb-1788-094822009939","role":"Attendee"},{"rawId":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-064f-1788-09482200993a","role":"Attendee"}]}' - headers: - api-supported-versions: 2022-02-01, 2023-03-31-preview - connection: keep-alive - content-type: application/json; charset=utf-8 - date: Sat, 22 Apr 2023 04:49:09 GMT - ms-cv: Q1CMLEs1aE2J7qLEvOPd/A.0 - request-context: appId= - transfer-encoding: chunked - x-cache: CONFIG_NOCACHE - status: - code: 200 - message: OK - url: https://rooms-ppe-us.ppe.communication.azure.net/rooms/99473431181511101/participants?api-version=2023-03-31-preview -- request: - body: '' - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:10 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/rooms/99473431181511101?api-version=2023-03-31-preview - response: - body: - string: '' - headers: - api-supported-versions: 2021-04-07, 2022-02-01, 2023-03-31-preview - connection: keep-alive - date: Sat, 22 Apr 2023 04:49:09 GMT - ms-cv: O8jSkS3lAkCBtlB+k/tNVg.0 - request-context: appId= - x-cache: CONFIG_NOCACHE - status: - code: 204 - message: No Content - url: https://rooms-ppe-us.ppe.communication.azure.net/rooms/99473431181511101?api-version=2023-03-31-preview -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:10 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:49:10 GMT - ms-cv: - - Ti4t8K/vnUq6RIBN6ee14g.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 202ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:10 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:49:10 GMT - ms-cv: - - 9Kq+UvoVjU2/PE9vmBBlRQ.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 156ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:11 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:49:10 GMT - ms-cv: - - hj1R0dlEk02f937m8x3zSg.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 153ms - status: - code: 204 - message: No Content -version: 1 diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_add_or_update_participants_incorrectMri_async.yaml b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_add_or_update_participants_incorrectMri_async.yaml deleted file mode 100644 index 139a9e99e9fc..000000000000 --- a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_add_or_update_participants_incorrectMri_async.yaml +++ /dev/null @@ -1,400 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:11 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-1202-b688-094822009abe"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:11 GMT - ms-cv: - - mLcJVuFiEEeeDSp3VlwTAw.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 19ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:11 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-1252-b688-094822009abf"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:11 GMT - ms-cv: - - aG1P8jgL50G/QNl45h5/vQ.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 19ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:11 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-12b4-b688-094822009ac0"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:11 GMT - ms-cv: - - Lg3owyg3+0SCkYMRhKnHpQ.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 19ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:12 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-132d-b688-094822009ac1"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:11 GMT - ms-cv: - - bEgRdzdoDEek71+ii1v8kw.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 20ms - status: - code: 201 - message: Created -- request: - body: '{"validFrom": null, "validUntil": null}' - headers: - Accept: - - application/json - Content-Length: - - '39' - Content-Type: - - application/json - Repeatability-First-Sent: - - Sat, 22 Apr 2023 04:49:12 GMT - Repeatability-Request-ID: - - 069b9677-e0c9-11ed-9ac6-e45e37e24f59 - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:12 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview - response: - body: - string: '{"id":"99437936396043722","createdAt":"2023-04-22T04:49:11.8406346+00:00","validFrom":"2023-04-22T04:49:11.789574+00:00","validUntil":"2023-10-19T04:49:11.789574+00:00"}' - headers: - api-supported-versions: 2021-04-07, 2022-02-01, 2023-03-31-preview - connection: keep-alive - content-type: application/json; charset=utf-8 - date: Sat, 22 Apr 2023 04:49:11 GMT - ms-cv: W8TvIi0ZhU21J4ng818/SQ.0 - repeatability-result: accepted - request-context: appId= - transfer-encoding: chunked - x-cache: CONFIG_NOCACHE - status: - code: 201 - message: Created - url: https://rooms-ppe-us.ppe.communication.azure.net/rooms?api-version=2023-03-31-preview -- request: - body: '{"participants": {"wrong_mri": {"role": "Attendee"}, "8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-1202-b688-094822009abe": - {"role": "Presenter"}}}' - headers: - Accept: - - application/json - Content-Length: - - '159' - Content-Type: - - application/merge-patch+json - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:12 GMT - x-ms-return-client-request-id: - - 'true' - method: PATCH - uri: https://sanitized.communication.azure.com/rooms/99437936396043722/participants?api-version=2023-03-31-preview - response: - body: - string: '{"error":{"code":"BadRequest","message":"Invalid value for the Participants."}}' - headers: - api-supported-versions: 2022-02-01, 2023-03-31-preview - connection: keep-alive - content-type: application/json; charset=utf-8 - date: Sat, 22 Apr 2023 04:49:12 GMT - ms-cv: 8NhQGx8TnUaIt1p1He3Alg.0 - request-context: appId= - transfer-encoding: chunked - x-cache: CONFIG_NOCACHE - x-ms-error-code: BadRequest - status: - code: 400 - message: Bad Request - url: https://rooms-ppe-us.ppe.communication.azure.net/rooms/99437936396043722/participants?api-version=2023-03-31-preview -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:13 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:49:12 GMT - ms-cv: - - 0O0HgrEn6EKoE/MfWyscBg.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 154ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:13 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:49:12 GMT - ms-cv: - - 2julHkLR/kOtki6fyV2t6w.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 151ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:13 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:49:13 GMT - ms-cv: - - uRXVXJzFf0S5J9JHUcxklw.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 134ms - status: - code: 204 - message: No Content -version: 1 diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_add_participants_wrongRoleName_async.yaml b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_add_participants_wrongRoleName_async.yaml deleted file mode 100644 index 56d8811b2e96..000000000000 --- a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_add_participants_wrongRoleName_async.yaml +++ /dev/null @@ -1,401 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:13 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-1b5d-a381-0948220096b9"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:13 GMT - ms-cv: - - XJxiCmo3GUqiIz8bf/7ZiQ.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 20ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:14 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-1bb7-a381-0948220096ba"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:13 GMT - ms-cv: - - TsBWCpdd2kec7ohR34GwZg.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 21ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:14 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-1c41-a381-0948220096bb"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:13 GMT - ms-cv: - - mhVZpr/2vECsRdCL5ool2g.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 67ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:14 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-1c9a-a381-0948220096bc"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:13 GMT - ms-cv: - - F5YpZU/KvU+dWfpDtpF2gA.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 20ms - status: - code: 201 - message: Created -- request: - body: '{"validFrom": null, "validUntil": null}' - headers: - Accept: - - application/json - Content-Length: - - '39' - Content-Type: - - application/json - Repeatability-First-Sent: - - Sat, 22 Apr 2023 04:49:14 GMT - Repeatability-Request-ID: - - 07fc1a64-e0c9-11ed-a5d8-e45e37e24f59 - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:14 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview - response: - body: - string: '{"id":"99440172387424469","createdAt":"2023-04-22T04:49:14.1689666+00:00","validFrom":"2023-04-22T04:49:14.1181103+00:00","validUntil":"2023-10-19T04:49:14.1181103+00:00"}' - headers: - api-supported-versions: 2021-04-07, 2022-02-01, 2023-03-31-preview - content-type: application/json; charset=utf-8 - date: Sat, 22 Apr 2023 04:49:13 GMT - ms-cv: 04PxuuhY+kOKPK+l5nvJ9Q.0 - repeatability-result: accepted - request-context: appId= - transfer-encoding: chunked - x-cache: CONFIG_NOCACHE - status: - code: 201 - message: Created - url: https://rooms-ppe-us.ppe.communication.azure.net/rooms?api-version=2023-03-31-preview -- request: - body: '{"participants": {"chris": {"role": "kafka"}, "8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-1b5d-a381-0948220096b9": - {"role": "Presenter"}}}' - headers: - Accept: - - application/json - Content-Length: - - '152' - Content-Type: - - application/merge-patch+json - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:14 GMT - x-ms-return-client-request-id: - - 'true' - method: PATCH - uri: https://sanitized.communication.azure.com/rooms/99440172387424469/participants?api-version=2023-03-31-preview - response: - body: - string: '{"error":{"code":"BadRequest","message":"The request could not be understood - by the server due to malformed syntax.","details":[{"code":"BadArgument","message":"The - updateParticipantsRequestDto field is required.","target":"updateParticipantsRequestDto"},{"code":"BadArgument","message":"The - JSON value could not be converted to Microsoft.AzureCommunicationService.Rooms.Api.Contracts.V2023_03_31_Preview.RoleDto. - Path: $.participants.chris.role | LineNumber: 0 | BytePositionInLine: 43.","target":"$.participants.chris.role"}]}}' - headers: - content-type: application/json; charset=utf-8 - date: Sat, 22 Apr 2023 04:49:14 GMT - ms-cv: 78wRb95EaUOjwv4uMr831w.0 - request-context: appId= - transfer-encoding: chunked - x-cache: CONFIG_NOCACHE - x-ms-error-code: BadRequest - status: - code: 400 - message: Bad Request - url: https://rooms-ppe-us.ppe.communication.azure.net/rooms/99440172387424469/participants?api-version=2023-03-31-preview -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:15 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:49:14 GMT - ms-cv: - - hFWjEnZlL0GW6oc4x3SuGQ.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 162ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:15 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:49:15 GMT - ms-cv: - - X3v1gmemyEWtoXc4Hyy+Dg.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 153ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:15 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:49:15 GMT - ms-cv: - - MiocwFv8VkGsyTnxJJfIag.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 150ms - status: - code: 204 - message: No Content -version: 1 diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_create_room_all_attributes_async.yaml b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_create_room_all_attributes_async.yaml deleted file mode 100644 index 6bb8ffb1eb4c..000000000000 --- a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_create_room_all_attributes_async.yaml +++ /dev/null @@ -1,378 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:16 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-23e5-a381-0948220096c2"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:15 GMT - ms-cv: - - yJDMFYT6ekeem9DuIsx8UQ.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 19ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:16 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-2442-a381-0948220096c3"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:15 GMT - ms-cv: - - larn/qqQLkGuYGun8zXYsg.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 30ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:16 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-2495-a381-0948220096c4"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:15 GMT - ms-cv: - - mStINu0NsUadOngMRPDPmQ.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 20ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:16 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-24ea-a381-0948220096c5"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:16 GMT - ms-cv: - - xKEGF0YDp0uizR9DZhIByw.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 21ms - status: - code: 201 - message: Created -- request: - body: '{"validFrom": "2023-04-24T21:49:16.662735Z", "validUntil": "2023-05-22T21:49:16.662735Z", - "participants": {"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-23e5-a381-0948220096c2": - {"role": "Presenter"}}}' - headers: - Accept: - - application/json - Content-Length: - - '213' - Content-Type: - - application/json - Repeatability-First-Sent: - - Sat, 22 Apr 2023 04:49:16 GMT - Repeatability-Request-ID: - - 09408e17-e0c9-11ed-947c-e45e37e24f59 - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:16 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview - response: - body: - string: '{"id":"99430415750920963","createdAt":"2023-04-22T04:49:16.3098653+00:00","validFrom":"2023-04-24T21:49:16.662735+00:00","validUntil":"2023-05-22T21:49:16.662735+00:00"}' - headers: - api-supported-versions: 2021-04-07, 2022-02-01, 2023-03-31-preview - content-type: application/json; charset=utf-8 - date: Sat, 22 Apr 2023 04:49:15 GMT - ms-cv: 6k9oeLj000etgZt2XngKaA.0 - repeatability-result: accepted - request-context: appId= - transfer-encoding: chunked - x-cache: CONFIG_NOCACHE - status: - code: 201 - message: Created - url: https://rooms-ppe-us.ppe.communication.azure.net/rooms?api-version=2023-03-31-preview -- request: - body: '' - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:17 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/rooms/99430415750920963?api-version=2023-03-31-preview - response: - body: - string: '' - headers: - api-supported-versions: 2021-04-07, 2022-02-01, 2023-03-31-preview - date: Sat, 22 Apr 2023 04:49:16 GMT - ms-cv: tejiXBFoz0aYqedtrez/dA.0 - request-context: appId= - x-cache: CONFIG_NOCACHE - status: - code: 204 - message: No Content - url: https://rooms-ppe-us.ppe.communication.azure.net/rooms/99430415750920963?api-version=2023-03-31-preview -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:17 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - date: - - Sat, 22 Apr 2023 04:49:17 GMT - ms-cv: - - gSPxXE6hvEe5sunh4EEVqw.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 130ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:17 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - date: - - Sat, 22 Apr 2023 04:49:17 GMT - ms-cv: - - UeE3i5vhj0S0PVGyeu3Gvw.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 130ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:18 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - date: - - Sat, 22 Apr 2023 04:49:17 GMT - ms-cv: - - wHtiaQ7IPk2rGxsq6iOzWw.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 159ms - status: - code: 204 - message: No Content -version: 1 diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_create_room_correct_timerange_async.yaml b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_create_room_correct_timerange_async.yaml deleted file mode 100644 index 1f0d02c4de8e..000000000000 --- a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_create_room_correct_timerange_async.yaml +++ /dev/null @@ -1,392 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:18 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-2d03-a381-0948220096c6"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:18 GMT - ms-cv: - - vix/eUEJjkWPdj6G2p+dPw.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 19ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:18 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-2d5b-a381-0948220096c7"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:18 GMT - ms-cv: - - SQuTVPPYMEqNK4ImBT153Q.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 19ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:18 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-2daf-a381-0948220096c8"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:18 GMT - ms-cv: - - b7L3JFTEpkCLEwrgK/nWOA.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 19ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:18 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-2e02-a381-0948220096c9"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:18 GMT - ms-cv: - - 01Wx6Rjvr0GjF1PLSuXR0g.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 19ms - status: - code: 201 - message: Created -- request: - body: '{"validFrom": "2023-04-24T21:49:19.001743Z", "validUntil": "2023-05-22T21:49:19.001743Z"}' - headers: - Accept: - - application/json - Content-Length: - - '89' - Content-Type: - - application/json - Repeatability-First-Sent: - - Sat, 22 Apr 2023 04:49:19 GMT - Repeatability-Request-ID: - - 0aa57598-e0c9-11ed-a501-e45e37e24f59 - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:19 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview - response: - body: - string: '{"id":"99491538031506608","createdAt":"2023-04-22T04:49:18.6225705+00:00","validFrom":"2023-04-24T21:49:19.001743+00:00","validUntil":"2023-05-22T21:49:19.001743+00:00"}' - headers: - api-supported-versions: 2021-04-07, 2022-02-01, 2023-03-31-preview - connection: keep-alive - content-type: application/json; charset=utf-8 - date: Sat, 22 Apr 2023 04:49:18 GMT - ms-cv: MWxkz/PFZECsvbcVk5ceSw.0 - repeatability-result: accepted - request-context: appId= - transfer-encoding: chunked - x-cache: CONFIG_NOCACHE - status: - code: 201 - message: Created - url: https://rooms-ppe-us.ppe.communication.azure.net/rooms?api-version=2023-03-31-preview -- request: - body: '' - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:19 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/rooms/99491538031506608?api-version=2023-03-31-preview - response: - body: - string: '' - headers: - api-supported-versions: 2021-04-07, 2022-02-01, 2023-03-31-preview - connection: keep-alive - date: Sat, 22 Apr 2023 04:49:19 GMT - ms-cv: 0iiCg6C+R0GDbfPWYPBtFw.0 - request-context: appId= - x-cache: CONFIG_NOCACHE - status: - code: 204 - message: No Content - url: https://rooms-ppe-us.ppe.communication.azure.net/rooms/99491538031506608?api-version=2023-03-31-preview -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:19 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:49:19 GMT - ms-cv: - - 8Xv42+dfgU6N6wMXkd3zJA.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 154ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:20 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:49:19 GMT - ms-cv: - - Bh9b4kEFXEmH6NIVFKhqMg.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 155ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:20 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:49:20 GMT - ms-cv: - - Z4oKmIVUHkWdCJLWkNdo9w.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 127ms - status: - code: 204 - message: No Content -version: 1 diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_create_room_incorrectMri_async.yaml b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_create_room_incorrectMri_async.yaml deleted file mode 100644 index 01da84461b0c..000000000000 --- a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_create_room_incorrectMri_async.yaml +++ /dev/null @@ -1,353 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:20 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-36d6-a381-0948220096cb"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:20 GMT - ms-cv: - - 1cR/5u1RKEClkmY0z4PS2A.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 19ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:21 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-3786-a381-0948220096cc"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:20 GMT - ms-cv: - - VWpaqkNObkqZzmM3he9eHg.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 18ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:21 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-37d9-a381-0948220096cd"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:20 GMT - ms-cv: - - OWWPdZRkOEaVcrvMo5s2tA.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 19ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:21 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-382d-a381-0948220096ce"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:20 GMT - ms-cv: - - ZcGLZ7CdaUaAksZ1pD3qSw.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 18ms - status: - code: 201 - message: Created -- request: - body: '{"validFrom": null, "validUntil": null, "participants": {"wrong_mri": {"role": - "Attendee"}, "8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-36d6-a381-0948220096cb": - {"role": "Presenter"}}}' - headers: - Accept: - - application/json - Content-Length: - - '198' - Content-Type: - - application/json - Repeatability-First-Sent: - - Sat, 22 Apr 2023 04:49:21 GMT - Repeatability-Request-ID: - - 0c312cd4-e0c9-11ed-89dc-e45e37e24f59 - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:21 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview - response: - body: - string: '{"error":{"code":"BadRequest","message":"Invalid format for communication - identifier."}}' - headers: - api-supported-versions: 2021-04-07, 2022-02-01, 2023-03-31-preview - content-type: application/json; charset=utf-8 - date: Sat, 22 Apr 2023 04:49:21 GMT - ms-cv: 0RU7uYljaEaHpbG4ebOyZg.0 - request-context: appId= - transfer-encoding: chunked - x-cache: CONFIG_NOCACHE - x-ms-error-code: BadRequest - status: - code: 400 - message: Bad Request - url: https://rooms-ppe-us.ppe.communication.azure.net/rooms?api-version=2023-03-31-preview -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:21 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - date: - - Sat, 22 Apr 2023 04:49:21 GMT - ms-cv: - - 85pPnPqQHEikDjeNkGWsDg.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 126ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:22 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - date: - - Sat, 22 Apr 2023 04:49:21 GMT - ms-cv: - - eTmwQJ9wkUiX6nzC+E6xvQ.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 152ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:22 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - date: - - Sat, 22 Apr 2023 04:49:21 GMT - ms-cv: - - UGRGkXQkFEydxO5bPBLHlA.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 154ms - status: - code: 204 - message: No Content -version: 1 diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_create_room_no_attributes_async.yaml b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_create_room_no_attributes_async.yaml deleted file mode 100644 index df4bde2c0c31..000000000000 --- a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_create_room_no_attributes_async.yaml +++ /dev/null @@ -1,392 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:22 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-3d4a-b688-094822009ac4"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:22 GMT - ms-cv: - - 1OjXDpxodUyJ1jUWDt9tig.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 19ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:22 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-3d9c-b688-094822009ac5"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:22 GMT - ms-cv: - - rUOOFZIGqkm6xrpy73qQdg.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 18ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:22 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-3df0-b688-094822009ac6"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:22 GMT - ms-cv: - - dpnI4DYT/kCvD1tbhGfEmw.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 20ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:23 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-3e43-b688-094822009ac7"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:22 GMT - ms-cv: - - DdsAGWD/yEKedIppE3Yavg.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 19ms - status: - code: 201 - message: Created -- request: - body: '{"validFrom": null, "validUntil": null}' - headers: - Accept: - - application/json - Content-Length: - - '39' - Content-Type: - - application/json - Repeatability-First-Sent: - - Sat, 22 Apr 2023 04:49:23 GMT - Repeatability-Request-ID: - - 0d208865-e0c9-11ed-a063-e45e37e24f59 - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:23 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview - response: - body: - string: '{"id":"99487631692076384","createdAt":"2023-04-22T04:49:22.9354138+00:00","validFrom":"2023-04-22T04:49:22.873838+00:00","validUntil":"2023-10-19T04:49:22.873838+00:00"}' - headers: - api-supported-versions: 2021-04-07, 2022-02-01, 2023-03-31-preview - connection: keep-alive - content-type: application/json; charset=utf-8 - date: Sat, 22 Apr 2023 04:49:23 GMT - ms-cv: +LQlwqUGd02FROO3846tFA.0 - repeatability-result: accepted - request-context: appId= - transfer-encoding: chunked - x-cache: CONFIG_NOCACHE - status: - code: 201 - message: Created - url: https://rooms-ppe-us.ppe.communication.azure.net/rooms?api-version=2023-03-31-preview -- request: - body: '' - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:23 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/rooms/99487631692076384?api-version=2023-03-31-preview - response: - body: - string: '' - headers: - api-supported-versions: 2021-04-07, 2022-02-01, 2023-03-31-preview - connection: keep-alive - date: Sat, 22 Apr 2023 04:49:23 GMT - ms-cv: PgfcNfvpUk2bFzF70eULYw.0 - request-context: appId= - x-cache: CONFIG_NOCACHE - status: - code: 204 - message: No Content - url: https://rooms-ppe-us.ppe.communication.azure.net/rooms/99487631692076384?api-version=2023-03-31-preview -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:24 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:49:23 GMT - ms-cv: - - Y/8iPUymPE6nB7BkN8uLzg.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 154ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:24 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:49:23 GMT - ms-cv: - - D4DH/Fj3U0eVw2VgFuchKg.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 124ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:24 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:49:24 GMT - ms-cv: - - ZaLBu21jGEapKLxmbTKzhg.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 127ms - status: - code: 204 - message: No Content -version: 1 diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_create_room_only_participants_async.yaml b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_create_room_only_participants_async.yaml deleted file mode 100644 index 8f446b1f8a5c..000000000000 --- a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_create_room_only_participants_async.yaml +++ /dev/null @@ -1,392 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:25 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-469c-f38d-09482200964a"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:24 GMT - ms-cv: - - 3wK9gP3l+U2Wo+TBrk7RtA.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 20ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:25 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-46f1-f38d-09482200964b"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:24 GMT - ms-cv: - - Cnv3XS63MEuAmQTBaiatiw.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 19ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:25 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-474a-f38d-09482200964c"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:24 GMT - ms-cv: - - m+WOiGRFHEWO2Ag4POFygg.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 20ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:25 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-47a3-f38d-09482200964d"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:24 GMT - ms-cv: - - UgGGIBJfD0W0ZTC8YysSag.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 21ms - status: - code: 201 - message: Created -- request: - body: '{"validFrom": null, "validUntil": null, "participants": {"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-469c-f38d-09482200964a": - {"role": "Presenter"}, "8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-474a-f38d-09482200964c": - {"role": "Attendee"}}}' - headers: - Accept: - - application/json - Content-Length: - - '268' - Content-Type: - - application/json - Repeatability-First-Sent: - - Sat, 22 Apr 2023 04:49:25 GMT - Repeatability-Request-ID: - - 0e8f87bd-e0c9-11ed-8d84-e45e37e24f59 - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:25 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview - response: - body: - string: '{"id":"9942311770131026","createdAt":"2023-04-22T04:49:25.4825265+00:00","validFrom":"2023-04-22T04:49:25.4235658+00:00","validUntil":"2023-10-19T04:49:25.4235658+00:00"}' - headers: - api-supported-versions: 2021-04-07, 2022-02-01, 2023-03-31-preview - content-type: application/json; charset=utf-8 - date: Sat, 22 Apr 2023 04:49:25 GMT - ms-cv: VE/TcDy2pUO93t7A74dvNQ.0 - repeatability-result: accepted - request-context: appId= - transfer-encoding: chunked - x-cache: CONFIG_NOCACHE - status: - code: 201 - message: Created - url: https://rooms-ppe-us.ppe.communication.azure.net/rooms?api-version=2023-03-31-preview -- request: - body: '' - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:26 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/rooms/9942311770131026?api-version=2023-03-31-preview - response: - body: - string: '' - headers: - api-supported-versions: 2021-04-07, 2022-02-01, 2023-03-31-preview - date: Sat, 22 Apr 2023 04:49:25 GMT - ms-cv: 5c/z7WilSU+8V0yeLn2ezw.0 - request-context: appId= - x-cache: CONFIG_NOCACHE - status: - code: 204 - message: No Content - url: https://rooms-ppe-us.ppe.communication.azure.net/rooms/9942311770131026?api-version=2023-03-31-preview -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:26 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:49:26 GMT - ms-cv: - - GrOVIkxu6UqNSAq0F1uiww.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 177ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:26 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:49:26 GMT - ms-cv: - - ShBDnjoXo0G3VGxNX/q7oQ.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 179ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:27 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:49:26 GMT - ms-cv: - - aAe2QNjHHE2AyCwJ4kyeyw.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 180ms - status: - code: 204 - message: No Content -version: 1 diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_create_room_validFrom_7Months_async.yaml b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_create_room_validFrom_7Months_async.yaml deleted file mode 100644 index dc5e77880bd5..000000000000 --- a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_create_room_validFrom_7Months_async.yaml +++ /dev/null @@ -1,366 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:27 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-510e-b688-094822009ac8"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:27 GMT - ms-cv: - - dayfkzvcNEauX8K6l2nlFQ.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 21ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:27 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-5162-b688-094822009ac9"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:27 GMT - ms-cv: - - 9Cdrz0fBu02pyLbjilTUZg.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 18ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:28 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-51b9-b688-094822009aca"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:27 GMT - ms-cv: - - Gtwv8TZ0PUq1/+VFO4zgZw.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 18ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:28 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-520a-b688-094822009acb"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:27 GMT - ms-cv: - - c5HOUHSYikyge7oLIULXUw.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 18ms - status: - code: 201 - message: Created -- request: - body: '{"validFrom": "2023-11-10T21:49:28.227026Z", "validUntil": null}' - headers: - Accept: - - application/json - Content-Length: - - '64' - Content-Type: - - application/json - Repeatability-First-Sent: - - Sat, 22 Apr 2023 04:49:28 GMT - Repeatability-Request-ID: - - 10252039-e0c9-11ed-aa27-e45e37e24f59 - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:28 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview - response: - body: - string: '{"error":{"code":"BadRequest","message":"The request could not be understood - by the server due to malformed syntax.","details":[{"code":"BadArgument","message":"Value - is incorrect or more than 180 days in the future.","target":"ValidFrom"}]}}' - headers: - connection: keep-alive - content-type: application/json; charset=utf-8 - date: Sat, 22 Apr 2023 04:49:27 GMT - ms-cv: 27kO0eS5KUm3ZjT8CyghjQ.0 - request-context: appId= - transfer-encoding: chunked - x-cache: CONFIG_NOCACHE - x-ms-error-code: BadRequest - status: - code: 400 - message: Bad Request - url: https://rooms-ppe-us.ppe.communication.azure.net/rooms?api-version=2023-03-31-preview -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:28 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:49:28 GMT - ms-cv: - - BZy2oZA4t0KDM/GK0Ov82A.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 156ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:28 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:49:28 GMT - ms-cv: - - SM4Tpcl40EOfM4JrP5IC4A.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 163ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:29 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:49:28 GMT - ms-cv: - - AzAo7eqJn0CMJwdHDILMIQ.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 153ms - status: - code: 204 - message: No Content -version: 1 diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_create_room_validUntil_7Months_async.yaml b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_create_room_validUntil_7Months_async.yaml deleted file mode 100644 index 655abd94a379..000000000000 --- a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_create_room_validUntil_7Months_async.yaml +++ /dev/null @@ -1,366 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:29 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-5887-f38d-09482200964e"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:29 GMT - ms-cv: - - pvnNBL67N0WN0VsQr6C4nQ.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 22ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:29 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-58da-f38d-09482200964f"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:29 GMT - ms-cv: - - Xa7RrZlav0+5Vsyqc1ko2g.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 19ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:29 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-5931-f38d-094822009650"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:29 GMT - ms-cv: - - fZXpJEO410yyYR87kPipVg.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 18ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:30 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-5978-f38d-094822009651"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:29 GMT - ms-cv: - - UCZ4nZYQYEaT9D/0xjf7Vg.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 18ms - status: - code: 201 - message: Created -- request: - body: '{"validFrom": "2023-04-24T21:49:30.116536Z", "validUntil": "2023-11-13T21:49:30.116536Z"}' - headers: - Accept: - - application/json - Content-Length: - - '89' - Content-Type: - - application/json - Repeatability-First-Sent: - - Sat, 22 Apr 2023 04:49:30 GMT - Repeatability-Request-ID: - - 11457138-e0c9-11ed-b6d6-e45e37e24f59 - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:30 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview - response: - body: - string: '{"error":{"code":"BadRequest","message":"The request could not be understood - by the server due to malformed syntax.","details":[{"code":"BadArgument","message":"The - time range is incorrect, or larger than 180 days.","target":"ValidUntil"}]}}' - headers: - connection: keep-alive - content-type: application/json; charset=utf-8 - date: Sat, 22 Apr 2023 04:49:29 GMT - ms-cv: te5TMmHYAE+ZVqIgbSb4Jg.0 - request-context: appId= - transfer-encoding: chunked - x-cache: CONFIG_NOCACHE - x-ms-error-code: BadRequest - status: - code: 400 - message: Bad Request - url: https://rooms-ppe-us.ppe.communication.azure.net/rooms?api-version=2023-03-31-preview -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:30 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:49:30 GMT - ms-cv: - - mdANs1t7X0m55CS4wfDaTQ.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 177ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:30 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:49:30 GMT - ms-cv: - - id8Cdxc1t0mBWjLCzSd/AQ.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 203ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:31 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:49:30 GMT - ms-cv: - - 8SRHlzCUdkeWvys+YCUUbw.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 184ms - status: - code: 204 - message: No Content -version: 1 diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_get_invalid_room_async.yaml b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_get_invalid_room_async.yaml deleted file mode 100644 index 4594eab223da..000000000000 --- a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_get_invalid_room_async.yaml +++ /dev/null @@ -1,436 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:31 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-5fc9-1788-09482200994b"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:30 GMT - ms-cv: - - hiGg/JYjhUGM3osGsyBLIQ.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 20ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:31 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-6016-1788-09482200994c"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:31 GMT - ms-cv: - - fq5yzdKk+Ua2Rd4K8MrnPA.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 20ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:31 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-605e-1788-09482200994d"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:31 GMT - ms-cv: - - X5GhG/OOn0Gr66asdxteOQ.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 18ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:31 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-60dc-1788-09482200994e"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:31 GMT - ms-cv: - - nI4LdWMWpkm1GfJN9+5+5A.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 20ms - status: - code: 201 - message: Created -- request: - body: '{"validFrom": null, "validUntil": null}' - headers: - Accept: - - application/json - Content-Length: - - '39' - Content-Type: - - application/json - Repeatability-First-Sent: - - Sat, 22 Apr 2023 04:49:32 GMT - Repeatability-Request-ID: - - 12688a1e-e0c9-11ed-b570-e45e37e24f59 - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:32 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview - response: - body: - string: '{"id":"9949991130219763","createdAt":"2023-04-22T04:49:31.6393628+00:00","validFrom":"2023-04-22T04:49:31.5815948+00:00","validUntil":"2023-10-19T04:49:31.5815948+00:00"}' - headers: - api-supported-versions: 2021-04-07, 2022-02-01, 2023-03-31-preview - connection: keep-alive - content-type: application/json; charset=utf-8 - date: Sat, 22 Apr 2023 04:49:31 GMT - ms-cv: NYw0dLHUXUGaeYdT3n0YRg.0 - repeatability-result: accepted - request-context: appId= - transfer-encoding: chunked - x-cache: CONFIG_NOCACHE - status: - code: 201 - message: Created - url: https://rooms-ppe-us.ppe.communication.azure.net/rooms?api-version=2023-03-31-preview -- request: - body: '' - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:32 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/rooms/9949991130219763?api-version=2023-03-31-preview - response: - body: - string: '' - headers: - api-supported-versions: 2021-04-07, 2022-02-01, 2023-03-31-preview - connection: keep-alive - date: Sat, 22 Apr 2023 04:49:32 GMT - ms-cv: XVKm1xaDvUCYrn1NWAZUig.0 - request-context: appId= - x-cache: CONFIG_NOCACHE - status: - code: 204 - message: No Content - url: https://rooms-ppe-us.ppe.communication.azure.net/rooms/9949991130219763?api-version=2023-03-31-preview -- request: - body: '' - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:32 GMT - x-ms-return-client-request-id: - - 'true' - method: GET - uri: https://sanitized.communication.azure.com/rooms/9949991130219763?api-version=2023-03-31-preview - response: - body: - string: '{"error":{"code":"NotFound","message":"The server cannot find the requested - resource."}}' - headers: - api-supported-versions: 2021-04-07, 2022-02-01, 2023-03-31-preview - connection: keep-alive - content-type: application/json; charset=utf-8 - date: Sat, 22 Apr 2023 04:49:32 GMT - ms-cv: 3FQTEgUaiEyUmv3bU/3HBQ.0 - request-context: appId= - transfer-encoding: chunked - x-cache: CONFIG_NOCACHE - x-ms-error-code: NotFound - status: - code: 404 - message: Not Found - url: https://rooms-ppe-us.ppe.communication.azure.net/rooms/9949991130219763?api-version=2023-03-31-preview -- request: - body: '' - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:33 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/rooms/9949991130219763?api-version=2023-03-31-preview - response: - body: - string: '' - headers: - api-supported-versions: 2021-04-07, 2022-02-01, 2023-03-31-preview - connection: keep-alive - date: Sat, 22 Apr 2023 04:49:32 GMT - ms-cv: N+fUVhXhp0WaWaO0sQtpLw.0 - request-context: appId= - x-cache: CONFIG_NOCACHE - status: - code: 204 - message: No Content - url: https://rooms-ppe-us.ppe.communication.azure.net/rooms/9949991130219763?api-version=2023-03-31-preview -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:33 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - date: - - Sat, 22 Apr 2023 04:49:32 GMT - ms-cv: - - 1dRsZNLJZE6H9THxAMNgUw.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 158ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:33 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - date: - - Sat, 22 Apr 2023 04:49:33 GMT - ms-cv: - - jwSQopXAwkWoL9mk2HaXeA.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 154ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:34 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - date: - - Sat, 22 Apr 2023 04:49:33 GMT - ms-cv: - - 24m6nukrL0CUm9q0Ccq7GA.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 127ms - status: - code: 204 - message: No Content -version: 1 diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_get_room_async.yaml b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_get_room_async.yaml deleted file mode 100644 index 5c9879ed8a85..000000000000 --- a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_get_room_async.yaml +++ /dev/null @@ -1,420 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:34 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-6b30-1788-094822009950"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:34 GMT - ms-cv: - - xwLhFDaEDEqJQ+/y+9z75g.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 21ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:34 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-6b79-1788-094822009951"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:34 GMT - ms-cv: - - XA347HxEMUSJ7Z14z1Texw.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 20ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:34 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-6bcf-1788-094822009952"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:34 GMT - ms-cv: - - SsQk8Q/iSUGjYFHtS31l9w.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 19ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:34 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-6c1e-1788-094822009953"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:34 GMT - ms-cv: - - e69ouEAAqkCAseNc1RLwYw.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 17ms - status: - code: 201 - message: Created -- request: - body: '{"validFrom": "2023-04-24T21:49:34.904419Z", "validUntil": "2023-05-08T21:49:34.904419Z", - "participants": {"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-6b30-1788-094822009950": - {"role": "Presenter"}}}' - headers: - Accept: - - application/json - Content-Length: - - '213' - Content-Type: - - application/json - Repeatability-First-Sent: - - Sat, 22 Apr 2023 04:49:34 GMT - Repeatability-Request-ID: - - 142003df-e0c9-11ed-a36a-e45e37e24f59 - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:34 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview - response: - body: - string: '{"id":"99442303275778569","createdAt":"2023-04-22T04:49:34.5458738+00:00","validFrom":"2023-04-24T21:49:34.904419+00:00","validUntil":"2023-05-08T21:49:34.904419+00:00"}' - headers: - api-supported-versions: 2021-04-07, 2022-02-01, 2023-03-31-preview - content-type: application/json; charset=utf-8 - date: Sat, 22 Apr 2023 04:49:34 GMT - ms-cv: 7X0nJ873CEWmBcFpBeyd+Q.0 - repeatability-result: accepted - request-context: appId= - transfer-encoding: chunked - x-cache: CONFIG_NOCACHE - status: - code: 201 - message: Created - url: https://rooms-ppe-us.ppe.communication.azure.net/rooms?api-version=2023-03-31-preview -- request: - body: '' - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:35 GMT - x-ms-return-client-request-id: - - 'true' - method: GET - uri: https://sanitized.communication.azure.com/rooms/99442303275778569?api-version=2023-03-31-preview - response: - body: - string: '{"id":"99442303275778569","createdAt":"2023-04-22T04:49:34.5458738+00:00","validFrom":"2023-04-24T21:49:34.904419+00:00","validUntil":"2023-05-08T21:49:34.904419+00:00"}' - headers: - api-supported-versions: 2021-04-07, 2022-02-01, 2023-03-31-preview - content-type: application/json; charset=utf-8 - date: Sat, 22 Apr 2023 04:49:34 GMT - ms-cv: Vc+DaN0VP0Ou8MW8j6Tinw.0 - request-context: appId= - transfer-encoding: chunked - x-cache: CONFIG_NOCACHE - status: - code: 200 - message: OK - url: https://rooms-ppe-us.ppe.communication.azure.net/rooms/99442303275778569?api-version=2023-03-31-preview -- request: - body: '' - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:35 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/rooms/99442303275778569?api-version=2023-03-31-preview - response: - body: - string: '' - headers: - api-supported-versions: 2021-04-07, 2022-02-01, 2023-03-31-preview - date: Sat, 22 Apr 2023 04:49:35 GMT - ms-cv: NHSnNOwDXUWIdd6N9HLKcQ.0 - request-context: appId= - x-cache: CONFIG_NOCACHE - status: - code: 204 - message: No Content - url: https://rooms-ppe-us.ppe.communication.azure.net/rooms/99442303275778569?api-version=2023-03-31-preview -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:36 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:49:35 GMT - ms-cv: - - 4B6iu8ekj0i1OEG+tCsseg.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 168ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:36 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:49:35 GMT - ms-cv: - - QC9gMlsACUuYMlDhkz5ohw.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 124ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:36 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:49:36 GMT - ms-cv: - - wSa2kF5Srk6DgyW/4CFD5Q.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 124ms - status: - code: 204 - message: No Content -version: 1 diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_remove_participant_async.yaml b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_remove_participant_async.yaml deleted file mode 100644 index 74e77a224e7b..000000000000 --- a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_remove_participant_async.yaml +++ /dev/null @@ -1,457 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:36 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-7522-f38d-094822009654"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:36 GMT - ms-cv: - - YItxHa4Y/EKeaXR+rTRLGQ.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 19ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:37 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-757c-f38d-094822009655"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:36 GMT - ms-cv: - - Z2DLSpHiFEuqzDpv2PcGWA.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 22ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:37 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-75c9-f38d-094822009656"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:36 GMT - ms-cv: - - uIecCiYWOEiq6SplliMDjA.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 23ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:37 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-761f-f38d-094822009657"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:36 GMT - ms-cv: - - XEKudZscYUKk6PFu9Ly4Ng.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 18ms - status: - code: 201 - message: Created -- request: - body: '{"validFrom": null, "validUntil": null, "participants": {"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-7522-f38d-094822009654": - {"role": "Presenter"}, "8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-75c9-f38d-094822009656": - {"role": "Attendee"}}}' - headers: - Accept: - - application/json - Content-Length: - - '268' - Content-Type: - - application/json - Repeatability-First-Sent: - - Sat, 22 Apr 2023 04:49:37 GMT - Repeatability-Request-ID: - - 15a4cd6f-e0c9-11ed-9f03-e45e37e24f59 - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:37 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview - response: - body: - string: '{"id":"99441158074980683","createdAt":"2023-04-22T04:49:37.202814+00:00","validFrom":"2023-04-22T04:49:37.1495347+00:00","validUntil":"2023-10-19T04:49:37.1495347+00:00"}' - headers: - api-supported-versions: 2021-04-07, 2022-02-01, 2023-03-31-preview - connection: keep-alive - content-type: application/json; charset=utf-8 - date: Sat, 22 Apr 2023 04:49:37 GMT - ms-cv: 6JLBmF/PoUiTAz+I+I1fFQ.0 - repeatability-result: accepted - request-context: appId= - transfer-encoding: chunked - x-cache: CONFIG_NOCACHE - status: - code: 201 - message: Created - url: https://rooms-ppe-us.ppe.communication.azure.net/rooms?api-version=2023-03-31-preview -- request: - body: '{"participants": {"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-7522-f38d-094822009654": - null}}' - headers: - Accept: - - application/json - Content-Length: - - '107' - Content-Type: - - application/merge-patch+json - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:37 GMT - x-ms-return-client-request-id: - - 'true' - method: PATCH - uri: https://sanitized.communication.azure.com/rooms/99441158074980683/participants?api-version=2023-03-31-preview - response: - body: - string: '{}' - headers: - api-supported-versions: 2022-02-01, 2023-03-31-preview - connection: keep-alive - content-type: application/json; charset=utf-8 - date: Sat, 22 Apr 2023 04:49:37 GMT - ms-cv: RcYiuDE3J0W0qJzN55BGJw.0 - request-context: appId= - transfer-encoding: chunked - x-cache: CONFIG_NOCACHE - status: - code: 200 - message: OK - url: https://rooms-ppe-us.ppe.communication.azure.net/rooms/99441158074980683/participants?api-version=2023-03-31-preview -- request: - body: '' - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:38 GMT - x-ms-return-client-request-id: - - 'true' - method: GET - uri: https://sanitized.communication.azure.com/rooms/99441158074980683/participants?api-version=2023-03-31-preview - response: - body: - string: '{"value":[{"rawId":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-75c9-f38d-094822009656","role":"Attendee"}]}' - headers: - api-supported-versions: 2022-02-01, 2023-03-31-preview - connection: keep-alive - content-type: application/json; charset=utf-8 - date: Sat, 22 Apr 2023 04:49:37 GMT - ms-cv: PUx/C9ha80a2Y7t2cEAhHw.0 - request-context: appId= - transfer-encoding: chunked - x-cache: CONFIG_NOCACHE - status: - code: 200 - message: OK - url: https://rooms-ppe-us.ppe.communication.azure.net/rooms/99441158074980683/participants?api-version=2023-03-31-preview -- request: - body: '' - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:38 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/rooms/99441158074980683?api-version=2023-03-31-preview - response: - body: - string: '' - headers: - api-supported-versions: 2021-04-07, 2022-02-01, 2023-03-31-preview - connection: keep-alive - date: Sat, 22 Apr 2023 04:49:38 GMT - ms-cv: 8ClzYkhWsE+D8iAu2UeRIA.0 - request-context: appId= - x-cache: CONFIG_NOCACHE - status: - code: 204 - message: No Content - url: https://rooms-ppe-us.ppe.communication.azure.net/rooms/99441158074980683?api-version=2023-03-31-preview -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:39 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:49:38 GMT - ms-cv: - - NJbjX4rBo0a0LUiwaynzgg.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 205ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:39 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:49:38 GMT - ms-cv: - - t55xXG8u/0mx9PnssMTm1A.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 176ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:39 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:49:39 GMT - ms-cv: - - i48bhVIaRE+jrJzw1hXXfg.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 177ms - status: - code: 204 - message: No Content -version: 1 diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_update_room_correct_timerange_async.yaml b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_update_room_correct_timerange_async.yaml deleted file mode 100644 index 343e0a3cdc40..000000000000 --- a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_update_room_correct_timerange_async.yaml +++ /dev/null @@ -1,408 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:40 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-8154-a381-0948220096d5"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:39 GMT - ms-cv: - - 8iFzbSi8mkiZk1K03BqP1w.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 22ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:40 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-81a8-a381-0948220096d6"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:39 GMT - ms-cv: - - 8+FOCwOxQECaQzo4zBJ8rA.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 19ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:40 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-81fa-a381-0948220096d8"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:39 GMT - ms-cv: - - Kwjwclu/x0W30HiGnGKt9Q.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 19ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:40 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-8250-a381-0948220096d9"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:39 GMT - ms-cv: - - jiKCUtYIcUC0QlYDCcYeBQ.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 21ms - status: - code: 201 - message: Created -- request: - body: '{"validFrom": null, "validUntil": null}' - headers: - Accept: - - application/json - Content-Length: - - '39' - Content-Type: - - application/json - Repeatability-First-Sent: - - Sat, 22 Apr 2023 04:49:40 GMT - Repeatability-Request-ID: - - 1780e373-e0c9-11ed-b8f0-e45e37e24f59 - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:40 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview - response: - body: - string: '{"id":"99453172152628726","createdAt":"2023-04-22T04:49:40.5006661+00:00","validFrom":"2023-04-22T04:49:40.4430062+00:00","validUntil":"2023-10-19T04:49:40.4430062+00:00"}' - headers: - api-supported-versions: 2021-04-07, 2022-02-01, 2023-03-31-preview - content-type: application/json; charset=utf-8 - date: Sat, 22 Apr 2023 04:49:40 GMT - ms-cv: hI0amI8Q20GTSE3wElv5vg.0 - repeatability-result: accepted - request-context: appId= - transfer-encoding: chunked - x-cache: CONFIG_NOCACHE - status: - code: 201 - message: Created - url: https://rooms-ppe-us.ppe.communication.azure.net/rooms?api-version=2023-03-31-preview -- request: - body: '{"validFrom": "2023-04-24T21:49:41.399422Z", "validUntil": "2023-05-19T21:49:41.399422Z"}' - headers: - Accept: - - application/json - Content-Length: - - '89' - Content-Type: - - application/merge-patch+json - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:41 GMT - x-ms-return-client-request-id: - - 'true' - method: PATCH - uri: https://sanitized.communication.azure.com/rooms/99453172152628726?api-version=2023-03-31-preview - response: - body: - string: '{"id":"99453172152628726","createdAt":"2023-04-22T04:49:40.5006661+00:00","validFrom":"2023-04-24T21:49:41.399422+00:00","validUntil":"2023-05-19T21:49:41.399422+00:00"}' - headers: - api-supported-versions: 2021-04-07, 2022-02-01, 2023-03-31-preview - content-type: application/json; charset=utf-8 - date: Sat, 22 Apr 2023 04:49:40 GMT - ms-cv: CLZfLPBzdk6GFqLe79fMrg.0 - request-context: appId= - transfer-encoding: chunked - x-cache: CONFIG_NOCACHE - status: - code: 200 - message: OK - url: https://rooms-ppe-us.ppe.communication.azure.net/rooms/99453172152628726?api-version=2023-03-31-preview -- request: - body: '' - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:41 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/rooms/99453172152628726?api-version=2023-03-31-preview - response: - body: - string: '' - headers: - api-supported-versions: 2021-04-07, 2022-02-01, 2023-03-31-preview - date: Sat, 22 Apr 2023 04:49:41 GMT - ms-cv: j+SJ5U9UXEG67ugnFSmmDA.0 - request-context: appId= - x-cache: CONFIG_NOCACHE - status: - code: 204 - message: No Content - url: https://rooms-ppe-us.ppe.communication.azure.net/rooms/99453172152628726?api-version=2023-03-31-preview -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:42 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - date: - - Sat, 22 Apr 2023 04:49:41 GMT - ms-cv: - - BmcfaukGaEWRh9CCXOM/5w.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 129ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:42 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - date: - - Sat, 22 Apr 2023 04:49:41 GMT - ms-cv: - - 9cRSnwHqEEKqnzmhyGaorA.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 132ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:42 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - date: - - Sat, 22 Apr 2023 04:49:41 GMT - ms-cv: - - HK7b5khDZEuzgce+q5nxwA.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 128ms - status: - code: 204 - message: No Content -version: 1 diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_update_room_deleted_room_async.yaml b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_update_room_deleted_room_async.yaml deleted file mode 100644 index 59f77e1a811f..000000000000 --- a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_update_room_deleted_room_async.yaml +++ /dev/null @@ -1,413 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:42 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-8c4e-a381-0948220096db"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:42 GMT - ms-cv: - - YxGVOomQo0+uGl5NtdEMtg.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 19ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:43 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-8ca0-a381-0948220096dc"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:42 GMT - ms-cv: - - TJZH66i8EU+JjwP40DN1ZA.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 19ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:43 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-8cf1-a381-0948220096dd"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:42 GMT - ms-cv: - - JZqcI/JUo0SHIUEFQ0RPnA.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 19ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:43 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-8d48-a381-0948220096de"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:42 GMT - ms-cv: - - UJ9RjaV8mUWU4/vUgf3EUQ.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 22ms - status: - code: 201 - message: Created -- request: - body: '{"validFrom": null, "validUntil": null}' - headers: - Accept: - - application/json - Content-Length: - - '39' - Content-Type: - - application/json - Repeatability-First-Sent: - - Sat, 22 Apr 2023 04:49:43 GMT - Repeatability-Request-ID: - - 192dc665-e0c9-11ed-898c-e45e37e24f59 - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:43 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview - response: - body: - string: '{"id":"99410585260136323","createdAt":"2023-04-22T04:49:43.2978114+00:00","validFrom":"2023-04-22T04:49:43.2481522+00:00","validUntil":"2023-10-19T04:49:43.2481522+00:00"}' - headers: - api-supported-versions: 2021-04-07, 2022-02-01, 2023-03-31-preview - connection: keep-alive - content-type: application/json; charset=utf-8 - date: Sat, 22 Apr 2023 04:49:43 GMT - ms-cv: OIKNrX4lqE6jc/caLPgOjw.0 - repeatability-result: accepted - request-context: appId= - transfer-encoding: chunked - x-cache: CONFIG_NOCACHE - status: - code: 201 - message: Created - url: https://rooms-ppe-us.ppe.communication.azure.net/rooms?api-version=2023-03-31-preview -- request: - body: '' - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:44 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/rooms/99410585260136323?api-version=2023-03-31-preview - response: - body: - string: '' - headers: - api-supported-versions: 2021-04-07, 2022-02-01, 2023-03-31-preview - connection: keep-alive - date: Sat, 22 Apr 2023 04:49:43 GMT - ms-cv: avqscL4JSkG/qF3R8zAZWA.0 - request-context: appId= - x-cache: CONFIG_NOCACHE - status: - code: 204 - message: No Content - url: https://rooms-ppe-us.ppe.communication.azure.net/rooms/99410585260136323?api-version=2023-03-31-preview -- request: - body: '{"validFrom": "2023-04-24T21:49:44.340182Z", "validUntil": "2023-04-28T21:49:44.340182Z"}' - headers: - Accept: - - application/json - Content-Length: - - '89' - Content-Type: - - application/merge-patch+json - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:44 GMT - x-ms-return-client-request-id: - - 'true' - method: PATCH - uri: https://sanitized.communication.azure.com/rooms/99410585260136323?api-version=2023-03-31-preview - response: - body: - string: '{"error":{"code":"NotFound","message":"The server cannot find the requested - resource."}}' - headers: - api-supported-versions: 2021-04-07, 2022-02-01, 2023-03-31-preview - connection: keep-alive - content-type: application/json; charset=utf-8 - date: Sat, 22 Apr 2023 04:49:43 GMT - ms-cv: kSW2kJWN6Ue8xApNZtLEYw.0 - request-context: appId= - transfer-encoding: chunked - x-cache: CONFIG_NOCACHE - x-ms-error-code: NotFound - status: - code: 404 - message: Not Found - url: https://rooms-ppe-us.ppe.communication.azure.net/rooms/99410585260136323?api-version=2023-03-31-preview -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:44 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - date: - - Sat, 22 Apr 2023 04:49:43 GMT - ms-cv: - - AVdX01EidEer16+yJ0odrw.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 161ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:44 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - date: - - Sat, 22 Apr 2023 04:49:44 GMT - ms-cv: - - ct28dAXkc0iVc0Uj6QILYA.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 125ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:45 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - date: - - Sat, 22 Apr 2023 04:49:44 GMT - ms-cv: - - 4/AmFZBB2U65S+460Aauwg.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 196ms - status: - code: 204 - message: No Content -version: 1 diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_update_room_exceed_max_timerange_async.yaml b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_update_room_exceed_max_timerange_async.yaml deleted file mode 100644 index 5d7d5a7a9eaa..000000000000 --- a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_update_room_exceed_max_timerange_async.yaml +++ /dev/null @@ -1,398 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:45 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-969f-1985-0948220094a7"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:45 GMT - ms-cv: - - VmdPN74oTUu67fjowY+g0Q.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 18ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:45 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-96f2-1985-0948220094a8"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:45 GMT - ms-cv: - - CLdCUbtLsUuW5dQzlKsa8w.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 25ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:45 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-9748-1985-0948220094a9"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:45 GMT - ms-cv: - - Tj2b2yFAz0K43kDIcC+0rw.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 19ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:45 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-9797-1985-0948220094aa"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:45 GMT - ms-cv: - - VwcMsMv1/EKm8PL3wZCqOw.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 25ms - status: - code: 201 - message: Created -- request: - body: '{"validFrom": null, "validUntil": null}' - headers: - Accept: - - application/json - Content-Length: - - '39' - Content-Type: - - application/json - Repeatability-First-Sent: - - Sat, 22 Apr 2023 04:49:46 GMT - Repeatability-Request-ID: - - 1ac10bb1-e0c9-11ed-91c0-e45e37e24f59 - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:46 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview - response: - body: - string: '{"id":"99451350704626802","createdAt":"2023-04-22T04:49:45.8918081+00:00","validFrom":"2023-04-22T04:49:45.8347046+00:00","validUntil":"2023-10-19T04:49:45.8347046+00:00"}' - headers: - api-supported-versions: 2021-04-07, 2022-02-01, 2023-03-31-preview - content-type: application/json; charset=utf-8 - date: Sat, 22 Apr 2023 04:49:45 GMT - ms-cv: TzqYM+B4VUSbOELri5cv5g.0 - repeatability-result: accepted - request-context: appId= - transfer-encoding: chunked - x-cache: CONFIG_NOCACHE - status: - code: 201 - message: Created - url: https://rooms-ppe-us.ppe.communication.azure.net/rooms?api-version=2023-03-31-preview -- request: - body: '{"validFrom": "2023-04-24T21:49:46.735359Z", "validUntil": "2023-11-10T21:49:46.735359Z"}' - headers: - Accept: - - application/json - Content-Length: - - '89' - Content-Type: - - application/merge-patch+json - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:46 GMT - x-ms-return-client-request-id: - - 'true' - method: PATCH - uri: https://sanitized.communication.azure.com/rooms/99451350704626802?api-version=2023-03-31-preview - response: - body: - string: '{"error":{"code":"BadRequest","message":"The request could not be understood - by the server due to malformed syntax.","details":[{"code":"BadArgument","message":"The - time range is incorrect, or larger than 180 days.","target":"ValidUntil"}]}}' - headers: - content-type: application/json; charset=utf-8 - date: Sat, 22 Apr 2023 04:49:45 GMT - ms-cv: ruxLDEA6RECi9mHnMNej8g.0 - request-context: appId= - transfer-encoding: chunked - x-cache: CONFIG_NOCACHE - x-ms-error-code: BadRequest - status: - code: 400 - message: Bad Request - url: https://rooms-ppe-us.ppe.communication.azure.net/rooms/99451350704626802?api-version=2023-03-31-preview -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:46 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:49:46 GMT - ms-cv: - - eLwwVF1YTEmqyQDUYdte/w.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 156ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:47 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:49:46 GMT - ms-cv: - - RxEW+6Q8q0K2BvGVkoQgkw.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 125ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:47 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:49:47 GMT - ms-cv: - - kMbBDtDW5EuT9u0yHRRMLw.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 127ms - status: - code: 204 - message: No Content -version: 1 diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_update_room_incorrect_roomId_async.yaml b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_update_room_incorrect_roomId_async.yaml deleted file mode 100644 index 7e890640bb9c..000000000000 --- a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_async_e2e.test_update_room_incorrect_roomId_async.yaml +++ /dev/null @@ -1,361 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:47 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-9f71-1788-094822009958"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:47 GMT - ms-cv: - - 2Nt7ISu0pEWovRLLo0x+xA.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 19ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:48 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-9fbf-1788-094822009959"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:47 GMT - ms-cv: - - 4QR8H+WboESA6BQlCacuww.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 19ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:48 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-a012-1788-09482200995a"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:47 GMT - ms-cv: - - wsnfEcRi/0+v6SiFgeiyhA.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 17ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:48 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-a066-1788-09482200995b"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:47 GMT - ms-cv: - - 81aTXnjLRkWqBJDymnP8Jw.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 24ms - status: - code: 201 - message: Created -- request: - body: '{"validFrom": "2023-04-24T21:49:48.287116Z", "validUntil": "2023-04-28T21:49:48.287116Z"}' - headers: - Accept: - - application/json - Content-Length: - - '89' - Content-Type: - - application/merge-patch+json - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:48 GMT - x-ms-return-client-request-id: - - 'true' - method: PATCH - uri: https://sanitized.communication.azure.com/rooms/78469124725336262?api-version=2023-03-31-preview - response: - body: - string: '{"error":{"code":"NotFound","message":"The server cannot find the requested - resource."}}' - headers: - api-supported-versions: 2021-04-07, 2022-02-01, 2023-03-31-preview - content-type: application/json; charset=utf-8 - date: Sat, 22 Apr 2023 04:49:47 GMT - ms-cv: gRGwj1Oq8UqN/l8H5scZgA.0 - request-context: appId= - transfer-encoding: chunked - x-cache: CONFIG_NOCACHE - x-ms-error-code: NotFound - status: - code: 404 - message: Not Found - url: https://rooms-ppe-us.ppe.communication.azure.net/rooms/78469124725336262?api-version=2023-03-31-preview -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:48 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:49:48 GMT - ms-cv: - - ExPCJQ/UMUKmpgICmvmjsQ.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 126ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:49 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:49:48 GMT - ms-cv: - - 3VgnZeWrd0aMpCHTvkNjwg.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 161ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:49 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:49:48 GMT - ms-cv: - - BdzdF47J60OghFG7TgwYmA.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 129ms - status: - code: 204 - message: No Content -version: 1 diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_add_or_update_participants.yaml b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_add_or_update_participants.yaml deleted file mode 100644 index 4cc7ff6b70f7..000000000000 --- a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_add_or_update_participants.yaml +++ /dev/null @@ -1,481 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:49 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-a6b0-f38d-094822009661"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:48 GMT - ms-cv: - - hNyGMlwP/EGhlfnXOtrJYg.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 17ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:49 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-a707-f38d-094822009662"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:48 GMT - ms-cv: - - MT3UD7GceESy+LSvEDOEpQ.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 18ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:49 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-a759-f38d-094822009663"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:48 GMT - ms-cv: - - py9qpdBbFke4F6ftyNejmA.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 19ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:50 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-a7ab-f38d-094822009665"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:49 GMT - ms-cv: - - SpoLbrQ2YkuDj0syz/0vyw.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 18ms - status: - code: 201 - message: Created -- request: - body: '{"validFrom": null, "validUntil": null, "participants": {"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-a6b0-f38d-094822009661": - {"role": "Presenter"}, "8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-a759-f38d-094822009663": - {"role": "Attendee"}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '268' - Content-Type: - - application/json - Repeatability-First-Sent: - - Sat, 22 Apr 2023 04:49:50 GMT - Repeatability-Request-ID: - - 1d346426-e0c9-11ed-b932-e45e37e24f59 - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:50 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview - response: - body: - string: '{"id":"99480016121527168","createdAt":"2023-04-22T04:49:49.8453656+00:00","validFrom":"2023-04-22T04:49:49.7829121+00:00","validUntil":"2023-10-19T04:49:49.7829121+00:00"}' - headers: - api-supported-versions: - - 2021-04-07, 2022-02-01, 2023-03-31-preview - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:48 GMT - ms-cv: - - LNlrRmy7kUmdsWeX3Upt1w.0 - repeatability-result: - - accepted - request-context: - - appId= - transfer-encoding: - - chunked - x-cache: - - CONFIG_NOCACHE - status: - code: 201 - message: Created -- request: - body: '{"participants": {"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-a6b0-f38d-094822009661": - {"role": "Consumer"}, "8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-a707-f38d-094822009662": - {"role": "Consumer"}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '228' - Content-Type: - - application/merge-patch+json - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:50 GMT - x-ms-return-client-request-id: - - 'true' - method: PATCH - uri: https://sanitized.communication.azure.com/rooms/99480016121527168/participants?api-version=2023-03-31-preview - response: - body: - string: '{}' - headers: - api-supported-versions: - - 2022-02-01, 2023-03-31-preview - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:49 GMT - ms-cv: - - k3zqx5Vhukm0QGEttr7g1Q.0 - request-context: - - appId= - transfer-encoding: - - chunked - x-cache: - - CONFIG_NOCACHE - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:51 GMT - x-ms-return-client-request-id: - - 'true' - method: GET - uri: https://sanitized.communication.azure.com/rooms/99480016121527168/participants?api-version=2023-03-31-preview - response: - body: - string: '{"value":[{"rawId":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-a6b0-f38d-094822009661","role":"Consumer"},{"rawId":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-a759-f38d-094822009663","role":"Attendee"},{"rawId":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-a707-f38d-094822009662","role":"Consumer"}]}' - headers: - api-supported-versions: - - 2022-02-01, 2023-03-31-preview - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:49:50 GMT - ms-cv: - - IwjE+YWpBEi30oUY/KiP4Q.0 - request-context: - - appId= - transfer-encoding: - - chunked - x-cache: - - CONFIG_NOCACHE - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:51 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/rooms/99480016121527168?api-version=2023-03-31-preview - response: - body: - string: '' - headers: - api-supported-versions: - - 2021-04-07, 2022-02-01, 2023-03-31-preview - date: - - Sat, 22 Apr 2023 04:49:50 GMT - ms-cv: - - RE9WZ5gHEEWUUcdFXCjzkw.0 - request-context: - - appId= - x-cache: - - CONFIG_NOCACHE - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:52 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - date: - - Sat, 22 Apr 2023 04:49:58 GMT - ms-cv: - - 6DOQHw2lck2WeFN4RNiAlA.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 7453ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:49:59 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - date: - - Sat, 22 Apr 2023 04:49:59 GMT - ms-cv: - - cCWTdLLW0EWr/v+dffusrw.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 205ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:00 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - date: - - Sat, 22 Apr 2023 04:49:59 GMT - ms-cv: - - tAq36+WmW0qa/QgwFS5K4Q.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 207ms - status: - code: 204 - message: No Content -version: 1 diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_add_or_update_participants_incorrectMri.yaml b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_add_or_update_participants_incorrectMri.yaml deleted file mode 100644 index 76d4923891c3..000000000000 --- a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_add_or_update_participants_incorrectMri.yaml +++ /dev/null @@ -1,420 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:00 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-d15d-1788-09482200995d"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:00 GMT - ms-cv: - - OOwliTy98UupXU0sJklvjw.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 20ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:00 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-d1ae-1788-09482200995e"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:00 GMT - ms-cv: - - Qhb5V5UaUkGIOEFG182NGw.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 19ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:00 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-d200-1788-09482200995f"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:00 GMT - ms-cv: - - g7a//F3Zf0Slsg9zckncsw.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 19ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:00 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-d251-1788-094822009960"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:00 GMT - ms-cv: - - I0yAJrXWYUm+bKBkVvI15g.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 18ms - status: - code: 201 - message: Created -- request: - body: '{"validFrom": null, "validUntil": null}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '39' - Content-Type: - - application/json - Repeatability-First-Sent: - - Sat, 22 Apr 2023 04:50:01 GMT - Repeatability-Request-ID: - - 23b832d2-e0c9-11ed-b863-e45e37e24f59 - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:01 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview - response: - body: - string: '{"id":"99487728218940880","createdAt":"2023-04-22T04:50:01.0345079+00:00","validFrom":"2023-04-22T04:50:00.9851148+00:00","validUntil":"2023-10-19T04:50:00.9851148+00:00"}' - headers: - api-supported-versions: - - 2021-04-07, 2022-02-01, 2023-03-31-preview - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:00 GMT - ms-cv: - - Kl9gUzhS4U+7F/CRW9Jp7w.0 - repeatability-result: - - accepted - request-context: - - appId= - transfer-encoding: - - chunked - x-cache: - - CONFIG_NOCACHE - status: - code: 201 - message: Created -- request: - body: '{"participants": {"wrong_mri": {"role": "Attendee"}, "8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-d15d-1788-09482200995d": - {"role": "Presenter"}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '159' - Content-Type: - - application/merge-patch+json - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:01 GMT - x-ms-return-client-request-id: - - 'true' - method: PATCH - uri: https://sanitized.communication.azure.com/rooms/99487728218940880/participants?api-version=2023-03-31-preview - response: - body: - string: '{"error":{"code":"BadRequest","message":"Invalid value for the Participants."}}' - headers: - api-supported-versions: - - 2022-02-01, 2023-03-31-preview - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:01 GMT - ms-cv: - - 8v/zSb7HtUe+bbdyxJl3ew.0 - request-context: - - appId= - transfer-encoding: - - chunked - x-cache: - - CONFIG_NOCACHE - x-ms-error-code: - - BadRequest - status: - code: 400 - message: Bad Request -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:02 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:50:01 GMT - ms-cv: - - H8niS6M1DkahBg7rFG4mnw.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 129ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:02 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:50:01 GMT - ms-cv: - - C+/3v6reFkGXab5hKeiULA.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 154ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:02 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:50:02 GMT - ms-cv: - - c/7ClBGcDEe6C2yhbAHvoQ.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 161ms - status: - code: 204 - message: No Content -version: 1 diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_add_or_update_participants_with_null_role.yaml b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_add_or_update_participants_with_null_role.yaml deleted file mode 100644 index 9ca01c74a565..000000000000 --- a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_add_or_update_participants_with_null_role.yaml +++ /dev/null @@ -1,546 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:03 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-db07-1788-094822009963"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:02 GMT - ms-cv: - - aGO2IEO3bkuUuDh5ojkwXA.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 18ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:03 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-db57-1788-094822009964"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:02 GMT - ms-cv: - - T90QGGmSX0GC8dtfUVXvUg.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 21ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:03 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-dba9-1788-094822009965"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:02 GMT - ms-cv: - - Z7Wk+ozvdkaOvOI8/GNo1w.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 19ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:03 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-dbfa-1788-094822009966"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:02 GMT - ms-cv: - - kps3VSuFwkOoQU42FIaChg.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 20ms - status: - code: 201 - message: Created -- request: - body: '{"validFrom": null, "validUntil": null, "participants": {"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-db07-1788-094822009963": - {"role": "Attendee"}, "8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-db57-1788-094822009964": - {"role": "Attendee"}, "8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-dba9-1788-094822009965": - {"role": "Presenter"}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '373' - Content-Type: - - application/json - Repeatability-First-Sent: - - Sat, 22 Apr 2023 04:50:03 GMT - Repeatability-Request-ID: - - 25312677-e0c9-11ed-81f1-e45e37e24f59 - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:03 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview - response: - body: - string: '{"id":"99448199834624843","createdAt":"2023-04-22T04:50:03.3640956+00:00","validFrom":"2023-04-22T04:50:03.3059635+00:00","validUntil":"2023-10-19T04:50:03.3059635+00:00"}' - headers: - api-supported-versions: - - 2021-04-07, 2022-02-01, 2023-03-31-preview - connection: - - keep-alive - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:03 GMT - ms-cv: - - Vr1FoLlT502rj6iZl71L4g.0 - repeatability-result: - - accepted - request-context: - - appId= - transfer-encoding: - - chunked - x-cache: - - CONFIG_NOCACHE - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:04 GMT - x-ms-return-client-request-id: - - 'true' - method: GET - uri: https://sanitized.communication.azure.com/rooms/99448199834624843/participants?api-version=2023-03-31-preview - response: - body: - string: '{"value":[{"rawId":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-db07-1788-094822009963","role":"Attendee"},{"rawId":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-db57-1788-094822009964","role":"Attendee"},{"rawId":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-dba9-1788-094822009965","role":"Presenter"}]}' - headers: - api-supported-versions: - - 2022-02-01, 2023-03-31-preview - connection: - - keep-alive - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:03 GMT - ms-cv: - - VW0yGR7NqkC1Ne7yD1ocxw.0 - request-context: - - appId= - transfer-encoding: - - chunked - x-cache: - - CONFIG_NOCACHE - status: - code: 200 - message: OK -- request: - body: '{"participants": {"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-db07-1788-094822009963": - {"role": "Attendee"}, "8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-db57-1788-094822009964": - {"role": "Consumer"}, "8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-dba9-1788-094822009965": - {"role": "Attendee"}, "8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-dbfa-1788-094822009966": - {"role": "Attendee"}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '438' - Content-Type: - - application/merge-patch+json - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:04 GMT - x-ms-return-client-request-id: - - 'true' - method: PATCH - uri: https://sanitized.communication.azure.com/rooms/99448199834624843/participants?api-version=2023-03-31-preview - response: - body: - string: '{}' - headers: - api-supported-versions: - - 2022-02-01, 2023-03-31-preview - connection: - - keep-alive - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:04 GMT - ms-cv: - - KYAn4aKE6U+w3yFwHlXYHg.0 - request-context: - - appId= - transfer-encoding: - - chunked - x-cache: - - CONFIG_NOCACHE - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:04 GMT - x-ms-return-client-request-id: - - 'true' - method: GET - uri: https://sanitized.communication.azure.com/rooms/99448199834624843/participants?api-version=2023-03-31-preview - response: - body: - string: '{"value":[{"rawId":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-db07-1788-094822009963","role":"Attendee"},{"rawId":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-db57-1788-094822009964","role":"Consumer"},{"rawId":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-dba9-1788-094822009965","role":"Attendee"},{"rawId":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-dbfa-1788-094822009966","role":"Attendee"}]}' - headers: - api-supported-versions: - - 2022-02-01, 2023-03-31-preview - connection: - - keep-alive - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:04 GMT - ms-cv: - - WDEUf3O1BESyiUbE8hQiig.0 - request-context: - - appId= - transfer-encoding: - - chunked - x-cache: - - CONFIG_NOCACHE - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:05 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/rooms/99448199834624843?api-version=2023-03-31-preview - response: - body: - string: '' - headers: - api-supported-versions: - - 2021-04-07, 2022-02-01, 2023-03-31-preview - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:50:04 GMT - ms-cv: - - UohPzXlQAEuK+rmTCEO+sw.0 - request-context: - - appId= - x-cache: - - CONFIG_NOCACHE - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:05 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:50:04 GMT - ms-cv: - - MRLEsFMaBUOHaDz0G4ULcg.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 155ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:05 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:50:05 GMT - ms-cv: - - xOzPN97lOEuvzJSfLAogPg.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 362ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:06 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:50:05 GMT - ms-cv: - - lgFbZrGsTkm++rALLhvZ6Q.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 155ms - status: - code: 204 - message: No Content -version: 1 diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_create_room_all_attributes.yaml b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_create_room_all_attributes.yaml deleted file mode 100644 index c4f64e4c6ac4..000000000000 --- a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_create_room_all_attributes.yaml +++ /dev/null @@ -1,417 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:06 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-e8ce-a381-0948220096e6"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:06 GMT - ms-cv: - - gevvU5g4MUKbnc/EHGpMvQ.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 19ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:06 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-e91e-a381-0948220096e7"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:06 GMT - ms-cv: - - FJswEbEXg0G6KmyfOcQ0AA.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 18ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:06 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-e975-a381-0948220096e8"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:06 GMT - ms-cv: - - r0QrPfkpLkWSYnaFYKXLMA.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 18ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:06 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-e9d2-a381-0948220096e9"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:06 GMT - ms-cv: - - qyF+OFoJVE+50lwdlq0PHw.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 20ms - status: - code: 201 - message: Created -- request: - body: '{"validFrom": "2023-04-24T21:50:07.071952Z", "validUntil": "2023-05-22T21:50:07.071952Z", - "participants": {"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-e8ce-a381-0948220096e6": - {"role": "Presenter"}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '213' - Content-Type: - - application/json - Repeatability-First-Sent: - - Sat, 22 Apr 2023 04:50:07 GMT - Repeatability-Request-ID: - - 274c6428-e0c9-11ed-8bf5-e45e37e24f59 - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:07 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview - response: - body: - string: '{"id":"99499383808612527","createdAt":"2023-04-22T04:50:07.0987501+00:00","validFrom":"2023-04-24T21:50:07.071952+00:00","validUntil":"2023-05-22T21:50:07.071952+00:00"}' - headers: - api-supported-versions: - - 2021-04-07, 2022-02-01, 2023-03-31-preview - connection: - - keep-alive - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:07 GMT - ms-cv: - - KCTrG95AaEmgRpTWvb9r8A.0 - repeatability-result: - - accepted - request-context: - - appId= - transfer-encoding: - - chunked - x-cache: - - CONFIG_NOCACHE - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:08 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/rooms/99499383808612527?api-version=2023-03-31-preview - response: - body: - string: '' - headers: - api-supported-versions: - - 2021-04-07, 2022-02-01, 2023-03-31-preview - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:50:07 GMT - ms-cv: - - l7NME1BYtkWRHv4QXMjWnQ.0 - request-context: - - appId= - x-cache: - - CONFIG_NOCACHE - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:08 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:50:08 GMT - ms-cv: - - 7ipvKLROq0a35vVJQj3Qsg.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 127ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:08 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:50:08 GMT - ms-cv: - - mB870ZdlHU2oCGNxYcohow.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 155ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:09 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:50:08 GMT - ms-cv: - - UA0vASRc8kytm04EHATeyA.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 166ms - status: - code: 204 - message: No Content -version: 1 diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_create_room_correct_timerange.yaml b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_create_room_correct_timerange.yaml deleted file mode 100644 index f6eac737ab2c..000000000000 --- a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_create_room_correct_timerange.yaml +++ /dev/null @@ -1,397 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:09 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-f3ee-a381-0948220096ed"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:08 GMT - ms-cv: - - iyw0SELjsEWxenWuwD3+Tw.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 18ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:09 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-f43f-a381-0948220096ef"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:08 GMT - ms-cv: - - z7e0SCjcx0ydrKvzxJG0PQ.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 18ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:09 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-f492-a381-0948220096f0"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:08 GMT - ms-cv: - - 7vHs8Eq030WEIW1OdJxrWg.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 19ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:09 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-f4e4-a381-0948220096f1"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:08 GMT - ms-cv: - - C20weMptPU295e+D++ckbw.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 18ms - status: - code: 201 - message: Created -- request: - body: '{"validFrom": "2023-04-24T21:50:09.905392Z", "validUntil": "2023-05-22T21:50:09.905392Z"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '89' - Content-Type: - - application/json - Repeatability-First-Sent: - - Sat, 22 Apr 2023 04:50:09 GMT - Repeatability-Request-ID: - - 28fcbd66-e0c9-11ed-8555-e45e37e24f59 - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:09 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview - response: - body: - string: '{"id":"99416989793118541","createdAt":"2023-04-22T04:50:09.5993951+00:00","validFrom":"2023-04-24T21:50:09.905392+00:00","validUntil":"2023-05-22T21:50:09.905392+00:00"}' - headers: - api-supported-versions: - - 2021-04-07, 2022-02-01, 2023-03-31-preview - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:09 GMT - ms-cv: - - 9N7O21wSo0GclUNaxFpoNA.0 - repeatability-result: - - accepted - request-context: - - appId= - transfer-encoding: - - chunked - x-cache: - - CONFIG_NOCACHE - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:10 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/rooms/99416989793118541?api-version=2023-03-31-preview - response: - body: - string: '' - headers: - api-supported-versions: - - 2021-04-07, 2022-02-01, 2023-03-31-preview - date: - - Sat, 22 Apr 2023 04:50:09 GMT - ms-cv: - - miaajsdk00yFTDNQQalkWA.0 - request-context: - - appId= - x-cache: - - CONFIG_NOCACHE - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:10 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - date: - - Sat, 22 Apr 2023 04:50:09 GMT - ms-cv: - - 8RjESW5Rdk6oo+qs+CY+yg.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 130ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:10 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - date: - - Sat, 22 Apr 2023 04:50:10 GMT - ms-cv: - - g4e4ZQhbwkixO3S43Pa0tw.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 154ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:11 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - date: - - Sat, 22 Apr 2023 04:50:10 GMT - ms-cv: - - 3ZRIoqaviEqZ3eWclpiVBg.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 155ms - status: - code: 204 - message: No Content -version: 1 diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_create_room_incorrectMri.yaml b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_create_room_incorrectMri.yaml deleted file mode 100644 index 80e34ebb7cc0..000000000000 --- a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_create_room_incorrectMri.yaml +++ /dev/null @@ -1,378 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:11 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-fc97-1985-0948220094b6"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:11 GMT - ms-cv: - - 8WaeJZLdX06FmHTcYBtlLQ.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 19ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:11 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-fcee-1985-0948220094b7"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:11 GMT - ms-cv: - - +qH1V9y1OEWEO36nLX50hQ.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 21ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:11 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-fd44-1985-0948220094b8"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:11 GMT - ms-cv: - - 7EwYu8ViQESxhVSHvstcxA.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 19ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:12 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-fd8e-1985-0948220094b9"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:11 GMT - ms-cv: - - iXyn1702i0SUXdUIg/YIGQ.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 18ms - status: - code: 201 - message: Created -- request: - body: '{"validFrom": null, "validUntil": null, "participants": {"wrong_mri": {"role": - "Attendee"}, "8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472d-fc97-1985-0948220094b6": - {"role": "Presenter"}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '198' - Content-Type: - - application/json - Repeatability-First-Sent: - - Sat, 22 Apr 2023 04:50:12 GMT - Repeatability-Request-ID: - - 2a4ed92c-e0c9-11ed-97a9-e45e37e24f59 - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:12 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview - response: - body: - string: '{"error":{"code":"BadRequest","message":"Invalid format for communication - identifier."}}' - headers: - api-supported-versions: - - 2021-04-07, 2022-02-01, 2023-03-31-preview - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:11 GMT - ms-cv: - - oVjPZ7OFBUiEdlyaRdupAQ.0 - request-context: - - appId= - transfer-encoding: - - chunked - x-cache: - - CONFIG_NOCACHE - x-ms-error-code: - - BadRequest - status: - code: 400 - message: Bad Request -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:12 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:50:12 GMT - ms-cv: - - 24VLMq5+W06lLgIIMoqAzw.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 202ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:12 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:50:12 GMT - ms-cv: - - 7RYcv6dTXEGH/7xUjD29dg.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 182ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:13 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:50:12 GMT - ms-cv: - - qzIHdhBPZU+/1/kxxU7BqQ.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 178ms - status: - code: 204 - message: No Content -version: 1 diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_create_room_no_attributes.yaml b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_create_room_no_attributes.yaml deleted file mode 100644 index eff72f298c23..000000000000 --- a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_create_room_no_attributes.yaml +++ /dev/null @@ -1,401 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:13 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472e-0471-f38d-09482200966a"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:12 GMT - ms-cv: - - xqu9ZkUknkauJQ/a0RnFVw.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 21ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:13 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472e-04c7-f38d-09482200966b"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:13 GMT - ms-cv: - - PjBA1792ZEK0yeW3t4xRuQ.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 20ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:13 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472e-0517-f38d-09482200966c"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:13 GMT - ms-cv: - - 6t/DpE0s3kqgAqQbEn7Pvw.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 16ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:14 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472e-056c-f38d-09482200966d"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:13 GMT - ms-cv: - - 9CrAPyHtaE+54KoRVAIWTA.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 20ms - status: - code: 201 - message: Created -- request: - body: '{"validFrom": null, "validUntil": null}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '39' - Content-Type: - - application/json - Repeatability-First-Sent: - - Sat, 22 Apr 2023 04:50:14 GMT - Repeatability-Request-ID: - - 2b825150-e0c9-11ed-b4f8-e45e37e24f59 - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:14 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview - response: - body: - string: '{"id":"99433713143375568","createdAt":"2023-04-22T04:50:13.9591791+00:00","validFrom":"2023-04-22T04:50:13.897014+00:00","validUntil":"2023-10-19T04:50:13.897014+00:00"}' - headers: - api-supported-versions: - - 2021-04-07, 2022-02-01, 2023-03-31-preview - connection: - - keep-alive - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:14 GMT - ms-cv: - - 8P10oD7pIEy2LS9dOH6pjQ.0 - repeatability-result: - - accepted - request-context: - - appId= - transfer-encoding: - - chunked - x-cache: - - CONFIG_NOCACHE - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:14 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/rooms/99433713143375568?api-version=2023-03-31-preview - response: - body: - string: '' - headers: - api-supported-versions: - - 2021-04-07, 2022-02-01, 2023-03-31-preview - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:50:14 GMT - ms-cv: - - Y8557LCEVEe3WrMWRCPtXQ.0 - request-context: - - appId= - x-cache: - - CONFIG_NOCACHE - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:15 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - date: - - Sat, 22 Apr 2023 04:50:14 GMT - ms-cv: - - sSKHR6ia1UaiDS9gkMA4ig.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 358ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:15 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - date: - - Sat, 22 Apr 2023 04:50:15 GMT - ms-cv: - - 0YuUXPChC02s++U9BOUFSg.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 177ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:16 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - date: - - Sat, 22 Apr 2023 04:50:15 GMT - ms-cv: - - 0nHJ8i6p4E6+BdtL5BIlLg.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 179ms - status: - code: 204 - message: No Content -version: 1 diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_create_room_only_participants.yaml b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_create_room_only_participants.yaml deleted file mode 100644 index a83aeedfb514..000000000000 --- a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_create_room_only_participants.yaml +++ /dev/null @@ -1,403 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:16 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472e-0fa9-1985-0948220094be"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:15 GMT - ms-cv: - - pRJ3NWwOeEaPw5d0MyUyhw.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 18ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:16 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472e-1050-1985-0948220094bf"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:15 GMT - ms-cv: - - ooGtESPKiU+NzitM1MFywA.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 20ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:16 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472e-10a4-1985-0948220094c0"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:16 GMT - ms-cv: - - hF5O7g+UzkCljsPeqTMV4w.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 17ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:17 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472e-10f3-1985-0948220094c1"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:16 GMT - ms-cv: - - 7etRKmf7cUGY166T+mX92Q.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 18ms - status: - code: 201 - message: Created -- request: - body: '{"validFrom": null, "validUntil": null, "participants": {"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472e-0fa9-1985-0948220094be": - {"role": "Presenter"}, "8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472e-10a4-1985-0948220094c0": - {"role": "Attendee"}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '268' - Content-Type: - - application/json - Repeatability-First-Sent: - - Sat, 22 Apr 2023 04:50:17 GMT - Repeatability-Request-ID: - - 2d446a7b-e0c9-11ed-8402-e45e37e24f59 - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:17 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview - response: - body: - string: '{"id":"99410672609734664","createdAt":"2023-04-22T04:50:16.9125949+00:00","validFrom":"2023-04-22T04:50:16.8554648+00:00","validUntil":"2023-10-19T04:50:16.8554648+00:00"}' - headers: - api-supported-versions: - - 2021-04-07, 2022-02-01, 2023-03-31-preview - connection: - - keep-alive - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:17 GMT - ms-cv: - - RpkBObk+mkmQ/GAI6zr8eg.0 - repeatability-result: - - accepted - request-context: - - appId= - transfer-encoding: - - chunked - x-cache: - - CONFIG_NOCACHE - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:17 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/rooms/99410672609734664?api-version=2023-03-31-preview - response: - body: - string: '' - headers: - api-supported-versions: - - 2021-04-07, 2022-02-01, 2023-03-31-preview - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:50:17 GMT - ms-cv: - - 8zQNF2sLZ0y4rdGiefiNQQ.0 - request-context: - - appId= - x-cache: - - CONFIG_NOCACHE - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:17 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - date: - - Sat, 22 Apr 2023 04:50:17 GMT - ms-cv: - - ZBY1DcizdUOup9ugLuQemQ.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 177ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:18 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - date: - - Sat, 22 Apr 2023 04:50:17 GMT - ms-cv: - - /ts8Jl4lhkmTN58kqLybeA.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 180ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:18 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - date: - - Sat, 22 Apr 2023 04:50:17 GMT - ms-cv: - - 1FlwJTwinUKgA1C0IPsyxw.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 179ms - status: - code: 204 - message: No Content -version: 1 diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_get_invalid_room.yaml b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_get_invalid_room.yaml deleted file mode 100644 index d9d7224cd40c..000000000000 --- a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_get_invalid_room.yaml +++ /dev/null @@ -1,482 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:18 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472e-18de-1985-0948220094c2"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:18 GMT - ms-cv: - - b0yPjPK/3E2Wz0Xqoe5T1A.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 19ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:19 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472e-193a-1985-0948220094c3"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:18 GMT - ms-cv: - - HMHkNVDCPE+lLlDD/IWHNg.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 17ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:19 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472e-198c-1985-0948220094c4"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:18 GMT - ms-cv: - - NfOKyTF2UUS4LJVdU8wWig.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 20ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:19 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472e-19e1-1985-0948220094c5"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:18 GMT - ms-cv: - - s+Y5SlXYA0KdarKgl+J0gQ.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 19ms - status: - code: 201 - message: Created -- request: - body: '{"validFrom": null, "validUntil": null}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '39' - Content-Type: - - application/json - Repeatability-First-Sent: - - Sat, 22 Apr 2023 04:50:19 GMT - Repeatability-Request-ID: - - 2ea16162-e0c9-11ed-8875-e45e37e24f59 - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:19 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview - response: - body: - string: '{"id":"99456018030558727","createdAt":"2023-04-22T04:50:19.0548152+00:00","validFrom":"2023-04-22T04:50:19.0069329+00:00","validUntil":"2023-10-19T04:50:19.0069329+00:00"}' - headers: - api-supported-versions: - - 2021-04-07, 2022-02-01, 2023-03-31-preview - connection: - - keep-alive - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:19 GMT - ms-cv: - - FgBG2bH9bka1PBXWlY4YYg.0 - repeatability-result: - - accepted - request-context: - - appId= - transfer-encoding: - - chunked - x-cache: - - CONFIG_NOCACHE - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:19 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/rooms/99456018030558727?api-version=2023-03-31-preview - response: - body: - string: '' - headers: - api-supported-versions: - - 2021-04-07, 2022-02-01, 2023-03-31-preview - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:50:19 GMT - ms-cv: - - o9I40k5Jk0KEPXavMPNSlA.0 - request-context: - - appId= - x-cache: - - CONFIG_NOCACHE - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:20 GMT - x-ms-return-client-request-id: - - 'true' - method: GET - uri: https://sanitized.communication.azure.com/rooms/99456018030558727?api-version=2023-03-31-preview - response: - body: - string: '{"error":{"code":"NotFound","message":"The server cannot find the requested - resource."}}' - headers: - api-supported-versions: - - 2021-04-07, 2022-02-01, 2023-03-31-preview - connection: - - keep-alive - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:19 GMT - ms-cv: - - 9CXL8S+IKkGFrfYSDvSE4A.0 - request-context: - - appId= - transfer-encoding: - - chunked - x-cache: - - CONFIG_NOCACHE - x-ms-error-code: - - NotFound - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:20 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/rooms/99456018030558727?api-version=2023-03-31-preview - response: - body: - string: '' - headers: - api-supported-versions: - - 2021-04-07, 2022-02-01, 2023-03-31-preview - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:50:20 GMT - ms-cv: - - o2lzdOghnEeIcRVe5exniw.0 - request-context: - - appId= - x-cache: - - CONFIG_NOCACHE - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:20 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - date: - - Sat, 22 Apr 2023 04:50:20 GMT - ms-cv: - - LqwCA6xTvEm9wD61jp7/HA.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 177ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:21 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - date: - - Sat, 22 Apr 2023 04:50:20 GMT - ms-cv: - - gt244g8Ei0GtMwJ8HmGnsA.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 179ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:21 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - date: - - Sat, 22 Apr 2023 04:50:20 GMT - ms-cv: - - pfOvPP8tiUKQ1wIk0bTulw.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 181ms - status: - code: 204 - message: No Content -version: 1 diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_get_room.yaml b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_get_room.yaml deleted file mode 100644 index 1c90068cf0e0..000000000000 --- a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_get_room.yaml +++ /dev/null @@ -1,451 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:21 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472e-24a4-b688-094822009ad2"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:21 GMT - ms-cv: - - 4zriK7Kgp0qaPZL7doVM+g.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 19ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:22 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472e-24ff-b688-094822009ad3"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:21 GMT - ms-cv: - - UmE39SWCa0qREP+bbVcjxg.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 18ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:22 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472e-2551-b688-094822009ad4"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:21 GMT - ms-cv: - - VrOipVyPeE22Yeowz2rTyA.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 20ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:22 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472e-25a2-b688-094822009ad5"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:21 GMT - ms-cv: - - HFeCy7qWYk2T9wIgDtnFiA.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 20ms - status: - code: 201 - message: Created -- request: - body: '{"validFrom": "2023-04-24T21:50:22.397073Z", "validUntil": "2023-05-08T21:50:22.397073Z", - "participants": {"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472e-24a4-b688-094822009ad2": - {"role": "Presenter"}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '213' - Content-Type: - - application/json - Repeatability-First-Sent: - - Sat, 22 Apr 2023 04:50:22 GMT - Repeatability-Request-ID: - - 306ed1af-e0c9-11ed-9c7e-e45e37e24f59 - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:22 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview - response: - body: - string: '{"id":"99437078946664968","createdAt":"2023-04-22T04:50:22.0883903+00:00","validFrom":"2023-04-24T21:50:22.397073+00:00","validUntil":"2023-05-08T21:50:22.397073+00:00"}' - headers: - api-supported-versions: - - 2021-04-07, 2022-02-01, 2023-03-31-preview - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:21 GMT - ms-cv: - - TZQu3zqNw0KcZs39ZV6xOA.0 - repeatability-result: - - accepted - request-context: - - appId= - transfer-encoding: - - chunked - x-cache: - - CONFIG_NOCACHE - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:22 GMT - x-ms-return-client-request-id: - - 'true' - method: GET - uri: https://sanitized.communication.azure.com/rooms/99437078946664968?api-version=2023-03-31-preview - response: - body: - string: '{"id":"99437078946664968","createdAt":"2023-04-22T04:50:22.0883903+00:00","validFrom":"2023-04-24T21:50:22.397073+00:00","validUntil":"2023-05-08T21:50:22.397073+00:00"}' - headers: - api-supported-versions: - - 2021-04-07, 2022-02-01, 2023-03-31-preview - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:22 GMT - ms-cv: - - gjM4wmsyZ0GwEZlhz/BjiQ.0 - request-context: - - appId= - transfer-encoding: - - chunked - x-cache: - - CONFIG_NOCACHE - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:23 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/rooms/99437078946664968?api-version=2023-03-31-preview - response: - body: - string: '' - headers: - api-supported-versions: - - 2021-04-07, 2022-02-01, 2023-03-31-preview - date: - - Sat, 22 Apr 2023 04:50:22 GMT - ms-cv: - - g6BTn0NZCUK4iclWmjjIFA.0 - request-context: - - appId= - x-cache: - - CONFIG_NOCACHE - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:23 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:50:23 GMT - ms-cv: - - rYOFiykCzU+TZ6AaR6uzKw.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 403ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:24 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:50:23 GMT - ms-cv: - - vnYC3cFJqUSR/K+dWLio1A.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 205ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:24 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:50:23 GMT - ms-cv: - - XikD/QCR60yGTxnAdOxohw.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 203ms - status: - code: 204 - message: No Content -version: 1 diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_remove_participants.yaml b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_remove_participants.yaml deleted file mode 100644 index 5491c276c0b1..000000000000 --- a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_remove_participants.yaml +++ /dev/null @@ -1,494 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:24 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472e-2fad-f38d-094822009674"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:24 GMT - ms-cv: - - 3rjcSVBW1EGIYj+k8wRvrg.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 21ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:24 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472e-2ffa-f38d-094822009675"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:24 GMT - ms-cv: - - 7hk63dBLT0uVYx6tDFIhkg.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 19ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:25 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472e-3053-f38d-094822009676"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:24 GMT - ms-cv: - - GHcTeEmv/EyrAp1aP0NadQ.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 18ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:25 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472e-30a6-f38d-094822009677"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:24 GMT - ms-cv: - - QX+fXZw2okSFO4reum1MFQ.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 19ms - status: - code: 201 - message: Created -- request: - body: '{"validFrom": null, "validUntil": null, "participants": {"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472e-2fad-f38d-094822009674": - {"role": "Presenter"}, "8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472e-3053-f38d-094822009676": - {"role": "Attendee"}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '268' - Content-Type: - - application/json - Repeatability-First-Sent: - - Sat, 22 Apr 2023 04:50:25 GMT - Repeatability-Request-ID: - - 321c0826-e0c9-11ed-a2ea-e45e37e24f59 - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:25 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview - response: - body: - string: '{"id":"99486652432354463","createdAt":"2023-04-22T04:50:24.9011783+00:00","validFrom":"2023-04-22T04:50:24.8500762+00:00","validUntil":"2023-10-19T04:50:24.8500762+00:00"}' - headers: - api-supported-versions: - - 2021-04-07, 2022-02-01, 2023-03-31-preview - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:24 GMT - ms-cv: - - lJBjDGiwrESqf7w0ylDrcQ.0 - repeatability-result: - - accepted - request-context: - - appId= - transfer-encoding: - - chunked - x-cache: - - CONFIG_NOCACHE - status: - code: 201 - message: Created -- request: - body: '{"participants": {"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472e-2fad-f38d-094822009674": - null}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '107' - Content-Type: - - application/merge-patch+json - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:25 GMT - x-ms-return-client-request-id: - - 'true' - method: PATCH - uri: https://sanitized.communication.azure.com/rooms/99486652432354463/participants?api-version=2023-03-31-preview - response: - body: - string: '{}' - headers: - api-supported-versions: - - 2022-02-01, 2023-03-31-preview - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:25 GMT - ms-cv: - - 9WZlOKL91kKu98SGvEAtAQ.0 - request-context: - - appId= - transfer-encoding: - - chunked - x-cache: - - CONFIG_NOCACHE - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:26 GMT - x-ms-return-client-request-id: - - 'true' - method: GET - uri: https://sanitized.communication.azure.com/rooms/99486652432354463/participants?api-version=2023-03-31-preview - response: - body: - string: '{"value":[{"rawId":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472e-3053-f38d-094822009676","role":"Attendee"}]}' - headers: - api-supported-versions: - - 2022-02-01, 2023-03-31-preview - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:25 GMT - ms-cv: - - c2Bqysn1hkyyBTHN8Ui7pg.0 - request-context: - - appId= - transfer-encoding: - - chunked - x-cache: - - CONFIG_NOCACHE - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:26 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/rooms/99486652432354463?api-version=2023-03-31-preview - response: - body: - string: '' - headers: - api-supported-versions: - - 2021-04-07, 2022-02-01, 2023-03-31-preview - date: - - Sat, 22 Apr 2023 04:50:25 GMT - ms-cv: - - 4fz37stYhUax1AJBrn55/g.0 - request-context: - - appId= - x-cache: - - CONFIG_NOCACHE - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:27 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:50:31 GMT - ms-cv: - - l1QxVbKRtky4hihNhxR8zg.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 5014ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:32 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:50:31 GMT - ms-cv: - - 0i+/qTlTYEqFrzjr8IPF1g.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 201ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:32 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:50:32 GMT - ms-cv: - - e3kQIkBsIEK3vaJuYxyLAw.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 201ms - status: - code: 204 - message: No Content -version: 1 diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_update_room_correct_timerange.yaml b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_update_room_correct_timerange.yaml deleted file mode 100644 index 496d861a5627..000000000000 --- a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_update_room_correct_timerange.yaml +++ /dev/null @@ -1,445 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:32 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472e-4fb3-1788-09482200996e"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:32 GMT - ms-cv: - - GNmNF6A8XEeyGMNY6kp+PQ.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 20ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:33 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472e-5006-1788-09482200996f"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:32 GMT - ms-cv: - - 9iGJo5A/v0eyxb+d8QMb2A.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 20ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:33 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472e-5059-1788-094822009970"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:32 GMT - ms-cv: - - ZrtziitF40G0HCB/51ykyw.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 19ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:33 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472e-50ab-1788-094822009971"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:32 GMT - ms-cv: - - obWd9nQ3vEek1ShqB13Kmg.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 16ms - status: - code: 201 - message: Created -- request: - body: '{"validFrom": null, "validUntil": null}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '39' - Content-Type: - - application/json - Repeatability-First-Sent: - - Sat, 22 Apr 2023 04:50:33 GMT - Repeatability-Request-ID: - - 36ff4a3a-e0c9-11ed-871e-e45e37e24f59 - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:33 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview - response: - body: - string: '{"id":"99415636637307067","createdAt":"2023-04-22T04:50:33.3416157+00:00","validFrom":"2023-04-22T04:50:33.2810534+00:00","validUntil":"2023-10-19T04:50:33.2810534+00:00"}' - headers: - api-supported-versions: - - 2021-04-07, 2022-02-01, 2023-03-31-preview - connection: - - keep-alive - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:34 GMT - ms-cv: - - V94/pD+gTUeUwsmuSTFnJQ.0 - repeatability-result: - - accepted - request-context: - - appId= - transfer-encoding: - - chunked - x-cache: - - CONFIG_NOCACHE - status: - code: 201 - message: Created -- request: - body: '{"validFrom": "2023-04-24T21:50:34.793141Z", "validUntil": "2023-05-19T21:50:34.793141Z"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '89' - Content-Type: - - application/merge-patch+json - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:34 GMT - x-ms-return-client-request-id: - - 'true' - method: PATCH - uri: https://sanitized.communication.azure.com/rooms/99415636637307067?api-version=2023-03-31-preview - response: - body: - string: '{"id":"99415636637307067","createdAt":"2023-04-22T04:50:33.3416157+00:00","validFrom":"2023-04-24T21:50:34.793141+00:00","validUntil":"2023-05-19T21:50:34.793141+00:00"}' - headers: - api-supported-versions: - - 2021-04-07, 2022-02-01, 2023-03-31-preview - connection: - - keep-alive - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:34 GMT - ms-cv: - - NeTT9JxKhEChTZg2tPzqhg.0 - request-context: - - appId= - transfer-encoding: - - chunked - x-cache: - - CONFIG_NOCACHE - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:35 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/rooms/99415636637307067?api-version=2023-03-31-preview - response: - body: - string: '' - headers: - api-supported-versions: - - 2021-04-07, 2022-02-01, 2023-03-31-preview - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:50:34 GMT - ms-cv: - - wWT6ZrM7gEuJr+/zuDXWMQ.0 - request-context: - - appId= - x-cache: - - CONFIG_NOCACHE - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:35 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - date: - - Sat, 22 Apr 2023 04:50:37 GMT - ms-cv: - - lWin4rlv/0yrH73rBXuuaQ.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 3011ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:38 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - date: - - Sat, 22 Apr 2023 04:50:37 GMT - ms-cv: - - l/m4c/1f40WcmhhSLq9qKw.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 179ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:39 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - date: - - Sat, 22 Apr 2023 04:50:38 GMT - ms-cv: - - 9R+chKkWi0e2XgdCwtCYIA.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 179ms - status: - code: 204 - message: No Content -version: 1 diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_update_room_deleted_room.yaml b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_update_room_deleted_room.yaml deleted file mode 100644 index 52c78cda28ac..000000000000 --- a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_update_room_deleted_room.yaml +++ /dev/null @@ -1,462 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:39 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472e-6930-f38d-094822009679"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:39 GMT - ms-cv: - - vBgpbZAJ106U2UUcoOEnuQ.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 18ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:39 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472e-6987-f38d-09482200967a"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:39 GMT - ms-cv: - - /ZLDof//bE2bMBJ+R9bYOQ.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 21ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:39 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472e-69da-f38d-09482200967b"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:39 GMT - ms-cv: - - vL0gbWmP0EKDJsrq2XMb7Q.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 18ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:39 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472e-6a2d-f38d-09482200967c"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:39 GMT - ms-cv: - - v6kitVS4ok2tj6AOZLhpjA.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 18ms - status: - code: 201 - message: Created -- request: - body: '{"validFrom": null, "validUntil": null}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '39' - Content-Type: - - application/json - Repeatability-First-Sent: - - Sat, 22 Apr 2023 04:50:39 GMT - Repeatability-Request-ID: - - 3ae21a68-e0c9-11ed-a33e-e45e37e24f59 - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:39 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview - response: - body: - string: '{"id":"9944779315953976","createdAt":"2023-04-22T04:50:39.7690151+00:00","validFrom":"2023-04-22T04:50:39.7072907+00:00","validUntil":"2023-10-19T04:50:39.7072907+00:00"}' - headers: - api-supported-versions: - - 2021-04-07, 2022-02-01, 2023-03-31-preview - connection: - - keep-alive - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:39 GMT - ms-cv: - - bq4Lk19ASU+bwGjHBg8mHw.0 - repeatability-result: - - accepted - request-context: - - appId= - transfer-encoding: - - chunked - x-cache: - - CONFIG_NOCACHE - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:40 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/rooms/9944779315953976?api-version=2023-03-31-preview - response: - body: - string: '' - headers: - api-supported-versions: - - 2021-04-07, 2022-02-01, 2023-03-31-preview - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:50:40 GMT - ms-cv: - - QJ9b4YvHgEm/XNP1MIA4Sg.0 - request-context: - - appId= - x-cache: - - CONFIG_NOCACHE - status: - code: 204 - message: No Content -- request: - body: '{"validFrom": "2023-04-24T21:50:40.906001Z", "validUntil": "2023-04-28T21:50:40.906001Z"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '89' - Content-Type: - - application/merge-patch+json - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:40 GMT - x-ms-return-client-request-id: - - 'true' - method: PATCH - uri: https://sanitized.communication.azure.com/rooms/9944779315953976?api-version=2023-03-31-preview - response: - body: - string: '{"error":{"code":"NotFound","message":"The server cannot find the requested - resource."}}' - headers: - api-supported-versions: - - 2021-04-07, 2022-02-01, 2023-03-31-preview - connection: - - keep-alive - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:40 GMT - ms-cv: - - pYzEPuWFh02xHueM4fN6UA.0 - request-context: - - appId= - transfer-encoding: - - chunked - x-cache: - - CONFIG_NOCACHE - x-ms-error-code: - - NotFound - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:41 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:50:40 GMT - ms-cv: - - kfhxofh7RU6s6i8VtN30nA.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 182ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:41 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:50:41 GMT - ms-cv: - - Eov0sju2MUuUeRG7Eo0D3Q.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 188ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:41 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:50:41 GMT - ms-cv: - - 6PYCwrmQmUapZDLxWW7E+A.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 252ms - status: - code: 204 - message: No Content -version: 1 diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_update_room_exceed_max_timerange.yaml b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_update_room_exceed_max_timerange.yaml deleted file mode 100644 index c7b0320e1d0f..000000000000 --- a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_update_room_exceed_max_timerange.yaml +++ /dev/null @@ -1,455 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:42 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472e-7414-b688-094822009ad6"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:41 GMT - ms-cv: - - UAy/PaF4pkmOO6y+XSaaBA.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 19ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:42 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472e-7466-b688-094822009ad7"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:41 GMT - ms-cv: - - IZLej1DaOEeCX6OJLNOUug.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 20ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:42 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472e-74bd-b688-094822009ad8"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:42 GMT - ms-cv: - - qjjDrUQngkC5iymFJRyYpw.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 22ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:42 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472e-7510-b688-094822009ad9"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:42 GMT - ms-cv: - - YV4ue3eIbkKMzDMtNEBwJQ.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 17ms - status: - code: 201 - message: Created -- request: - body: '{"validFrom": null, "validUntil": null}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '39' - Content-Type: - - application/json - Repeatability-First-Sent: - - Sat, 22 Apr 2023 04:50:42 GMT - Repeatability-Request-ID: - - 3c8d26d9-e0c9-11ed-8621-e45e37e24f59 - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:42 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview - response: - body: - string: '{"id":"99428005637152583","createdAt":"2023-04-22T04:50:42.5974702+00:00","validFrom":"2023-04-22T04:50:42.541758+00:00","validUntil":"2023-10-19T04:50:42.541758+00:00"}' - headers: - api-supported-versions: - - 2021-04-07, 2022-02-01, 2023-03-31-preview - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:42 GMT - ms-cv: - - Vd3QWff7yUW0YLV3s3253g.0 - repeatability-result: - - accepted - request-context: - - appId= - transfer-encoding: - - chunked - x-cache: - - CONFIG_NOCACHE - status: - code: 201 - message: Created -- request: - body: '{"validFrom": "2023-04-24T21:50:43.467678Z", "validUntil": "2023-11-10T21:50:43.467678Z"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '89' - Content-Type: - - application/merge-patch+json - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:43 GMT - x-ms-return-client-request-id: - - 'true' - method: PATCH - uri: https://sanitized.communication.azure.com/rooms/99428005637152583?api-version=2023-03-31-preview - response: - body: - string: '{"error":{"code":"BadRequest","message":"The request could not be understood - by the server due to malformed syntax.","details":[{"code":"BadArgument","message":"The - time range is incorrect, or larger than 180 days.","target":"ValidUntil"}]}}' - headers: - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:42 GMT - ms-cv: - - VRR5dorE90KgGOk4bqmnHw.0 - request-context: - - appId= - transfer-encoding: - - chunked - x-cache: - - CONFIG_NOCACHE - x-ms-error-code: - - BadRequest - status: - code: 400 - message: Bad Request -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:43 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/rooms/99428005637152583?api-version=2023-03-31-preview - response: - body: - string: '' - headers: - api-supported-versions: - - 2021-04-07, 2022-02-01, 2023-03-31-preview - date: - - Sat, 22 Apr 2023 04:50:42 GMT - ms-cv: - - VcOUsJ6oAE+aYBzenLjpug.0 - request-context: - - appId= - x-cache: - - CONFIG_NOCACHE - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:44 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:50:43 GMT - ms-cv: - - u1ugPuTlEU+XoIX7cup3Tw.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 213ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:44 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:50:44 GMT - ms-cv: - - YoCKU3tsK0ef6fFztLr4gQ.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 202ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:44 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:50:44 GMT - ms-cv: - - noIjVp6E3UWOf/BNfX4ypg.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 183ms - status: - code: 204 - message: No Content -version: 1 diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_update_room_incorrect_roomId.yaml b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_update_room_incorrect_roomId.yaml deleted file mode 100644 index 76c3ecbe5cb1..000000000000 --- a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_update_room_incorrect_roomId.yaml +++ /dev/null @@ -1,374 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:45 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472e-7f1f-b688-094822009ada"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:44 GMT - ms-cv: - - c+/DD8r0x0W4DmrSSpz5eA.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 20ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:45 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472e-7f6c-b688-094822009adb"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:44 GMT - ms-cv: - - YXmd+m//sE6Z1A/p9VkAxg.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 19ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:45 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472e-7fc4-b688-094822009adc"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:44 GMT - ms-cv: - - MKQBlJt/MUqUolMjlsDstQ.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 22ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:45 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472e-801d-b688-094822009add"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:44 GMT - ms-cv: - - pDPSzFOF80Kg6KQn9ECEXw.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 20ms - status: - code: 201 - message: Created -- request: - body: '{"validFrom": "2023-04-24T21:50:45.560252Z", "validUntil": "2023-04-28T21:50:45.560252Z"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '89' - Content-Type: - - application/merge-patch+json - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:45 GMT - x-ms-return-client-request-id: - - 'true' - method: PATCH - uri: https://sanitized.communication.azure.com/rooms/78469124725336262?api-version=2023-03-31-preview - response: - body: - string: '{"error":{"code":"NotFound","message":"The server cannot find the requested - resource."}}' - headers: - api-supported-versions: - - 2021-04-07, 2022-02-01, 2023-03-31-preview - connection: - - keep-alive - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:45 GMT - ms-cv: - - Do0CWeXy1kyn0JOi+3mAxA.0 - request-context: - - appId= - transfer-encoding: - - chunked - x-cache: - - CONFIG_NOCACHE - x-ms-error-code: - - NotFound - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:45 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:50:45 GMT - ms-cv: - - V6eJVyQCCEWV98wzVvz5Kg.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 176ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:46 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:50:45 GMT - ms-cv: - - VeuR4Y4XxkCwyN4BvEH2TQ.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 211ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:46 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - connection: - - keep-alive - date: - - Sat, 22 Apr 2023 04:50:46 GMT - ms-cv: - - HFB1vi+dmUa++TFDRnDbyw.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 210ms - status: - code: 204 - message: No Content -version: 1 diff --git a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_update_room_wrongRoleName.yaml b/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_update_room_wrongRoleName.yaml deleted file mode 100644 index 42019e31d3cc..000000000000 --- a/sdk/communication/azure-communication-rooms/tests/recordings/test_rooms_client_e2e.test_update_room_wrongRoleName.yaml +++ /dev/null @@ -1,409 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:46 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472e-8690-a381-094822009702"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:46 GMT - ms-cv: - - smM80EZ0eEC9WSheHhKhUQ.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 19ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:47 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472e-871f-a381-094822009703"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:46 GMT - ms-cv: - - vsGgqhwrQkyJl9ZtlpsgDA.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 18ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:47 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472e-8770-a381-094822009704"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:46 GMT - ms-cv: - - lEqtYWk3j0SnxLQFRVar1w.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 18ms - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:47 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/identities?api-version=2022-10-01 - response: - body: - string: '{"identity":{"id":"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472e-87c1-a381-094822009705"}}' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:46 GMT - ms-cv: - - LC7iP6D3zEWYuD+MvZtgJA.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 19ms - status: - code: 201 - message: Created -- request: - body: '{"validFrom": null, "validUntil": null}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '39' - Content-Type: - - application/json - Repeatability-First-Sent: - - Sat, 22 Apr 2023 04:50:47 GMT - Repeatability-Request-ID: - - 3f655225-e0c9-11ed-a10c-e45e37e24f59 - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:47 GMT - x-ms-return-client-request-id: - - 'true' - method: POST - uri: https://sanitized.communication.azure.com/rooms?api-version=2023-03-31-preview - response: - body: - string: '{"id":"99446536534783689","createdAt":"2023-04-22T04:50:47.1925989+00:00","validFrom":"2023-04-22T04:50:47.1367985+00:00","validUntil":"2023-10-19T04:50:47.1367985+00:00"}' - headers: - api-supported-versions: - - 2021-04-07, 2022-02-01, 2023-03-31-preview - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:47 GMT - ms-cv: - - 0/PuaOMPgUCiCunZyJu1bw.0 - repeatability-result: - - accepted - request-context: - - appId= - transfer-encoding: - - chunked - x-cache: - - CONFIG_NOCACHE - status: - code: 201 - message: Created -- request: - body: '{"participants": {"8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472e-8690-a381-094822009702": - {"role": "Kafka"}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '120' - Content-Type: - - application/merge-patch+json - User-Agent: - - azsdk-python-communication-rooms/1.0.0b3 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:47 GMT - x-ms-return-client-request-id: - - 'true' - method: PATCH - uri: https://sanitized.communication.azure.com/rooms/99446536534783689/participants?api-version=2023-03-31-preview - response: - body: - string: '{"error":{"code":"BadRequest","message":"The request could not be understood - by the server due to malformed syntax.","details":[{"code":"BadArgument","message":"The - updateParticipantsRequestDto field is required.","target":"updateParticipantsRequestDto"},{"code":"BadArgument","message":"The - JSON value could not be converted to Microsoft.AzureCommunicationService.Rooms.Api.Contracts.V2023_03_31_Preview.RoleDto. - Path: $.participants.8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472e-8690-a381-094822009702.role - | LineNumber: 0 | BytePositionInLine: 117.","target":"$.participants.8:acs:db75ed0c-e801-41a3-99a4-66a0a119a06c_00000018-472e-8690-a381-094822009702.role"}]}}' - headers: - content-type: - - application/json; charset=utf-8 - date: - - Sat, 22 Apr 2023 04:50:47 GMT - ms-cv: - - bYt/Li+CbE6Il+gA5YputA.0 - request-context: - - appId= - transfer-encoding: - - chunked - x-cache: - - CONFIG_NOCACHE - x-ms-error-code: - - BadRequest - status: - code: 400 - message: Bad Request -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:48 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - date: - - Sat, 22 Apr 2023 04:50:47 GMT - ms-cv: - - 8ecCnXBoakOt6nrh+ulaHw.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 188ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:48 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - date: - - Sat, 22 Apr 2023 04:50:47 GMT - ms-cv: - - ILwkQ4ikvECaEWLRHHtm3A.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 203ms - status: - code: 204 - message: No Content -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-communication-identity/1.4.0b2 Python/3.10.0 (Windows-10-10.0.22621-SP0) - x-ms-date: - - Sat, 22 Apr 2023 04:50:48 GMT - x-ms-return-client-request-id: - - 'true' - method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2022-10-01 - response: - body: - string: '' - headers: - api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, - 2021-11-01, 2022-06-01, 2022-10-01, 2023-08-01 - date: - - Sat, 22 Apr 2023 04:50:48 GMT - ms-cv: - - GM6dd+ZQ8keM/0t//ngkDQ.0 - request-context: - - appId= - strict-transport-security: - - max-age=2592000 - x-cache: - - CONFIG_NOCACHE - x-processing-time: - - 203ms - status: - code: 204 - message: No Content -version: 1 diff --git a/sdk/communication/azure-communication-rooms/tests/test_hmac.py b/sdk/communication/azure-communication-rooms/tests/test_hmac.py index c947b0897878..b67b0ff4db62 100644 --- a/sdk/communication/azure-communication-rooms/tests/test_hmac.py +++ b/sdk/communication/azure-communication-rooms/tests/test_hmac.py @@ -5,14 +5,9 @@ # license information. # -------------------------------------------------------------------------- -import unittest from azure.communication.rooms._shared.policy import HMACCredentialsPolicy -from devtools_testutils import AzureTestCase - -class HMACTest(AzureTestCase): - def setUp(self): - super(HMACTest, self).setUp() +class TestHMAC(): def test_correct_hmac(self): auth_policy = HMACCredentialsPolicy("contoso.communicationservices.azure.com", "pw==") diff --git a/sdk/communication/azure-communication-rooms/tests/test_rooms_client_e2e.py b/sdk/communication/azure-communication-rooms/tests/test_rooms_client.py similarity index 83% rename from sdk/communication/azure-communication-rooms/tests/test_rooms_client_e2e.py rename to sdk/communication/azure-communication-rooms/tests/test_rooms_client.py index 020fe8fd20f5..4747d73b40d4 100644 --- a/sdk/communication/azure-communication-rooms/tests/test_rooms_client_e2e.py +++ b/sdk/communication/azure-communication-rooms/tests/test_rooms_client.py @@ -5,6 +5,7 @@ # -------------------------------------------------------------------------- import pytest +import unittest from datetime import datetime, timedelta from azure.core.exceptions import HttpResponseError @@ -16,25 +17,39 @@ ) from azure.communication.rooms._shared.models import CommunicationUserIdentifier from _shared.utils import get_http_logging_policy -from helper import URIIdentityReplacer -from testcase import RoomsTestCase - -class RoomsClientTest(RoomsTestCase): - def __init__(self, method_name): - super(RoomsClientTest, self).__init__(method_name) - - def setUp(self): - super(RoomsClientTest, self).setUp() - if not self.is_playback(): - self.recording_processors.extend([URIIdentityReplacer()]) - # create multiple users users - self.identity_client = CommunicationIdentityClient.from_connection_string( - self.connection_str) - - self.id1 = self.identity_client.create_user().properties["id"] - self.id2 = self.identity_client.create_user().properties["id"] - self.id3 = self.identity_client.create_user().properties["id"] - self.id4 = self.identity_client.create_user().properties["id"] +from acs_rooms_test_case import ACSRoomsTestCase +from devtools_testutils import is_live, add_general_regex_sanitizer, recorded_by_proxy + +class TestRoomsClient(ACSRoomsTestCase): + def setup_method(self): + super().setUp() + sanitizedId1 = "8:acs:sanitized1" + sanitizedId2 = "8:acs:sanitized2" + sanitizedId3 = "8:acs:sanitized3" + sanitizedId4 = "8:acs:sanitized4" + if is_live(): + self.identity_client = CommunicationIdentityClient.from_connection_string( + self.connection_str) + + + self.id1 = self.identity_client.create_user().properties["id"] + self.id2 = self.identity_client.create_user().properties["id"] + self.id3 = self.identity_client.create_user().properties["id"] + self.id4 = self.identity_client.create_user().properties["id"] + add_general_regex_sanitizer(regex=self.id1, value=sanitizedId1) + add_general_regex_sanitizer(regex=self.id2, value=sanitizedId2) + add_general_regex_sanitizer(regex=self.id3, value=sanitizedId3) + add_general_regex_sanitizer(regex=self.id4, value=sanitizedId4) + else: + self.id1 = sanitizedId1 + self.id2 = sanitizedId2 + self.id3 = sanitizedId3 + self.id4 = sanitizedId4 + + self.rooms_client = RoomsClient.from_connection_string( + self.connection_str, + http_logging_policy=get_http_logging_policy() + ) self.users = { "john" : RoomParticipant( @@ -55,19 +70,13 @@ def setUp(self): http_logging_policy=get_http_logging_policy() ) - def tearDown(self): - super(RoomsClientTest, self).tearDown() - - # delete created users and chat threads - if not self.is_playback(): - for user in self.users.values(): - self.identity_client.delete_user(user.communication_identifier) - + @recorded_by_proxy def test_create_room_no_attributes(self): response = self.rooms_client.create_room() # delete created room self.rooms_client.delete_room(room_id=response.id) + @recorded_by_proxy def test_create_room_only_participants(self): # add john and chris to room participants = [ @@ -82,6 +91,7 @@ def test_create_room_only_participants(self): self.verify_successful_room_response(response=response) @pytest.mark.live_test_only + @recorded_by_proxy def test_create_room_correct_timerange(self): # room attributes valid_from = datetime.now() + timedelta(days=3) @@ -92,6 +102,7 @@ def test_create_room_correct_timerange(self): # delete created room self.rooms_client.delete_room(room_id=response.id) + @recorded_by_proxy def test_create_room_incorrectMri(self): # room attributes participants = [ @@ -108,6 +119,7 @@ def test_create_room_incorrectMri(self): assert ex.value.message is not None @pytest.mark.live_test_only + @recorded_by_proxy def test_create_room_all_attributes(self): # room attributes valid_from = datetime.now() + timedelta(days=3) @@ -125,6 +137,7 @@ def test_create_room_all_attributes(self): response=response, valid_from=valid_from, valid_until=valid_until) @pytest.mark.live_test_only + @recorded_by_proxy def test_get_room(self): # room attributes valid_from = datetime.now() + timedelta(days=3) @@ -144,6 +157,7 @@ def test_get_room(self): self.verify_successful_room_response( response=get_response, valid_from=valid_from, valid_until=valid_until, room_id=create_response.id) + @recorded_by_proxy def test_get_invalid_room(self): # random room id with pytest.raises(HttpResponseError) as ex: @@ -156,24 +170,8 @@ def test_get_invalid_room(self): assert ex.value.message is not None self.rooms_client.delete_room(room_id=create_response.id) - def test_update_room_exceed_max_timerange(self): - # room with no attributes - create_response = self.rooms_client.create_room() - - # update room attributes - valid_from = datetime.now() + timedelta(days=3) - valid_until = datetime.now() + timedelta(weeks=29) - - with pytest.raises(HttpResponseError) as ex: - self.rooms_client.update_room(room_id=create_response.id, valid_from=valid_from, valid_until=valid_until) - - # delete created room - self.rooms_client.delete_room(room_id=create_response.id) - - assert str(ex.value.status_code) == "400" - assert ex.value.message is not None - @pytest.mark.live_test_only + @recorded_by_proxy def test_update_room_correct_timerange(self): # room with no attributes create_response = self.rooms_client.create_room() @@ -189,6 +187,7 @@ def test_update_room_correct_timerange(self): self.verify_successful_room_response( response=update_response, valid_from=valid_from, valid_until=valid_until, room_id=create_response.id) + @recorded_by_proxy def test_add_or_update_participants(self): # add john and chris to room create_participants = [ @@ -209,13 +208,13 @@ def test_add_or_update_participants(self): communication_identifier=CommunicationUserIdentifier(self.id1), role=ParticipantRole.CONSUMER ), - RoomParticipant( - communication_identifier=CommunicationUserIdentifier(self.id2), - role=ParticipantRole.CONSUMER - ), RoomParticipant( communication_identifier=CommunicationUserIdentifier(self.id3), role=ParticipantRole.ATTENDEE + ), + RoomParticipant( + communication_identifier=CommunicationUserIdentifier(self.id2), + role=ParticipantRole.CONSUMER ) ] @@ -225,10 +224,12 @@ def test_add_or_update_participants(self): for participant in update_response: participants.append(participant) assert len(participants) == 3 - self.assertCountEqual(expected_participants, participants) + case = unittest.TestCase() + case.assertCountEqual(expected_participants, participants) # delete created room self.rooms_client.delete_room(room_id=create_response.id) + @recorded_by_proxy def test_add_or_update_participants_with_null_role(self): create_participants = [ RoomParticipant( @@ -265,7 +266,8 @@ def test_add_or_update_participants_with_null_role(self): for participant in list_participants_response: participants.append(participant) assert len(participants) == 3 - self.assertCountEqual(expected_participants, participants) + case = unittest.TestCase() + case.assertCountEqual(expected_participants, participants) # Check participants were added or updated properly add_or_update_participants = [ @@ -308,11 +310,12 @@ def test_add_or_update_participants_with_null_role(self): for participant in update_response: updated_participants.append(participant) assert len(updated_participants) == 4 - self.assertCountEqual(expected_participants, updated_participants) - + case = unittest.TestCase() + case.assertCountEqual(expected_participants, updated_participants) # delete created room self.rooms_client.delete_room(room_id=create_response.id) + @recorded_by_proxy def test_remove_participants(self): # add john and chris to room create_participants = [ @@ -338,10 +341,30 @@ def test_remove_participants(self): for participant in update_response: participants.append(participant) assert len(participants) == 1 - self.assertCountEqual(expected_participants, participants) + case = unittest.TestCase() + case.assertCountEqual(expected_participants, participants) + # delete created room self.rooms_client.delete_room(room_id=create_response.id) + @recorded_by_proxy + def test_update_room_exceed_max_timerange(self): + # room with no attributes + create_response = self.rooms_client.create_room() + + # update room attributes + valid_from = datetime.now() + timedelta(days=3) + valid_until = datetime.now() + timedelta(weeks=29) + + with pytest.raises(HttpResponseError) as ex: + self.rooms_client.update_room(room_id=create_response.id, valid_from=valid_from, valid_until=valid_until) + assert str(ex.value.status_code) == "400" + assert ex.value.message is not None + + # delete created room + self.rooms_client.delete_room(room_id=create_response.id) + + @recorded_by_proxy def test_add_or_update_participants_incorrectMri(self): # room with no attributes create_response = self.rooms_client.create_room() @@ -359,7 +382,10 @@ def test_add_or_update_participants_incorrectMri(self): assert str(ex.value.status_code) == "400" assert ex.value.message is not None + # delete created room + self.rooms_client.delete_room(room_id=create_response.id) + @recorded_by_proxy def test_update_room_wrongRoleName(self): # room with no attributes create_response = self.rooms_client.create_room() @@ -376,7 +402,10 @@ def test_update_room_wrongRoleName(self): assert str(ex.value.status_code) == "400" assert ex.value.message is not None + # delete created room + self.rooms_client.delete_room(room_id=create_response.id) + @recorded_by_proxy def test_update_room_incorrect_roomId(self): # try to update room with random room_id with pytest.raises(HttpResponseError) as ex: @@ -388,6 +417,7 @@ def test_update_room_incorrect_roomId(self): assert str(ex.value.status_code) == "404" assert ex.value.message is not None + @recorded_by_proxy def test_update_room_deleted_room(self): # create a room -> delete it -> try to update it create_response = self.rooms_client.create_room() @@ -405,13 +435,11 @@ def test_update_room_deleted_room(self): def verify_successful_room_response(self, response, valid_from=None, valid_until=None, room_id=None): if room_id is not None: - self.assertEqual(room_id, response.id) + assert room_id == response.id if valid_from is not None: - self.assertEqual( - valid_from.replace(tzinfo=None), - datetime.strptime(response.valid_from, "%Y-%m-%dT%H:%M:%S.%f%z").replace(tzinfo=None)) + assert valid_from.replace(tzinfo=None) == datetime.strptime( + response.valid_from, "%Y-%m-%dT%H:%M:%S.%f%z").replace(tzinfo=None) if valid_until is not None: - self.assertEqual( - valid_until.replace(tzinfo=None), - datetime.strptime(response.valid_until, "%Y-%m-%dT%H:%M:%S.%f%z").replace(tzinfo=None)) + assert valid_until.replace(tzinfo=None) == datetime.strptime( + response.valid_until, "%Y-%m-%dT%H:%M:%S.%f%z").replace(tzinfo=None) assert response.created_at is not None diff --git a/sdk/communication/azure-communication-rooms/tests/test_rooms_client_async_e2e.py b/sdk/communication/azure-communication-rooms/tests/test_rooms_client_async.py similarity index 84% rename from sdk/communication/azure-communication-rooms/tests/test_rooms_client_async_e2e.py rename to sdk/communication/azure-communication-rooms/tests/test_rooms_client_async.py index 07de70daf2dc..d84aaf8cfab6 100644 --- a/sdk/communication/azure-communication-rooms/tests/test_rooms_client_async_e2e.py +++ b/sdk/communication/azure-communication-rooms/tests/test_rooms_client_async.py @@ -6,7 +6,7 @@ import pytest from datetime import datetime, timedelta - +import unittest from azure.core.exceptions import HttpResponseError from azure.communication.identity import CommunicationIdentityClient from azure.communication.rooms._shared.models import CommunicationUserIdentifier @@ -15,63 +15,66 @@ ParticipantRole, RoomParticipant ) -from testcase_async import RoomsAsyncTestCase - +from acs_rooms_test_case import ACSRoomsTestCase from _shared.utils import get_http_logging_policy -from helper import URIIdentityReplacer - -class RoomsClientTestAsync(RoomsAsyncTestCase): - def __init__(self, method_name): - super(RoomsClientTestAsync, self).__init__(method_name) - - def setUp(self): - super(RoomsClientTestAsync, self).setUp() - if not self.is_playback(): - self.recording_processors.extend([URIIdentityReplacer()]) - # create multiple users users - self.identity_client = CommunicationIdentityClient.from_connection_string( - self.connection_str) +from devtools_testutils.aio import recorded_by_proxy_async +from devtools_testutils import is_live, add_general_regex_sanitizer + + +@pytest.mark.asyncio +class TestRoomsClientAsync(ACSRoomsTestCase): + def setup_method(self): + super().setUp() + sanitizedId1 = "8:acs:sanitized1" + sanitizedId2 = "8:acs:sanitized2" + sanitizedId3 = "8:acs:sanitized3" + sanitizedId4 = "8:acs:sanitized4" + if is_live(): + self.identity_client = CommunicationIdentityClient.from_connection_string( + self.connection_str) + + + self.id1 = self.identity_client.create_user().properties["id"] + self.id2 = self.identity_client.create_user().properties["id"] + self.id3 = self.identity_client.create_user().properties["id"] + self.id4 = self.identity_client.create_user().properties["id"] + add_general_regex_sanitizer(regex=self.id1, value=sanitizedId1) + add_general_regex_sanitizer(regex=self.id2, value=sanitizedId2) + add_general_regex_sanitizer(regex=self.id3, value=sanitizedId3) + add_general_regex_sanitizer(regex=self.id4, value=sanitizedId4) + else: + self.id1 = sanitizedId1 + self.id2 = sanitizedId2 + self.id3 = sanitizedId3 + self.id4 = sanitizedId4 - self.id1 = self.identity_client.create_user().properties["id"] - self.id2 = self.identity_client.create_user().properties["id"] - self.id3 = self.identity_client.create_user().properties["id"] - self.id4 = self.identity_client.create_user().properties["id"] - - self.users = { - "john" : RoomParticipant( - communication_identifier=CommunicationUserIdentifier(self.id1), - role=ParticipantRole.PRESENTER - ), - "fred" : RoomParticipant( - communication_identifier=CommunicationUserIdentifier(self.id2), - role=ParticipantRole.CONSUMER - ), - "chris" : RoomParticipant( - communication_identifier=CommunicationUserIdentifier(self.id3), - role=ParticipantRole.ATTENDEE - ) - } self.rooms_client = RoomsClient.from_connection_string( self.connection_str, http_logging_policy=get_http_logging_policy() ) + self.users = { + "john" : RoomParticipant( + communication_identifier=CommunicationUserIdentifier(self.id1), + role=ParticipantRole.PRESENTER + ), + "fred" : RoomParticipant( + communication_identifier=CommunicationUserIdentifier(self.id2), + role=ParticipantRole.CONSUMER + ), + "chris" : RoomParticipant( + communication_identifier=CommunicationUserIdentifier(self.id3), + role=ParticipantRole.ATTENDEE + ) + } - def tearDown(self): - super(RoomsClientTestAsync, self).tearDown() - - # delete created users and chat threads - if not self.is_playback(): - for user in self.users.values(): - self.identity_client.delete_user(user.communication_identifier) - - @RoomsAsyncTestCase.await_prepared_test + @recorded_by_proxy_async async def test_create_room_no_attributes_async(self): async with self.rooms_client: response = await self.rooms_client.create_room() # delete created room await self.rooms_client.delete_room(room_id=response.id) - @RoomsAsyncTestCase.await_prepared_test + @recorded_by_proxy_async async def test_create_room_only_participants_async(self): # add john and chris to room participants = [ @@ -86,7 +89,7 @@ async def test_create_room_only_participants_async(self): await self.rooms_client.delete_room(room_id=response.id) self.verify_successful_room_response(response=response) - @RoomsAsyncTestCase.await_prepared_test + @recorded_by_proxy_async async def test_create_room_validUntil_7Months_async(self): # room attributes valid_from = datetime.now() + timedelta(days=3) @@ -98,7 +101,7 @@ async def test_create_room_validUntil_7Months_async(self): assert str(ex.value.status_code) == "400" assert ex.value.message is not None - @RoomsAsyncTestCase.await_prepared_test + @recorded_by_proxy_async async def test_create_room_validFrom_7Months_async(self): # room attributes valid_from = datetime.now() + timedelta(weeks=29) @@ -110,7 +113,7 @@ async def test_create_room_validFrom_7Months_async(self): assert ex.value.message is not None @pytest.mark.live_test_only - @RoomsAsyncTestCase.await_prepared_test + @recorded_by_proxy_async async def test_create_room_correct_timerange_async(self): # room attributes valid_from = datetime.now() + timedelta(days=3) @@ -123,7 +126,7 @@ async def test_create_room_correct_timerange_async(self): await self.rooms_client.delete_room(room_id=response.id) self.verify_successful_room_response(response=response, valid_from=valid_from, valid_until=valid_until) - @RoomsAsyncTestCase.await_prepared_test + @recorded_by_proxy_async async def test_create_room_incorrectMri_async(self): # room attributes participants = [ @@ -142,7 +145,7 @@ async def test_create_room_incorrectMri_async(self): assert ex.value.message is not None @pytest.mark.live_test_only - @RoomsAsyncTestCase.await_prepared_test + @recorded_by_proxy_async async def test_create_room_all_attributes_async(self): # room attributes valid_from = datetime.now() + timedelta(days=3) @@ -161,7 +164,7 @@ async def test_create_room_all_attributes_async(self): response=response, valid_from=valid_from, valid_until=valid_until) @pytest.mark.live_test_only - @RoomsAsyncTestCase.await_prepared_test + @recorded_by_proxy_async async def test_get_room_async(self): # room attributes valid_from = datetime.now() + timedelta(days=3) @@ -182,7 +185,7 @@ async def test_get_room_async(self): self.verify_successful_room_response( response=get_response, valid_from=valid_from, valid_until=valid_until, room_id=create_response.id) - @RoomsAsyncTestCase.await_prepared_test + @recorded_by_proxy_async async def test_get_invalid_room_async(self): # random room id async with self.rooms_client: @@ -198,7 +201,7 @@ async def test_get_invalid_room_async(self): assert ex.value.message is not None await self.rooms_client.delete_room(room_id=create_response.id) - @RoomsAsyncTestCase.await_prepared_test + @recorded_by_proxy_async async def test_update_room_exceed_max_timerange_async(self): # room with no attributes async with self.rooms_client: @@ -218,7 +221,7 @@ async def test_update_room_exceed_max_timerange_async(self): assert ex.value.message is not None @pytest.mark.live_test_only - @RoomsAsyncTestCase.await_prepared_test + @recorded_by_proxy_async async def test_update_room_correct_timerange_async(self): # room with no attributes async with self.rooms_client: @@ -235,7 +238,7 @@ async def test_update_room_correct_timerange_async(self): self.verify_successful_room_response( response=update_response, valid_from=valid_from, valid_until=valid_until, room_id=create_response.id) - @RoomsAsyncTestCase.await_prepared_test + @recorded_by_proxy_async async def test_add_or_update_participant_async(self): # add john and chris to room create_participants = [ @@ -270,11 +273,12 @@ async def test_add_or_update_participant_async(self): async for participant in update_response: participants.append(participant) assert len(participants) == 3 - self.assertCountEqual(expected_participants, participants) + case = unittest.TestCase() + case.assertCountEqual(expected_participants, participants) # delete created room await self.rooms_client.delete_room(room_id=create_response.id) - @RoomsAsyncTestCase.await_prepared_test + @recorded_by_proxy_async async def test_add_or_update_participant_with_null_roles_async(self): create_participants = [ RoomParticipant( @@ -312,7 +316,8 @@ async def test_add_or_update_participant_with_null_roles_async(self): async for participant in list_participants_response: participants.append(participant) assert len(participants) == 3 - self.assertCountEqual(expected_participants, participants) + case = unittest.TestCase() + case.assertCountEqual(expected_participants, participants) # Check participants were added or updated properly add_or_update_participants = [ @@ -355,12 +360,12 @@ async def test_add_or_update_participant_with_null_roles_async(self): async for participant in update_response: updated_participants.append(participant) assert len(updated_participants) == 4 - self.assertCountEqual(expected_participants, updated_participants) - + case = unittest.TestCase() + case.assertCountEqual(expected_participants, updated_participants) # delete created room await self.rooms_client.delete_room(room_id=create_response.id) - @RoomsAsyncTestCase.await_prepared_test + @recorded_by_proxy_async async def test_remove_participant_async(self): # add john and chris to room create_participants = [ @@ -384,11 +389,12 @@ async def test_remove_participant_async(self): async for participant in update_response: participants.append(participant) assert len(participants) == 1 - self.assertCountEqual(expected_participants, participants) + case = unittest.TestCase() + case.assertCountEqual(expected_participants, participants) # delete created room await self.rooms_client.delete_room(room_id=create_response.id) - @RoomsAsyncTestCase.await_prepared_test + @recorded_by_proxy_async async def test_add_or_update_participants_incorrectMri_async(self): # room with no attributes async with self.rooms_client: @@ -408,7 +414,7 @@ async def test_add_or_update_participants_incorrectMri_async(self): assert str(ex.value.status_code) == "400" assert ex.value.message is not None - @RoomsAsyncTestCase.await_prepared_test + @recorded_by_proxy_async async def test_add_participants_wrongRoleName_async(self): # room with no attributes async with self.rooms_client: @@ -428,7 +434,7 @@ async def test_add_participants_wrongRoleName_async(self): assert str(ex.value.status_code) == "400" assert ex.value.message is not None - @RoomsAsyncTestCase.await_prepared_test + @recorded_by_proxy_async async def test_update_room_incorrect_roomId_async(self): # try to update room with random room_id with pytest.raises(HttpResponseError) as ex: @@ -441,7 +447,7 @@ async def test_update_room_incorrect_roomId_async(self): assert str(ex.value.status_code) == "404" assert ex.value.message is not None - @RoomsAsyncTestCase.await_prepared_test + @recorded_by_proxy_async async def test_update_room_deleted_room_async(self): # create a room -> delete it -> try to update it async with self.rooms_client: @@ -461,13 +467,11 @@ async def test_update_room_deleted_room_async(self): def verify_successful_room_response(self, response, valid_from=None, valid_until=None, room_id=None): if room_id is not None: - self.assertEqual(room_id, response.id) + assert room_id == response.id if valid_from is not None: - self.assertEqual( - valid_from.replace(tzinfo=None), - datetime.strptime(response.valid_from, "%Y-%m-%dT%H:%M:%S.%f%z").replace(tzinfo=None)) + assert valid_from.replace(tzinfo=None) == datetime.strptime( + response.valid_from, "%Y-%m-%dT%H:%M:%S.%f%z").replace(tzinfo=None) if valid_until is not None: - self.assertEqual( - valid_until.replace(tzinfo=None), - datetime.strptime(response.valid_until, "%Y-%m-%dT%H:%M:%S.%f%z").replace(tzinfo=None)) + assert valid_until.replace(tzinfo=None) == datetime.strptime( + response.valid_until, "%Y-%m-%dT%H:%M:%S.%f%z").replace(tzinfo=None) assert response.created_at is not None diff --git a/sdk/communication/azure-communication-rooms/tests/testcase.py b/sdk/communication/azure-communication-rooms/tests/testcase.py deleted file mode 100644 index 5d5786001bd0..000000000000 --- a/sdk/communication/azure-communication-rooms/tests/testcase.py +++ /dev/null @@ -1,37 +0,0 @@ -# coding: utf-8 -# ------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -------------------------------------------------------------------------- -import os -import functools -from azure.communication.rooms._shared.utils import parse_connection_str -from _shared.testcase import CommunicationTestCase -from devtools_testutils import PowerShellPreparer -from azure.communication.rooms import RoomsClient - -class RoomsTestCase(CommunicationTestCase): - def __init__(self, method_name, **kwargs): - super(RoomsTestCase, self).__init__(method_name, **kwargs) - def create_client(self, endpoint): - credential = self.get_credential(RoomsClient) - return self.create_client_from_credential( - RoomsClient, - credential=credential, - endpoint=endpoint, - ) - def _get_connection_str(self, resource_type): - if self.is_playback(): - return "endpoint=https://sanitized.communication.azure.com/;accesskey=fake===" - else: - con_str = os.getenv('COMMUNICATION_CONNECTION_STRING_ROOMS') - if con_str == None: - return super(RoomsTestCase, self)._get_connection_str(resource_type) - return con_str - -RoomsPowerShellPreparer = functools.partial( - PowerShellPreparer, - "rooms", - rooms_endpoint="https://myservice.azure.com" -) diff --git a/sdk/communication/azure-communication-rooms/tests/testcase_async.py b/sdk/communication/azure-communication-rooms/tests/testcase_async.py deleted file mode 100644 index 3ac3065ad40e..000000000000 --- a/sdk/communication/azure-communication-rooms/tests/testcase_async.py +++ /dev/null @@ -1,30 +0,0 @@ -# coding: utf-8 -# ------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -------------------------------------------------------------------------- -import os -from _shared.asynctestcase import AsyncCommunicationTestCase -from azure.communication.rooms.aio import RoomsClient - - -class RoomsAsyncTestCase(AsyncCommunicationTestCase): - def __init__(self, method_name, **kwargs): - super(RoomsAsyncTestCase, self).__init__(method_name, **kwargs) - - def create_client(self, endpoint): - credential = self.get_credential(RoomsClient, is_async=True) - return self.create_client_from_credential( - RoomsClient, - credential=credential, - endpoint=endpoint, - ) - def _get_connection_str(self, resource_type): - if self.is_playback(): - return "endpoint=https://sanitized.communication.azure.com/;accesskey=fake===" - else: - con_str = os.getenv('COMMUNICATION_CONNECTION_STRING_ROOMS') - if con_str == None: - return super(RoomsAsyncTestCase, self)._get_connection_str(resource_type) - return con_str diff --git a/sdk/communication/azure-communication-rooms/tests/unittest_helpers.py b/sdk/communication/azure-communication-rooms/tests/unittest_helpers.py deleted file mode 100644 index 45142b807611..000000000000 --- a/sdk/communication/azure-communication-rooms/tests/unittest_helpers.py +++ /dev/null @@ -1,21 +0,0 @@ -# ------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -------------------------------------------------------------------------- -import json - -from unittest import mock - - -def mock_response(status_code=200, headers=None, json_payload=None): - response = mock.Mock(status_code=status_code, headers=headers or {}) - if json_payload is not None: - response.text = lambda encoding=None: json.dumps(json_payload) - response.headers["content-type"] = "application/json" - response.content_type = "application/json" - else: - response.text = lambda encoding=None: "" - response.headers["content-type"] = "text/plain" - response.content_type = "text/plain" - return response \ No newline at end of file