From b48e4c50476632ff96aec02c53c0e80542a4068e Mon Sep 17 00:00:00 2001 From: luc <44377201+LuChen-Microsoft@users.noreply.github.com> Date: Wed, 4 May 2022 12:36:09 -0700 Subject: [PATCH] Update autorest config (#28558) * update autorest config * update recordings * fix swagger Rename for SendTypingNotificationRequest --- ...reCommunicationChatServiceImplBuilder.java | 2 +- .../chat/implementation/ChatThreadsImpl.java | 12 +- ...hreadWithoutSettingRepeatabilityID[1].json | 108 +++---- ...ntTest.canCreateThreadWithResponse[1].json | 87 +++--- ...hatAsyncClientTest.canCreateThread[1].json | 85 +++--- ...st.canDeleteChatThreadWithResponse[1].json | 104 +++---- ...syncClientTest.canDeleteChatThread[1].json | 104 +++---- ...cClientTest.canGetChatThreadClient[1].json | 66 +++-- ...nGetExistingChatThreadWithResponse[1].json | 108 +++---- ...lientTest.canGetExistingChatThread[1].json | 108 +++---- ....canListChatThreadsWithMaxPageSize[1].json | 66 +++-- ...AsyncClientTest.canListChatThreads[1].json | 66 +++-- ...alidParticipantsOnCreateChatThread[1].json | 6 +- ...ncClientTest.canRepeatCreateThread[1].json | 129 +++++---- ....cannotCreateThreadWithNullOptions[1].json | 66 +++-- ...eThreadWithResponseWithNullOptions[1].json | 66 +++-- ...t.cannotDeleteChatThreadWithNullId[1].json | 66 +++-- ...teChatThreadWithResponseWithNullId[1].json | 66 +++-- ...ntTest.canCreateThreadWithResponse[1].json | 87 +++--- .../ChatClientTest.canCreateThread[1].json | 85 +++--- ...st.canDeleteChatThreadWithResponse[1].json | 104 +++---- ...ChatClientTest.canDeleteChatThread[1].json | 104 +++---- ...tClientTest.canGetChatThreadClient[1].json | 66 +++-- ....canListChatThreadsWithMaxPageSize[1].json | 129 +++++---- .../ChatClientTest.canListChatThreads[1].json | 129 +++++---- ...st.canAddListAndRemoveMembersAsync[1].json | 163 ++++++----- ...stAndRemoveMembersWithOptionsAsync[1].json | 163 ++++++----- ...tAndRemoveMembersWithResponseAsync[1].json | 163 ++++++----- ...stWithContextAndRemoveMembersAsync[1].json | 108 +++---- ....canAddListWithContextMembersAsync[1].json | 127 +++++---- ...tTest.canAddSingleParticipantAsync[1].json | 108 +++---- ...SingleParticipantWithResponseAsync[1].json | 108 +++---- ...nDeleteExistingMessageWithResponse[1].json | 125 ++++---- ...lientTest.canDeleteExistingMessage[1].json | 123 ++++---- ...entTest.canListMessagesWithOptions[1].json | 87 +++--- ...eadAsyncClientTest.canListMessages[1].json | 87 +++--- ...est.canListReadReceiptsWithContext[1].json | 6 +- ...est.canListReadReceiptsWithOptions[1].json | 6 +- ...syncClientTest.canListReadReceipts[1].json | 6 +- ...est.canSendReadReceiptWithResponse[1].json | 126 +++++---- ...AsyncClientTest.canSendReadReceipt[1].json | 126 +++++---- ...ientTest.canSendThenGetHtmlMessage[1].json | 129 +++++---- ....canSendThenGetMessageWithResponse[1].json | 127 +++++---- ...ncClientTest.canSendThenGetMessage[1].json | 129 +++++---- ...endThenListReadReceiptsWithOptions[1].json | 87 +++--- ...ndThenListReadReceiptsWithResponse[1].json | 85 +++--- ...ntTest.canSendThenListReadReceipts[1].json | 87 +++--- ...otificationWithResponseWithOptions[1].json | 105 +++---- ...SendTypingNotificationWithResponse[1].json | 105 +++---- ...ientTest.canSendTypingNotification[1].json | 105 +++---- ...nUpdateExistingMessageWithResponse[1].json | 146 +++++----- ...lientTest.canUpdateExistingMessage[1].json | 87 +++--- ...ntTest.canUpdateThreadWithResponse[1].json | 125 ++++---- ...eadAsyncClientTest.canUpdateThread[1].json | 87 +++--- ...nnotAddParticipantsWithNullOptions[1].json | 87 +++--- ...cipantsWithResponseWithNullOptions[1].json | 87 +++--- ...ientTest.cannotDeleteMessageNullId[1].json | 87 +++--- ...notDeleteMessageWithRepsonseNullId[1].json | 87 +++--- ...cClientTest.cannotGetMessageNullId[1].json | 87 +++--- ....cannotGetMessageWithReponseNullId[1].json | 87 +++--- ...articipantWithNullUserWithResponse[1].json | 87 +++--- ...annotRemoveParticipantWithNullUser[1].json | 87 +++--- ...t.cannotSendMessageWithNullOptions[1].json | 87 +++--- ...MessageWithResponseWithNullOptions[1].json | 87 +++--- ...otSendReadReceiptWithNullMessageId[1].json | 87 +++--- ...ceiptWithResponseWithNullMessageId[1].json | 83 +++--- ...ientTest.cannotUpdateMessageNullId[1].json | 87 +++--- ...notUpdateMessageWithResponseNullId[1].json | 87 +++--- ...st.cannotUpdateThreadWithNullTopic[1].json | 87 +++--- ...ateThreadWithResponseWithNullTopic[1].json | 87 +++--- ...ntTest.throwsExceptionOnBadRequest[1].json | 6 +- ...ddListAndRemoveMembersWithResponse[1].json | 243 ++++++++-------- ...stAndRemoveParticipantsWithOptions[1].json | 266 +++++++++--------- ...tAndRemoveParticipantsWithResponse[1].json | 148 +++++----- ...st.canAddListAndRemoveParticipants[1].json | 245 ++++++++-------- ...anAddSingleParticipantWithResponse[1].json | 190 +++++++------ ...ClientTest.canAddSingleParticipant[1].json | 188 +++++++------ ...nDeleteExistingMessageWithResponse[1].json | 165 ++++++----- ...lientTest.canDeleteExistingMessage[1].json | 163 ++++++----- ...etChatThreadPropertiesWithResponse[1].json | 148 +++++----- ...entTest.canGetChatThreadProperties[1].json | 150 +++++----- ...est.canListMessagesWithOptionsSync[1].json | 190 +++++++------ ...entTest.canListMessagesWithOptions[1].json | 192 +++++++------ ...est.canListReadReceiptsWithContext[1].json | 6 +- ...readClientTest.canListReadReceipts[1].json | 6 +- ...dClientTest.canSendReadReceiptSync[1].json | 168 +++++------ ...canSendReadReceiptWithResponseSync[1].json | 166 ++++++----- ....canSendThenGetMessageWithResponse[1].json | 169 +++++------ ...adClientTest.canSendThenGetMessage[1].json | 171 +++++------ ...endThenListReadReceiptsWithOptions[1].json | 189 +++++++------ ...ndThenListReadReceiptsWithResponse[1].json | 185 ++++++------ ...ntTest.canSendThenListReadReceipts[1].json | 189 +++++++------ ...otificationWithResponseWithOptions[1].json | 147 +++++----- ...SendTypingNotificationWithResponse[1].json | 145 +++++----- ...ientTest.canSendTypingNotification[1].json | 147 +++++----- ...nUpdateExistingMessageWithResponse[1].json | 188 +++++++------ ...lientTest.canUpdateExistingMessage[1].json | 188 +++++++------ ...ntTest.canUpdateThreadWithResponse[1].json | 167 +++++------ ...atThreadClientTest.canUpdateThread[1].json | 165 ++++++----- ...ntTest.throwsExceptionOnBadRequest[1].json | 6 +- .../swagger/README.md | 5 +- 101 files changed, 5887 insertions(+), 5257 deletions(-) diff --git a/sdk/communication/azure-communication-chat/src/main/java/com/azure/communication/chat/implementation/AzureCommunicationChatServiceImplBuilder.java b/sdk/communication/azure-communication-chat/src/main/java/com/azure/communication/chat/implementation/AzureCommunicationChatServiceImplBuilder.java index eab653bbd6e4e..0a480800bf8c2 100644 --- a/sdk/communication/azure-communication-chat/src/main/java/com/azure/communication/chat/implementation/AzureCommunicationChatServiceImplBuilder.java +++ b/sdk/communication/azure-communication-chat/src/main/java/com/azure/communication/chat/implementation/AzureCommunicationChatServiceImplBuilder.java @@ -190,7 +190,7 @@ public AzureCommunicationChatServiceImplBuilder addPolicy(HttpPipelinePolicy cus */ public AzureCommunicationChatServiceImpl buildClient() { if (apiVersion == null) { - this.apiVersion = "2021-04-05-preview6"; + this.apiVersion = "2021-09-07"; } if (pipeline == null) { this.pipeline = createHttpPipeline(); diff --git a/sdk/communication/azure-communication-chat/src/main/java/com/azure/communication/chat/implementation/ChatThreadsImpl.java b/sdk/communication/azure-communication-chat/src/main/java/com/azure/communication/chat/implementation/ChatThreadsImpl.java index 1a138f5b954aa..5a964289c453c 100644 --- a/sdk/communication/azure-communication-chat/src/main/java/com/azure/communication/chat/implementation/ChatThreadsImpl.java +++ b/sdk/communication/azure-communication-chat/src/main/java/com/azure/communication/chat/implementation/ChatThreadsImpl.java @@ -674,7 +674,7 @@ public Response sendChatMessageWithResponse( * Gets a list of messages from a thread. * * @param chatThreadId The thread id of the message. - * @param maxPageSize The maximum number of messages to be returned per page. The limit can be found at https://docs.microsoft.com/en-us/azure/communication-services/concepts/service-limits#size-limits. + * @param maxPageSize The maximum number of messages to be returned per page. * @param startTime The earliest point in time to get messages up to. The timestamp should be in RFC3339 format: * `yyyy-MM-ddTHH:mm:ssZ`. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -711,7 +711,7 @@ public Mono> listChatMessagesSinglePageAsync( * Gets a list of messages from a thread. * * @param chatThreadId The thread id of the message. - * @param maxPageSize The maximum number of messages to be returned per page. The limit can be found at https://docs.microsoft.com/en-us/azure/communication-services/concepts/service-limits#size-limits. + * @param maxPageSize The maximum number of messages to be returned per page. * @param startTime The earliest point in time to get messages up to. The timestamp should be in RFC3339 format: * `yyyy-MM-ddTHH:mm:ssZ`. * @param context The context to associate with this operation. @@ -747,7 +747,7 @@ public Mono> listChatMessagesSinglePageAsync( * Gets a list of messages from a thread. * * @param chatThreadId The thread id of the message. - * @param maxPageSize The maximum number of messages to be returned per page. The limit can be found at https://docs.microsoft.com/en-us/azure/communication-services/concepts/service-limits#size-limits. + * @param maxPageSize The maximum number of messages to be returned per page. * @param startTime The earliest point in time to get messages up to. The timestamp should be in RFC3339 format: * `yyyy-MM-ddTHH:mm:ssZ`. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -785,7 +785,7 @@ public PagedFlux listChatMessagesAsync(String chatThreadId) { * Gets a list of messages from a thread. * * @param chatThreadId The thread id of the message. - * @param maxPageSize The maximum number of messages to be returned per page. The limit can be found at https://docs.microsoft.com/en-us/azure/communication-services/concepts/service-limits#size-limits. + * @param maxPageSize The maximum number of messages to be returned per page. * @param startTime The earliest point in time to get messages up to. The timestamp should be in RFC3339 format: * `yyyy-MM-ddTHH:mm:ssZ`. * @param context The context to associate with this operation. @@ -806,7 +806,7 @@ public PagedFlux listChatMessagesAsync( * Gets a list of messages from a thread. * * @param chatThreadId The thread id of the message. - * @param maxPageSize The maximum number of messages to be returned per page. The limit can be found at https://docs.microsoft.com/en-us/azure/communication-services/concepts/service-limits#size-limits. + * @param maxPageSize The maximum number of messages to be returned per page. * @param startTime The earliest point in time to get messages up to. The timestamp should be in RFC3339 format: * `yyyy-MM-ddTHH:mm:ssZ`. * @throws IllegalArgumentException thrown if parameters fail the validation. @@ -840,7 +840,7 @@ public PagedIterable listChatMessages(String chatThreadId) { * Gets a list of messages from a thread. * * @param chatThreadId The thread id of the message. - * @param maxPageSize The maximum number of messages to be returned per page. The limit can be found at https://docs.microsoft.com/en-us/azure/communication-services/concepts/service-limits#size-limits. + * @param maxPageSize The maximum number of messages to be returned per page. * @param startTime The earliest point in time to get messages up to. The timestamp should be in RFC3339 format: * `yyyy-MM-ddTHH:mm:ssZ`. * @param context The context to associate with this operation. diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.canCreateNewThreadWithoutSettingRepeatabilityID[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.canCreateNewThreadWithoutSettingRepeatabilityID[1].json index 82b21ec4df68d..e5518f162b688 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.canCreateNewThreadWithoutSettingRepeatabilityID[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.canCreateNewThreadWithoutSettingRepeatabilityID[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "678744af-46ca-498f-893d-3cf6eae8aab1", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "13ce3c1d-8329-44ae-af8e-f539e5fb6e74", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003011Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000084wg", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:51:51 GMT", + "Date" : "Wed, 04 May 2022 00:30:12 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "60ms", - "MS-CV" : "+DXXxk4d/ki+2kuowhdXSg.0", - "X-Azure-Ref" : "0hz45YQAAAACqCI9sfA4kSIyBnkk6dbJ3V1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-e5f8-fcd8-a53a0d0000e3\"}}", - "x-ms-client-request-id" : "678744af-46ca-498f-893d-3cf6eae8aab1", + "X-Processing-Time" : "89ms", + "MS-CV" : "4Z328ValXEKhBw32vvjC5A.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-3fac-3ef0-8b3a0d0028dc\"}}", + "x-ms-client-request-id" : "13ce3c1d-8329-44ae-af8e-f539e5fb6e74", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,98 +29,103 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "fc08f96c-0437-4e22-a6e1-d265f1a0e27d", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "ae4f967c-b637-46bd-9dbf-b0931041863e", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003014Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000db5b", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:51:51 GMT", + "Date" : "Wed, 04 May 2022 00:30:14 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "86ms", - "MS-CV" : "hN7fX8ZoF0O4+fB9paPdzg.0", - "X-Azure-Ref" : "0hz45YQAAAAAM74VZPmuVRLmIaTsbkT50V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-e682-a8f4-2348220001ad\"}}", - "x-ms-client-request-id" : "fc08f96c-0437-4e22-a6e1-d265f1a0e27d", + "X-Processing-Time" : "94ms", + "MS-CV" : "j/Rb1hjcaEmHiZ9Y+0Mruw.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-415b-69f0-553a0d002996\"}}", + "x-ms-client-request-id" : "ae4f967c-b637-46bd-9dbf-b0931041863e", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-e5f8-fcd8-a53a0d0000e3/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-3fac-3ef0-8b3a0d0028dc/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "c1493557-9b33-4734-94e5-7e9bebd72ef2", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "63ac8dbc-7098-4e6e-a5a4-56be1ec2cb77", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003012Z-3knzm6g59904z2v1e8tfw6gqqn000000060g00000000851s", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:51:51 GMT", + "Date" : "Wed, 04 May 2022 00:30:13 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "136ms", - "MS-CV" : "pjS7AhPJ80+NUKhsqIV83Q.0", - "X-Azure-Ref" : "0hz45YQAAAABJ+T7gpETIRLPyeMyB2eWYV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:51:52.0877011+00:00\"}", - "x-ms-client-request-id" : "c1493557-9b33-4734-94e5-7e9bebd72ef2", + "X-Processing-Time" : "157ms", + "MS-CV" : "RHChBIElN0mShY4mQ/yqaw.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:30:22.6069542+00:00\"}", + "x-ms-client-request-id" : "63ac8dbc-7098-4e6e-a5a4-56be1ec2cb77", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "7b92622e-5b19-4de2-a0d8-722a8420e7cd", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "c0c5a682-a9e2-46db-9dda-1f7b5ebf1ea2", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003015Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dbax", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:51:51 GMT", + "Date" : "Wed, 04 May 2022 00:30:16 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "432ms", - "MS-CV" : "eYA+dYtTykmkO5beMWU+QA.0", - "X-Azure-Ref" : "0iD45YQAAAAB07wxWwqioSr+M0CoGHXzFV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:6hMLComr2K6Ovpu-69iCiwx4Kc0VC0v9yw9R6g6J9nI1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:51:52Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-e5f8-fcd8-a53a0d0000e3\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-e5f8-fcd8-a53a0d0000e3\"}}}}", + "X-Processing-Time" : "622ms", + "MS-CV" : "wBiBVvYCLEmQhO5oW9CFPQ.0", + "Body" : "{\"chatThread\":{\"id\":\"19:oOaa1a9JR-1NAbL_C1G5fnMNIse7j4R2QFcIYK7QqXQ1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:30:22Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-3fac-3ef0-8b3a0d0028dc\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-3fac-3ef0-8b3a0d0028dc\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A6hMLComr2K6Ovpu-69iCiwx4Kc0VC0v9yw9R6g6J9nI1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AoOaa1a9JR-1NAbL_C1G5fnMNIse7j4R2QFcIYK7QqXQ1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "3854be30-ff96-47f0-b22a-2b2738ffa7a8", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "482b432d-8b5b-4431-bea8-beb6701f6fd5", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003013Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000085a6", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:51:52 GMT", + "Date" : "Wed, 04 May 2022 00:30:14 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "356ms", - "MS-CV" : "QB80uphyd0GhVHk1tuIDvg.0", - "X-Azure-Ref" : "0iD45YQAAAABzCGcgEHWQSryG7qlH7UWeV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:O5-3SAqSg0pSHRYn2tS9lgsX0YfE1Ab8DMPJVjOCeBE1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:51:52Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-e5f8-fcd8-a53a0d0000e3\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-e5f8-fcd8-a53a0d0000e3\"}}}}", + "X-Processing-Time" : "595ms", + "MS-CV" : "hX2de6KR8EGD86fMtWPh7Q.0", + "Body" : "{\"chatThread\":{\"id\":\"19:Qs2-2JuY7s6S_iWdZnyKzZbtbd750GhggGQJgvs_l801@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:30:23Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-3fac-3ef0-8b3a0d0028dc\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-3fac-3ef0-8b3a0d0028dc\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AO5-3SAqSg0pSHRYn2tS9lgsX0YfE1Ab8DMPJVjOCeBE1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AQs2-2JuY7s6S_iWdZnyKzZbtbd750GhggGQJgvs_l801@thread.v2" }, "Exception" : null } ], diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.canCreateThreadWithResponse[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.canCreateThreadWithResponse[1].json index 2cb68ff5d9a64..a98baa3f0970a 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.canCreateThreadWithResponse[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.canCreateThreadWithResponse[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "9426f770-6737-4dac-b74d-34954e0b8e2d", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "722f7cc1-2d84-436d-8d0e-97d95c6ed1b7", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003004Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000d9hd", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:51:45 GMT", + "Date" : "Wed, 04 May 2022 00:30:04 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "96ms", - "MS-CV" : "NR7YQdvi4ECc7TIq+hVEwg.0", - "X-Azure-Ref" : "0gj45YQAAAAAVxi9RzwdmRqrQo5yGw7aeV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-d16d-a8f4-2348220001a8\"}}", - "x-ms-client-request-id" : "9426f770-6737-4dac-b74d-34954e0b8e2d", + "X-Processing-Time" : "88ms", + "MS-CV" : "7zazrp+eekCAbU+q1EQYTQ.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-1a92-7bfa-553a0d002297\"}}", + "x-ms-client-request-id" : "722f7cc1-2d84-436d-8d0e-97d95c6ed1b7", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,74 +29,78 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "d850a187-4070-4f5f-a803-c001b7c234c6", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "ddc1aa90-fe20-4797-a82f-f3bff31a5a06", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003002Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008367", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:51:46 GMT", + "Date" : "Wed, 04 May 2022 00:30:02 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "67ms", - "MS-CV" : "IH27L4d36kW0BdchaNHNpw.0", - "X-Azure-Ref" : "0gj45YQAAAADIVPcHr3jaQ5/E4LzomrBcV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-d22b-fcd8-a53a0d0000de\"}}", - "x-ms-client-request-id" : "d850a187-4070-4f5f-a803-c001b7c234c6", + "X-Processing-Time" : "88ms", + "MS-CV" : "OosVPnvgB02e/Ce5pqf9xw.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-1c1d-69f0-553a0d002993\"}}", + "x-ms-client-request-id" : "ddc1aa90-fe20-4797-a82f-f3bff31a5a06", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-d16d-a8f4-2348220001a8/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-1a92-7bfa-553a0d002297/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "ac903ef6-1f4d-4584-9056-56441c26dbea", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "62dbaf57-79ab-4411-8f72-30df4e7c08eb", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003005Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000d9pq", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "803", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:51:46 GMT", + "Date" : "Wed, 04 May 2022 00:30:05 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "153ms", - "MS-CV" : "DQzKmuvK5km6aM5qWZuj2w.0", - "X-Azure-Ref" : "0gj45YQAAAAAwM42BXBwJQ6b7RpfzehBYV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:51:46.9100994+00:00\"}", - "x-ms-client-request-id" : "ac903ef6-1f4d-4584-9056-56441c26dbea", + "X-Processing-Time" : "160ms", + "MS-CV" : "htu4mR5swUaFuw/YcQFESQ.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:30:13.097254+00:00\"}", + "x-ms-client-request-id" : "62dbaf57-79ab-4411-8f72-30df4e7c08eb", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "695b2a47-4917-4e40-8ded-78bc93678143", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "e23289c9-e284-43e8-ae19-1ea3ca4104f5", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003003Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000083cb", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:51:46 GMT", + "Date" : "Wed, 04 May 2022 00:30:04 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "355ms", - "MS-CV" : "cjw06rg2d0G0RY1LePhVAg.0", - "X-Azure-Ref" : "0gj45YQAAAAC1B1b1pnXhR5Nw0Wr0Ei4GV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:5LNSPxZV3bUxbvDEmvfw8ycz0DhaYvgkMWtAtnjGR6c1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:51:47Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-d16d-a8f4-2348220001a8\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-d16d-a8f4-2348220001a8\"}}}}", + "X-Processing-Time" : "569ms", + "MS-CV" : "LVq5xL/3fE6nKU0ywOMYNA.0", + "Body" : "{\"chatThread\":{\"id\":\"19:r8xJYS5cUg1VFRJM2ywb6Y2VlasJzqRcqaEA5ZrGHXY1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:30:13Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-1a92-7bfa-553a0d002297\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-1a92-7bfa-553a0d002297\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A5LNSPxZV3bUxbvDEmvfw8ycz0DhaYvgkMWtAtnjGR6c1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3Ar8xJYS5cUg1VFRJM2ywb6Y2VlasJzqRcqaEA5ZrGHXY1@thread.v2" }, "Exception" : null } ], diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.canCreateThread[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.canCreateThread[1].json index 911a478eaa893..f304d017f4b9a 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.canCreateThread[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.canCreateThread[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "8bccb03e-1e8e-4f23-ac00-50ccb356a458", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "32d838bf-190e-4c56-b29f-c3a82aa91501", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003006Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000083ue", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:51:47 GMT", + "Date" : "Wed, 04 May 2022 00:30:06 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "63ms", - "MS-CV" : "ciO6l5z8pUS4N/0uj4vbCw.0", - "X-Azure-Ref" : "0hD45YQAAAAD3TUCxVVkrS7ke8NXBKqv7V1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-d888-fcd8-a53a0d0000e0\"}}", - "x-ms-client-request-id" : "8bccb03e-1e8e-4f23-ac00-50ccb356a458", + "X-Processing-Time" : "85ms", + "MS-CV" : "UkfVxmPRNEmhKhFPSfyHLA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-298c-fa5d-573a0d002940\"}}", + "x-ms-client-request-id" : "32d838bf-190e-4c56-b29f-c3a82aa91501", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,74 +29,78 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "6b4a5fb6-6ea0-42f3-89aa-f6c1ede53153", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "bf202da9-4e3c-41a2-a945-9e614e53200f", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003008Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000da5g", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:51:47 GMT", + "Date" : "Wed, 04 May 2022 00:30:09 GMT", "Strict-Transport-Security" : "max-age=2592000", "X-Processing-Time" : "87ms", - "MS-CV" : "tnaungx33UeW0vViSrrtNw.0", - "X-Azure-Ref" : "0hD45YQAAAABZEJKg7RiZTpmUJ90SYeWlV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-d920-a8f4-2348220001aa\"}}", - "x-ms-client-request-id" : "6b4a5fb6-6ea0-42f3-89aa-f6c1ede53153", + "MS-CV" : "m1au5XnHFEu7vC/LeTzEDA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-2b7a-655d-573a0d00244c\"}}", + "x-ms-client-request-id" : "bf202da9-4e3c-41a2-a945-9e614e53200f", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-d888-fcd8-a53a0d0000e0/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-298c-fa5d-573a0d002940/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "59274025-985d-47af-9a67-c7c24cf15fd8", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "3091fc54-057d-4168-b833-1b70c5187191", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003006Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000083z7", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:51:48 GMT", + "Date" : "Wed, 04 May 2022 00:30:07 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "135ms", - "MS-CV" : "uGW8CxhawUapEa1M61iqpg.0", - "X-Azure-Ref" : "0hD45YQAAAACf0ZoupMh0TYXy9L3Ushl5V1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:51:48.6603678+00:00\"}", - "x-ms-client-request-id" : "59274025-985d-47af-9a67-c7c24cf15fd8", + "X-Processing-Time" : "165ms", + "MS-CV" : "/ezA1Y9MYESl+/Mp7gCZGw.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:30:16.9905115+00:00\"}", + "x-ms-client-request-id" : "3091fc54-057d-4168-b833-1b70c5187191", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "dee36b42-a691-4311-b57c-416ba6216a55", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "25d2559c-a33d-49f9-80e0-938df2e056b8", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003009Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000da99", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:51:48 GMT", + "Date" : "Wed, 04 May 2022 00:30:10 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "584ms", - "MS-CV" : "5T/N6UjBsEGMkCvbnnfu+w.0", - "X-Azure-Ref" : "0hD45YQAAAACzhNt5sssYQZKpYSml4sA1V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:AWdDbVu1GmAqih4f9MNtRUMf6n_1Y83FI1UrnJpuAgg1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:51:48Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-d888-fcd8-a53a0d0000e0\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-d888-fcd8-a53a0d0000e0\"}}}}", + "X-Processing-Time" : "444ms", + "MS-CV" : "+eu1sbQRyEy+IK2NaxJPPw.0", + "Body" : "{\"chatThread\":{\"id\":\"19:p2hMGSgzgb2J4mSJJKlKFEh-f7qA2YTLNXtd8iIWvE01@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:30:17Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-298c-fa5d-573a0d002940\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-298c-fa5d-573a0d002940\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AAWdDbVu1GmAqih4f9MNtRUMf6n_1Y83FI1UrnJpuAgg1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3Ap2hMGSgzgb2J4mSJJKlKFEh-f7qA2YTLNXtd8iIWvE01@thread.v2" }, "Exception" : null } ], diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.canDeleteChatThreadWithResponse[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.canDeleteChatThreadWithResponse[1].json index b7f9e972ee20c..f4ef4fa023d74 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.canDeleteChatThreadWithResponse[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.canDeleteChatThreadWithResponse[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "f8699913-2e90-4dda-9f6a-f3a968805dbc", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "fb161df1-ed10-48f6-bc36-378ca2ed28e5", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T002956Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000d82u", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:51:38 GMT", + "Date" : "Wed, 04 May 2022 00:29:56 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "88ms", - "MS-CV" : "pXxscFG8xEyA7WRYZ28LQw.0", - "X-Azure-Ref" : "0ez45YQAAAAAuoYiu8N7GS5fIkBZcSssGV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-b679-a8f4-2348220001a5\"}}", - "x-ms-client-request-id" : "f8699913-2e90-4dda-9f6a-f3a968805dbc", + "X-Processing-Time" : "87ms", + "MS-CV" : "ISr8rYG1XEKtAHSeXV9/KA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5a-fa02-80f5-8b3a0d0025ba\"}}", + "x-ms-client-request-id" : "fb161df1-ed10-48f6-bc36-378ca2ed28e5", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,93 +29,98 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "58461d8f-4b5b-457a-834b-e3bc90941b7a", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "cf5a7ad6-8e7d-4815-890b-7464c97ea29a", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T002954Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000081xd", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:51:39 GMT", + "Date" : "Wed, 04 May 2022 00:29:54 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "63ms", - "MS-CV" : "PGhfp00O1kSDA/7o3hnjGw.0", - "X-Azure-Ref" : "0ez45YQAAAAAFQHWM1cefQLs3mv46AZ0hV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-b716-fcd8-a53a0d0000db\"}}", - "x-ms-client-request-id" : "58461d8f-4b5b-457a-834b-e3bc90941b7a", + "X-Processing-Time" : "84ms", + "MS-CV" : "iS1pbUj6lkGs+IMG1LkNMg.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5a-fb91-defd-8b3a0d00288e\"}}", + "x-ms-client-request-id" : "cf5a7ad6-8e7d-4815-890b-7464c97ea29a", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-b679-a8f4-2348220001a5/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5a-fa02-80f5-8b3a0d0025ba/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "cc3023df-38da-4444-bd47-db4807ee79da", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "978b58a4-9539-496c-a8c9-17c02fd9bdbc", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T002957Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000d87g", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "803", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:51:39 GMT", + "Date" : "Wed, 04 May 2022 00:29:57 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "156ms", - "MS-CV" : "bz2hlYhyXUum4C7ZRaD+Jw.0", - "X-Azure-Ref" : "0ez45YQAAAAB6xUQ4dpsdQqgHAI0b3jn1V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:51:39.9562515+00:00\"}", - "x-ms-client-request-id" : "cc3023df-38da-4444-bd47-db4807ee79da", + "X-Processing-Time" : "155ms", + "MS-CV" : "v7fZDjL9akusFnvHJVSgnQ.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:30:04.895162+00:00\"}", + "x-ms-client-request-id" : "978b58a4-9539-496c-a8c9-17c02fd9bdbc", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "167af32c-9a1d-4f80-8bb3-24e4d9864c55", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "a385759b-76d1-4d27-b1df-0a92fa18223c", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T002955Z-3knzm6g59904z2v1e8tfw6gqqn000000060g00000000824k", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:51:39 GMT", + "Date" : "Wed, 04 May 2022 00:29:56 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "350ms", - "MS-CV" : "rA4IrOdaNkCFg5u0kRy4vQ.0", - "X-Azure-Ref" : "0fD45YQAAAACQSfBJunnbS5I1tlRLkKlRV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:IUXNcwS65KHhcFwxF5Ym3zfv-JagkOC2d7efo8EMpDI1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:51:40Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-b679-a8f4-2348220001a5\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-b679-a8f4-2348220001a5\"}}}}", + "X-Processing-Time" : "607ms", + "MS-CV" : "9HI/3pAbjEmrKTpP+/IJ1Q.0", + "Body" : "{\"chatThread\":{\"id\":\"19:AIryVxzLRo40NNE2WGBUoT_fZbqiBd07fryxBoGVl2I1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:30:05Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5a-fa02-80f5-8b3a0d0025ba\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5a-fa02-80f5-8b3a0d0025ba\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AIUXNcwS65KHhcFwxF5Ym3zfv-JagkOC2d7efo8EMpDI1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AAIryVxzLRo40NNE2WGBUoT_fZbqiBd07fryxBoGVl2I1@thread.v2" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:IUXNcwS65KHhcFwxF5Ym3zfv-JagkOC2d7efo8EMpDI1@thread.v2?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:AIryVxzLRo40NNE2WGBUoT_fZbqiBd07fryxBoGVl2I1@thread.v2?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "b5913ec0-64d4-4323-87dd-29be05720e2a" + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "96afec41-3661-4feb-a386-601a23b30809" }, "Response" : { + "x-azure-ref" : "20220504T002958Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000d8k4", "X-Cache" : "CONFIG_NOCACHE", "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "425ms", - "MS-CV" : "M9B0j81T40W5Dm/PrGkt4Q.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "X-Processing-Time" : "188ms", + "Connection" : "keep-alive", + "MS-CV" : "ULcLW17sZECe9UPRh5yVMw.0", "retry-after" : "0", - "X-Azure-Ref" : "0fD45YQAAAABd6BR+93hkSon8hGAcEjKbV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Wed, 08 Sep 2021 22:51:40 GMT" + "Date" : "Wed, 04 May 2022 00:29:59 GMT" }, "Exception" : null } ], diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.canDeleteChatThread[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.canDeleteChatThread[1].json index fbfd6d1197b6a..7fd5552a748a8 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.canDeleteChatThread[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.canDeleteChatThread[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "d48cdef9-d57e-433f-878a-b188956e2066", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "66aa305b-b53e-4e6a-8fd3-2c28dc7a8953", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T002951Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000081c1", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:51:37 GMT", + "Date" : "Wed, 04 May 2022 00:29:51 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "62ms", - "MS-CV" : "P/DGm5uuUEmA4VbktYAyrA.0", - "X-Azure-Ref" : "0ej45YQAAAAB9pz6MhU6ST6an34C6+FcIV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-b143-fcd8-a53a0d0000da\"}}", - "x-ms-client-request-id" : "d48cdef9-d57e-433f-878a-b188956e2066", + "X-Processing-Time" : "91ms", + "MS-CV" : "ep2YvSGn70etIws0orJuDQ.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5a-efa9-80f5-8b3a0d0025b9\"}}", + "x-ms-client-request-id" : "66aa305b-b53e-4e6a-8fd3-2c28dc7a8953", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,93 +29,98 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "fd378b76-a608-47b9-8255-c16687821377", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "281fda99-e40e-486e-933b-eea3eaca2aa5", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T002953Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000d7p5", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:51:37 GMT", + "Date" : "Wed, 04 May 2022 00:29:54 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "89ms", - "MS-CV" : "ft1jnBqkJEiYySDX1/LcjQ.0", - "X-Azure-Ref" : "0ej45YQAAAABEHgdsQJxfSq0uDZ8M7CxdV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-b1c8-a8f4-2348220001a4\"}}", - "x-ms-client-request-id" : "fd378b76-a608-47b9-8255-c16687821377", + "X-Processing-Time" : "110ms", + "MS-CV" : "gvpV5ICKbE2xh9kdAX432Q.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5a-f161-defd-8b3a0d00288c\"}}", + "x-ms-client-request-id" : "281fda99-e40e-486e-933b-eea3eaca2aa5", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-b143-fcd8-a53a0d0000da/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5a-efa9-80f5-8b3a0d0025b9/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "ef68d995-79d6-4e0d-b298-2faa35fbfae8", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "f2dc98d4-5b5a-40ae-9ebc-4eb6ad8efff4", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T002952Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000081gu", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:51:38 GMT", + "Date" : "Wed, 04 May 2022 00:29:52 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "136ms", - "MS-CV" : "17q79hmeF0KY6d242DJH8g.0", - "X-Azure-Ref" : "0ej45YQAAAAAM8suEJYG0SZ0ER8IAJqV+V1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:51:38.5937188+00:00\"}", - "x-ms-client-request-id" : "ef68d995-79d6-4e0d-b298-2faa35fbfae8", + "X-Processing-Time" : "158ms", + "MS-CV" : "FobD1Qs9gk6Yrlis804SGA.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:30:02.1411094+00:00\"}", + "x-ms-client-request-id" : "f2dc98d4-5b5a-40ae-9ebc-4eb6ad8efff4", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "1066d650-ceae-4704-bb18-af69bd9a65b0", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "d8dfab45-12d2-4e41-9cde-731b7eb1ce01", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T002954Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000d7vu", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:51:38 GMT", + "Date" : "Wed, 04 May 2022 00:29:55 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "463ms", - "MS-CV" : "pPbAraE18UaItAW85s7ozw.0", - "X-Azure-Ref" : "0ej45YQAAAADPZVfx+lw/RIWwzqDYsWMhV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:JXDfQg_VbeEXl1ZnpUgK3uo1eOXbVHMOfdu7YEFvohk1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:51:38Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-b143-fcd8-a53a0d0000da\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-b143-fcd8-a53a0d0000da\"}}}}", + "X-Processing-Time" : "577ms", + "MS-CV" : "a5lqx2s/aEOh58xUM/4+Tg.0", + "Body" : "{\"chatThread\":{\"id\":\"19:mNCs-kFG52Hsv-OSsUkngv9I5arBWlTWjAOAeWc5Ut81@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:30:02Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5a-efa9-80f5-8b3a0d0025b9\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5a-efa9-80f5-8b3a0d0025b9\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AJXDfQg_VbeEXl1ZnpUgK3uo1eOXbVHMOfdu7YEFvohk1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AmNCs-kFG52Hsv-OSsUkngv9I5arBWlTWjAOAeWc5Ut81@thread.v2" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:JXDfQg_VbeEXl1ZnpUgK3uo1eOXbVHMOfdu7YEFvohk1@thread.v2?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:mNCs-kFG52Hsv-OSsUkngv9I5arBWlTWjAOAeWc5Ut81@thread.v2?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "3d682fde-30af-4dd3-bfa1-5432eb5370a7" + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "32b9e01f-077e-4d1d-a092-19f7b831b862" }, "Response" : { + "x-azure-ref" : "20220504T002953Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000081tx", "X-Cache" : "CONFIG_NOCACHE", "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "231ms", - "MS-CV" : "XnaUwgueykuCZJdOPxpVmA.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "X-Processing-Time" : "154ms", + "Connection" : "keep-alive", + "MS-CV" : "rxl9EWU0FkCkjzxi4MVSDg.0", "retry-after" : "0", - "X-Azure-Ref" : "0ez45YQAAAABwqNT1MZe4QJq/qDb1q5hEV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Wed, 08 Sep 2021 22:51:38 GMT" + "Date" : "Wed, 04 May 2022 00:29:53 GMT" }, "Exception" : null } ], diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.canGetChatThreadClient[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.canGetChatThreadClient[1].json index 42a00a65b38ea..cd2f0efcef3c7 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.canGetChatThreadClient[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.canGetChatThreadClient[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "8db32d61-7819-4e58-acf7-2fa4d08ff002", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "669c7655-198e-4533-aac9-34acc5a0c50b", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003017Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dbmy", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:51:52 GMT", + "Date" : "Wed, 04 May 2022 00:30:17 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "89ms", - "MS-CV" : "7a7Je6LXbEOCY82rXLPuNA.0", - "X-Azure-Ref" : "0iT45YQAAAABGrHpX2CMFQ75sdgVxI1dfV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-eb9b-a8f4-2348220001ae\"}}", - "x-ms-client-request-id" : "8db32d61-7819-4e58-acf7-2fa4d08ff002", + "X-Processing-Time" : "87ms", + "MS-CV" : "kH3+zPD6KUGbigZZdA08/w.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-4bd2-655d-573a0d002453\"}}", + "x-ms-client-request-id" : "669c7655-198e-4533-aac9-34acc5a0c50b", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,48 +29,51 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "f8fa5e0c-1718-4d71-b229-242d576d391b", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "5506091e-fcd2-42ea-936e-77f1b43570cc", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003015Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000085nz", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:51:53 GMT", + "Date" : "Wed, 04 May 2022 00:30:15 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "95ms", - "MS-CV" : "ZH9JmfCF4UWfKouXdcOWyw.0", - "X-Azure-Ref" : "0iT45YQAAAAD7QQJV5cmOT4JwuJfk4Aa1V1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-ed1d-5dbd-9f3a0d0000bb\"}}", - "x-ms-client-request-id" : "f8fa5e0c-1718-4d71-b229-242d576d391b", + "X-Processing-Time" : "86ms", + "MS-CV" : "avCsxlqc5UOykVVCuKDWOA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-4e72-92fd-8b3a0d0028fe\"}}", + "x-ms-client-request-id" : "5506091e-fcd2-42ea-936e-77f1b43570cc", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-eb9b-a8f4-2348220001ae/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-4bd2-655d-573a0d002453/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "3e5f8388-9a40-4764-bd11-9aaf77c97399", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "2ccd4db6-4733-4e37-9fce-a4b5f7db0160", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003018Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dbu4", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:51:53 GMT", + "Date" : "Wed, 04 May 2022 00:30:18 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "154ms", - "MS-CV" : "J3O6jnCBC0WOtdxrtxacZA.0", - "X-Azure-Ref" : "0iT45YQAAAAD0U4cJ2H2cQbkMrHJXOXD6V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:51:53.7812341+00:00\"}", - "x-ms-client-request-id" : "3e5f8388-9a40-4764-bd11-9aaf77c97399", + "X-Processing-Time" : "161ms", + "MS-CV" : "2hWVmD64bUWSHmy5d/0roQ.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:30:26.0027398+00:00\"}", + "x-ms-client-request-id" : "2ccd4db6-4733-4e37-9fce-a4b5f7db0160", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.canGetExistingChatThreadWithResponse[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.canGetExistingChatThreadWithResponse[1].json index 8eda2a7a4262a..e52263194eb33 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.canGetExistingChatThreadWithResponse[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.canGetExistingChatThreadWithResponse[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "79aac46a-c6f3-425e-9687-9e5d0c812c9e", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "c501debc-0bb4-43fe-97ee-1ed7f947d899", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003011Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000daq5", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:51:49 GMT", + "Date" : "Wed, 04 May 2022 00:30:12 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "88ms", - "MS-CV" : "jTFNeT+MwE6UnjXuIll7Gw.0", - "X-Azure-Ref" : "0hj45YQAAAADZE9ElGCcWS77YZLB/SrilV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-e13b-a8f4-2348220001ac\"}}", - "x-ms-client-request-id" : "79aac46a-c6f3-425e-9687-9e5d0c812c9e", + "X-Processing-Time" : "86ms", + "MS-CV" : "ojFp2H+My0Wesvev6n+NHA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-3748-92fd-8b3a0d0028fb\"}}", + "x-ms-client-request-id" : "c501debc-0bb4-43fe-97ee-1ed7f947d899", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,95 +29,100 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "c324cc7f-8e61-46ab-984f-93dbf1975692", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "f40f4b4f-adba-426f-bbf7-d23a8bc5e120", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003009Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000084ht", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:51:50 GMT", + "Date" : "Wed, 04 May 2022 00:30:10 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "72ms", - "MS-CV" : "v9zRG4pTmkyaafTd7wq+fw.0", - "X-Azure-Ref" : "0hj45YQAAAADunhTFkcsTQqpyrZuRGz/7V1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-e1e7-fcd8-a53a0d0000e2\"}}", - "x-ms-client-request-id" : "c324cc7f-8e61-46ab-984f-93dbf1975692", + "X-Processing-Time" : "118ms", + "MS-CV" : "KrnIRlWCj0SCyt7/XDm/ow.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-38dd-7bfa-553a0d002299\"}}", + "x-ms-client-request-id" : "f40f4b4f-adba-426f-bbf7-d23a8bc5e120", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-e13b-a8f4-2348220001ac/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-3748-92fd-8b3a0d0028fb/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "65127a75-ab50-48df-8ee3-22307e2c4318", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "66f10c57-1559-49bb-b6e9-d235f5433377", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003012Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000daur", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:51:50 GMT", + "Date" : "Wed, 04 May 2022 00:30:13 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "163ms", - "MS-CV" : "ley+FBP9X0GAlCped9dcrw.0", - "X-Azure-Ref" : "0hj45YQAAAACNrJYnvTVBSr3jhg2CnsgJV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:51:50.9462161+00:00\"}", - "x-ms-client-request-id" : "65127a75-ab50-48df-8ee3-22307e2c4318", + "X-Processing-Time" : "166ms", + "MS-CV" : "izFcojuOB0eAa+wlaLOTLQ.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:30:20.4711725+00:00\"}", + "x-ms-client-request-id" : "66f10c57-1559-49bb-b6e9-d235f5433377", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "cd426126-bc09-4e8d-841c-3ac78215fb4e", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "3106f3b4-5476-408e-b879-f767665850c4", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003010Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000084r7", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:51:50 GMT", + "Date" : "Wed, 04 May 2022 00:30:11 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "361ms", - "MS-CV" : "ciBcbZBEUkSdJocqqV/TDw.0", - "X-Azure-Ref" : "0hj45YQAAAACr/8NJvybxT4CHUHBnU5W2V1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:Zg1ggC8NUtfBWKJAVEX2zd-n1M0q-Tovfm396tk4xOs1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:51:51Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-e13b-a8f4-2348220001ac\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-e13b-a8f4-2348220001ac\"}}}}", + "X-Processing-Time" : "468ms", + "MS-CV" : "kj8lDKXnfkqK/x1VSxnmLA.0", + "Body" : "{\"chatThread\":{\"id\":\"19:BoF54Gyo86RV7Fh3DTlRBiG11K3LenIjRnKwErqQ_3g1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:30:20Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-3748-92fd-8b3a0d0028fb\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-3748-92fd-8b3a0d0028fb\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AZg1ggC8NUtfBWKJAVEX2zd-n1M0q-Tovfm396tk4xOs1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3ABoF54Gyo86RV7Fh3DTlRBiG11K3LenIjRnKwErqQ_3g1@thread.v2" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:Zg1ggC8NUtfBWKJAVEX2zd-n1M0q-Tovfm396tk4xOs1@thread.v2?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:BoF54Gyo86RV7Fh3DTlRBiG11K3LenIjRnKwErqQ_3g1@thread.v2?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "2cd974ed-38c8-4d1e-b6cf-e19b91fbbb84" + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "278c2baa-753a-4c55-bddd-4d3243d7abac" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003013Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000db0x", "X-Cache" : "CONFIG_NOCACHE", - "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "136ms", - "MS-CV" : "tBNhPjjc7EuIBBS+9lrlgA.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", - "X-Azure-Ref" : "0hz45YQAAAABIP32R59RCSo5K1V15cN+BV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"id\":\"19:Zg1ggC8NUtfBWKJAVEX2zd-n1M0q-Tovfm396tk4xOs1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:51:51Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-e13b-a8f4-2348220001ac\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-e13b-a8f4-2348220001ac\"}}}", - "Date" : "Wed, 08 Sep 2021 22:51:50 GMT", + "Date" : "Wed, 04 May 2022 00:30:13 GMT", + "Strict-Transport-Security" : "max-age=2592000", + "X-Processing-Time" : "83ms", + "MS-CV" : "ikColaViU0O+2Tol1Nmiyg.0", + "Body" : "{\"id\":\"19:BoF54Gyo86RV7Fh3DTlRBiG11K3LenIjRnKwErqQ_3g1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:30:20Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-3748-92fd-8b3a0d0028fb\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-3748-92fd-8b3a0d0028fb\"}}}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.canGetExistingChatThread[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.canGetExistingChatThread[1].json index 01d99b6691258..3766fdc2f563a 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.canGetExistingChatThread[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.canGetExistingChatThread[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "7fd20528-165d-403d-aed6-a7d49789fd26", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "2a183f3c-711a-4fda-9d79-8335c072aa63", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T002946Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000d65q", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:51:34 GMT", + "Date" : "Wed, 04 May 2022 00:29:46 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "88ms", - "MS-CV" : "JaDgJ0JJAk6utUeDhcj5oQ.0", - "X-Azure-Ref" : "0dz45YQAAAACHgJla5oLMTbV0wtt7iFdRV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-a71a-a8f4-2348220001a1\"}}", - "x-ms-client-request-id" : "7fd20528-165d-403d-aed6-a7d49789fd26", + "X-Processing-Time" : "110ms", + "MS-CV" : "rMuKH+aphkWevn69DpDDBw.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5a-d42a-7bfa-553a0d002293\"}}", + "x-ms-client-request-id" : "2a183f3c-711a-4fda-9d79-8335c072aa63", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,95 +29,100 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "0f33ab09-c46e-482c-be45-befabda05cae", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "58e66699-5faa-4da7-a725-ac23918d26a2", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T002944Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008088", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:51:35 GMT", + "Date" : "Wed, 04 May 2022 00:29:45 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "79ms", - "MS-CV" : "LyJGgT8moECIJcuhW72img.0", - "X-Azure-Ref" : "0dz45YQAAAAA+pvjYTLrlSpp9OZXMhXJdV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-a7b4-fcd8-a53a0d0000d7\"}}", - "x-ms-client-request-id" : "0f33ab09-c46e-482c-be45-befabda05cae", + "X-Processing-Time" : "85ms", + "MS-CV" : "CqfyBdIqH0CM2+2ZgPoA1Q.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5a-d5fc-eef0-8b3a0d0022c8\"}}", + "x-ms-client-request-id" : "58e66699-5faa-4da7-a725-ac23918d26a2", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-a71a-a8f4-2348220001a1/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5a-d42a-7bfa-553a0d002293/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "4e231b24-3818-4261-88ad-b06e434497dd", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "45532715-5e57-4982-8ad5-916b37f5500d", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T002947Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000d6am", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:51:35 GMT", + "Date" : "Wed, 04 May 2022 00:29:47 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "170ms", - "MS-CV" : "9yQm25/YXUyampDvFMjDqA.0", - "X-Azure-Ref" : "0dz45YQAAAAB1bR26+LZTRJQPjeYXPnmEV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:51:36.0349986+00:00\"}", - "x-ms-client-request-id" : "4e231b24-3818-4261-88ad-b06e434497dd", + "X-Processing-Time" : "177ms", + "MS-CV" : "nv91vYOPmkSkp4s1XUz/0Q.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:29:55.1189992+00:00\"}", + "x-ms-client-request-id" : "45532715-5e57-4982-8ad5-916b37f5500d", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "f4af6202-086d-42fc-9f5a-acd2ad416ccb", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "2e213f54-3802-4279-90f7-94c845cd265a", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T002946Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000080k3", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:51:36 GMT", + "Date" : "Wed, 04 May 2022 00:29:46 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "507ms", - "MS-CV" : "x59UoXn/WE6YxLbop3T2Iw.0", - "X-Azure-Ref" : "0eD45YQAAAACrf/VEMKHgS6WaWBcwmUysV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:kpVsPw5huxjMgTBY01Ll3-4r884DNTCynOFKS5e8wf01@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:51:36Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-a71a-a8f4-2348220001a1\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-a71a-a8f4-2348220001a1\"}}}}", + "X-Processing-Time" : "450ms", + "MS-CV" : "gUxf1Sj7lUuDm2/idu8tZA.0", + "Body" : "{\"chatThread\":{\"id\":\"19:1Nz272DmUR3UzJpLCDFHzF08xnrXJ65JU1Y_dziEsgk1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:29:56Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5a-d42a-7bfa-553a0d002293\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5a-d42a-7bfa-553a0d002293\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AkpVsPw5huxjMgTBY01Ll3-4r884DNTCynOFKS5e8wf01@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3A1Nz272DmUR3UzJpLCDFHzF08xnrXJ65JU1Y_dziEsgk1@thread.v2" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:kpVsPw5huxjMgTBY01Ll3-4r884DNTCynOFKS5e8wf01@thread.v2?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:1Nz272DmUR3UzJpLCDFHzF08xnrXJ65JU1Y_dziEsgk1@thread.v2?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "2c7b7757-609d-4a2a-bb28-9365e78e51f8" + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "35f01fb1-516a-4463-a1ba-19802fa3980e" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T002949Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000d6qz", "X-Cache" : "CONFIG_NOCACHE", - "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "285ms", - "MS-CV" : "llyerKjuP0Wnd2ltj0746g.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", - "X-Azure-Ref" : "0eD45YQAAAADwBZxfcwYHRpXBqqrGlqBUV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"id\":\"19:kpVsPw5huxjMgTBY01Ll3-4r884DNTCynOFKS5e8wf01@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:51:36Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-a71a-a8f4-2348220001a1\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-a71a-a8f4-2348220001a1\"}}}", - "Date" : "Wed, 08 Sep 2021 22:51:36 GMT", + "Date" : "Wed, 04 May 2022 00:29:49 GMT", + "Strict-Transport-Security" : "max-age=2592000", + "X-Processing-Time" : "100ms", + "MS-CV" : "d70syND/BUyxlSS9rZw8mQ.0", + "Body" : "{\"id\":\"19:1Nz272DmUR3UzJpLCDFHzF08xnrXJ65JU1Y_dziEsgk1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:29:56Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5a-d42a-7bfa-553a0d002293\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5a-d42a-7bfa-553a0d002293\"}}}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.canListChatThreadsWithMaxPageSize[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.canListChatThreadsWithMaxPageSize[1].json index 17cea3f0a4fa9..ceca7efce0cdc 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.canListChatThreadsWithMaxPageSize[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.canListChatThreadsWithMaxPageSize[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "b2d82561-e6e3-41dd-af0d-b86b0f26bd97", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "734555b8-7579-4b47-8128-77ef71d0b056", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003006Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000d9x6", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:51:46 GMT", + "Date" : "Wed, 04 May 2022 00:30:07 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "85ms", - "MS-CV" : "TMhT851HnUywnId+ODqnvQ.0", - "X-Azure-Ref" : "0gz45YQAAAACh+8JXTrXzR6EA34jqVa4vV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-d634-a8f4-2348220001a9\"}}", - "x-ms-client-request-id" : "b2d82561-e6e3-41dd-af0d-b86b0f26bd97", + "X-Processing-Time" : "91ms", + "MS-CV" : "q3Q0L41Fdkm52Bha0oXWGQ.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-2364-fa5d-573a0d00293f\"}}", + "x-ms-client-request-id" : "734555b8-7579-4b47-8128-77ef71d0b056", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,48 +29,51 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "90a17ddd-2b01-4ab2-8d46-0bd8d029852a", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "18b56722-9317-43ea-afd1-2bf52004e2e2", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003005Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000083nr", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:51:47 GMT", + "Date" : "Wed, 04 May 2022 00:30:05 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "62ms", - "MS-CV" : "2+xr+YLbrka++DKAW4Furw.0", - "X-Azure-Ref" : "0gz45YQAAAACvrcSSt0+FSrecqZ9g6vC1V1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-d6e5-fcd8-a53a0d0000df\"}}", - "x-ms-client-request-id" : "90a17ddd-2b01-4ab2-8d46-0bd8d029852a", + "X-Processing-Time" : "89ms", + "MS-CV" : "rmjmNRMJj0GQvoLJw3zRMg.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-25c4-655d-573a0d002449\"}}", + "x-ms-client-request-id" : "18b56722-9317-43ea-afd1-2bf52004e2e2", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-d634-a8f4-2348220001a9/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-2364-fa5d-573a0d00293f/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "9de6c5b9-24d5-4358-8b94-1190dc7851e5", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "634ae2dc-2c7e-40c3-bbf0-20941173317c", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003007Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000da18", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:51:47 GMT", + "Date" : "Wed, 04 May 2022 00:30:08 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "156ms", - "MS-CV" : "u1U20+XTP0OKBkjuhCmMOA.0", - "X-Azure-Ref" : "0gz45YQAAAAALq4awhLz1ToeUSLvT/31+V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:51:48.1007544+00:00\"}", - "x-ms-client-request-id" : "9de6c5b9-24d5-4358-8b94-1190dc7851e5", + "X-Processing-Time" : "161ms", + "MS-CV" : "lL1SxE/jY0SM2Q4/BahMLQ.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:30:15.5688247+00:00\"}", + "x-ms-client-request-id" : "634ae2dc-2c7e-40c3-bbf0-20941173317c", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.canListChatThreads[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.canListChatThreads[1].json index 441c7f6435a11..7add9c335f0ea 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.canListChatThreads[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.canListChatThreads[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "fec5b264-2d16-41fe-8fe0-5b802fe0eaf1", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "e14503e0-f726-4abd-98bd-21df325f4a15", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T002956Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000082a6", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:51:40 GMT", + "Date" : "Wed, 04 May 2022 00:29:57 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "65ms", - "MS-CV" : "4duht2MBVEWIWKlfxS+eBA.0", - "X-Azure-Ref" : "0fD45YQAAAADwLy/Uj4+CQZSWgO7QdswcV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-bbfc-fcd8-a53a0d0000dc\"}}", - "x-ms-client-request-id" : "fec5b264-2d16-41fe-8fe0-5b802fe0eaf1", + "X-Processing-Time" : "108ms", + "MS-CV" : "RGFIpQWmykaaIux1sITE1g.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-05b7-655d-573a0d002443\"}}", + "x-ms-client-request-id" : "e14503e0-f726-4abd-98bd-21df325f4a15", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,48 +29,51 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "9cf83062-28a2-4f06-8777-6689bf7dc99a", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "a4a52b10-036c-4f5a-9ddf-892239567230", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T002959Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000d8qq", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:51:40 GMT", + "Date" : "Wed, 04 May 2022 00:30:00 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "88ms", - "MS-CV" : "xqfUE/sDw0ySACZ5+6Y0Bw.0", - "X-Azure-Ref" : "0fT45YQAAAACelXH5DPAERJ3TwN/wNZXIV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-bc8c-a8f4-2348220001a6\"}}", - "x-ms-client-request-id" : "9cf83062-28a2-4f06-8777-6689bf7dc99a", + "X-Processing-Time" : "89ms", + "MS-CV" : "HQ3748HSOUqVRHSN69DXhQ.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-0817-defd-8b3a0d00288f\"}}", + "x-ms-client-request-id" : "a4a52b10-036c-4f5a-9ddf-892239567230", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-bbfc-fcd8-a53a0d0000dc/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-05b7-655d-573a0d002443/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "67c0e407-7d08-4d60-a478-55d01fa30459", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "abc0e3f6-bbb1-4512-a2a8-5215cef6a5a2", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T002958Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000082h9", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:51:40 GMT", + "Date" : "Wed, 04 May 2022 00:29:58 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "144ms", - "MS-CV" : "YUFfyVbO80aIuR8p7sLWsw.0", - "X-Azure-Ref" : "0fT45YQAAAABNLt8x/NCDRoaxvHjgor7DV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:51:41.3499068+00:00\"}", - "x-ms-client-request-id" : "67c0e407-7d08-4d60-a478-55d01fa30459", + "X-Processing-Time" : "157ms", + "MS-CV" : "HVhi9tF2cUqw3kcAVocOYw.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:30:08.1943916+00:00\"}", + "x-ms-client-request-id" : "abc0e3f6-bbb1-4512-a2a8-5215cef6a5a2", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.canProcessInvalidParticipantsOnCreateChatThread[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.canProcessInvalidParticipantsOnCreateChatThread[1].json index 4c189b8e3bf97..bda103f5ae057 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.canProcessInvalidParticipantsOnCreateChatThread[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.canProcessInvalidParticipantsOnCreateChatThread[1].json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "4e6c0cec-588d-472f-bb76-a10d2e3970e8", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "4d38e25d-ac4c-477d-b501-ae61e8a53f88", "Content-Type" : "application/json" }, "Response" : { diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.canRepeatCreateThread[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.canRepeatCreateThread[1].json index 3b24c7271bdb1..469717bf5746c 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.canRepeatCreateThread[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.canRepeatCreateThread[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "22f97f26-b62c-4c2d-951e-0bc2777aaf4d", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "b7009e06-e6c0-4989-87d6-ba0ed8392811", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003000Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000d8wh", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:51:40 GMT", + "Date" : "Wed, 04 May 2022 00:30:01 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "85ms", - "MS-CV" : "Tv23Ua+W50GEnFOoRmoOvg.0", - "X-Azure-Ref" : "0fT45YQAAAADntI/zHP0cRYC61QLL89KjV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-be06-a8f4-2348220001a7\"}}", - "x-ms-client-request-id" : "22f97f26-b62c-4c2d-951e-0bc2777aaf4d", + "X-Processing-Time" : "86ms", + "MS-CV" : "2mgaSh7VM0epBjPkMyTtvw.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-0caf-1252-573a0d002ba8\"}}", + "x-ms-client-request-id" : "b7009e06-e6c0-4989-87d6-ba0ed8392811", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,122 +29,128 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "6342f3a2-452c-4093-8957-5b616df6c2f6", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "e4d3038d-3e7d-4e87-abe8-889c5f9c06e9", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T002959Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000082pn", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:51:41 GMT", + "Date" : "Wed, 04 May 2022 00:29:59 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "68ms", - "MS-CV" : "Ho3cWEQzT0OWOz6Am9GPKQ.0", - "X-Azure-Ref" : "0fT45YQAAAABJCsJ3fwHQTaSguEZPrD29V1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-bea0-fcd8-a53a0d0000dd\"}}", - "x-ms-client-request-id" : "6342f3a2-452c-4093-8957-5b616df6c2f6", + "X-Processing-Time" : "99ms", + "MS-CV" : "S1Wn37nAeUe3ExDCyB+rIg.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-0e50-3ef0-8b3a0d0028d7\"}}", + "x-ms-client-request-id" : "e4d3038d-3e7d-4e87-abe8-889c5f9c06e9", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-be06-a8f4-2348220001a7/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-0caf-1252-573a0d002ba8/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "2bfcdc7f-395e-4385-a206-4efb41ee5071", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "8a956d87-c73e-48c0-8a23-32c7d0d6e681", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003001Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000d928", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:51:41 GMT", + "Date" : "Wed, 04 May 2022 00:30:02 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "155ms", - "MS-CV" : "UqG+7yavVEWICeQQSeOTkg.0", - "X-Azure-Ref" : "0fT45YQAAAADHad5fbHNITY3b29+2gMrSV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:51:41.8746326+00:00\"}", - "x-ms-client-request-id" : "2bfcdc7f-395e-4385-a206-4efb41ee5071", + "X-Processing-Time" : "158ms", + "MS-CV" : "nuWLVHNFBUOJw9AQBn20HA.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:30:09.5617281+00:00\"}", + "x-ms-client-request-id" : "8a956d87-c73e-48c0-8a23-32c7d0d6e681", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "f11a339d-305b-4993-97f0-53e0623e7320", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "7763200b-926b-4315-8ed2-c29cacca449d", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003000Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000082uu", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:51:41 GMT", + "Date" : "Wed, 04 May 2022 00:30:00 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "361ms", - "MS-CV" : "ZPN25+EO6EeikgPJLAH6jw.0", - "X-Azure-Ref" : "0fT45YQAAAACuJZLiRyRRSZDfRHvPf3OtV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:PFmwLG6gmKm7Sfm5QZ7U72iMjk2OKid9ENV2E7hNgLg1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:51:41Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-be06-a8f4-2348220001a7\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-be06-a8f4-2348220001a7\"}}}}", + "X-Processing-Time" : "566ms", + "MS-CV" : "rdLWMDykeECD0ay4litxuw.0", + "Body" : "{\"chatThread\":{\"id\":\"19:307mDy7-ivbQLDo-7nG4GWiYp5GYE12cWoFIaxyx-3g1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:30:09Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-0caf-1252-573a0d002ba8\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-0caf-1252-573a0d002ba8\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3APFmwLG6gmKm7Sfm5QZ7U72iMjk2OKid9ENV2E7hNgLg1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3A307mDy7-ivbQLDo-7nG4GWiYp5GYE12cWoFIaxyx-3g1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "b49b614b-6854-41b5-8b9c-84c267f9690a", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "e0dd429c-9ed8-4275-9433-8b3a89888530", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003002Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000d990", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:51:44 GMT", + "Date" : "Wed, 04 May 2022 00:30:03 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "2868ms", - "MS-CV" : "O21FlT7YoEaUo7NB+LOp9g.0", - "X-Azure-Ref" : "0fj45YQAAAADY8NNxXF3bQqeVf+P2SrqDV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:PFmwLG6gmKm7Sfm5QZ7U72iMjk2OKid9ENV2E7hNgLg1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:51:41Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-be06-a8f4-2348220001a7\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-be06-a8f4-2348220001a7\"}}}}", + "X-Processing-Time" : "557ms", + "MS-CV" : "3KJV8/VoLUmCD6aoBE133w.0", + "Body" : "{\"chatThread\":{\"id\":\"19:307mDy7-ivbQLDo-7nG4GWiYp5GYE12cWoFIaxyx-3g1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:30:09Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-0caf-1252-573a0d002ba8\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-0caf-1252-573a0d002ba8\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3APFmwLG6gmKm7Sfm5QZ7U72iMjk2OKid9ENV2E7hNgLg1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3A307mDy7-ivbQLDo-7nG4GWiYp5GYE12cWoFIaxyx-3g1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "9a7798f7-0329-4f60-bcc4-e8be7414332b", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "74210059-a9fc-4e32-8b96-a73d068f4abc", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003001Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000082zx", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:51:45 GMT", + "Date" : "Wed, 04 May 2022 00:30:01 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "475ms", - "MS-CV" : "hugoXvf39kae8huhX0+zKQ.0", - "X-Azure-Ref" : "0gT45YQAAAAB9oYXjbJp9Q5GQfJ73njbXV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:McxSlQgldBOVxPd1FxWNk6tvP36RGWmsBf8mlZfE7hg1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:51:45Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-be06-a8f4-2348220001a7\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-be06-a8f4-2348220001a7\"}}}}", + "X-Processing-Time" : "532ms", + "MS-CV" : "264T9qCLfka6mQ6uxqDSOQ.0", + "Body" : "{\"chatThread\":{\"id\":\"19:4vewGEv4Z3fsQqzLcre3qRQMxmLmdhVIwkXTpBtjBiQ1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:30:11Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-0caf-1252-573a0d002ba8\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-0caf-1252-573a0d002ba8\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AMcxSlQgldBOVxPd1FxWNk6tvP36RGWmsBf8mlZfE7hg1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3A4vewGEv4Z3fsQqzLcre3qRQMxmLmdhVIwkXTpBtjBiQ1@thread.v2" }, "Exception" : null } ], diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.cannotCreateThreadWithNullOptions[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.cannotCreateThreadWithNullOptions[1].json index 0415763f31382..b3648d99ffe22 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.cannotCreateThreadWithNullOptions[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.cannotCreateThreadWithNullOptions[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "41ec278a-7e63-4151-8162-d8062fa960c4", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "30369d6e-205e-4763-be1a-0e68a9c37416", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T002952Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000d767", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:51:36 GMT", + "Date" : "Wed, 04 May 2022 00:29:52 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "88ms", - "MS-CV" : "p2yRlB/PuE267bT5/wOo+w.0", - "X-Azure-Ref" : "0eT45YQAAAACu0PdgYL2XSILosJOQDm2bV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-af2e-a8f4-2348220001a3\"}}", - "x-ms-client-request-id" : "41ec278a-7e63-4151-8162-d8062fa960c4", + "X-Processing-Time" : "92ms", + "MS-CV" : "k6kHlihRLU6HZxc/0Ej+1Q.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5a-e9c0-3ef0-8b3a0d0028d4\"}}", + "x-ms-client-request-id" : "30369d6e-205e-4763-be1a-0e68a9c37416", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,48 +29,51 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "a0d0f057-6413-4275-bef0-7ff66d333f52", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "0a4ac99c-bc2b-490c-ab50-fd5ef2f23bff", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T002950Z-3knzm6g59904z2v1e8tfw6gqqn000000060g00000000815d", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:51:37 GMT", + "Date" : "Wed, 04 May 2022 00:29:50 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "62ms", - "MS-CV" : "X0KAgivATEibVEWuZFygQg.0", - "X-Azure-Ref" : "0eT45YQAAAAB2nYDFWk9JRbsaomX9LQHbV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-afca-fcd8-a53a0d0000d9\"}}", - "x-ms-client-request-id" : "a0d0f057-6413-4275-bef0-7ff66d333f52", + "X-Processing-Time" : "87ms", + "MS-CV" : "Ou1UXk1f2E2gXIiMpb6xpA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5a-eb52-fa5d-573a0d002939\"}}", + "x-ms-client-request-id" : "0a4ac99c-bc2b-490c-ab50-fd5ef2f23bff", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-af2e-a8f4-2348220001a3/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5a-e9c0-3ef0-8b3a0d0028d4/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "e4bd8d6c-a561-4dd2-ab93-2904875db68c", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "c74b5fd2-0bd9-4fc5-8390-971a8132e182", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T002952Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000d7c7", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:51:37 GMT", + "Date" : "Wed, 04 May 2022 00:29:53 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "160ms", - "MS-CV" : "SV0uKHknyUG6z46bSCWUCQ.0", - "X-Azure-Ref" : "0eT45YQAAAACHuKEJRWbRSaNThmvHHfvqV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:51:39.0757102+00:00\"}", - "x-ms-client-request-id" : "e4bd8d6c-a561-4dd2-ab93-2904875db68c", + "X-Processing-Time" : "190ms", + "MS-CV" : "CQd4Rycc2USH4E3mdo3X2g.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:30:00.6855911+00:00\"}", + "x-ms-client-request-id" : "c74b5fd2-0bd9-4fc5-8390-971a8132e182", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.cannotCreateThreadWithResponseWithNullOptions[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.cannotCreateThreadWithResponseWithNullOptions[1].json index a26c910721247..a9c34d2fa4d78 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.cannotCreateThreadWithResponseWithNullOptions[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.cannotCreateThreadWithResponseWithNullOptions[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "f0e3916b-e665-482b-83dc-dae18fa044ad", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "042b8e05-c85e-4c29-bba9-bd6ccbd7b31f", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003008Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008468", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:51:49 GMT", + "Date" : "Wed, 04 May 2022 00:30:08 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "66ms", - "MS-CV" : "z5XZMOJAj0C9Bc9ELtlMSw.0", - "X-Azure-Ref" : "0hT45YQAAAABlHILqlA9eQKUGW4dapXL8V1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-def8-fcd8-a53a0d0000e1\"}}", - "x-ms-client-request-id" : "f0e3916b-e665-482b-83dc-dae18fa044ad", + "X-Processing-Time" : "89ms", + "MS-CV" : "+bqy0xEJ4UmWisnqAZITpQ.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-31d6-655d-573a0d00244d\"}}", + "x-ms-client-request-id" : "042b8e05-c85e-4c29-bba9-bd6ccbd7b31f", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,48 +29,51 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "a76863de-f27a-4825-bf29-ff45bcf0d0a8", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "d9600722-c131-4741-8cce-b522cf385c83", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003011Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dagc", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:51:49 GMT", + "Date" : "Wed, 04 May 2022 00:30:11 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "85ms", - "MS-CV" : "kXsaSvfVZkiRyxb+WqmpVA.0", - "X-Azure-Ref" : "0hT45YQAAAAA+eWLL1waXSa0mGrx/s5C0V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-df91-a8f4-2348220001ab\"}}", - "x-ms-client-request-id" : "a76863de-f27a-4825-bf29-ff45bcf0d0a8", + "X-Processing-Time" : "91ms", + "MS-CV" : "SdokWkJ/4USk+9dG3YiWsg.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-33b2-655d-573a0d00244e\"}}", + "x-ms-client-request-id" : "d9600722-c131-4741-8cce-b522cf385c83", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-def8-fcd8-a53a0d0000e1/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-31d6-655d-573a0d00244d/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "32bd4151-a8c5-4034-8815-236ec620fd36", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "a4c83d71-f5f9-4b79-b815-92cd05fe5abf", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003009Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000084bk", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:51:49 GMT", + "Date" : "Wed, 04 May 2022 00:30:09 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "142ms", - "MS-CV" : "9aWdySz3ek24VXky1hfSGg.0", - "X-Azure-Ref" : "0hj45YQAAAAAT/0f6OymiQZViDxUhKJw+V1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:51:50.3258294+00:00\"}", - "x-ms-client-request-id" : "32bd4151-a8c5-4034-8815-236ec620fd36", + "X-Processing-Time" : "158ms", + "MS-CV" : "3pEIR3zt/kuGtelzydRkUA.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:30:20.0829837+00:00\"}", + "x-ms-client-request-id" : "a4c83d71-f5f9-4b79-b815-92cd05fe5abf", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.cannotDeleteChatThreadWithNullId[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.cannotDeleteChatThreadWithNullId[1].json index 2a2fce179b670..bf29b3efefed0 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.cannotDeleteChatThreadWithNullId[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.cannotDeleteChatThreadWithNullId[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "b7d26bc1-4391-4520-8231-a87c3e1c48c5", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "76e82617-bf01-43c5-8e45-ad53379f5295", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T002947Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000080t0", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:51:36 GMT", + "Date" : "Wed, 04 May 2022 00:29:48 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "67ms", - "MS-CV" : "7TuteFkLJ0mVj1NQ7M6eZQ.0", - "X-Azure-Ref" : "0eT45YQAAAACHF4YvauHPSphVN1KwWpdOV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-ad22-fcd8-a53a0d0000d8\"}}", - "x-ms-client-request-id" : "b7d26bc1-4391-4520-8231-a87c3e1c48c5", + "X-Processing-Time" : "111ms", + "MS-CV" : "KVPayAcua063YoOKSdfmkA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5a-e264-3ef0-8b3a0d0028d2\"}}", + "x-ms-client-request-id" : "76e82617-bf01-43c5-8e45-ad53379f5295", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,48 +29,51 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "05980c0a-9375-4f74-ac85-223b2db2fac0", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "d9bbf9f3-95b2-4899-a14f-5e8801ad2309", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T002950Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000d6xm", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:51:36 GMT", + "Date" : "Wed, 04 May 2022 00:29:51 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "86ms", - "MS-CV" : "r2/07bWZlU+Th4ntkrJglw.0", - "X-Azure-Ref" : "0eT45YQAAAABpDWYI+NNSToOV0+14FA0qV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-adab-a8f4-2348220001a2\"}}", - "x-ms-client-request-id" : "05980c0a-9375-4f74-ac85-223b2db2fac0", + "X-Processing-Time" : "109ms", + "MS-CV" : "28siYtYL7k+fJSr2wMFOUg.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5a-e49f-92fd-8b3a0d0028f5\"}}", + "x-ms-client-request-id" : "d9bbf9f3-95b2-4899-a14f-5e8801ad2309", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-ad22-fcd8-a53a0d0000d8/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5a-e264-3ef0-8b3a0d0028d2/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "6291948c-0906-4f5a-b2f6-d01ea587f7a0", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "55f53822-a69c-44c7-b7ff-cc26b5becec2", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T002949Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000080z6", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:51:37 GMT", + "Date" : "Wed, 04 May 2022 00:29:49 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "148ms", - "MS-CV" : "+ozaDj0LO0qoAtgNoXY7cA.0", - "X-Azure-Ref" : "0eT45YQAAAAB9Y246hTRpTZTc08ykxzUNV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:51:37.5466821+00:00\"}", - "x-ms-client-request-id" : "6291948c-0906-4f5a-b2f6-d01ea587f7a0", + "X-Processing-Time" : "195ms", + "MS-CV" : "9clgXjzfDUyysKLjR2cKeg.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:29:59.0729566+00:00\"}", + "x-ms-client-request-id" : "55f53822-a69c-44c7-b7ff-cc26b5becec2", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.cannotDeleteChatThreadWithResponseWithNullId[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.cannotDeleteChatThreadWithResponseWithNullId[1].json index f8f549aa861c9..923726b8dfe4e 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.cannotDeleteChatThreadWithResponseWithNullId[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatAsyncClientTest.cannotDeleteChatThreadWithResponseWithNullId[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "7bc567d4-1489-4a07-af5c-481a4b18b414", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "45b9f9e0-8db4-4b25-9e12-dd2c5780b252", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T002941Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000007zsv", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:51:34 GMT", + "Date" : "Wed, 04 May 2022 00:29:42 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "86ms", - "MS-CV" : "0I0QY7JZTEOFL0Qhghqc9g.0", - "X-Azure-Ref" : "0dj45YQAAAADbqw7yFdwUS6ESVFVkMScSV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-a3d7-fcd8-a53a0d0000d6\"}}", - "x-ms-client-request-id" : "7bc567d4-1489-4a07-af5c-481a4b18b414", + "X-Processing-Time" : "108ms", + "MS-CV" : "vg1ulLmrjUq5MiG90+XwlA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5a-cbb0-69f0-553a0d002987\"}}", + "x-ms-client-request-id" : "45b9f9e0-8db4-4b25-9e12-dd2c5780b252", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,48 +29,51 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "4d18a242-fd47-4956-9a46-5201a3f51848", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "564dc377-e72a-403c-8b78-d6598f8457c5", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T002944Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000d5w4", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:51:34 GMT", + "Date" : "Wed, 04 May 2022 00:29:45 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "84ms", - "MS-CV" : "zWIZrR0Lbk6EtUXpL9tI+Q.0", - "X-Azure-Ref" : "0dj45YQAAAAB9FqXfJWM8QbVYBQAvLmZ3V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-a4f1-a8f4-2348220001a0\"}}", - "x-ms-client-request-id" : "4d18a242-fd47-4956-9a46-5201a3f51848", + "X-Processing-Time" : "82ms", + "MS-CV" : "r/B1tCisY02cqSAkA9n6gQ.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5a-ce40-eef0-8b3a0d0022c6\"}}", + "x-ms-client-request-id" : "564dc377-e72a-403c-8b78-d6598f8457c5", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-a3d7-fcd8-a53a0d0000d6/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5a-cbb0-69f0-553a0d002987/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "74bbd92e-18db-4600-a673-4536aa1bb886", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "06e5ffcb-21b6-4845-83a2-959d60ffff70", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T002943Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008003", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:51:34 GMT", + "Date" : "Wed, 04 May 2022 00:29:43 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "205ms", - "MS-CV" : "/pJnz0uAY0+z5J9QYScJfg.0", - "X-Azure-Ref" : "0dz45YQAAAACtSeBYsaGMTq6PkW+VznTOV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:51:35.3875662+00:00\"}", - "x-ms-client-request-id" : "74bbd92e-18db-4600-a673-4536aa1bb886", + "X-Processing-Time" : "152ms", + "MS-CV" : "1jzF0bJfHU6w+fF1Bcu6yg.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:29:53.1345268+00:00\"}", + "x-ms-client-request-id" : "06e5ffcb-21b6-4845-83a2-959d60ffff70", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatClientTest.canCreateThreadWithResponse[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatClientTest.canCreateThreadWithResponse[1].json index e7b5cf14f604d..b63825bd4d04f 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatClientTest.canCreateThreadWithResponse[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatClientTest.canCreateThreadWithResponse[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "5a71f125-2ef1-4a2e-a74c-0bf1278b8422", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "96d0ad8e-ba76-4133-82e9-f98e94d472b7", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003025Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000087pt", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:51:58 GMT", + "Date" : "Wed, 04 May 2022 00:30:26 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "74ms", - "MS-CV" : "G86E3X/d/EaL3sLxDiwt7Q.0", - "X-Azure-Ref" : "0jj45YQAAAAA+go55fkmHS6t714l32jNMV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-01b3-5dbd-9f3a0d0000bd\"}}", - "x-ms-client-request-id" : "5a71f125-2ef1-4a2e-a74c-0bf1278b8422", + "X-Processing-Time" : "89ms", + "MS-CV" : "U0a2473JjkmLFSnzmXVOVA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-76f0-fa5d-573a0d002949\"}}", + "x-ms-client-request-id" : "96d0ad8e-ba76-4133-82e9-f98e94d472b7", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,74 +29,78 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "704d7ada-1ab0-40db-9c3e-2b9ba9ed484e", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "6c0169c8-dcce-41e9-85cf-888d5161ae78", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003028Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000ddea", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:51:58 GMT", + "Date" : "Wed, 04 May 2022 00:30:29 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "86ms", - "MS-CV" : "pQ0mCLlTL0eAeEwZQLC+nw.0", - "X-Azure-Ref" : "0jj45YQAAAABxMsund9gIQ7pqu0s8wOEbV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-0246-a8f4-2348220001b2\"}}", - "x-ms-client-request-id" : "704d7ada-1ab0-40db-9c3e-2b9ba9ed484e", + "X-Processing-Time" : "89ms", + "MS-CV" : "v/Oo/2c950OyYhIBZ58bsg.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-795d-eef0-8b3a0d0022cf\"}}", + "x-ms-client-request-id" : "6c0169c8-dcce-41e9-85cf-888d5161ae78", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-01b3-5dbd-9f3a0d0000bd/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-76f0-fa5d-573a0d002949/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "eaa71fd6-0364-4574-a887-579b91879a38", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "48e6af16-0645-44b1-8de6-3ebcf68f7544", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003027Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000087y5", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:51:58 GMT", + "Date" : "Wed, 04 May 2022 00:30:27 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "137ms", - "MS-CV" : "4h7CGsumLkChBsVNjMMfmw.0", - "X-Azure-Ref" : "0jz45YQAAAAD2YYj6hmenRYg6tTlYhsDhV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:51:59.201588+00:00\"}", - "x-ms-client-request-id" : "eaa71fd6-0364-4574-a887-579b91879a38", + "X-Processing-Time" : "154ms", + "MS-CV" : "6BPBf+VfG0CJUKryUdfqbA.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:30:37.0400622+00:00\"}", + "x-ms-client-request-id" : "48e6af16-0645-44b1-8de6-3ebcf68f7544", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "9de701b3-a232-4e5a-8939-3fd4a82feb69", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "96a9c4a5-0ff8-4092-86fb-924671087ee6", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003030Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000ddnz", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:51:58 GMT", + "Date" : "Wed, 04 May 2022 00:30:31 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "449ms", - "MS-CV" : "xkQdfgnY5UStFa6EhoRo9Q.0", - "X-Azure-Ref" : "0jz45YQAAAADlPum1mAIHR7kF8l7HBcMkV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:Fk_0zuJ5FD381sdxcfKq8aCR-5ZRShemAK7nF_H_vTc1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:51:59Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-01b3-5dbd-9f3a0d0000bd\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-01b3-5dbd-9f3a0d0000bd\"}}}}", + "X-Processing-Time" : "901ms", + "MS-CV" : "N1UfxvRH5UmWUrVQ9TK8kQ.0", + "Body" : "{\"chatThread\":{\"id\":\"19:BCLIRtgLKu9Ptymrx3YfxOBIibXN5tuciKtspWkS87g1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:30:37Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-76f0-fa5d-573a0d002949\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-76f0-fa5d-573a0d002949\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AFk_0zuJ5FD381sdxcfKq8aCR-5ZRShemAK7nF_H_vTc1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3ABCLIRtgLKu9Ptymrx3YfxOBIibXN5tuciKtspWkS87g1@thread.v2" }, "Exception" : null } ], diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatClientTest.canCreateThread[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatClientTest.canCreateThread[1].json index 04fc5250e9e5d..cf5a9ed99a7b5 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatClientTest.canCreateThread[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatClientTest.canCreateThread[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "41e140c0-518b-4ed9-8cae-ba8a23ad61fc", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "bc322edf-11dc-4629-8dba-07fee5f43f7c", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003033Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008955", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:01 GMT", + "Date" : "Wed, 04 May 2022 00:30:33 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "76ms", - "MS-CV" : "udjieyCef0eknQejNpecTw.0", - "X-Azure-Ref" : "0kT45YQAAAADMtnawaduyQbNVLlVda4WvV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-0e79-5dbd-9f3a0d0000bf\"}}", - "x-ms-client-request-id" : "41e140c0-518b-4ed9-8cae-ba8a23ad61fc", + "X-Processing-Time" : "90ms", + "MS-CV" : "cY2U+FbDbE2Q62cbBR5Hpg.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-94ba-3ef0-8b3a0d0028e7\"}}", + "x-ms-client-request-id" : "bc322edf-11dc-4629-8dba-07fee5f43f7c", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,74 +29,78 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "9f59a2e0-78fe-4a7c-821b-c6f288a56012", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "dc5dd0b9-a7db-428b-a8a0-cbac9eb28886", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003036Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000deu5", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:01 GMT", + "Date" : "Wed, 04 May 2022 00:30:36 GMT", "Strict-Transport-Security" : "max-age=2592000", "X-Processing-Time" : "89ms", - "MS-CV" : "/dDyuULEikqJ8AyqISbGOg.0", - "X-Azure-Ref" : "0kj45YQAAAADeuqZW9pJmT7j4VF4VNlyqV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-0f05-a8f4-2348220001b4\"}}", - "x-ms-client-request-id" : "9f59a2e0-78fe-4a7c-821b-c6f288a56012", + "MS-CV" : "s8zeR3CxL06d0zzm6sjuTQ.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-9707-3ef0-8b3a0d0028e8\"}}", + "x-ms-client-request-id" : "dc5dd0b9-a7db-428b-a8a0-cbac9eb28886", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-0e79-5dbd-9f3a0d0000bf/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-94ba-3ef0-8b3a0d0028e7/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "4b9a9cf2-fca9-4886-9c1a-2a17e7354bfd", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "aa8389e5-baa5-44f5-b539-0848fe4bf023", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003034Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000089dw", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:52:01 GMT", + "Date" : "Wed, 04 May 2022 00:30:35 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "138ms", - "MS-CV" : "qvzCK+WZv0CsVkmmW8BzYg.0", - "X-Azure-Ref" : "0kj45YQAAAAACFlNxExefTpsFbWKpN0gTV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:52:02.4575999+00:00\"}", - "x-ms-client-request-id" : "4b9a9cf2-fca9-4886-9c1a-2a17e7354bfd", + "X-Processing-Time" : "157ms", + "MS-CV" : "jSZIvqD/E0il2Sv/2K8GuA.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:30:44.6962602+00:00\"}", + "x-ms-client-request-id" : "aa8389e5-baa5-44f5-b539-0848fe4bf023", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "53183083-9047-4c92-86c7-ae61120d4bb8", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "8527bdf5-05d9-40f6-ae71-420300a4df79", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003037Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000df12", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:02 GMT", + "Date" : "Wed, 04 May 2022 00:30:38 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "488ms", - "MS-CV" : "0vx5jX3yL022tZEClxdAtg.0", - "X-Azure-Ref" : "0kj45YQAAAAAYpp+8y5r8R5AzrHDdSZS0V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:szck9cOH5wRIZjjC5WWQE2gN55ThcoZ1wgmnPVdhnZY1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:52:02Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-0e79-5dbd-9f3a0d0000bf\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-0e79-5dbd-9f3a0d0000bf\"}}}}", + "X-Processing-Time" : "552ms", + "MS-CV" : "2UKZC5ZfcUWTrTevltkmqA.0", + "Body" : "{\"chatThread\":{\"id\":\"19:SD7Dm4dhTYxMgjvlYTLH_lNd_6s-IOVLbrw1tRskyYw1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:30:45Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-94ba-3ef0-8b3a0d0028e7\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-94ba-3ef0-8b3a0d0028e7\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Aszck9cOH5wRIZjjC5WWQE2gN55ThcoZ1wgmnPVdhnZY1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3ASD7Dm4dhTYxMgjvlYTLH_lNd_6s-IOVLbrw1tRskyYw1@thread.v2" }, "Exception" : null } ], diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatClientTest.canDeleteChatThreadWithResponse[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatClientTest.canDeleteChatThreadWithResponse[1].json index f6c7088fe720c..9ee2eb799e8b8 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatClientTest.canDeleteChatThreadWithResponse[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatClientTest.canDeleteChatThreadWithResponse[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "9dbabf3b-abe2-4b04-abf3-ba065c4befb0", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "02882e28-07e8-4cdf-867c-0907c635669d", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003021Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dc8e", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:51:54 GMT", + "Date" : "Wed, 04 May 2022 00:30:21 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "86ms", - "MS-CV" : "wfJ6mvjol0C/QDU4kQU03Q.0", - "X-Azure-Ref" : "0iz45YQAAAAC5dvXgZywcQ5trQf4FkwRfV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-f46e-a8f4-2348220001b0\"}}", - "x-ms-client-request-id" : "9dbabf3b-abe2-4b04-abf3-ba065c4befb0", + "X-Processing-Time" : "126ms", + "MS-CV" : "zt3PyyT8WUG1uzB9ooWiHA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-5b12-fa5d-573a0d002946\"}}", + "x-ms-client-request-id" : "02882e28-07e8-4cdf-867c-0907c635669d", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,93 +29,98 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "270a862d-a8be-4641-9a8f-52f8d0839430", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "a8e78926-2e0b-4e88-9428-e0ae7a4a3601", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003019Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000086af", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:51:55 GMT", + "Date" : "Wed, 04 May 2022 00:30:19 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "62ms", - "MS-CV" : "zks8ntFSbUS3As+AHx+Yrw.0", - "X-Azure-Ref" : "0iz45YQAAAAA6eXNoE6nnTo3CKmkywblRV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-f517-fcd8-a53a0d0000e5\"}}", - "x-ms-client-request-id" : "270a862d-a8be-4641-9a8f-52f8d0839430", + "X-Processing-Time" : "90ms", + "MS-CV" : "6YfxcVQHWkO4auGoTot88w.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-5ce1-7bfa-553a0d00229d\"}}", + "x-ms-client-request-id" : "a8e78926-2e0b-4e88-9428-e0ae7a4a3601", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-f46e-a8f4-2348220001b0/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-5b12-fa5d-573a0d002946/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "0b6a62da-97be-49f5-a4c5-6ba433259b5c", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "dfe2462e-eb7a-4b3c-b4b4-359c7f89d867", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003021Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dcc2", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:51:55 GMT", + "Date" : "Wed, 04 May 2022 00:30:22 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "152ms", - "MS-CV" : "yzHjWfG0C06iA/zGeDBKZA.0", - "X-Azure-Ref" : "0iz45YQAAAAAwBJG1ttViT582LsJw/oa+V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:51:55.8169315+00:00\"}", - "x-ms-client-request-id" : "0b6a62da-97be-49f5-a4c5-6ba433259b5c", + "X-Processing-Time" : "157ms", + "MS-CV" : "I8uRh8IiwkWduXwZn0l9cg.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:30:29.7194146+00:00\"}", + "x-ms-client-request-id" : "dfe2462e-eb7a-4b3c-b4b4-359c7f89d867", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "d331d324-96b1-4f47-9380-dc289cb1f0b9", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "cd8708ff-9ce2-46a0-ac62-a01dc72d09da", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003020Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000086g2", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:51:55 GMT", + "Date" : "Wed, 04 May 2022 00:30:20 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "343ms", - "MS-CV" : "mdPni2OnRk+3sfRlezsQkg.0", - "X-Azure-Ref" : "0iz45YQAAAAA+pLB+9MwiSIiWFseOndzpV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:YIkcEqki71hOmYoqXfabWRi7I8JlvQ9wiB2zniHdewY1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:51:55Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-f46e-a8f4-2348220001b0\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-f46e-a8f4-2348220001b0\"}}}}", + "X-Processing-Time" : "556ms", + "MS-CV" : "D75XJTMCGk27I1hy8WolZg.0", + "Body" : "{\"chatThread\":{\"id\":\"19:pyoyh36bxxHrcLhq2-CEV1FSpYnqNm55ICB1qg-uL081@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:30:29Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-5b12-fa5d-573a0d002946\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-5b12-fa5d-573a0d002946\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AYIkcEqki71hOmYoqXfabWRi7I8JlvQ9wiB2zniHdewY1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3Apyoyh36bxxHrcLhq2-CEV1FSpYnqNm55ICB1qg-uL081@thread.v2" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:YIkcEqki71hOmYoqXfabWRi7I8JlvQ9wiB2zniHdewY1@thread.v2?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:pyoyh36bxxHrcLhq2-CEV1FSpYnqNm55ICB1qg-uL081@thread.v2?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "4ee1243c-d36e-4cbe-a733-6195e5e03fa8" + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "2eec5389-a424-403c-8266-a6ad8d3ab4aa" }, "Response" : { + "x-azure-ref" : "20220504T003023Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dckw", "X-Cache" : "CONFIG_NOCACHE", "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "206ms", - "MS-CV" : "1sOklFFtTkCEZAZXnKOl3g.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "X-Processing-Time" : "125ms", + "Connection" : "keep-alive", + "MS-CV" : "CuRj8Wi7m0yDApTX1hIvXg.0", "retry-after" : "0", - "X-Azure-Ref" : "0jD45YQAAAAAqHn7ZeYkxT49nMMeO5C2QV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Wed, 08 Sep 2021 22:51:55 GMT" + "Date" : "Wed, 04 May 2022 00:30:23 GMT" }, "Exception" : null } ], diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatClientTest.canDeleteChatThread[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatClientTest.canDeleteChatThread[1].json index 0c0fb2bdc00ad..fcbc6b443a8aa 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatClientTest.canDeleteChatThread[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatClientTest.canDeleteChatThread[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "a1a09585-bffe-4031-beac-e2e8a52eaf25", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "032bbbf9-4fbd-4378-bdd1-18ce03d98c5f", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003016Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000085ua", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:51:53 GMT", + "Date" : "Wed, 04 May 2022 00:30:16 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "61ms", - "MS-CV" : "WWmwFRIdpEyRx7Ty6SqzgA.0", - "X-Azure-Ref" : "0iT45YQAAAAAl5M16LWWlRIILRqA7UInUV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-eeba-fcd8-a53a0d0000e4\"}}", - "x-ms-client-request-id" : "a1a09585-bffe-4031-beac-e2e8a52eaf25", + "X-Processing-Time" : "88ms", + "MS-CV" : "1HshWFlyLUOTpUwgEZeTSg.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-5245-defd-8b3a0d002899\"}}", + "x-ms-client-request-id" : "032bbbf9-4fbd-4378-bdd1-18ce03d98c5f", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,93 +29,98 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "9136dafd-35ba-45d4-bf28-b3d4e69c4bd6", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "ef0074a3-f59e-4e50-b57e-0ab40137abab", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003019Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dbye", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:51:53 GMT", + "Date" : "Wed, 04 May 2022 00:30:19 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "88ms", - "MS-CV" : "LMvrO260ckWZUy7rWb+ugQ.0", - "X-Azure-Ref" : "0ij45YQAAAAC8HHEN3Z6RTr/fn2cZFD7JV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-ef4a-a8f4-2348220001af\"}}", - "x-ms-client-request-id" : "9136dafd-35ba-45d4-bf28-b3d4e69c4bd6", + "X-Processing-Time" : "100ms", + "MS-CV" : "AY7b0RlY90e96XLaWBKAkg.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-53cd-3ef0-8b3a0d0028e1\"}}", + "x-ms-client-request-id" : "ef0074a3-f59e-4e50-b57e-0ab40137abab", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-eeba-fcd8-a53a0d0000e4/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-5245-defd-8b3a0d002899/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "558c1a57-70bb-4e56-97d8-59098e55d400", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "7a7d9e29-315e-48be-a119-1f500830932b", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003017Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000085yv", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:51:53 GMT", + "Date" : "Wed, 04 May 2022 00:30:17 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "266ms", - "MS-CV" : "cCMjbX+mukm63rWTs70ixw.0", - "X-Azure-Ref" : "0ij45YQAAAADPRx54IMZ2R7i5LR2uPUWKV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:51:54.4680183+00:00\"}", - "x-ms-client-request-id" : "558c1a57-70bb-4e56-97d8-59098e55d400", + "X-Processing-Time" : "158ms", + "MS-CV" : "IFz7OSkZSUyqxdQb4NleeQ.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:30:27.3203765+00:00\"}", + "x-ms-client-request-id" : "7a7d9e29-315e-48be-a119-1f500830932b", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "ed40c9dc-4278-4808-bbe7-859a08799dcb", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "77c96a47-590c-4fc5-a204-1e59a938ae6b", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003020Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dc38", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:51:54 GMT", + "Date" : "Wed, 04 May 2022 00:30:20 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "460ms", - "MS-CV" : "K8QBqyW7jkub/+F9VHRIMA.0", - "X-Azure-Ref" : "0ij45YQAAAACBsjSV+LudQJFKqq4ItBTAV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:NcZbHqqmZSZhL5W8dXJtIpWDszD0lmp5QwMMRKWSODU1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:51:54Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-eeba-fcd8-a53a0d0000e4\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-eeba-fcd8-a53a0d0000e4\"}}}}", + "X-Processing-Time" : "439ms", + "MS-CV" : "ca4PZAImoE+IETUUw1cp+A.0", + "Body" : "{\"chatThread\":{\"id\":\"19:KFOUl1rGywHszy4_P6ZHp3Tww9vKOh9xEna-mBhmRpM1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:30:27Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-5245-defd-8b3a0d002899\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-5245-defd-8b3a0d002899\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3ANcZbHqqmZSZhL5W8dXJtIpWDszD0lmp5QwMMRKWSODU1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AKFOUl1rGywHszy4_P6ZHp3Tww9vKOh9xEna-mBhmRpM1@thread.v2" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:NcZbHqqmZSZhL5W8dXJtIpWDszD0lmp5QwMMRKWSODU1@thread.v2?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:KFOUl1rGywHszy4_P6ZHp3Tww9vKOh9xEna-mBhmRpM1@thread.v2?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "23d81066-9706-4ea7-9f87-8da7ada19fac" + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "28672e65-21ac-4427-8f81-9825299b3653" }, "Response" : { + "x-azure-ref" : "20220504T003018Z-3knzm6g59904z2v1e8tfw6gqqn000000060g00000000864r", "X-Cache" : "CONFIG_NOCACHE", "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "236ms", - "MS-CV" : "HFzuPKkIj0WesquhniCbHQ.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "X-Processing-Time" : "210ms", + "Connection" : "keep-alive", + "MS-CV" : "ko3qXjrTJESoTMtzA8YRvA.0", "retry-after" : "0", - "X-Azure-Ref" : "0iz45YQAAAABO8LDhDHAfToBIdiwAaPBtV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Wed, 08 Sep 2021 22:51:54 GMT" + "Date" : "Wed, 04 May 2022 00:30:18 GMT" }, "Exception" : null } ], diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatClientTest.canGetChatThreadClient[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatClientTest.canGetChatThreadClient[1].json index a2d41d3f340ac..bd62def4f29c4 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatClientTest.canGetChatThreadClient[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatClientTest.canGetChatThreadClient[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "b5fea010-d51d-4913-8add-d2996d0fc752", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "65ecf2a6-460b-46a5-bb83-a93857e28560", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003036Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000089s5", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:02 GMT", + "Date" : "Wed, 04 May 2022 00:30:36 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "62ms", - "MS-CV" : "h5LWuyJr3k+arOdq4DhR9w.0", - "X-Azure-Ref" : "0kz45YQAAAAAXlWbWNy/5RaMHPwue5DXVV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-1279-5dbd-9f3a0d0000c0\"}}", - "x-ms-client-request-id" : "b5fea010-d51d-4913-8add-d2996d0fc752", + "X-Processing-Time" : "88ms", + "MS-CV" : "66HBHn2APEuub6imHl5tgg.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-9eb6-92fd-8b3a0d002907\"}}", + "x-ms-client-request-id" : "65ecf2a6-460b-46a5-bb83-a93857e28560", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,48 +29,51 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "d8beec59-3414-49e4-9cac-0f3103001a54", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "c8eaed2a-e006-431d-b6b6-68c1b79645cf", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003038Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000df97", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:02 GMT", + "Date" : "Wed, 04 May 2022 00:30:39 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "95ms", - "MS-CV" : "lPfpOxuDAkqJ9qcS9vFZQQ.0", - "X-Azure-Ref" : "0kz45YQAAAACrTRAaewtESI1w1F/v75+/V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-13d7-6efa-234822000059\"}}", - "x-ms-client-request-id" : "d8beec59-3414-49e4-9cac-0f3103001a54", + "X-Processing-Time" : "89ms", + "MS-CV" : "biJY0Zbs9k278ASzgakHwg.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-a04a-80f5-8b3a0d0025c0\"}}", + "x-ms-client-request-id" : "c8eaed2a-e006-431d-b6b6-68c1b79645cf", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-1279-5dbd-9f3a0d0000c0/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-9eb6-92fd-8b3a0d002907/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "257e1286-eeb9-4ca5-b360-db8153d0403e", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "7766f736-4119-4fdb-8562-e51ded3bc36c", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003036Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000089yq", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:52:03 GMT", + "Date" : "Wed, 04 May 2022 00:30:37 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "154ms", - "MS-CV" : "o3pXe/Zku06SnuKQIFsmjg.0", - "X-Azure-Ref" : "0kz45YQAAAADxdpAsdN4xSqokKwYDJ3URV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:52:03.7134647+00:00\"}", - "x-ms-client-request-id" : "257e1286-eeb9-4ca5-b360-db8153d0403e", + "X-Processing-Time" : "159ms", + "MS-CV" : "p5JYzHza+EGbkXUoha8OmQ.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:30:47.0550465+00:00\"}", + "x-ms-client-request-id" : "7766f736-4119-4fdb-8562-e51ded3bc36c", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatClientTest.canListChatThreadsWithMaxPageSize[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatClientTest.canListChatThreadsWithMaxPageSize[1].json index 857b70165999e..c206214ffe73c 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatClientTest.canListChatThreadsWithMaxPageSize[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatClientTest.canListChatThreadsWithMaxPageSize[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "0f8b7868-a59c-4a9f-8e0f-244dc433fa9d", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "e8118d7b-e2ae-47f3-97d6-2fb52ba2f5cb", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003029Z-3knzm6g59904z2v1e8tfw6gqqn000000060g00000000889z", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:51:59 GMT", + "Date" : "Wed, 04 May 2022 00:30:29 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "73ms", - "MS-CV" : "YRpu6mJKFUK/5c+ovhKMmg.0", - "X-Azure-Ref" : "0jz45YQAAAACFd4SZj3akQb2C7iv1HLC0V1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-05a7-5dbd-9f3a0d0000be\"}}", - "x-ms-client-request-id" : "0f8b7868-a59c-4a9f-8e0f-244dc433fa9d", + "X-Processing-Time" : "88ms", + "MS-CV" : "+n5Ppbe5AEmCIe8lP1/Q7g.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-834c-92fd-8b3a0d002902\"}}", + "x-ms-client-request-id" : "e8118d7b-e2ae-47f3-97d6-2fb52ba2f5cb", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,119 +29,125 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "a112ba6e-cde5-4708-8e2d-2215fb876e12", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "6c8fdc39-31e5-4ba3-bf4d-d53c7d1cbc88", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003031Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000ddzf", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:51:59 GMT", + "Date" : "Wed, 04 May 2022 00:30:32 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "92ms", - "MS-CV" : "/rz2uRKLPk60u6Cbil/ZUw.0", - "X-Azure-Ref" : "0jz45YQAAAADxhCOxAa6/Q6AIGZyp7SOBV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-0638-a8f4-2348220001b3\"}}", - "x-ms-client-request-id" : "a112ba6e-cde5-4708-8e2d-2215fb876e12", + "X-Processing-Time" : "89ms", + "MS-CV" : "N26BqR82U0y++CHhMvcnTQ.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-85ce-defd-8b3a0d00289c\"}}", + "x-ms-client-request-id" : "6c8fdc39-31e5-4ba3-bf4d-d53c7d1cbc88", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-05a7-5dbd-9f3a0d0000be/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-834c-92fd-8b3a0d002902/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "b1fd500b-10e8-46b5-b426-6f35eb4ea11f", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "eef3a789-31d9-4d6a-85fd-c9114042b5d2", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003030Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000088h0", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:51:59 GMT", + "Date" : "Wed, 04 May 2022 00:30:30 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "139ms", - "MS-CV" : "9MoeXECWRUaiO0GJDrxq2A.0", - "X-Azure-Ref" : "0kD45YQAAAAATzzLAUxtoQJam7tprZXTrV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:52:00.2181689+00:00\"}", - "x-ms-client-request-id" : "b1fd500b-10e8-46b5-b426-6f35eb4ea11f", + "X-Processing-Time" : "159ms", + "MS-CV" : "u+G3YI/PJk6ag5DadEC0mQ.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:30:40.1059583+00:00\"}", + "x-ms-client-request-id" : "eef3a789-31d9-4d6a-85fd-c9114042b5d2", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "22fb3447-539f-4365-a211-fdf4312a89c8", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "33d68665-27d9-44a4-95a5-1825d6df9318", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003033Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000de6d", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:51:59 GMT", + "Date" : "Wed, 04 May 2022 00:30:33 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "461ms", - "MS-CV" : "wQE0csmDzEuKqAJZU7nabQ.0", - "X-Azure-Ref" : "0kD45YQAAAACcHBJDulDMRKC61wXYtseLV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:uyEnNnKAonSRsTeCJb8LVGy57m7JgsjxTAI2W2v2jVM1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:52:00Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-05a7-5dbd-9f3a0d0000be\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-05a7-5dbd-9f3a0d0000be\"}}}}", + "X-Processing-Time" : "550ms", + "MS-CV" : "LNP94Zx6wkeAbPlzJ/WVIA.0", + "Body" : "{\"chatThread\":{\"id\":\"19:7AlKDEdqEhx8kxon5jJX9WFLVA38h2remdGO6MBQQKo1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:30:40Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-834c-92fd-8b3a0d002902\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-834c-92fd-8b3a0d002902\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AuyEnNnKAonSRsTeCJb8LVGy57m7JgsjxTAI2W2v2jVM1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3A7AlKDEdqEhx8kxon5jJX9WFLVA38h2remdGO6MBQQKo1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "74ca1ffb-6ca3-4da1-8616-de30facac350", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "5145b696-fdef-455f-a137-76ab70ad38f3", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003031Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000088u4", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:00 GMT", + "Date" : "Wed, 04 May 2022 00:30:32 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "554ms", - "MS-CV" : "RHm325GbLUuQdF0dy6C3rg.0", - "X-Azure-Ref" : "0kD45YQAAAACrskzui0W5RKiWXSezhUy0V1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:XXC9oLsEC0U7vMOtahLjqZXH0xd_jNrLGxKGlXYxcF81@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:52:00Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-05a7-5dbd-9f3a0d0000be\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-05a7-5dbd-9f3a0d0000be\"}}}}", + "X-Processing-Time" : "766ms", + "MS-CV" : "FkH65jg0VE61aZ0bzexvSA.0", + "Body" : "{\"chatThread\":{\"id\":\"19:HnA6rT58Rqh6VLXB1hb0kiR_K27tbpT-i1lbSd_TjsE1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:30:41Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-834c-92fd-8b3a0d002902\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-834c-92fd-8b3a0d002902\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AXXC9oLsEC0U7vMOtahLjqZXH0xd_jNrLGxKGlXYxcF81@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AHnA6rT58Rqh6VLXB1hb0kiR_K27tbpT-i1lbSd_TjsE1@thread.v2" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?maxPageSize=10&api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?maxPageSize=10&api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "48f76ed9-0a6b-435a-88cd-588b57940249" + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "0507c635-9f7e-4224-820a-7f0c600408f9" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003035Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000denc", "X-Cache" : "CONFIG_NOCACHE", - "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "98ms", - "MS-CV" : "+lihfCSQJUO6n3kJVASHuA.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", - "X-Azure-Ref" : "0kT45YQAAAABE4fNXsPQtS5KIRboDZdUUV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"value\":[{\"id\":\"19:XXC9oLsEC0U7vMOtahLjqZXH0xd_jNrLGxKGlXYxcF81@thread.v2\",\"topic\":\"Test\",\"lastMessageReceivedOn\":\"2021-09-08T22:52:00Z\"},{\"id\":\"19:uyEnNnKAonSRsTeCJb8LVGy57m7JgsjxTAI2W2v2jVM1@thread.v2\",\"topic\":\"Test\",\"lastMessageReceivedOn\":\"2021-09-08T22:52:00Z\"}]}", - "Date" : "Wed, 08 Sep 2021 22:52:01 GMT", + "Date" : "Wed, 04 May 2022 00:30:35 GMT", + "Strict-Transport-Security" : "max-age=2592000", + "X-Processing-Time" : "145ms", + "MS-CV" : "6QgUMGCC3UmAikX+ZR4FBw.0", + "Body" : "{\"value\":[{\"id\":\"19:HnA6rT58Rqh6VLXB1hb0kiR_K27tbpT-i1lbSd_TjsE1@thread.v2\",\"topic\":\"Test\",\"lastMessageReceivedOn\":\"2022-05-04T00:30:41Z\"},{\"id\":\"19:7AlKDEdqEhx8kxon5jJX9WFLVA38h2remdGO6MBQQKo1@thread.v2\",\"topic\":\"Test\",\"lastMessageReceivedOn\":\"2022-05-04T00:30:40Z\"}]}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatClientTest.canListChatThreads[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatClientTest.canListChatThreads[1].json index b2a01c4140bd8..0afde0987de27 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatClientTest.canListChatThreads[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatClientTest.canListChatThreads[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "e4c0df30-5a0c-4282-964f-a7eb4a1ebc32", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "8e277257-4867-476f-9a68-fe25bba96f77", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003021Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000086sh", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:51:56 GMT", + "Date" : "Wed, 04 May 2022 00:30:21 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "67ms", - "MS-CV" : "oGYDFtbC3EqV19pfCHlDqQ.0", - "X-Azure-Ref" : "0jD45YQAAAAD7bR+Wcx7xTa+YdboDDPweV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-f919-5dbd-9f3a0d0000bc\"}}", - "x-ms-client-request-id" : "e4c0df30-5a0c-4282-964f-a7eb4a1ebc32", + "X-Processing-Time" : "83ms", + "MS-CV" : "VoTMlQs99k2Tjf2mdBvFjA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-64fa-1252-573a0d002baf\"}}", + "x-ms-client-request-id" : "8e277257-4867-476f-9a68-fe25bba96f77", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,119 +29,125 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "cff033b8-4a14-466e-8f3b-5c89a4569587", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "0384c6ab-b661-42b1-b8db-818ceb7488e8", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003024Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dcs8", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:51:56 GMT", + "Date" : "Wed, 04 May 2022 00:30:24 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "87ms", - "MS-CV" : "xJAWrzarAUyEH7HL73v3bg.0", - "X-Azure-Ref" : "0jD45YQAAAABd9AViVRrpTKB4dGX4Rp6TV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-f9a0-a8f4-2348220001b1\"}}", - "x-ms-client-request-id" : "cff033b8-4a14-466e-8f3b-5c89a4569587", + "X-Processing-Time" : "89ms", + "MS-CV" : "0P9LY8fePUm+pUlFcJ98pg.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-6744-80f5-8b3a0d0025bd\"}}", + "x-ms-client-request-id" : "0384c6ab-b661-42b1-b8db-818ceb7488e8", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-f919-5dbd-9f3a0d0000bc/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-64fa-1252-573a0d002baf/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "b5d53da9-540c-4890-a812-50799b2a1557", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "72f26d3d-a2d4-42b5-ba78-672748b04d4d", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003022Z-3knzm6g59904z2v1e8tfw6gqqn000000060g00000000870c", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "803", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:51:56 GMT", + "Date" : "Wed, 04 May 2022 00:30:22 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "150ms", - "MS-CV" : "7ZlAXM+7C0iMHzPFfBdygA.0", - "X-Azure-Ref" : "0jD45YQAAAAAr54xIQXcORYOGX0cR9Cl3V1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:51:56.9968105+00:00\"}", - "x-ms-client-request-id" : "b5d53da9-540c-4890-a812-50799b2a1557", + "X-Processing-Time" : "156ms", + "MS-CV" : "STSv9rKn7UKtXey1pqlcEg.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:30:32.515163+00:00\"}", + "x-ms-client-request-id" : "72f26d3d-a2d4-42b5-ba78-672748b04d4d", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "add6170e-d8e7-4f43-9ce3-3951901830d3", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "80b01872-fb41-4ac5-9a72-fa2e64453fc2", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003025Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dcxm", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:51:56 GMT", + "Date" : "Wed, 04 May 2022 00:30:26 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "450ms", - "MS-CV" : "aZOyUjCrjkujiJ/BAf3LGA.0", - "X-Azure-Ref" : "0jT45YQAAAACkHdvaFdpHS5O08hGb4gOQV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:ld9idhZN1cR7_hzYTcfNxnxcNgp0nC1cjs0NS7s4Y1o1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:51:57Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-f919-5dbd-9f3a0d0000bc\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-f919-5dbd-9f3a0d0000bc\"}}}}", + "X-Processing-Time" : "909ms", + "MS-CV" : "jELUnA/zmUGA3fB9Jojf4w.0", + "Body" : "{\"chatThread\":{\"id\":\"19:TNQerrrQvpS-p8hvaUDGkK7isGj_e3YCrLfAhOQ3OmM1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:30:32Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-64fa-1252-573a0d002baf\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-64fa-1252-573a0d002baf\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Ald9idhZN1cR7_hzYTcfNxnxcNgp0nC1cjs0NS7s4Y1o1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3ATNQerrrQvpS-p8hvaUDGkK7isGj_e3YCrLfAhOQ3OmM1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "b424636c-bb62-40c8-9fc0-164c0228fc22", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "710bc30b-f6fc-4287-bb55-f5e391058eac", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003024Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000087bb", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:51:57 GMT", + "Date" : "Wed, 04 May 2022 00:30:24 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "362ms", - "MS-CV" : "msaYpNEK1UOaKXTizzMsgg.0", - "X-Azure-Ref" : "0jT45YQAAAAATWpr7wJSVQa+rCO7FUz8UV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:JV_Nm_ezRNnzVKJhWnCEF_xisDNKSbU9CK4nlRS8Zvc1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:51:57Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-f919-5dbd-9f3a0d0000bc\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677d-f919-5dbd-9f3a0d0000bc\"}}}}", + "X-Processing-Time" : "545ms", + "MS-CV" : "JmZ9AsITA0+dzK1s1X7RiA.0", + "Body" : "{\"chatThread\":{\"id\":\"19:SV0SDv147c7ikrYqMJiqL4iIKuq88khifQzPXUXmlVQ1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:30:33Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-64fa-1252-573a0d002baf\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-64fa-1252-573a0d002baf\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AJV_Nm_ezRNnzVKJhWnCEF_xisDNKSbU9CK4nlRS8Zvc1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3ASV0SDv147c7ikrYqMJiqL4iIKuq88khifQzPXUXmlVQ1@thread.v2" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "41f7c50d-a800-4ab5-8bfb-1eaa63c287bf" + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "014c73fe-0276-4de0-a408-a57a0cfe3836" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003027Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dd8p", "X-Cache" : "CONFIG_NOCACHE", - "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "99ms", - "MS-CV" : "Yjqf0VXvBkGDdvQuCE94mQ.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", - "X-Azure-Ref" : "0jj45YQAAAABxb64cNO09S5RLRo3LwXXuV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"value\":[{\"id\":\"19:JV_Nm_ezRNnzVKJhWnCEF_xisDNKSbU9CK4nlRS8Zvc1@thread.v2\",\"topic\":\"Test\",\"lastMessageReceivedOn\":\"2021-09-08T22:51:57Z\"},{\"id\":\"19:ld9idhZN1cR7_hzYTcfNxnxcNgp0nC1cjs0NS7s4Y1o1@thread.v2\",\"topic\":\"Test\",\"lastMessageReceivedOn\":\"2021-09-08T22:51:57Z\"}]}", - "Date" : "Wed, 08 Sep 2021 22:51:57 GMT", + "Date" : "Wed, 04 May 2022 00:30:27 GMT", + "Strict-Transport-Security" : "max-age=2592000", + "X-Processing-Time" : "85ms", + "MS-CV" : "g9+/e0F0v06R46VlJc/p5g.0", + "Body" : "{\"value\":[{\"id\":\"19:SV0SDv147c7ikrYqMJiqL4iIKuq88khifQzPXUXmlVQ1@thread.v2\",\"topic\":\"Test\",\"lastMessageReceivedOn\":\"2022-05-04T00:30:34Z\"},{\"id\":\"19:TNQerrrQvpS-p8hvaUDGkK7isGj_e3YCrLfAhOQ3OmM1@thread.v2\",\"topic\":\"Test\"}]}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canAddListAndRemoveMembersAsync[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canAddListAndRemoveMembersAsync[1].json index 9baaf1436ccc0..6879408eda68f 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canAddListAndRemoveMembersAsync[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canAddListAndRemoveMembersAsync[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "0527f560-a50f-4585-bce1-d94d13656db7", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "90bab541-44d9-47bb-bb27-b1ffe9dbd57e", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003225Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008y15", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:53 GMT", + "Date" : "Wed, 04 May 2022 00:32:26 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "61ms", - "MS-CV" : "Iu1EI91sNEO2fO5BZCqCYQ.0", - "X-Azure-Ref" : "0xT45YQAAAACir2km4gEdRrRG9s5xVKSSV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-d90c-5dbd-9f3a0d0000e4\"}}", - "x-ms-client-request-id" : "0527f560-a50f-4585-bce1-d94d13656db7", + "X-Processing-Time" : "88ms", + "MS-CV" : "KdBnhF3DyUeZnHMp0IQCEA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-4c16-1252-573a0d002bc9\"}}", + "x-ms-client-request-id" : "90bab541-44d9-47bb-bb27-b1ffe9dbd57e", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,97 +29,102 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "8f06e805-175a-47b8-90f0-520302a40c54", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "aada70e2-a47e-4bfb-b0e2-637f6cffb751", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003228Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e0p8", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:53 GMT", + "Date" : "Wed, 04 May 2022 00:32:29 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "88ms", - "MS-CV" : "HFp3jnbS1Ee0XUGGkPgNgw.0", - "X-Azure-Ref" : "0xT45YQAAAACflTYY6OOwTp73IAZgOobTV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-d992-6479-224822000149\"}}", - "x-ms-client-request-id" : "8f06e805-175a-47b8-90f0-520302a40c54", + "X-Processing-Time" : "92ms", + "MS-CV" : "z8SwNYMeP0KGbu+7EGGvOA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-4d94-7bfa-553a0d0022c3\"}}", + "x-ms-client-request-id" : "aada70e2-a47e-4bfb-b0e2-637f6cffb751", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-d90c-5dbd-9f3a0d0000e4/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-4c16-1252-573a0d002bc9/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "6771e79c-c88f-491c-a5d0-b86cc68974e7", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "a561243f-7f1d-46fc-8fc4-b29ac09ac6a7", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003226Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008y5b", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:52:53 GMT", + "Date" : "Wed, 04 May 2022 00:32:27 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "137ms", - "MS-CV" : "wdyqnCInekmWyld3TtB9mA.0", - "X-Azure-Ref" : "0xj45YQAAAADojhRblm2NT4jfoakFy0EHV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:52:54.3328937+00:00\"}", - "x-ms-client-request-id" : "6771e79c-c88f-491c-a5d0-b86cc68974e7", + "X-Processing-Time" : "156ms", + "MS-CV" : "vLylC68kEUulaatNxcmOIA.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:32:36.7702907+00:00\"}", + "x-ms-client-request-id" : "a561243f-7f1d-46fc-8fc4-b29ac09ac6a7", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "188e89b9-c295-4b1e-af3a-9af5e97e1d21", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "a7340c29-2032-4efb-966d-950b985c664f", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003229Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e0uq", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:53 GMT", + "Date" : "Wed, 04 May 2022 00:32:30 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "377ms", - "MS-CV" : "iM/5lQCrIUaFVF4waQRtsg.0", - "X-Azure-Ref" : "0xj45YQAAAAAqpn2errYAQoAf+WLPhhW3V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:02txNaelq0BJy7eO86wstZFv2zUjUU_2zReZNlxiWCk1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:52:54Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-d90c-5dbd-9f3a0d0000e4\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-d90c-5dbd-9f3a0d0000e4\"}}}}", + "X-Processing-Time" : "670ms", + "MS-CV" : "DrfAhLTKs0e0R0HhvRpbsA.0", + "Body" : "{\"chatThread\":{\"id\":\"19:tFiw2ZJbPQtDQh1Q6iCZ1uSKFnCL63dUPjyjQ4q31Rw1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:32:37Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-4c16-1252-573a0d002bc9\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-4c16-1252-573a0d002bc9\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A02txNaelq0BJy7eO86wstZFv2zUjUU_2zReZNlxiWCk1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AtFiw2ZJbPQtDQh1Q6iCZ1uSKFnCL63dUPjyjQ4q31Rw1@thread.v2" }, "Exception" : null }, { "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "c55baefd-064b-4308-b75b-de5f22122825", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "ca7d51d0-4b3f-419d-9134-235cc15a97eb", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003228Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008yet", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:54 GMT", + "Date" : "Wed, 04 May 2022 00:32:28 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "61ms", - "MS-CV" : "2Rpd/RnaGkOGB3mM7oompw.0", - "X-Azure-Ref" : "0xj45YQAAAACtGx0wRZtMQ7NoIuLqMZlRV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-dc9d-5dbd-9f3a0d0000e5\"}}", - "x-ms-client-request-id" : "c55baefd-064b-4308-b75b-de5f22122825", + "X-Processing-Time" : "86ms", + "MS-CV" : "iUWMurVZr0WHSY5eelvmRQ.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-5450-80f5-8b3a0d0025da\"}}", + "x-ms-client-request-id" : "ca7d51d0-4b3f-419d-9134-235cc15a97eb", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -127,65 +133,68 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "0a7a7179-7a6e-4f00-a51f-b3d307a43b5e", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "5efd478d-31ca-459e-87d1-2c04fd8fbe76", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003230Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e11n", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:54 GMT", + "Date" : "Wed, 04 May 2022 00:32:31 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "89ms", - "MS-CV" : "OAS9eadFzk2/d2MwNropPg.0", - "X-Azure-Ref" : "0xj45YQAAAADsB200Kpa6T5owOknkUuLPV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-dd1a-6efa-234822000084\"}}", - "x-ms-client-request-id" : "0a7a7179-7a6e-4f00-a51f-b3d307a43b5e", + "X-Processing-Time" : "86ms", + "MS-CV" : "GMb6gApCwUOqHxho6FlTOg.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-55c0-fa5d-573a0d002988\"}}", + "x-ms-client-request-id" : "5efd478d-31ca-459e-87d1-2c04fd8fbe76", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:02txNaelq0BJy7eO86wstZFv2zUjUU_2zReZNlxiWCk1@thread.v2/participants/:remove?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:tFiw2ZJbPQtDQh1Q6iCZ1uSKFnCL63dUPjyjQ4q31Rw1@thread.v2/participants/:remove?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "910f18fb-ab0f-4fe5-b143-68a62502b6db", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "ed34b52a-7723-4753-a229-d6a3b570665e", "Content-Type" : "application/json" }, "Response" : { + "x-azure-ref" : "20220504T003229Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008yp3", "X-Cache" : "CONFIG_NOCACHE", "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "165ms", - "MS-CV" : "XFbskrUrlUGMjCDBJTln2Q.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "X-Processing-Time" : "218ms", + "Connection" : "keep-alive", + "MS-CV" : "bsjzIfjejUKKHqKUhuj1Zg.0", "retry-after" : "0", - "X-Azure-Ref" : "0xz45YQAAAAAsf84ZfiQoSq7EJ9N62GjGV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Wed, 08 Sep 2021 22:52:54 GMT" + "Date" : "Wed, 04 May 2022 00:32:29 GMT" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:02txNaelq0BJy7eO86wstZFv2zUjUU_2zReZNlxiWCk1@thread.v2/participants/:remove?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:tFiw2ZJbPQtDQh1Q6iCZ1uSKFnCL63dUPjyjQ4q31Rw1@thread.v2/participants/:remove?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "8b7e2b91-d9f3-46f9-b44a-b7d0d87852d2", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "9a8aa9ea-6797-4d8c-a2cc-6737c1dca6e8", "Content-Type" : "application/json" }, "Response" : { + "x-azure-ref" : "20220504T003231Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e181", "X-Cache" : "CONFIG_NOCACHE", "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "225ms", - "MS-CV" : "XMM06I6G90eoFofFips1fQ.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "X-Processing-Time" : "174ms", + "Connection" : "keep-alive", + "MS-CV" : "c42mAH/aRU6V+beltog+fw.0", "retry-after" : "0", - "X-Azure-Ref" : "0xz45YQAAAAC41YMnoWd0Q7SRFA/alFw/V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Wed, 08 Sep 2021 22:52:54 GMT" + "Date" : "Wed, 04 May 2022 00:32:31 GMT" }, "Exception" : null } ], diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canAddListAndRemoveMembersWithOptionsAsync[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canAddListAndRemoveMembersWithOptionsAsync[1].json index 203660c10b35f..3f6f2cdcf344a 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canAddListAndRemoveMembersWithOptionsAsync[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canAddListAndRemoveMembersWithOptionsAsync[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "081a23c2-46ba-4f35-9d3f-3368515979a6", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "6da4b8de-f5e0-4592-bc64-eaed04203852", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003118Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dpp9", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:19 GMT", + "Date" : "Wed, 04 May 2022 00:31:19 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "93ms", - "MS-CV" : "mKtevPoE8kKNXxJ9Xq/pqQ.0", - "X-Azure-Ref" : "0pD45YQAAAAAcRK1QarlMTqk2aupEdmk3V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-555f-6efa-234822000069\"}}", - "x-ms-client-request-id" : "081a23c2-46ba-4f35-9d3f-3368515979a6", + "X-Processing-Time" : "88ms", + "MS-CV" : "Oiya2czUIkGlPgIrtWaSyA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-3c2f-3ef0-8b3a0d0028f7\"}}", + "x-ms-client-request-id" : "6da4b8de-f5e0-4592-bc64-eaed04203852", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,97 +29,102 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "42ecda57-49b8-4e02-b573-f45513e9bf0c", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "8b4d8190-5765-4f30-8cac-33b0692e26fb", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003116Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008h60", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:19 GMT", + "Date" : "Wed, 04 May 2022 00:31:17 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "63ms", - "MS-CV" : "spKMeC2dh0isB64BCFMNiw.0", - "X-Azure-Ref" : "0pD45YQAAAAC2wNX34S4HQYceB4Zpc/KtV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-55ff-fcd8-a53a0d0000ed\"}}", - "x-ms-client-request-id" : "42ecda57-49b8-4e02-b573-f45513e9bf0c", + "X-Processing-Time" : "89ms", + "MS-CV" : "Nm4BFXe0VE2lPFnxeiPnMg.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-3e1e-1252-573a0d002bbb\"}}", + "x-ms-client-request-id" : "8b4d8190-5765-4f30-8cac-33b0692e26fb", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-555f-6efa-234822000069/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-3c2f-3ef0-8b3a0d0028f7/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "8c252901-29c7-4610-840f-3f81238427c2", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "2a1075ed-39ac-4cc2-b416-8bdcb3da8157", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003119Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dptr", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:52:19 GMT", + "Date" : "Wed, 04 May 2022 00:31:20 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "160ms", - "MS-CV" : "SSP0n3NRE0yjReHCOOCsOw.0", - "X-Azure-Ref" : "0pD45YQAAAABY8Bp1wop9QZwe2HLvQCf0V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:52:20.620629+00:00\"}", - "x-ms-client-request-id" : "8c252901-29c7-4610-840f-3f81238427c2", + "X-Processing-Time" : "156ms", + "MS-CV" : "rIJhtRR2+k6roLKtsmjG+A.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:31:27.2768052+00:00\"}", + "x-ms-client-request-id" : "2a1075ed-39ac-4cc2-b416-8bdcb3da8157", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "51821559-a28c-4835-a714-6ef5cf64b6f0", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "6bc26a33-51fc-41b7-8ea5-eb1584020b3c", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003117Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008hb0", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:20 GMT", + "Date" : "Wed, 04 May 2022 00:31:18 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "345ms", - "MS-CV" : "e4KHbbtSCkignFjXgq/8Cg.0", - "X-Azure-Ref" : "0pD45YQAAAADmOSzo4DJhSK11iEMA2MwLV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:Yy-q24oibNvfbnKUCywF1Zps6Vrb9dPV6oCWNDeV9Uo1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:52:20Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-555f-6efa-234822000069\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-555f-6efa-234822000069\"}}}}", + "X-Processing-Time" : "959ms", + "MS-CV" : "8PGm8obq/EqcbqlWd7vDOg.0", + "Body" : "{\"chatThread\":{\"id\":\"19:lo-_T9GEQtzOCgNLR0ythtM7BpJ1gR30GBFzl2oSJGU1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:31:27Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-3c2f-3ef0-8b3a0d0028f7\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-3c2f-3ef0-8b3a0d0028f7\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AYy-q24oibNvfbnKUCywF1Zps6Vrb9dPV6oCWNDeV9Uo1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3Alo-_T9GEQtzOCgNLR0ythtM7BpJ1gR30GBFzl2oSJGU1@thread.v2" }, "Exception" : null }, { "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "e405d821-2dd1-4554-8766-1a1156de9c2a", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "97a01152-dcce-4c67-b2d1-7dc1cbca6235", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003121Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dq16", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:20 GMT", + "Date" : "Wed, 04 May 2022 00:31:21 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "94ms", - "MS-CV" : "g30Su5iOWUCE8I4plKllWQ.0", - "X-Azure-Ref" : "0pT45YQAAAAC8VPvU8z13To6fKd6RkV7WV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-58fb-6efa-23482200006a\"}}", - "x-ms-client-request-id" : "e405d821-2dd1-4554-8766-1a1156de9c2a", + "X-Processing-Time" : "220ms", + "MS-CV" : "920onYR7kkOOgsj/9Xob0A.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-4687-defd-8b3a0d0028ae\"}}", + "x-ms-client-request-id" : "97a01152-dcce-4c67-b2d1-7dc1cbca6235", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -127,65 +133,68 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "aff5a460-5f31-423e-94f6-cc0ee2049757", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "6c9da1d2-6910-4aa5-b223-5a7709029c88", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003119Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008hm6", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:20 GMT", + "Date" : "Wed, 04 May 2022 00:31:19 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "73ms", - "MS-CV" : "QYjJVHHN0kGZdfjTOVG2dQ.0", - "X-Azure-Ref" : "0pT45YQAAAADcAaA/sQclQoE8zbcAWe5CV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-599a-5dbd-9f3a0d0000c9\"}}", - "x-ms-client-request-id" : "aff5a460-5f31-423e-94f6-cc0ee2049757", + "X-Processing-Time" : "92ms", + "MS-CV" : "pThxUkQf0E6jFcYbrMYFTQ.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-488c-eef0-8b3a0d0022dd\"}}", + "x-ms-client-request-id" : "6c9da1d2-6910-4aa5-b223-5a7709029c88", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:Yy-q24oibNvfbnKUCywF1Zps6Vrb9dPV6oCWNDeV9Uo1@thread.v2/participants/:remove?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:lo-_T9GEQtzOCgNLR0ythtM7BpJ1gR30GBFzl2oSJGU1@thread.v2/participants/:remove?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "adeb895d-cc98-4f43-9987-933f09cf1350", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "8605096f-59d2-4253-9b85-123db0c84ec6", "Content-Type" : "application/json" }, "Response" : { + "x-azure-ref" : "20220504T003122Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dq6t", "X-Cache" : "CONFIG_NOCACHE", "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "388ms", - "MS-CV" : "VvF7TPFxGEaIptOpt2UIbA.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "X-Processing-Time" : "145ms", + "Connection" : "keep-alive", + "MS-CV" : "dr6j2bmxmEOVXuiQllPqUg.0", "retry-after" : "0", - "X-Azure-Ref" : "0pT45YQAAAADzkIomyd9zSZSoIbrafaBjV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Wed, 08 Sep 2021 22:52:20 GMT" + "Date" : "Wed, 04 May 2022 00:31:22 GMT" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:Yy-q24oibNvfbnKUCywF1Zps6Vrb9dPV6oCWNDeV9Uo1@thread.v2/participants/:remove?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:lo-_T9GEQtzOCgNLR0ythtM7BpJ1gR30GBFzl2oSJGU1@thread.v2/participants/:remove?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "ce0f6172-1bde-4e4b-a550-e6082984cc28", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "ae60b812-9b8b-4561-ac9b-640cc7149bc5", "Content-Type" : "application/json" }, "Response" : { + "x-azure-ref" : "20220504T003120Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008hs8", "X-Cache" : "CONFIG_NOCACHE", "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "199ms", - "MS-CV" : "xvKTCJrK00u2RtUqha/zqg.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "X-Processing-Time" : "103ms", + "Connection" : "keep-alive", + "MS-CV" : "mHHY72xOXkqNV7+YmAIIeg.0", "retry-after" : "0", - "X-Azure-Ref" : "0pT45YQAAAACzEqwztViPSbiXjxX5XOKdV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Wed, 08 Sep 2021 22:52:21 GMT" + "Date" : "Wed, 04 May 2022 00:31:20 GMT" }, "Exception" : null } ], diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canAddListAndRemoveMembersWithResponseAsync[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canAddListAndRemoveMembersWithResponseAsync[1].json index ba24e1b944b7c..6758f3faca5ca 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canAddListAndRemoveMembersWithResponseAsync[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canAddListAndRemoveMembersWithResponseAsync[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "9bd033da-6a7c-43d5-9999-2d09286d9bf6", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "d587cece-1e07-4303-9970-37fe2871506c", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003126Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008kxb", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:24 GMT", + "Date" : "Wed, 04 May 2022 00:31:26 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "61ms", - "MS-CV" : "Q4pJcrsNVEepzev9JcV9Nw.0", - "X-Azure-Ref" : "0qD45YQAAAAAQlavAgryXRInau9xkk0XtV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-6786-5dbd-9f3a0d0000cb\"}}", - "x-ms-client-request-id" : "9bd033da-6a7c-43d5-9999-2d09286d9bf6", + "X-Processing-Time" : "93ms", + "MS-CV" : "gyJxCJTrs0yeAyU6KcKdnA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-62b6-eef0-8b3a0d0022de\"}}", + "x-ms-client-request-id" : "d587cece-1e07-4303-9970-37fe2871506c", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,97 +29,102 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "c1918761-7bf8-49bb-a4c8-f5151a594fee", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "c9f386d8-bd08-40fc-9da8-f22eb691d801", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003129Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dr8c", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:24 GMT", + "Date" : "Wed, 04 May 2022 00:31:29 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "88ms", - "MS-CV" : "scQhgzugOEiLVT0q8cq1uw.0", - "X-Azure-Ref" : "0qD45YQAAAADktGtOmrxVQahfeRaGDUGMV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-6808-6efa-23482200006e\"}}", - "x-ms-client-request-id" : "c1918761-7bf8-49bb-a4c8-f5151a594fee", + "X-Processing-Time" : "85ms", + "MS-CV" : "pHGCFuSJpkCiCaXDgFfMXw.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-64f7-92fd-8b3a0d002920\"}}", + "x-ms-client-request-id" : "c9f386d8-bd08-40fc-9da8-f22eb691d801", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-6786-5dbd-9f3a0d0000cb/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-62b6-eef0-8b3a0d0022de/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "8b680d21-5a08-49d1-bac5-54979d379206", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "bcdd692e-d7a5-42d1-8145-2d412578673a", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003127Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008m4a", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:52:24 GMT", + "Date" : "Wed, 04 May 2022 00:31:27 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "137ms", - "MS-CV" : "+XMOa5wwU0KN7kj8KOz/Wg.0", - "X-Azure-Ref" : "0qT45YQAAAACglLFNt213RIrho+kInTjxV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:52:25.2414541+00:00\"}", - "x-ms-client-request-id" : "8b680d21-5a08-49d1-bac5-54979d379206", + "X-Processing-Time" : "156ms", + "MS-CV" : "eL4KLiQ2hkeKZ5icg2saDw.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:31:37.4726659+00:00\"}", + "x-ms-client-request-id" : "bcdd692e-d7a5-42d1-8145-2d412578673a", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "cd1a3ce4-8e98-43c8-b7f9-173ad55fcf79", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "b5c39f2e-3760-4d15-bfd2-ce11aef4d9ca", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003130Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000drf3", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:25 GMT", + "Date" : "Wed, 04 May 2022 00:31:31 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "739ms", - "MS-CV" : "OAI/NLeGIke7WOWlq3WzsA.0", - "X-Azure-Ref" : "0qT45YQAAAACpfHSv/L8sT5BNqSCMBX+LV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:7i1vIcHpArK5hR20i2Xx3X22Oal50AKlYCf2icsC7XI1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:52:25Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-6786-5dbd-9f3a0d0000cb\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-6786-5dbd-9f3a0d0000cb\"}}}}", + "X-Processing-Time" : "707ms", + "MS-CV" : "RFsj1H3p/EaeTs+l0DwguQ.0", + "Body" : "{\"chatThread\":{\"id\":\"19:klCLn0V5wmkQfbHxOcaSobdgKa3avXejWPUyk0Xk7K81@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:31:37Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-62b6-eef0-8b3a0d0022de\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-62b6-eef0-8b3a0d0022de\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A7i1vIcHpArK5hR20i2Xx3X22Oal50AKlYCf2icsC7XI1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AklCLn0V5wmkQfbHxOcaSobdgKa3avXejWPUyk0Xk7K81@thread.v2" }, "Exception" : null }, { "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "2d096d97-b57d-402f-a645-5cbe6e6908ec", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "377e14dd-ec5d-49ab-9dae-f633d9c67dbb", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003128Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008me3", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:25 GMT", + "Date" : "Wed, 04 May 2022 00:31:29 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "63ms", - "MS-CV" : "s230grDs+EyzMCUlWOCKRg.0", - "X-Azure-Ref" : "0qj45YQAAAADh1edtpHy9Rq6mDV2BWhO4V1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-6c69-5dbd-9f3a0d0000cc\"}}", - "x-ms-client-request-id" : "2d096d97-b57d-402f-a645-5cbe6e6908ec", + "X-Processing-Time" : "89ms", + "MS-CV" : "4eQMf+uEVEGHISOHiHgJtg.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-6d22-defd-8b3a0d0028b0\"}}", + "x-ms-client-request-id" : "377e14dd-ec5d-49ab-9dae-f633d9c67dbb", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -127,65 +133,68 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "b41663d2-e4cb-4408-b372-0084e9a78f83", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "df526344-3c4d-4ad5-ba1f-39122218739a", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003131Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000drpd", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:25 GMT", + "Date" : "Wed, 04 May 2022 00:31:32 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "87ms", - "MS-CV" : "87z2xzzGT0uGHhdQPQPnhw.0", - "X-Azure-Ref" : "0qj45YQAAAAAe88rJHCOJTpyVW55u3TKbV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-6ceb-6efa-23482200006f\"}}", - "x-ms-client-request-id" : "b41663d2-e4cb-4408-b372-0084e9a78f83", + "X-Processing-Time" : "88ms", + "MS-CV" : "3Rj53lEWT0CqGItb86ly3g.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-6ec4-eef0-8b3a0d0022df\"}}", + "x-ms-client-request-id" : "df526344-3c4d-4ad5-ba1f-39122218739a", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:7i1vIcHpArK5hR20i2Xx3X22Oal50AKlYCf2icsC7XI1@thread.v2/participants/:remove?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:klCLn0V5wmkQfbHxOcaSobdgKa3avXejWPUyk0Xk7K81@thread.v2/participants/:remove?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "0c572a1d-b5fe-471c-aab9-465a53270460", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "2ce51b0a-63d9-4ef9-826b-5025ba2be37b", "Content-Type" : "application/json" }, "Response" : { + "x-azure-ref" : "20220504T003129Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008mkh", "X-Cache" : "CONFIG_NOCACHE", "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "198ms", - "MS-CV" : "8xY3h8ZfAk++Hkcq1fVEDw.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "X-Processing-Time" : "226ms", + "Connection" : "keep-alive", + "MS-CV" : "oMiaS7OgzUq7OoK6XPf/Jw.0", "retry-after" : "0", - "X-Azure-Ref" : "0qj45YQAAAAC694FVkd24SZCaHMlIZy7VV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Wed, 08 Sep 2021 22:52:25 GMT" + "Date" : "Wed, 04 May 2022 00:31:30 GMT" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:7i1vIcHpArK5hR20i2Xx3X22Oal50AKlYCf2icsC7XI1@thread.v2/participants/:remove?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:klCLn0V5wmkQfbHxOcaSobdgKa3avXejWPUyk0Xk7K81@thread.v2/participants/:remove?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "113b9210-c6c4-4f32-837b-8e415389dd08", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "b95bb53c-d630-482d-beec-433e02525f9c", "Content-Type" : "application/json" }, "Response" : { + "x-azure-ref" : "20220504T003132Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000drsz", "X-Cache" : "CONFIG_NOCACHE", "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "175ms", - "MS-CV" : "v73hGLwvGU2rNlD/uuKS7A.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "X-Processing-Time" : "216ms", + "Connection" : "keep-alive", + "MS-CV" : "u8P/XcbeNEGmXkAaeZDrLA.0", "retry-after" : "0", - "X-Azure-Ref" : "0qj45YQAAAAA1shl4ynVVS4hWHC7ErtGeV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Wed, 08 Sep 2021 22:52:25 GMT" + "Date" : "Wed, 04 May 2022 00:31:32 GMT" }, "Exception" : null } ], diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canAddListWithContextAndRemoveMembersAsync[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canAddListWithContextAndRemoveMembersAsync[1].json index 6f36c0265722f..01746f7fd0001 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canAddListWithContextAndRemoveMembersAsync[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canAddListWithContextAndRemoveMembersAsync[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "790d11f4-fb6c-4330-9c2c-51dcd8289808", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "ee7a1103-9dea-4535-b592-0181b770a009", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003213Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008vwv", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:47 GMT", + "Date" : "Wed, 04 May 2022 00:32:14 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "73ms", - "MS-CV" : "MiKkqpunkk+C8EgtZXN6bg.0", - "X-Azure-Ref" : "0wD45YQAAAAA3NY4WmW4KR6axFyflfrZxV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-c235-5dbd-9f3a0d0000df\"}}", - "x-ms-client-request-id" : "790d11f4-fb6c-4330-9c2c-51dcd8289808", + "X-Processing-Time" : "87ms", + "MS-CV" : "OkKVYWoNAE6ntnL6D3yR5Q.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-1ce2-655d-573a0d002484\"}}", + "x-ms-client-request-id" : "ee7a1103-9dea-4535-b592-0181b770a009", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,95 +29,100 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "e402a65a-b0f9-4a08-ad54-c04f15f4750d", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "ef50b56d-2990-4891-83b7-ee0f7502808e", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003216Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dypn", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:47 GMT", + "Date" : "Wed, 04 May 2022 00:32:17 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "89ms", - "MS-CV" : "Uk8yx9d+mUqyBBuh9ybiKA.0", - "X-Azure-Ref" : "0wD45YQAAAADmtNNaerTcTZqVNhPILlh9V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-c2c0-6479-224822000145\"}}", - "x-ms-client-request-id" : "e402a65a-b0f9-4a08-ad54-c04f15f4750d", + "X-Processing-Time" : "92ms", + "MS-CV" : "BqOsaSTIGk6xGbh2U/4XiA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-1ec8-eef0-8b3a0d0022ed\"}}", + "x-ms-client-request-id" : "ef50b56d-2990-4891-83b7-ee0f7502808e", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-c235-5dbd-9f3a0d0000df/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-1ce2-655d-573a0d002484/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "8fcc4b04-4a62-4c59-9fed-765492987644", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "66dae2ce-60c1-4492-966c-fc6ddc5113b0", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003214Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008w3d", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:52:47 GMT", + "Date" : "Wed, 04 May 2022 00:32:15 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "135ms", - "MS-CV" : "KfbZbcTR50CnTCXcHUkU6A.0", - "X-Azure-Ref" : "0wD45YQAAAAC0yUIBGh86SqtDqnBDo5CfV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:52:48.460629+00:00\"}", - "x-ms-client-request-id" : "8fcc4b04-4a62-4c59-9fed-765492987644", + "X-Processing-Time" : "159ms", + "MS-CV" : "PXFiR6VORke6fo/NX/H60Q.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:32:24.7949735+00:00\"}", + "x-ms-client-request-id" : "66dae2ce-60c1-4492-966c-fc6ddc5113b0", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "7c06535d-9e81-44d4-be31-148b96349c31", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "2e9dd1a2-11b6-423e-94e5-fa318c6969ea", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003217Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dytp", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:48 GMT", + "Date" : "Wed, 04 May 2022 00:32:18 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "446ms", - "MS-CV" : "Sywra/Too0yEEneuNPCD+Q.0", - "X-Azure-Ref" : "0wD45YQAAAADnXO4Uo/wFT4Zot6BVgSMRV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:ZrYWiDmOTlzMM4IGmSO8KU5ED0VrsKB2D-uWDHDksCE1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:52:48Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-c235-5dbd-9f3a0d0000df\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-c235-5dbd-9f3a0d0000df\"}}}}", + "X-Processing-Time" : "707ms", + "MS-CV" : "HiqUhFcvqEyHxC/8fktMyQ.0", + "Body" : "{\"chatThread\":{\"id\":\"19:pKt--8ybPQPwFfAJg2fsRaX-vbSeg2NMRucLvSCOuNY1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:32:25Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-1ce2-655d-573a0d002484\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-1ce2-655d-573a0d002484\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AZrYWiDmOTlzMM4IGmSO8KU5ED0VrsKB2D-uWDHDksCE1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3ApKt--8ybPQPwFfAJg2fsRaX-vbSeg2NMRucLvSCOuNY1@thread.v2" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:ZrYWiDmOTlzMM4IGmSO8KU5ED0VrsKB2D-uWDHDksCE1@thread.v2/participants?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:pKt--8ybPQPwFfAJg2fsRaX-vbSeg2NMRucLvSCOuNY1@thread.v2/participants?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "711ef639-3850-40da-afd8-2f48df25a72c" + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "a2b71bed-6205-4daf-8c66-3a66df3ab702" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003216Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008wda", "X-Cache" : "CONFIG_NOCACHE", - "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "152ms", - "MS-CV" : "grms6rxHhk6VtD5LJrI9TA.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", - "X-Azure-Ref" : "0wD45YQAAAACpRvx0kE+7Qa+9uhjMNouUV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"value\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-c235-5dbd-9f3a0d0000df\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-c235-5dbd-9f3a0d0000df\"}},\"displayName\":\"Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-c2c0-6479-224822000145\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-c2c0-6479-224822000145\"}},\"displayName\":\"Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}]}", - "Date" : "Wed, 08 Sep 2021 22:52:48 GMT", + "Date" : "Wed, 04 May 2022 00:32:16 GMT", + "Strict-Transport-Security" : "max-age=2592000", + "X-Processing-Time" : "193ms", + "MS-CV" : "iHShQAwpLkSIX/WaMn1iDg.0", + "Body" : "{\"value\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-1ce2-655d-573a0d002484\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-1ce2-655d-573a0d002484\"}},\"displayName\":\"Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-1ec8-eef0-8b3a0d0022ed\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-1ec8-eef0-8b3a0d0022ed\"}},\"displayName\":\"Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}]}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canAddListWithContextMembersAsync[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canAddListWithContextMembersAsync[1].json index d3029f3c04604..ebb8258a902eb 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canAddListWithContextMembersAsync[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canAddListWithContextMembersAsync[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "077fa482-b6f3-4e02-91c8-33913c837dea", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "99d41586-b0de-4fbb-bc1d-0cfd972d7729", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003102Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dm73", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:12 GMT", + "Date" : "Wed, 04 May 2022 00:31:02 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "90ms", - "MS-CV" : "A85+b4XYaUKhPIIikGlFGQ.0", - "X-Azure-Ref" : "0nT45YQAAAAAorjHjcYHRRZaTyLFBKZrJV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-39d6-6efa-234822000063\"}}", - "x-ms-client-request-id" : "077fa482-b6f3-4e02-91c8-33913c837dea", + "X-Processing-Time" : "209ms", + "MS-CV" : "q5MgG4SB4k6dbHxETDvSZQ.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-fba2-92fd-8b3a0d002917\"}}", + "x-ms-client-request-id" : "99d41586-b0de-4fbb-bc1d-0cfd972d7729", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,97 +29,102 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "be1118be-79cd-4b3f-898f-defcb2b67a04", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "b95280a4-d7ae-45dd-864f-b40b08f18ec9", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003100Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008e9w", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:12 GMT", + "Date" : "Wed, 04 May 2022 00:31:00 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "61ms", - "MS-CV" : "DtRN8qv7TkSjc9HMzGm16Q.0", - "X-Azure-Ref" : "0nT45YQAAAAA+UmCyhIqNS78tstdooa12V1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-3a77-fcd8-a53a0d0000ea\"}}", - "x-ms-client-request-id" : "be1118be-79cd-4b3f-898f-defcb2b67a04", + "X-Processing-Time" : "88ms", + "MS-CV" : "DVZ5KYzfoEirKhEER7GnVA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-fea4-92fd-8b3a0d002918\"}}", + "x-ms-client-request-id" : "b95280a4-d7ae-45dd-864f-b40b08f18ec9", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-39d6-6efa-234822000063/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-fba2-92fd-8b3a0d002917/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "9f673ee4-363c-45d1-9e01-10376ca133b6", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "09bdf601-cabf-423d-a94f-9a383dec56fe", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003103Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dmd0", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:52:12 GMT", + "Date" : "Wed, 04 May 2022 00:31:03 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", "X-Processing-Time" : "156ms", - "MS-CV" : "0ixh6pJ910+eASLCZb7d6A.0", - "X-Azure-Ref" : "0nT45YQAAAACaJrBwRXS/Sp4JOAFj0V1PV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:52:13.5811848+00:00\"}", - "x-ms-client-request-id" : "9f673ee4-363c-45d1-9e01-10376ca133b6", + "MS-CV" : "GDchRS9lQUuULvhR7TVhVQ.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:31:11.2345906+00:00\"}", + "x-ms-client-request-id" : "09bdf601-cabf-423d-a94f-9a383dec56fe", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "b72b54e8-ac08-49e6-80a0-b8201195ff6b", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "71ddcbbe-3fc2-4b11-aec5-8820371ee5e4", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003101Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008egw", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:13 GMT", + "Date" : "Wed, 04 May 2022 00:31:02 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "357ms", - "MS-CV" : "+hpYL3jup0ahaRF5OEgQfw.0", - "X-Azure-Ref" : "0nT45YQAAAAAL5DU4BF6uRahzD+rRAEuwV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:9z7fzZAIwr-YUUHr9JJZ69f-jeqjOqHjuiJdL-awGlY1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:52:13Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-39d6-6efa-234822000063\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-39d6-6efa-234822000063\"}}}}", + "X-Processing-Time" : "562ms", + "MS-CV" : "EAGz71RIRE6AlFKRQlditg.0", + "Body" : "{\"chatThread\":{\"id\":\"19:9umk-ycbe5uFIBAbZWBq2dfkfK3WTo3rx-YKPZclFtA1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:31:11Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-fba2-92fd-8b3a0d002917\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-fba2-92fd-8b3a0d002917\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A9z7fzZAIwr-YUUHr9JJZ69f-jeqjOqHjuiJdL-awGlY1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3A9umk-ycbe5uFIBAbZWBq2dfkfK3WTo3rx-YKPZclFtA1@thread.v2" }, "Exception" : null }, { "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "23d073c0-c1d2-427f-8876-a431b1af6ae0", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "a65978a8-c936-40ec-90a4-d00cbad97410", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003104Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dmn7", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:13 GMT", + "Date" : "Wed, 04 May 2022 00:31:05 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "146ms", - "MS-CV" : "FNEGo9cPhki+UfF8KnCDHQ.0", - "X-Azure-Ref" : "0nj45YQAAAADKQngfMVrDRpz9cp0cdvGjV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-3dc0-6efa-234822000064\"}}", - "x-ms-client-request-id" : "23d073c0-c1d2-427f-8876-a431b1af6ae0", + "X-Processing-Time" : "88ms", + "MS-CV" : "Hq3Fc1G2E0e4Dhd/qWVqRg.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-0677-eef0-8b3a0d0022d8\"}}", + "x-ms-client-request-id" : "a65978a8-c936-40ec-90a4-d00cbad97410", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -127,23 +133,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "a0d4af7b-9207-47d4-8e93-3065488fb08b", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "bc0f87db-ebcb-4863-b686-92a6704a7657", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003103Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008esc", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:13 GMT", + "Date" : "Wed, 04 May 2022 00:31:03 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "73ms", - "MS-CV" : "q0fT07xXMUKIXqYV53SZdw.0", - "X-Azure-Ref" : "0nj45YQAAAAB6DFS0YIsnTZCTdPM8L5yaV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-3e6a-5dbd-9f3a0d0000c6\"}}", - "x-ms-client-request-id" : "a0d4af7b-9207-47d4-8e93-3065488fb08b", + "X-Processing-Time" : "87ms", + "MS-CV" : "Nz/VLj5AhUWZB+N6D88lQw.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-08b8-defd-8b3a0d0028a8\"}}", + "x-ms-client-request-id" : "bc0f87db-ebcb-4863-b686-92a6704a7657", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canAddSingleParticipantAsync[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canAddSingleParticipantAsync[1].json index 986b70b565a07..e234298c484f0 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canAddSingleParticipantAsync[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canAddSingleParticipantAsync[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "706b7ae6-e6f5-430e-acd9-dd4c668b8bda", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "ad9cc7ea-0412-4d82-a0b3-e724e539fc2d", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003212Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dy4x", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:46 GMT", + "Date" : "Wed, 04 May 2022 00:32:13 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "88ms", - "MS-CV" : "RWSeRjVXc0KkmTwyM0xf7w.0", - "X-Azure-Ref" : "0vj45YQAAAADBCR/tP+qeRbkWJjq6d2OsV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-bdbb-6efa-234822000081\"}}", - "x-ms-client-request-id" : "706b7ae6-e6f5-430e-acd9-dd4c668b8bda", + "X-Processing-Time" : "89ms", + "MS-CV" : "JpV0E1lgUkSv60i74WSR/Q.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-1042-69f0-553a0d0029bc\"}}", + "x-ms-client-request-id" : "ad9cc7ea-0412-4d82-a0b3-e724e539fc2d", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,97 +29,102 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "7d0a98b9-2074-40c1-bb8e-134131ac8cd7", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "3e7d92a4-1641-4fbd-a998-74982a11ca55", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003211Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008vb1", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:46 GMT", + "Date" : "Wed, 04 May 2022 00:32:11 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "63ms", - "MS-CV" : "cOPEo/GlYUmD92B+7dJjGw.0", - "X-Azure-Ref" : "0vz45YQAAAAB46jaBvR0fRI1SWvIOV+Y2V1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-be63-5dbd-9f3a0d0000de\"}}", - "x-ms-client-request-id" : "7d0a98b9-2074-40c1-bb8e-134131ac8cd7", + "X-Processing-Time" : "89ms", + "MS-CV" : "JBGArsTjVEuTB53tOkwIqg.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-12bb-1252-573a0d002bc4\"}}", + "x-ms-client-request-id" : "3e7d92a4-1641-4fbd-a998-74982a11ca55", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-bdbb-6efa-234822000081/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-1042-69f0-553a0d0029bc/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "e7f91f81-4e51-40ec-b309-4982f7adcfaa", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "77f3eff3-c110-445e-85ca-618ecba0136d", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003214Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dy9p", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:52:46 GMT", + "Date" : "Wed, 04 May 2022 00:32:14 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "185ms", - "MS-CV" : "OJHjvwbVlUGkhMfhdd0pVA.0", - "X-Azure-Ref" : "0vz45YQAAAABGVu5Z3TlNT4T+bbsY4OQIV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:52:47.3664518+00:00\"}", - "x-ms-client-request-id" : "e7f91f81-4e51-40ec-b309-4982f7adcfaa", + "X-Processing-Time" : "169ms", + "MS-CV" : "0XQhGk3Ra06vpmqzAHoL2Q.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:32:21.8594201+00:00\"}", + "x-ms-client-request-id" : "77f3eff3-c110-445e-85ca-618ecba0136d", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "5c151117-e4a4-45dd-968d-d49971a390a0", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "74bd51ca-a4a9-458b-8353-60b7a062d7c8", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003212Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008vn0", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:47 GMT", + "Date" : "Wed, 04 May 2022 00:32:13 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "379ms", - "MS-CV" : "NVz2v4EMFEubZRywGWvi8g.0", - "X-Azure-Ref" : "0vz45YQAAAAAVg/5glzpwQKJjYQypL6pRV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:B2KrYrbj02jUsqMPHj-J9-wJX3G28wREtMyltw97F5k1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:52:47Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-bdbb-6efa-234822000081\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-bdbb-6efa-234822000081\"}}}}", + "X-Processing-Time" : "649ms", + "MS-CV" : "3uWcciEGxkmh3w6i/4tk+w.0", + "Body" : "{\"chatThread\":{\"id\":\"19:nvTdISpg_Wsn2Sfcc1DSb3riPC1AufsIOAJq289JaQ41@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:32:22Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-1042-69f0-553a0d0029bc\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-1042-69f0-553a0d0029bc\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AB2KrYrbj02jUsqMPHj-J9-wJX3G28wREtMyltw97F5k1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AnvTdISpg_Wsn2Sfcc1DSb3riPC1AufsIOAJq289JaQ41@thread.v2" }, "Exception" : null }, { "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "18b627a8-6ecc-4a39-9898-16ec34ef4405", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "926db50a-3f30-4ef1-90fd-5a49114fdd98", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003215Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dyfh", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:47 GMT", + "Date" : "Wed, 04 May 2022 00:32:16 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "88ms", - "MS-CV" : "IASoul2q80u6zlBKIlA1kA.0", - "X-Azure-Ref" : "0vz45YQAAAAAG0vHqLew4QYSNgwukw020V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-c17e-6efa-234822000082\"}}", - "x-ms-client-request-id" : "18b627a8-6ecc-4a39-9898-16ec34ef4405", + "X-Processing-Time" : "86ms", + "MS-CV" : "j/7ZMBYPgESvO0BuWLV2Zw.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-1aa2-92fd-8b3a0d002939\"}}", + "x-ms-client-request-id" : "926db50a-3f30-4ef1-90fd-5a49114fdd98", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canAddSingleParticipantWithResponseAsync[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canAddSingleParticipantWithResponseAsync[1].json index 2ed016c0194a1..86301dd02bb2b 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canAddSingleParticipantWithResponseAsync[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canAddSingleParticipantWithResponseAsync[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "29f49a36-f170-4667-afd0-32294bee09b0", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "fefa9c19-da6d-406e-a8c0-09f1da95c9c2", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003122Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dqat", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:21 GMT", + "Date" : "Wed, 04 May 2022 00:31:23 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "91ms", - "MS-CV" : "wu9p+E/QXkWoFkJm71AJXw.0", - "X-Azure-Ref" : "0pj45YQAAAADYj0KTCrTKQonKlVa0wvw3V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-5cbf-6efa-23482200006b\"}}", - "x-ms-client-request-id" : "29f49a36-f170-4667-afd0-32294bee09b0", + "X-Processing-Time" : "89ms", + "MS-CV" : "OJvcKm/ldkufE7yWrgAD7Q.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-4cb8-7bfa-553a0d0022b5\"}}", + "x-ms-client-request-id" : "fefa9c19-da6d-406e-a8c0-09f1da95c9c2", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,97 +29,102 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "997d461f-5fb4-4fd2-af88-8bbe7f4937cc", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "ed8b6b09-25e0-4ebe-afad-4f04fbb79231", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003121Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008hwd", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:21 GMT", + "Date" : "Wed, 04 May 2022 00:31:21 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "62ms", - "MS-CV" : "6QWrvBbG2kmEcQf++QnpVg.0", - "X-Azure-Ref" : "0pj45YQAAAAByLR2tBnEwTrYgrQMXUNNFV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-5d64-fcd8-a53a0d0000ee\"}}", - "x-ms-client-request-id" : "997d461f-5fb4-4fd2-af88-8bbe7f4937cc", + "X-Processing-Time" : "89ms", + "MS-CV" : "1Lx+jOizukm4ispKjh54Uw.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-4e61-7bfa-553a0d0022b6\"}}", + "x-ms-client-request-id" : "ed8b6b09-25e0-4ebe-afad-4f04fbb79231", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-5cbf-6efa-23482200006b/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-4cb8-7bfa-553a0d0022b5/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "77ccfc05-8fb2-4b31-af14-f1844eb1ee77", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "36186216-2fdd-4e05-88e4-ae804797d690", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003123Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dqeb", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:52:21 GMT", + "Date" : "Wed, 04 May 2022 00:31:24 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "161ms", - "MS-CV" : "aN4R+MbOOkaMqeeo66Tn1g.0", - "X-Azure-Ref" : "0pj45YQAAAABYrWXtfvlRQY0/xyi2qmfwV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:52:22.516004+00:00\"}", - "x-ms-client-request-id" : "77ccfc05-8fb2-4b31-af14-f1844eb1ee77", + "X-Processing-Time" : "167ms", + "MS-CV" : "OA0QXDRs3kq8f6klXsOSJA.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:31:31.4832352+00:00\"}", + "x-ms-client-request-id" : "36186216-2fdd-4e05-88e4-ae804797d690", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "bc37682b-7548-40b1-9886-5c22143ec0c3", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "a6c5d408-a6e7-45eb-bc1c-222d42e894a4", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003121Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008k1q", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:22 GMT", + "Date" : "Wed, 04 May 2022 00:31:22 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "374ms", - "MS-CV" : "54bSSlfpBkqkyr0ktLltiw.0", - "X-Azure-Ref" : "0pj45YQAAAADrRtGu2hbLTKXxwVZcenZ3V1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:O2P6FD4C61bNEBXQylurXlua1dAWdbEw7PdxB80L3yk1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:52:22Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-5cbf-6efa-23482200006b\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-5cbf-6efa-23482200006b\"}}}}", + "X-Processing-Time" : "399ms", + "MS-CV" : "Abwlos8ylEO/WVSfh419vg.0", + "Body" : "{\"chatThread\":{\"id\":\"19:h-3zKnRjJutUjs8w9nsToRVgNz5fjFyqvpkhbf2YcBQ1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:31:31Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-4cb8-7bfa-553a0d0022b5\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-4cb8-7bfa-553a0d0022b5\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AO2P6FD4C61bNEBXQylurXlua1dAWdbEw7PdxB80L3yk1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3Ah-3zKnRjJutUjs8w9nsToRVgNz5fjFyqvpkhbf2YcBQ1@thread.v2" }, "Exception" : null }, { "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "ec94c23b-6d4c-4fec-8530-a0a4b14a9d53", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "7a9748cf-42af-46d8-b0e1-5de3a7429e9f", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003124Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dqkb", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:22 GMT", + "Date" : "Wed, 04 May 2022 00:31:25 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "90ms", - "MS-CV" : "9pcJ1nat4kGxMIiOHMfrvg.0", - "X-Azure-Ref" : "0pj45YQAAAADIlwvpHv4LQqRMdeNBM0KWV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-6081-6efa-23482200006c\"}}", - "x-ms-client-request-id" : "ec94c23b-6d4c-4fec-8530-a0a4b14a9d53", + "X-Processing-Time" : "89ms", + "MS-CV" : "/dqy4Llx1Uysk3uXc7+Zbw.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-53fe-defd-8b3a0d0028af\"}}", + "x-ms-client-request-id" : "7a9748cf-42af-46d8-b0e1-5de3a7429e9f", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canDeleteExistingMessageWithResponse[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canDeleteExistingMessageWithResponse[1].json index 3093f84f6dc51..ac2d918502995 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canDeleteExistingMessageWithResponse[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canDeleteExistingMessageWithResponse[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "6383989e-45e7-4d5f-b98d-acdd938fbe0e", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "78a3fa43-dac8-4970-96e0-379fcbf4d5b9", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003123Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008kay", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:22 GMT", + "Date" : "Wed, 04 May 2022 00:31:23 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "64ms", - "MS-CV" : "ywON+RvfoUW3jr9sag5rEw.0", - "X-Azure-Ref" : "0pz45YQAAAAChODIotaZtTZMGde/75MT/V1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-6133-5dbd-9f3a0d0000ca\"}}", - "x-ms-client-request-id" : "6383989e-45e7-4d5f-b98d-acdd938fbe0e", + "X-Processing-Time" : "86ms", + "MS-CV" : "0cTpUN4vIkm9RqcyAEUv3g.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-5725-fa5d-573a0d002962\"}}", + "x-ms-client-request-id" : "78a3fa43-dac8-4970-96e0-379fcbf4d5b9", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,117 +29,123 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "f014d492-1a13-4a6f-bf20-4d551f0b88f2", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "f725dd03-f729-4a6e-962d-56a77fbb314c", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003126Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dqsz", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:22 GMT", + "Date" : "Wed, 04 May 2022 00:31:26 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "98ms", - "MS-CV" : "ahOey3nNP0KzR2y9rzchcQ.0", - "X-Azure-Ref" : "0pz45YQAAAADoYyRQrHotRJUgfv7f2LLRV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-61c4-6efa-23482200006d\"}}", - "x-ms-client-request-id" : "f014d492-1a13-4a6f-bf20-4d551f0b88f2", + "X-Processing-Time" : "88ms", + "MS-CV" : "P3nyY4lXakOGnD3CqGtEeg.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-593c-655d-573a0d00246f\"}}", + "x-ms-client-request-id" : "f725dd03-f729-4a6e-962d-56a77fbb314c", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-6133-5dbd-9f3a0d0000ca/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-5725-fa5d-573a0d002962/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "2d96229c-5a51-4be7-804a-8b1f8dca4d25", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "6bcbfb16-5b77-4c2d-8d0a-dde6d6b0340a", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003124Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008kgy", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:52:23 GMT", + "Date" : "Wed, 04 May 2022 00:31:24 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "136ms", - "MS-CV" : "uS8f4jeTUUWQBk+y7Co24Q.0", - "X-Azure-Ref" : "0pz45YQAAAABgjrXHnfecQJvdb4oJBl2yV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:52:23.6395686+00:00\"}", - "x-ms-client-request-id" : "2d96229c-5a51-4be7-804a-8b1f8dca4d25", + "X-Processing-Time" : "160ms", + "MS-CV" : "Y/c9LDuzi0qiMpnDPDNJsw.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:31:34.2629936+00:00\"}", + "x-ms-client-request-id" : "6bcbfb16-5b77-4c2d-8d0a-dde6d6b0340a", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "b313c165-f7fc-4e59-a515-7512083f7b45", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "e6f46ab4-9890-4093-b482-a5a3403a3ec5", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003127Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dqy0", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:23 GMT", + "Date" : "Wed, 04 May 2022 00:31:27 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "532ms", - "MS-CV" : "nR9avAgfE0iQUC/19vf25w.0", - "X-Azure-Ref" : "0pz45YQAAAAAhWf+BiI0WQKHf4hxS2I53V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:CcvmYDCsy7iouRKyqmoKTs_y5nRBfCinmoMuJ2ZjPE41@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:52:23Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-6133-5dbd-9f3a0d0000ca\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-6133-5dbd-9f3a0d0000ca\"}}}}", + "X-Processing-Time" : "520ms", + "MS-CV" : "/C7bXkjAuEKSnKMzZ5HdPQ.0", + "Body" : "{\"chatThread\":{\"id\":\"19:2Xxi0VoBeF2KPHU5rsNBT2g9icbDi_Ej5Dn6bdIc_Gg1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:31:34Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-5725-fa5d-573a0d002962\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-5725-fa5d-573a0d002962\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3ACcvmYDCsy7iouRKyqmoKTs_y5nRBfCinmoMuJ2ZjPE41@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3A2Xxi0VoBeF2KPHU5rsNBT2g9icbDi_Ej5Dn6bdIc_Gg1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:CcvmYDCsy7iouRKyqmoKTs_y5nRBfCinmoMuJ2ZjPE41@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:2Xxi0VoBeF2KPHU5rsNBT2g9icbDi_Ej5Dn6bdIc_Gg1@thread.v2/messages?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "4a64de3b-32ba-4f5a-9bc8-12546c01dfad", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "b436d1ed-a08b-4056-98b7-7f5834363eea", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003125Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008kta", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:23 GMT", + "Date" : "Wed, 04 May 2022 00:31:25 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "233ms", - "MS-CV" : "BhhhepKXdEePjJfcaYpbQg.0", - "X-Azure-Ref" : "0qD45YQAAAAAyStL39GOKRp0vv6eqAMtGV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"id\":\"1631141544386\"}", + "X-Processing-Time" : "214ms", + "MS-CV" : "MKI5s1R7uUCBWv4uFnV7lw.0", + "Body" : "{\"id\":\"1651624295322\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3ACcvmYDCsy7iouRKyqmoKTs_y5nRBfCinmoMuJ2ZjPE41@thread.v2/messages/1631141544386" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3A2Xxi0VoBeF2KPHU5rsNBT2g9icbDi_Ej5Dn6bdIc_Gg1@thread.v2/messages/1651624295322" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:CcvmYDCsy7iouRKyqmoKTs_y5nRBfCinmoMuJ2ZjPE41@thread.v2/messages/1631141544386?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:2Xxi0VoBeF2KPHU5rsNBT2g9icbDi_Ej5Dn6bdIc_Gg1@thread.v2/messages/1651624295322?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "a996a226-20f6-4643-a7c3-b3adce75d21a" + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "5c027bfe-2cc0-4b20-a1b9-c4740bbc01ef" }, "Response" : { + "x-azure-ref" : "20220504T003128Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dr45", "X-Cache" : "CONFIG_NOCACHE", "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "239ms", - "MS-CV" : "zhVw6JbtE0uyAd2hqhDBQQ.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "X-Processing-Time" : "222ms", + "Connection" : "keep-alive", + "MS-CV" : "Cx8xh9cql0ixbx2vnr5NUg.0", "retry-after" : "0", - "X-Azure-Ref" : "0qD45YQAAAAC8sO1yIX6oQqRtL4qoPaylV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Wed, 08 Sep 2021 22:52:23 GMT" + "Date" : "Wed, 04 May 2022 00:31:28 GMT" }, "Exception" : null } ], diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canDeleteExistingMessage[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canDeleteExistingMessage[1].json index f4ca4efcf1501..b24c84009f9d4 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canDeleteExistingMessage[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canDeleteExistingMessage[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "f0cdf4b2-6d5f-428c-888a-dacc860d4a49", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "585d81f5-5b64-4a95-bc82-1a1a9b218dc7", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003155Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dvc3", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:37 GMT", + "Date" : "Wed, 04 May 2022 00:31:55 GMT", "Strict-Transport-Security" : "max-age=2592000", "X-Processing-Time" : "89ms", - "MS-CV" : "/qOXO+BIIk2YVefLbw1Qaw.0", - "X-Azure-Ref" : "0tj45YQAAAADicXrteVIbQaTtPjxo+oHGV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-9bac-6efa-23482200007a\"}}", - "x-ms-client-request-id" : "f0cdf4b2-6d5f-428c-888a-dacc860d4a49", + "MS-CV" : "3G8B+7Aeh06qYMt9pduBfA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-cc67-fa5d-573a0d002976\"}}", + "x-ms-client-request-id" : "585d81f5-5b64-4a95-bc82-1a1a9b218dc7", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,117 +29,123 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "17ca94d7-815d-45b3-a8b8-bab662d49e42", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "0a4c533c-bcac-4f2f-a095-c3d243ea6f30", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003153Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008rys", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:37 GMT", + "Date" : "Wed, 04 May 2022 00:31:54 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "70ms", - "MS-CV" : "f/CUCzUn0kKIYw7zKP9X1A.0", - "X-Azure-Ref" : "0tj45YQAAAACa8Hh+0LaORLipobWrxahPV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-9c4f-5dbd-9f3a0d0000d7\"}}", - "x-ms-client-request-id" : "17ca94d7-815d-45b3-a8b8-bab662d49e42", + "X-Processing-Time" : "89ms", + "MS-CV" : "Ds+pwasGqUqEv0hDlRIa0Q.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-ce02-defd-8b3a0d0028bd\"}}", + "x-ms-client-request-id" : "0a4c533c-bcac-4f2f-a095-c3d243ea6f30", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-9bac-6efa-23482200007a/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-cc67-fa5d-573a0d002976/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "2baecac4-fb74-4bbc-8ed1-1a251de81c56", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "b2f61972-46c8-4bdb-8530-2b15b1cf60e3", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003156Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dvh5", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:52:37 GMT", + "Date" : "Wed, 04 May 2022 00:31:56 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "160ms", - "MS-CV" : "9ox2Z4iN+EyXxwYQRyFLmQ.0", - "X-Azure-Ref" : "0tj45YQAAAACnPLJG/XMdSpXj7jHEJ6DaV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:52:38.6299441+00:00\"}", - "x-ms-client-request-id" : "2baecac4-fb74-4bbc-8ed1-1a251de81c56", + "X-Processing-Time" : "157ms", + "MS-CV" : "FutaXB7wDk+tzA2g8RrqSQ.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:32:04.1305401+00:00\"}", + "x-ms-client-request-id" : "b2f61972-46c8-4bdb-8530-2b15b1cf60e3", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "2f92485e-85f0-4982-8595-2cf6cc999b30", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "baf106a5-3fe0-4b45-8a8b-180c13237beb", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003154Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008s5b", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:38 GMT", + "Date" : "Wed, 04 May 2022 00:31:55 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "428ms", - "MS-CV" : "rrC98Pnvpk2B8ZvM79ZC1g.0", - "X-Azure-Ref" : "0tj45YQAAAAAPnUJWA2ZhSZ7u1WIab/RoV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:SGbGvfW8J81p1T1JTNTH46_2MtgEEGZs-jDB1FTFfJE1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:52:38Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-9bac-6efa-23482200007a\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-9bac-6efa-23482200007a\"}}}}", + "X-Processing-Time" : "371ms", + "MS-CV" : "TkBVsLyJkES+GqG1dDDviw.0", + "Body" : "{\"chatThread\":{\"id\":\"19:YtYK9KD1KoXD0M6r51gRUhrzH0y5nNKaLqeWdBEsq_Y1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:32:04Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-cc67-fa5d-573a0d002976\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-cc67-fa5d-573a0d002976\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3ASGbGvfW8J81p1T1JTNTH46_2MtgEEGZs-jDB1FTFfJE1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AYtYK9KD1KoXD0M6r51gRUhrzH0y5nNKaLqeWdBEsq_Y1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:SGbGvfW8J81p1T1JTNTH46_2MtgEEGZs-jDB1FTFfJE1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:YtYK9KD1KoXD0M6r51gRUhrzH0y5nNKaLqeWdBEsq_Y1@thread.v2/messages?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "9716586f-9a63-4e6c-9bf1-976d0522c126", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "367b2efa-fda8-4e51-b3c9-68e6c051f29f", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003157Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dvqs", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:38 GMT", + "Date" : "Wed, 04 May 2022 00:31:57 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "118ms", - "MS-CV" : "LlyyARF8mkKdeNC6VifShg.0", - "X-Azure-Ref" : "0tz45YQAAAADIkkHswLqMTLdNZ8qXww8TV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"id\":\"1631141559211\"}", + "X-Processing-Time" : "166ms", + "MS-CV" : "czCQ2m+eaEmEK33AaM9n0A.0", + "Body" : "{\"id\":\"1651624325022\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3ASGbGvfW8J81p1T1JTNTH46_2MtgEEGZs-jDB1FTFfJE1@thread.v2/messages/1631141559211" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AYtYK9KD1KoXD0M6r51gRUhrzH0y5nNKaLqeWdBEsq_Y1@thread.v2/messages/1651624325022" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:SGbGvfW8J81p1T1JTNTH46_2MtgEEGZs-jDB1FTFfJE1@thread.v2/messages/1631141559211?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:YtYK9KD1KoXD0M6r51gRUhrzH0y5nNKaLqeWdBEsq_Y1@thread.v2/messages/1651624325022?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "528e3262-a039-4fa1-9ffa-ab9af367a08d" + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "84785976-7f80-4c86-ac3e-c99332e6fdf3" }, "Response" : { + "x-azure-ref" : "20220504T003155Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008sbf", "X-Cache" : "CONFIG_NOCACHE", "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "344ms", - "MS-CV" : "cRHQ1ex5t0emoehyj9+k7w.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "X-Processing-Time" : "109ms", + "Connection" : "keep-alive", + "MS-CV" : "1EotASuqi0C3p6Ht4to9vg.0", "retry-after" : "0", - "X-Azure-Ref" : "0tz45YQAAAABv1ZRSEq2+RpVXvWz/vuQSV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Wed, 08 Sep 2021 22:52:39 GMT" + "Date" : "Wed, 04 May 2022 00:31:55 GMT" }, "Exception" : null } ], diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canListMessagesWithOptions[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canListMessagesWithOptions[1].json index 04405073835b2..db78b2095216e 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canListMessagesWithOptions[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canListMessagesWithOptions[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "73d4133d-e6c4-4d4d-927d-b10b26f791b6", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "b27796d3-2eed-462f-9a49-bb51890bcb5c", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003059Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dku6", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:11 GMT", + "Date" : "Wed, 04 May 2022 00:31:00 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "91ms", - "MS-CV" : "L+YnqyFkN0CsFS2UWrA+dQ.0", - "X-Azure-Ref" : "0nD45YQAAAABJw9WvBrk3RIUPec2q9fePV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-3612-6efa-234822000062\"}}", - "x-ms-client-request-id" : "73d4133d-e6c4-4d4d-927d-b10b26f791b6", + "X-Processing-Time" : "88ms", + "MS-CV" : "xKUgES67DUGHYHvlSxy/Mg.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-f27a-defd-8b3a0d0028a5\"}}", + "x-ms-client-request-id" : "b27796d3-2eed-462f-9a49-bb51890bcb5c", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,74 +29,78 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "012aa340-517c-454a-b513-bf437636445e", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "622f95bb-23d3-4c5b-8977-d446e339abc8", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003057Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008dur", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:11 GMT", + "Date" : "Wed, 04 May 2022 00:30:58 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "62ms", - "MS-CV" : "y9XOhRG90Ui+rWInDYycqw.0", - "X-Azure-Ref" : "0nD45YQAAAAD1dkK7KF8ARpNxt+TN2XcjV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-36b6-5dbd-9f3a0d0000c5\"}}", - "x-ms-client-request-id" : "012aa340-517c-454a-b513-bf437636445e", + "X-Processing-Time" : "86ms", + "MS-CV" : "Uyv9GYIK3UWo6gWRGHaX/g.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-f3bc-eef0-8b3a0d0022d7\"}}", + "x-ms-client-request-id" : "622f95bb-23d3-4c5b-8977-d446e339abc8", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-3612-6efa-234822000062/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-f27a-defd-8b3a0d0028a5/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "7f2d75d3-e4d6-4710-984a-d829201028bd", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "40041f54-3700-49ab-8661-866fe05a2e14", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003100Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dkyb", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:52:11 GMT", + "Date" : "Wed, 04 May 2022 00:31:01 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "167ms", - "MS-CV" : "nhEYjnWL60GPwRn5GgUR3g.0", - "X-Azure-Ref" : "0nD45YQAAAABmgvEugWfqTaUj5unuQ4jtV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:52:12.630177+00:00\"}", - "x-ms-client-request-id" : "7f2d75d3-e4d6-4710-984a-d829201028bd", + "X-Processing-Time" : "157ms", + "MS-CV" : "5Xl7cgUusE+uVnZn0oFN2A.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:31:08.3372839+00:00\"}", + "x-ms-client-request-id" : "40041f54-3700-49ab-8661-866fe05a2e14", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "d53ae62b-97d9-4b3b-8989-9c747b70b1da", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "ea6c25d8-0973-4482-9e2c-1f65c4c2a7ad", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003059Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008e13", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:12 GMT", + "Date" : "Wed, 04 May 2022 00:30:59 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "356ms", - "MS-CV" : "evYY3vNPe0S43DwgQej+hA.0", - "X-Azure-Ref" : "0nD45YQAAAABwT/0YAvdaQY/003cRFtOPV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:AnMOFodibiqL7YtcSOLjLEuyErsLx4Qe3pdldQOPo9s1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:52:12Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-3612-6efa-234822000062\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-3612-6efa-234822000062\"}}}}", + "X-Processing-Time" : "633ms", + "MS-CV" : "LqLQVn/tHEyKiG4DKsktaA.0", + "Body" : "{\"chatThread\":{\"id\":\"19:96dTqb0N_xlfaOeJWq8mniSTR_Fz1KDayRFD_OkVUGA1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:31:08Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-f27a-defd-8b3a0d0028a5\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-f27a-defd-8b3a0d0028a5\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AAnMOFodibiqL7YtcSOLjLEuyErsLx4Qe3pdldQOPo9s1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3A96dTqb0N_xlfaOeJWq8mniSTR_Fz1KDayRFD_OkVUGA1@thread.v2" }, "Exception" : null } ], diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canListMessages[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canListMessages[1].json index 16d08f9e5aa80..395fedf4d44e9 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canListMessages[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canListMessages[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "f29e6bf8-a526-4a53-bf04-770a1c7ae4e5", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "d8a62760-a27b-495c-b314-8e30db1fc3ac", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003142Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dtc5", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:31 GMT", + "Date" : "Wed, 04 May 2022 00:31:42 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "105ms", - "MS-CV" : "KLFr8rzYjkCnZKPG6W6x2A.0", - "X-Azure-Ref" : "0rz45YQAAAABfJ835eQXeQqWCA8dQbLnUV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-828a-6efa-234822000074\"}}", - "x-ms-client-request-id" : "f29e6bf8-a526-4a53-bf04-770a1c7ae4e5", + "X-Processing-Time" : "86ms", + "MS-CV" : "NtaszdLoIEuElTuFypPIAg.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-9849-defd-8b3a0d0028b5\"}}", + "x-ms-client-request-id" : "d8a62760-a27b-495c-b314-8e30db1fc3ac", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,74 +29,78 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "8462ad80-63db-4cf3-ad8a-c6d75fc4ecd4", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "b91bbd1e-a1c0-44f3-9580-a71be0863e28", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003140Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008ppc", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:31 GMT", + "Date" : "Wed, 04 May 2022 00:31:40 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "62ms", - "MS-CV" : "fp+AJsO6jkGfHfr+hHZYYQ.0", - "X-Azure-Ref" : "0rz45YQAAAADaG+e81hJFQ625mFfVWORmV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-833d-5dbd-9f3a0d0000d1\"}}", - "x-ms-client-request-id" : "8462ad80-63db-4cf3-ad8a-c6d75fc4ecd4", + "X-Processing-Time" : "89ms", + "MS-CV" : "Vg4DBLOez0u8gI4mhFVeDA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-99ee-655d-573a0d002477\"}}", + "x-ms-client-request-id" : "b91bbd1e-a1c0-44f3-9580-a71be0863e28", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-828a-6efa-234822000074/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-9849-defd-8b3a0d0028b5/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "b08b17a0-d286-44e1-bb0a-c5f3d0e83dcc", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "6b232f06-9a88-433f-9858-c9205eeabc8b", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003143Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dtgg", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:52:31 GMT", + "Date" : "Wed, 04 May 2022 00:31:43 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "159ms", - "MS-CV" : "bDNk0tLJvUGmqCIYtC1zOg.0", - "X-Azure-Ref" : "0sD45YQAAAACWguGubwdaQbPOj3j+UAzeV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:52:32.1998866+00:00\"}", - "x-ms-client-request-id" : "b08b17a0-d286-44e1-bb0a-c5f3d0e83dcc", + "X-Processing-Time" : "155ms", + "MS-CV" : "Qk4uEqjnEEqix/Q1OzKgxQ.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:31:51.0123371+00:00\"}", + "x-ms-client-request-id" : "6b232f06-9a88-433f-9858-c9205eeabc8b", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "007ab3ee-ff3a-4946-8994-9ea04d7cb2a8", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "f242b7c1-8e4e-4e88-9fe2-d9926f7fef05", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003141Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008pvr", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:32 GMT", + "Date" : "Wed, 04 May 2022 00:31:41 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "376ms", - "MS-CV" : "GMfNs9gg60Oi+cnMwNT1nw.0", - "X-Azure-Ref" : "0sD45YQAAAABlYuKfdmCpR6ghP3Ip+oH2V1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:2oAY7_Jrif7mc3cd4IEIDKZM7Lgs2UawpHiXat0-kMM1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:52:32Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-828a-6efa-234822000074\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-828a-6efa-234822000074\"}}}}", + "X-Processing-Time" : "428ms", + "MS-CV" : "pTMV3RYg7kaax9sbVMEAzA.0", + "Body" : "{\"chatThread\":{\"id\":\"19:snmrRe3T07hW704HMzW3C0BrSMf6ltH6CoHEZE8KTMA1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:31:51Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-9849-defd-8b3a0d0028b5\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-9849-defd-8b3a0d0028b5\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A2oAY7_Jrif7mc3cd4IEIDKZM7Lgs2UawpHiXat0-kMM1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AsnmrRe3T07hW704HMzW3C0BrSMf6ltH6CoHEZE8KTMA1@thread.v2" }, "Exception" : null } ], diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canListReadReceiptsWithContext[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canListReadReceiptsWithContext[1].json index a10752fe5be3f..1d33f3d7538db 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canListReadReceiptsWithContext[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canListReadReceiptsWithContext[1].json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:4b72178530934b7790135dd9359205e0@thread.v2/readReceipts?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:4b72178530934b7790135dd9359205e0@thread.v2/readReceipts?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "97b37492-a836-438e-86d6-59fef3a5f860" + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "4fd21c1e-72a4-4f86-8bb1-91cdc06b3756" }, "Response" : { "retry-after" : "0", diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canListReadReceiptsWithOptions[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canListReadReceiptsWithOptions[1].json index 066ac20e6b708..5f56f1f383230 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canListReadReceiptsWithOptions[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canListReadReceiptsWithOptions[1].json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:4b72178530934b7790135dd9359205e0@thread.v2/readReceipts?maxPageSize=1&api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:4b72178530934b7790135dd9359205e0@thread.v2/readReceipts?maxPageSize=1&api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "83aa9442-406f-488c-8f23-506bbf5bc525" + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "fb97f39c-eba9-4960-b645-98418b25a735" }, "Response" : { "retry-after" : "0", diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canListReadReceipts[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canListReadReceipts[1].json index e231256903860..092d438476a64 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canListReadReceipts[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canListReadReceipts[1].json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:4b72178530934b7790135dd9359205e0@thread.v2/readReceipts?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:4b72178530934b7790135dd9359205e0@thread.v2/readReceipts?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "55b482f2-1f0d-486e-a0a4-6644d4836c68" + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "fe64c996-aab9-4d35-8bab-239e2d7a43f6" }, "Response" : { "retry-after" : "0", diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canSendReadReceiptWithResponse[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canSendReadReceiptWithResponse[1].json index 4d1d86e90691f..9fdd407517289 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canSendReadReceiptWithResponse[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canSendReadReceiptWithResponse[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "8424c104-d81e-44df-af57-8be55b4cc31c", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "ac63115a-7815-4229-9e79-07cc09a55b24", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003139Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dsv6", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:29 GMT", + "Date" : "Wed, 04 May 2022 00:31:39 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "93ms", - "MS-CV" : "BEnbm6NLbkOCdVA9+mWV2A.0", - "X-Azure-Ref" : "0rj45YQAAAACV/cjftixbTpHeyuJ3/aL8V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-7d72-6efa-234822000073\"}}", - "x-ms-client-request-id" : "8424c104-d81e-44df-af57-8be55b4cc31c", + "X-Processing-Time" : "87ms", + "MS-CV" : "3x3fqVMHBEOs1BeVvUawbQ.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-8bde-655d-573a0d002476\"}}", + "x-ms-client-request-id" : "ac63115a-7815-4229-9e79-07cc09a55b24", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,119 +29,126 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "2d3bcb76-51a6-466c-ba53-8766469d98d2", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "9df23533-264c-4efd-a330-743604943ad9", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003137Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008p1s", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:30 GMT", + "Date" : "Wed, 04 May 2022 00:31:37 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "64ms", - "MS-CV" : "kHLvrM0DNUKiHI4eXDbamg.0", - "X-Azure-Ref" : "0rj45YQAAAADI8ToHJYrMR5M0bodObpc6V1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-7e13-5dbd-9f3a0d0000d0\"}}", - "x-ms-client-request-id" : "2d3bcb76-51a6-466c-ba53-8766469d98d2", + "X-Processing-Time" : "86ms", + "MS-CV" : "ejf7nEejWEyAZeULPUdZiA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-8d81-eef0-8b3a0d0022e3\"}}", + "x-ms-client-request-id" : "9df23533-264c-4efd-a330-743604943ad9", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-7d72-6efa-234822000073/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-8bde-655d-573a0d002476/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "3fddeecb-580a-4eae-8899-3cfef63a56b2", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "b641387a-0b0c-432b-aa3f-bf188d6c1bf1", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003139Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dszb", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:52:30 GMT", + "Date" : "Wed, 04 May 2022 00:31:40 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "162ms", - "MS-CV" : "nJvAyiMjUESfrt/jnNYovg.0", - "X-Azure-Ref" : "0rj45YQAAAABrxlyRIfEgR71ISZt/6CMvV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:52:30.8854305+00:00\"}", - "x-ms-client-request-id" : "3fddeecb-580a-4eae-8899-3cfef63a56b2", + "X-Processing-Time" : "157ms", + "MS-CV" : "38PzRLipN0iXnTJPnv0w8g.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:31:47.6513378+00:00\"}", + "x-ms-client-request-id" : "b641387a-0b0c-432b-aa3f-bf188d6c1bf1", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "7e3ede98-0e70-4587-897e-55465baf66f9", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "fbe90774-bad0-414b-b666-c7e2897d085d", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003138Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008p8n", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:30 GMT", + "Date" : "Wed, 04 May 2022 00:31:38 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "365ms", - "MS-CV" : "V1eFec9Hd02qASne02WOcA.0", - "X-Azure-Ref" : "0rj45YQAAAACzVEjp6L+1SYj4ztYe2UxdV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:gCEKI_c9RpwBN-jf92F9rhYbTWZWwqmhuZ2CHcbeMr41@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:52:31Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-7d72-6efa-234822000073\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-7d72-6efa-234822000073\"}}}}", + "X-Processing-Time" : "452ms", + "MS-CV" : "hpztJZmnSEaUZ6fWzkcxRQ.0", + "Body" : "{\"chatThread\":{\"id\":\"19:ezI1SjV-jImUCW9NJTTUbxHB05BgpW5kpS2J8ziy_b01@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:31:47Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-8bde-655d-573a0d002476\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-8bde-655d-573a0d002476\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AgCEKI_c9RpwBN-jf92F9rhYbTWZWwqmhuZ2CHcbeMr41@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AezI1SjV-jImUCW9NJTTUbxHB05BgpW5kpS2J8ziy_b01@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:gCEKI_c9RpwBN-jf92F9rhYbTWZWwqmhuZ2CHcbeMr41@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:ezI1SjV-jImUCW9NJTTUbxHB05BgpW5kpS2J8ziy_b01@thread.v2/messages?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "bb8cb152-8788-4335-afc3-55bd2c0b8460", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "39a36775-6194-4f19-a4ef-fdf0f919e0ce", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003141Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dt6w", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:30 GMT", + "Date" : "Wed, 04 May 2022 00:31:41 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "120ms", - "MS-CV" : "NIALCT4A6k62DqD7qXAgSg.0", - "X-Azure-Ref" : "0rz45YQAAAAALhEZdIF/jS4Snm6BDqee1V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"id\":\"1631141551406\"}", + "X-Processing-Time" : "114ms", + "MS-CV" : "oPTgRywKF0qhJrW0KGvIIQ.0", + "Body" : "{\"id\":\"1651624308702\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AgCEKI_c9RpwBN-jf92F9rhYbTWZWwqmhuZ2CHcbeMr41@thread.v2/messages/1631141551406" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AezI1SjV-jImUCW9NJTTUbxHB05BgpW5kpS2J8ziy_b01@thread.v2/messages/1651624308702" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:gCEKI_c9RpwBN-jf92F9rhYbTWZWwqmhuZ2CHcbeMr41@thread.v2/readReceipts?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:ezI1SjV-jImUCW9NJTTUbxHB05BgpW5kpS2J8ziy_b01@thread.v2/readReceipts?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "d7b2f9d5-857e-4a92-b9ab-eb871b3ac09e", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "35479450-34bc-41a3-929c-99e9d44444e6", "Content-Type" : "application/json" }, "Response" : { + "Accept-Ranges" : "bytes", + "x-azure-ref" : "20220504T003139Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008pf5", "X-Cache" : "CONFIG_NOCACHE", "content-length" : "0", "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "152ms", - "MS-CV" : "ZqjpMKIc+keNuKPhXN9PGw.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "X-Processing-Time" : "260ms", + "Connection" : "keep-alive", + "MS-CV" : "zJkMsEm8R0KQuluE10yATw.0", "retry-after" : "0", - "X-Azure-Ref" : "0rz45YQAAAACBobxr6Dn/TY/ux+Ur/Q5AV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:52:31 GMT" + "Date" : "Wed, 04 May 2022 00:31:39 GMT" }, "Exception" : null } ], diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canSendReadReceipt[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canSendReadReceipt[1].json index 65c11e31c09a7..d389a15b66dbd 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canSendReadReceipt[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canSendReadReceipt[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "df482471-37ad-438b-b050-719933a51630", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "62448151-dbeb-481d-8ddb-40cef1bca915", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003114Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dp23", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:17 GMT", + "Date" : "Wed, 04 May 2022 00:31:15 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "89ms", - "MS-CV" : "V3rUFr5xakqMhFSsK4Tmhg.0", - "X-Azure-Ref" : "0oj45YQAAAADj7PdmWCGrTqTmO28x0aubV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-4d9d-6efa-234822000068\"}}", - "x-ms-client-request-id" : "df482471-37ad-438b-b050-719933a51630", + "X-Processing-Time" : "87ms", + "MS-CV" : "yoqebah/z0egWi4GOIGGOQ.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-2c9e-defd-8b3a0d0028ab\"}}", + "x-ms-client-request-id" : "62448151-dbeb-481d-8ddb-40cef1bca915", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,119 +29,126 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "12b74d2a-dfa0-4049-a646-39e2d2d20243", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "2d9dae81-0a52-4af5-99c9-ae158eff4cb6", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003112Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008gfa", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:17 GMT", + "Date" : "Wed, 04 May 2022 00:31:13 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "74ms", - "MS-CV" : "O/GiB30lLEiOmuK8Y17aJQ.0", - "X-Azure-Ref" : "0oj45YQAAAAB0RK1NC3ewSK/KI9x9OmZAV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-4e38-5dbd-9f3a0d0000c8\"}}", - "x-ms-client-request-id" : "12b74d2a-dfa0-4049-a646-39e2d2d20243", + "X-Processing-Time" : "86ms", + "MS-CV" : "uKSvsXp3SEKswFufxbA5lQ.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-2ed3-655d-573a0d00246b\"}}", + "x-ms-client-request-id" : "2d9dae81-0a52-4af5-99c9-ae158eff4cb6", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-4d9d-6efa-234822000068/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-2c9e-defd-8b3a0d0028ab/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "254bef29-81d6-419e-82ae-96b20d5e1460", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "a8be1280-1195-4623-b324-043afdfd3dfa", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003115Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dp7r", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:52:17 GMT", + "Date" : "Wed, 04 May 2022 00:31:16 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "157ms", - "MS-CV" : "sflwNWDYh06QckjfWtzUtA.0", - "X-Azure-Ref" : "0oj45YQAAAAAHGNlcQygQQIP6cQdRcl5sV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:52:18.6421108+00:00\"}", - "x-ms-client-request-id" : "254bef29-81d6-419e-82ae-96b20d5e1460", + "X-Processing-Time" : "160ms", + "MS-CV" : "ILdqXbSGaEmYCRbboigULw.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:31:23.7751747+00:00\"}", + "x-ms-client-request-id" : "a8be1280-1195-4623-b324-043afdfd3dfa", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "f18c467d-892b-49ef-acf6-f6254c237c6a", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "07f263b5-2667-4c3a-b72e-fe1fa4900efa", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003114Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008gp2", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:19 GMT", + "Date" : "Wed, 04 May 2022 00:31:15 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "998ms", - "MS-CV" : "8wzVCerw3E+f7Wu8VQKR8A.0", - "X-Azure-Ref" : "0oj45YQAAAACW89gGWTZUT4gAIBn1nvXfV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:mAJ4lTLMjdmDa4SBzV0JyMcpARqPhAZxxyad4BLslY01@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:52:19Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-4d9d-6efa-234822000068\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-4d9d-6efa-234822000068\"}}}}", + "X-Processing-Time" : "1346ms", + "MS-CV" : "aOGJvydIQEauibzu4GPx7w.0", + "Body" : "{\"chatThread\":{\"id\":\"19:hesBsu8eu4fq7abxaSANhuYJBkHaPglUwKd0b-5imlE1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:31:23Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-2c9e-defd-8b3a0d0028ab\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-2c9e-defd-8b3a0d0028ab\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AmAJ4lTLMjdmDa4SBzV0JyMcpARqPhAZxxyad4BLslY01@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AhesBsu8eu4fq7abxaSANhuYJBkHaPglUwKd0b-5imlE1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:mAJ4lTLMjdmDa4SBzV0JyMcpARqPhAZxxyad4BLslY01@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:hesBsu8eu4fq7abxaSANhuYJBkHaPglUwKd0b-5imlE1@thread.v2/messages?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "5e51aaba-bd67-42dc-9941-f515de0bfb29", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "98adc4fa-170b-475a-8ee7-6794af727648", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003117Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dphx", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:19 GMT", + "Date" : "Wed, 04 May 2022 00:31:18 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "114ms", - "MS-CV" : "0zxxQ0/TTES7P5cE1E4KxA.0", - "X-Azure-Ref" : "0oz45YQAAAABYyePanANMToPKVQoRAlVMV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"id\":\"1631141539790\"}", + "X-Processing-Time" : "150ms", + "MS-CV" : "fsEyog/aDESSp/wc7V69/A.0", + "Body" : "{\"id\":\"1651624285403\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AmAJ4lTLMjdmDa4SBzV0JyMcpARqPhAZxxyad4BLslY01@thread.v2/messages/1631141539790" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AhesBsu8eu4fq7abxaSANhuYJBkHaPglUwKd0b-5imlE1@thread.v2/messages/1651624285403" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:mAJ4lTLMjdmDa4SBzV0JyMcpARqPhAZxxyad4BLslY01@thread.v2/readReceipts?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:hesBsu8eu4fq7abxaSANhuYJBkHaPglUwKd0b-5imlE1@thread.v2/readReceipts?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "7d75ba9b-c4c5-4dbe-87eb-7a9edb98a6d2", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "f27967ad-5dd8-4997-9b9e-dc5d7ed0248a", "Content-Type" : "application/json" }, "Response" : { + "Accept-Ranges" : "bytes", + "x-azure-ref" : "20220504T003115Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008h01", "X-Cache" : "CONFIG_NOCACHE", "content-length" : "0", "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "186ms", - "MS-CV" : "18UX6UKzhkKX+CmBsVHDVA.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "X-Processing-Time" : "264ms", + "Connection" : "keep-alive", + "MS-CV" : "FVFuywiDjkacF7TW5S0BQA.0", "retry-after" : "0", - "X-Azure-Ref" : "0oz45YQAAAABE7X95XFmPQ7QGTExBCVkKV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:52:19 GMT" + "Date" : "Wed, 04 May 2022 00:31:16 GMT" }, "Exception" : null } ], diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canSendThenGetHtmlMessage[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canSendThenGetHtmlMessage[1].json index 4d1ef50a5e6d2..1bf4ad06b166a 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canSendThenGetHtmlMessage[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canSendThenGetHtmlMessage[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "1057764b-3f44-467b-828f-1f2e4a81151f", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "e15984ac-0bd8-433f-824a-3fa664ca351c", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003158Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dvt0", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:39 GMT", + "Date" : "Wed, 04 May 2022 00:31:58 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "99ms", - "MS-CV" : "OFVstpe4dUWbNkZ+NoUGPg.0", - "X-Azure-Ref" : "0tz45YQAAAABDb3S12HXoSbt/LKSVApwqV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-a1be-6efa-23482200007b\"}}", - "x-ms-client-request-id" : "1057764b-3f44-467b-828f-1f2e4a81151f", + "X-Processing-Time" : "87ms", + "MS-CV" : "4U2ik4q4YUuSoN7u1iEHVA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-d632-7bfa-553a0d0022bd\"}}", + "x-ms-client-request-id" : "e15984ac-0bd8-433f-824a-3fa664ca351c", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,119 +29,125 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "7a5036e6-d995-4665-a528-1c7a714c0a64", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "aada67e8-6a6b-477b-8dd9-ce9e17620d9a", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003156Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008sg0", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:39 GMT", + "Date" : "Wed, 04 May 2022 00:31:56 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "63ms", - "MS-CV" : "DCGunryOI0aIizfu1BlhdQ.0", - "X-Azure-Ref" : "0tz45YQAAAAB3eNUlU17nSoEydw6vkYPZV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-a25d-5dbd-9f3a0d0000d8\"}}", - "x-ms-client-request-id" : "7a5036e6-d995-4665-a528-1c7a714c0a64", + "X-Processing-Time" : "90ms", + "MS-CV" : "I6s837iqwU+vKvWxxOiYBQ.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-d7ac-7bfa-553a0d0022be\"}}", + "x-ms-client-request-id" : "aada67e8-6a6b-477b-8dd9-ce9e17620d9a", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-a1be-6efa-23482200007b/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-d632-7bfa-553a0d0022bd/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "2845f7b3-1d3f-4dbc-a4d3-29df81aa91f7", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "d56dad91-632b-464a-8fbb-813dd356573d", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003159Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dvxm", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "802", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:52:39 GMT", + "Date" : "Wed, 04 May 2022 00:31:59 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "166ms", - "MS-CV" : "h2X9LnijPkSAzZAiUadb1A.0", - "X-Azure-Ref" : "0tz45YQAAAAD92A+fZU+xT66klO12UgeoV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:52:40.1792437+00:00\"}", - "x-ms-client-request-id" : "2845f7b3-1d3f-4dbc-a4d3-29df81aa91f7", + "X-Processing-Time" : "158ms", + "MS-CV" : "hmwLwx9gnEemUNOnN/CLlw.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:32:06.78772+00:00\"}", + "x-ms-client-request-id" : "d56dad91-632b-464a-8fbb-813dd356573d", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "39ee8448-f5c9-4bbe-822d-a0f0511f2fb5", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "07befe54-d85a-4f64-9271-01fe18ac35dc", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003157Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008sr4", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:39 GMT", + "Date" : "Wed, 04 May 2022 00:31:58 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "379ms", - "MS-CV" : "IaREWvL+ZEGhNSbUiLJ+sA.0", - "X-Azure-Ref" : "0uD45YQAAAAAjMS2Y/3kBTLn/929+Wx55V1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:rkZVIVAXfrgALrgx6rC_orLjscb7wYkWiwaLsy0KVxQ1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:52:40Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-a1be-6efa-23482200007b\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-a1be-6efa-23482200007b\"}}}}", + "X-Processing-Time" : "1006ms", + "MS-CV" : "zrat2YD600SCA5tpxuy0Tg.0", + "Body" : "{\"chatThread\":{\"id\":\"19:-hS8hKRxh2Hzz2Z4oOmcEDZHVH9VFLZTMxr7CH1LXLE1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:32:06Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-d632-7bfa-553a0d0022bd\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-d632-7bfa-553a0d0022bd\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3ArkZVIVAXfrgALrgx6rC_orLjscb7wYkWiwaLsy0KVxQ1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3A-hS8hKRxh2Hzz2Z4oOmcEDZHVH9VFLZTMxr7CH1LXLE1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:rkZVIVAXfrgALrgx6rC_orLjscb7wYkWiwaLsy0KVxQ1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:-hS8hKRxh2Hzz2Z4oOmcEDZHVH9VFLZTMxr7CH1LXLE1@thread.v2/messages?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "300f14b6-53b1-4840-9021-5ca7c11f2377", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "7200e4f5-1a00-44a5-91ee-0fc30e45e766", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003200Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dw5y", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:39 GMT", + "Date" : "Wed, 04 May 2022 00:32:00 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "113ms", - "MS-CV" : "csEtUQEJdkSDB/mFFqOp1w.0", - "X-Azure-Ref" : "0uD45YQAAAACCoH9reR2xTZgqO0IC+mJfV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"id\":\"1631141560696\"}", + "X-Processing-Time" : "221ms", + "MS-CV" : "lmLh1NPFwEy5uN+nm8LXEQ.0", + "Body" : "{\"id\":\"1651624328105\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3ArkZVIVAXfrgALrgx6rC_orLjscb7wYkWiwaLsy0KVxQ1@thread.v2/messages/1631141560696" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3A-hS8hKRxh2Hzz2Z4oOmcEDZHVH9VFLZTMxr7CH1LXLE1@thread.v2/messages/1651624328105" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:rkZVIVAXfrgALrgx6rC_orLjscb7wYkWiwaLsy0KVxQ1@thread.v2/messages/1631141560696?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:-hS8hKRxh2Hzz2Z4oOmcEDZHVH9VFLZTMxr7CH1LXLE1@thread.v2/messages/1651624328105?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "d91462f4-adcf-44b8-8338-e66f972106a4" + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "ce5f086d-eea9-4274-90db-fe828dd17c23" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003158Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008t1w", "X-Cache" : "CONFIG_NOCACHE", - "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "154ms", - "MS-CV" : "duxP09vQS06i4Hww7agLHA.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", - "X-Azure-Ref" : "0uD45YQAAAAC47Jz10XypRIuQbBBbrYVvV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"id\":\"1631141560696\",\"type\":\"html\",\"sequenceId\":\"3\",\"version\":\"1631141560696\",\"content\":{\"message\":\"
test
\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-09-08T22:52:40Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-a1be-6efa-23482200007b\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-a1be-6efa-23482200007b\"}},\"metadata\":{\"onedriveReferences\":\"onedriveReferences\",\"deliveryMode\":\"deliveryMode value\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\",\"tags\":\"tags value\"}}", - "Date" : "Wed, 08 Sep 2021 22:52:40 GMT", + "Date" : "Wed, 04 May 2022 00:31:58 GMT", + "Strict-Transport-Security" : "max-age=2592000", + "X-Processing-Time" : "84ms", + "MS-CV" : "dbpkFB+7/0KROJhsGpG1ug.0", + "Body" : "{\"id\":\"1651624328105\",\"type\":\"html\",\"sequenceId\":\"3\",\"version\":\"1651624328105\",\"content\":{\"message\":\"
test
\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2022-05-04T00:32:08Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-d632-7bfa-553a0d0022bd\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-d632-7bfa-553a0d0022bd\"}},\"metadata\":{\"onedriveReferences\":\"onedriveReferences\",\"deliveryMode\":\"deliveryMode value\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\",\"tags\":\"tags value\"}}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canSendThenGetMessageWithResponse[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canSendThenGetMessageWithResponse[1].json index 2f412621580e0..175e7f8e275e5 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canSendThenGetMessageWithResponse[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canSendThenGetMessageWithResponse[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "412d8970-4f19-49f0-8aba-545d6ca7c034", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "08452875-007e-4d2e-878b-32855bacb123", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003150Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dunf", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:35 GMT", + "Date" : "Wed, 04 May 2022 00:31:50 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "88ms", - "MS-CV" : "3PhDYA6MnEmx0fvTfXpTqw.0", - "X-Azure-Ref" : "0sz45YQAAAAC05leTT8O4RoVDJoc1KPONV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-9226-6efa-234822000078\"}}", - "x-ms-client-request-id" : "412d8970-4f19-49f0-8aba-545d6ca7c034", + "X-Processing-Time" : "89ms", + "MS-CV" : "/XC6R68r9kyeMfJIbKzelw.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-b8b0-eef0-8b3a0d0022e7\"}}", + "x-ms-client-request-id" : "08452875-007e-4d2e-878b-32855bacb123", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,119 +29,125 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "d4e1c289-c51b-40e7-8307-b65a31bc4ae3", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "75395aa5-7c9b-4256-b8ad-36cd6cc37e8e", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003148Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008r2x", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:35 GMT", + "Date" : "Wed, 04 May 2022 00:31:49 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "76ms", - "MS-CV" : "TX1IhD+HeE2CwYvkN0UxAw.0", - "X-Azure-Ref" : "0sz45YQAAAAChaDozvG6JT5oP0bp+YIiZV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-92c5-5dbd-9f3a0d0000d5\"}}", - "x-ms-client-request-id" : "d4e1c289-c51b-40e7-8307-b65a31bc4ae3", + "X-Processing-Time" : "91ms", + "MS-CV" : "2lW+4FBJy0eQlKtG9soHQA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-ba6a-92fd-8b3a0d00292c\"}}", + "x-ms-client-request-id" : "75395aa5-7c9b-4256-b8ad-36cd6cc37e8e", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-9226-6efa-234822000078/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-b8b0-eef0-8b3a0d0022e7/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "1bdc01aa-8ebc-4b5c-928c-7c0bc232e1d4", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "8599e5a3-0552-4305-93df-f916881aceb5", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003151Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dut0", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:52:35 GMT", + "Date" : "Wed, 04 May 2022 00:31:51 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "153ms", - "MS-CV" : "0mZHOcr0rUCoCN7oT6lLRA.0", - "X-Azure-Ref" : "0sz45YQAAAABIOKdapKtLSLpLOCmAXsMCV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:52:36.1853317+00:00\"}", - "x-ms-client-request-id" : "1bdc01aa-8ebc-4b5c-928c-7c0bc232e1d4", + "X-Processing-Time" : "156ms", + "MS-CV" : "DfEa2W0bN0WuzFD9fy/TDA.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:31:59.2537252+00:00\"}", + "x-ms-client-request-id" : "8599e5a3-0552-4305-93df-f916881aceb5", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "4fa6235c-d1ed-45f3-834a-558eea3a0cee", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "9fe413cb-4641-4bfb-a5c3-22e54c996b02", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003149Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008r9c", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:35 GMT", + "Date" : "Wed, 04 May 2022 00:31:50 GMT", "Strict-Transport-Security" : "max-age=2592000", "X-Processing-Time" : "347ms", - "MS-CV" : "g8yNbtmu/0KCekJgcfzqDg.0", - "X-Azure-Ref" : "0tD45YQAAAAAzZFqUCiV5TIannyyRgvVwV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:5J_OybGY86RxbuyJcIJ6bFRSgsed1_WCl7YYcgjn-DQ1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:52:36Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-9226-6efa-234822000078\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-9226-6efa-234822000078\"}}}}", + "MS-CV" : "j9K9s2AZZUSs3hrRHRtuig.0", + "Body" : "{\"chatThread\":{\"id\":\"19:nNOjs1DJLvmvJ7cjhaTSpd3FdK5b9n-9Cx-l-Mi_cwI1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:31:59Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-b8b0-eef0-8b3a0d0022e7\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-b8b0-eef0-8b3a0d0022e7\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A5J_OybGY86RxbuyJcIJ6bFRSgsed1_WCl7YYcgjn-DQ1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AnNOjs1DJLvmvJ7cjhaTSpd3FdK5b9n-9Cx-l-Mi_cwI1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:5J_OybGY86RxbuyJcIJ6bFRSgsed1_WCl7YYcgjn-DQ1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:nNOjs1DJLvmvJ7cjhaTSpd3FdK5b9n-9Cx-l-Mi_cwI1@thread.v2/messages?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "03d0b3c7-4e39-437c-bfb1-4dbffb6d4079", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "84d2d38e-ef49-4d96-a8e5-dda442257ba7", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003152Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000duyy", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:36 GMT", + "Date" : "Wed, 04 May 2022 00:31:52 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "186ms", - "MS-CV" : "2ztvxdPv4k2z/2ALrV8pqg.0", - "X-Azure-Ref" : "0tD45YQAAAADGGlpH1W/vSbG83YcciqcwV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"id\":\"1631141556778\"}", + "X-Processing-Time" : "221ms", + "MS-CV" : "mss33ohEGkqcrEFlKv4UNw.0", + "Body" : "{\"id\":\"1651624320170\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A5J_OybGY86RxbuyJcIJ6bFRSgsed1_WCl7YYcgjn-DQ1@thread.v2/messages/1631141556778" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AnNOjs1DJLvmvJ7cjhaTSpd3FdK5b9n-9Cx-l-Mi_cwI1@thread.v2/messages/1651624320170" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:5J_OybGY86RxbuyJcIJ6bFRSgsed1_WCl7YYcgjn-DQ1@thread.v2/messages/1631141556778?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:nNOjs1DJLvmvJ7cjhaTSpd3FdK5b9n-9Cx-l-Mi_cwI1@thread.v2/messages/1651624320170?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "c1cb923c-4923-4918-8797-5a6210fef78f" + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "df711dec-aab6-46ce-8a6e-091cd6727605" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003150Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008ref", "X-Cache" : "CONFIG_NOCACHE", - "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "159ms", - "MS-CV" : "yWtO44G4ZUGD2GVEzpAtrA.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", - "X-Azure-Ref" : "0tD45YQAAAAAq2rF6c3+oTbekiUrjchzpV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"id\":\"1631141556778\",\"type\":\"text\",\"sequenceId\":\"3\",\"version\":\"1631141556778\",\"content\":{\"message\":\"Content\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-09-08T22:52:36Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-9226-6efa-234822000078\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-9226-6efa-234822000078\"}},\"metadata\":{\"onedriveReferences\":\"onedriveReferences\",\"deliveryMode\":\"deliveryMode value\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\",\"tags\":\"tags value\"}}", - "Date" : "Wed, 08 Sep 2021 22:52:36 GMT", + "Date" : "Wed, 04 May 2022 00:31:51 GMT", + "Strict-Transport-Security" : "max-age=2592000", + "X-Processing-Time" : "86ms", + "MS-CV" : "i8m3k3p4/UutaE6j/EQzlQ.0", + "Body" : "{\"id\":\"1651624320170\",\"type\":\"text\",\"sequenceId\":\"3\",\"version\":\"1651624320170\",\"content\":{\"message\":\"Content\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2022-05-04T00:32:00Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-b8b0-eef0-8b3a0d0022e7\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-b8b0-eef0-8b3a0d0022e7\"}},\"metadata\":{\"onedriveReferences\":\"onedriveReferences\",\"deliveryMode\":\"deliveryMode value\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\",\"tags\":\"tags value\"}}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canSendThenGetMessage[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canSendThenGetMessage[1].json index 654a8a6b95d42..f66e698e831b9 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canSendThenGetMessage[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canSendThenGetMessage[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "c4707d5c-896b-428f-b550-30d08caaf278", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "36e2226e-9903-46eb-a09e-a526217e9950", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003042Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dg14", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:04 GMT", + "Date" : "Wed, 04 May 2022 00:30:42 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "89ms", - "MS-CV" : "pcIr6v46ZESAow4MYPih0g.0", - "X-Azure-Ref" : "0lD45YQAAAAARociTaoinS5eTYNwEJxATV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-1901-6efa-23482200005b\"}}", - "x-ms-client-request-id" : "c4707d5c-896b-428f-b550-30d08caaf278", + "X-Processing-Time" : "99ms", + "MS-CV" : "55NG8bQZy0m6ThXhxRmXJg.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-af53-defd-8b3a0d0028a1\"}}", + "x-ms-client-request-id" : "36e2226e-9903-46eb-a09e-a526217e9950", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,119 +29,125 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "ef90f480-e171-49fa-a74d-aefd09aaae3b", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "1d79310d-92e9-40a8-b325-7a2b05b34d0f", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003040Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008ak6", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:04 GMT", + "Date" : "Wed, 04 May 2022 00:30:41 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "61ms", - "MS-CV" : "bzTvCL9a/0SYBziyYJ9PZg.0", - "X-Azure-Ref" : "0lD45YQAAAABJZd7Ws3fgSr2ei8GsW28sV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-199d-fcd8-a53a0d0000e6\"}}", - "x-ms-client-request-id" : "ef90f480-e171-49fa-a74d-aefd09aaae3b", + "X-Processing-Time" : "87ms", + "MS-CV" : "ftXmf18WDUekSQ3MaLAedw.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-b0cd-92fd-8b3a0d00290a\"}}", + "x-ms-client-request-id" : "1d79310d-92e9-40a8-b325-7a2b05b34d0f", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-1901-6efa-23482200005b/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-af53-defd-8b3a0d0028a1/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "171009e7-3e1a-4daf-b5f5-229ead56e819", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "d142e124-19ca-498a-bb1a-329025931fbb", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003043Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dg4g", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:52:04 GMT", + "Date" : "Wed, 04 May 2022 00:30:43 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "155ms", - "MS-CV" : "74Pkka47PU6PxZabGZD8hw.0", - "X-Azure-Ref" : "0lD45YQAAAADBKYSXn2JSQJDsLnrhXRonV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:52:05.1570283+00:00\"}", - "x-ms-client-request-id" : "171009e7-3e1a-4daf-b5f5-229ead56e819", + "X-Processing-Time" : "157ms", + "MS-CV" : "tfr6TSdgs0mVXYvY9EnZnQ.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:30:51.1638706+00:00\"}", + "x-ms-client-request-id" : "d142e124-19ca-498a-bb1a-329025931fbb", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "2e9cf044-8184-4e20-9b6e-1ecee9a4b177", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "d5e0abf3-04a8-4fca-a090-42f7640bec6b", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003041Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008aqz", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:05 GMT", + "Date" : "Wed, 04 May 2022 00:30:42 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "367ms", - "MS-CV" : "738Q+pNQ6UehFJwwX0ckIg.0", - "X-Azure-Ref" : "0lT45YQAAAABTdzny+hRTT6p4lTtIDI5RV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:kiVFKuvNeqIL-IhEKyplO7Iyr9BCKugkFw64oLc8uaI1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:52:05Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-1901-6efa-23482200005b\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-1901-6efa-23482200005b\"}}}}", + "X-Processing-Time" : "544ms", + "MS-CV" : "evQzI8DWVkaWIaCfjZyjhA.0", + "Body" : "{\"chatThread\":{\"id\":\"19:_UlzpNPOzdpgl44nlGEKouSJJB84NYJsOoESMH0Ewsc1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:30:51Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-af53-defd-8b3a0d0028a1\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-af53-defd-8b3a0d0028a1\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AkiVFKuvNeqIL-IhEKyplO7Iyr9BCKugkFw64oLc8uaI1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3A_UlzpNPOzdpgl44nlGEKouSJJB84NYJsOoESMH0Ewsc1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:kiVFKuvNeqIL-IhEKyplO7Iyr9BCKugkFw64oLc8uaI1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:_UlzpNPOzdpgl44nlGEKouSJJB84NYJsOoESMH0Ewsc1@thread.v2/messages?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "f7dd1ed7-226c-4d30-9650-ee8a32304972", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "1e674aa4-f56b-45fd-ae62-b8583e3e8c39", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003044Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dg9a", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:05 GMT", + "Date" : "Wed, 04 May 2022 00:30:45 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "189ms", - "MS-CV" : "cXjEmRRp0E2tEA+l7J9SgQ.0", - "X-Azure-Ref" : "0lT45YQAAAABtsdxPos/QR5rbDUrzGWb1V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"id\":\"1631141525688\"}", + "X-Processing-Time" : "311ms", + "MS-CV" : "shl3hd2pREaU9uzQYAbbLA.0", + "Body" : "{\"id\":\"1651624252263\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AkiVFKuvNeqIL-IhEKyplO7Iyr9BCKugkFw64oLc8uaI1@thread.v2/messages/1631141525688" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3A_UlzpNPOzdpgl44nlGEKouSJJB84NYJsOoESMH0Ewsc1@thread.v2/messages/1651624252263" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:kiVFKuvNeqIL-IhEKyplO7Iyr9BCKugkFw64oLc8uaI1@thread.v2/messages/1631141525688?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:_UlzpNPOzdpgl44nlGEKouSJJB84NYJsOoESMH0Ewsc1@thread.v2/messages/1651624252263?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "920be098-605d-4675-9282-66d9f8b2bfb3" + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "d4e27c7d-0fe1-4e1a-9296-f1217b27b7dc" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003042Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008az4", "X-Cache" : "CONFIG_NOCACHE", - "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "155ms", - "MS-CV" : "T0ag2J+suEyVj2BTgXABIQ.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", - "X-Azure-Ref" : "0lT45YQAAAACoUci2FJd+T67epZmvXy7oV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"id\":\"1631141525688\",\"type\":\"text\",\"sequenceId\":\"3\",\"version\":\"1631141525688\",\"content\":{\"message\":\"Content\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-09-08T22:52:05Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-1901-6efa-23482200005b\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-1901-6efa-23482200005b\"}},\"metadata\":{\"onedriveReferences\":\"onedriveReferences\",\"deliveryMode\":\"deliveryMode value\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\",\"tags\":\"tags value\"}}", - "Date" : "Wed, 08 Sep 2021 22:52:05 GMT", + "Date" : "Wed, 04 May 2022 00:30:43 GMT", + "Strict-Transport-Security" : "max-age=2592000", + "X-Processing-Time" : "98ms", + "MS-CV" : "bSi0amJlzUav0NJt145iqw.0", + "Body" : "{\"id\":\"1651624252263\",\"type\":\"text\",\"sequenceId\":\"3\",\"version\":\"1651624252263\",\"content\":{\"message\":\"Content\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2022-05-04T00:30:52Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-af53-defd-8b3a0d0028a1\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-af53-defd-8b3a0d0028a1\"}},\"metadata\":{\"onedriveReferences\":\"onedriveReferences\",\"deliveryMode\":\"deliveryMode value\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\",\"tags\":\"tags value\"}}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canSendThenListReadReceiptsWithOptions[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canSendThenListReadReceiptsWithOptions[1].json index 7385d56ac3dc4..361c346487e6d 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canSendThenListReadReceiptsWithOptions[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canSendThenListReadReceiptsWithOptions[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "e163e503-c315-4d52-b964-676b58d46171", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "838bc22c-3bbe-41bb-ad40-5c4ced5ff240", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003203Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dwpr", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:41 GMT", + "Date" : "Wed, 04 May 2022 00:32:04 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "90ms", - "MS-CV" : "GHQnAGiinUe9qSf/x0yOyQ.0", - "X-Azure-Ref" : "0uj45YQAAAACjny/u9+dZR45l7mm3udHUV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-abd9-6efa-23482200007d\"}}", - "x-ms-client-request-id" : "e163e503-c315-4d52-b964-676b58d46171", + "X-Processing-Time" : "88ms", + "MS-CV" : "w8XPPfwUPk2vD6rHEuyhfA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-ec5b-defd-8b3a0d0028c0\"}}", + "x-ms-client-request-id" : "838bc22c-3bbe-41bb-ad40-5c4ced5ff240", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,74 +29,78 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "9a8fa84b-210f-40f8-9f2a-6e81d48658ea", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "be64a28e-191f-4099-a9d7-7e726d266152", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003201Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008tpu", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:41 GMT", + "Date" : "Wed, 04 May 2022 00:32:02 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "73ms", - "MS-CV" : "Kmtx2g/xak6BOjWoltAVNw.0", - "X-Azure-Ref" : "0uj45YQAAAADqgTk0iSbWR7DAlKnohQE6V1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-ac73-5dbd-9f3a0d0000da\"}}", - "x-ms-client-request-id" : "9a8fa84b-210f-40f8-9f2a-6e81d48658ea", + "X-Processing-Time" : "88ms", + "MS-CV" : "paPM6XEgU0qLNfQ/8F+2RQ.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-ee19-80f5-8b3a0d0025d4\"}}", + "x-ms-client-request-id" : "be64a28e-191f-4099-a9d7-7e726d266152", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-abd9-6efa-23482200007d/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-ec5b-defd-8b3a0d0028c0/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "be502c48-f9b2-4e1e-9a1d-23066bae8305", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "4ee1671a-3b05-4c5e-b7b2-ef9e852a0d3d", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003204Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dwtu", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:52:41 GMT", + "Date" : "Wed, 04 May 2022 00:32:05 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "154ms", - "MS-CV" : "WgHlg2hrtk2qdciq9WT2Fg.0", - "X-Azure-Ref" : "0uj45YQAAAABIvZNFxLkwSbicNZ9TnkGVV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:52:42.7613277+00:00\"}", - "x-ms-client-request-id" : "be502c48-f9b2-4e1e-9a1d-23066bae8305", + "X-Processing-Time" : "165ms", + "MS-CV" : "kyEDPP4A2kyPEqMzm9cVBw.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:32:12.3664221+00:00\"}", + "x-ms-client-request-id" : "4ee1671a-3b05-4c5e-b7b2-ef9e852a0d3d", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "c49ff562-758f-4c97-9456-0b377432f58c", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "82dd2e11-b607-4154-aef0-d304ab7f85e6", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003202Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008twd", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:42 GMT", + "Date" : "Wed, 04 May 2022 00:32:03 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "557ms", - "MS-CV" : "oo2vGrDClE+SZvCuRmAyhA.0", - "X-Azure-Ref" : "0uj45YQAAAAA79J9nqkD6Qah05Isa4hr8V1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:0Q9Surl5ioR9PAdzhhBN5BgoLNWrFX6UCdmAQcBP6UI1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:52:42Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-abd9-6efa-23482200007d\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-abd9-6efa-23482200007d\"}}}}", + "X-Processing-Time" : "524ms", + "MS-CV" : "SpdTfwBm1UWVzlSfVNCdRw.0", + "Body" : "{\"chatThread\":{\"id\":\"19:JuunBgUt_BVDfPM1WAB7uCjS_bom1AM1CY_Zi6Mpldc1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:32:12Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-ec5b-defd-8b3a0d0028c0\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-ec5b-defd-8b3a0d0028c0\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A0Q9Surl5ioR9PAdzhhBN5BgoLNWrFX6UCdmAQcBP6UI1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AJuunBgUt_BVDfPM1WAB7uCjS_bom1AM1CY_Zi6Mpldc1@thread.v2" }, "Exception" : null } ], diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canSendThenListReadReceiptsWithResponse[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canSendThenListReadReceiptsWithResponse[1].json index d6f5668aa098d..94bf8bdaf7e5a 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canSendThenListReadReceiptsWithResponse[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canSendThenListReadReceiptsWithResponse[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "15327a4b-83b6-4111-a4d4-210d8f7ed908", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "2a70a0dd-12ea-476b-aa9d-3c763190ff87", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003050Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dh9h", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:07 GMT", + "Date" : "Wed, 04 May 2022 00:30:51 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "91ms", - "MS-CV" : "p8EaKI5Ur0aFLI+Hig3+ew.0", - "X-Azure-Ref" : "0mD45YQAAAAB65jLwwgZeT5IHkVZnboisV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-2613-6efa-23482200005e\"}}", - "x-ms-client-request-id" : "15327a4b-83b6-4111-a4d4-210d8f7ed908", + "X-Processing-Time" : "88ms", + "MS-CV" : "e6ym9Q0vE06z17RLHywH0Q.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-cf17-92fd-8b3a0d002912\"}}", + "x-ms-client-request-id" : "2a70a0dd-12ea-476b-aa9d-3c763190ff87", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,74 +29,78 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "fd3ca433-78d5-42b9-999d-b2726fbef5b9", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "8af9d4dc-ff7c-4081-b4cb-46bdb35c39ea", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003048Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008c1z", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:07 GMT", + "Date" : "Wed, 04 May 2022 00:30:49 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "72ms", - "MS-CV" : "3Awf2orYzki4UjeKeELQFA.0", - "X-Azure-Ref" : "0mD45YQAAAAAPN/EJbp5STKHSYkV3mIFKV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-26af-5dbd-9f3a0d0000c3\"}}", - "x-ms-client-request-id" : "fd3ca433-78d5-42b9-999d-b2726fbef5b9", + "X-Processing-Time" : "88ms", + "MS-CV" : "YOysudApQEixuMeoUlhUdQ.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-d088-1252-573a0d002bb5\"}}", + "x-ms-client-request-id" : "8af9d4dc-ff7c-4081-b4cb-46bdb35c39ea", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-2613-6efa-23482200005e/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-cf17-92fd-8b3a0d002912/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "93d90179-a3f8-471f-b1c9-4050e487d66f", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "cca7ae04-ff63-4052-812d-638d97dca3fb", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003051Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dhdv", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:52:07 GMT", + "Date" : "Wed, 04 May 2022 00:30:51 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", "X-Processing-Time" : "158ms", - "MS-CV" : "paBSmIVJMU+0r7RH2uZCGA.0", - "X-Azure-Ref" : "0mD45YQAAAACcsy1hk3TrR6Vpayq3RCYFV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:52:08.5177026+00:00\"}", - "x-ms-client-request-id" : "93d90179-a3f8-471f-b1c9-4050e487d66f", + "MS-CV" : "oCY9lE8/ukW6OFqhJUyfVA.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:30:59.2413213+00:00\"}", + "x-ms-client-request-id" : "cca7ae04-ff63-4052-812d-638d97dca3fb", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "61411817-1da6-47df-bb50-b4ee0780871f", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "acaa5dff-7e68-42a1-818f-43a8752a3389", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003049Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008c9x", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:08 GMT", + "Date" : "Wed, 04 May 2022 00:30:50 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "342ms", - "MS-CV" : "pJ+DdceiHUiLhVXnApordg.0", - "X-Azure-Ref" : "0mD45YQAAAADCBC76E1/zSJ5+zbdHEAjnV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:Qsk5oTvt6mXO2OQa8lv-QYp85JSMmBVqzAwIi5umFhI1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:52:08Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-2613-6efa-23482200005e\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-2613-6efa-23482200005e\"}}}}", + "X-Processing-Time" : "767ms", + "MS-CV" : "Dr0/itfyU0CMeraPvcFEuw.0", + "Body" : "{\"chatThread\":{\"id\":\"19:q5KAuAL4rvWgYNz6Ids4oD7lPfjyBfr-W8KFmQaEfhU1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:30:59Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-cf17-92fd-8b3a0d002912\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-cf17-92fd-8b3a0d002912\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AQsk5oTvt6mXO2OQa8lv-QYp85JSMmBVqzAwIi5umFhI1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3Aq5KAuAL4rvWgYNz6Ids4oD7lPfjyBfr-W8KFmQaEfhU1@thread.v2" }, "Exception" : null } ], diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canSendThenListReadReceipts[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canSendThenListReadReceipts[1].json index 83fedec2ab598..8ed39efb94ce5 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canSendThenListReadReceipts[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canSendThenListReadReceipts[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "7ee4035d-3131-489e-aefd-e302f8cddf29", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "a699bfb4-7edc-48a5-b1b0-4cd6a0050d1e", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003144Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dtrn", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:32 GMT", + "Date" : "Wed, 04 May 2022 00:31:44 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "90ms", - "MS-CV" : "M3FN+88t7k+MsLXR0OYVWA.0", - "X-Azure-Ref" : "0sD45YQAAAACxOoW7YCrTQZv7alo0KF4mV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-8662-6efa-234822000075\"}}", - "x-ms-client-request-id" : "7ee4035d-3131-489e-aefd-e302f8cddf29", + "X-Processing-Time" : "87ms", + "MS-CV" : "/LCjW8USi0mhIi89R8Ks7A.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-a128-7bfa-553a0d0022b9\"}}", + "x-ms-client-request-id" : "a699bfb4-7edc-48a5-b1b0-4cd6a0050d1e", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,74 +29,78 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "f14bb33e-ee6d-4e6d-9caa-76087adfcf0b", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "2c21d468-cd0c-4a43-861f-6aaa09f22bcd", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003142Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008q1d", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:32 GMT", + "Date" : "Wed, 04 May 2022 00:31:42 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "62ms", - "MS-CV" : "tpFCXsNSHkKWS3xxlUtyyg.0", - "X-Azure-Ref" : "0sD45YQAAAAA70VXbFuTsTKXR3c5LoGNIV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-86fd-5dbd-9f3a0d0000d2\"}}", - "x-ms-client-request-id" : "f14bb33e-ee6d-4e6d-9caa-76087adfcf0b", + "X-Processing-Time" : "120ms", + "MS-CV" : "eWPk8K6QRE2AHSmzbsZ2tQ.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-a2a3-655d-573a0d002478\"}}", + "x-ms-client-request-id" : "2c21d468-cd0c-4a43-861f-6aaa09f22bcd", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-8662-6efa-234822000075/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-a128-7bfa-553a0d0022b9/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "7631e9fc-64c8-4142-a4aa-9509857ca208", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "d0e4ed06-9794-4117-a806-c1264f299f9f", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003145Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dtvn", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:52:32 GMT", + "Date" : "Wed, 04 May 2022 00:31:45 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "159ms", - "MS-CV" : "VTmprUnsKkKT8ImMkG2zwg.0", - "X-Azure-Ref" : "0sD45YQAAAADMcLoaqthCSbLOvPRBlirpV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:52:33.1625182+00:00\"}", - "x-ms-client-request-id" : "7631e9fc-64c8-4142-a4aa-9509857ca208", + "X-Processing-Time" : "157ms", + "MS-CV" : "4THC56tGmEShA27zWB7moA.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:31:53.1460774+00:00\"}", + "x-ms-client-request-id" : "d0e4ed06-9794-4117-a806-c1264f299f9f", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "c3702323-73c3-4de0-82e5-090c5992dc6c", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "6775a363-5f07-4897-8e20-7c4b95a677c9", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003143Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008q6r", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:32 GMT", + "Date" : "Wed, 04 May 2022 00:31:44 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "357ms", - "MS-CV" : "sU0lYOP4MUiUyOoj4wDMSA.0", - "X-Azure-Ref" : "0sT45YQAAAABnAY5HINB5SZVsaKhtOXuzV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:JbxiUdxBoMJ8cBUu69MRzX8STtgDRXIplEN-IRquajU1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:52:33Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-8662-6efa-234822000075\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-8662-6efa-234822000075\"}}}}", + "X-Processing-Time" : "369ms", + "MS-CV" : "B0wTIKExr0q4fn8SocxG2w.0", + "Body" : "{\"chatThread\":{\"id\":\"19:mxYmbYUCkbgGlYAwrWoJ10OJHaKV8HftxzprHS2bbBM1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:31:53Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-a128-7bfa-553a0d0022b9\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-a128-7bfa-553a0d0022b9\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AJbxiUdxBoMJ8cBUu69MRzX8STtgDRXIplEN-IRquajU1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AmxYmbYUCkbgGlYAwrWoJ10OJHaKV8HftxzprHS2bbBM1@thread.v2" }, "Exception" : null } ], diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canSendTypingNotificationWithResponseWithOptions[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canSendTypingNotificationWithResponseWithOptions[1].json index e290ffa16d6b1..0e7c5c8c681a5 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canSendTypingNotificationWithResponseWithOptions[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canSendTypingNotificationWithResponseWithOptions[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "099038e5-edb2-43d7-ae6f-31d5f13c6ede", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "844de632-e6e5-4b17-bb9c-aed3d7c023d2", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003205Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dx1d", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:42 GMT", + "Date" : "Wed, 04 May 2022 00:32:06 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "98ms", - "MS-CV" : "oif8N5jESku4jOA1IQUZAA.0", - "X-Azure-Ref" : "0uz45YQAAAAD1oeB86oKVQYaH/nLPtHJvV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-b04f-6efa-23482200007e\"}}", - "x-ms-client-request-id" : "099038e5-edb2-43d7-ae6f-31d5f13c6ede", + "X-Processing-Time" : "89ms", + "MS-CV" : "VD/W3Ss0rkiwU6GRwOZ5iQ.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-f4f3-7bfa-553a0d0022bf\"}}", + "x-ms-client-request-id" : "844de632-e6e5-4b17-bb9c-aed3d7c023d2", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,95 +29,101 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "e0b120de-a85d-4210-8d53-5ee386a80a16", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "1bf2bd3d-97bb-414a-8056-6f248dbb25b7", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003204Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008u2z", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:43 GMT", + "Date" : "Wed, 04 May 2022 00:32:04 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "73ms", - "MS-CV" : "pGGQ3fBUOU6lhTyGeJgO5Q.0", - "X-Azure-Ref" : "0uz45YQAAAACzEP6r5uOMRYflhAKhSj49V1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-b0f3-5dbd-9f3a0d0000db\"}}", - "x-ms-client-request-id" : "e0b120de-a85d-4210-8d53-5ee386a80a16", + "X-Processing-Time" : "84ms", + "MS-CV" : "rOfRNsgvPkqwoPqAJzcV4g.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-f669-fa5d-573a0d00297e\"}}", + "x-ms-client-request-id" : "1bf2bd3d-97bb-414a-8056-6f248dbb25b7", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-b04f-6efa-23482200007e/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-f4f3-7bfa-553a0d0022bf/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "7f5de53b-cf8e-4419-8f12-4c31cf09de1e", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "fddb5298-05f4-426d-9cf4-bf224dc3ae91", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003206Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dx6b", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:52:43 GMT", + "Date" : "Wed, 04 May 2022 00:32:07 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "158ms", - "MS-CV" : "rmLDOgfcO0uI4K17FN8OjA.0", - "X-Azure-Ref" : "0uz45YQAAAADYO3ASkcslQoWyasWwUzW2V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:52:43.9121896+00:00\"}", - "x-ms-client-request-id" : "7f5de53b-cf8e-4419-8f12-4c31cf09de1e", + "X-Processing-Time" : "162ms", + "MS-CV" : "VDkPpYFJN0qI0hBkEh9aKQ.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:32:14.6371312+00:00\"}", + "x-ms-client-request-id" : "fddb5298-05f4-426d-9cf4-bf224dc3ae91", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "479f78b1-dff5-41c3-b8bb-e2bbf8fa7ebc", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "9d6dd7a3-baca-4dd1-b63c-a996a5ca3b5c", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003205Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008u98", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:43 GMT", + "Date" : "Wed, 04 May 2022 00:32:06 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "568ms", - "MS-CV" : "G4aV6CG6nE64lbczG4hmNQ.0", - "X-Azure-Ref" : "0uz45YQAAAAB46GFgcDTeTYqhIeDDh0dRV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:PeUXEm6r24I-71BVCDP7FMPhIefIeLni3SOMDqJo34E1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:52:44Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-b04f-6efa-23482200007e\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-b04f-6efa-23482200007e\"}}}}", + "X-Processing-Time" : "978ms", + "MS-CV" : "pOL7RwSyBEeNyYpKQnuydg.0", + "Body" : "{\"chatThread\":{\"id\":\"19:KM3Cs-zjEe7wiNM241LD5aC1ACvK9YECVREHwICmr_E1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:32:14Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-f4f3-7bfa-553a0d0022bf\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-f4f3-7bfa-553a0d0022bf\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3APeUXEm6r24I-71BVCDP7FMPhIefIeLni3SOMDqJo34E1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AKM3Cs-zjEe7wiNM241LD5aC1ACvK9YECVREHwICmr_E1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:PeUXEm6r24I-71BVCDP7FMPhIefIeLni3SOMDqJo34E1@thread.v2/typing?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:KM3Cs-zjEe7wiNM241LD5aC1ACvK9YECVREHwICmr_E1@thread.v2/typing?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "4de97f5b-9287-4033-8dfa-631ae9a86ca6", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "dbaa8e27-73fa-40e6-944c-000ea8545f32", "Content-Type" : "application/json" }, "Response" : { + "Accept-Ranges" : "bytes", + "x-azure-ref" : "20220504T003208Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dxe2", "X-Cache" : "CONFIG_NOCACHE", "content-length" : "0", "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "104ms", - "MS-CV" : "nWeABovvdEy9vyPQSXIK+g.0", + "api-supported-versions" : "2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "X-Processing-Time" : "166ms", + "Connection" : "keep-alive", + "MS-CV" : "vQs++ifqP0+v/4ZOiskxXw.0", "retry-after" : "0", - "X-Azure-Ref" : "0vD45YQAAAACPcew4XjrnQ6y/rhS9mCd+V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:52:43 GMT" + "Date" : "Wed, 04 May 2022 00:32:08 GMT" }, "Exception" : null } ], diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canSendTypingNotificationWithResponse[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canSendTypingNotificationWithResponse[1].json index 1e5d9515242f4..2e284be97ddb6 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canSendTypingNotificationWithResponse[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canSendTypingNotificationWithResponse[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "2dda93d9-e750-4c3d-b873-febbf0a906d6", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "162a6947-6544-46ec-8469-dc9b341c149a", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003130Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008mqg", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:26 GMT", + "Date" : "Wed, 04 May 2022 00:31:30 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "62ms", - "MS-CV" : "lKI/1QSKpU2RxZgYFgSZsw.0", - "X-Azure-Ref" : "0qj45YQAAAADoAectKAV4Tord/uKgzYRjV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-6f66-5dbd-9f3a0d0000cd\"}}", - "x-ms-client-request-id" : "2dda93d9-e750-4c3d-b873-febbf0a906d6", + "X-Processing-Time" : "88ms", + "MS-CV" : "NzMlDYb26Ee7LzwNHos3Cw.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-7312-80f5-8b3a0d0025cb\"}}", + "x-ms-client-request-id" : "162a6947-6544-46ec-8469-dc9b341c149a", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,95 +29,101 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "1732d216-7a9f-4ad0-b0a8-6a655aeeca6f", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "dba2d63e-98f8-497b-9d36-53d32517582a", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003133Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000drwu", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:26 GMT", + "Date" : "Wed, 04 May 2022 00:31:33 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "93ms", - "MS-CV" : "JaDvxUoV0EywFR1PhSX//Q.0", - "X-Azure-Ref" : "0qj45YQAAAACwieuyEnH2SY56zsPO3lUPV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-6feb-6efa-234822000070\"}}", - "x-ms-client-request-id" : "1732d216-7a9f-4ad0-b0a8-6a655aeeca6f", + "X-Processing-Time" : "89ms", + "MS-CV" : "jurswqQUS0+T598m/umjmg.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-749d-defd-8b3a0d0028b1\"}}", + "x-ms-client-request-id" : "dba2d63e-98f8-497b-9d36-53d32517582a", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-6f66-5dbd-9f3a0d0000cd/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-7312-80f5-8b3a0d0025cb/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "1f5ed085-f735-4885-810f-82c7c3498a26", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "59e20281-aae2-404f-8c5a-2ed80a7baa1c", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003131Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008mvy", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:52:26 GMT", + "Date" : "Wed, 04 May 2022 00:31:31 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "136ms", - "MS-CV" : "CLZuz1q/JkSVtpdVUXxJSA.0", - "X-Azure-Ref" : "0qz45YQAAAABslajJ8yN/TamsB0LL26pnV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:52:27.2720397+00:00\"}", - "x-ms-client-request-id" : "1f5ed085-f735-4885-810f-82c7c3498a26", + "X-Processing-Time" : "158ms", + "MS-CV" : "RVeA7v3geEWxyWchUzr54g.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:31:41.2645945+00:00\"}", + "x-ms-client-request-id" : "59e20281-aae2-404f-8c5a-2ed80a7baa1c", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "dd4e2825-1aae-4f9c-8e41-4e97fe88b95d", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "a4203bcd-69ad-407d-ac4b-59834a401708", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003134Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000ds1a", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:26 GMT", + "Date" : "Wed, 04 May 2022 00:31:34 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "472ms", - "MS-CV" : "GohzTXFNZEKuF5I4M0+j6g.0", - "X-Azure-Ref" : "0qz45YQAAAABDfEAIsFXfQIZ1yhgMiNIxV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:lhTZ_OOvu3wgxzHfFAmHTaynSijxvGiIJcnIiGTAp7E1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:52:27Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-6f66-5dbd-9f3a0d0000cd\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-6f66-5dbd-9f3a0d0000cd\"}}}}", + "X-Processing-Time" : "586ms", + "MS-CV" : "GH+zvuopkkyAL0uje2rTsg.0", + "Body" : "{\"chatThread\":{\"id\":\"19:i5wdFn-Viv037tHBywdxloMaa9Q7JQvN6rz1CeKJXHM1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:31:41Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-7312-80f5-8b3a0d0025cb\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-7312-80f5-8b3a0d0025cb\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AlhTZ_OOvu3wgxzHfFAmHTaynSijxvGiIJcnIiGTAp7E1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3Ai5wdFn-Viv037tHBywdxloMaa9Q7JQvN6rz1CeKJXHM1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:lhTZ_OOvu3wgxzHfFAmHTaynSijxvGiIJcnIiGTAp7E1@thread.v2/typing?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:i5wdFn-Viv037tHBywdxloMaa9Q7JQvN6rz1CeKJXHM1@thread.v2/typing?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "4dd2eb2d-8c20-4678-aa23-17dafa9a54ea", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "d464d028-001e-4d88-b8a3-ebaf356e4f5b", "Content-Type" : "application/json" }, "Response" : { + "Accept-Ranges" : "bytes", + "x-azure-ref" : "20220504T003132Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008n4u", "X-Cache" : "CONFIG_NOCACHE", "content-length" : "0", "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "232ms", - "MS-CV" : "YWoW9OOVYEmdmvCstqCiWg.0", + "api-supported-versions" : "2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "X-Processing-Time" : "130ms", + "Connection" : "keep-alive", + "MS-CV" : "VbfWlLVNAkuhKdo7gUDdUA.0", "retry-after" : "0", - "X-Azure-Ref" : "0qz45YQAAAAA7JFWVtqlZRLtvj02bsx6gV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:52:27 GMT" + "Date" : "Wed, 04 May 2022 00:31:32 GMT" }, "Exception" : null } ], diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canSendTypingNotification[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canSendTypingNotification[1].json index 08c43dd7d14bb..1f190d6834c8d 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canSendTypingNotification[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canSendTypingNotification[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "96c5a3c8-8452-40a7-b738-85aa75cdd05d", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "2ab0ff44-fa7c-4c5d-913d-571457de8c21", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003206Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008ugr", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:44 GMT", + "Date" : "Wed, 04 May 2022 00:32:06 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "64ms", - "MS-CV" : "/IUICX5BoUybmcmNAVBp3Q.0", - "X-Azure-Ref" : "0vD45YQAAAABvh0pqVvyESoPVJ+e/opnHV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-b54b-5dbd-9f3a0d0000dc\"}}", - "x-ms-client-request-id" : "96c5a3c8-8452-40a7-b738-85aa75cdd05d", + "X-Processing-Time" : "88ms", + "MS-CV" : "YWetXS887Em3zDg2sckJ5g.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-ffef-655d-573a0d002480\"}}", + "x-ms-client-request-id" : "2ab0ff44-fa7c-4c5d-913d-571457de8c21", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,95 +29,101 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "f84a1d3b-6049-43bf-9fe2-c8205cd71887", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "e9c4ea33-49f5-4b70-a20d-6b9577d97899", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003209Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dxhv", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:44 GMT", + "Date" : "Wed, 04 May 2022 00:32:09 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "91ms", - "MS-CV" : "MStEVkCQ8E2R+/YSQlO0vw.0", - "X-Azure-Ref" : "0vD45YQAAAADriy/HuLl0R72Vtb9+vOZPV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-b5cd-6efa-23482200007f\"}}", - "x-ms-client-request-id" : "f84a1d3b-6049-43bf-9fe2-c8205cd71887", + "X-Processing-Time" : "93ms", + "MS-CV" : "NrKZgfbjskSj02KVisbrug.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-0170-7bfa-553a0d0022c1\"}}", + "x-ms-client-request-id" : "e9c4ea33-49f5-4b70-a20d-6b9577d97899", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-b54b-5dbd-9f3a0d0000dc/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-ffef-655d-573a0d002480/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "15c7ab92-f96c-4987-aca5-46fb706d2df4", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "7fceb86a-ec8a-4d7d-842e-616e7e2bcc6e", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003207Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008up4", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:52:44 GMT", + "Date" : "Wed, 04 May 2022 00:32:07 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "135ms", - "MS-CV" : "hKKGRH+vaUGQ9JX8felSUQ.0", - "X-Azure-Ref" : "0vD45YQAAAAAR/f1QqqRST60Ds0a+1e0aV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:52:45.1539098+00:00\"}", - "x-ms-client-request-id" : "15c7ab92-f96c-4987-aca5-46fb706d2df4", + "X-Processing-Time" : "154ms", + "MS-CV" : "e9Hg4r8MAE+awlzh7e6NXA.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:32:17.2559434+00:00\"}", + "x-ms-client-request-id" : "7fceb86a-ec8a-4d7d-842e-616e7e2bcc6e", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "e22088b3-38e5-45e7-b5c3-0f74e00e0ccb", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "6d281bbf-1842-4f27-8ef7-32402e446d46", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003210Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dxpm", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:44 GMT", + "Date" : "Wed, 04 May 2022 00:32:10 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "440ms", - "MS-CV" : "9/MZP6I+fUWGReKOkfRPRw.0", - "X-Azure-Ref" : "0vT45YQAAAACpisJXahysRZx831zyy+ShV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:P2VG2eaqIX_cdK6dIQ1zNO9qyjFkfBrYkVs2e_oBprE1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:52:45Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-b54b-5dbd-9f3a0d0000dc\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-b54b-5dbd-9f3a0d0000dc\"}}}}", + "X-Processing-Time" : "544ms", + "MS-CV" : "3NE3T33CT0GpfQEoRueAUg.0", + "Body" : "{\"chatThread\":{\"id\":\"19:Ss3_f9MlTXeeZmfjHVHme8sSeVX9BTVKQS5dQ2nlhhY1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:32:17Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-ffef-655d-573a0d002480\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-ffef-655d-573a0d002480\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AP2VG2eaqIX_cdK6dIQ1zNO9qyjFkfBrYkVs2e_oBprE1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3ASs3_f9MlTXeeZmfjHVHme8sSeVX9BTVKQS5dQ2nlhhY1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:P2VG2eaqIX_cdK6dIQ1zNO9qyjFkfBrYkVs2e_oBprE1@thread.v2/typing?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:Ss3_f9MlTXeeZmfjHVHme8sSeVX9BTVKQS5dQ2nlhhY1@thread.v2/typing?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "7fd4c0e3-7344-44ed-a8d7-511977142702", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "e94b6dfd-5525-4fbb-87fa-5e81a60d39a7", "Content-Type" : "application/json" }, "Response" : { + "Accept-Ranges" : "bytes", + "x-azure-ref" : "20220504T003208Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008uu5", "X-Cache" : "CONFIG_NOCACHE", "content-length" : "0", "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "201ms", - "MS-CV" : "P8EBTcST4EGbAcVPUR8V9Q.0", + "api-supported-versions" : "2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "X-Processing-Time" : "135ms", + "Connection" : "keep-alive", + "MS-CV" : "UEGe/dGBG0yXCLxMCXkdAQ.0", "retry-after" : "0", - "X-Azure-Ref" : "0vT45YQAAAADdAo2ZwTaITIB3h0m6sdAyV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:52:45 GMT" + "Date" : "Wed, 04 May 2022 00:32:08 GMT" }, "Exception" : null } ], diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canUpdateExistingMessageWithResponse[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canUpdateExistingMessageWithResponse[1].json index 7dc975f1c4621..01c77031032f3 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canUpdateExistingMessageWithResponse[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canUpdateExistingMessageWithResponse[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "5e4d6ee8-1b9d-438e-a1a6-4a6826b0bca8", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "99740dea-acc9-418b-bca3-a4c9245bae8a", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003220Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dz9z", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:49 GMT", + "Date" : "Wed, 04 May 2022 00:32:21 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "87ms", - "MS-CV" : "wFMFUvpUhUaKifJA9V+7Ug.0", - "X-Azure-Ref" : "0wj45YQAAAADnYlgiYX4gRbl6w0NX23AiV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-ca50-6479-224822000147\"}}", - "x-ms-client-request-id" : "5e4d6ee8-1b9d-438e-a1a6-4a6826b0bca8", + "X-Processing-Time" : "90ms", + "MS-CV" : "9Qp5W6ibq0uR6ekGJj5etA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-2f61-eef0-8b3a0d0022ef\"}}", + "x-ms-client-request-id" : "99740dea-acc9-418b-bca3-a4c9245bae8a", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,139 +29,146 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "6c7f0a1b-b6f1-4f22-9372-664fa7932ab7", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "bff930b6-17e7-46e4-9572-3a9435c71b38", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003219Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008ww2", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:49 GMT", + "Date" : "Wed, 04 May 2022 00:32:19 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "72ms", - "MS-CV" : "gobHkF1aTkWs5nDlaCpJDA.0", - "X-Azure-Ref" : "0wj45YQAAAADjmTTORBEOR56H/jIsSR8PV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-cae5-5dbd-9f3a0d0000e1\"}}", - "x-ms-client-request-id" : "6c7f0a1b-b6f1-4f22-9372-664fa7932ab7", + "X-Processing-Time" : "93ms", + "MS-CV" : "Wyczy8vy9k65DrKlZ4rg8Q.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-30f2-3ef0-8b3a0d002900\"}}", + "x-ms-client-request-id" : "bff930b6-17e7-46e4-9572-3a9435c71b38", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-ca50-6479-224822000147/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-2f61-eef0-8b3a0d0022ef/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "32c7afc0-75eb-4690-aa1c-8e881b7fc450", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "4585084f-dc5e-4636-989a-987e3c0b63af", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003221Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dzfk", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "803", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:52:49 GMT", + "Date" : "Wed, 04 May 2022 00:32:22 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "162ms", - "MS-CV" : "+DoZN11D90OM/d9U/6zJfw.0", - "X-Azure-Ref" : "0wj45YQAAAADCsho8hqqeRbQB/17bCJmZV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:52:50.5554677+00:00\"}", - "x-ms-client-request-id" : "32c7afc0-75eb-4690-aa1c-8e881b7fc450", + "X-Processing-Time" : "157ms", + "MS-CV" : "bvVLEpKt+U+R7eUSMnCzTg.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:32:29.533839+00:00\"}", + "x-ms-client-request-id" : "4585084f-dc5e-4636-989a-987e3c0b63af", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "58065ca0-92dc-495d-84a6-bb4a19d919e4", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "0d21891d-97fb-460a-88d2-35189476421e", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003219Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008wzy", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:50 GMT", + "Date" : "Wed, 04 May 2022 00:32:20 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "363ms", - "MS-CV" : "mieZ7kwa1EGAzgTTa+nV0g.0", - "X-Azure-Ref" : "0wj45YQAAAAA3dTOsL6KHRJMCw2WIgTtXV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:vVuy00_quQEkYT9ZOv3ILNBvHbmLGP-K0cdJK76f-AQ1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:52:50Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-ca50-6479-224822000147\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-ca50-6479-224822000147\"}}}}", + "X-Processing-Time" : "738ms", + "MS-CV" : "8z3f1xI8JEGHVXN9MXPbzw.0", + "Body" : "{\"chatThread\":{\"id\":\"19:3pA_naAwtI8jUl4LD9vNB6xLBZ0Wj-jk1UPXCl5nz5I1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:32:29Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-2f61-eef0-8b3a0d0022ef\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-2f61-eef0-8b3a0d0022ef\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AvVuy00_quQEkYT9ZOv3ILNBvHbmLGP-K0cdJK76f-AQ1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3A3pA_naAwtI8jUl4LD9vNB6xLBZ0Wj-jk1UPXCl5nz5I1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:vVuy00_quQEkYT9ZOv3ILNBvHbmLGP-K0cdJK76f-AQ1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:3pA_naAwtI8jUl4LD9vNB6xLBZ0Wj-jk1UPXCl5nz5I1@thread.v2/messages?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "5aac6d14-3347-4a8c-bdc7-f367abcafa46", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "7abb50b8-daca-4a6f-8cbf-f945b2401202", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003223Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dzrc", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:50 GMT", + "Date" : "Wed, 04 May 2022 00:32:23 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "177ms", - "MS-CV" : "tQFC40kFB0KeN6zHmHPzoQ.0", - "X-Azure-Ref" : "0wj45YQAAAABAb0B9Ad/lRIQ5hZSxd4WYV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"id\":\"1631141571059\"}", + "X-Processing-Time" : "210ms", + "MS-CV" : "SZiKQT71RUmY3gWFZhiuvQ.0", + "Body" : "{\"id\":\"1651624350573\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AvVuy00_quQEkYT9ZOv3ILNBvHbmLGP-K0cdJK76f-AQ1@thread.v2/messages/1631141571059" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3A3pA_naAwtI8jUl4LD9vNB6xLBZ0Wj-jk1UPXCl5nz5I1@thread.v2/messages/1651624350573" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:vVuy00_quQEkYT9ZOv3ILNBvHbmLGP-K0cdJK76f-AQ1@thread.v2/messages/1631141571059?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:3pA_naAwtI8jUl4LD9vNB6xLBZ0Wj-jk1UPXCl5nz5I1@thread.v2/messages/1651624350573?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "2c6b7ffb-1625-4cc3-a93d-f5bc1d2cbea0", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "c76095c6-d977-44a5-9f2f-aad21f70c8b3", "Content-Type" : "application/merge-patch+json" }, "Response" : { + "x-azure-ref" : "20220504T003221Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008x65", "X-Cache" : "CONFIG_NOCACHE", "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "467ms", - "MS-CV" : "66dkYs3+bUKhLYtJ23m+mw.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "X-Processing-Time" : "372ms", + "Connection" : "keep-alive", + "MS-CV" : "eZo041QHF0yJ6qyKubNjaw.0", "retry-after" : "0", - "X-Azure-Ref" : "0wz45YQAAAACcQoSZwqXRQbPIaPXaDRcZV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Wed, 08 Sep 2021 22:52:51 GMT" + "Date" : "Wed, 04 May 2022 00:32:21 GMT" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:vVuy00_quQEkYT9ZOv3ILNBvHbmLGP-K0cdJK76f-AQ1@thread.v2/messages/1631141571059?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:3pA_naAwtI8jUl4LD9vNB6xLBZ0Wj-jk1UPXCl5nz5I1@thread.v2/messages/1651624350573?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "7237169c-638e-47e0-a329-3cf83d3b5604" + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "57fe7f82-c0c7-44bc-b641-2a6ad97b131e" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003223Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dzvb", "X-Cache" : "CONFIG_NOCACHE", - "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "85ms", - "MS-CV" : "FpMKNGMba0ugtuKcOobEGA.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", - "X-Azure-Ref" : "0wz45YQAAAAAeBGvE0QlOS4X3yRxVn2AOV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"id\":\"1631141571059\",\"type\":\"text\",\"sequenceId\":\"4\",\"version\":\"1631141571491\",\"content\":{\"message\":\"Update Test\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-09-08T22:52:51Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-ca50-6479-224822000147\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-ca50-6479-224822000147\"}},\"editedOn\":\"2021-09-08T22:52:51Z\",\"metadata\":{\"onedriveReferences\":\"onedriveReferences - updated\",\"deliveryMode\":\"deliveryMode value - updated\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\"}}", - "Date" : "Wed, 08 Sep 2021 22:52:50 GMT", + "Date" : "Wed, 04 May 2022 00:32:24 GMT", + "Strict-Transport-Security" : "max-age=2592000", + "X-Processing-Time" : "177ms", + "MS-CV" : "f9oHanXFKEWuZBIU1PEVLg.0", + "Body" : "{\"id\":\"1651624350573\",\"type\":\"text\",\"sequenceId\":\"4\",\"version\":\"1651624350969\",\"content\":{\"message\":\"Update Test\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2022-05-04T00:32:30Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-2f61-eef0-8b3a0d0022ef\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-2f61-eef0-8b3a0d0022ef\"}},\"editedOn\":\"2022-05-04T00:32:30Z\",\"metadata\":{\"onedriveReferences\":\"onedriveReferences - updated\",\"deliveryMode\":\"deliveryMode value - updated\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\"}}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canUpdateExistingMessage[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canUpdateExistingMessage[1].json index 082b9e913c465..4cb0e9ded3873 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canUpdateExistingMessage[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canUpdateExistingMessage[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "86b8c95a-5c9b-41d2-a422-1f30362d3ce0", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "4efeefd8-9962-406c-a1f0-66f1a2aa3fb9", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003223Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008xp5", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:52 GMT", + "Date" : "Wed, 04 May 2022 00:32:24 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "61ms", - "MS-CV" : "6MOOcqhfs0u6lmhekXeCsg.0", - "X-Azure-Ref" : "0xD45YQAAAADz/+CezegJQbtV6PiMyiJLV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-d50f-5dbd-9f3a0d0000e3\"}}", - "x-ms-client-request-id" : "86b8c95a-5c9b-41d2-a422-1f30362d3ce0", + "X-Processing-Time" : "88ms", + "MS-CV" : "06R3qs1tuU6J1rQYNGy3Yg.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-43d6-3ef0-8b3a0d002901\"}}", + "x-ms-client-request-id" : "4efeefd8-9962-406c-a1f0-66f1a2aa3fb9", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,74 +29,78 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "d146b930-b493-4b57-88f3-c62d474c3d60", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "cb312e40-a534-4461-82ff-4333a7e77303", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003226Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e0a3", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:52 GMT", + "Date" : "Wed, 04 May 2022 00:32:26 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "89ms", - "MS-CV" : "Nc7r732kY0SZSs2Fo7e2UQ.0", - "X-Azure-Ref" : "0xD45YQAAAAAj7XAIdUoUTojdjxTXdxAuV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-d58f-6efa-234822000083\"}}", - "x-ms-client-request-id" : "d146b930-b493-4b57-88f3-c62d474c3d60", + "X-Processing-Time" : "92ms", + "MS-CV" : "soEwule6o0yidlaOR/CdQA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-4581-eef0-8b3a0d0022f1\"}}", + "x-ms-client-request-id" : "cb312e40-a534-4461-82ff-4333a7e77303", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-d50f-5dbd-9f3a0d0000e3/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-43d6-3ef0-8b3a0d002901/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "2114f2ec-393d-43ba-8a9f-ee565eefa591", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "4709bec4-d3e6-4d69-adf6-bebb838df48a", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003224Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008xu4", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:52:52 GMT", + "Date" : "Wed, 04 May 2022 00:32:25 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "133ms", - "MS-CV" : "PUx3sKOxyUmWR0tvJ8mI5g.0", - "X-Azure-Ref" : "0xT45YQAAAACBnEGsvf8DSIewDp0pRSjLV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:52:53.2777798+00:00\"}", - "x-ms-client-request-id" : "2114f2ec-393d-43ba-8a9f-ee565eefa591", + "X-Processing-Time" : "154ms", + "MS-CV" : "HNuPQ8t7w0mw+UOYLnI4Rw.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:32:34.7288422+00:00\"}", + "x-ms-client-request-id" : "4709bec4-d3e6-4d69-adf6-bebb838df48a", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "5b43ceda-f71c-4fcc-bf63-536c31afebe4", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "a4bd82d2-3de9-4716-8797-f50a7376aac4", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003227Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e0g5", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:52 GMT", + "Date" : "Wed, 04 May 2022 00:32:28 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "491ms", - "MS-CV" : "/3keun0B/UKNo84s98etzg.0", - "X-Azure-Ref" : "0xT45YQAAAADVnxR749/LTaYIFsBzAF3pV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:0_r_LDPZ5ORknDjYwxnQ02YlRL4BP8rd3j-q_6rRqlM1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:52:53Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-d50f-5dbd-9f3a0d0000e3\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-d50f-5dbd-9f3a0d0000e3\"}}}}", + "X-Processing-Time" : "500ms", + "MS-CV" : "TTmGSXhgUUyxWg0SaHq5Nw.0", + "Body" : "{\"chatThread\":{\"id\":\"19:r2fzOVY1thWfNuT-MbatfMDha_R_56suOQehez81R801@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:32:34Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-43d6-3ef0-8b3a0d002901\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-43d6-3ef0-8b3a0d002901\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A0_r_LDPZ5ORknDjYwxnQ02YlRL4BP8rd3j-q_6rRqlM1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3Ar2fzOVY1thWfNuT-MbatfMDha_R_56suOQehez81R801@thread.v2" }, "Exception" : null } ], diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canUpdateThreadWithResponse[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canUpdateThreadWithResponse[1].json index 05c2531a0af81..90729edebafc0 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canUpdateThreadWithResponse[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canUpdateThreadWithResponse[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "9664950a-db93-4683-97f5-d3a0b86418ce", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "645f1745-67fd-401c-9c8c-c5a5864d57d8", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003106Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dmtz", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:13 GMT", + "Date" : "Wed, 04 May 2022 00:31:06 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "91ms", - "MS-CV" : "rQkP4OH6pEah9j+xcBdaIQ.0", - "X-Azure-Ref" : "0nj45YQAAAABlJcDGbW44SKRE+PW7vtn3V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-3f1b-6efa-234822000065\"}}", - "x-ms-client-request-id" : "9664950a-db93-4683-97f5-d3a0b86418ce", + "X-Processing-Time" : "89ms", + "MS-CV" : "rVw/BebEzk2NGlI5QAg+7A.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-0b0f-655d-573a0d002467\"}}", + "x-ms-client-request-id" : "645f1745-67fd-401c-9c8c-c5a5864d57d8", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,115 +29,121 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "99b22adc-9581-45a7-bfe8-ab0a9e7c6eb1", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "d0f7a8e0-3660-4590-a702-f76c2fe1cb5c", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003104Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008ezz", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:14 GMT", + "Date" : "Wed, 04 May 2022 00:31:04 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "77ms", - "MS-CV" : "VRoea9vV8kyBOFmjag+j+Q.0", - "X-Azure-Ref" : "0nj45YQAAAACIrsbtqLyWQZwztQSoe+9MV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-3fc5-fcd8-a53a0d0000eb\"}}", - "x-ms-client-request-id" : "99b22adc-9581-45a7-bfe8-ab0a9e7c6eb1", + "X-Processing-Time" : "89ms", + "MS-CV" : "Sn5TPvQQG0G8h/ghEOeDWw.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-0cbd-80f5-8b3a0d0025c8\"}}", + "x-ms-client-request-id" : "d0f7a8e0-3660-4590-a702-f76c2fe1cb5c", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-3f1b-6efa-234822000065/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-0b0f-655d-573a0d002467/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "6f4585e3-ad6a-4b5e-8a0d-b07d9c058f8f", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "d5685aef-301c-45b3-9cb8-570d79c0e429", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003107Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dmyn", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:52:14 GMT", + "Date" : "Wed, 04 May 2022 00:31:07 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "158ms", - "MS-CV" : "iYfljdYRzkyBJDEyXDnskw.0", - "X-Azure-Ref" : "0nj45YQAAAACXNM55kzWvSbU6HMjphmx9V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:52:15.1494588+00:00\"}", - "x-ms-client-request-id" : "6f4585e3-ad6a-4b5e-8a0d-b07d9c058f8f", + "X-Processing-Time" : "160ms", + "MS-CV" : "gVTYnJlkfkWavD2J0No+iA.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:31:14.9900239+00:00\"}", + "x-ms-client-request-id" : "d5685aef-301c-45b3-9cb8-570d79c0e429", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "c69c2415-42a7-40aa-bf21-19a98bc82e16", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "07a374e1-b7ec-4d05-8ffd-c9cdc48f7512", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003105Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008f6y", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:15 GMT", + "Date" : "Wed, 04 May 2022 00:31:06 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "398ms", - "MS-CV" : "ppgOuPyPYE6pTqUoCAyC2w.0", - "X-Azure-Ref" : "0nz45YQAAAACXrrN/CTjWSouWb208zUMHV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:EV9py6nHQJdfvEiWrxM8BnjjsFmz5qS5pXtXeJZPNj41@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:52:15Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-3f1b-6efa-234822000065\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-3f1b-6efa-234822000065\"}}}}", + "X-Processing-Time" : "555ms", + "MS-CV" : "oiwKQAzLKUuhOg8E0/cDlw.0", + "Body" : "{\"chatThread\":{\"id\":\"19:kSmw-74TYAXvbX5ItDJRlUiXDsUhcyam6K6JrVupAiY1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:31:15Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-0b0f-655d-573a0d002467\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-0b0f-655d-573a0d002467\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AEV9py6nHQJdfvEiWrxM8BnjjsFmz5qS5pXtXeJZPNj41@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AkSmw-74TYAXvbX5ItDJRlUiXDsUhcyam6K6JrVupAiY1@thread.v2" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:EV9py6nHQJdfvEiWrxM8BnjjsFmz5qS5pXtXeJZPNj41@thread.v2?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:kSmw-74TYAXvbX5ItDJRlUiXDsUhcyam6K6JrVupAiY1@thread.v2?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "c1c9563f-3a1d-4fa7-ae3f-6a346e764555", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "25cfa47b-a15a-4ebb-a416-4246d2c3513b", "Content-Type" : "application/merge-patch+json" }, "Response" : { + "x-azure-ref" : "20220504T003108Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dn3w", "X-Cache" : "CONFIG_NOCACHE", "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "290ms", - "MS-CV" : "LIiZ7nhobECRpY2cSb4WRA.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "X-Processing-Time" : "311ms", + "Connection" : "keep-alive", + "MS-CV" : "NCgeEONIi0iFnjtdwvfzDw.0", "retry-after" : "0", - "X-Azure-Ref" : "0nz45YQAAAAAYU6aUklRBRImYngQdHw6vV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Wed, 08 Sep 2021 22:52:15 GMT" + "Date" : "Wed, 04 May 2022 00:31:08 GMT" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:EV9py6nHQJdfvEiWrxM8BnjjsFmz5qS5pXtXeJZPNj41@thread.v2?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:kSmw-74TYAXvbX5ItDJRlUiXDsUhcyam6K6JrVupAiY1@thread.v2?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "f6b7faef-ee1d-4139-8bdc-305265c53178" + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "617335ec-468e-4f35-a657-0b5690c7f202" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003106Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008fd6", "X-Cache" : "CONFIG_NOCACHE", - "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "104ms", - "MS-CV" : "xzQPbmhyKEW/62aOnE9t2A.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", - "X-Azure-Ref" : "0nz45YQAAAABrQ+dHjGuGSJq1vPklZWqQV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"id\":\"19:EV9py6nHQJdfvEiWrxM8BnjjsFmz5qS5pXtXeJZPNj41@thread.v2\",\"topic\":\"Update Test\",\"createdOn\":\"2021-09-08T22:52:15Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-3f1b-6efa-234822000065\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-3f1b-6efa-234822000065\"}}}", - "Date" : "Wed, 08 Sep 2021 22:52:15 GMT", + "Date" : "Wed, 04 May 2022 00:31:06 GMT", + "Strict-Transport-Security" : "max-age=2592000", + "X-Processing-Time" : "98ms", + "MS-CV" : "ddqi3m6DDkeGxtm8FaRrmA.0", + "Body" : "{\"id\":\"19:kSmw-74TYAXvbX5ItDJRlUiXDsUhcyam6K6JrVupAiY1@thread.v2\",\"topic\":\"Update Test\",\"createdOn\":\"2022-05-04T00:31:15Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-0b0f-655d-573a0d002467\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-0b0f-655d-573a0d002467\"}}}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canUpdateThread[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canUpdateThread[1].json index bcb65acf6d821..5e3364f09ceed 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canUpdateThread[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.canUpdateThread[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "6792896e-2813-4192-aa88-7a7cd557754b", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "5c3dda0e-683c-471b-bf31-da24dec9bb51", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003057Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dkbx", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:10 GMT", + "Date" : "Wed, 04 May 2022 00:30:57 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "90ms", - "MS-CV" : "7QTlnf01mk+K337oD6Hn4w.0", - "X-Azure-Ref" : "0mz45YQAAAADrm5ug/7rTRaIVsUvyNawqV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-323e-6efa-234822000061\"}}", - "x-ms-client-request-id" : "6792896e-2813-4192-aa88-7a7cd557754b", + "X-Processing-Time" : "86ms", + "MS-CV" : "EY5I9sdx3kODVGMuyXKbdw.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-e940-655d-573a0d002463\"}}", + "x-ms-client-request-id" : "5c3dda0e-683c-471b-bf31-da24dec9bb51", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,74 +29,78 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "88800c0c-7825-42f0-8b0d-65bffa344714", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "2a9dccac-3b42-4b19-b28c-9473bb2d7803", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003055Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008dcv", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:10 GMT", + "Date" : "Wed, 04 May 2022 00:30:55 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "88ms", - "MS-CV" : "mOYLyXK+3EWvKy57M9yKXg.0", - "X-Azure-Ref" : "0mz45YQAAAACeczxWFnrnQJjR6p/5wieGV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-32f0-fcd8-a53a0d0000e9\"}}", - "x-ms-client-request-id" : "88800c0c-7825-42f0-8b0d-65bffa344714", + "X-Processing-Time" : "90ms", + "MS-CV" : "2HsxQtn7V02LBbWmULM0HQ.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-ead2-eef0-8b3a0d0022d6\"}}", + "x-ms-client-request-id" : "2a9dccac-3b42-4b19-b28c-9473bb2d7803", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-323e-6efa-234822000061/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-e940-655d-573a0d002463/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "b5515a76-bed6-4dc7-8ed3-6a3d94be8e65", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "c626d0a3-80cd-4176-9375-9beab6cb39ec", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003058Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dkgy", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:52:10 GMT", + "Date" : "Wed, 04 May 2022 00:30:58 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "159ms", - "MS-CV" : "sZC3gxR5r0iVFxfNniCWmw.0", - "X-Azure-Ref" : "0mz45YQAAAABCNyMeu5sEQ725PVWeeaSuV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:52:11.6653454+00:00\"}", - "x-ms-client-request-id" : "b5515a76-bed6-4dc7-8ed3-6a3d94be8e65", + "X-Processing-Time" : "155ms", + "MS-CV" : "Tr+/S/tlOk+7Breg8AP7kQ.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:31:06.0935291+00:00\"}", + "x-ms-client-request-id" : "c626d0a3-80cd-4176-9375-9beab6cb39ec", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "092ac9ee-5caa-4082-9ef9-d515b7d4c07c", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "f08cc224-0430-4e48-a342-d343b3c63b43", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003056Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008dn4", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:11 GMT", + "Date" : "Wed, 04 May 2022 00:30:57 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "352ms", - "MS-CV" : "3q66g0Lp2keZKxWAwM+wVg.0", - "X-Azure-Ref" : "0mz45YQAAAAD+GlRZQihLR49h9FgCJ4PXV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:S_5ok6dnfowIDhjgqbG0hMQIri6lXy3kmkNfLtNu7jo1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:52:11Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-323e-6efa-234822000061\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-323e-6efa-234822000061\"}}}}", + "X-Processing-Time" : "517ms", + "MS-CV" : "gveb/aIosE6K+i5dz/GXYw.0", + "Body" : "{\"chatThread\":{\"id\":\"19:zjOVrZu3yxPm5r1fgNl75efLzYLlnbfAUz_HqWjz9wk1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:31:06Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-e940-655d-573a0d002463\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-e940-655d-573a0d002463\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AS_5ok6dnfowIDhjgqbG0hMQIri6lXy3kmkNfLtNu7jo1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AzjOVrZu3yxPm5r1fgNl75efLzYLlnbfAUz_HqWjz9wk1@thread.v2" }, "Exception" : null } ], diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotAddParticipantsWithNullOptions[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotAddParticipantsWithNullOptions[1].json index d7ecef9ecf04b..2bf57606fba41 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotAddParticipantsWithNullOptions[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotAddParticipantsWithNullOptions[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "9a5468b9-c787-435a-ba0c-587266d8d239", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "67ac25fd-2f00-4978-af54-f33f3b682af6", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003136Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dsgt", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:28 GMT", + "Date" : "Wed, 04 May 2022 00:31:37 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "91ms", - "MS-CV" : "u8CuLBENPUe/rhCeWMnrbA.0", - "X-Azure-Ref" : "0rT45YQAAAADdFxTefPo/Q7HZ/W1gQqhkV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-7850-6efa-234822000072\"}}", - "x-ms-client-request-id" : "9a5468b9-c787-435a-ba0c-587266d8d239", + "X-Processing-Time" : "89ms", + "MS-CV" : "1GIEHdjv40yEO2fWK9Z5Kw.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-8391-fa5d-573a0d00296b\"}}", + "x-ms-client-request-id" : "67ac25fd-2f00-4978-af54-f33f3b682af6", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,74 +29,78 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "62a8c067-7808-4f7c-a924-1731fe96797d", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "d0c769c8-1f1b-4743-9c53-3ece8669f38e", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003135Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008nn8", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:28 GMT", + "Date" : "Wed, 04 May 2022 00:31:35 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "72ms", - "MS-CV" : "OuwEDiyzq0qMN1srRyqGOA.0", - "X-Azure-Ref" : "0rT45YQAAAAD/acRmQThmSpqzUHKFZt6IV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-78f7-5dbd-9f3a0d0000cf\"}}", - "x-ms-client-request-id" : "62a8c067-7808-4f7c-a924-1731fe96797d", + "X-Processing-Time" : "94ms", + "MS-CV" : "MqWM/Q+DrEWGLVWv6VIDLw.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-851c-655d-573a0d002474\"}}", + "x-ms-client-request-id" : "d0c769c8-1f1b-4743-9c53-3ece8669f38e", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-7850-6efa-234822000072/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-8391-fa5d-573a0d00296b/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "94a618be-cb74-444e-84e9-5f1c345ef68e", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "c69f024d-6045-4441-bb4b-d560a55c0959", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003137Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dsnq", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:52:28 GMT", + "Date" : "Wed, 04 May 2022 00:31:38 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "166ms", - "MS-CV" : "iwCckJOpHkukyMdF6FkC3A.0", - "X-Azure-Ref" : "0rT45YQAAAAA5AFh8I9rxTqXCs2ILiRceV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:52:29.5937503+00:00\"}", - "x-ms-client-request-id" : "94a618be-cb74-444e-84e9-5f1c345ef68e", + "X-Processing-Time" : "161ms", + "MS-CV" : "ET4INXFfc0OFEPOYdWs6aw.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:31:45.4618041+00:00\"}", + "x-ms-client-request-id" : "c69f024d-6045-4441-bb4b-d560a55c0959", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "8b7f6612-aea4-4c78-a1ef-a746677741cc", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "c2b00a07-cae6-4a3f-b5cb-d5116e8a979d", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003135Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008ntc", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:29 GMT", + "Date" : "Wed, 04 May 2022 00:31:36 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "679ms", - "MS-CV" : "12xqH/KE7kWof8WQGdgzGg.0", - "X-Azure-Ref" : "0rT45YQAAAADTnUZi01zjRZeji9Fu7yk2V1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:KnLkJI4c7arYQBaEWyrbwaBUAJrJRrrc7FFhBSFR2D81@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:52:29Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-7850-6efa-234822000072\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-7850-6efa-234822000072\"}}}}", + "X-Processing-Time" : "635ms", + "MS-CV" : "VCXD+nf5X0OV8/niPvePcA.0", + "Body" : "{\"chatThread\":{\"id\":\"19:9ZbU1xRuzlrDPhzdvAyMjp1kn5a54cSi22acct_Xvbk1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:31:45Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-8391-fa5d-573a0d00296b\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-8391-fa5d-573a0d00296b\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AKnLkJI4c7arYQBaEWyrbwaBUAJrJRrrc7FFhBSFR2D81@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3A9ZbU1xRuzlrDPhzdvAyMjp1kn5a54cSi22acct_Xvbk1@thread.v2" }, "Exception" : null } ], diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotAddParticipantsWithResponseWithNullOptions[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotAddParticipantsWithResponseWithNullOptions[1].json index 1196fe8ecf80c..844ab63d15c74 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotAddParticipantsWithResponseWithNullOptions[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotAddParticipantsWithResponseWithNullOptions[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "8580aa0a-c2d0-4f80-90f3-1f86c4b8e2cf", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "b77c9ecf-1935-4a2f-81d5-0b58363d68f5", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003045Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dgec", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:05 GMT", + "Date" : "Wed, 04 May 2022 00:30:45 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "89ms", - "MS-CV" : "HepAqpVNmkO4rVXh6Iaf7g.0", - "X-Azure-Ref" : "0lj45YQAAAAAZ3pElw1o0TK1FQabAKiUzV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-1ea3-6efa-23482200005c\"}}", - "x-ms-client-request-id" : "8580aa0a-c2d0-4f80-90f3-1f86c4b8e2cf", + "X-Processing-Time" : "86ms", + "MS-CV" : "RojMoPpTLku5jqTHM0jjQg.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-bb07-7bfa-553a0d0022a7\"}}", + "x-ms-client-request-id" : "b77c9ecf-1935-4a2f-81d5-0b58363d68f5", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,74 +29,78 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "8b9f37e1-2385-454d-abb1-33dda3ebbf25", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "04a0742d-c694-449a-b4b6-ecaaa5b1728a", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003043Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008b4h", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:05 GMT", + "Date" : "Wed, 04 May 2022 00:30:44 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "74ms", - "MS-CV" : "CZ1w6T/RqEepyMp9EUZXOQ.0", - "X-Azure-Ref" : "0lj45YQAAAACgAS6rPTxkTbQRiDL8ciBEV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-1f41-5dbd-9f3a0d0000c2\"}}", - "x-ms-client-request-id" : "8b9f37e1-2385-454d-abb1-33dda3ebbf25", + "X-Processing-Time" : "92ms", + "MS-CV" : "bTzBD8FqFkCmY8ZNkrpm9g.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-bc88-92fd-8b3a0d00290d\"}}", + "x-ms-client-request-id" : "04a0742d-c694-449a-b4b6-ecaaa5b1728a", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-1ea3-6efa-23482200005c/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-bb07-7bfa-553a0d0022a7/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "350f31ac-4764-46a7-bb86-df7751f6a761", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "61a335c7-d489-4eee-828f-08e0ac36dfd0", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003046Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dgmx", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:52:05 GMT", + "Date" : "Wed, 04 May 2022 00:30:47 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "156ms", - "MS-CV" : "2xq6edkUTUKaajCc0RN8Dw.0", - "X-Azure-Ref" : "0lj45YQAAAAC5Po8QaI5eR74I5PbcGZOYV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:52:06.6130994+00:00\"}", - "x-ms-client-request-id" : "350f31ac-4764-46a7-bb86-df7751f6a761", + "X-Processing-Time" : "155ms", + "MS-CV" : "D7M8bm/zkk+lWHJ6SKMv5g.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:30:54.4359568+00:00\"}", + "x-ms-client-request-id" : "61a335c7-d489-4eee-828f-08e0ac36dfd0", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "be0cd50c-e8ce-4102-b45f-874d79fdc26d", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "d238cf06-4de5-4cee-85cd-529140e5e90a", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003044Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008bb4", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:06 GMT", + "Date" : "Wed, 04 May 2022 00:30:45 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "355ms", - "MS-CV" : "MW7rfCinzkSw9TA6+Un8kg.0", - "X-Azure-Ref" : "0lj45YQAAAADys31PAfczQYZdeXSCdaiVV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:QTBYfFE_L2gj26JdJUovcZtRQ24Hr2wP0XRTySriC0Q1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:52:06Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-1ea3-6efa-23482200005c\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-1ea3-6efa-23482200005c\"}}}}", + "X-Processing-Time" : "584ms", + "MS-CV" : "+7kUO3IEWkylXpdn5uvnWQ.0", + "Body" : "{\"chatThread\":{\"id\":\"19:Ffq88klw0gphOVZMZKk3p6XNPimkwCHmFVNlBt_CZHU1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:30:54Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-bb07-7bfa-553a0d0022a7\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-bb07-7bfa-553a0d0022a7\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AQTBYfFE_L2gj26JdJUovcZtRQ24Hr2wP0XRTySriC0Q1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AFfq88klw0gphOVZMZKk3p6XNPimkwCHmFVNlBt_CZHU1@thread.v2" }, "Exception" : null } ], diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotDeleteMessageNullId[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotDeleteMessageNullId[1].json index 514b5ee2d915d..ea51640f8e60a 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotDeleteMessageNullId[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotDeleteMessageNullId[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "d4fdd51b-c821-4861-9f0a-d841f02c7cf9", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "a6a057d6-5a64-4419-b9a1-22fa594cc9eb", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003040Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dfk2", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:03 GMT", + "Date" : "Wed, 04 May 2022 00:30:40 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "87ms", - "MS-CV" : "W3c4PeSI5EyobCD1lY8RVA.0", - "X-Azure-Ref" : "0kz45YQAAAADim3b4XT8oSr6BdTt6EXgoV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-1564-6efa-23482200005a\"}}", - "x-ms-client-request-id" : "d4fdd51b-c821-4861-9f0a-d841f02c7cf9", + "X-Processing-Time" : "89ms", + "MS-CV" : "seAC8nLqAkykTqwFNFiGKg.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-a5ab-fa5d-573a0d00294c\"}}", + "x-ms-client-request-id" : "a6a057d6-5a64-4419-b9a1-22fa594cc9eb", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,74 +29,78 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "6cc19f57-4fd0-4c59-b5a8-fa36a36d2e66", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "907cda7e-1427-4149-8e45-7c31d28703b8", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003038Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008a82", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:03 GMT", + "Date" : "Wed, 04 May 2022 00:30:38 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "63ms", - "MS-CV" : "SvZ3c20YAkKdGgQG2BLqhw.0", - "X-Azure-Ref" : "0kz45YQAAAADNLewMkTzbTYa6XasP5SkfV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-1600-5dbd-9f3a0d0000c1\"}}", - "x-ms-client-request-id" : "6cc19f57-4fd0-4c59-b5a8-fa36a36d2e66", + "X-Processing-Time" : "88ms", + "MS-CV" : "MYeVl/Xa/UWFMHTKQeg+FA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-a7c6-fa5d-573a0d00294d\"}}", + "x-ms-client-request-id" : "907cda7e-1427-4149-8e45-7c31d28703b8", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-1564-6efa-23482200005a/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-a5ab-fa5d-573a0d00294c/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "aa028ce6-58a4-4572-9dfb-5d321210de29", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "37d04479-b5c5-43db-8c93-96b5c59416e1", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003041Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dfv0", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:52:03 GMT", + "Date" : "Wed, 04 May 2022 00:30:41 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "155ms", - "MS-CV" : "N/A7dfIbGE6K4A/hAMTpqQ.0", - "X-Azure-Ref" : "0lD45YQAAAACR8CnhJWlYQ7O5zKaX5S6+V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:52:04.2330969+00:00\"}", - "x-ms-client-request-id" : "aa028ce6-58a4-4572-9dfb-5d321210de29", + "X-Processing-Time" : "160ms", + "MS-CV" : "gauw3ke6zUCWFGrHC6+52Q.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:30:49.1324348+00:00\"}", + "x-ms-client-request-id" : "37d04479-b5c5-43db-8c93-96b5c59416e1", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "f85c7b8e-9455-4ee7-9fe1-936f494fb27c", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "db6b4823-c0ce-4868-92e5-d4d50e381cd8", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003039Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008adg", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:04 GMT", + "Date" : "Wed, 04 May 2022 00:30:40 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "346ms", - "MS-CV" : "Tw1AmhLm10axtuRhtTihQQ.0", - "X-Azure-Ref" : "0lD45YQAAAAAEHV6TtHR1TqPLQ7kQMpRVV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:FXgDfEHvKfkjMzihya56kHTbZupZFTh3GdNytwrO-zU1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:52:04Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-1564-6efa-23482200005a\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-1564-6efa-23482200005a\"}}}}", + "X-Processing-Time" : "524ms", + "MS-CV" : "1mPPSlvxNEWPkUuLlwiy3w.0", + "Body" : "{\"chatThread\":{\"id\":\"19:OSprt6bf6K21vFqwHjTjzJWU9RyTo2UcT9JTM5wvTJQ1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:30:49Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-a5ab-fa5d-573a0d00294c\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-a5ab-fa5d-573a0d00294c\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AFXgDfEHvKfkjMzihya56kHTbZupZFTh3GdNytwrO-zU1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AOSprt6bf6K21vFqwHjTjzJWU9RyTo2UcT9JTM5wvTJQ1@thread.v2" }, "Exception" : null } ], diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotDeleteMessageWithRepsonseNullId[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotDeleteMessageWithRepsonseNullId[1].json index 0042f3daf47df..85edd193478e3 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotDeleteMessageWithRepsonseNullId[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotDeleteMessageWithRepsonseNullId[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "70d4813f-f41d-4182-903b-56edc9827f34", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "eced9bb4-5bf9-4ce0-a940-ba306a2b31db", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003221Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008xad", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:51 GMT", + "Date" : "Wed, 04 May 2022 00:32:22 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "62ms", - "MS-CV" : "AKAf4sJEWU6elNBNtZ2cyQ.0", - "X-Azure-Ref" : "0wz45YQAAAAAL3lCrZIwiQYCZMB79K5WMV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-d125-5dbd-9f3a0d0000e2\"}}", - "x-ms-client-request-id" : "70d4813f-f41d-4182-903b-56edc9827f34", + "X-Processing-Time" : "88ms", + "MS-CV" : "24ykbrcEEUObitirBnvZCw.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-3c40-655d-573a0d002488\"}}", + "x-ms-client-request-id" : "eced9bb4-5bf9-4ce0-a940-ba306a2b31db", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,74 +29,78 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "c3018b8e-230f-4135-887b-883e95523b02", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "b42e0e37-7123-462a-95b1-774eea6afd70", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003224Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dzyy", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:51 GMT", + "Date" : "Wed, 04 May 2022 00:32:24 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "91ms", - "MS-CV" : "aLGh0wCkzUOGGJ6QfjJ23A.0", - "X-Azure-Ref" : "0wz45YQAAAADNnwfc4h4hTYbwuKowcE7mV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-d1a8-6479-224822000148\"}}", - "x-ms-client-request-id" : "c3018b8e-230f-4135-887b-883e95523b02", + "X-Processing-Time" : "84ms", + "MS-CV" : "RbIKvrNP1Eq9Tjo6HwsWdQ.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-3d81-defd-8b3a0d0028c8\"}}", + "x-ms-client-request-id" : "b42e0e37-7123-462a-95b1-774eea6afd70", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-d125-5dbd-9f3a0d0000e2/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-3c40-655d-573a0d002488/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "eff912de-18d6-4e32-b5a1-80f286f59149", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "66054b49-5a44-4114-9563-845037491adc", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003222Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008xfp", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:52:51 GMT", + "Date" : "Wed, 04 May 2022 00:32:23 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "131ms", - "MS-CV" : "LMFv25OelUa3nEMkWAtfzg.0", - "X-Azure-Ref" : "0xD45YQAAAADCqQSc84ImTY3MojyB65RiV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:52:52.2827052+00:00\"}", - "x-ms-client-request-id" : "eff912de-18d6-4e32-b5a1-80f286f59149", + "X-Processing-Time" : "162ms", + "MS-CV" : "Q1yJoAH48kq8YX4eVpdG1w.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:32:32.8543973+00:00\"}", + "x-ms-client-request-id" : "66054b49-5a44-4114-9563-845037491adc", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "1cceb60b-63c6-41c2-a19b-00f52984151f", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "80282d95-d80f-442f-b7d8-98104a2b3b07", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003225Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e04q", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:51 GMT", + "Date" : "Wed, 04 May 2022 00:32:26 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "485ms", - "MS-CV" : "dlnZivy760Keb94HstMHeQ.0", - "X-Azure-Ref" : "0xD45YQAAAADIPcUrT8hSQr7Jyz61sJhoV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:drDOGddyPsO9860RRZ30gS0ib0WFA6lfgoCRKuPpiiw1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:52:52Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-d125-5dbd-9f3a0d0000e2\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-d125-5dbd-9f3a0d0000e2\"}}}}", + "X-Processing-Time" : "466ms", + "MS-CV" : "pSDm6FN590KRUj8dQaZQPw.0", + "Body" : "{\"chatThread\":{\"id\":\"19:HZfM8k95kwjq-a1LEnRyQgJO5vKd3Xz2YDaVa1ZPkx01@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:32:33Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-3c40-655d-573a0d002488\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-3c40-655d-573a0d002488\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AdrDOGddyPsO9860RRZ30gS0ib0WFA6lfgoCRKuPpiiw1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AHZfM8k95kwjq-a1LEnRyQgJO5vKd3Xz2YDaVa1ZPkx01@thread.v2" }, "Exception" : null } ], diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotGetMessageNullId[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotGetMessageNullId[1].json index efadcd636b400..0eec6d5e12d67 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotGetMessageNullId[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotGetMessageNullId[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "fe91cc65-e9cb-430d-8de9-3c0ae2edba0c", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "14b15b7d-b511-4e38-bc37-374bb1fc42b2", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003055Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dk10", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:09 GMT", + "Date" : "Wed, 04 May 2022 00:30:55 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "88ms", - "MS-CV" : "DwlMTP50f0a1pCwc735tGA.0", - "X-Azure-Ref" : "0mj45YQAAAADXT4HMJ2pDToCo5uRB7H13V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-2e6e-6efa-234822000060\"}}", - "x-ms-client-request-id" : "fe91cc65-e9cb-430d-8de9-3c0ae2edba0c", + "X-Processing-Time" : "96ms", + "MS-CV" : "KHzyP6ZZEE2Q7PzoOAH5dg.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-e032-655d-573a0d002460\"}}", + "x-ms-client-request-id" : "14b15b7d-b511-4e38-bc37-374bb1fc42b2", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,74 +29,78 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "b3695989-70c6-4665-9371-be575d321d75", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "f44ac824-4188-4352-a0f8-4ad092bfc0d7", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003053Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008cyz", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:09 GMT", + "Date" : "Wed, 04 May 2022 00:30:53 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "77ms", - "MS-CV" : "58YKDJb3n0+aiZ7mYNn9Pg.0", - "X-Azure-Ref" : "0mj45YQAAAAAzeJRp5hbISaRD4uzN+tWfV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-2f1c-5dbd-9f3a0d0000c4\"}}", - "x-ms-client-request-id" : "b3695989-70c6-4665-9371-be575d321d75", + "X-Processing-Time" : "87ms", + "MS-CV" : "rciw4MXnQEeyW9hJj81yQQ.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-e1b9-7bfa-553a0d0022ac\"}}", + "x-ms-client-request-id" : "f44ac824-4188-4352-a0f8-4ad092bfc0d7", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-2e6e-6efa-234822000060/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-e032-655d-573a0d002460/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "fe3f865b-23a0-4f7b-94bc-09e0189d4dc5", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "d488cb2a-b384-4d0e-a263-6b42eb35a83b", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003056Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dk64", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:52:09 GMT", + "Date" : "Wed, 04 May 2022 00:30:56 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "158ms", - "MS-CV" : "ZyC5F4FT/kOkG0W6CBX0vg.0", - "X-Azure-Ref" : "0mj45YQAAAAB/h1UTlXacSJ+oVZZhfisnV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:52:10.6855116+00:00\"}", - "x-ms-client-request-id" : "fe3f865b-23a0-4f7b-94bc-09e0189d4dc5", + "X-Processing-Time" : "159ms", + "MS-CV" : "U6sq7uI3VECyXhCaHKfY6g.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:31:03.8413383+00:00\"}", + "x-ms-client-request-id" : "d488cb2a-b384-4d0e-a263-6b42eb35a83b", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "0d5ec229-58cf-4370-a3ea-93e4a910ea1e", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "d7cb7d3d-bf26-4c50-92ae-8213218929bc", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003054Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008d6q", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:10 GMT", + "Date" : "Wed, 04 May 2022 00:30:54 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "352ms", - "MS-CV" : "mDjPybgsQkycGrXWOw2baA.0", - "X-Azure-Ref" : "0mj45YQAAAABEslwpr925TLeDKKCTBsOHV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:BhYKgX9y6zJyu60iqDdJyoDvTBoZdLEvOVJaOUYnvss1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:52:10Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-2e6e-6efa-234822000060\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-2e6e-6efa-234822000060\"}}}}", + "X-Processing-Time" : "392ms", + "MS-CV" : "ycutlcTmCkuMO0lcVCoiNg.0", + "Body" : "{\"chatThread\":{\"id\":\"19:8QDc-4u0aKB7DGi0eyL7IeoFg3RW4USkdaM79dwQtKM1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:31:04Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-e032-655d-573a0d002460\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-e032-655d-573a0d002460\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3ABhYKgX9y6zJyu60iqDdJyoDvTBoZdLEvOVJaOUYnvss1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3A8QDc-4u0aKB7DGi0eyL7IeoFg3RW4USkdaM79dwQtKM1@thread.v2" }, "Exception" : null } ], diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotGetMessageWithReponseNullId[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotGetMessageWithReponseNullId[1].json index 4388901ada183..bf466bfce4bd1 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotGetMessageWithReponseNullId[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotGetMessageWithReponseNullId[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "b5873741-0ff9-4c5e-acd3-308391445825", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "0fb7faee-dd64-406c-a2e9-f7afd631a56f", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003148Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dubu", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:33 GMT", + "Date" : "Wed, 04 May 2022 00:31:48 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "93ms", - "MS-CV" : "vLC7C5LagEOvnsfuvt9Cyw.0", - "X-Azure-Ref" : "0sj45YQAAAACF1NYwq+xHR5rqG8ryEZOUV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-8da7-6efa-234822000077\"}}", - "x-ms-client-request-id" : "b5873741-0ff9-4c5e-acd3-308391445825", + "X-Processing-Time" : "86ms", + "MS-CV" : "Su4z1WeS90CBaVJIVqFeRA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-b0ad-92fd-8b3a0d00292b\"}}", + "x-ms-client-request-id" : "0fb7faee-dd64-406c-a2e9-f7afd631a56f", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,74 +29,78 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "83337da8-58cc-4301-be51-9a321c579239", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "0119d9ed-8869-4145-b1ca-23fabbb511d9", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003146Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008qrt", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:34 GMT", + "Date" : "Wed, 04 May 2022 00:31:46 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "62ms", - "MS-CV" : "LgUMnUTvr0a+wXrEDubc/A.0", - "X-Azure-Ref" : "0sj45YQAAAAD3ALRzC+mqQrnp7RCL+ucTV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-8e46-5dbd-9f3a0d0000d4\"}}", - "x-ms-client-request-id" : "83337da8-58cc-4301-be51-9a321c579239", + "X-Processing-Time" : "87ms", + "MS-CV" : "EfhxO+FDNEqX2erWhNr4lA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-b221-defd-8b3a0d0028b9\"}}", + "x-ms-client-request-id" : "0119d9ed-8869-4145-b1ca-23fabbb511d9", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-8da7-6efa-234822000077/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-b0ad-92fd-8b3a0d00292b/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "f0b288f0-5533-469a-ab98-041ea536583b", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "d3f83da8-b525-42a0-960c-91e4cbef2649", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003149Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dufq", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:52:34 GMT", + "Date" : "Wed, 04 May 2022 00:31:49 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "161ms", - "MS-CV" : "PTbaG+0wwESXXuwnmVOWiA.0", - "X-Azure-Ref" : "0sj45YQAAAACYFx6TWBjfTpMIMzBwyeqpV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:52:35.034566+00:00\"}", - "x-ms-client-request-id" : "f0b288f0-5533-469a-ab98-041ea536583b", + "X-Processing-Time" : "155ms", + "MS-CV" : "W5PTd1P4ZkuF40ZT83jLmg.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:31:57.0143017+00:00\"}", + "x-ms-client-request-id" : "d3f83da8-b525-42a0-960c-91e4cbef2649", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "23ddab57-cce5-48cd-bf13-6413200deca7", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "e9ed8e2d-a3e1-4430-b493-9bba690606b8", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003147Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008qx0", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:35 GMT", + "Date" : "Wed, 04 May 2022 00:31:47 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "556ms", - "MS-CV" : "CSL6tT2aVUqlZYcharr0CA.0", - "X-Azure-Ref" : "0sz45YQAAAABLLg2aNbxITpV3j1vn+zXQV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:6Ss2CCQVB8YDugBOjcBb54TpiWV1F2eXkHuzM8qGlsg1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:52:35Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-8da7-6efa-234822000077\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-8da7-6efa-234822000077\"}}}}", + "X-Processing-Time" : "337ms", + "MS-CV" : "4j5EeXIxJk6Mcv8K6S9yuQ.0", + "Body" : "{\"chatThread\":{\"id\":\"19:2-IVCdB-xz1FfOGx4tGk6wZTjNTavOL9BjFK2nnG2rI1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:31:57Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-b0ad-92fd-8b3a0d00292b\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-b0ad-92fd-8b3a0d00292b\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A6Ss2CCQVB8YDugBOjcBb54TpiWV1F2eXkHuzM8qGlsg1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3A2-IVCdB-xz1FfOGx4tGk6wZTjNTavOL9BjFK2nnG2rI1@thread.v2" }, "Exception" : null } ], diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotRemoveParticipantWithNullUserWithResponse[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotRemoveParticipantWithNullUserWithResponse[1].json index 4f67eb9a25cd4..bf695ed7f40f4 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotRemoveParticipantWithNullUserWithResponse[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotRemoveParticipantWithNullUserWithResponse[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "c81c9fed-662f-4214-a156-83817f818be2", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "a40fe941-a264-46cd-b38d-0abf7db79023", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003201Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dw9g", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:40 GMT", + "Date" : "Wed, 04 May 2022 00:32:01 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "90ms", - "MS-CV" : "XsLr6OzcPEiGXuJcacgZlQ.0", - "X-Azure-Ref" : "0uD45YQAAAAD9lluQTZ42RbgzJo8wSDBCV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-a6c6-6efa-23482200007c\"}}", - "x-ms-client-request-id" : "c81c9fed-662f-4214-a156-83817f818be2", + "X-Processing-Time" : "96ms", + "MS-CV" : "NQsSh/IcU0+gwHclDtXO+w.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-e2ee-defd-8b3a0d0028bf\"}}", + "x-ms-client-request-id" : "a40fe941-a264-46cd-b38d-0abf7db79023", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,74 +29,78 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "62e03629-0325-46a2-9068-622e71417f20", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "cf07f5e6-d2b7-43df-91b4-5aa65f41c690", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003159Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008t6y", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:40 GMT", + "Date" : "Wed, 04 May 2022 00:31:59 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "72ms", - "MS-CV" : "xBX4FdxzvkG1mr6NgiAiKg.0", - "X-Azure-Ref" : "0uT45YQAAAABzyTLVdvvDTavB4JEBTi+LV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-a75f-5dbd-9f3a0d0000d9\"}}", - "x-ms-client-request-id" : "62e03629-0325-46a2-9068-622e71417f20", + "X-Processing-Time" : "96ms", + "MS-CV" : "nShC4Cwem0eaQyVDhh9lng.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-e4ad-655d-573a0d00247e\"}}", + "x-ms-client-request-id" : "cf07f5e6-d2b7-43df-91b4-5aa65f41c690", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-a6c6-6efa-23482200007c/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-e2ee-defd-8b3a0d0028bf/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "d4fa88a3-8a20-484f-9de8-8beb23f37623", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "cc731041-f524-4e98-b5c4-0e9ec38fe2cd", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003202Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dwdx", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:52:40 GMT", + "Date" : "Wed, 04 May 2022 00:32:02 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "157ms", - "MS-CV" : "hTMQe+6NwEirxr7ssfpYOQ.0", - "X-Azure-Ref" : "0uT45YQAAAABX1uLAiOzqQ7X2cn5+lGDEV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:52:41.4597826+00:00\"}", - "x-ms-client-request-id" : "d4fa88a3-8a20-484f-9de8-8beb23f37623", + "X-Processing-Time" : "156ms", + "MS-CV" : "sHx0ikuRP0apTHqTBq2f8Q.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:32:10.1162319+00:00\"}", + "x-ms-client-request-id" : "cc731041-f524-4e98-b5c4-0e9ec38fe2cd", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "db49f96d-4720-459a-b569-3cc5aa1c078b", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "106c399e-32a0-4fb3-a57d-46d9b4f4e1f0", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003200Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008tdg", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:41 GMT", + "Date" : "Wed, 04 May 2022 00:32:01 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "730ms", - "MS-CV" : "7t7BXb/cZE+jLadn+0qHww.0", - "X-Azure-Ref" : "0uT45YQAAAAB23YPq7bQ1QqbDmZD0bUgzV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:z9Zq2ELRmShq9J2R27MnYNxl6OppqbNqRDbXvNWx4241@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:52:41Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-a6c6-6efa-23482200007c\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-a6c6-6efa-23482200007c\"}}}}", + "X-Processing-Time" : "545ms", + "MS-CV" : "M540/w4QrEyTq4T0tiasrA.0", + "Body" : "{\"chatThread\":{\"id\":\"19:5tykQgfqSoXR2_jn9wONzDpQQFMtuaZHVmCqegai_5Y1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:32:10Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-e2ee-defd-8b3a0d0028bf\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-e2ee-defd-8b3a0d0028bf\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Az9Zq2ELRmShq9J2R27MnYNxl6OppqbNqRDbXvNWx4241@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3A5tykQgfqSoXR2_jn9wONzDpQQFMtuaZHVmCqegai_5Y1@thread.v2" }, "Exception" : null } ], diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotRemoveParticipantWithNullUser[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotRemoveParticipantWithNullUser[1].json index ceb7145426258..6b7ac0ddd1b02 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotRemoveParticipantWithNullUser[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotRemoveParticipantWithNullUser[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "c5afb114-0e59-40b0-a191-b720cfa96cd6", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "bf745452-2aa0-42fb-bcc8-27528f01c098", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003135Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000ds72", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:27 GMT", + "Date" : "Wed, 04 May 2022 00:31:35 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "95ms", - "MS-CV" : "toxG8L6Q80KsuG/Mv2O11Q.0", - "X-Azure-Ref" : "0rD45YQAAAADu5bflT3j+RJ5qbeEnvij0V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-7482-6efa-234822000071\"}}", - "x-ms-client-request-id" : "c5afb114-0e59-40b0-a191-b720cfa96cd6", + "X-Processing-Time" : "88ms", + "MS-CV" : "LCSS0AD9jEq8SsiglumulA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-7c7e-80f5-8b3a0d0025cd\"}}", + "x-ms-client-request-id" : "bf745452-2aa0-42fb-bcc8-27528f01c098", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,74 +29,78 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "e4b78ae2-81d8-4df1-b532-33446fac35ca", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "f82248a0-0441-47b2-ac2f-87b850e6cb73", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003133Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008n9z", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:27 GMT", + "Date" : "Wed, 04 May 2022 00:31:33 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "63ms", - "MS-CV" : "OrKNtH0n5UGQtNTwDq532g.0", - "X-Azure-Ref" : "0rD45YQAAAACa8qzQMvOBSI+LIbY3/kC1V1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-7520-5dbd-9f3a0d0000ce\"}}", - "x-ms-client-request-id" : "e4b78ae2-81d8-4df1-b532-33446fac35ca", + "X-Processing-Time" : "92ms", + "MS-CV" : "7IBUyQ+SaU+92S5y8DtVoQ.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-7dbe-defd-8b3a0d0028b2\"}}", + "x-ms-client-request-id" : "f82248a0-0441-47b2-ac2f-87b850e6cb73", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-7482-6efa-234822000071/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-7c7e-80f5-8b3a0d0025cd/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "d6ff2129-5613-4cf0-89c1-b28fa7abca25", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "67b4e87d-5778-41eb-8373-e51663fd3f1b", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003135Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dsar", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:52:27 GMT", + "Date" : "Wed, 04 May 2022 00:31:36 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "177ms", - "MS-CV" : "MskZQAyOlU6eI5NjYK6eyA.0", - "X-Azure-Ref" : "0rD45YQAAAABShbeJTGrHR54OZ//9q29gV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:52:28.608532+00:00\"}", - "x-ms-client-request-id" : "d6ff2129-5613-4cf0-89c1-b28fa7abca25", + "X-Processing-Time" : "154ms", + "MS-CV" : "4GG+4XA6fU2wwZKqtdUnfA.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:31:43.5653171+00:00\"}", + "x-ms-client-request-id" : "67b4e87d-5778-41eb-8373-e51663fd3f1b", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "65899725-c7e9-4b06-9414-20d3635ac084", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "fc242161-df7f-4dc8-9f6d-46d10549bbc5", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003134Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008nep", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:28 GMT", + "Date" : "Wed, 04 May 2022 00:31:34 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "365ms", - "MS-CV" : "bwQjpfjqOkCgIte5+2kBhQ.0", - "X-Azure-Ref" : "0rD45YQAAAADssJ0+MpGlSpMi43qS3ruYV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:azPDxfCljh_XUrJPomYOpFOzae_ZlWoNoRp-c4lWsd81@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:52:28Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-7482-6efa-234822000071\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-7482-6efa-234822000071\"}}}}", + "X-Processing-Time" : "371ms", + "MS-CV" : "0KEgelmCIEyvR4o1Dp4ieA.0", + "Body" : "{\"chatThread\":{\"id\":\"19:wAY3iu0bVSqIrCsws65C8ecLh0J7hQXnrsR32eTgVGo1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:31:43Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-7c7e-80f5-8b3a0d0025cd\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-7c7e-80f5-8b3a0d0025cd\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AazPDxfCljh_XUrJPomYOpFOzae_ZlWoNoRp-c4lWsd81@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AwAY3iu0bVSqIrCsws65C8ecLh0J7hQXnrsR32eTgVGo1@thread.v2" }, "Exception" : null } ], diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotSendMessageWithNullOptions[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotSendMessageWithNullOptions[1].json index cb820d3de458d..f6c542a96bb88 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotSendMessageWithNullOptions[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotSendMessageWithNullOptions[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "9c233b64-486e-4513-9c63-b42774edc643", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "a09e1bec-80ba-4ef5-93ba-2f34d6625c0d", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003109Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dn96", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:15 GMT", + "Date" : "Wed, 04 May 2022 00:31:09 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "106ms", - "MS-CV" : "kR+eo5fF10ym02dEoE8GnA.0", - "X-Azure-Ref" : "0oD45YQAAAABM/aEGa/mbSY9/AhxeLdJpV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-45c1-6efa-234822000066\"}}", - "x-ms-client-request-id" : "9c233b64-486e-4513-9c63-b42774edc643", + "X-Processing-Time" : "91ms", + "MS-CV" : "jg7th+iUFkuPOuypCvbWVQ.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-181a-defd-8b3a0d0028aa\"}}", + "x-ms-client-request-id" : "a09e1bec-80ba-4ef5-93ba-2f34d6625c0d", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,74 +29,78 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "649f77b1-927d-4229-b7ed-f2faa6be47c8", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "16da9be9-5e91-4f97-88b2-877abbbf6cbe", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003107Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008fkx", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:15 GMT", + "Date" : "Wed, 04 May 2022 00:31:08 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "63ms", - "MS-CV" : "N9HkQHvE3kSAjyQ2RxWVvg.0", - "X-Azure-Ref" : "0oD45YQAAAABu3zBpFPiUQ73IlmWfKzcZV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-466f-5dbd-9f3a0d0000c7\"}}", - "x-ms-client-request-id" : "649f77b1-927d-4229-b7ed-f2faa6be47c8", + "X-Processing-Time" : "83ms", + "MS-CV" : "O+gk/qHesky7gJJMJVAtQw.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-1a2f-3ef0-8b3a0d0028f2\"}}", + "x-ms-client-request-id" : "16da9be9-5e91-4f97-88b2-877abbbf6cbe", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-45c1-6efa-234822000066/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-181a-defd-8b3a0d0028aa/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "32203286-b260-415b-a194-55a709b8e593", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "a648e694-a5d1-43aa-be03-a25ba0e31ccb", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003110Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dng8", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:52:15 GMT", + "Date" : "Wed, 04 May 2022 00:31:11 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "158ms", - "MS-CV" : "IlfId49RYkWWe0zU85sggw.0", - "X-Azure-Ref" : "0oD45YQAAAAB0Rg2eFCKpSZpr2d3hQqvMV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:52:16.6508726+00:00\"}", - "x-ms-client-request-id" : "32203286-b260-415b-a194-55a709b8e593", + "X-Processing-Time" : "156ms", + "MS-CV" : "JYWPzrUBdkafVyOVpRbSMA.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:31:18.3341553+00:00\"}", + "x-ms-client-request-id" : "a648e694-a5d1-43aa-be03-a25ba0e31ccb", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "365777bf-d435-44c6-9d46-c60157e25141", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "54c9944d-e3c1-4859-a7ba-fe962b0456ec", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003108Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008fux", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:16 GMT", + "Date" : "Wed, 04 May 2022 00:31:09 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "366ms", - "MS-CV" : "38ChZY5wKEy81w2JI5V75A.0", - "X-Azure-Ref" : "0oD45YQAAAABvUq2kgLsxS4ef38MYC8MEV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:i7Fa7wwVjK2XguUYurGJmWY2criSysYxiBDBqBZYRK01@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:52:16Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-45c1-6efa-234822000066\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-45c1-6efa-234822000066\"}}}}", + "X-Processing-Time" : "412ms", + "MS-CV" : "UqgEaiSoVUeJe2WOiHS94w.0", + "Body" : "{\"chatThread\":{\"id\":\"19:EdzQzRuo5J-IXSgk9DZG8VBWnvTTbg0KdtiNlO6YlAY1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:31:18Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-181a-defd-8b3a0d0028aa\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-181a-defd-8b3a0d0028aa\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Ai7Fa7wwVjK2XguUYurGJmWY2criSysYxiBDBqBZYRK01@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AEdzQzRuo5J-IXSgk9DZG8VBWnvTTbg0KdtiNlO6YlAY1@thread.v2" }, "Exception" : null } ], diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotSendMessageWithResponseWithNullOptions[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotSendMessageWithResponseWithNullOptions[1].json index cd8924a6f9a0b..974fc4bf479b9 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotSendMessageWithResponseWithNullOptions[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotSendMessageWithResponseWithNullOptions[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "a9c8aa15-c097-477a-8af5-2651da60d57f", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "681f24e5-c2a2-402c-a507-114376900a37", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003111Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dnq6", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:16 GMT", + "Date" : "Wed, 04 May 2022 00:31:12 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "90ms", - "MS-CV" : "Pyl0g0GbHEy6R7G86P+kSg.0", - "X-Azure-Ref" : "0oT45YQAAAABC5phhFNc8Q4nYXj6EdCdlV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-4993-6efa-234822000067\"}}", - "x-ms-client-request-id" : "a9c8aa15-c097-477a-8af5-2651da60d57f", + "X-Processing-Time" : "95ms", + "MS-CV" : "ZtpuDBdIYUq+s/ffwV8XVw.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-21fa-fa5d-573a0d00295c\"}}", + "x-ms-client-request-id" : "681f24e5-c2a2-402c-a507-114376900a37", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,74 +29,78 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "2f8b66e3-955c-49ad-9755-2b88d3d3e412", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "f83d98d5-f8f5-46c5-8036-335d303c36ae", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003110Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008g39", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:16 GMT", + "Date" : "Wed, 04 May 2022 00:31:10 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "80ms", - "MS-CV" : "Y/2FZMSn2EKFh8Z5LCg5sg.0", - "X-Azure-Ref" : "0oT45YQAAAAD2BYQJcWXGRYRuKmKRWG+3V1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-4a30-fcd8-a53a0d0000ec\"}}", - "x-ms-client-request-id" : "2f8b66e3-955c-49ad-9755-2b88d3d3e412", + "X-Processing-Time" : "89ms", + "MS-CV" : "Qv5JKr0ZLUCwathGmRSLaQ.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-2484-7bfa-553a0d0022b0\"}}", + "x-ms-client-request-id" : "f83d98d5-f8f5-46c5-8036-335d303c36ae", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-4993-6efa-234822000067/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-21fa-fa5d-573a0d00295c/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "4049b904-cc72-4bad-aa00-4d23e9e183b7", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "9f4488b4-c7de-4327-bb24-5cf8daedb468", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003113Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dnvv", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:52:16 GMT", + "Date" : "Wed, 04 May 2022 00:31:13 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "162ms", - "MS-CV" : "zAaviJ/4okS+ChnkiWhb2Q.0", - "X-Azure-Ref" : "0oT45YQAAAAB3MewfU5PqS43l/DuoFiP5V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:52:17.6186075+00:00\"}", - "x-ms-client-request-id" : "4049b904-cc72-4bad-aa00-4d23e9e183b7", + "X-Processing-Time" : "159ms", + "MS-CV" : "BDz2Jw4QZ0qIVo8H8Uxyog.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:31:20.9175347+00:00\"}", + "x-ms-client-request-id" : "9f4488b4-c7de-4327-bb24-5cf8daedb468", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "77d1871c-4fc0-4df3-92fa-001e31b7979d", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "0c92a944-c287-4dd0-9e31-79048d33dee5", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003111Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008g97", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:17 GMT", + "Date" : "Wed, 04 May 2022 00:31:12 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "426ms", - "MS-CV" : "pSqJi4BI2USDZAakmjmQyw.0", - "X-Azure-Ref" : "0oT45YQAAAAAsVZyMLbelTayKlw0PFIQRV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:rsgZTs2TTGk-T5sy-xVYYcH5hlnCy2quc9bKbiUQRaE1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:52:17Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-4993-6efa-234822000067\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-4993-6efa-234822000067\"}}}}", + "X-Processing-Time" : "401ms", + "MS-CV" : "oyhNek/DuUuCU2J76WUPtw.0", + "Body" : "{\"chatThread\":{\"id\":\"19:I1C8b9djwx7HRd-ryiCSHCWfw8Z-eRMrpDXxp8ZY0c01@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:31:21Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-21fa-fa5d-573a0d00295c\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-21fa-fa5d-573a0d00295c\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3ArsgZTs2TTGk-T5sy-xVYYcH5hlnCy2quc9bKbiUQRaE1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AI1C8b9djwx7HRd-ryiCSHCWfw8Z-eRMrpDXxp8ZY0c01@thread.v2" }, "Exception" : null } ], diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotSendReadReceiptWithNullMessageId[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotSendReadReceiptWithNullMessageId[1].json index 53de81e66216d..315a4bfa775d4 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotSendReadReceiptWithNullMessageId[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotSendReadReceiptWithNullMessageId[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "f8f6daa2-6dea-4864-a291-890adffb95a6", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "e3e73b12-baa4-43c7-94c0-bfde4103d193", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003211Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dxva", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:45 GMT", + "Date" : "Wed, 04 May 2022 00:32:11 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "92ms", - "MS-CV" : "UtOJ4NiHUk+bKcDj5x//zw.0", - "X-Azure-Ref" : "0vT45YQAAAABf6lETMs//Q7pjzPZvxBaUV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-ba0f-6efa-234822000080\"}}", - "x-ms-client-request-id" : "f8f6daa2-6dea-4864-a291-890adffb95a6", + "X-Processing-Time" : "91ms", + "MS-CV" : "MKYHtIKID0ulGVWuR8zcfA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-08d2-defd-8b3a0d0028c2\"}}", + "x-ms-client-request-id" : "e3e73b12-baa4-43c7-94c0-bfde4103d193", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,74 +29,78 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "e21dfd10-6168-4b33-be61-88c4c4473ef6", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "0b4b29cd-5f16-41fd-a598-5d55e0c9503b", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003209Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008uyf", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:45 GMT", + "Date" : "Wed, 04 May 2022 00:32:09 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "62ms", - "MS-CV" : "J16YsxvFeEWi3MARp5y3wg.0", - "X-Azure-Ref" : "0vj45YQAAAAB09PIqkuSMTrpj3FJH9EAXV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-baac-5dbd-9f3a0d0000dd\"}}", - "x-ms-client-request-id" : "e21dfd10-6168-4b33-be61-88c4c4473ef6", + "X-Processing-Time" : "90ms", + "MS-CV" : "++7bNWH3k02Z/nR5dh3MEg.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-0a6a-92fd-8b3a0d002933\"}}", + "x-ms-client-request-id" : "0b4b29cd-5f16-41fd-a598-5d55e0c9503b", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-ba0f-6efa-234822000080/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-08d2-defd-8b3a0d0028c2/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "7dc11e15-3c77-46cd-a3f9-a7024155938c", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "9b264a3e-fd4a-4912-bd6e-a5f6216dd514", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003211Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dxzf", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:52:45 GMT", + "Date" : "Wed, 04 May 2022 00:32:12 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "159ms", - "MS-CV" : "QmGTYoxOqkG3jeLyG0gisA.0", - "X-Azure-Ref" : "0vj45YQAAAAAavC7bayUrR4DnRqLQRUAVV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:52:46.3936092+00:00\"}", - "x-ms-client-request-id" : "7dc11e15-3c77-46cd-a3f9-a7024155938c", + "X-Processing-Time" : "160ms", + "MS-CV" : "dgVJbNvzlkqORHCXodk15w.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:32:19.6385433+00:00\"}", + "x-ms-client-request-id" : "9b264a3e-fd4a-4912-bd6e-a5f6216dd514", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "3dc56951-64c8-4219-89d9-22e6e295c174", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "976b614b-b660-4bc1-9be1-ae8a8d173d78", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003210Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008v45", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:46 GMT", + "Date" : "Wed, 04 May 2022 00:32:10 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "378ms", - "MS-CV" : "kCKbgrAMkkCpPTC5SLBDfw.0", - "X-Azure-Ref" : "0vj45YQAAAADH6FPB5hN5SYT4Uku/i3o9V1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:J_4YQ89jt6AjPVg3p9IQVzR5oBWU8d6qpc3inThh3081@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:52:46Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-ba0f-6efa-234822000080\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-ba0f-6efa-234822000080\"}}}}", + "X-Processing-Time" : "497ms", + "MS-CV" : "x6c4nil/X0SZlz4G71WfeA.0", + "Body" : "{\"chatThread\":{\"id\":\"19:9gOQxYCGkee_GGWZt3GdVOK41vSFxDft5lRR7i_v63s1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:32:19Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-08d2-defd-8b3a0d0028c2\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-08d2-defd-8b3a0d0028c2\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AJ_4YQ89jt6AjPVg3p9IQVzR5oBWU8d6qpc3inThh3081@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3A9gOQxYCGkee_GGWZt3GdVOK41vSFxDft5lRR7i_v63s1@thread.v2" }, "Exception" : null } ], diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotSendReadReceiptWithResponseWithNullMessageId[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotSendReadReceiptWithResponseWithNullMessageId[1].json index 41a0682409e01..6276cff7528c8 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotSendReadReceiptWithResponseWithNullMessageId[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotSendReadReceiptWithResponseWithNullMessageId[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "d62e0d5f-b34e-4ded-b9ff-c6f977f69547", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "3bd42786-995f-4b37-8c08-f062247722d3", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003146Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000du1q", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:32 GMT", + "Date" : "Wed, 04 May 2022 00:31:46 GMT", "Strict-Transport-Security" : "max-age=2592000", "X-Processing-Time" : "89ms", - "MS-CV" : "NgHLv8kbeU2Rs19n7lfPyg.0", - "X-Azure-Ref" : "0sT45YQAAAADLKu777NwTSL2YgkjDFsvNV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-8a08-6efa-234822000076\"}}", - "x-ms-client-request-id" : "d62e0d5f-b34e-4ded-b9ff-c6f977f69547", + "MS-CV" : "/6JtaP1CDUG/rEcG64BJDA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-a87b-80f5-8b3a0d0025d3\"}}", + "x-ms-client-request-id" : "3bd42786-995f-4b37-8c08-f062247722d3", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,74 +29,78 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "5bf6c5f9-72f1-4354-809c-fea0b08ff61b", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "ddd479df-2e25-4ec0-aec7-02efcf166569", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003144Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008qb9", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:33 GMT", + "Date" : "Wed, 04 May 2022 00:31:44 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "62ms", - "MS-CV" : "qWQ3c4BSPk6aWbXPabtteQ.0", - "X-Azure-Ref" : "0sT45YQAAAAAAuXGxHPxaT7HRex+PMA0cV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-8aac-5dbd-9f3a0d0000d3\"}}", - "x-ms-client-request-id" : "5bf6c5f9-72f1-4354-809c-fea0b08ff61b", + "X-Processing-Time" : "91ms", + "MS-CV" : "Ht8qEQg0QUq9LN+mm+523g.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-a9c0-655d-573a0d00247a\"}}", + "x-ms-client-request-id" : "ddd479df-2e25-4ec0-aec7-02efcf166569", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-8a08-6efa-234822000076/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-a87b-80f5-8b3a0d0025d3/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "67e2fdc1-954c-4d34-8491-ebf2abf4d161", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "bc5f752d-632e-4192-88f3-897e3c4a4c03", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003147Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000du63", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:52:33 GMT", + "Date" : "Wed, 04 May 2022 00:31:47 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", "X-Processing-Time" : "154ms", - "MS-CV" : "eVzRN/snIkCBIXWM76kUjA.0", - "X-Azure-Ref" : "0sT45YQAAAAA/J2W/gg7+RLd2C0Zn54kqV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:52:34.1048499+00:00\"}", - "x-ms-client-request-id" : "67e2fdc1-954c-4d34-8491-ebf2abf4d161", + "MS-CV" : "MyqmIUGnJUeoyXmOM1ePVw.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:31:54.9507212+00:00\"}", + "x-ms-client-request-id" : "bc5f752d-632e-4192-88f3-897e3c4a4c03", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "8f1a931f-60e0-4e4a-8f5e-4f68df5a659a", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "6da650ae-ae0d-48c9-b9cb-2aa02a50e820", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003145Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008qgn", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:33 GMT", + "Date" : "Wed, 04 May 2022 00:31:45 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "344ms", - "MS-CV" : "eEGlFw1abEmM7AKNVes3iA.0", - "X-Azure-Ref" : "0sj45YQAAAACBbc6Uhm9/Q7mQHDLuhYaxV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:6EkIW-NJpJUwuZ42FEKtWDZW91NcTr-omued8AZrfWE1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:52:34Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-8a08-6efa-234822000076\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-8a08-6efa-234822000076\"}}}}", + "X-Processing-Time" : "355ms", + "MS-CV" : "X13A6CiU2kGkiYA8rbn5dw.0", + "Body" : "{\"chatThread\":{\"id\":\"19:nEXPL9L4pcwwPvYpqtNi2IyjWLORSlV9M4k_IGLt6nw1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:31:55Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-a87b-80f5-8b3a0d0025d3\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-a87b-80f5-8b3a0d0025d3\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A6EkIW-NJpJUwuZ42FEKtWDZW91NcTr-omued8AZrfWE1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AnEXPL9L4pcwwPvYpqtNi2IyjWLORSlV9M4k_IGLt6nw1@thread.v2" }, "Exception" : null } ], diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotUpdateMessageNullId[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotUpdateMessageNullId[1].json index 20897210a1db4..43904efc7abd4 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotUpdateMessageNullId[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotUpdateMessageNullId[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "c0d65886-804b-4694-9a6d-902fcdfcda46", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "a0dc92ca-3cd4-4f77-9ca6-7e5a24c417c6", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003047Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dgve", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:06 GMT", + "Date" : "Wed, 04 May 2022 00:30:48 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "89ms", - "MS-CV" : "zP/OCVYu7k2/qgCaLl7fTA.0", - "X-Azure-Ref" : "0lz45YQAAAAC77croKIKWRZJRxMEF4x8wV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-2244-6efa-23482200005d\"}}", - "x-ms-client-request-id" : "c0d65886-804b-4694-9a6d-902fcdfcda46", + "X-Processing-Time" : "94ms", + "MS-CV" : "3GbrKuPywkm8Pyu+rDA0bg.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-c41c-655d-573a0d00245c\"}}", + "x-ms-client-request-id" : "a0dc92ca-3cd4-4f77-9ca6-7e5a24c417c6", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,74 +29,78 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "11dc6b57-6c19-4c4d-8014-2ee432f8d533", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "f62368e6-a91d-4c3d-8dba-6ade608a9ce5", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003046Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008bhk", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:06 GMT", + "Date" : "Wed, 04 May 2022 00:30:46 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "65ms", - "MS-CV" : "USRrGTGvbESiW8cB8XEwVw.0", - "X-Azure-Ref" : "0lz45YQAAAAAdNhthy96OTZFIaZwUkSbIV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-22df-fcd8-a53a0d0000e7\"}}", - "x-ms-client-request-id" : "11dc6b57-6c19-4c4d-8014-2ee432f8d533", + "X-Processing-Time" : "90ms", + "MS-CV" : "Xzgb60XMoEqznwjjQhmpYQ.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-c5b6-fa5d-573a0d002952\"}}", + "x-ms-client-request-id" : "f62368e6-a91d-4c3d-8dba-6ade608a9ce5", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-2244-6efa-23482200005d/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-c41c-655d-573a0d00245c/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "4a5bdb83-3ca8-4536-a853-fae24f942847", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "c8d9d620-54a2-4b9e-80e5-0cb1c87c6791", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003048Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dgzu", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:52:06 GMT", + "Date" : "Wed, 04 May 2022 00:30:49 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "160ms", - "MS-CV" : "mtMoPmptd0+McFlZvhyNMg.0", - "X-Azure-Ref" : "0lz45YQAAAACDo3Ef0HRcSIL+5N6LOpsWV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:52:07.5398253+00:00\"}", - "x-ms-client-request-id" : "4a5bdb83-3ca8-4536-a853-fae24f942847", + "X-Processing-Time" : "156ms", + "MS-CV" : "NO1VPX2lLEmYzu7GkqLvdg.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:30:56.5864909+00:00\"}", + "x-ms-client-request-id" : "c8d9d620-54a2-4b9e-80e5-0cb1c87c6791", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "f80d8011-9084-471d-a2ce-c84617e6c6bc", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "cde23c42-a1b5-414e-9bcf-2d1c64871f9a", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003047Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008bsd", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:07 GMT", + "Date" : "Wed, 04 May 2022 00:30:48 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "388ms", - "MS-CV" : "B+M9XX9KV0G93vqF2x64tQ.0", - "X-Azure-Ref" : "0lz45YQAAAABL78MSJVwjRLxX+BECHokbV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:6fGVxPlHKsJAm2UrRs9T5PkMHsFhLgmb9X_P44Y5W_k1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:52:07Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-2244-6efa-23482200005d\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-2244-6efa-23482200005d\"}}}}", + "X-Processing-Time" : "907ms", + "MS-CV" : "HLS/zwQK5kS7qlmNm7cGsw.0", + "Body" : "{\"chatThread\":{\"id\":\"19:E24li85xDOv8DJqNirk4a3uKgBzDM6EOSVtmWI-EADQ1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:30:57Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-c41c-655d-573a0d00245c\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-c41c-655d-573a0d00245c\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A6fGVxPlHKsJAm2UrRs9T5PkMHsFhLgmb9X_P44Y5W_k1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AE24li85xDOv8DJqNirk4a3uKgBzDM6EOSVtmWI-EADQ1@thread.v2" }, "Exception" : null } ], diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotUpdateMessageWithResponseNullId[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotUpdateMessageWithResponseNullId[1].json index ac546431546c1..77c4bbf15a9fb 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotUpdateMessageWithResponseNullId[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotUpdateMessageWithResponseNullId[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "36610a3b-2e64-4502-b870-0909c50b6f2e", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "3d8a1a55-9ab4-4202-8632-7a5b06857ae8", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003153Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dv2k", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:36 GMT", + "Date" : "Wed, 04 May 2022 00:31:53 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "90ms", - "MS-CV" : "8MkKPukbUEqkklvWNW1Lyg.0", - "X-Azure-Ref" : "0tT45YQAAAABtd3Y2oOdmQas5drL+NSo8V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-97ca-6efa-234822000079\"}}", - "x-ms-client-request-id" : "36610a3b-2e64-4502-b870-0909c50b6f2e", + "X-Processing-Time" : "86ms", + "MS-CV" : "bEqDsRWdjkaXSdY3BR2eZQ.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-c3d7-defd-8b3a0d0028bc\"}}", + "x-ms-client-request-id" : "3d8a1a55-9ab4-4202-8632-7a5b06857ae8", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,74 +29,78 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "ba13419b-5620-4db6-bec1-151296649267", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "2b870946-3787-4a4e-908b-5e99b7fc1637", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003151Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008rhx", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:36 GMT", + "Date" : "Wed, 04 May 2022 00:31:51 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "72ms", - "MS-CV" : "DhX8sRf1GE2BvVrBFkMZ8g.0", - "X-Azure-Ref" : "0tT45YQAAAABX4s6NHX/1Q56lEQALyK6cV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-986a-5dbd-9f3a0d0000d6\"}}", - "x-ms-client-request-id" : "ba13419b-5620-4db6-bec1-151296649267", + "X-Processing-Time" : "95ms", + "MS-CV" : "1wOT4QV7lUqwvounz+oUTg.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-c58e-3ef0-8b3a0d0028fb\"}}", + "x-ms-client-request-id" : "2b870946-3787-4a4e-908b-5e99b7fc1637", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-97ca-6efa-234822000079/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-c3d7-defd-8b3a0d0028bc/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "da2a5160-e44c-4e4c-879b-0ce1f2270e8c", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "3ca10f7f-3367-4e0a-be60-858c44418acb", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003154Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dv6c", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:52:36 GMT", + "Date" : "Wed, 04 May 2022 00:31:54 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "158ms", - "MS-CV" : "0kC0IUjl+E6UGI4Uj7zYiQ.0", - "X-Azure-Ref" : "0tT45YQAAAADIT6Rz9V9dTJEEhVSKi933V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:52:37.6367154+00:00\"}", - "x-ms-client-request-id" : "da2a5160-e44c-4e4c-879b-0ce1f2270e8c", + "X-Processing-Time" : "161ms", + "MS-CV" : "iUnJcrowikihqpqzLzsWAg.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:32:01.9684189+00:00\"}", + "x-ms-client-request-id" : "3ca10f7f-3367-4e0a-be60-858c44418acb", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "a3cc5222-9761-4bb1-8151-920299e0cdc1", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "78b71cdb-1b4c-4de4-adbd-750bd9170e39", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003152Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008rsx", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:37 GMT", + "Date" : "Wed, 04 May 2022 00:31:53 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "395ms", - "MS-CV" : "o/rvQhsgg0mPaf6U++aUTg.0", - "X-Azure-Ref" : "0tT45YQAAAACr+ZdI2zQHTYF3/ywI7+fWV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:UaqCd9AJDohJnwHhcDONgXLXlDKqaZn5myUcxRbHfqI1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:52:37Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-97ca-6efa-234822000079\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-97ca-6efa-234822000079\"}}}}", + "X-Processing-Time" : "522ms", + "MS-CV" : "0tzZ1U8xw0eAGFKKVvB3gQ.0", + "Body" : "{\"chatThread\":{\"id\":\"19:OYoMwMoqNkDrJt1TQtvambBJoeW6b_HvUsCAm7iCDCk1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:32:02Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-c3d7-defd-8b3a0d0028bc\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5c-c3d7-defd-8b3a0d0028bc\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AUaqCd9AJDohJnwHhcDONgXLXlDKqaZn5myUcxRbHfqI1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AOYoMwMoqNkDrJt1TQtvambBJoeW6b_HvUsCAm7iCDCk1@thread.v2" }, "Exception" : null } ], diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotUpdateThreadWithNullTopic[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotUpdateThreadWithNullTopic[1].json index df5daedaac7a0..9a7d1e79a307b 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotUpdateThreadWithNullTopic[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotUpdateThreadWithNullTopic[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "9b1bc17a-83c9-4aec-b973-706175bddbfa", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "dd8936d6-8925-4477-aff3-0bb46df603fa", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003053Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dhpv", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:08 GMT", + "Date" : "Wed, 04 May 2022 00:30:53 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "89ms", - "MS-CV" : "hpxl3SwoV0miSO1qGVfx7Q.0", - "X-Azure-Ref" : "0mD45YQAAAAB/euuHHRgNSoo4sc2zNivDV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-29d3-6efa-23482200005f\"}}", - "x-ms-client-request-id" : "9b1bc17a-83c9-4aec-b973-706175bddbfa", + "X-Processing-Time" : "85ms", + "MS-CV" : "fScH4UVt7kGemw/DM3bBEw.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-d838-7bfa-553a0d0022aa\"}}", + "x-ms-client-request-id" : "dd8936d6-8925-4477-aff3-0bb46df603fa", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,74 +29,78 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "e15e4736-5bdf-4746-9230-a7492de0e342", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "38241fce-a63a-45d4-a284-94fc0f73665d", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003051Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008chz", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:08 GMT", + "Date" : "Wed, 04 May 2022 00:30:51 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "72ms", - "MS-CV" : "hONOhKYxXUCENrvNuEleLA.0", - "X-Azure-Ref" : "0mT45YQAAAACg5Q00IUqaTK1eC1eZARpNV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-2a78-fcd8-a53a0d0000e8\"}}", - "x-ms-client-request-id" : "e15e4736-5bdf-4746-9230-a7492de0e342", + "X-Processing-Time" : "89ms", + "MS-CV" : "P2OPlnqFoEGVDVyn8PjN1Q.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-d9b2-1252-573a0d002bb6\"}}", + "x-ms-client-request-id" : "38241fce-a63a-45d4-a284-94fc0f73665d", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-29d3-6efa-23482200005f/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-d838-7bfa-553a0d0022aa/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "679160e8-a668-4c02-bfc6-1011d15b375f", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "40b9075b-b572-472e-a849-15ce31674c44", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003053Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dhu3", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:52:08 GMT", + "Date" : "Wed, 04 May 2022 00:30:54 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "160ms", - "MS-CV" : "4D2VoTOpzU+66pSyeWpRyA.0", - "X-Azure-Ref" : "0mT45YQAAAADh2L/r1RcoRZH5ObEbD7OnV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:52:09.5179325+00:00\"}", - "x-ms-client-request-id" : "679160e8-a668-4c02-bfc6-1011d15b375f", + "X-Processing-Time" : "158ms", + "MS-CV" : "h64jC250XUCWUuu236Na4A.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:31:01.6279072+00:00\"}", + "x-ms-client-request-id" : "40b9075b-b572-472e-a849-15ce31674c44", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "a12d8e9d-e9f9-47a8-a6b1-7859d5070088", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "8635ede2-376b-4506-98e0-96daf328e2fd", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003052Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008cs6", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:09 GMT", + "Date" : "Wed, 04 May 2022 00:30:52 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "415ms", - "MS-CV" : "mwKobVzsGkyrTtfC8vh3kQ.0", - "X-Azure-Ref" : "0mT45YQAAAAAeqz/HjwiUTZmwCKXks1d2V1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:TLScBTf38CqjInCy8z4FH_GSD97lR9G4LMLpAF_1ffM1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:52:09Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-29d3-6efa-23482200005f\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-29d3-6efa-23482200005f\"}}}}", + "X-Processing-Time" : "408ms", + "MS-CV" : "zFjbjZruEUG8O/tOhmlkZA.0", + "Body" : "{\"chatThread\":{\"id\":\"19:B_aefyDmj1x5L03jd1JBoV-hWXrw1dEOYmYHml04FA01@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:31:01Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-d838-7bfa-553a0d0022aa\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5b-d838-7bfa-553a0d0022aa\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3ATLScBTf38CqjInCy8z4FH_GSD97lR9G4LMLpAF_1ffM1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AB_aefyDmj1x5L03jd1JBoV-hWXrw1dEOYmYHml04FA01@thread.v2" }, "Exception" : null } ], diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotUpdateThreadWithResponseWithNullTopic[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotUpdateThreadWithResponseWithNullTopic[1].json index e861f5e641eef..15f6aa0f9ecd7 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotUpdateThreadWithResponseWithNullTopic[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.cannotUpdateThreadWithResponseWithNullTopic[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "4aea647a-37c5-42f4-b774-13f9df3a40c0", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "aebd149f-e115-45c2-a566-123d8688d28f", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003218Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dyym", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:48 GMT", + "Date" : "Wed, 04 May 2022 00:32:19 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "86ms", - "MS-CV" : "xU4zOVttUEeSV4JKov5e7w.0", - "X-Azure-Ref" : "0wT45YQAAAADl2kj7qJHER5RxzbWFeRbXV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-c6d4-6479-224822000146\"}}", - "x-ms-client-request-id" : "4aea647a-37c5-42f4-b774-13f9df3a40c0", + "X-Processing-Time" : "88ms", + "MS-CV" : "u5RXVbncIkGCIMLPzy6RAA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-275a-655d-573a0d002487\"}}", + "x-ms-client-request-id" : "aebd149f-e115-45c2-a566-123d8688d28f", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,74 +29,78 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "6d031dab-dc46-44c8-b1f6-de5881b3e5ce", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "5629bd82-d90b-49e2-ae0a-0686b209eeb1", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003217Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008wgg", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:48 GMT", + "Date" : "Wed, 04 May 2022 00:32:17 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "63ms", - "MS-CV" : "+G68o4fb90G7fdrVggBhEw.0", - "X-Azure-Ref" : "0wT45YQAAAADmaYyKz7QdSYNtC7rkq50BV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-c76b-5dbd-9f3a0d0000e0\"}}", - "x-ms-client-request-id" : "6d031dab-dc46-44c8-b1f6-de5881b3e5ce", + "X-Processing-Time" : "86ms", + "MS-CV" : "FfqCS7TKR0qSN92o03JGyA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-2923-defd-8b3a0d0028c6\"}}", + "x-ms-client-request-id" : "5629bd82-d90b-49e2-ae0a-0686b209eeb1", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-c6d4-6479-224822000146/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-275a-655d-573a0d002487/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "45737225-e9ad-42e3-9e40-00e1505f275c", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "02b71640-31ca-4e65-babe-d08d892186e5", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003219Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000dz31", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:52:48 GMT", + "Date" : "Wed, 04 May 2022 00:32:20 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "152ms", - "MS-CV" : "NZmFpMsaNkGESpKeGXOVbQ.0", - "X-Azure-Ref" : "0wT45YQAAAADaKGRBitSISKo5we6DSgKoV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:52:49.6474801+00:00\"}", - "x-ms-client-request-id" : "45737225-e9ad-42e3-9e40-00e1505f275c", + "X-Processing-Time" : "161ms", + "MS-CV" : "XVUCQv7hOU6hy9gRfPE/EQ.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:32:27.4484949+00:00\"}", + "x-ms-client-request-id" : "02b71640-31ca-4e65-babe-d08d892186e5", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "258861c2-fc63-49c3-b726-62e5a9e4c93d", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "661f66b9-16bd-492f-a288-8bafb0ffd19f", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003217Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008wpg", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:49 GMT", + "Date" : "Wed, 04 May 2022 00:32:18 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "353ms", - "MS-CV" : "PUmhm9G9b0aRwq8vDn6Fkw.0", - "X-Azure-Ref" : "0wT45YQAAAAC6H5ZzgoeLQL3wIaQzKTHLV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:2yY82gVx9kjLW1GwdRyip9jjQ7lDGXmOm-jeszHjh6o1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:52:49Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-c6d4-6479-224822000146\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-c6d4-6479-224822000146\"}}}}", + "X-Processing-Time" : "548ms", + "MS-CV" : "0y21AEaX4Uy1cZolNS+XBA.0", + "Body" : "{\"chatThread\":{\"id\":\"19:PEW2IUNNckCCoIgLeYEt8K5QMqfknMGJVXIYxb1MxOs1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:32:27Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-275a-655d-573a0d002487\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-275a-655d-573a0d002487\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A2yY82gVx9kjLW1GwdRyip9jjQ7lDGXmOm-jeszHjh6o1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3APEW2IUNNckCCoIgLeYEt8K5QMqfknMGJVXIYxb1MxOs1@thread.v2" }, "Exception" : null } ], diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.throwsExceptionOnBadRequest[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.throwsExceptionOnBadRequest[1].json index 3469ccfecd13b..cbfff90f87e2b 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.throwsExceptionOnBadRequest[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadAsyncClientTest.throwsExceptionOnBadRequest[1].json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:4b72178530934b7790135dd9359205e0@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:4b72178530934b7790135dd9359205e0@thread.v2/messages?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "a5001ab9-7297-4047-9cc7-33bb408c8164", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "4cb6d206-b9a4-43e4-94ae-b6d5682d8936", "Content-Type" : "application/json" }, "Response" : { diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canAddListAndRemoveMembersWithResponse[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canAddListAndRemoveMembersWithResponse[1].json index 0f7cc15f9e087..4cd62d0aeb18b 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canAddListAndRemoveMembersWithResponse[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canAddListAndRemoveMembersWithResponse[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "69501839-c16f-4b8a-ada9-463bf75056f7", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "430bb86f-e613-410b-965d-25d1f71f99ba", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003406Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000009f7b", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:37 GMT", + "Date" : "Wed, 04 May 2022 00:34:06 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "64ms", - "MS-CV" : "XLj2nKdEqkOnW9UXBX8pBw.0", - "X-Azure-Ref" : "08T45YQAAAAAdlkba0ouES4jGHWiGpW7nV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-84dc-5d47-a63a0d0001a2\"}}", - "x-ms-client-request-id" : "69501839-c16f-4b8a-ada9-463bf75056f7", + "X-Processing-Time" : "86ms", + "MS-CV" : "jYP6fgj5MEKeoqmayJvk7A.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-d4dc-655d-573a0d0024aa\"}}", + "x-ms-client-request-id" : "430bb86f-e613-410b-965d-25d1f71f99ba", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,23 +29,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "09662cb2-9e8f-4320-b609-7767ee60922e", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "623a8a38-bd23-4262-acc5-5c726b972cb4", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003409Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000eefu", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:37 GMT", + "Date" : "Wed, 04 May 2022 00:34:09 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "88ms", - "MS-CV" : "SqKP8J3T6k2zf1M23Vr6PA.0", - "X-Azure-Ref" : "08T45YQAAAAA/DJfdggYGQ6Yd5Wt/2VewV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-8561-6479-224822000163\"}}", - "x-ms-client-request-id" : "09662cb2-9e8f-4320-b609-7767ee60922e", + "X-Processing-Time" : "87ms", + "MS-CV" : "qkkuEGzLLkmzezFq20t0DA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-d6a6-eef0-8b3a0d002312\"}}", + "x-ms-client-request-id" : "623a8a38-bd23-4262-acc5-5c726b972cb4", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -53,23 +55,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "5d0d467b-7633-4ba9-bdee-378e81edb641", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "7cbe9f0b-6f63-4e9d-90d0-946991315bdc", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003407Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000009fcc", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:37 GMT", + "Date" : "Wed, 04 May 2022 00:34:07 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "62ms", - "MS-CV" : "Uy6yiAPxckug6hyPGul85g.0", - "X-Azure-Ref" : "08j45YQAAAAAZ99yD3qkvTpgJARmPEjRjV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-8628-5d47-a63a0d0001a3\"}}", - "x-ms-client-request-id" : "5d0d467b-7633-4ba9-bdee-378e81edb641", + "X-Processing-Time" : "88ms", + "MS-CV" : "qI7VcSJR0kCNQZLUnNsZhg.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-d834-fa5d-573a0d0029b9\"}}", + "x-ms-client-request-id" : "7cbe9f0b-6f63-4e9d-90d0-946991315bdc", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,97 +81,102 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "2c3de627-31ac-4f15-ba72-fe5a32b6a815", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "201454a6-e3f8-492d-9432-6d28a7a4243a", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003410Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000eenh", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:37 GMT", + "Date" : "Wed, 04 May 2022 00:34:10 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "89ms", - "MS-CV" : "R4ZfJCZMwU+2pqZNbB/7HA.0", - "X-Azure-Ref" : "08j45YQAAAAB+ptloqHhxRJb0lqoqLjSBV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-86c0-6efa-23482200009d\"}}", - "x-ms-client-request-id" : "2c3de627-31ac-4f15-ba72-fe5a32b6a815", + "X-Processing-Time" : "86ms", + "MS-CV" : "RnEUxYGUI0irX0Wm1T/Ltg.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-da00-655d-573a0d0024ac\"}}", + "x-ms-client-request-id" : "201454a6-e3f8-492d-9432-6d28a7a4243a", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-84dc-5d47-a63a0d0001a2/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-d4dc-655d-573a0d0024aa/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "52e20e35-db81-45e4-9066-1f605347e438", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "eed778f7-1761-4b87-8f39-02b059626f48", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003408Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000009fgy", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:53:37 GMT", + "Date" : "Wed, 04 May 2022 00:34:08 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "141ms", - "MS-CV" : "vmwdfrCIjkCW4p7weIgFVQ.0", - "X-Azure-Ref" : "08j45YQAAAACm0Ig588UkR6Lb9VvONLWLV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:53:38.6840377+00:00\"}", - "x-ms-client-request-id" : "52e20e35-db81-45e4-9066-1f605347e438", + "X-Processing-Time" : "158ms", + "MS-CV" : "jkmtNpS5SUKkIJfJx+Ebwg.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:34:18.3477751+00:00\"}", + "x-ms-client-request-id" : "eed778f7-1761-4b87-8f39-02b059626f48", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "da4e29b2-6d92-44f3-b513-11fcbad2abc1", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "d22c6317-26e4-49ca-bb7d-e86f28bb7ff2", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003411Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000eet3", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:38 GMT", + "Date" : "Wed, 04 May 2022 00:34:11 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "533ms", - "MS-CV" : "EUGT9wBuHkKdVbgHE7Tilg.0", - "X-Azure-Ref" : "08j45YQAAAADODBiO4uiRRramctYAw3vGV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:oC2qvgLxFknk5Doe07cyU9ror2hYdCiOeM-9i1d61ps1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:53:38Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-84dc-5d47-a63a0d0001a2\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-84dc-5d47-a63a0d0001a2\"}}}}", + "X-Processing-Time" : "539ms", + "MS-CV" : "fIY++FR4u0mU7sdGvrAYvQ.0", + "Body" : "{\"chatThread\":{\"id\":\"19:h_GoC-0lHwcD1EojfLDBXLPmQFoZYGzjZLgB_KBj4g41@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:34:18Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-d4dc-655d-573a0d0024aa\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-d4dc-655d-573a0d0024aa\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AoC2qvgLxFknk5Doe07cyU9ror2hYdCiOeM-9i1d61ps1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3Ah_GoC-0lHwcD1EojfLDBXLPmQFoZYGzjZLgB_KBj4g41@thread.v2" }, "Exception" : null }, { "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "7b1b237c-25d8-4a0f-9b55-d3a637620ea7", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "7d9c09b1-a2dc-4745-840c-f20b32c52e93", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003409Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000009fw4", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:38 GMT", + "Date" : "Wed, 04 May 2022 00:34:10 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "65ms", - "MS-CV" : "DR9B7Jbe/kiw4ql0+XfBjA.0", - "X-Azure-Ref" : "08z45YQAAAABEhCDi+t88SYIjhIC+P0qcV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-8a76-5d47-a63a0d0001a4\"}}", - "x-ms-client-request-id" : "7b1b237c-25d8-4a0f-9b55-d3a637620ea7", + "X-Processing-Time" : "87ms", + "MS-CV" : "W7qcfTbKtEy1HnbNJ8p0Qw.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-e206-1252-573a0d002bf1\"}}", + "x-ms-client-request-id" : "7d9c09b1-a2dc-4745-840c-f20b32c52e93", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -177,110 +185,115 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "54c2dd1f-6363-44b7-8887-65f20ab93ce3", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "db9ed1ce-4452-4b55-9fd0-c12457f58c49", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003412Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000eez5", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:38 GMT", + "Date" : "Wed, 04 May 2022 00:34:13 GMT", "Strict-Transport-Security" : "max-age=2592000", "X-Processing-Time" : "87ms", - "MS-CV" : "XMSu+GXMvkGa/E1ch2SopA.0", - "X-Azure-Ref" : "08z45YQAAAADH2TofaG01Q4QR672blxv+V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-8afa-6479-224822000164\"}}", - "x-ms-client-request-id" : "54c2dd1f-6363-44b7-8887-65f20ab93ce3", + "MS-CV" : "+ro5KbA34kKZ9yEGo7k+HQ.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-e3c2-fa5d-573a0d0029ba\"}}", + "x-ms-client-request-id" : "db9ed1ce-4452-4b55-9fd0-c12457f58c49", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:oC2qvgLxFknk5Doe07cyU9ror2hYdCiOeM-9i1d61ps1@thread.v2/participants/:add?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:h_GoC-0lHwcD1EojfLDBXLPmQFoZYGzjZLgB_KBj4g41@thread.v2/participants/:add?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "e9c3865f-3014-486d-a159-4badc6c3253f", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "ddd8e790-0d26-4c93-83b6-13b26b8d5761", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003410Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000009g21", "X-Cache" : "CONFIG_NOCACHE", - "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "152ms", - "MS-CV" : "qNtOnYU9iEyT0eQ1vrKfRw.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", - "X-Azure-Ref" : "08z45YQAAAADsTRBuIT/1SKsU40n4a/iWV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "201", + "Date" : "Wed, 04 May 2022 00:34:11 GMT", + "Strict-Transport-Security" : "max-age=2592000", + "X-Processing-Time" : "341ms", + "MS-CV" : "YXDydV92uk6xnbZUvhYYmw.0", "Body" : "{}", - "Date" : "Wed, 08 Sep 2021 22:53:38 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:oC2qvgLxFknk5Doe07cyU9ror2hYdCiOeM-9i1d61ps1@thread.v2/participants?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:h_GoC-0lHwcD1EojfLDBXLPmQFoZYGzjZLgB_KBj4g41@thread.v2/participants?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "15449ab0-688d-4a08-89e4-76ef1419729d" + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "74ede525-113b-4605-848d-427779671d64" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003413Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000ef38", "X-Cache" : "CONFIG_NOCACHE", - "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "126ms", - "MS-CV" : "5W8keSVbE0WOUXefCZjKGQ.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", - "X-Azure-Ref" : "08z45YQAAAAAKoe5gPnH/R7LBZILxXTySV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"value\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-84dc-5d47-a63a0d0001a2\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-84dc-5d47-a63a0d0001a2\"}},\"displayName\":\"Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-8561-6479-224822000163\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-8561-6479-224822000163\"}},\"displayName\":\"Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-8a76-5d47-a63a0d0001a4\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-8a76-5d47-a63a0d0001a4\"}},\"displayName\":\"Added Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-8afa-6479-224822000164\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-8afa-6479-224822000164\"}},\"displayName\":\"Added Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}]}", - "Date" : "Wed, 08 Sep 2021 22:53:38 GMT", + "Date" : "Wed, 04 May 2022 00:34:13 GMT", + "Strict-Transport-Security" : "max-age=2592000", + "X-Processing-Time" : "92ms", + "MS-CV" : "xNBHGcel/kGdTyJQKDfrXA.0", + "Body" : "{\"value\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-d4dc-655d-573a0d0024aa\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-d4dc-655d-573a0d0024aa\"}},\"displayName\":\"Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-d6a6-eef0-8b3a0d002312\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-d6a6-eef0-8b3a0d002312\"}},\"displayName\":\"Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-e206-1252-573a0d002bf1\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-e206-1252-573a0d002bf1\"}},\"displayName\":\"Added Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-e3c2-fa5d-573a0d0029ba\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-e3c2-fa5d-573a0d0029ba\"}},\"displayName\":\"Added Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}]}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:oC2qvgLxFknk5Doe07cyU9ror2hYdCiOeM-9i1d61ps1@thread.v2/participants/:remove?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:h_GoC-0lHwcD1EojfLDBXLPmQFoZYGzjZLgB_KBj4g41@thread.v2/participants/:remove?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "e2cda6f1-fbad-4adc-b62d-91d7808702ba", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "cb4cea82-6602-42fa-b0e4-0146449dec41", "Content-Type" : "application/json" }, "Response" : { + "x-azure-ref" : "20220504T003411Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000009g74", "X-Cache" : "CONFIG_NOCACHE", "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "169ms", - "MS-CV" : "UyFnO7rCKUGtOuzZAZiAZQ.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "X-Processing-Time" : "288ms", + "Connection" : "keep-alive", + "MS-CV" : "ORkAB99HlkGYmWomOKSoew.0", "retry-after" : "0", - "X-Azure-Ref" : "08z45YQAAAACNucffb1JKRYeStsR93J/SV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Wed, 08 Sep 2021 22:53:39 GMT" + "Date" : "Wed, 04 May 2022 00:34:11 GMT" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:oC2qvgLxFknk5Doe07cyU9ror2hYdCiOeM-9i1d61ps1@thread.v2/participants/:remove?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:h_GoC-0lHwcD1EojfLDBXLPmQFoZYGzjZLgB_KBj4g41@thread.v2/participants/:remove?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "26737217-efb5-4303-ac0f-4f73a429b9a8", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "d6177288-81c7-4c32-a506-68325cb3dc97", "Content-Type" : "application/json" }, "Response" : { + "x-azure-ref" : "20220504T003414Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000ef6y", "X-Cache" : "CONFIG_NOCACHE", "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "298ms", - "MS-CV" : "psN2am//c0C/x5EdzXfdGg.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "X-Processing-Time" : "171ms", + "Connection" : "keep-alive", + "MS-CV" : "2ew/8WwB906hlcrEEnOJnA.0", "retry-after" : "0", - "X-Azure-Ref" : "09D45YQAAAADYVS/qqRsRTZpaiu1qtpVBV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Wed, 08 Sep 2021 22:53:39 GMT" + "Date" : "Wed, 04 May 2022 00:34:14 GMT" }, "Exception" : null } ], diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canAddListAndRemoveParticipantsWithOptions[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canAddListAndRemoveParticipantsWithOptions[1].json index ca557a1ff7a33..32aa760e1af7c 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canAddListAndRemoveParticipantsWithOptions[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canAddListAndRemoveParticipantsWithOptions[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "ef530c6a-c1ee-46d7-bc2e-772033fd055e", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "448aaee6-f7f7-40c4-b20a-183c2ecbd71e", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003306Z-3knzm6g59904z2v1e8tfw6gqqn000000060g00000000953q", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:12 GMT", + "Date" : "Wed, 04 May 2022 00:33:06 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "70ms", - "MS-CV" : "M+LJRyJemEqaJxVf+DQ4Rw.0", - "X-Azure-Ref" : "02T45YQAAAAAeYs8ZBg33RqrZMyAxEL0AV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-257b-5d47-a63a0d000183\"}}", - "x-ms-client-request-id" : "ef530c6a-c1ee-46d7-bc2e-772033fd055e", + "X-Processing-Time" : "88ms", + "MS-CV" : "y9+RUHTypkSHolkZPD599A.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-ead3-3ef0-8b3a0d002910\"}}", + "x-ms-client-request-id" : "448aaee6-f7f7-40c4-b20a-183c2ecbd71e", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,23 +29,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "d8f0a419-a516-46a1-973a-d4cf73124e77", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "d879edcb-a4b9-4183-b61b-4ab213453329", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003309Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e6hw", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:12 GMT", + "Date" : "Wed, 04 May 2022 00:33:09 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "88ms", - "MS-CV" : "nC+2m3CQdUa5hZXHZFAgWA.0", - "X-Azure-Ref" : "02T45YQAAAAAEUP681KexRbatQT+gpWPLV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-2602-6479-224822000153\"}}", - "x-ms-client-request-id" : "d8f0a419-a516-46a1-973a-d4cf73124e77", + "X-Processing-Time" : "89ms", + "MS-CV" : "3M0SgHv7Z0K2OillKU08yw.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-ec78-655d-573a0d002495\"}}", + "x-ms-client-request-id" : "d879edcb-a4b9-4183-b61b-4ab213453329", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -53,23 +55,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "5ff31596-9695-4d33-b1ba-5cd0d9bfb4ef", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "c25a179a-e5e0-44be-b72a-66da1ec9e532", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003307Z-3knzm6g59904z2v1e8tfw6gqqn000000060g00000000958n", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:13 GMT", + "Date" : "Wed, 04 May 2022 00:33:07 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "74ms", - "MS-CV" : "FmoUoZmahE2TWcqaz5JdAw.0", - "X-Azure-Ref" : "02T45YQAAAADNyI/hmv0USJiGSRMy92wdV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-2699-5d47-a63a0d000184\"}}", - "x-ms-client-request-id" : "5ff31596-9695-4d33-b1ba-5cd0d9bfb4ef", + "X-Processing-Time" : "85ms", + "MS-CV" : "JcoTVte3L0uPBIpmXVZ2GQ.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-ee72-eef0-8b3a0d0022fd\"}}", + "x-ms-client-request-id" : "c25a179a-e5e0-44be-b72a-66da1ec9e532", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,97 +81,102 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "475f8c3c-b635-4c13-a000-0173074539da", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "6a45c93e-c4e8-4106-868f-d87adfb15060", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003310Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e6pc", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:13 GMT", + "Date" : "Wed, 04 May 2022 00:33:10 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "89ms", - "MS-CV" : "fVGRIDLBlk2lkh08V9VEjw.0", - "X-Azure-Ref" : "02T45YQAAAAB20hweo9D/TLoude2+ga8DV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-2727-6efa-23482200008f\"}}", - "x-ms-client-request-id" : "475f8c3c-b635-4c13-a000-0173074539da", + "X-Processing-Time" : "92ms", + "MS-CV" : "0AB7vGMNikilK6AdijIeCA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-f019-69f0-553a0d0029cc\"}}", + "x-ms-client-request-id" : "6a45c93e-c4e8-4106-868f-d87adfb15060", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-257b-5d47-a63a0d000183/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-ead3-3ef0-8b3a0d002910/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "6bba52f8-821b-4f3f-80b7-02696f1980b8", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "53d77ce7-96b9-440d-a6b2-d3aa92a283e5", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003308Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000095db", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:53:13 GMT", + "Date" : "Wed, 04 May 2022 00:33:09 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "153ms", - "MS-CV" : "gg5sm/yAMkuGLVvx4R241w.0", - "X-Azure-Ref" : "02j45YQAAAABY7iLzM+xgRpvUVsil7ZHUV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:53:14.1854024+00:00\"}", - "x-ms-client-request-id" : "6bba52f8-821b-4f3f-80b7-02696f1980b8", + "X-Processing-Time" : "157ms", + "MS-CV" : "wMdrl3/eZ0OD9GXMFMkIQA.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:33:18.5884851+00:00\"}", + "x-ms-client-request-id" : "53d77ce7-96b9-440d-a6b2-d3aa92a283e5", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "0f5df049-3b18-4279-8dcc-c4e1f13c8b5d", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "3970b467-6395-4da0-8eb7-229987b1b36a", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003311Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e6tv", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:14 GMT", + "Date" : "Wed, 04 May 2022 00:33:12 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "825ms", - "MS-CV" : "av2yqdCJ30apX6vS98IHDA.0", - "X-Azure-Ref" : "02j45YQAAAADVVnuBDySqRphhTwGfKxklV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:JcuCYCTCNmV0CDYcUUKEU7M33fZ1Bb4ncXgvwX9a-yM1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:53:14Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-257b-5d47-a63a0d000183\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-257b-5d47-a63a0d000183\"}}}}", + "X-Processing-Time" : "521ms", + "MS-CV" : "wba0mv0PD029f2DiugEbtQ.0", + "Body" : "{\"chatThread\":{\"id\":\"19:58-ntivBHejpgygSAU5li4gMSBMHf_GHHPdnRSVJ52g1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:33:18Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-ead3-3ef0-8b3a0d002910\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-ead3-3ef0-8b3a0d002910\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AJcuCYCTCNmV0CDYcUUKEU7M33fZ1Bb4ncXgvwX9a-yM1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3A58-ntivBHejpgygSAU5li4gMSBMHf_GHHPdnRSVJ52g1@thread.v2" }, "Exception" : null }, { "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "c78d4515-ecd2-44e9-97e9-b5775eaf8494", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "43ce0182-3080-44fc-a514-68065420e2e8", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003309Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000095mm", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:14 GMT", + "Date" : "Wed, 04 May 2022 00:33:10 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "71ms", - "MS-CV" : "Y1E+Wy5tcUS0CZHXbVqqHg.0", - "X-Azure-Ref" : "02z45YQAAAACVfYKFi1A1SqpL5+RyvIYzV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-2bf5-5d47-a63a0d000185\"}}", - "x-ms-client-request-id" : "c78d4515-ecd2-44e9-97e9-b5775eaf8494", + "X-Processing-Time" : "87ms", + "MS-CV" : "9VFSj0P2zE+jnWqWc5bhxg.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-f74f-69f0-553a0d0029ce\"}}", + "x-ms-client-request-id" : "43ce0182-3080-44fc-a514-68065420e2e8", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -177,132 +185,138 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "b9c98f8a-bb5e-48ae-9d9d-95b0e502543d", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "c2c240bc-4214-43b8-904e-32d530dc8322", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003312Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e6xe", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:14 GMT", + "Date" : "Wed, 04 May 2022 00:33:12 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "91ms", - "MS-CV" : "CqNGK7Md50at4WmBvHvH+Q.0", - "X-Azure-Ref" : "02z45YQAAAAAIdTwPSOwmRr9pRJa4PsK6V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-2c7f-6479-224822000154\"}}", - "x-ms-client-request-id" : "b9c98f8a-bb5e-48ae-9d9d-95b0e502543d", + "X-Processing-Time" : "86ms", + "MS-CV" : "daCu36WvbUKbjxcnJrdQow.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-f909-1252-573a0d002bdc\"}}", + "x-ms-client-request-id" : "c2c240bc-4214-43b8-904e-32d530dc8322", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:JcuCYCTCNmV0CDYcUUKEU7M33fZ1Bb4ncXgvwX9a-yM1@thread.v2/participants/:add?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:58-ntivBHejpgygSAU5li4gMSBMHf_GHHPdnRSVJ52g1@thread.v2/participants/:add?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "8dc6c6a4-c62e-4c2b-b2af-b02477750607", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "b283911c-0b48-414c-ad72-522a1be61987", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003310Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000095rg", "X-Cache" : "CONFIG_NOCACHE", - "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "307ms", - "MS-CV" : "KfdBoPxIEESIueHYwqUBYg.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", - "X-Azure-Ref" : "02z45YQAAAAAvwAv3pCEoRYcUdpWTM3zZV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "201", + "Date" : "Wed, 04 May 2022 00:33:11 GMT", + "Strict-Transport-Security" : "max-age=2592000", + "X-Processing-Time" : "348ms", + "MS-CV" : "RyHhgLBstEGaFUJ+WRy88Q.0", "Body" : "{}", - "Date" : "Wed, 08 Sep 2021 22:53:14 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:JcuCYCTCNmV0CDYcUUKEU7M33fZ1Bb4ncXgvwX9a-yM1@thread.v2/participants?maxPageSize=2&api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:58-ntivBHejpgygSAU5li4gMSBMHf_GHHPdnRSVJ52g1@thread.v2/participants?maxPageSize=2&api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "3d0f4bd8-26d1-421f-a871-af3aa011c32c" + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "8bb93c88-6c81-406d-adab-a21d17a37633" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003313Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e70x", "X-Cache" : "CONFIG_NOCACHE", - "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "134ms", - "MS-CV" : "zs32D0oNzUqmg5YJucZEoA.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", - "X-Azure-Ref" : "02z45YQAAAADCyT/wzl2aS5KMcEB6TbCOV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"value\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-257b-5d47-a63a0d000183\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-257b-5d47-a63a0d000183\"}},\"displayName\":\"Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-2602-6479-224822000153\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-2602-6479-224822000153\"}},\"displayName\":\"Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}],\"nextLink\":\"https://chat-prod-e2e.communication.azure.com/chat/threads/19:JcuCYCTCNmV0CDYcUUKEU7M33fZ1Bb4ncXgvwX9a-yM1@thread.v2/participants?skip=2&maxPageSize=2&api-version=2021-04-05-preview6\"}", - "Date" : "Wed, 08 Sep 2021 22:53:14 GMT", + "Date" : "Wed, 04 May 2022 00:33:13 GMT", + "Strict-Transport-Security" : "max-age=2592000", + "X-Processing-Time" : "134ms", + "MS-CV" : "OoibksgC5U2LYwAV8mje9Q.0", + "Body" : "{\"value\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-ead3-3ef0-8b3a0d002910\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-ead3-3ef0-8b3a0d002910\"}},\"displayName\":\"Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-ec78-655d-573a0d002495\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-ec78-655d-573a0d002495\"}},\"displayName\":\"Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}],\"nextLink\":\"https://chat-sdktester-e2e.communication.azure.com/chat/threads/19:58-ntivBHejpgygSAU5li4gMSBMHf_GHHPdnRSVJ52g1@thread.v2/participants?skip=2&maxPageSize=2&api-version=2021-09-07\"}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:JcuCYCTCNmV0CDYcUUKEU7M33fZ1Bb4ncXgvwX9a-yM1@thread.v2/participants?skip=2&maxPageSize=2&api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:58-ntivBHejpgygSAU5li4gMSBMHf_GHHPdnRSVJ52g1@thread.v2/participants?skip=2&maxPageSize=2&api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "b371ab9f-7b70-4021-9445-f6999dbd595a" + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "ca710b62-bbec-4790-ac82-c6a4e4bd1bc0" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003311Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000095v3", "X-Cache" : "CONFIG_NOCACHE", - "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "128ms", - "MS-CV" : "5l0XnGGxy0SCIilbSpZHjQ.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", - "X-Azure-Ref" : "02z45YQAAAABRROwwwnHBRryL+Ud4ie9bV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"value\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-2bf5-5d47-a63a0d000185\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-2bf5-5d47-a63a0d000185\"}},\"displayName\":\"Added Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-2c7f-6479-224822000154\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-2c7f-6479-224822000154\"}},\"displayName\":\"Added Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}]}", - "Date" : "Wed, 08 Sep 2021 22:53:15 GMT", + "Date" : "Wed, 04 May 2022 00:33:11 GMT", + "Strict-Transport-Security" : "max-age=2592000", + "X-Processing-Time" : "118ms", + "MS-CV" : "55MIusOmI0Ol8wPI9+MxZA.0", + "Body" : "{\"value\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-f74f-69f0-553a0d0029ce\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-f74f-69f0-553a0d0029ce\"}},\"displayName\":\"Added Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-f909-1252-573a0d002bdc\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-f909-1252-573a0d002bdc\"}},\"displayName\":\"Added Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}]}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:JcuCYCTCNmV0CDYcUUKEU7M33fZ1Bb4ncXgvwX9a-yM1@thread.v2/participants/:remove?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:58-ntivBHejpgygSAU5li4gMSBMHf_GHHPdnRSVJ52g1@thread.v2/participants/:remove?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "d9ca15f8-d198-4595-8451-80ed45cd8184", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "75c88806-de38-4ccd-abc4-b967d824b218", "Content-Type" : "application/json" }, "Response" : { + "x-azure-ref" : "20220504T003314Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e75f", "X-Cache" : "CONFIG_NOCACHE", "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "309ms", - "MS-CV" : "NEFWw1pWDUihJlT+9OMqJw.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "X-Processing-Time" : "243ms", + "Connection" : "keep-alive", + "MS-CV" : "cEFyv1UPF0axIyK/LXbBWA.0", "retry-after" : "0", - "X-Azure-Ref" : "03D45YQAAAABfNQXUo2/cS6UdeNFs4LqIV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Wed, 08 Sep 2021 22:53:15 GMT" + "Date" : "Wed, 04 May 2022 00:33:14 GMT" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:JcuCYCTCNmV0CDYcUUKEU7M33fZ1Bb4ncXgvwX9a-yM1@thread.v2/participants/:remove?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:58-ntivBHejpgygSAU5li4gMSBMHf_GHHPdnRSVJ52g1@thread.v2/participants/:remove?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "4f5f8231-2547-4209-830e-2e27c155034a", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "697c81c1-6dd1-41a8-8456-7c3035687e54", "Content-Type" : "application/json" }, "Response" : { + "x-azure-ref" : "20220504T003312Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000095yw", "X-Cache" : "CONFIG_NOCACHE", "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "190ms", - "MS-CV" : "xzyKjBvUCE2zJ7NMV7j7aw.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "X-Processing-Time" : "281ms", + "Connection" : "keep-alive", + "MS-CV" : "OhBSb6tf1k29ca8z51lv8g.0", "retry-after" : "0", - "X-Azure-Ref" : "03D45YQAAAADWUtdwWiUSQ4UQTiRrfBYWV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Wed, 08 Sep 2021 22:53:15 GMT" + "Date" : "Wed, 04 May 2022 00:33:12 GMT" }, "Exception" : null } ], diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canAddListAndRemoveParticipantsWithResponse[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canAddListAndRemoveParticipantsWithResponse[1].json index 8e04f08690b3d..6d54381f28da9 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canAddListAndRemoveParticipantsWithResponse[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canAddListAndRemoveParticipantsWithResponse[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "8a1d557c-8a83-488a-a7d7-a42426c9d754", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "0115c490-c380-431e-a840-bbd7e2e2064c", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003233Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008zf0", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:56 GMT", + "Date" : "Wed, 04 May 2022 00:32:33 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "63ms", - "MS-CV" : "6LMbniVWpk+1JkMw0jmgxw.0", - "X-Azure-Ref" : "0yT45YQAAAADWn6sTVNS7TpkvPZqL2oulV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-e620-5dbd-9f3a0d0000e8\"}}", - "x-ms-client-request-id" : "8a1d557c-8a83-488a-a7d7-a42426c9d754", + "X-Processing-Time" : "86ms", + "MS-CV" : "viT7sNbn+EiLIxvA1lCxwQ.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-67f4-1252-573a0d002bcc\"}}", + "x-ms-client-request-id" : "0115c490-c380-431e-a840-bbd7e2e2064c", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,23 +29,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "643a26db-60d5-403f-9487-71239d54bdcc", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "63b19a6c-d5f3-41fa-9173-f821a9178a9b", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003235Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e1vs", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:56 GMT", + "Date" : "Wed, 04 May 2022 00:32:36 GMT", "Strict-Transport-Security" : "max-age=2592000", "X-Processing-Time" : "89ms", - "MS-CV" : "3BPiLpo9j0yApQHGKGcB1g.0", - "X-Azure-Ref" : "0yT45YQAAAAB5dr2hj7UjQKoW5NRyy+Q3V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-e69f-6479-22482200014b\"}}", - "x-ms-client-request-id" : "643a26db-60d5-403f-9487-71239d54bdcc", + "MS-CV" : "zTn5y7fc/UOgBMFJsOIATg.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-698c-eef0-8b3a0d0022f4\"}}", + "x-ms-client-request-id" : "63b19a6c-d5f3-41fa-9173-f821a9178a9b", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -53,23 +55,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "78c801bc-3d5b-4e47-9191-f0f1ec2ada95", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "67780d88-a8ee-4571-9515-b76ad45e220c", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003233Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008zmm", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:56 GMT", + "Date" : "Wed, 04 May 2022 00:32:34 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "66ms", - "MS-CV" : "juhuXquKfkuOGCxBcjxHsA.0", - "X-Azure-Ref" : "0yT45YQAAAAAPq8/yoeWtTJtHeuMSFDV8V1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-e744-5dbd-9f3a0d0000e9\"}}", - "x-ms-client-request-id" : "78c801bc-3d5b-4e47-9191-f0f1ec2ada95", + "X-Processing-Time" : "88ms", + "MS-CV" : "7UVqjnE/+UKenruLXwkrXw.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-6b1b-defd-8b3a0d0028c9\"}}", + "x-ms-client-request-id" : "67780d88-a8ee-4571-9515-b76ad45e220c", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,95 +81,100 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "f3b8e1cd-4d52-4530-8713-591b3e66b105", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "8efd3794-d9fc-4028-a9ad-833f8096e7a4", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003236Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e1zz", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:56 GMT", + "Date" : "Wed, 04 May 2022 00:32:37 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "88ms", - "MS-CV" : "EHyzNugQL0eYUW7WpO9Pxw.0", - "X-Azure-Ref" : "0yT45YQAAAACuOrEJOVTwT4l3ar1auN0WV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-e7c5-6efa-234822000086\"}}", - "x-ms-client-request-id" : "f3b8e1cd-4d52-4530-8713-591b3e66b105", + "X-Processing-Time" : "87ms", + "MS-CV" : "06N+lw3oRk27yJRzuRbE2Q.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-6cea-fa5d-573a0d002991\"}}", + "x-ms-client-request-id" : "8efd3794-d9fc-4028-a9ad-833f8096e7a4", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-e620-5dbd-9f3a0d0000e8/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-67f4-1252-573a0d002bcc/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "9c8a9e7f-2b84-49ce-9407-a060fc62b497", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "82a027bb-02a0-4f2c-9724-b6d0ffbae57e", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003234Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008zt3", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:52:57 GMT", + "Date" : "Wed, 04 May 2022 00:32:35 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "142ms", - "MS-CV" : "iQj8rc6eiUC+CBMx/JrBiw.0", - "X-Azure-Ref" : "0yT45YQAAAACVYHvPVFBMQIa4MbGS8SXSV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:52:57.9577467+00:00\"}", - "x-ms-client-request-id" : "9c8a9e7f-2b84-49ce-9407-a060fc62b497", + "X-Processing-Time" : "163ms", + "MS-CV" : "4J6DvTJSjkyl1MkRklBKQQ.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:32:44.8111206+00:00\"}", + "x-ms-client-request-id" : "82a027bb-02a0-4f2c-9724-b6d0ffbae57e", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "110b9c9a-a5b0-4461-8efe-5e035458da4c", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "8bb32afc-cf55-41b7-9af6-7c492c100b31", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003237Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e251", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:58 GMT", + "Date" : "Wed, 04 May 2022 00:32:38 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "441ms", - "MS-CV" : "NwJ5lg8veE61OKJsoaRwFQ.0", - "X-Azure-Ref" : "0yT45YQAAAAA1jWTn6pjaSoxNFUoSEhyhV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:70wJyg3nxxgEPoTj52Ei1a0nAKMBM_cenDulVKdG-IM1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:52:58Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-e620-5dbd-9f3a0d0000e8\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-e620-5dbd-9f3a0d0000e8\"}}}}", + "X-Processing-Time" : "905ms", + "MS-CV" : "CuimAf78mUCakThRwt9ItQ.0", + "Body" : "{\"chatThread\":{\"id\":\"19:7OQ1R_um_ZClUvmlYO3PVjJWq9BhJRWyckFv8RyfTK41@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:32:45Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-67f4-1252-573a0d002bcc\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-67f4-1252-573a0d002bcc\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A70wJyg3nxxgEPoTj52Ei1a0nAKMBM_cenDulVKdG-IM1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3A7OQ1R_um_ZClUvmlYO3PVjJWq9BhJRWyckFv8RyfTK41@thread.v2" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:70wJyg3nxxgEPoTj52Ei1a0nAKMBM_cenDulVKdG-IM1@thread.v2/participants?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:7OQ1R_um_ZClUvmlYO3PVjJWq9BhJRWyckFv8RyfTK41@thread.v2/participants?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "bf9e804d-1e2f-487b-ab47-9a92c22c8bb4" + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "ea8e0846-fac2-4cfb-aca8-67e453e96bc0" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003236Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000009024", "X-Cache" : "CONFIG_NOCACHE", - "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "156ms", - "MS-CV" : "3e1g1kZRMUSvYTq4UFxgCQ.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", - "X-Azure-Ref" : "0yz45YQAAAABhHR1bLOf5RrsAI5OqpNd4V1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"value\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-e620-5dbd-9f3a0d0000e8\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-e620-5dbd-9f3a0d0000e8\"}},\"displayName\":\"Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-e69f-6479-22482200014b\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-e69f-6479-22482200014b\"}},\"displayName\":\"Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}]}", - "Date" : "Wed, 08 Sep 2021 22:52:58 GMT", + "Date" : "Wed, 04 May 2022 00:32:36 GMT", + "Strict-Transport-Security" : "max-age=2592000", + "X-Processing-Time" : "159ms", + "MS-CV" : "teGzevkfS0ir2iVVAUpydA.0", + "Body" : "{\"value\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-67f4-1252-573a0d002bcc\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-67f4-1252-573a0d002bcc\"}},\"displayName\":\"Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-698c-eef0-8b3a0d0022f4\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-698c-eef0-8b3a0d0022f4\"}},\"displayName\":\"Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}]}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canAddListAndRemoveParticipants[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canAddListAndRemoveParticipants[1].json index 9a6cce57f653e..6a8d49a6cf1cf 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canAddListAndRemoveParticipants[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canAddListAndRemoveParticipants[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "84e8a240-4a72-45b0-985b-fd238bf61c1a", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "b371dc69-5153-4a9c-b373-be976fdeb197", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003300Z-3knzm6g59904z2v1e8tfw6gqqn000000060g00000000947q", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:10 GMT", + "Date" : "Wed, 04 May 2022 00:33:01 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "68ms", - "MS-CV" : "+Fk3FaNChkm4WdxqUpmBig.0", - "X-Azure-Ref" : "01j45YQAAAAB9KJCKTf5xSrC/AhW7HjDtV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-1bcd-5d47-a63a0d000180\"}}", - "x-ms-client-request-id" : "84e8a240-4a72-45b0-985b-fd238bf61c1a", + "X-Processing-Time" : "88ms", + "MS-CV" : "alahbMk2xkSundSRBjdNrw.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-d3cc-3ef0-8b3a0d00290c\"}}", + "x-ms-client-request-id" : "b371dc69-5153-4a9c-b373-be976fdeb197", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,23 +29,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "98663914-a362-4690-b12f-ae7f5c4b2515", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "9ad3feb7-0c63-4165-a300-a02c66a2fb2e", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003303Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e5rx", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:10 GMT", + "Date" : "Wed, 04 May 2022 00:33:03 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "88ms", - "MS-CV" : "5lc8wRWTQ0Cw40jrBGjoKA.0", - "X-Azure-Ref" : "01z45YQAAAADsuzUZI7KSTpSX0JCdid+6V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-1c56-6efa-23482200008d\"}}", - "x-ms-client-request-id" : "98663914-a362-4690-b12f-ae7f5c4b2515", + "X-Processing-Time" : "85ms", + "MS-CV" : "2EOn3dlBt0yWJLcLL8yihQ.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-d57c-defd-8b3a0d0028d0\"}}", + "x-ms-client-request-id" : "9ad3feb7-0c63-4165-a300-a02c66a2fb2e", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -53,23 +55,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "2d4b55e0-5686-4093-9f56-4150a938f9a0", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "263d420a-fdde-44cc-827d-bebc276837d8", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003301Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000094c2", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:10 GMT", + "Date" : "Wed, 04 May 2022 00:33:01 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "65ms", - "MS-CV" : "/vGKJ9JMHkKBBd+N6T4YOQ.0", - "X-Azure-Ref" : "01z45YQAAAADn2P89bfbaTJVL0YyZ6QN2V1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-1cf1-5d47-a63a0d000181\"}}", - "x-ms-client-request-id" : "2d4b55e0-5686-4093-9f56-4150a938f9a0", + "X-Processing-Time" : "88ms", + "MS-CV" : "PCoYHNDUcU2H8LblyLrjlA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-d710-92fd-8b3a0d00294d\"}}", + "x-ms-client-request-id" : "263d420a-fdde-44cc-827d-bebc276837d8", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,97 +81,102 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "2b07567f-9c6f-4c44-acb7-1ecaea552954", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "bb42b7c7-9660-4565-a2a0-920bb59c20ec", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003304Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e5uw", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:10 GMT", + "Date" : "Wed, 04 May 2022 00:33:04 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "87ms", - "MS-CV" : "RWQkhEMr2UuRKcJniUsYgg.0", - "X-Azure-Ref" : "01z45YQAAAAD+cH5aBy5BRa/dgK+4ud7UV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-1d74-6479-224822000152\"}}", - "x-ms-client-request-id" : "2b07567f-9c6f-4c44-acb7-1ecaea552954", + "X-Processing-Time" : "83ms", + "MS-CV" : "mqaaV7M0NEOs9bLMmRUcqw.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-d8a7-1252-573a0d002bd6\"}}", + "x-ms-client-request-id" : "bb42b7c7-9660-4565-a2a0-920bb59c20ec", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-1bcd-5d47-a63a0d000180/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-d3cc-3ef0-8b3a0d00290c/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "b4af7fdd-fd37-4d2a-9295-fdcac3ab1fac", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "f2f60738-7810-4ab6-bc03-466c964508b0", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003302Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000094fb", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:53:10 GMT", + "Date" : "Wed, 04 May 2022 00:33:02 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "154ms", - "MS-CV" : "LbWE+Cd4pEOKLd3l9xyT/w.0", - "X-Azure-Ref" : "01z45YQAAAAAZQxlGzeEMTrRLQ4oDoA7/V1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:53:11.6984889+00:00\"}", - "x-ms-client-request-id" : "b4af7fdd-fd37-4d2a-9295-fdcac3ab1fac", + "X-Processing-Time" : "159ms", + "MS-CV" : "tmdNtV/+FkavbPV+xbQmWQ.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:33:12.3973386+00:00\"}", + "x-ms-client-request-id" : "f2f60738-7810-4ab6-bc03-466c964508b0", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "04ef2a7f-3a29-4d9b-bc03-4fb6d3b60b2d", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "6d6ff11f-bd07-4027-9a06-eef82538b30b", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003305Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e5zs", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:11 GMT", + "Date" : "Wed, 04 May 2022 00:33:05 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "362ms", - "MS-CV" : "Vu5FonR3bEinH+KdUFsnbQ.0", - "X-Azure-Ref" : "01z45YQAAAAAvFR2s3B/mSpxuRwWheo8dV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:IVoiuWfZRbm2TAs5cODBFsil7xsHwvygCFJwENUrt_I1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:53:11Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-1bcd-5d47-a63a0d000180\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-1bcd-5d47-a63a0d000180\"}}}}", + "X-Processing-Time" : "532ms", + "MS-CV" : "lBPsoYdVUU6YJp0ZoZiOkQ.0", + "Body" : "{\"chatThread\":{\"id\":\"19:xk4ddZ8xCWv9uB0xk-uwXvNfUrtmCmxKDu1ShY6AfDs1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:33:12Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-d3cc-3ef0-8b3a0d00290c\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-d3cc-3ef0-8b3a0d00290c\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AIVoiuWfZRbm2TAs5cODBFsil7xsHwvygCFJwENUrt_I1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3Axk4ddZ8xCWv9uB0xk-uwXvNfUrtmCmxKDu1ShY6AfDs1@thread.v2" }, "Exception" : null }, { "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "b99d0d45-18f5-400b-b219-f81e8d2f747e", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "14d36350-b82b-4e40-bbac-84f27f834a5c", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003303Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000094pe", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:11 GMT", + "Date" : "Wed, 04 May 2022 00:33:03 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "71ms", - "MS-CV" : "PIl6438SIUuD75OK+TQIow.0", - "X-Azure-Ref" : "02D45YQAAAAByDyidZhvaS7PWzKHvokdDV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-2062-5d47-a63a0d000182\"}}", - "x-ms-client-request-id" : "b99d0d45-18f5-400b-b219-f81e8d2f747e", + "X-Processing-Time" : "89ms", + "MS-CV" : "5dX1tNhBoEOHvjvCnIN5iw.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-debf-92fd-8b3a0d00294e\"}}", + "x-ms-client-request-id" : "14d36350-b82b-4e40-bbac-84f27f834a5c", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -177,110 +185,115 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "58d5bd5b-68e3-4b44-8c2d-2f5652f3fcac", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "ce37df6e-809b-4752-a495-e75ba2c5a1c1", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003306Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e640", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:11 GMT", + "Date" : "Wed, 04 May 2022 00:33:06 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "88ms", - "MS-CV" : "0IzCXXDV3kqJMzRKiRRz9Q.0", - "X-Azure-Ref" : "02D45YQAAAAAWG9bHoB0MQLBL5pwcVnT7V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-20ea-6efa-23482200008e\"}}", - "x-ms-client-request-id" : "58d5bd5b-68e3-4b44-8c2d-2f5652f3fcac", + "X-Processing-Time" : "86ms", + "MS-CV" : "9i1fbWFYC0yXeAlvhewoxg.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-dffa-1252-573a0d002bd7\"}}", + "x-ms-client-request-id" : "ce37df6e-809b-4752-a495-e75ba2c5a1c1", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:IVoiuWfZRbm2TAs5cODBFsil7xsHwvygCFJwENUrt_I1@thread.v2/participants/:add?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:xk4ddZ8xCWv9uB0xk-uwXvNfUrtmCmxKDu1ShY6AfDs1@thread.v2/participants/:add?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "9db3227d-9594-408c-813b-4a551c548363", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "bb8e9fc6-42e2-46a9-a730-be089d47744b", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003304Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000094ue", "X-Cache" : "CONFIG_NOCACHE", - "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "220ms", - "MS-CV" : "dwyzjWGnrESc12lOiumelQ.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", - "X-Azure-Ref" : "02D45YQAAAADdCJ6dUqEaR6OkKc6lPdqRV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "201", + "Date" : "Wed, 04 May 2022 00:33:05 GMT", + "Strict-Transport-Security" : "max-age=2592000", + "X-Processing-Time" : "368ms", + "MS-CV" : "P88ni4aJB0+o6KllWE+lqg.0", "Body" : "{}", - "Date" : "Wed, 08 Sep 2021 22:53:11 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:IVoiuWfZRbm2TAs5cODBFsil7xsHwvygCFJwENUrt_I1@thread.v2/participants?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:xk4ddZ8xCWv9uB0xk-uwXvNfUrtmCmxKDu1ShY6AfDs1@thread.v2/participants?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "ffc52281-32c8-403f-a33f-f6a09334aab7" + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "15c688d9-fd2a-4f5c-ab8a-5e68d18e8e2a" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003307Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e69z", "X-Cache" : "CONFIG_NOCACHE", - "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "249ms", - "MS-CV" : "7KJVfYT9a0upqG4M9TtKYQ.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", - "X-Azure-Ref" : "02D45YQAAAACYPRa96MXYR5GMOk7Rx447V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"value\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-1bcd-5d47-a63a0d000180\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-1bcd-5d47-a63a0d000180\"}},\"displayName\":\"Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-1c56-6efa-23482200008d\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-1c56-6efa-23482200008d\"}},\"displayName\":\"Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-2062-5d47-a63a0d000182\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-2062-5d47-a63a0d000182\"}},\"displayName\":\"Added Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-20ea-6efa-23482200008e\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-20ea-6efa-23482200008e\"}},\"displayName\":\"Added Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}]}", - "Date" : "Wed, 08 Sep 2021 22:53:12 GMT", + "Date" : "Wed, 04 May 2022 00:33:07 GMT", + "Strict-Transport-Security" : "max-age=2592000", + "X-Processing-Time" : "86ms", + "MS-CV" : "G+qLUThPCkCH89ZICgycWA.0", + "Body" : "{\"value\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-d3cc-3ef0-8b3a0d00290c\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-d3cc-3ef0-8b3a0d00290c\"}},\"displayName\":\"Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-d57c-defd-8b3a0d0028d0\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-d57c-defd-8b3a0d0028d0\"}},\"displayName\":\"Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-debf-92fd-8b3a0d00294e\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-debf-92fd-8b3a0d00294e\"}},\"displayName\":\"Added Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-dffa-1252-573a0d002bd7\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-dffa-1252-573a0d002bd7\"}},\"displayName\":\"Added Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}]}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:IVoiuWfZRbm2TAs5cODBFsil7xsHwvygCFJwENUrt_I1@thread.v2/participants/:remove?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:xk4ddZ8xCWv9uB0xk-uwXvNfUrtmCmxKDu1ShY6AfDs1@thread.v2/participants/:remove?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "531da337-5667-43ca-a4b3-a7c8c2dca874", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "f9aff5c2-749b-4dd8-9762-538c008bf755", "Content-Type" : "application/json" }, "Response" : { + "x-azure-ref" : "20220504T003305Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000094y2", "X-Cache" : "CONFIG_NOCACHE", "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "198ms", - "MS-CV" : "l8N1QxebKU2VDA5Zbbw16w.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "X-Processing-Time" : "321ms", + "Connection" : "keep-alive", + "MS-CV" : "JBpqc88G4kOAStqBeBxI/Q.0", "retry-after" : "0", - "X-Azure-Ref" : "02D45YQAAAAAHur4LkB6JS47/ST6fXKOpV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Wed, 08 Sep 2021 22:53:12 GMT" + "Date" : "Wed, 04 May 2022 00:33:05 GMT" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:IVoiuWfZRbm2TAs5cODBFsil7xsHwvygCFJwENUrt_I1@thread.v2/participants/:remove?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:xk4ddZ8xCWv9uB0xk-uwXvNfUrtmCmxKDu1ShY6AfDs1@thread.v2/participants/:remove?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "55eeb2a2-3a3c-4b87-a5a0-8dee771ec0af", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "02d83f22-49f0-42f3-8050-c815c681d295", "Content-Type" : "application/json" }, "Response" : { + "x-azure-ref" : "20220504T003308Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e6d0", "X-Cache" : "CONFIG_NOCACHE", "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "165ms", - "MS-CV" : "a/aBmbyAo0+WLDUU01oADQ.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "X-Processing-Time" : "340ms", + "Connection" : "keep-alive", + "MS-CV" : "NS0LRJ0GLE+0GLc7Jkld5g.0", "retry-after" : "0", - "X-Azure-Ref" : "02T45YQAAAADC60lN/uE+QaU4GAGjDYz7V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Wed, 08 Sep 2021 22:53:12 GMT" + "Date" : "Wed, 04 May 2022 00:33:08 GMT" }, "Exception" : null } ], diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canAddSingleParticipantWithResponse[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canAddSingleParticipantWithResponse[1].json index 190c831ffc155..06a9f4eae5e97 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canAddSingleParticipantWithResponse[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canAddSingleParticipantWithResponse[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "11a8a0da-95c4-4312-a368-25f618d0f376", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "2647d3b6-81bd-4063-92b9-9deadfcc2324", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003346Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000009bqn", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:30 GMT", + "Date" : "Wed, 04 May 2022 00:33:47 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "70ms", - "MS-CV" : "Ye43ki/yMkiM6AC/y1L8bQ.0", - "X-Azure-Ref" : "06j45YQAAAADfL3DymcgxQ5LOMIaf8dXfV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-696d-5d47-a63a0d000199\"}}", - "x-ms-client-request-id" : "11a8a0da-95c4-4312-a368-25f618d0f376", + "X-Processing-Time" : "91ms", + "MS-CV" : "8YXasDHWBU22lJqTykowMA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-87f5-92fd-8b3a0d00295f\"}}", + "x-ms-client-request-id" : "2647d3b6-81bd-4063-92b9-9deadfcc2324", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,23 +29,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "09ac051b-5e7e-496c-aa61-9e713feeb206", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "37b1a16f-acbe-42be-809b-4e121b59679f", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003349Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000ebtm", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:30 GMT", + "Date" : "Wed, 04 May 2022 00:33:50 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "88ms", - "MS-CV" : "AkQgQ0L/4UGJmWrgzpkDhw.0", - "X-Azure-Ref" : "06j45YQAAAAAsT5wJK/NvT4zgtmxRfZ2UV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-69f3-6efa-234822000099\"}}", - "x-ms-client-request-id" : "09ac051b-5e7e-496c-aa61-9e713feeb206", + "X-Processing-Time" : "87ms", + "MS-CV" : "dB3zGOxbGUqBZR3nSrHTnw.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-8a13-fa5d-573a0d0029b4\"}}", + "x-ms-client-request-id" : "37b1a16f-acbe-42be-809b-4e121b59679f", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -53,23 +55,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "65ec1752-33c3-4ca0-88a6-c969ec0c830f", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "92dc08f7-ff38-4a04-b7c5-bd25cf1d76c0", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003348Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000009bzr", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:30 GMT", + "Date" : "Wed, 04 May 2022 00:33:48 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "72ms", - "MS-CV" : "Orif8TiaF06IzlOupht3yQ.0", - "X-Azure-Ref" : "06z45YQAAAAAjY5QXouEeRrDNPz+S+lAXV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-6a91-5d47-a63a0d00019a\"}}", - "x-ms-client-request-id" : "65ec1752-33c3-4ca0-88a6-c969ec0c830f", + "X-Processing-Time" : "89ms", + "MS-CV" : "SrWdXv1UHk+IT3lxd6Ndrg.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-8cbf-3ef0-8b3a0d002928\"}}", + "x-ms-client-request-id" : "92dc08f7-ff38-4a04-b7c5-bd25cf1d76c0", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,143 +81,150 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "725cbf12-5813-4137-b3de-06bef1872ce0", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "bec77863-3de3-47f5-8b67-546ce214d2d2", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003350Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000ebyh", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:30 GMT", + "Date" : "Wed, 04 May 2022 00:33:51 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "86ms", - "MS-CV" : "yR6En432z0qq/TckzqL0GQ.0", - "X-Azure-Ref" : "06z45YQAAAAB61kYWDPYfR7wohAc8XtXVV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-6b1c-6479-22482200015e\"}}", - "x-ms-client-request-id" : "725cbf12-5813-4137-b3de-06bef1872ce0", + "X-Processing-Time" : "88ms", + "MS-CV" : "IwXYXkqV70uPGIicBJQlGA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-8f20-defd-8b3a0d0028dd\"}}", + "x-ms-client-request-id" : "bec77863-3de3-47f5-8b67-546ce214d2d2", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-696d-5d47-a63a0d000199/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-87f5-92fd-8b3a0d00295f/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "68d5a7e9-4aed-448e-a6b8-256750180182", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "c2da6c48-6786-45c2-805a-a94d66ced6d6", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003349Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000009c7g", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:53:30 GMT", + "Date" : "Wed, 04 May 2022 00:33:49 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "143ms", - "MS-CV" : "p//dL4SU/k+pId9vRNlemg.0", - "X-Azure-Ref" : "06z45YQAAAAADccE+FGl8QbhQIvsiVlKFV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:53:31.5708914+00:00\"}", - "x-ms-client-request-id" : "68d5a7e9-4aed-448e-a6b8-256750180182", + "X-Processing-Time" : "159ms", + "MS-CV" : "jNn1GS7hVEKXBsAhRpcnKg.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:33:59.2804801+00:00\"}", + "x-ms-client-request-id" : "c2da6c48-6786-45c2-805a-a94d66ced6d6", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "2b0537e4-090d-4d21-86f0-e50b21b53787", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "bb72bcc7-901a-41c5-a900-2091a8736f2d", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003352Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000ec3c", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:31 GMT", + "Date" : "Wed, 04 May 2022 00:33:52 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "353ms", - "MS-CV" : "9u6SFTs1l0eO+v5pbWK86w.0", - "X-Azure-Ref" : "06z45YQAAAAAiHAr7tPJ/Qot1kRkbnqIeV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:NfBU9Wdb2F9ge4cv76cGCv8KLyRwwp6SX8QIus-YCks1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:53:31Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-696d-5d47-a63a0d000199\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-696d-5d47-a63a0d000199\"}}}}", + "X-Processing-Time" : "524ms", + "MS-CV" : "pP8BT9hOcE+E2MQWEjWTrg.0", + "Body" : "{\"chatThread\":{\"id\":\"19:4-TphRYu4Zbqja9jaYk-QK_NIhDD-dYPyFjLGQjmIlc1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:33:59Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-87f5-92fd-8b3a0d00295f\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-87f5-92fd-8b3a0d00295f\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3ANfBU9Wdb2F9ge4cv76cGCv8KLyRwwp6SX8QIus-YCks1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3A4-TphRYu4Zbqja9jaYk-QK_NIhDD-dYPyFjLGQjmIlc1@thread.v2" }, "Exception" : null }, { "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "936371dc-7a5d-454b-997e-49424a332c3d", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "f7696098-5ca6-47e7-902a-dc91d539dcca", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003350Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000009cf9", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:31 GMT", + "Date" : "Wed, 04 May 2022 00:33:50 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "71ms", - "MS-CV" : "EsAiTvFzyk6vgVbXXVTVTA.0", - "X-Azure-Ref" : "06z45YQAAAAACPbEX3R4ERbyx7EtMZ6IbV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-6dfd-5d47-a63a0d00019b\"}}", - "x-ms-client-request-id" : "936371dc-7a5d-454b-997e-49424a332c3d", + "X-Processing-Time" : "89ms", + "MS-CV" : "1I4AAICcs023Fr+/D12O8A.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-9693-defd-8b3a0d0028de\"}}", + "x-ms-client-request-id" : "f7696098-5ca6-47e7-902a-dc91d539dcca", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:NfBU9Wdb2F9ge4cv76cGCv8KLyRwwp6SX8QIus-YCks1@thread.v2/participants/:add?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:4-TphRYu4Zbqja9jaYk-QK_NIhDD-dYPyFjLGQjmIlc1@thread.v2/participants/:add?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "b8dc3c74-cda0-46e7-bd4a-c343dec8ccd9", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "b85b71df-93a9-46a9-8e3f-820b681f453c", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003353Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000ec8f", "X-Cache" : "CONFIG_NOCACHE", - "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "152ms", - "MS-CV" : "tYa2VZA0ikSnLtL1+/HdWQ.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", - "X-Azure-Ref" : "07D45YQAAAAD3LFQSikLHTqw2wOd6N3Q5V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "201", + "Date" : "Wed, 04 May 2022 00:33:53 GMT", + "Strict-Transport-Security" : "max-age=2592000", + "X-Processing-Time" : "298ms", + "MS-CV" : "vCbWVFG8qE6qq82UaQXBzA.0", "Body" : "{}", - "Date" : "Wed, 08 Sep 2021 22:53:31 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:NfBU9Wdb2F9ge4cv76cGCv8KLyRwwp6SX8QIus-YCks1@thread.v2/participants?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:4-TphRYu4Zbqja9jaYk-QK_NIhDD-dYPyFjLGQjmIlc1@thread.v2/participants?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "b72394ab-e1e0-4f8c-9994-b833dd6dfa9f" + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "005e3882-3be7-4db0-a775-5ea2023dccd8" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003351Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000009cn3", "X-Cache" : "CONFIG_NOCACHE", - "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "110ms", - "MS-CV" : "/hGlti/WAEKBMYxOhtdDHA.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", - "X-Azure-Ref" : "07D45YQAAAACioTd9rC5tSbiT5VPulOWCV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"value\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-696d-5d47-a63a0d000199\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-696d-5d47-a63a0d000199\"}},\"displayName\":\"Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-69f3-6efa-234822000099\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-69f3-6efa-234822000099\"}},\"displayName\":\"Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-6dfd-5d47-a63a0d00019b\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-6dfd-5d47-a63a0d00019b\"}},\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}]}", - "Date" : "Wed, 08 Sep 2021 22:53:31 GMT", + "Date" : "Wed, 04 May 2022 00:33:51 GMT", + "Strict-Transport-Security" : "max-age=2592000", + "X-Processing-Time" : "124ms", + "MS-CV" : "w/4CrZabakSXA6i/bgG1Sg.0", + "Body" : "{\"value\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-87f5-92fd-8b3a0d00295f\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-87f5-92fd-8b3a0d00295f\"}},\"displayName\":\"Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-8a13-fa5d-573a0d0029b4\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-8a13-fa5d-573a0d0029b4\"}},\"displayName\":\"Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-9693-defd-8b3a0d0028de\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-9693-defd-8b3a0d0028de\"}},\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}]}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canAddSingleParticipant[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canAddSingleParticipant[1].json index f7102068428ec..49f87674aa9e1 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canAddSingleParticipant[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canAddSingleParticipant[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "cd555b32-5107-438e-95fb-e4485ede5bbf", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "ff509cb6-ceb5-426a-adb1-ef42e36e0dfa", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003354Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000ecc4", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:31 GMT", + "Date" : "Wed, 04 May 2022 00:33:54 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "93ms", - "MS-CV" : "pLOSU3HmLkSj7msGAzS67A.0", - "X-Azure-Ref" : "07D45YQAAAAANi7e3AF/7QoN3Bo7IwoGzV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-6fe1-6efa-23482200009a\"}}", - "x-ms-client-request-id" : "cd555b32-5107-438e-95fb-e4485ede5bbf", + "X-Processing-Time" : "87ms", + "MS-CV" : "rG7vDYqOT069MBEbHFGANQ.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-9b09-eef0-8b3a0d00230f\"}}", + "x-ms-client-request-id" : "ff509cb6-ceb5-426a-adb1-ef42e36e0dfa", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,23 +29,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "bfa66fb9-5393-462f-b1e9-28f65387a51d", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "928e1bb6-adc8-4d69-a2da-269c367018b6", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003352Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000009cr5", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:31 GMT", + "Date" : "Wed, 04 May 2022 00:33:52 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "71ms", - "MS-CV" : "osMecWMpC0G045RMG62+sA.0", - "X-Azure-Ref" : "07D45YQAAAAAlMTJm7CelS5GbuoorxP1uV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-7080-5d47-a63a0d00019c\"}}", - "x-ms-client-request-id" : "bfa66fb9-5393-462f-b1e9-28f65387a51d", + "X-Processing-Time" : "94ms", + "MS-CV" : "i6ecw2EVZ0KnidkTnCDmww.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-9cad-7bfa-553a0d0022d9\"}}", + "x-ms-client-request-id" : "928e1bb6-adc8-4d69-a2da-269c367018b6", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -53,23 +55,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "9ef76d06-3538-4c3a-bc78-388b179a5e06", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "0c0b452f-79e8-46a6-ab4e-7dd36e580848", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003354Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000ecfx", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:31 GMT", + "Date" : "Wed, 04 May 2022 00:33:55 GMT", "Strict-Transport-Security" : "max-age=2592000", "X-Processing-Time" : "94ms", - "MS-CV" : "4Cn1LKpujEaS/KorOn3KYg.0", - "X-Azure-Ref" : "07D45YQAAAADS1Cgxs/DhQZVZXDUE5RW8V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-7106-6479-22482200015f\"}}", - "x-ms-client-request-id" : "9ef76d06-3538-4c3a-bc78-388b179a5e06", + "MS-CV" : "FEisOVr3+UqQOKSoQ1MBBA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-9ea0-defd-8b3a0d0028df\"}}", + "x-ms-client-request-id" : "0c0b452f-79e8-46a6-ab4e-7dd36e580848", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,143 +81,150 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "e6ea0bea-c079-4e2e-a006-3a156d68e847", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "8abb0939-3f49-4a79-b661-54b49ce4f25a", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003353Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000009cwn", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:32 GMT", + "Date" : "Wed, 04 May 2022 00:33:53 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "65ms", - "MS-CV" : "RGqw39vtd0uc/GS1qhTs0w.0", - "X-Azure-Ref" : "07D45YQAAAADnPdVkjf9eRL95CqA7R4y1V1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-71a0-5d47-a63a0d00019d\"}}", - "x-ms-client-request-id" : "e6ea0bea-c079-4e2e-a006-3a156d68e847", + "X-Processing-Time" : "91ms", + "MS-CV" : "YrJsZaSoQEaArKp5aL09PA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-a0fa-1252-573a0d002bed\"}}", + "x-ms-client-request-id" : "8abb0939-3f49-4a79-b661-54b49ce4f25a", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-6fe1-6efa-23482200009a/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-9b09-eef0-8b3a0d00230f/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "450a4bf2-a337-42f5-ad95-e7c97495fd1e", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "e55d359d-1dcb-45f4-a162-959a05263f4e", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003355Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000ecmu", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:53:32 GMT", + "Date" : "Wed, 04 May 2022 00:33:56 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "162ms", - "MS-CV" : "q3BU/zH+H0euPYbXnmZwog.0", - "X-Azure-Ref" : "07T45YQAAAACOGz2aHUCtQYnwA/ikoc3RV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:53:33.2326074+00:00\"}", - "x-ms-client-request-id" : "450a4bf2-a337-42f5-ad95-e7c97495fd1e", + "X-Processing-Time" : "158ms", + "MS-CV" : "1tdboxS7YkaFchnEhpAkJw.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:34:03.6741278+00:00\"}", + "x-ms-client-request-id" : "e55d359d-1dcb-45f4-a162-959a05263f4e", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "571bbd5f-7122-450e-97bf-c85117381b8e", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "b0100fd7-d45d-4f3a-8ad2-1bcc7a5052e6", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003354Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000009d2y", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:32 GMT", + "Date" : "Wed, 04 May 2022 00:33:54 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "388ms", - "MS-CV" : "QZWCt7WPAUONKJFSNpLPKA.0", - "X-Azure-Ref" : "07T45YQAAAACDoo4g9dpET4EtlOXpXS2KV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:ZzsYvrtnCTKcMWwOg2i5bz6rSGnxjZgVn64MOe6dvUk1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:53:33Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-6fe1-6efa-23482200009a\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-6fe1-6efa-23482200009a\"}}}}", + "X-Processing-Time" : "535ms", + "MS-CV" : "nKniXPYDHU+o7UXB/pxmPg.0", + "Body" : "{\"chatThread\":{\"id\":\"19:Y8bTmqwlM9Ac9gIvvw14pr3GhgrWkxpi_39cCkkD4gE1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:34:03Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-9b09-eef0-8b3a0d00230f\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-9b09-eef0-8b3a0d00230f\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AZzsYvrtnCTKcMWwOg2i5bz6rSGnxjZgVn64MOe6dvUk1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AY8bTmqwlM9Ac9gIvvw14pr3GhgrWkxpi_39cCkkD4gE1@thread.v2" }, "Exception" : null }, { "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "54d630ca-a6ee-415a-a7a6-283b4539eb7f", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "f45e1a9d-1af8-494f-ad9b-b0aa5da13e49", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003357Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000ecs0", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:32 GMT", + "Date" : "Wed, 04 May 2022 00:33:57 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "89ms", - "MS-CV" : "xRSqG2Go60SM0RhwBQmMIA.0", - "X-Azure-Ref" : "07T45YQAAAACHkLaPomdhQ5FW1PUkvZa0V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-74b5-6479-224822000160\"}}", - "x-ms-client-request-id" : "54d630ca-a6ee-415a-a7a6-283b4539eb7f", + "X-Processing-Time" : "88ms", + "MS-CV" : "BbTLH5AtXU2UGJ7SKIDzsg.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-a71e-fa5d-573a0d0029b6\"}}", + "x-ms-client-request-id" : "f45e1a9d-1af8-494f-ad9b-b0aa5da13e49", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:ZzsYvrtnCTKcMWwOg2i5bz6rSGnxjZgVn64MOe6dvUk1@thread.v2/participants/:add?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:Y8bTmqwlM9Ac9gIvvw14pr3GhgrWkxpi_39cCkkD4gE1@thread.v2/participants/:add?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "7c94448a-b37a-49c7-844a-06109e858d09", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "dbc022cf-54b6-4113-8847-1031af9ffdfb", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003355Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000009d9m", "X-Cache" : "CONFIG_NOCACHE", - "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "166ms", - "MS-CV" : "6pxd0N9jaEqSLYxCRy9/Yg.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", - "X-Azure-Ref" : "07T45YQAAAABt78nNt25xRp53LgFzWUF0V1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "201", + "Date" : "Wed, 04 May 2022 00:33:55 GMT", + "Strict-Transport-Security" : "max-age=2592000", + "X-Processing-Time" : "156ms", + "MS-CV" : "4BzwJIIR8kO84L0+LK8m3Q.0", "Body" : "{}", - "Date" : "Wed, 08 Sep 2021 22:53:33 GMT", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:ZzsYvrtnCTKcMWwOg2i5bz6rSGnxjZgVn64MOe6dvUk1@thread.v2/participants?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:Y8bTmqwlM9Ac9gIvvw14pr3GhgrWkxpi_39cCkkD4gE1@thread.v2/participants?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "55c21967-ebc1-4ceb-9f68-0ba2ab7e0ffb" + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "58f5ce95-24a4-4c4f-8e45-88b1a9807894" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003357Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000ecwg", "X-Cache" : "CONFIG_NOCACHE", - "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "106ms", - "MS-CV" : "UuA7+N+iqESfy5tC97eGZQ.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", - "X-Azure-Ref" : "07j45YQAAAAA6Z80PARNcRbHWgGbgkkXSV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"value\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-6fe1-6efa-23482200009a\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-6fe1-6efa-23482200009a\"}},\"displayName\":\"Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-7080-5d47-a63a0d00019c\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-7080-5d47-a63a0d00019c\"}},\"displayName\":\"Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-74b5-6479-224822000160\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-74b5-6479-224822000160\"}},\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}]}", - "Date" : "Wed, 08 Sep 2021 22:53:33 GMT", + "Date" : "Wed, 04 May 2022 00:33:58 GMT", + "Strict-Transport-Security" : "max-age=2592000", + "X-Processing-Time" : "234ms", + "MS-CV" : "aTeIct/k6Umr6XOHu9gcUg.0", + "Body" : "{\"value\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-9b09-eef0-8b3a0d00230f\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-9b09-eef0-8b3a0d00230f\"}},\"displayName\":\"Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-9cad-7bfa-553a0d0022d9\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-9cad-7bfa-553a0d0022d9\"}},\"displayName\":\"Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-a71e-fa5d-573a0d0029b6\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-a71e-fa5d-573a0d0029b6\"}},\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}]}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canDeleteExistingMessageWithResponse[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canDeleteExistingMessageWithResponse[1].json index f7a93c2fe536c..61a790c20ff28 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canDeleteExistingMessageWithResponse[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canDeleteExistingMessageWithResponse[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "46d09494-4114-46cd-933d-399cdfe4fa72", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "a68181eb-1813-4844-ba01-75040a4f3cfb", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003256Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000093h5", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:08 GMT", + "Date" : "Wed, 04 May 2022 00:32:57 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "68ms", - "MS-CV" : "/SVAKIP30E+hbSYQ2p74cA.0", - "X-Azure-Ref" : "01T45YQAAAACTT1uJOySeTZd+TxUMwN3dV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-14cf-5d47-a63a0d00017e\"}}", - "x-ms-client-request-id" : "46d09494-4114-46cd-933d-399cdfe4fa72", + "X-Processing-Time" : "88ms", + "MS-CV" : "wUnvLzjnaEutl/GKbTQ36w.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-c3df-fa5d-573a0d00299c\"}}", + "x-ms-client-request-id" : "a68181eb-1813-4844-ba01-75040a4f3cfb", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,23 +29,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "49699661-2549-48b1-bf0a-c8bf862dc58d", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "142bb979-d590-448f-b773-7c920d5e900e", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003259Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e587", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:08 GMT", + "Date" : "Wed, 04 May 2022 00:32:59 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "86ms", - "MS-CV" : "2Sb0UXQOikCdy78lq9whDQ.0", - "X-Azure-Ref" : "01T45YQAAAAAcHe5sg7lKT4qZUKwXBRpQV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-1553-6efa-23482200008c\"}}", - "x-ms-client-request-id" : "49699661-2549-48b1-bf0a-c8bf862dc58d", + "X-Processing-Time" : "87ms", + "MS-CV" : "o8vqAZETTkGTJ87QBozIZQ.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-c61e-fa5d-573a0d00299d\"}}", + "x-ms-client-request-id" : "142bb979-d590-448f-b773-7c920d5e900e", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -53,23 +55,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "db82f242-20bb-4fe5-a509-edbb74e73856", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "eb4b0f5f-4343-48a2-b89f-369c899b6f41", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003257Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000093qy", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:08 GMT", + "Date" : "Wed, 04 May 2022 00:32:57 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "71ms", - "MS-CV" : "QQancr++gUONaifRP0cBEg.0", - "X-Azure-Ref" : "01T45YQAAAADt8zWs408eSKDKgDmhahRZV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-15f6-5d47-a63a0d00017f\"}}", - "x-ms-client-request-id" : "db82f242-20bb-4fe5-a509-edbb74e73856", + "X-Processing-Time" : "89ms", + "MS-CV" : "Ymp7L91kmkaIuIO061mmaw.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-c796-80f5-8b3a0d0025e2\"}}", + "x-ms-client-request-id" : "eb4b0f5f-4343-48a2-b89f-369c899b6f41", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,117 +81,123 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "975ca4e4-ba5c-4008-9e38-661033c4f170", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "f42d789b-cfa4-41f0-a62b-4c624612d0b6", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003300Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e5br", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:08 GMT", + "Date" : "Wed, 04 May 2022 00:33:00 GMT", "Strict-Transport-Security" : "max-age=2592000", "X-Processing-Time" : "88ms", - "MS-CV" : "2QIoEJuAekK0ADAjw71+UA.0", - "X-Azure-Ref" : "01T45YQAAAAD4dZm9axMsRq+YSGJhc7pxV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-167f-6479-224822000151\"}}", - "x-ms-client-request-id" : "975ca4e4-ba5c-4008-9e38-661033c4f170", + "MS-CV" : "my6m2ymUH0aSwQzUUQdMnA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-c9f2-eef0-8b3a0d0022fc\"}}", + "x-ms-client-request-id" : "f42d789b-cfa4-41f0-a62b-4c624612d0b6", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-14cf-5d47-a63a0d00017e/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-c3df-fa5d-573a0d00299c/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "f5db0590-54e7-4467-b1ad-0da8bd29dc08", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "ee3677bb-6970-4481-a007-6cb8c9b09bd6", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003258Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000093w1", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:53:09 GMT", + "Date" : "Wed, 04 May 2022 00:32:59 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "144ms", - "MS-CV" : "3VVUfZO42Eu47R0Bhh4dyw.0", - "X-Azure-Ref" : "01T45YQAAAADgfINj98YuTZ52xlWXjFQ+V1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:53:09.9091533+00:00\"}", - "x-ms-client-request-id" : "f5db0590-54e7-4467-b1ad-0da8bd29dc08", + "X-Processing-Time" : "157ms", + "MS-CV" : "9U2ydpvTXkGDf9irwlZVjg.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:33:08.7170188+00:00\"}", + "x-ms-client-request-id" : "ee3677bb-6970-4481-a007-6cb8c9b09bd6", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "18795ee5-b649-4bae-abf4-f4baae0ac44f", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "8b18fbd7-39be-4385-83ae-4ffcedd8e70d", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003301Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e5f9", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:09 GMT", + "Date" : "Wed, 04 May 2022 00:33:02 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "345ms", - "MS-CV" : "yhXUnB9KU0Gp3XDYlZQWLw.0", - "X-Azure-Ref" : "01T45YQAAAACcDeP5cHOITLpz4j26iIFhV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:B-8lqLzer1lKWy6celUzgWAZdW2AaCed9E8-2qm3Et81@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:53:10Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-14cf-5d47-a63a0d00017e\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-14cf-5d47-a63a0d00017e\"}}}}", + "X-Processing-Time" : "548ms", + "MS-CV" : "dv3jvLVT2E+DGySVmy4KJA.0", + "Body" : "{\"chatThread\":{\"id\":\"19:hLEKVvChqaKP1V7upA9h9F5JbxT7IyLedy8TrvpAg-c1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:33:09Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-c3df-fa5d-573a0d00299c\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-c3df-fa5d-573a0d00299c\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AB-8lqLzer1lKWy6celUzgWAZdW2AaCed9E8-2qm3Et81@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AhLEKVvChqaKP1V7upA9h9F5JbxT7IyLedy8TrvpAg-c1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:B-8lqLzer1lKWy6celUzgWAZdW2AaCed9E8-2qm3Et81@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:hLEKVvChqaKP1V7upA9h9F5JbxT7IyLedy8TrvpAg-c1@thread.v2/messages?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "88592450-a780-42e2-a1c5-05819c2655ff", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "755dfdff-5afc-4e7f-a0a5-07bdfcc29144", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003300Z-3knzm6g59904z2v1e8tfw6gqqn000000060g00000000944p", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:09 GMT", + "Date" : "Wed, 04 May 2022 00:33:00 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "206ms", - "MS-CV" : "3mEMTffqu0igL/pTuQ3iIw.0", - "X-Azure-Ref" : "01j45YQAAAACcDs7mmrIURJYvbAaSmGNJV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"id\":\"1631141590468\"}", + "X-Processing-Time" : "161ms", + "MS-CV" : "ZOfaAFrMJ0Cl0zabmRZEKA.0", + "Body" : "{\"id\":\"1651624389763\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AB-8lqLzer1lKWy6celUzgWAZdW2AaCed9E8-2qm3Et81@thread.v2/messages/1631141590468" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AhLEKVvChqaKP1V7upA9h9F5JbxT7IyLedy8TrvpAg-c1@thread.v2/messages/1651624389763" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:B-8lqLzer1lKWy6celUzgWAZdW2AaCed9E8-2qm3Et81@thread.v2/messages/1631141590468?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:hLEKVvChqaKP1V7upA9h9F5JbxT7IyLedy8TrvpAg-c1@thread.v2/messages/1651624389763?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "c545d92b-14be-4abb-8637-0eed8e6b90f8" + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "deeb21d4-60ca-41d3-a350-e2ce594b7e56" }, "Response" : { + "x-azure-ref" : "20220504T003302Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e5p0", "X-Cache" : "CONFIG_NOCACHE", "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "336ms", - "MS-CV" : "b6AfFVQmD0GMnHFg5IjYsg.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "X-Processing-Time" : "147ms", + "Connection" : "keep-alive", + "MS-CV" : "NU33lIUK5EqX6/rjKe2CJQ.0", "retry-after" : "0", - "X-Azure-Ref" : "01j45YQAAAABel1VFKydyTKpXIZ/U0rbOV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Wed, 08 Sep 2021 22:53:10 GMT" + "Date" : "Wed, 04 May 2022 00:33:02 GMT" }, "Exception" : null } ], diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canDeleteExistingMessage[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canDeleteExistingMessage[1].json index d723499428a40..59e673c7905e1 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canDeleteExistingMessage[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canDeleteExistingMessage[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "170eccfa-8184-48c3-a185-3a910f4f579e", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "8a78bc00-0b16-477f-a1df-ad2752042b3a", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003329Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000098hu", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:22 GMT", + "Date" : "Wed, 04 May 2022 00:33:29 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "67ms", - "MS-CV" : "zM0qd679/E+Vf3hWCtDmoQ.0", - "X-Azure-Ref" : "04z45YQAAAABZbXPWD1qrQ4StPzj62lzgV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-4b62-5d47-a63a0d00018e\"}}", - "x-ms-client-request-id" : "170eccfa-8184-48c3-a185-3a910f4f579e", + "X-Processing-Time" : "87ms", + "MS-CV" : "N1V771dry0CSLYqswLhQlg.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-4358-7bfa-553a0d0022d3\"}}", + "x-ms-client-request-id" : "8a78bc00-0b16-477f-a1df-ad2752042b3a", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,23 +29,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "e3e79a01-ca25-4988-8352-87de67085efa", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "ce806d09-7cdd-4672-a6f5-c16260637644", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003331Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e9ge", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:22 GMT", + "Date" : "Wed, 04 May 2022 00:33:32 GMT", "Strict-Transport-Security" : "max-age=2592000", "X-Processing-Time" : "89ms", - "MS-CV" : "VyHTMZykj06W9j7pr/uhiQ.0", - "X-Azure-Ref" : "04z45YQAAAADrhdEM0/vhRY+YHXz3gjqmV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-4be8-6efa-234822000094\"}}", - "x-ms-client-request-id" : "e3e79a01-ca25-4988-8352-87de67085efa", + "MS-CV" : "VnQcjTiv+Ee09OELhEp8cw.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-44ec-92fd-8b3a0d002954\"}}", + "x-ms-client-request-id" : "ce806d09-7cdd-4672-a6f5-c16260637644", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -53,23 +55,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "bc614e00-15a0-41ea-a1cd-effef7af0878", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "66bea382-ae96-4518-a75e-df199cea5312", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003330Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000098nd", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:22 GMT", + "Date" : "Wed, 04 May 2022 00:33:30 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "63ms", - "MS-CV" : "bxpWE6qrckidyU/lKskbJg.0", - "X-Azure-Ref" : "04z45YQAAAABo+LjMMX+GTb3idcYl7ibfV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-4c83-5d47-a63a0d00018f\"}}", - "x-ms-client-request-id" : "bc614e00-15a0-41ea-a1cd-effef7af0878", + "X-Processing-Time" : "94ms", + "MS-CV" : "b1T7DxLmFEOvYvXu44qMAQ.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-4654-7bfa-553a0d0022d4\"}}", + "x-ms-client-request-id" : "66bea382-ae96-4518-a75e-df199cea5312", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,117 +81,123 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "d7bf45e1-2b2f-4665-acf3-ee3991dc5ca7", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "c6265ea2-29b6-46cb-a6a3-c0943e5ab66c", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003332Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e9mw", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:22 GMT", + "Date" : "Wed, 04 May 2022 00:33:33 GMT", "Strict-Transport-Security" : "max-age=2592000", "X-Processing-Time" : "88ms", - "MS-CV" : "YBWpq2Oq0k6OVZwQAT+h7g.0", - "X-Azure-Ref" : "04z45YQAAAADOVi7UfQ5PSKvtvwX6V07zV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-4d06-6479-224822000159\"}}", - "x-ms-client-request-id" : "d7bf45e1-2b2f-4665-acf3-ee3991dc5ca7", + "MS-CV" : "0bNaZX2zOECcglWxeDc78A.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-4801-defd-8b3a0d0028d8\"}}", + "x-ms-client-request-id" : "c6265ea2-29b6-46cb-a6a3-c0943e5ab66c", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-4b62-5d47-a63a0d00018e/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-4358-7bfa-553a0d0022d3/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "6604231c-37b9-434e-a3fb-6215feae0e4c", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "a6d88a50-acb9-4219-b316-2e3c7a015d04", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003330Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000098rn", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:53:23 GMT", + "Date" : "Wed, 04 May 2022 00:33:31 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "140ms", - "MS-CV" : "EUxJ0sSsOU2g0rs8cp/ltw.0", - "X-Azure-Ref" : "04z45YQAAAACMBvlMLlSdRJc3eKlL1jRKV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:53:23.8631892+00:00\"}", - "x-ms-client-request-id" : "6604231c-37b9-434e-a3fb-6215feae0e4c", + "X-Processing-Time" : "157ms", + "MS-CV" : "AtUxaAtvdkSzKtnij2mHJA.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:33:40.9079345+00:00\"}", + "x-ms-client-request-id" : "a6d88a50-acb9-4219-b316-2e3c7a015d04", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "5e125503-aed7-413e-bb1c-294c72d507d7", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "e50d9e3b-75a8-47d9-83a1-2a453bb96858", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003333Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e9rw", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:23 GMT", + "Date" : "Wed, 04 May 2022 00:33:34 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "380ms", - "MS-CV" : "RQFSeXFbQE6LTFnVdMNJmw.0", - "X-Azure-Ref" : "04z45YQAAAACFQrRUs62aQIBJihyOGrp4V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:rVkoL-PblQtRMAOFxshQXzn4rw1e6QuWKwnEjWZj-vI1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:53:23Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-4b62-5d47-a63a0d00018e\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-4b62-5d47-a63a0d00018e\"}}}}", + "X-Processing-Time" : "569ms", + "MS-CV" : "ES+X6JI5OUiOHoYxG0EdRg.0", + "Body" : "{\"chatThread\":{\"id\":\"19:dx26aM-QuSkbROyaoY52os_FDkd4ucZ16o61k7KH_l01@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:33:41Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-4358-7bfa-553a0d0022d3\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-4358-7bfa-553a0d0022d3\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3ArVkoL-PblQtRMAOFxshQXzn4rw1e6QuWKwnEjWZj-vI1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3Adx26aM-QuSkbROyaoY52os_FDkd4ucZ16o61k7KH_l01@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:rVkoL-PblQtRMAOFxshQXzn4rw1e6QuWKwnEjWZj-vI1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:dx26aM-QuSkbROyaoY52os_FDkd4ucZ16o61k7KH_l01@thread.v2/messages?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "92e11494-79f6-4bd4-aa6f-8b70e785894e", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "bc7b75ae-333f-4f4c-a0ec-6527645cb48f", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003332Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000098yd", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:23 GMT", + "Date" : "Wed, 04 May 2022 00:33:32 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "212ms", - "MS-CV" : "sesNaL3wNkmj45Z+jfEwKg.0", - "X-Azure-Ref" : "05D45YQAAAACGPw/O9KgUSJtvSloE3W4XV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"id\":\"1631141604484\"}", + "X-Processing-Time" : "123ms", + "MS-CV" : "7yWXqZSsOECBCdGY6mGaDg.0", + "Body" : "{\"id\":\"1651624421769\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3ArVkoL-PblQtRMAOFxshQXzn4rw1e6QuWKwnEjWZj-vI1@thread.v2/messages/1631141604484" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3Adx26aM-QuSkbROyaoY52os_FDkd4ucZ16o61k7KH_l01@thread.v2/messages/1651624421769" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:rVkoL-PblQtRMAOFxshQXzn4rw1e6QuWKwnEjWZj-vI1@thread.v2/messages/1631141604484?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:dx26aM-QuSkbROyaoY52os_FDkd4ucZ16o61k7KH_l01@thread.v2/messages/1651624421769?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "5fc8519a-90cf-49cb-a82b-6d025bb69ea7" + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "c2f3bbbc-e977-4c71-8afc-93371d61652c" }, "Response" : { + "x-azure-ref" : "20220504T003334Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e9vn", "X-Cache" : "CONFIG_NOCACHE", "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "205ms", - "MS-CV" : "fsE/HwFoJU6u4XZqISzkJw.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "X-Processing-Time" : "260ms", + "Connection" : "keep-alive", + "MS-CV" : "ZoJgfU7GRU6qmyc2ZMrMtw.0", "retry-after" : "0", - "X-Azure-Ref" : "05D45YQAAAACez5gEFhXeT5ND/BJWnuo1V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Wed, 08 Sep 2021 22:53:23 GMT" + "Date" : "Wed, 04 May 2022 00:33:34 GMT" }, "Exception" : null } ], diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canGetChatThreadPropertiesWithResponse[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canGetChatThreadPropertiesWithResponse[1].json index 955a50388b829..d6e3dbe2e489d 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canGetChatThreadPropertiesWithResponse[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canGetChatThreadPropertiesWithResponse[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "f8fa2a04-7087-4981-a184-6a7951ec6e56", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "89abff3c-5e37-40cd-bfa5-eafbc77dc29e", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003316Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000096my", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:17 GMT", + "Date" : "Wed, 04 May 2022 00:33:17 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "72ms", - "MS-CV" : "WML9FlR+DE66vLtfWZE1tQ.0", - "X-Azure-Ref" : "03j45YQAAAAAztrv1Xar8Ro9ePECx7VD4V1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-37d9-5d47-a63a0d000188\"}}", - "x-ms-client-request-id" : "f8fa2a04-7087-4981-a184-6a7951ec6e56", + "X-Processing-Time" : "91ms", + "MS-CV" : "yWHcp+YWIky4yQQUBEb3fg.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-12ee-1252-573a0d002be0\"}}", + "x-ms-client-request-id" : "89abff3c-5e37-40cd-bfa5-eafbc77dc29e", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,23 +29,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "b02a8f55-06a2-44f3-9900-776c19f41a42", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "2df7991e-c0e1-412d-b550-4d92a6d23f65", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003319Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e7vz", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:17 GMT", + "Date" : "Wed, 04 May 2022 00:33:20 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "90ms", - "MS-CV" : "18kf6yySx0GcWEsPY934Vg.0", - "X-Azure-Ref" : "03j45YQAAAADYjIVOzDDxSb9NVSUeP60/V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-3861-6479-224822000156\"}}", - "x-ms-client-request-id" : "b02a8f55-06a2-44f3-9900-776c19f41a42", + "X-Processing-Time" : "87ms", + "MS-CV" : "YvoHbBcdVEemxq2B9hHdfA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-1568-fa5d-573a0d0029a8\"}}", + "x-ms-client-request-id" : "2df7991e-c0e1-412d-b550-4d92a6d23f65", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -53,23 +55,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "c413228e-ad4e-474a-9edf-3e3b1878f486", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "57f6deae-f12a-4253-b1a6-761b962bac49", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003318Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000096uv", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:17 GMT", + "Date" : "Wed, 04 May 2022 00:33:18 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "64ms", - "MS-CV" : "VZbybV8SHUmKiUCQ0o0MrA.0", - "X-Azure-Ref" : "03j45YQAAAAA+6MGIcEMMT5ItPL4w5U/dV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-38fa-5d47-a63a0d000189\"}}", - "x-ms-client-request-id" : "c413228e-ad4e-474a-9edf-3e3b1878f486", + "X-Processing-Time" : "89ms", + "MS-CV" : "AqPArbVrJ0KQ3CNwHzgDKQ.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-180e-3ef0-8b3a0d002919\"}}", + "x-ms-client-request-id" : "57f6deae-f12a-4253-b1a6-761b962bac49", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,95 +81,100 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "e074b4e6-95af-4be5-a66f-4a299bd85979", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "9b4d87bd-cd18-4509-a19e-374614cfaf75", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003321Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e80y", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:17 GMT", + "Date" : "Wed, 04 May 2022 00:33:21 GMT", "Strict-Transport-Security" : "max-age=2592000", "X-Processing-Time" : "86ms", - "MS-CV" : "HECiTq2o60mRWJzjAmjo2A.0", - "X-Azure-Ref" : "03j45YQAAAAAQ9WBrJm4nSLozmjNExwqeV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-397a-6efa-234822000091\"}}", - "x-ms-client-request-id" : "e074b4e6-95af-4be5-a66f-4a299bd85979", + "MS-CV" : "WANMS2cPn0GW8MWYlXw3OA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-1a4c-69f0-553a0d0029d1\"}}", + "x-ms-client-request-id" : "9b4d87bd-cd18-4509-a19e-374614cfaf75", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-37d9-5d47-a63a0d000188/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-12ee-1252-573a0d002be0/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "dde482ea-c6d7-47da-bae9-1856e54cd974", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "f766ecc7-a794-4ce8-ae83-15bf56fc22d3", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003319Z-3knzm6g59904z2v1e8tfw6gqqn000000060g00000000970a", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:53:18 GMT", + "Date" : "Wed, 04 May 2022 00:33:19 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "135ms", - "MS-CV" : "VCf5SA2jdEy8JAA2s0cz4A.0", - "X-Azure-Ref" : "03j45YQAAAACLO9YSqPR0SazIHPnPeCUMV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:53:18.856776+00:00\"}", - "x-ms-client-request-id" : "dde482ea-c6d7-47da-bae9-1856e54cd974", + "X-Processing-Time" : "155ms", + "MS-CV" : "KrkGwnIGOkGuDOjDgn/WCA.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:33:29.3442429+00:00\"}", + "x-ms-client-request-id" : "f766ecc7-a794-4ce8-ae83-15bf56fc22d3", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "f82ea867-a4f5-40fc-b63e-9b5f01a0cac1", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "6d5256b3-892e-4202-ab0a-528538e649ea", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003322Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e85k", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:18 GMT", + "Date" : "Wed, 04 May 2022 00:33:22 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "350ms", - "MS-CV" : "PwAtAwYciEuIDcOGstoegQ.0", - "X-Azure-Ref" : "03j45YQAAAAC5KBhU7jxfS418zoZchMJ6V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:NgU-5jM4jnOpjtnBKrkOsvO0jmVvntNzYykA5LsF3zE1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:53:18Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-37d9-5d47-a63a0d000188\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-37d9-5d47-a63a0d000188\"}}}}", + "X-Processing-Time" : "289ms", + "MS-CV" : "e1KUppmHc0yIhZgFKY5APw.0", + "Body" : "{\"chatThread\":{\"id\":\"19:k8n8jI3t0IgfVMiNe0BiB2OzLnVCqtnS3oqzzPdpj-Q1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:33:29Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-12ee-1252-573a0d002be0\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-12ee-1252-573a0d002be0\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3ANgU-5jM4jnOpjtnBKrkOsvO0jmVvntNzYykA5LsF3zE1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3Ak8n8jI3t0IgfVMiNe0BiB2OzLnVCqtnS3oqzzPdpj-Q1@thread.v2" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:NgU-5jM4jnOpjtnBKrkOsvO0jmVvntNzYykA5LsF3zE1@thread.v2?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:k8n8jI3t0IgfVMiNe0BiB2OzLnVCqtnS3oqzzPdpj-Q1@thread.v2?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "10fb3300-a3f1-4164-b367-7703097ff5cb" + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "9ca0f2cb-7f9c-433b-88db-6f9ae8dc74d7" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003320Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000009761", "X-Cache" : "CONFIG_NOCACHE", - "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "92ms", - "MS-CV" : "ob6Al/zEw0uMoqIhxZPC5Q.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", - "X-Azure-Ref" : "03z45YQAAAABCIPCJqWd3Tb6K0ezrdT0qV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"id\":\"19:NgU-5jM4jnOpjtnBKrkOsvO0jmVvntNzYykA5LsF3zE1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:53:18Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-37d9-5d47-a63a0d000188\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-37d9-5d47-a63a0d000188\"}}}", - "Date" : "Wed, 08 Sep 2021 22:53:18 GMT", + "Date" : "Wed, 04 May 2022 00:33:20 GMT", + "Strict-Transport-Security" : "max-age=2592000", + "X-Processing-Time" : "86ms", + "MS-CV" : "lZB3cSDcAEaM/Xx3IB3EaQ.0", + "Body" : "{\"id\":\"19:k8n8jI3t0IgfVMiNe0BiB2OzLnVCqtnS3oqzzPdpj-Q1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:33:29Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-12ee-1252-573a0d002be0\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-12ee-1252-573a0d002be0\"}}}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canGetChatThreadProperties[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canGetChatThreadProperties[1].json index ed810da764224..08b7286cc8d1f 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canGetChatThreadProperties[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canGetChatThreadProperties[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "dad3c997-af7f-4ca3-b88a-336f68c854fc", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "643a83c2-0f45-416e-ad17-c17b41d5fffc", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003332Z-3knzm6g59904z2v1e8tfw6gqqn000000060g00000000991g", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:24 GMT", + "Date" : "Wed, 04 May 2022 00:33:32 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "73ms", - "MS-CV" : "djI4f62huEaPxFcLPMbdFg.0", - "X-Azure-Ref" : "05D45YQAAAABebLUMEuh2TqnCOj4bNTlGV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-51ff-5d47-a63a0d000190\"}}", - "x-ms-client-request-id" : "dad3c997-af7f-4ca3-b88a-336f68c854fc", + "X-Processing-Time" : "90ms", + "MS-CV" : "nOySkysKHUar+UWu/yCmOQ.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-504f-80f5-8b3a0d0025e9\"}}", + "x-ms-client-request-id" : "643a83c2-0f45-416e-ad17-c17b41d5fffc", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,23 +29,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "b2493c87-fbd3-4167-a037-22a160186859", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "2fcc3767-b891-4880-87ec-103e0e2e46e3", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003335Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e9ys", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:24 GMT", + "Date" : "Wed, 04 May 2022 00:33:35 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "87ms", - "MS-CV" : "qsCjCf+E9kaOeW+cqFeCRA.0", - "X-Azure-Ref" : "05D45YQAAAAB7dhpzVKKnTr11HtsRzelTV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-5286-6efa-234822000095\"}}", - "x-ms-client-request-id" : "b2493c87-fbd3-4167-a037-22a160186859", + "X-Processing-Time" : "89ms", + "MS-CV" : "S1n6bDubk0yPUyStNCLBmw.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-51a4-defd-8b3a0d0028da\"}}", + "x-ms-client-request-id" : "2fcc3767-b891-4880-87ec-103e0e2e46e3", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -53,23 +55,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "4cb0bab1-ac39-4869-9e0c-7941463fcb1a", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "a32da5d7-9583-477f-89c2-5012b1fb1752", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003333Z-3knzm6g59904z2v1e8tfw6gqqn000000060g00000000995e", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:24 GMT", + "Date" : "Wed, 04 May 2022 00:33:33 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "71ms", - "MS-CV" : "C380VIhUQ0aYbPJWCwLlnA.0", - "X-Azure-Ref" : "05T45YQAAAADU9nyr1+GySJkg0xcEZO1YV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-5323-5d47-a63a0d000191\"}}", - "x-ms-client-request-id" : "4cb0bab1-ac39-4869-9e0c-7941463fcb1a", + "X-Processing-Time" : "90ms", + "MS-CV" : "9vQZZi707UmuOlejM26rWA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-532a-655d-573a0d002499\"}}", + "x-ms-client-request-id" : "a32da5d7-9583-477f-89c2-5012b1fb1752", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,95 +81,100 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "361bec67-e47b-4a95-a0f3-5f5008f5a0d6", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "17717680-b70a-4078-a7bd-d3d2056301f5", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003336Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000ea1a", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:24 GMT", + "Date" : "Wed, 04 May 2022 00:33:36 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "88ms", - "MS-CV" : "GXYTDTU1I02irzkrQEHnBA.0", - "X-Azure-Ref" : "05T45YQAAAAAawL9HbtiSQIKNIuPZeQa1V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-53aa-6479-22482200015a\"}}", - "x-ms-client-request-id" : "361bec67-e47b-4a95-a0f3-5f5008f5a0d6", + "X-Processing-Time" : "87ms", + "MS-CV" : "BEFYv/ZJWkaqYqqovPczcg.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-5509-1252-573a0d002be4\"}}", + "x-ms-client-request-id" : "17717680-b70a-4078-a7bd-d3d2056301f5", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-51ff-5d47-a63a0d000190/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-504f-80f5-8b3a0d0025e9/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "e250aef8-6e2d-4b0e-b68e-662ef981c487", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "f8e8d8e7-4928-4c38-8373-3ed34da6b249", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003334Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000099bm", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:53:24 GMT", + "Date" : "Wed, 04 May 2022 00:33:34 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "153ms", - "MS-CV" : "mvs8GRXN1EqMUbgjsdkj5g.0", - "X-Azure-Ref" : "05T45YQAAAAB+77gdsO2USoQIrH3vn4WxV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:53:25.5814662+00:00\"}", - "x-ms-client-request-id" : "e250aef8-6e2d-4b0e-b68e-662ef981c487", + "X-Processing-Time" : "193ms", + "MS-CV" : "ejZxNqaf00mTv+YZEzfTbw.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:33:44.3155712+00:00\"}", + "x-ms-client-request-id" : "f8e8d8e7-4928-4c38-8373-3ed34da6b249", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "7f46cbc1-1bca-44e9-82a6-84083ea6c663", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "e1825484-b8a8-4b4f-a354-5f77bf2f4e75", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003337Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000ea5s", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:25 GMT", + "Date" : "Wed, 04 May 2022 00:33:37 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "344ms", - "MS-CV" : "DktyPMvD+0anz9Hnq7i6zw.0", - "X-Azure-Ref" : "05T45YQAAAAC5bYVbGZOsQJJF7Jv/ueB4V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:iPu_qmEKy_lMO2--9edJlHTed_czcxBgLHv8bBpJu2M1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:53:25Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-51ff-5d47-a63a0d000190\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-51ff-5d47-a63a0d000190\"}}}}", + "X-Processing-Time" : "520ms", + "MS-CV" : "NO6Y1FdemEmPcAW8Om4BlA.0", + "Body" : "{\"chatThread\":{\"id\":\"19:oUf9RWehH8elQ7VprqS2EO0HCRT1MaOsiulHlvTurFM1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:33:44Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-504f-80f5-8b3a0d0025e9\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-504f-80f5-8b3a0d0025e9\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AiPu_qmEKy_lMO2--9edJlHTed_czcxBgLHv8bBpJu2M1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AoUf9RWehH8elQ7VprqS2EO0HCRT1MaOsiulHlvTurFM1@thread.v2" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:iPu_qmEKy_lMO2--9edJlHTed_czcxBgLHv8bBpJu2M1@thread.v2?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:oUf9RWehH8elQ7VprqS2EO0HCRT1MaOsiulHlvTurFM1@thread.v2?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "b9569c85-7f19-4567-b8a0-d93eeba6689d" + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "55ab4c89-626d-4f21-9aee-78b111d916d8" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003335Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000099kg", "X-Cache" : "CONFIG_NOCACHE", - "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "91ms", - "MS-CV" : "8F43Ap9BNEqWS6q42baJcA.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", - "X-Azure-Ref" : "05T45YQAAAADVqwxXfkcqTKrf7BJqpWo0V1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"id\":\"19:iPu_qmEKy_lMO2--9edJlHTed_czcxBgLHv8bBpJu2M1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:53:25Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-51ff-5d47-a63a0d000190\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-51ff-5d47-a63a0d000190\"}}}", - "Date" : "Wed, 08 Sep 2021 22:53:25 GMT", + "Date" : "Wed, 04 May 2022 00:33:35 GMT", + "Strict-Transport-Security" : "max-age=2592000", + "X-Processing-Time" : "201ms", + "MS-CV" : "YhtP4GlV1U2qJnAraVNhxQ.0", + "Body" : "{\"id\":\"19:oUf9RWehH8elQ7VprqS2EO0HCRT1MaOsiulHlvTurFM1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:33:44Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-504f-80f5-8b3a0d0025e9\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-504f-80f5-8b3a0d0025e9\"}}}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canListMessagesWithOptionsSync[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canListMessagesWithOptionsSync[1].json index 9a6630858eca3..ff90aa4790cb0 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canListMessagesWithOptionsSync[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canListMessagesWithOptionsSync[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "e15d4ebf-a2ac-4770-9704-81cd83ccaf1b", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "bf2fabe7-c12b-4f08-acb7-1dc671936e46", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003255Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e4qg", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:06 GMT", + "Date" : "Wed, 04 May 2022 00:32:55 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "88ms", - "MS-CV" : "U8V2Y+hPME6rWxhHeID4Vg.0", - "X-Azure-Ref" : "00z45YQAAAACkq4KBNcLlS4oIBffBAYpbV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-0da9-6479-224822000150\"}}", - "x-ms-client-request-id" : "e15d4ebf-a2ac-4770-9704-81cd83ccaf1b", + "X-Processing-Time" : "87ms", + "MS-CV" : "8PLwITUP70a/BG3yBbdFXw.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-b4af-fa5d-573a0d00299b\"}}", + "x-ms-client-request-id" : "bf2fabe7-c12b-4f08-acb7-1dc671936e46", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,23 +29,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "7f370682-f6da-4778-a26f-5723cc7cef85", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "bbfddb87-aa2f-4c17-a72e-7b2124b74205", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003253Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000092zt", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:06 GMT", + "Date" : "Wed, 04 May 2022 00:32:53 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "64ms", - "MS-CV" : "iMTzVwgaoESIgL3GRRmcNA.0", - "X-Azure-Ref" : "00z45YQAAAAAqD5EA5686QKCsTOHO9muYV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-0e43-5d47-a63a0d00017c\"}}", - "x-ms-client-request-id" : "7f370682-f6da-4778-a26f-5723cc7cef85", + "X-Processing-Time" : "94ms", + "MS-CV" : "wCndxDsZ9km4f1seTDy9Eg.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-b6eb-1252-573a0d002bd4\"}}", + "x-ms-client-request-id" : "bbfddb87-aa2f-4c17-a72e-7b2124b74205", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -53,23 +55,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "1e50237e-629a-4f62-ac31-e8a42a3cd8bf", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "8d341272-62a8-4701-92ce-a4c2952b8ef5", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003256Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e4us", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:06 GMT", + "Date" : "Wed, 04 May 2022 00:32:56 GMT", "Strict-Transport-Security" : "max-age=2592000", "X-Processing-Time" : "90ms", - "MS-CV" : "u7MMpMno3kK//jvc1xFfiw.0", - "X-Azure-Ref" : "00z45YQAAAABqGmcbaUPiQZaynwGc/WWBV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-0ec4-6efa-23482200008b\"}}", - "x-ms-client-request-id" : "1e50237e-629a-4f62-ac31-e8a42a3cd8bf", + "MS-CV" : "MWlns70Sm0OnwggRPqfjGg.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-b87a-80f5-8b3a0d0025e1\"}}", + "x-ms-client-request-id" : "8d341272-62a8-4701-92ce-a4c2952b8ef5", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,143 +81,150 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "65cf891a-7f12-4b78-af5a-60d92a309f15", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "4ef4d14d-84d0-4f24-bd6a-7410b8fa52ff", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003254Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000009344", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:07 GMT", + "Date" : "Wed, 04 May 2022 00:32:54 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "73ms", - "MS-CV" : "aa61xgSuvUGQ4OsgOJVQXg.0", - "X-Azure-Ref" : "00z45YQAAAABKDrlJqMxfTKofQXw3+XHVV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-0f68-5d47-a63a0d00017d\"}}", - "x-ms-client-request-id" : "65cf891a-7f12-4b78-af5a-60d92a309f15", + "X-Processing-Time" : "88ms", + "MS-CV" : "Vu7V52nlh0edtzD2PU8DZg.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-ba28-defd-8b3a0d0028cf\"}}", + "x-ms-client-request-id" : "4ef4d14d-84d0-4f24-bd6a-7410b8fa52ff", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-0da9-6479-224822000150/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-b4af-fa5d-573a0d00299b/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "17870e54-8651-42a6-914d-18d8aeaaff17", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "c0b5a3e8-ea67-4c9f-97c7-402e5f26f9e8", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003256Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e4xq", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:53:07 GMT", + "Date" : "Wed, 04 May 2022 00:32:57 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "159ms", - "MS-CV" : "lgidHIAcAk2R/+dwAKdqHQ.0", - "X-Azure-Ref" : "00z45YQAAAACKO2DgNIZhRLVP7lwl2+VKV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:53:08.0876834+00:00\"}", - "x-ms-client-request-id" : "17870e54-8651-42a6-914d-18d8aeaaff17", + "X-Processing-Time" : "158ms", + "MS-CV" : "iXOYrH9Q5ESBFM1DQKehbQ.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:33:04.5919479+00:00\"}", + "x-ms-client-request-id" : "c0b5a3e8-ea67-4c9f-97c7-402e5f26f9e8", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "52ecb3c2-623e-4bcd-8315-5cd16d336d4a", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "e7c9155d-7e84-420e-acb7-3a6a2fc315a7", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003255Z-3knzm6g59904z2v1e8tfw6gqqn000000060g00000000938k", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:07 GMT", + "Date" : "Wed, 04 May 2022 00:32:55 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "375ms", - "MS-CV" : "RZIo5Z5iIU+RBBP9zwcmBg.0", - "X-Azure-Ref" : "01D45YQAAAACu33+rVButTLR4y/gAKYHcV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:1XxVTo4S_CQ9WKhrSdbHwpwjttbO6pFn1AVZGSJugOw1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:53:08Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-0da9-6479-224822000150\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-0da9-6479-224822000150\"}}}}", + "X-Processing-Time" : "474ms", + "MS-CV" : "JZUCx70KUUKyA+4vxfkJCg.0", + "Body" : "{\"chatThread\":{\"id\":\"19:0ES8oTzROVIOtq8B40CuBSU3uDMBKUJQKH8oF08quvI1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:33:04Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-b4af-fa5d-573a0d00299b\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-b4af-fa5d-573a0d00299b\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A1XxVTo4S_CQ9WKhrSdbHwpwjttbO6pFn1AVZGSJugOw1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3A0ES8oTzROVIOtq8B40CuBSU3uDMBKUJQKH8oF08quvI1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:1XxVTo4S_CQ9WKhrSdbHwpwjttbO6pFn1AVZGSJugOw1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:0ES8oTzROVIOtq8B40CuBSU3uDMBKUJQKH8oF08quvI1@thread.v2/messages?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "f4e0217b-517c-4d59-bcbb-8ee1d84c65fc", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "50820d4a-2be0-48b2-920c-293ca1a45fc9", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003257Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e50y", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:07 GMT", + "Date" : "Wed, 04 May 2022 00:32:58 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "181ms", - "MS-CV" : "6yajVnsapkWcK/r7HGRsvw.0", - "X-Azure-Ref" : "01D45YQAAAABOmoP9gu1gRaYmIRdL5iMAV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"id\":\"1631141588675\"}", + "X-Processing-Time" : "239ms", + "MS-CV" : "uu9w1JcSGUOETDZiekPikA.0", + "Body" : "{\"id\":\"1651624385381\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A1XxVTo4S_CQ9WKhrSdbHwpwjttbO6pFn1AVZGSJugOw1@thread.v2/messages/1631141588675" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3A0ES8oTzROVIOtq8B40CuBSU3uDMBKUJQKH8oF08quvI1@thread.v2/messages/1651624385381" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:1XxVTo4S_CQ9WKhrSdbHwpwjttbO6pFn1AVZGSJugOw1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:0ES8oTzROVIOtq8B40CuBSU3uDMBKUJQKH8oF08quvI1@thread.v2/messages?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "9630b670-758c-4477-ae4a-2b42834ca5cb", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "81e4a6d0-c896-4d40-adb5-832b60a5a522", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003256Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000093dx", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:08 GMT", + "Date" : "Wed, 04 May 2022 00:32:56 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "223ms", - "MS-CV" : "nuVh9g0QBk6WD3Wvar76zg.0", - "X-Azure-Ref" : "01D45YQAAAAC/bSlnVXPPS67qehfv3wfZV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"id\":\"1631141588927\"}", + "X-Processing-Time" : "126ms", + "MS-CV" : "JmFp/uPd3UK11Gcza7HlUA.0", + "Body" : "{\"id\":\"1651624385680\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A1XxVTo4S_CQ9WKhrSdbHwpwjttbO6pFn1AVZGSJugOw1@thread.v2/messages/1631141588927" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3A0ES8oTzROVIOtq8B40CuBSU3uDMBKUJQKH8oF08quvI1@thread.v2/messages/1651624385680" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:1XxVTo4S_CQ9WKhrSdbHwpwjttbO6pFn1AVZGSJugOw1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:0ES8oTzROVIOtq8B40CuBSU3uDMBKUJQKH8oF08quvI1@thread.v2/messages?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "8b9d2edb-600b-47a1-b797-63008d433139" + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "91059abd-dd49-482f-8235-bb3704cd4d08" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003258Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e53q", "X-Cache" : "CONFIG_NOCACHE", - "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "100ms", - "MS-CV" : "N1llnCE0rk29038+gjW5gw.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", - "X-Azure-Ref" : "01T45YQAAAAAemWv9yqPTTL+khLSSMJyQV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"value\":[{\"id\":\"1631141588927\",\"type\":\"text\",\"sequenceId\":\"4\",\"version\":\"1631141588927\",\"content\":{\"message\":\"Content\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-09-08T22:53:08Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-0da9-6479-224822000150\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-0da9-6479-224822000150\"}},\"metadata\":{\"onedriveReferences\":\"onedriveReferences\",\"deliveryMode\":\"deliveryMode value\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\",\"tags\":\"tags value\"}},{\"id\":\"1631141588675\",\"type\":\"text\",\"sequenceId\":\"3\",\"version\":\"1631141588675\",\"content\":{\"message\":\"Content\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-09-08T22:53:08Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-0da9-6479-224822000150\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-0da9-6479-224822000150\"}},\"metadata\":{\"onedriveReferences\":\"onedriveReferences\",\"deliveryMode\":\"deliveryMode value\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\",\"tags\":\"tags value\"}},{\"id\":\"1631141588352\",\"type\":\"topicUpdated\",\"sequenceId\":\"2\",\"version\":\"1631141588352\",\"content\":{\"topic\":\"Test\",\"initiatorCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-0da9-6479-224822000150\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-0da9-6479-224822000150\"}}},\"createdOn\":\"2021-09-08T22:53:08Z\"},{\"id\":\"1631141588327\",\"type\":\"participantAdded\",\"sequenceId\":\"1\",\"version\":\"1631141588327\",\"content\":{\"participants\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-0da9-6479-224822000150\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-0da9-6479-224822000150\"}},\"displayName\":\"Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-0e43-5d47-a63a0d00017c\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-0e43-5d47-a63a0d00017c\"}},\"displayName\":\"Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}],\"initiatorCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-0da9-6479-224822000150\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-0da9-6479-224822000150\"}}},\"createdOn\":\"2021-09-08T22:53:08Z\"}]}", - "Date" : "Wed, 08 Sep 2021 22:53:08 GMT", + "Date" : "Wed, 04 May 2022 00:32:58 GMT", + "Strict-Transport-Security" : "max-age=2592000", + "X-Processing-Time" : "150ms", + "MS-CV" : "eDB6LnqEjk6GYKlFsXujUg.0", + "Body" : "{\"value\":[{\"id\":\"1651624385680\",\"type\":\"text\",\"sequenceId\":\"4\",\"version\":\"1651624385680\",\"content\":{\"message\":\"Content\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2022-05-04T00:33:05Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-b4af-fa5d-573a0d00299b\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-b4af-fa5d-573a0d00299b\"}},\"metadata\":{\"onedriveReferences\":\"onedriveReferences\",\"deliveryMode\":\"deliveryMode value\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\",\"tags\":\"tags value\"}},{\"id\":\"1651624385381\",\"type\":\"text\",\"sequenceId\":\"3\",\"version\":\"1651624385381\",\"content\":{\"message\":\"Content\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2022-05-04T00:33:05Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-b4af-fa5d-573a0d00299b\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-b4af-fa5d-573a0d00299b\"}},\"metadata\":{\"onedriveReferences\":\"onedriveReferences\",\"deliveryMode\":\"deliveryMode value\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\",\"tags\":\"tags value\"}},{\"id\":\"1651624385058\",\"type\":\"topicUpdated\",\"sequenceId\":\"2\",\"version\":\"1651624385058\",\"content\":{\"topic\":\"Test\",\"initiatorCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-b4af-fa5d-573a0d00299b\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-b4af-fa5d-573a0d00299b\"}}},\"createdOn\":\"2022-05-04T00:33:05Z\"},{\"id\":\"1651624384971\",\"type\":\"participantAdded\",\"sequenceId\":\"1\",\"version\":\"1651624384971\",\"content\":{\"participants\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-b4af-fa5d-573a0d00299b\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-b4af-fa5d-573a0d00299b\"}},\"displayName\":\"Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-b6eb-1252-573a0d002bd4\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-b6eb-1252-573a0d002bd4\"}},\"displayName\":\"Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}],\"initiatorCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-b4af-fa5d-573a0d00299b\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-b4af-fa5d-573a0d00299b\"}}},\"createdOn\":\"2022-05-04T00:33:04Z\"}]}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canListMessagesWithOptions[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canListMessagesWithOptions[1].json index 157b09a25b052..285954cfe968c 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canListMessagesWithOptions[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canListMessagesWithOptions[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "163257a6-d266-4cb6-8103-67792a34c624", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "071387c1-e7f7-4950-8e6b-c8a389118c94", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003245Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000091k1", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:02 GMT", + "Date" : "Wed, 04 May 2022 00:32:45 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "107ms", - "MS-CV" : "1RQ0SaHghU2QK7rWdy/+NQ.0", - "X-Azure-Ref" : "0zz45YQAAAAClrzo/8BV6S6XdIiW+8eHIV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-feff-5d47-a63a0d000178\"}}", - "x-ms-client-request-id" : "163257a6-d266-4cb6-8103-67792a34c624", + "X-Processing-Time" : "87ms", + "MS-CV" : "p8GhW2x0xk+zoNBooOudcQ.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-97d8-3ef0-8b3a0d002907\"}}", + "x-ms-client-request-id" : "071387c1-e7f7-4950-8e6b-c8a389118c94", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,23 +29,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "f6bf13e3-1b59-4a07-a6f9-f8b506a340b1", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "d0678193-0b88-4b87-a21c-1affbc5f0af4", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003248Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e3pc", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:02 GMT", + "Date" : "Wed, 04 May 2022 00:32:48 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "90ms", - "MS-CV" : "AMLlcQGGVk6jJUk34hSQ8Q.0", - "X-Azure-Ref" : "0zz45YQAAAAAEGFnLtQGcSJmnfy8oq6cOV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-ff83-6efa-234822000089\"}}", - "x-ms-client-request-id" : "f6bf13e3-1b59-4a07-a6f9-f8b506a340b1", + "X-Processing-Time" : "89ms", + "MS-CV" : "quBUsfSmVEymum7VwSYStg.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-997f-655d-573a0d00248f\"}}", + "x-ms-client-request-id" : "d0678193-0b88-4b87-a21c-1affbc5f0af4", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -53,23 +55,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "fbdbff12-62a3-42ae-a2a9-6e67da32f532", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "36a52556-1d21-45ea-b455-956a5db70410", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003246Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000091q0", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:03 GMT", + "Date" : "Wed, 04 May 2022 00:32:46 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "70ms", - "MS-CV" : "tGfxJktUWEaYDXKSwHRHtA.0", - "X-Azure-Ref" : "0zz45YQAAAADMRkBWemO/TZFrWLNQMx+2V1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-001e-5d47-a63a0d000179\"}}", - "x-ms-client-request-id" : "fbdbff12-62a3-42ae-a2a9-6e67da32f532", + "X-Processing-Time" : "89ms", + "MS-CV" : "aS5zz+KPd0WlfFuK6pCbBA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-9b0d-655d-573a0d002490\"}}", + "x-ms-client-request-id" : "36a52556-1d21-45ea-b455-956a5db70410", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,143 +81,150 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "5d51611b-7a24-4441-910a-d7c4ea3c8610", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "dd3b2f57-6bd2-4823-ba7c-e1bb95e5ed09", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003248Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e3tn", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:03 GMT", + "Date" : "Wed, 04 May 2022 00:32:49 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "90ms", - "MS-CV" : "WzONzWBrH0yLIj/SCjS3fQ.0", - "X-Azure-Ref" : "0zz45YQAAAADfOg1p6uXKS57q4qoBjHJsV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-00ad-6479-22482200014e\"}}", - "x-ms-client-request-id" : "5d51611b-7a24-4441-910a-d7c4ea3c8610", + "X-Processing-Time" : "86ms", + "MS-CV" : "zKs1FlxtaEmzY4WiiLTrdQ.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-9c9a-92fd-8b3a0d002947\"}}", + "x-ms-client-request-id" : "dd3b2f57-6bd2-4823-ba7c-e1bb95e5ed09", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-feff-5d47-a63a0d000178/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-97d8-3ef0-8b3a0d002907/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "47d09f4d-b344-4d84-9f9f-927cfa533f20", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "674d5b79-a6dd-4c85-ae2a-94d7937058cc", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003247Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000091vm", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:53:03 GMT", + "Date" : "Wed, 04 May 2022 00:32:47 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "205ms", - "MS-CV" : "4wMBILWhY06tHCNOaWfjPQ.0", - "X-Azure-Ref" : "00D45YQAAAADaepKJdR8ISKF6LUJy06pkV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:53:04.3822443+00:00\"}", - "x-ms-client-request-id" : "47d09f4d-b344-4d84-9f9f-927cfa533f20", + "X-Processing-Time" : "171ms", + "MS-CV" : "FDusReZ2WUme6u7acPXk3w.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:32:57.1479163+00:00\"}", + "x-ms-client-request-id" : "674d5b79-a6dd-4c85-ae2a-94d7937058cc", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "12b2d213-025a-4ccb-8194-bd93eeec12b0", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "9d6d47ab-1784-46c7-84fa-2f5cde49bf2d", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003249Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e3y2", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:03 GMT", + "Date" : "Wed, 04 May 2022 00:32:50 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "447ms", - "MS-CV" : "z99KxhSo6UCe6ITicR0leg.0", - "X-Azure-Ref" : "00D45YQAAAADC+lteDcGcQpmtPZEnVJQZV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:Z_SsS_aCM1-uoBtllxNIcAI3aXDq1nm-NwKde_CVB-U1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:53:04Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-feff-5d47-a63a0d000178\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-feff-5d47-a63a0d000178\"}}}}", + "X-Processing-Time" : "540ms", + "MS-CV" : "EjMjmnklME+TQqGuPIclCA.0", + "Body" : "{\"chatThread\":{\"id\":\"19:vIADz_4rR848Oe2ZTx7uH2HcnEdhbjUSw_JiZPfidVw1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:32:57Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-97d8-3ef0-8b3a0d002907\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-97d8-3ef0-8b3a0d002907\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AZ_SsS_aCM1-uoBtllxNIcAI3aXDq1nm-NwKde_CVB-U1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AvIADz_4rR848Oe2ZTx7uH2HcnEdhbjUSw_JiZPfidVw1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:Z_SsS_aCM1-uoBtllxNIcAI3aXDq1nm-NwKde_CVB-U1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:vIADz_4rR848Oe2ZTx7uH2HcnEdhbjUSw_JiZPfidVw1@thread.v2/messages?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "927cd864-1f15-4eb0-b09a-c1e3e6546006", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "af9b6ab1-c370-4d9e-b4c2-df4457cea43b", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003248Z-3knzm6g59904z2v1e8tfw6gqqn000000060g00000000921p", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:04 GMT", + "Date" : "Wed, 04 May 2022 00:32:48 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "211ms", - "MS-CV" : "JFesSiCw4UecowLAdNJDdA.0", - "X-Azure-Ref" : "00D45YQAAAABkvZF9UEO0QbHzpCkjrZerV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"id\":\"1631141585033\"}", + "X-Processing-Time" : "158ms", + "MS-CV" : "PlZGtsrYk0CxeYpTDPd46A.0", + "Body" : "{\"id\":\"1651624378029\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AZ_SsS_aCM1-uoBtllxNIcAI3aXDq1nm-NwKde_CVB-U1@thread.v2/messages/1631141585033" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AvIADz_4rR848Oe2ZTx7uH2HcnEdhbjUSw_JiZPfidVw1@thread.v2/messages/1651624378029" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:Z_SsS_aCM1-uoBtllxNIcAI3aXDq1nm-NwKde_CVB-U1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:vIADz_4rR848Oe2ZTx7uH2HcnEdhbjUSw_JiZPfidVw1@thread.v2/messages?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "d0194a53-e10c-4deb-a92a-d7413508ff3e", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "4bee91af-74d3-4041-9846-ce0aa801023d", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003250Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e42w", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:04 GMT", + "Date" : "Wed, 04 May 2022 00:32:51 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "196ms", - "MS-CV" : "IHdQsJfqLUGUiRvyMR5rSg.0", - "X-Azure-Ref" : "00T45YQAAAABpnu8C2FGSQJSnpbdMU33DV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"id\":\"1631141585246\"}", + "X-Processing-Time" : "175ms", + "MS-CV" : "SC4v2GI5VE63LaU0v2zOXQ.0", + "Body" : "{\"id\":\"1651624378371\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AZ_SsS_aCM1-uoBtllxNIcAI3aXDq1nm-NwKde_CVB-U1@thread.v2/messages/1631141585246" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AvIADz_4rR848Oe2ZTx7uH2HcnEdhbjUSw_JiZPfidVw1@thread.v2/messages/1651624378371" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:Z_SsS_aCM1-uoBtllxNIcAI3aXDq1nm-NwKde_CVB-U1@thread.v2/messages?maxPageSize=10&startTime=2020-09-08T01%3A02%3A14.387Z&api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:vIADz_4rR848Oe2ZTx7uH2HcnEdhbjUSw_JiZPfidVw1@thread.v2/messages?maxPageSize=10&startTime=2020-09-08T01%3A02%3A14.387Z&api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "8e289954-1c0e-4118-8d40-1d861bde6f8e" + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "099008bc-0e5b-49c1-8636-3dbd1675067f" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003249Z-3knzm6g59904z2v1e8tfw6gqqn000000060g00000000925p", "X-Cache" : "CONFIG_NOCACHE", - "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "112ms", - "MS-CV" : "Oqqja3AkXkWT0iL3VBJgng.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", - "X-Azure-Ref" : "00T45YQAAAAC9tNuXKQSGSoYwTeq4Rt51V1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"value\":[{\"id\":\"1631141585246\",\"type\":\"text\",\"sequenceId\":\"4\",\"version\":\"1631141585246\",\"content\":{\"message\":\"Content\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-09-08T22:53:05Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-feff-5d47-a63a0d000178\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-feff-5d47-a63a0d000178\"}},\"metadata\":{\"onedriveReferences\":\"onedriveReferences\",\"deliveryMode\":\"deliveryMode value\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\",\"tags\":\"tags value\"}},{\"id\":\"1631141585033\",\"type\":\"text\",\"sequenceId\":\"3\",\"version\":\"1631141585033\",\"content\":{\"message\":\"Content\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-09-08T22:53:05Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-feff-5d47-a63a0d000178\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-feff-5d47-a63a0d000178\"}},\"metadata\":{\"onedriveReferences\":\"onedriveReferences\",\"deliveryMode\":\"deliveryMode value\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\",\"tags\":\"tags value\"}},{\"id\":\"1631141584695\",\"type\":\"topicUpdated\",\"sequenceId\":\"2\",\"version\":\"1631141584695\",\"content\":{\"topic\":\"Test\",\"initiatorCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-feff-5d47-a63a0d000178\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-feff-5d47-a63a0d000178\"}}},\"createdOn\":\"2021-09-08T22:53:04Z\"},{\"id\":\"1631141584640\",\"type\":\"participantAdded\",\"sequenceId\":\"1\",\"version\":\"1631141584640\",\"content\":{\"participants\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-feff-5d47-a63a0d000178\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-feff-5d47-a63a0d000178\"}},\"displayName\":\"Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-ff83-6efa-234822000089\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-ff83-6efa-234822000089\"}},\"displayName\":\"Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}],\"initiatorCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-feff-5d47-a63a0d000178\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-feff-5d47-a63a0d000178\"}}},\"createdOn\":\"2021-09-08T22:53:04Z\"}]}", - "Date" : "Wed, 08 Sep 2021 22:53:04 GMT", + "Date" : "Wed, 04 May 2022 00:32:49 GMT", + "Strict-Transport-Security" : "max-age=2592000", + "X-Processing-Time" : "98ms", + "MS-CV" : "YojuAuhqkEO3Hi5ko50a9w.0", + "Body" : "{\"value\":[{\"id\":\"1651624378371\",\"type\":\"text\",\"sequenceId\":\"4\",\"version\":\"1651624378371\",\"content\":{\"message\":\"Content\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2022-05-04T00:32:58Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-97d8-3ef0-8b3a0d002907\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-97d8-3ef0-8b3a0d002907\"}},\"metadata\":{\"onedriveReferences\":\"onedriveReferences\",\"deliveryMode\":\"deliveryMode value\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\",\"tags\":\"tags value\"}},{\"id\":\"1651624378029\",\"type\":\"text\",\"sequenceId\":\"3\",\"version\":\"1651624378029\",\"content\":{\"message\":\"Content\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2022-05-04T00:32:58Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-97d8-3ef0-8b3a0d002907\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-97d8-3ef0-8b3a0d002907\"}},\"metadata\":{\"onedriveReferences\":\"onedriveReferences\",\"deliveryMode\":\"deliveryMode value\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\",\"tags\":\"tags value\"}},{\"id\":\"1651624377778\",\"type\":\"topicUpdated\",\"sequenceId\":\"2\",\"version\":\"1651624377778\",\"content\":{\"topic\":\"Test\",\"initiatorCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-97d8-3ef0-8b3a0d002907\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-97d8-3ef0-8b3a0d002907\"}}},\"createdOn\":\"2022-05-04T00:32:57Z\"},{\"id\":\"1651624377733\",\"type\":\"participantAdded\",\"sequenceId\":\"1\",\"version\":\"1651624377733\",\"content\":{\"participants\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-97d8-3ef0-8b3a0d002907\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-97d8-3ef0-8b3a0d002907\"}},\"displayName\":\"Tester 1\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-997f-655d-573a0d00248f\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-997f-655d-573a0d00248f\"}},\"displayName\":\"Tester 2\",\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}],\"initiatorCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-97d8-3ef0-8b3a0d002907\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-97d8-3ef0-8b3a0d002907\"}}},\"createdOn\":\"2022-05-04T00:32:57Z\"}]}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canListReadReceiptsWithContext[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canListReadReceiptsWithContext[1].json index c5f2e5e9e4933..bb8e6512f49bc 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canListReadReceiptsWithContext[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canListReadReceiptsWithContext[1].json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:4b72178530934b7790135dd9359205e0@thread.v2/readReceipts?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:4b72178530934b7790135dd9359205e0@thread.v2/readReceipts?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "17b6c37a-3d53-41c4-a990-918121a7cd27" + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "649c394d-a8ed-4fff-b9df-86159fa0bdda" }, "Response" : { "retry-after" : "0", diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canListReadReceipts[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canListReadReceipts[1].json index 059a317e665af..446fc3de9767b 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canListReadReceipts[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canListReadReceipts[1].json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:4b72178530934b7790135dd9359205e0@thread.v2/readReceipts?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:4b72178530934b7790135dd9359205e0@thread.v2/readReceipts?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "75431162-a932-4fec-9b6f-a90c3049b6fb" + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "fe0af64b-63c7-4d01-be0d-74243e8227e8" }, "Response" : { "retry-after" : "0", diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canSendReadReceiptSync[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canSendReadReceiptSync[1].json index a42ae58ae4a66..4bd6c6d72aeb1 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canSendReadReceiptSync[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canSendReadReceiptSync[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "a4b647c8-3d5b-4e5f-88c2-929bab7c67fe", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "ab07f495-801e-40db-b79f-2c3977588ee4", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003416Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000009gwk", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:41 GMT", + "Date" : "Wed, 04 May 2022 00:34:16 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "69ms", - "MS-CV" : "c628ygpAEUKze6tINgloOw.0", - "X-Azure-Ref" : "09j45YQAAAAD6ejPrLGKXT5DbzWkdQy48V1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-9583-5d47-a63a0d0001a7\"}}", - "x-ms-client-request-id" : "a4b647c8-3d5b-4e5f-88c2-929bab7c67fe", + "X-Processing-Time" : "89ms", + "MS-CV" : "5p4+ZVObJUCYLWltkP7qPA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-fa10-7bfa-553a0d0022de\"}}", + "x-ms-client-request-id" : "ab07f495-801e-40db-b79f-2c3977588ee4", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,23 +29,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "e0bcecbf-7998-4dc5-ab97-ff0c00a196e6", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "c85ba93b-4c55-41a1-b76b-6c795a6399b6", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003418Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000efr2", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:41 GMT", + "Date" : "Wed, 04 May 2022 00:34:19 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "88ms", - "MS-CV" : "KxjZ8VfvukWGkvWBuNfuSg.0", - "X-Azure-Ref" : "09j45YQAAAACloL688+TpRpmcA3yav2sWV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-9613-6efa-23482200009f\"}}", - "x-ms-client-request-id" : "e0bcecbf-7998-4dc5-ab97-ff0c00a196e6", + "X-Processing-Time" : "87ms", + "MS-CV" : "BirWPsioYEqBBTpk4JTkRw.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-fba0-eef0-8b3a0d002315\"}}", + "x-ms-client-request-id" : "c85ba93b-4c55-41a1-b76b-6c795a6399b6", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -53,23 +55,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "ed8be511-3144-40c7-813c-b9899b54c0e1", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "a55ffe0e-3748-4693-a609-9cd11823bb48", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003417Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000009h1q", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:41 GMT", + "Date" : "Wed, 04 May 2022 00:34:17 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "62ms", - "MS-CV" : "LB4CMijASEmQ/UJRWoAbzg.0", - "X-Azure-Ref" : "09j45YQAAAAD2NRLcIJ+ZQIjsYZwAhh7mV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-96b0-5d47-a63a0d0001a8\"}}", - "x-ms-client-request-id" : "ed8be511-3144-40c7-813c-b9899b54c0e1", + "X-Processing-Time" : "84ms", + "MS-CV" : "ZK4KbSLIn0qeLcz3EA/EsA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-fe12-1252-573a0d002bf6\"}}", + "x-ms-client-request-id" : "a55ffe0e-3748-4693-a609-9cd11823bb48", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,119 +81,126 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "46eddbbf-23b6-43c9-b39c-c9ac41aee935", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "38c4a4cf-78ac-4a09-a263-ea43ebce98ed", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003419Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000efwq", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:41 GMT", + "Date" : "Wed, 04 May 2022 00:34:20 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "85ms", - "MS-CV" : "9oQo07SF30KXNphdtCltyQ.0", - "X-Azure-Ref" : "09j45YQAAAAA0lOkd9LThRIRdoZSTHPwUV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-972d-6479-224822000166\"}}", - "x-ms-client-request-id" : "46eddbbf-23b6-43c9-b39c-c9ac41aee935", + "X-Processing-Time" : "87ms", + "MS-CV" : "eigHQfcuNEiH7Gi6EtPVpA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5f-0016-7bfa-553a0d0022e0\"}}", + "x-ms-client-request-id" : "38c4a4cf-78ac-4a09-a263-ea43ebce98ed", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-9583-5d47-a63a0d0001a7/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-fa10-7bfa-553a0d0022de/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "762e303b-52e8-4e64-99fe-063556c26642", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "57b46d43-9a4c-4297-8707-76177aa97fa6", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003418Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000009h80", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "803", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:53:42 GMT", + "Date" : "Wed, 04 May 2022 00:34:18 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "150ms", - "MS-CV" : "ZL7uEl0keUmUXz46sUl4OA.0", - "X-Azure-Ref" : "09j45YQAAAABkju7UitcLQYo7UXuFGJfuV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:53:42.8599034+00:00\"}", - "x-ms-client-request-id" : "762e303b-52e8-4e64-99fe-063556c26642", + "X-Processing-Time" : "156ms", + "MS-CV" : "dqE8dtfPDkSYvfP9LBjV0A.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:34:28.268414+00:00\"}", + "x-ms-client-request-id" : "57b46d43-9a4c-4297-8707-76177aa97fa6", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "304c705b-9ba5-446a-8a0f-9de97223bd98", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "30eb53d0-e7ce-405d-aad5-6d2758ae6736", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003421Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000eg1q", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:42 GMT", + "Date" : "Wed, 04 May 2022 00:34:21 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "508ms", - "MS-CV" : "627B1vFYH0SZ7v4WarYvkg.0", - "X-Azure-Ref" : "09j45YQAAAABaiV/4LtCmQ6t1DxHwH8MGV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:8VmMM31yeniniSvACp1qFU2bie1-zFeCi2c5zA3WGUQ1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:53:42Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-9583-5d47-a63a0d0001a7\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-9583-5d47-a63a0d0001a7\"}}}}", + "X-Processing-Time" : "284ms", + "MS-CV" : "PuEzC95e+E+AJ8toOcQiDQ.0", + "Body" : "{\"chatThread\":{\"id\":\"19:LuT3IuUTweiNTlfG-X8n_jAHNwGx8le6HGHKYT0_QOI1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:34:28Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-fa10-7bfa-553a0d0022de\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-fa10-7bfa-553a0d0022de\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A8VmMM31yeniniSvACp1qFU2bie1-zFeCi2c5zA3WGUQ1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3ALuT3IuUTweiNTlfG-X8n_jAHNwGx8le6HGHKYT0_QOI1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:8VmMM31yeniniSvACp1qFU2bie1-zFeCi2c5zA3WGUQ1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:LuT3IuUTweiNTlfG-X8n_jAHNwGx8le6HGHKYT0_QOI1@thread.v2/messages?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "b88dc8e2-16e3-412f-ab75-6cabf344c7b5", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "760c2599-d3e4-4799-be5b-6afdb54202fc", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003419Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000009he1", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:42 GMT", + "Date" : "Wed, 04 May 2022 00:34:19 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "140ms", - "MS-CV" : "DEJj3p73pkW0nswmuVRnAw.0", - "X-Azure-Ref" : "09z45YQAAAABdaaJ6laKDRLKPiP3xcPldV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"id\":\"1631141623561\"}", + "X-Processing-Time" : "71ms", + "MS-CV" : "hftmxkWtO0CLfU707Yk1SA.0", + "Body" : "{\"id\":\"1651624469110\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A8VmMM31yeniniSvACp1qFU2bie1-zFeCi2c5zA3WGUQ1@thread.v2/messages/1631141623561" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3ALuT3IuUTweiNTlfG-X8n_jAHNwGx8le6HGHKYT0_QOI1@thread.v2/messages/1651624469110" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:8VmMM31yeniniSvACp1qFU2bie1-zFeCi2c5zA3WGUQ1@thread.v2/readReceipts?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:LuT3IuUTweiNTlfG-X8n_jAHNwGx8le6HGHKYT0_QOI1@thread.v2/readReceipts?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "ec77d893-1afd-4957-9500-692c4e572f15", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "52726ba4-7a39-464b-a281-0deae91afde9", "Content-Type" : "application/json" }, "Response" : { + "Accept-Ranges" : "bytes", + "x-azure-ref" : "20220504T003421Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000eg5e", "X-Cache" : "CONFIG_NOCACHE", "content-length" : "0", "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "116ms", - "MS-CV" : "KpofsgA+JEGBCabyelX1pQ.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "X-Processing-Time" : "372ms", + "Connection" : "keep-alive", + "MS-CV" : "hYaEjPIkQE6mIFLmoBx3dQ.0", "retry-after" : "0", - "X-Azure-Ref" : "09z45YQAAAADJ3TfQjEkjQ5mCDQT3ZYOcV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:53:42 GMT" + "Date" : "Wed, 04 May 2022 00:34:22 GMT" }, "Exception" : null } ], diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canSendReadReceiptWithResponseSync[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canSendReadReceiptWithResponseSync[1].json index f31d1c17e54cd..da42449040b95 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canSendReadReceiptWithResponseSync[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canSendReadReceiptWithResponseSync[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "29f39f6c-1fb2-4f3a-8758-1b17e19e152f", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "a877f66c-5a15-4194-b4a5-359256d51a71", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003412Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000009gc7", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:39 GMT", + "Date" : "Wed, 04 May 2022 00:34:13 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "67ms", - "MS-CV" : "aHonqbzxbUOwRITTfV9/3g.0", - "X-Azure-Ref" : "09D45YQAAAACdiFMykA0kRZDiGQihk+UbV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-8f0c-5d47-a63a0d0001a5\"}}", - "x-ms-client-request-id" : "29f39f6c-1fb2-4f3a-8758-1b17e19e152f", + "X-Processing-Time" : "87ms", + "MS-CV" : "jN9HUDKmO0C2el97unstEA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-ecbb-7bfa-553a0d0022dd\"}}", + "x-ms-client-request-id" : "a877f66c-5a15-4194-b4a5-359256d51a71", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,23 +29,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "3774520f-797c-490a-ae16-a97a71745cdc", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "7b1cc0e1-b53e-4c6f-b22f-e9cf6d84750d", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003415Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000ef9h", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:39 GMT", + "Date" : "Wed, 04 May 2022 00:34:15 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "89ms", - "MS-CV" : "1+h9x4BZQU6ygjQNQOqe/A.0", - "X-Azure-Ref" : "09D45YQAAAADWZ1YIpASgS4YRWmwGrfePV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-8f8f-6efa-23482200009e\"}}", - "x-ms-client-request-id" : "3774520f-797c-490a-ae16-a97a71745cdc", + "X-Processing-Time" : "88ms", + "MS-CV" : "HW17/Ok99UykFTnlnbfZ9w.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-eea6-80f5-8b3a0d0025f8\"}}", + "x-ms-client-request-id" : "7b1cc0e1-b53e-4c6f-b22f-e9cf6d84750d", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -53,23 +55,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "1332abab-45d2-468e-af16-656e7c1e264e", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "e395049d-bca3-4650-b29e-b20b74647e9a", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003413Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000009ggm", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:40 GMT", + "Date" : "Wed, 04 May 2022 00:34:13 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "68ms", - "MS-CV" : "dEn4eahv7UuzwO/qjNAF6A.0", - "X-Azure-Ref" : "09D45YQAAAADa7SOwF5uORIlEIS7orXgvV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-9038-5d47-a63a0d0001a6\"}}", - "x-ms-client-request-id" : "1332abab-45d2-468e-af16-656e7c1e264e", + "X-Processing-Time" : "90ms", + "MS-CV" : "jen4lFRoaEuwS46qhHZ3iQ.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-f033-eef0-8b3a0d002314\"}}", + "x-ms-client-request-id" : "e395049d-bca3-4650-b29e-b20b74647e9a", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,119 +81,126 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "3b3e622d-e4a0-4b18-a800-4423e107d364", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "41bbaae1-fa1a-4cdf-8bc2-040a3f964623", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003416Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000efd1", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:40 GMT", + "Date" : "Wed, 04 May 2022 00:34:16 GMT", "Strict-Transport-Security" : "max-age=2592000", "X-Processing-Time" : "89ms", - "MS-CV" : "ODY936ClyU6LbkeuwUkvug.0", - "X-Azure-Ref" : "09D45YQAAAACZXjZAwelfS6mQDcjHZr1xV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-90ce-6479-224822000165\"}}", - "x-ms-client-request-id" : "3b3e622d-e4a0-4b18-a800-4423e107d364", + "MS-CV" : "/kVOgEdxa0CH95aSMXqiWA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-f1ee-3ef0-8b3a0d002936\"}}", + "x-ms-client-request-id" : "41bbaae1-fa1a-4cdf-8bc2-040a3f964623", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-8f0c-5d47-a63a0d0001a5/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-ecbb-7bfa-553a0d0022dd/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "3bc4656d-66d5-438f-9af5-3dc6fb94e3b0", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "4164c590-d5ba-425d-90e6-26dc246d8af5", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003414Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000009gn8", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:53:40 GMT", + "Date" : "Wed, 04 May 2022 00:34:14 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "138ms", - "MS-CV" : "RcHHAvpKZUC3lP/NcAcI2g.0", - "X-Azure-Ref" : "09T45YQAAAABq36hjAWKeQpA71qDaVqXWV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:53:41.2473266+00:00\"}", - "x-ms-client-request-id" : "3bc4656d-66d5-438f-9af5-3dc6fb94e3b0", + "X-Processing-Time" : "160ms", + "MS-CV" : "qw67ZpykTEGZ/Z++sVO9dA.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:34:24.5085872+00:00\"}", + "x-ms-client-request-id" : "4164c590-d5ba-425d-90e6-26dc246d8af5", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "16191431-113e-44c2-b4d4-a367fb4caa33", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "19f1e6b9-d6d6-40d2-a75c-628d34e62fd3", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003417Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000efhs", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:40 GMT", + "Date" : "Wed, 04 May 2022 00:34:17 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "417ms", - "MS-CV" : "gG4cHia+iEuBnyKorStMhg.0", - "X-Azure-Ref" : "09T45YQAAAACDDednVZvXSqegNSrCCJRDV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:8MDCtA4TvPZ2wOA1ZrmADPCUf5q320gkn8xkikfPt0A1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:53:41Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-8f0c-5d47-a63a0d0001a5\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-8f0c-5d47-a63a0d0001a5\"}}}}", + "X-Processing-Time" : "289ms", + "MS-CV" : "FkGHxPX6yUertMM8bjDoJQ.0", + "Body" : "{\"chatThread\":{\"id\":\"19:U3T3OUU1XTBzAJrvV-SowOM-26t7fJ3XbuTczGERcyY1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:34:24Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-ecbb-7bfa-553a0d0022dd\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-ecbb-7bfa-553a0d0022dd\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A8MDCtA4TvPZ2wOA1ZrmADPCUf5q320gkn8xkikfPt0A1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AU3T3OUU1XTBzAJrvV-SowOM-26t7fJ3XbuTczGERcyY1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:8MDCtA4TvPZ2wOA1ZrmADPCUf5q320gkn8xkikfPt0A1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:U3T3OUU1XTBzAJrvV-SowOM-26t7fJ3XbuTczGERcyY1@thread.v2/messages?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "f9a82eef-9440-4a60-9741-9f7fa9229280", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "3948f804-6d6e-4611-b310-3dafd61b0146", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003415Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000009gu4", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:41 GMT", + "Date" : "Wed, 04 May 2022 00:34:15 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "140ms", - "MS-CV" : "ytMxgBnVx0KXdsFLbOfnwQ.0", - "X-Azure-Ref" : "09T45YQAAAABai61l6zhWTYZoMheoDAc7V1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"id\":\"1631141621831\"}", + "X-Processing-Time" : "73ms", + "MS-CV" : "IXMezSDnSUSmNOJQ0eUGaQ.0", + "Body" : "{\"id\":\"1651624465201\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A8MDCtA4TvPZ2wOA1ZrmADPCUf5q320gkn8xkikfPt0A1@thread.v2/messages/1631141621831" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AU3T3OUU1XTBzAJrvV-SowOM-26t7fJ3XbuTczGERcyY1@thread.v2/messages/1651624465201" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:8MDCtA4TvPZ2wOA1ZrmADPCUf5q320gkn8xkikfPt0A1@thread.v2/readReceipts?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:U3T3OUU1XTBzAJrvV-SowOM-26t7fJ3XbuTczGERcyY1@thread.v2/readReceipts?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "1f392604-b4de-4204-9c18-0775aebad235", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "bcfdf24b-80d4-4a8d-b855-40b04965eef8", "Content-Type" : "application/json" }, "Response" : { + "Accept-Ranges" : "bytes", + "x-azure-ref" : "20220504T003418Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000efmv", "X-Cache" : "CONFIG_NOCACHE", "content-length" : "0", "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "128ms", - "MS-CV" : "viy35jzyHUakQ29aL5HTlw.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "X-Processing-Time" : "115ms", + "Connection" : "keep-alive", + "MS-CV" : "6iaPMTtqMECfutAThii2Uw.0", "retry-after" : "0", - "X-Azure-Ref" : "09T45YQAAAAAHBUZqAQpoR4dmqjWAKDVEV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:53:41 GMT" + "Date" : "Wed, 04 May 2022 00:34:18 GMT" }, "Exception" : null } ], diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canSendThenGetMessageWithResponse[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canSendThenGetMessageWithResponse[1].json index 45629f91a075b..9b18f299de65b 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canSendThenGetMessageWithResponse[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canSendThenGetMessageWithResponse[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "22e180f5-bde9-43b5-a0a5-41c24511cb51", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "193a37ee-1187-481f-8130-36dc334c597e", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003325Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000097xn", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:20 GMT", + "Date" : "Wed, 04 May 2022 00:33:25 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "73ms", - "MS-CV" : "R2dz+xxh7EmOT+G8ZcDv4g.0", - "X-Azure-Ref" : "04T45YQAAAADBmIlPrbynTJ4FaT2tJlmPV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-4488-5d47-a63a0d00018c\"}}", - "x-ms-client-request-id" : "22e180f5-bde9-43b5-a0a5-41c24511cb51", + "X-Processing-Time" : "89ms", + "MS-CV" : "u2uU9hlCuEO3HMcwicOdlw.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-32b2-7bfa-553a0d0022d2\"}}", + "x-ms-client-request-id" : "193a37ee-1187-481f-8130-36dc334c597e", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,23 +29,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "a8792add-8ca3-44cd-bed7-ebcb30226a00", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "2aa8d77e-f887-429b-bb13-bf85bbf0a8cf", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003327Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e8xe", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:20 GMT", + "Date" : "Wed, 04 May 2022 00:33:28 GMT", "Strict-Transport-Security" : "max-age=2592000", "X-Processing-Time" : "87ms", - "MS-CV" : "L3P0gLW9hESPOu+66ypGvA.0", - "X-Azure-Ref" : "04T45YQAAAACd0x8Jfg+dSYBYrGrbNqtyV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-450e-6efa-234822000093\"}}", - "x-ms-client-request-id" : "a8792add-8ca3-44cd-bed7-ebcb30226a00", + "MS-CV" : "Hee+6kgcZUSri3xPoOAQ5Q.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-3456-defd-8b3a0d0028d6\"}}", + "x-ms-client-request-id" : "2aa8d77e-f887-429b-bb13-bf85bbf0a8cf", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -53,23 +55,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "b495804c-a125-4da2-85f8-5de1dbcddbe6", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "630e0346-182a-405b-be00-3104038026ee", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003326Z-3knzm6g59904z2v1e8tfw6gqqn000000060g00000000981z", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:21 GMT", + "Date" : "Wed, 04 May 2022 00:33:26 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "60ms", - "MS-CV" : "bR5U00iElkOdcxuTU4YmWQ.0", - "X-Azure-Ref" : "04T45YQAAAACqjowIW2qbQqhgDZ3iNsqhV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-45a9-5d47-a63a0d00018d\"}}", - "x-ms-client-request-id" : "b495804c-a125-4da2-85f8-5de1dbcddbe6", + "X-Processing-Time" : "93ms", + "MS-CV" : "i4R+EIfbtU+PT1zbJnWI2Q.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-369a-eef0-8b3a0d002303\"}}", + "x-ms-client-request-id" : "630e0346-182a-405b-be00-3104038026ee", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,119 +81,125 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "b151a897-e210-4086-99e3-cbba41f35ebc", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "18b02dbf-14f7-4bc8-ad57-2ccf9ae01151", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003328Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e91p", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:21 GMT", + "Date" : "Wed, 04 May 2022 00:33:29 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "86ms", - "MS-CV" : "GGuaN4tmlkS0TejEk3cyRg.0", - "X-Azure-Ref" : "04T45YQAAAACwBOwe/Qm/S550vS5gONd+V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-4629-6479-224822000158\"}}", - "x-ms-client-request-id" : "b151a897-e210-4086-99e3-cbba41f35ebc", + "X-Processing-Time" : "88ms", + "MS-CV" : "zL+1aWoslUasDtvi2gunOQ.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-3905-eef0-8b3a0d002305\"}}", + "x-ms-client-request-id" : "18b02dbf-14f7-4bc8-ad57-2ccf9ae01151", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-4488-5d47-a63a0d00018c/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-32b2-7bfa-553a0d0022d2/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "1a07cba5-1b9f-4923-a91d-253d9f4de19a", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "95621b80-d9e6-43e7-bab9-45ae75a2aeb5", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003327Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000009888", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:53:21 GMT", + "Date" : "Wed, 04 May 2022 00:33:27 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "150ms", - "MS-CV" : "EfB+2+A2d0C1J8hzhR36fA.0", - "X-Azure-Ref" : "04T45YQAAAAD9g3m6T7B5QIcXeO1g/8SkV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:53:22.1175887+00:00\"}", - "x-ms-client-request-id" : "1a07cba5-1b9f-4923-a91d-253d9f4de19a", + "X-Processing-Time" : "163ms", + "MS-CV" : "+VfHLl7gqUm4MWmsjUES9A.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:33:37.3687872+00:00\"}", + "x-ms-client-request-id" : "95621b80-d9e6-43e7-bab9-45ae75a2aeb5", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "06b85ab1-42ab-45fc-8db8-0ae1ea78bd7f", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "77239280-08e0-45fe-b7a9-dc2243a19fa0", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003330Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e977", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:21 GMT", + "Date" : "Wed, 04 May 2022 00:33:30 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "522ms", - "MS-CV" : "lgD34xThNEmXaNWMSp7uLw.0", - "X-Azure-Ref" : "04j45YQAAAAD0gcx7iWq2Ro9cZUMqRDB0V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:Bu-QNpTd4oTkd08zYD0pkmCVZZ61HFGzOXV6V6ZS3741@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:53:22Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-4488-5d47-a63a0d00018c\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-4488-5d47-a63a0d00018c\"}}}}", + "X-Processing-Time" : "572ms", + "MS-CV" : "pnZxQtDtK0iU/I5kuxXO2w.0", + "Body" : "{\"chatThread\":{\"id\":\"19:iCfEfyxnT8XNQADn5JJwWGzV7p4cOn0Dqmqo9b1hyKc1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:33:37Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-32b2-7bfa-553a0d0022d2\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-32b2-7bfa-553a0d0022d2\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3ABu-QNpTd4oTkd08zYD0pkmCVZZ61HFGzOXV6V6ZS3741@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AiCfEfyxnT8XNQADn5JJwWGzV7p4cOn0Dqmqo9b1hyKc1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:Bu-QNpTd4oTkd08zYD0pkmCVZZ61HFGzOXV6V6ZS3741@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:iCfEfyxnT8XNQADn5JJwWGzV7p4cOn0Dqmqo9b1hyKc1@thread.v2/messages?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "faf3e748-ecf5-47ec-b322-38161b9398a4", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "f1a45b5f-b119-4a8f-b4ef-385f5270001c", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003328Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000098ep", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:22 GMT", + "Date" : "Wed, 04 May 2022 00:33:28 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "199ms", - "MS-CV" : "49bRIplhD0yPfOGTvn9Hew.0", - "X-Azure-Ref" : "04j45YQAAAAAF4RNUj1SkQKFgwCmWpNtuV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"id\":\"1631141602848\"}", + "X-Processing-Time" : "126ms", + "MS-CV" : "ptgBcVYah0+/KFSD0mYfhA.0", + "Body" : "{\"id\":\"1651624418328\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3ABu-QNpTd4oTkd08zYD0pkmCVZZ61HFGzOXV6V6ZS3741@thread.v2/messages/1631141602848" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AiCfEfyxnT8XNQADn5JJwWGzV7p4cOn0Dqmqo9b1hyKc1@thread.v2/messages/1651624418328" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:Bu-QNpTd4oTkd08zYD0pkmCVZZ61HFGzOXV6V6ZS3741@thread.v2/messages/1631141602848?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:iCfEfyxnT8XNQADn5JJwWGzV7p4cOn0Dqmqo9b1hyKc1@thread.v2/messages/1651624418328?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "a9d42242-3bbb-4d6e-b142-0332c0234ee9" + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "a5d680d0-4d74-4bc5-97b1-e167967077b6" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003331Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e9cb", "X-Cache" : "CONFIG_NOCACHE", - "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "150ms", - "MS-CV" : "JPcz5fHktECyJ1seSON+6g.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", - "X-Azure-Ref" : "04j45YQAAAADwD1d4J0GASrYxJEk4ubu8V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"id\":\"1631141602848\",\"type\":\"text\",\"sequenceId\":\"3\",\"version\":\"1631141602848\",\"content\":{\"message\":\"Content\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-09-08T22:53:22Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-4488-5d47-a63a0d00018c\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-4488-5d47-a63a0d00018c\"}},\"metadata\":{\"onedriveReferences\":\"onedriveReferences\",\"deliveryMode\":\"deliveryMode value\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\",\"tags\":\"tags value\"}}", - "Date" : "Wed, 08 Sep 2021 22:53:22 GMT", + "Date" : "Wed, 04 May 2022 00:33:31 GMT", + "Strict-Transport-Security" : "max-age=2592000", + "X-Processing-Time" : "151ms", + "MS-CV" : "jpZeQnrbcUit3ewGwpWj4g.0", + "Body" : "{\"id\":\"1651624418328\",\"type\":\"text\",\"sequenceId\":\"3\",\"version\":\"1651624418328\",\"content\":{\"message\":\"Content\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2022-05-04T00:33:38Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-32b2-7bfa-553a0d0022d2\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-32b2-7bfa-553a0d0022d2\"}},\"metadata\":{\"onedriveReferences\":\"onedriveReferences\",\"deliveryMode\":\"deliveryMode value\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\",\"tags\":\"tags value\"}}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canSendThenGetMessage[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canSendThenGetMessage[1].json index 9bd90cb232fbb..5de4548843309 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canSendThenGetMessage[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canSendThenGetMessage[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "719f60cb-48b3-43de-a0a1-4d72b400da2d", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "97cc17a6-dd0e-4f40-b1ce-e7fd0fc26a4f", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003229Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008ytp", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:54 GMT", + "Date" : "Wed, 04 May 2022 00:32:29 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "63ms", - "MS-CV" : "Ud7FAIlA+0G5G7BRoaIyBA.0", - "X-Azure-Ref" : "0xz45YQAAAAD59sEISwQNT64PmauZA/C4V1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-df81-5dbd-9f3a0d0000e6\"}}", - "x-ms-client-request-id" : "719f60cb-48b3-43de-a0a1-4d72b400da2d", + "X-Processing-Time" : "86ms", + "MS-CV" : "qV0E4/fn2k2uOWoKxsYbBA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-5a5c-fa5d-573a0d00298a\"}}", + "x-ms-client-request-id" : "97cc17a6-dd0e-4f40-b1ce-e7fd0fc26a4f", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,23 +29,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "908f47ef-22eb-44ca-99bb-3d76bece4a74", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "17992bce-9188-4fef-8ab1-38ca28f6d9ed", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003232Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e1bt", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:54 GMT", + "Date" : "Wed, 04 May 2022 00:32:32 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "90ms", - "MS-CV" : "SicKb3UBwEKXpBbrCn/hpw.0", - "X-Azure-Ref" : "0xz45YQAAAAAINp2REuIfQ4+aiOKdY8InV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-dffd-6479-22482200014a\"}}", - "x-ms-client-request-id" : "908f47ef-22eb-44ca-99bb-3d76bece4a74", + "X-Processing-Time" : "88ms", + "MS-CV" : "61LRWBbauU6QWJafvbKfsg.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-5bbe-fa5d-573a0d00298b\"}}", + "x-ms-client-request-id" : "17992bce-9188-4fef-8ab1-38ca28f6d9ed", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -53,23 +55,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "d222c443-8741-4e64-8e3a-18f18c913eac", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "a9df857f-90a3-4d86-91ab-33200c72cd7b", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003230Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008yyp", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:55 GMT", + "Date" : "Wed, 04 May 2022 00:32:30 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "82ms", - "MS-CV" : "TwGP6/WUa0uIg8xk7h1gcw.0", - "X-Azure-Ref" : "0xz45YQAAAABkfdZXVFs7QpYfETO4nDWGV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-e095-5dbd-9f3a0d0000e7\"}}", - "x-ms-client-request-id" : "d222c443-8741-4e64-8e3a-18f18c913eac", + "X-Processing-Time" : "89ms", + "MS-CV" : "8nwNpjvPTkSBWJo8MsKFTQ.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-5d37-69f0-553a0d0029c3\"}}", + "x-ms-client-request-id" : "a9df857f-90a3-4d86-91ab-33200c72cd7b", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,119 +81,125 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "012e0063-d131-4e1b-bd86-417daad6113d", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "8249c744-f105-43d9-843d-785c9c87fe5b", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003233Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e1er", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:55 GMT", + "Date" : "Wed, 04 May 2022 00:32:33 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "89ms", - "MS-CV" : "e18UvPKhgk61la19er1Ldw.0", - "X-Azure-Ref" : "0xz45YQAAAADA5r7E7NZAQKveXopz7nEMV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-e124-6efa-234822000085\"}}", - "x-ms-client-request-id" : "012e0063-d131-4e1b-bd86-417daad6113d", + "X-Processing-Time" : "88ms", + "MS-CV" : "+Q0qt36nw0uuiAboi6SpAw.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-5eda-eef0-8b3a0d0022f3\"}}", + "x-ms-client-request-id" : "8249c744-f105-43d9-843d-785c9c87fe5b", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-df81-5dbd-9f3a0d0000e6/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-5a5c-fa5d-573a0d00298a/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "a2b2b5f0-e051-4f34-8474-28a36e53bbe1", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "4455531a-1d5c-4a01-a4c0-341193816f13", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003231Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008z35", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:52:55 GMT", + "Date" : "Wed, 04 May 2022 00:32:31 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "133ms", - "MS-CV" : "66hH6xDgnE2+LcJ+2Kjq5g.0", - "X-Azure-Ref" : "0yD45YQAAAAC+xgLpsEL4T6UbVEOJqvpbV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:52:56.2451092+00:00\"}", - "x-ms-client-request-id" : "a2b2b5f0-e051-4f34-8474-28a36e53bbe1", + "X-Processing-Time" : "153ms", + "MS-CV" : "w6da9bbKc0iEmMURARmBSQ.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:32:41.1698482+00:00\"}", + "x-ms-client-request-id" : "4455531a-1d5c-4a01-a4c0-341193816f13", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "1663c437-b763-4808-8116-b093f95b4757", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "c16b7807-8e16-4ac4-ab25-466f98d86790", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003233Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e1m7", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:55 GMT", + "Date" : "Wed, 04 May 2022 00:32:34 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "438ms", - "MS-CV" : "ulec5CE34U2hhhASWT2Wgg.0", - "X-Azure-Ref" : "0yD45YQAAAABMgr94vhTFQ62EpmTgqqmkV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:nk5JGjofHpTIUXReUvkQCIGcSp8LE6qj9EwxtwDATqs1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:52:56Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-df81-5dbd-9f3a0d0000e6\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-df81-5dbd-9f3a0d0000e6\"}}}}", + "X-Processing-Time" : "508ms", + "MS-CV" : "ueSvXmtpRU2Aok5fzb0vFw.0", + "Body" : "{\"chatThread\":{\"id\":\"19:KxYFm0zT_EnQn4xFgB3MzG5w0WWg0ZoIktJHkT2_P8U1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:32:41Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-5a5c-fa5d-573a0d00298a\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-5a5c-fa5d-573a0d00298a\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Ank5JGjofHpTIUXReUvkQCIGcSp8LE6qj9EwxtwDATqs1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AKxYFm0zT_EnQn4xFgB3MzG5w0WWg0ZoIktJHkT2_P8U1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:nk5JGjofHpTIUXReUvkQCIGcSp8LE6qj9EwxtwDATqs1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:KxYFm0zT_EnQn4xFgB3MzG5w0WWg0ZoIktJHkT2_P8U1@thread.v2/messages?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "a956bc9c-f729-468b-a29e-fb84f815dd60", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "e0e88ac6-5c89-46d5-8270-d5db663e148a", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003232Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000008z9v", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:56 GMT", + "Date" : "Wed, 04 May 2022 00:32:32 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "214ms", - "MS-CV" : "zwrvOvONCEGQRJkaEWr44g.0", - "X-Azure-Ref" : "0yD45YQAAAABLyCrZ1c2GQLZQq4xVjrSBV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"id\":\"1631141576886\"}", + "X-Processing-Time" : "208ms", + "MS-CV" : "32IPVbhJPU+9hJNCqjU/Gg.0", + "Body" : "{\"id\":\"1651624362002\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Ank5JGjofHpTIUXReUvkQCIGcSp8LE6qj9EwxtwDATqs1@thread.v2/messages/1631141576886" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AKxYFm0zT_EnQn4xFgB3MzG5w0WWg0ZoIktJHkT2_P8U1@thread.v2/messages/1651624362002" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:nk5JGjofHpTIUXReUvkQCIGcSp8LE6qj9EwxtwDATqs1@thread.v2/messages/1631141576886?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:KxYFm0zT_EnQn4xFgB3MzG5w0WWg0ZoIktJHkT2_P8U1@thread.v2/messages/1651624362002?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "f7b214de-6fbe-4adb-95ed-bda9a9f6a363" + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "6b838c1d-d172-4496-ab3e-9bfa35a36ee4" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003235Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e1sh", "X-Cache" : "CONFIG_NOCACHE", - "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "153ms", - "MS-CV" : "zDFF2fBRTUWzVQNMaBeJzg.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", - "X-Azure-Ref" : "0yD45YQAAAADRrYJPQmXgS7/9xlQ8+JoDV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"id\":\"1631141576886\",\"type\":\"text\",\"sequenceId\":\"3\",\"version\":\"1631141576886\",\"content\":{\"message\":\"Content\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-09-08T22:52:56Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-df81-5dbd-9f3a0d0000e6\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-df81-5dbd-9f3a0d0000e6\"}},\"metadata\":{\"onedriveReferences\":\"onedriveReferences\",\"deliveryMode\":\"deliveryMode value\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\",\"tags\":\"tags value\"}}", - "Date" : "Wed, 08 Sep 2021 22:52:56 GMT", + "Date" : "Wed, 04 May 2022 00:32:35 GMT", + "Strict-Transport-Security" : "max-age=2592000", + "X-Processing-Time" : "127ms", + "MS-CV" : "yZ4PSBo/6UGNGZ90qnq/jA.0", + "Body" : "{\"id\":\"1651624362002\",\"type\":\"text\",\"sequenceId\":\"3\",\"version\":\"1651624362002\",\"content\":{\"message\":\"Content\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2022-05-04T00:32:42Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-5a5c-fa5d-573a0d00298a\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-5a5c-fa5d-573a0d00298a\"}},\"metadata\":{\"onedriveReferences\":\"onedriveReferences\",\"deliveryMode\":\"deliveryMode value\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\",\"tags\":\"tags value\"}}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canSendThenListReadReceiptsWithOptions[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canSendThenListReadReceiptsWithOptions[1].json index 0a3683f7217f8..b79626632f685 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canSendThenListReadReceiptsWithOptions[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canSendThenListReadReceiptsWithOptions[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "ecc8df28-14d0-406a-b3e9-d3e9e7722cae", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "4fd98030-4a27-4990-a5ae-5d0fe6c6cc36", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003338Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000eaaf", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:25 GMT", + "Date" : "Wed, 04 May 2022 00:33:38 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "89ms", - "MS-CV" : "N6u9uZzBZUmhKFZIDt5J5w.0", - "X-Azure-Ref" : "05j45YQAAAAA8akl6bvF/Toqb9eKE1umCV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-571b-6efa-234822000096\"}}", - "x-ms-client-request-id" : "ecc8df28-14d0-406a-b3e9-d3e9e7722cae", + "X-Processing-Time" : "86ms", + "MS-CV" : "qOF1bMRNkkGUcbr0GCeaPQ.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-5cf4-69f0-553a0d0029d4\"}}", + "x-ms-client-request-id" : "4fd98030-4a27-4990-a5ae-5d0fe6c6cc36", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,23 +29,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "0f5b8654-e6d4-4025-806b-b58b0567c446", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "961c76a9-8b6a-4f6e-b80e-2c1ecebe6ed7", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003336Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000099rg", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:25 GMT", + "Date" : "Wed, 04 May 2022 00:33:36 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "70ms", - "MS-CV" : "bR6Sr/IPDU2izyXz3bFFsQ.0", - "X-Azure-Ref" : "05j45YQAAAACD80n/Iu1YQLZR+9c0TU97V1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-57b6-5d47-a63a0d000193\"}}", - "x-ms-client-request-id" : "0f5b8654-e6d4-4025-806b-b58b0567c446", + "X-Processing-Time" : "91ms", + "MS-CV" : "0xVyY/2/qU21lUHFrpFbMQ.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-5ea0-92fd-8b3a0d002956\"}}", + "x-ms-client-request-id" : "961c76a9-8b6a-4f6e-b80e-2c1ecebe6ed7", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -53,23 +55,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "b298d3c5-5ca7-4203-b2df-a51e7a27c9db", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "2406c9c2-fbfb-4f63-a678-eb44dcf6b8a7", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003339Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000eadr", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:25 GMT", + "Date" : "Wed, 04 May 2022 00:33:39 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "88ms", - "MS-CV" : "sN0wIVTUtkeCC7/pITfqSQ.0", - "X-Azure-Ref" : "05j45YQAAAACaGz/3OZ96T4K1xGgxRIzVV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-583c-6479-22482200015b\"}}", - "x-ms-client-request-id" : "b298d3c5-5ca7-4203-b2df-a51e7a27c9db", + "X-Processing-Time" : "87ms", + "MS-CV" : "ktb+1d9eAEuji3oOlWLSpg.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-60c9-fa5d-573a0d0029ad\"}}", + "x-ms-client-request-id" : "2406c9c2-fbfb-4f63-a678-eb44dcf6b8a7", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,140 +81,148 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "4f8da914-e25a-4d7b-9ab5-92611f571b0a", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "6cc178fd-c9b3-4833-91d5-e55ab87151f8", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003337Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000099wk", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:25 GMT", + "Date" : "Wed, 04 May 2022 00:33:37 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "69ms", - "MS-CV" : "k9ANnvIvmEibooj31CZKRQ.0", - "X-Azure-Ref" : "05j45YQAAAACcj55skufYQq6oxtZGHnTGV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-58d3-5d47-a63a0d000194\"}}", - "x-ms-client-request-id" : "4f8da914-e25a-4d7b-9ab5-92611f571b0a", + "X-Processing-Time" : "88ms", + "MS-CV" : "GFNrmEWZdE2kwYa53OcjIw.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-6266-92fd-8b3a0d002957\"}}", + "x-ms-client-request-id" : "6cc178fd-c9b3-4833-91d5-e55ab87151f8", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-571b-6efa-234822000096/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-5cf4-69f0-553a0d0029d4/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "d74a68f5-30ee-48eb-ab14-31d992c5af0e", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "66c3ab93-bcc0-40f9-b0c3-26c8e44a4fcd", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003339Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000eahd", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "803", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:53:25 GMT", + "Date" : "Wed, 04 May 2022 00:33:40 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "156ms", - "MS-CV" : "Q9yNSKupS0yD8lT9YEmTGw.0", - "X-Azure-Ref" : "05j45YQAAAAAud351JjpkS4QW7orWZTscV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:53:26.8830405+00:00\"}", - "x-ms-client-request-id" : "d74a68f5-30ee-48eb-ab14-31d992c5af0e", + "X-Processing-Time" : "167ms", + "MS-CV" : "pD2LBC5+LUSit5SdHHD5uw.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:33:47.655499+00:00\"}", + "x-ms-client-request-id" : "66c3ab93-bcc0-40f9-b0c3-26c8e44a4fcd", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "f08138f7-9219-4d77-a219-2eaead351f12", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "02748e97-be82-4798-b066-27520311fc58", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003338Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000009a15", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:26 GMT", + "Date" : "Wed, 04 May 2022 00:33:38 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "424ms", - "MS-CV" : "adyJlC3FvU6gMOAvAAIA+Q.0", - "X-Azure-Ref" : "05j45YQAAAAD8HICL9hn7SI1VamKI+XXnV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:N07rCzCFdhnvAkV4A6_GxX0iUYTx22VjDjhvwYrLAXI1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:53:26Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-571b-6efa-234822000096\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-571b-6efa-234822000096\"}}}}", + "X-Processing-Time" : "336ms", + "MS-CV" : "rbJkkuo9fkideCbOUMdeBg.0", + "Body" : "{\"chatThread\":{\"id\":\"19:aZxeKh24yOXPYqvZ9EcvSV2JVihmo991bNQ-O_Z3NfA1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:33:47Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-5cf4-69f0-553a0d0029d4\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-5cf4-69f0-553a0d0029d4\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AN07rCzCFdhnvAkV4A6_GxX0iUYTx22VjDjhvwYrLAXI1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AaZxeKh24yOXPYqvZ9EcvSV2JVihmo991bNQ-O_Z3NfA1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:N07rCzCFdhnvAkV4A6_GxX0iUYTx22VjDjhvwYrLAXI1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:aZxeKh24yOXPYqvZ9EcvSV2JVihmo991bNQ-O_Z3NfA1@thread.v2/messages?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "e4740f4b-c189-47a7-bd27-2cc807abc438", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "2e88f1e1-5ac2-410a-88d9-ba47b3ed7312", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003340Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000eaqa", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:26 GMT", + "Date" : "Wed, 04 May 2022 00:33:41 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "244ms", - "MS-CV" : "5o0m67f48UOV28nFQJZrdQ.0", - "X-Azure-Ref" : "05z45YQAAAAAY4t49AW4aSZl1a0umbdeLV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"id\":\"1631141607517\"}", + "X-Processing-Time" : "261ms", + "MS-CV" : "Cd09mz7fxkasIGk5dTo4vQ.0", + "Body" : "{\"id\":\"1651624428380\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AN07rCzCFdhnvAkV4A6_GxX0iUYTx22VjDjhvwYrLAXI1@thread.v2/messages/1631141607517" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AaZxeKh24yOXPYqvZ9EcvSV2JVihmo991bNQ-O_Z3NfA1@thread.v2/messages/1651624428380" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:N07rCzCFdhnvAkV4A6_GxX0iUYTx22VjDjhvwYrLAXI1@thread.v2/readReceipts?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:aZxeKh24yOXPYqvZ9EcvSV2JVihmo991bNQ-O_Z3NfA1@thread.v2/readReceipts?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "5a168b3e-a3e4-4faa-8353-d92bfd42acfb", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "2dcdbbc5-b575-4a76-bbd3-d1a4c0ba647c", "Content-Type" : "application/json" }, "Response" : { + "Accept-Ranges" : "bytes", + "x-azure-ref" : "20220504T003338Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000009a6y", "X-Cache" : "CONFIG_NOCACHE", "content-length" : "0", "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "161ms", - "MS-CV" : "hI/2epRY8ketg5XPe5jeag.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "X-Processing-Time" : "252ms", + "Connection" : "keep-alive", + "MS-CV" : "blUKScbbkUuvnpX9ACmy0g.0", "retry-after" : "0", - "X-Azure-Ref" : "05z45YQAAAADuhhmlujlXRaVSs84G1XuDV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:53:27 GMT" + "Date" : "Wed, 04 May 2022 00:33:39 GMT" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:N07rCzCFdhnvAkV4A6_GxX0iUYTx22VjDjhvwYrLAXI1@thread.v2/readReceipts?maxPageSize=1&api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:aZxeKh24yOXPYqvZ9EcvSV2JVihmo991bNQ-O_Z3NfA1@thread.v2/readReceipts?maxPageSize=1&api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "43598701-53c4-4f1c-b5ad-5e9aa3810f9a" + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "bc735141-86f4-45fa-a210-97a3fe24f2b0" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003341Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000eaua", "X-Cache" : "CONFIG_NOCACHE", - "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "88ms", - "MS-CV" : "vs4o1oY3fE6CgneNG6WqFw.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", - "X-Azure-Ref" : "05z45YQAAAABt+CIGEq2nRoGDKoSSC4KqV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"value\":[{\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-571b-6efa-234822000096\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-571b-6efa-234822000096\"}},\"chatMessageId\":\"1631141607517\",\"readOn\":\"2021-09-08T22:53:27Z\"}]}", - "Date" : "Wed, 08 Sep 2021 22:53:27 GMT", + "Date" : "Wed, 04 May 2022 00:33:41 GMT", + "Strict-Transport-Security" : "max-age=2592000", + "X-Processing-Time" : "94ms", + "MS-CV" : "uRjwhKESgkGxWtany7Zxcg.0", + "Body" : "{\"value\":[{\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-5cf4-69f0-553a0d0029d4\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-5cf4-69f0-553a0d0029d4\"}},\"chatMessageId\":\"1651624428380\",\"readOn\":\"2022-05-04T00:33:48Z\"}]}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canSendThenListReadReceiptsWithResponse[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canSendThenListReadReceiptsWithResponse[1].json index 02b089516f5e1..027392609a2d0 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canSendThenListReadReceiptsWithResponse[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canSendThenListReadReceiptsWithResponse[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "f1a39814-3fa9-40a0-9c06-e9cd35ef0349", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "ea643a97-9618-460b-96be-8289ebfe1850", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003239Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e2ca", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:58 GMT", + "Date" : "Wed, 04 May 2022 00:32:39 GMT", "Strict-Transport-Security" : "max-age=2592000", "X-Processing-Time" : "89ms", - "MS-CV" : "0fe/bvw5bkuiIAPsJwAnOw.0", - "X-Azure-Ref" : "0yz45YQAAAAATZuVualNOQbMw4dkZB91KV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-ef98-6479-22482200014c\"}}", - "x-ms-client-request-id" : "f1a39814-3fa9-40a0-9c06-e9cd35ef0349", + "MS-CV" : "fFfoHY6epkCTzvFoGE5rVw.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-764a-1252-573a0d002bce\"}}", + "x-ms-client-request-id" : "ea643a97-9618-460b-96be-8289ebfe1850", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,23 +29,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "b6f118cd-0b42-40e1-be5b-e70dfdb3da3c", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "0fca0c40-4538-470f-abb1-3814d7d0ed7f", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003237Z-3knzm6g59904z2v1e8tfw6gqqn000000060g00000000907g", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:59 GMT", + "Date" : "Wed, 04 May 2022 00:32:37 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "63ms", - "MS-CV" : "tw+va2epyUKYxbPvklmhzA.0", - "X-Azure-Ref" : "0yz45YQAAAACKoqk/ONtUR6A+JxT2skfYV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-f033-5dbd-9f3a0d0000ea\"}}", - "x-ms-client-request-id" : "b6f118cd-0b42-40e1-be5b-e70dfdb3da3c", + "X-Processing-Time" : "92ms", + "MS-CV" : "fZxI8tHrGEqzDXHclAle6g.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-77d2-eef0-8b3a0d0022f5\"}}", + "x-ms-client-request-id" : "0fca0c40-4538-470f-abb1-3814d7d0ed7f", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -53,23 +55,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "c63e1e29-857d-42b1-b5f0-ef6d295148da", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "ce804c9e-5ea6-4781-b62b-e3d1a51a8948", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003240Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e2ht", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:59 GMT", + "Date" : "Wed, 04 May 2022 00:32:40 GMT", "Strict-Transport-Security" : "max-age=2592000", "X-Processing-Time" : "88ms", - "MS-CV" : "JEAGpF94aU6fXKPQ7QzDpA.0", - "X-Azure-Ref" : "0yz45YQAAAAD6StjiHEeFTqkooTRI41MvV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-f0b1-6efa-234822000087\"}}", - "x-ms-client-request-id" : "c63e1e29-857d-42b1-b5f0-ef6d295148da", + "MS-CV" : "phwmKeUkRUap4rSIDF1nnQ.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-7a92-80f5-8b3a0d0025db\"}}", + "x-ms-client-request-id" : "ce804c9e-5ea6-4781-b62b-e3d1a51a8948", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,140 +81,148 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "523c11c6-b380-4afa-97b1-1e228a9999c8", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "3e9a3a9c-6c47-4f46-b531-2f0f1a3fb1e9", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003238Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000090d2", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:52:59 GMT", + "Date" : "Wed, 04 May 2022 00:32:38 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "62ms", - "MS-CV" : "511OTg9q4UyrrfyImBZKZw.0", - "X-Azure-Ref" : "0zD45YQAAAACUQbnEtJxYSa5EgCQ3jNUiV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-f14d-5dbd-9f3a0d0000eb\"}}", - "x-ms-client-request-id" : "523c11c6-b380-4afa-97b1-1e228a9999c8", + "X-Processing-Time" : "85ms", + "MS-CV" : "KbNNMXAtrkybieUA2ceZnw.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-7c12-fa5d-573a0d002992\"}}", + "x-ms-client-request-id" : "3e9a3a9c-6c47-4f46-b531-2f0f1a3fb1e9", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-ef98-6479-22482200014c/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-764a-1252-573a0d002bce/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "529af64b-75fb-47fb-8065-d8392eae46d2", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "f3834026-40db-4433-90ca-13284d689155", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003240Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e2q2", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:52:59 GMT", + "Date" : "Wed, 04 May 2022 00:32:41 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "155ms", - "MS-CV" : "J46r3JxoOkSEN3jz0kCYBQ.0", - "X-Azure-Ref" : "0zD45YQAAAADiU9P/2TpVRY7SzcuV8tlXV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:53:00.3733293+00:00\"}", - "x-ms-client-request-id" : "529af64b-75fb-47fb-8065-d8392eae46d2", + "X-Processing-Time" : "156ms", + "MS-CV" : "mv2auVqPMU2nM7/TtnaKcQ.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:32:48.6917862+00:00\"}", + "x-ms-client-request-id" : "f3834026-40db-4433-90ca-13284d689155", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "1a55f961-47f1-46bd-bb07-13484323f621", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "698a7fe6-9b6a-4743-9d53-8a5e8b5fd824", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003239Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000090kp", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:00 GMT", + "Date" : "Wed, 04 May 2022 00:32:39 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "383ms", - "MS-CV" : "d43s+evwTk6sfxrUfpUggQ.0", - "X-Azure-Ref" : "0zD45YQAAAAAZvZ1Y/TWCTphuTyzL3LugV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:NpDCClhhnmNcgU3ZizDoJbwlLsS_0TCBlY2945aMb3w1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:53:00Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-ef98-6479-22482200014c\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-ef98-6479-22482200014c\"}}}}", + "X-Processing-Time" : "525ms", + "MS-CV" : "U/wmCHeRZEWa9A+LYxa0hQ.0", + "Body" : "{\"chatThread\":{\"id\":\"19:JAxUhTdBZyjXtueaPQpoMjY5mCZUlMEiGTr5fMKziuc1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:32:48Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-764a-1252-573a0d002bce\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-764a-1252-573a0d002bce\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3ANpDCClhhnmNcgU3ZizDoJbwlLsS_0TCBlY2945aMb3w1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AJAxUhTdBZyjXtueaPQpoMjY5mCZUlMEiGTr5fMKziuc1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:NpDCClhhnmNcgU3ZizDoJbwlLsS_0TCBlY2945aMb3w1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:JAxUhTdBZyjXtueaPQpoMjY5mCZUlMEiGTr5fMKziuc1@thread.v2/messages?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "415f45b0-b045-4c53-9146-95bbe18ef820", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "ff21586c-9348-4a35-b491-31a2650b0e41", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003242Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e2ux", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:00 GMT", + "Date" : "Wed, 04 May 2022 00:32:42 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "363ms", - "MS-CV" : "e5GWhm2+bE+vFJS7gM4s2g.0", - "X-Azure-Ref" : "0zD45YQAAAAB3MHryV5MhT5h0qmB8iZ1hV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"id\":\"1631141581084\"}", + "X-Processing-Time" : "166ms", + "MS-CV" : "ujluc/DH40CkVDj0DZehow.0", + "Body" : "{\"id\":\"1651624369460\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3ANpDCClhhnmNcgU3ZizDoJbwlLsS_0TCBlY2945aMb3w1@thread.v2/messages/1631141581084" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AJAxUhTdBZyjXtueaPQpoMjY5mCZUlMEiGTr5fMKziuc1@thread.v2/messages/1651624369460" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:NpDCClhhnmNcgU3ZizDoJbwlLsS_0TCBlY2945aMb3w1@thread.v2/readReceipts?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:JAxUhTdBZyjXtueaPQpoMjY5mCZUlMEiGTr5fMKziuc1@thread.v2/readReceipts?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "ea235a76-2f4b-4129-99c2-12773cf8b89b", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "bd60407e-bd2b-4670-8b81-ac7e85b1b95e", "Content-Type" : "application/json" }, "Response" : { + "Accept-Ranges" : "bytes", + "x-azure-ref" : "20220504T003240Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000090sz", "X-Cache" : "CONFIG_NOCACHE", "content-length" : "0", "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "231ms", - "MS-CV" : "4HkkNXudWU6DArKq65aQGg.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "X-Processing-Time" : "233ms", + "Connection" : "keep-alive", + "MS-CV" : "H3pF0g+IyUGRUHZi6zilQg.0", "retry-after" : "0", - "X-Azure-Ref" : "0zT45YQAAAAA95X35HQ8jTqON6S/6TS4HV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:53:00 GMT" + "Date" : "Wed, 04 May 2022 00:32:40 GMT" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:NpDCClhhnmNcgU3ZizDoJbwlLsS_0TCBlY2945aMb3w1@thread.v2/readReceipts?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:JAxUhTdBZyjXtueaPQpoMjY5mCZUlMEiGTr5fMKziuc1@thread.v2/readReceipts?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "23754ff9-251b-4812-86a4-1ae359a68c8d" + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "12dad43d-5c53-46a6-9c9d-87006dbafef6" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003242Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e2y9", "X-Cache" : "CONFIG_NOCACHE", - "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "157ms", - "MS-CV" : "UYH4KHSb9E+KRYzJViCi5g.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", - "X-Azure-Ref" : "0zT45YQAAAAAkE349dEXpRplen5FeSVQUV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"value\":[{\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-ef98-6479-22482200014c\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-ef98-6479-22482200014c\"}},\"chatMessageId\":\"1631141581084\",\"readOn\":\"2021-09-08T22:53:01Z\"}]}", - "Date" : "Wed, 08 Sep 2021 22:53:00 GMT", + "Date" : "Wed, 04 May 2022 00:32:43 GMT", + "Strict-Transport-Security" : "max-age=2592000", + "X-Processing-Time" : "89ms", + "MS-CV" : "ibPCheLmZUuwZHapAGrSqA.0", + "Body" : "{\"value\":[{\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-764a-1252-573a0d002bce\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-764a-1252-573a0d002bce\"}},\"chatMessageId\":\"1651624369460\",\"readOn\":\"2022-05-04T00:32:49Z\"}]}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canSendThenListReadReceipts[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canSendThenListReadReceipts[1].json index 08a2da2fd2b44..98cdfc60f03bb 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canSendThenListReadReceipts[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canSendThenListReadReceipts[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "84006544-e5fb-4273-b3a1-34313720189b", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "37c5df88-b91c-45ab-bdcd-4604dcd9c620", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003322Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e88x", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:18 GMT", + "Date" : "Wed, 04 May 2022 00:33:23 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "88ms", - "MS-CV" : "5cy05ks2hEmx50bDz5GP1w.0", - "X-Azure-Ref" : "03z45YQAAAABhpdmVjZdTQKxdl7sxtFyoV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-3cd7-6479-224822000157\"}}", - "x-ms-client-request-id" : "84006544-e5fb-4273-b3a1-34313720189b", + "X-Processing-Time" : "91ms", + "MS-CV" : "lMvhGm88O0K74EeyfEA4lg.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-21e0-80f5-8b3a0d0025e7\"}}", + "x-ms-client-request-id" : "37c5df88-b91c-45ab-bdcd-4604dcd9c620", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,23 +29,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "27b65c06-8b5f-4427-8522-57d69987d62f", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "3318c444-d46e-47b9-98a2-048ffd837ea6", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003321Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000097a8", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:18 GMT", + "Date" : "Wed, 04 May 2022 00:33:21 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "64ms", - "MS-CV" : "UMlWqG/f/0KKMdEIdW2RAg.0", - "X-Azure-Ref" : "03z45YQAAAABec9M3hsUQTqrdbslwx3LEV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-3d6b-5d47-a63a0d00018a\"}}", - "x-ms-client-request-id" : "27b65c06-8b5f-4427-8522-57d69987d62f", + "X-Processing-Time" : "88ms", + "MS-CV" : "0AWWBp4ba0SZN+Nc1EAG6A.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-23f9-1252-573a0d002be1\"}}", + "x-ms-client-request-id" : "3318c444-d46e-47b9-98a2-048ffd837ea6", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -53,23 +55,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "a10c3585-30d9-440c-9987-b09a31d626f1", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "c38939f7-9b32-46de-9aee-36a8695134a1", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003324Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e8d5", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:18 GMT", + "Date" : "Wed, 04 May 2022 00:33:24 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "92ms", - "MS-CV" : "+tPboBcm7U2krMkqRLF1ow.0", - "X-Azure-Ref" : "03z45YQAAAACjQTyi05InTIqiYUKACIiYV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-3dee-6efa-234822000092\"}}", - "x-ms-client-request-id" : "a10c3585-30d9-440c-9987-b09a31d626f1", + "X-Processing-Time" : "87ms", + "MS-CV" : "iNrXinPupk6m8i06x7OCgA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-25b8-defd-8b3a0d0028d5\"}}", + "x-ms-client-request-id" : "c38939f7-9b32-46de-9aee-36a8695134a1", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,140 +81,148 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "5f7e682c-2630-4887-be1a-014ef71559a5", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "8cb56392-f861-44d0-88a8-5bc7841e10de", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003322Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000097f0", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:19 GMT", + "Date" : "Wed, 04 May 2022 00:33:22 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "69ms", - "MS-CV" : "oPBk0TIOake+eRwdTtagsQ.0", - "X-Azure-Ref" : "03z45YQAAAAARG1KfOENGTLys3ccc2f1UV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-3e8a-5d47-a63a0d00018b\"}}", - "x-ms-client-request-id" : "5f7e682c-2630-4887-be1a-014ef71559a5", + "X-Processing-Time" : "88ms", + "MS-CV" : "d0XiyTpUNUG+gg1jVkuGyg.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-2785-3ef0-8b3a0d00291c\"}}", + "x-ms-client-request-id" : "8cb56392-f861-44d0-88a8-5bc7841e10de", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-3cd7-6479-224822000157/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-21e0-80f5-8b3a0d0025e7/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "5de66759-7ad7-4ae8-b792-2d425adef418", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "cba16837-d8d2-46ab-9de9-e9177610e4e5", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003324Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e8hz", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:53:19 GMT", + "Date" : "Wed, 04 May 2022 00:33:25 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "155ms", - "MS-CV" : "oNYDTBNJLkqDbW1wYu70Gg.0", - "X-Azure-Ref" : "03z45YQAAAADe7IPTAMZfRoUtqjOXbzzVV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:53:20.1525636+00:00\"}", - "x-ms-client-request-id" : "5de66759-7ad7-4ae8-b792-2d425adef418", + "X-Processing-Time" : "163ms", + "MS-CV" : "PxZOPDIZXkWBboiG73s4oQ.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:33:32.6733268+00:00\"}", + "x-ms-client-request-id" : "cba16837-d8d2-46ab-9de9-e9177610e4e5", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "5cef8845-7589-447f-b453-f2693a67373e", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "59df65bf-64d4-4707-8ae0-9934df17d807", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003323Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000097p9", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:19 GMT", + "Date" : "Wed, 04 May 2022 00:33:23 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "368ms", - "MS-CV" : "CwfA6gnuzkSS6Q5E3az62Q.0", - "X-Azure-Ref" : "04D45YQAAAACCyn36xUFZRrK2xkKUxtbFV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:P4Ak0-N-Yc0NH13zoWO82Xf-3JSaYWlWhhDDyrXDBnQ1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:53:20Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-3cd7-6479-224822000157\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-3cd7-6479-224822000157\"}}}}", + "X-Processing-Time" : "370ms", + "MS-CV" : "6w+qgVOdL0WflCNfHJC5wA.0", + "Body" : "{\"chatThread\":{\"id\":\"19:WfE_89xXA3QmkdWvwh5Haj6RwdjpPRjdeYVsbfHmw7k1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:33:32Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-21e0-80f5-8b3a0d0025e7\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-21e0-80f5-8b3a0d0025e7\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AP4Ak0-N-Yc0NH13zoWO82Xf-3JSaYWlWhhDDyrXDBnQ1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AWfE_89xXA3QmkdWvwh5Haj6RwdjpPRjdeYVsbfHmw7k1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:P4Ak0-N-Yc0NH13zoWO82Xf-3JSaYWlWhhDDyrXDBnQ1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:WfE_89xXA3QmkdWvwh5Haj6RwdjpPRjdeYVsbfHmw7k1@thread.v2/messages?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "347a529f-eb20-4649-9e6e-c4f1e5e101bd", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "6b909d61-24da-4da9-be8a-ba965fb877e9", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003325Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e8pv", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:20 GMT", + "Date" : "Wed, 04 May 2022 00:33:26 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "410ms", - "MS-CV" : "kCPAezt6NUOZiPz5gQD7CA.0", - "X-Azure-Ref" : "04D45YQAAAADEe0m8EBlLRKzLT/7RSlM9V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"id\":\"1631141600889\"}", + "X-Processing-Time" : "299ms", + "MS-CV" : "gkwhZsi+P0y5NtkfPyN9Rw.0", + "Body" : "{\"id\":\"1651624413395\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AP4Ak0-N-Yc0NH13zoWO82Xf-3JSaYWlWhhDDyrXDBnQ1@thread.v2/messages/1631141600889" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AWfE_89xXA3QmkdWvwh5Haj6RwdjpPRjdeYVsbfHmw7k1@thread.v2/messages/1651624413395" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:P4Ak0-N-Yc0NH13zoWO82Xf-3JSaYWlWhhDDyrXDBnQ1@thread.v2/readReceipts?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:WfE_89xXA3QmkdWvwh5Haj6RwdjpPRjdeYVsbfHmw7k1@thread.v2/readReceipts?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "83e9b78e-de0d-42eb-bb30-2e1667559d55", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "295a376b-e75b-45ef-830e-9fa0d471bfc0", "Content-Type" : "application/json" }, "Response" : { + "Accept-Ranges" : "bytes", + "x-azure-ref" : "20220504T003324Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000097ts", "X-Cache" : "CONFIG_NOCACHE", "content-length" : "0", "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "166ms", - "MS-CV" : "ieHl0AFmP0C2bK1O3cbjmg.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "X-Processing-Time" : "272ms", + "Connection" : "keep-alive", + "MS-CV" : "FYgs6TyLQEyBk2h9gPLkHg.0", "retry-after" : "0", - "X-Azure-Ref" : "04T45YQAAAAAs5kNm3CQfT538c2u1dWyfV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:53:20 GMT" + "Date" : "Wed, 04 May 2022 00:33:24 GMT" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:P4Ak0-N-Yc0NH13zoWO82Xf-3JSaYWlWhhDDyrXDBnQ1@thread.v2/readReceipts?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:WfE_89xXA3QmkdWvwh5Haj6RwdjpPRjdeYVsbfHmw7k1@thread.v2/readReceipts?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "8de68e1b-5322-4aa0-b165-24216ffc627b" + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "ffbf7e1e-31f6-4de3-b70d-67262d69da70" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003327Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e8v0", "X-Cache" : "CONFIG_NOCACHE", - "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "94ms", - "MS-CV" : "L53qXNxWvEa0cww4t//1vQ.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", - "X-Azure-Ref" : "04T45YQAAAADjM20mvRM3RLostLg0EGHeV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"value\":[{\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-3cd7-6479-224822000157\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-3cd7-6479-224822000157\"}},\"chatMessageId\":\"1631141600889\",\"readOn\":\"2021-09-08T22:53:21Z\"}]}", - "Date" : "Wed, 08 Sep 2021 22:53:20 GMT", + "Date" : "Wed, 04 May 2022 00:33:27 GMT", + "Strict-Transport-Security" : "max-age=2592000", + "X-Processing-Time" : "149ms", + "MS-CV" : "gdjlPH3FJkapBWH56LRvnQ.0", + "Body" : "{\"value\":[{\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-21e0-80f5-8b3a0d0025e7\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-21e0-80f5-8b3a0d0025e7\"}},\"chatMessageId\":\"1651624413395\",\"readOn\":\"2022-05-04T00:33:33Z\"}]}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canSendTypingNotificationWithResponseWithOptions[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canSendTypingNotificationWithResponseWithOptions[1].json index d05119246cea1..70fa3f866aaeb 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canSendTypingNotificationWithResponseWithOptions[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canSendTypingNotificationWithResponseWithOptions[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "49dd6e78-a022-4fa4-9215-6ae2daa93d0b", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "793fcdbf-689b-4845-8801-99173622c90e", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003339Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000009ab9", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:27 GMT", + "Date" : "Wed, 04 May 2022 00:33:40 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "62ms", - "MS-CV" : "bgIQ5W5Vy0OU+zJCxlRzMw.0", - "X-Azure-Ref" : "05z45YQAAAACxDvlJe+A2QrSLpXHZcUCJV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-5e69-5d47-a63a0d000195\"}}", - "x-ms-client-request-id" : "49dd6e78-a022-4fa4-9215-6ae2daa93d0b", + "X-Processing-Time" : "89ms", + "MS-CV" : "7cNTOUoqY0KZZK+oLcFCrQ.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-6c22-fa5d-573a0d0029af\"}}", + "x-ms-client-request-id" : "793fcdbf-689b-4845-8801-99173622c90e", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,23 +29,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "28fc8f93-7087-4f30-89e7-10cac5040234", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "20b8269b-f266-46c4-a39f-9289d84fa4f8", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003342Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000eaxf", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:27 GMT", + "Date" : "Wed, 04 May 2022 00:33:42 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "89ms", - "MS-CV" : "hPWHZh5z8kmDG41zfMr3rw.0", - "X-Azure-Ref" : "06D45YQAAAAC7Syl9u8dARpjXaj7KEzSuV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-5ee6-6479-22482200015c\"}}", - "x-ms-client-request-id" : "28fc8f93-7087-4f30-89e7-10cac5040234", + "X-Processing-Time" : "90ms", + "MS-CV" : "v6xJkKU/9kqF1cV92tsUTA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-6dee-eef0-8b3a0d00230b\"}}", + "x-ms-client-request-id" : "20b8269b-f266-46c4-a39f-9289d84fa4f8", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -53,23 +55,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "34e59dc3-4559-41eb-90b8-f1c52e95b75f", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "9eaf8fb2-8ece-43d4-b72e-f1b4102441b4", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003340Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000009agn", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:27 GMT", + "Date" : "Wed, 04 May 2022 00:33:41 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "65ms", - "MS-CV" : "EGpQkXgjWU2q6WiK3RSxyQ.0", - "X-Azure-Ref" : "06D45YQAAAAD2O7U9Phv3TItJ6RVKrR9RV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-5f7d-5d47-a63a0d000196\"}}", - "x-ms-client-request-id" : "34e59dc3-4559-41eb-90b8-f1c52e95b75f", + "X-Processing-Time" : "91ms", + "MS-CV" : "6Ffbrn95LU+5TE5MNZ5Ziw.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-6ff9-92fd-8b3a0d002958\"}}", + "x-ms-client-request-id" : "9eaf8fb2-8ece-43d4-b72e-f1b4102441b4", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,95 +81,101 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "d3ff77e9-047d-4feb-9900-1e43e779ae76", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "c17bd784-6726-4ffc-8b30-088876f2132b", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003343Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000eb2g", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:27 GMT", + "Date" : "Wed, 04 May 2022 00:33:43 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "99ms", - "MS-CV" : "VPspVaHyM0KV5ssPXBOY8Q.0", - "X-Azure-Ref" : "06D45YQAAAABHMVbWwZeWQLnTQCxSygX8V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-6009-6efa-234822000097\"}}", - "x-ms-client-request-id" : "d3ff77e9-047d-4feb-9900-1e43e779ae76", + "X-Processing-Time" : "88ms", + "MS-CV" : "0s6iPDA9zEaEaHcq49POZA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-7205-655d-573a0d00249c\"}}", + "x-ms-client-request-id" : "c17bd784-6726-4ffc-8b30-088876f2132b", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-5e69-5d47-a63a0d000195/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-6c22-fa5d-573a0d0029af/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "5cb74c8a-519c-497e-91c5-123c44d9e38d", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "2950a6e2-3410-45a9-8a04-0b856a9e6b4e", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003341Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000009anf", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:53:28 GMT", + "Date" : "Wed, 04 May 2022 00:33:42 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "134ms", - "MS-CV" : "aSf2NLAOH0q7774tm4/lFA.0", - "X-Azure-Ref" : "06D45YQAAAAAqV0V7zmJfQ5bHQjOkzKzYV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:53:28.7299268+00:00\"}", - "x-ms-client-request-id" : "5cb74c8a-519c-497e-91c5-123c44d9e38d", + "X-Processing-Time" : "162ms", + "MS-CV" : "Se1SbGVAyEO1AIbi6Cl4aA.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:33:51.6494953+00:00\"}", + "x-ms-client-request-id" : "2950a6e2-3410-45a9-8a04-0b856a9e6b4e", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "02349e6a-431b-444f-9b35-b9225185eef4", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "e573315d-7810-45dd-93ad-c31ad74a6167", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003344Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000eb6n", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:28 GMT", + "Date" : "Wed, 04 May 2022 00:33:45 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "366ms", - "MS-CV" : "QYRm0zIVuEaa/fiqgmFq4g.0", - "X-Azure-Ref" : "06D45YQAAAADW/ebQznDDRrV28WVBiPGIV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:2pHi-575eDEeEUtv0QaNOHxdb_M7Btz6Wyg2gCfGgKg1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:53:28Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-5e69-5d47-a63a0d000195\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-5e69-5d47-a63a0d000195\"}}}}", + "X-Processing-Time" : "588ms", + "MS-CV" : "ZZ86MT/DtEW4r1Tnu0X8Fg.0", + "Body" : "{\"chatThread\":{\"id\":\"19:u3tVHZfte2BO0HBuM8ltMmCxjw6Ja2gwuZtpV2FPn541@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:33:51Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-6c22-fa5d-573a0d0029af\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-6c22-fa5d-573a0d0029af\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A2pHi-575eDEeEUtv0QaNOHxdb_M7Btz6Wyg2gCfGgKg1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3Au3tVHZfte2BO0HBuM8ltMmCxjw6Ja2gwuZtpV2FPn541@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:2pHi-575eDEeEUtv0QaNOHxdb_M7Btz6Wyg2gCfGgKg1@thread.v2/typing?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:u3tVHZfte2BO0HBuM8ltMmCxjw6Ja2gwuZtpV2FPn541@thread.v2/typing?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "c311fb9c-e92a-45da-acb0-bed2c471088a", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "10d6481f-3c06-4f50-b389-bcc54885b67b", "Content-Type" : "application/json" }, "Response" : { + "Accept-Ranges" : "bytes", + "x-azure-ref" : "20220504T003342Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000009avs", "X-Cache" : "CONFIG_NOCACHE", "content-length" : "0", "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "109ms", - "MS-CV" : "5BUi5kf6f0Swd+WCeSf8vQ.0", + "api-supported-versions" : "2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "X-Processing-Time" : "47ms", + "Connection" : "keep-alive", + "MS-CV" : "RK2XiRB9S02qmHdcZ1S7tQ.0", "retry-after" : "0", - "X-Azure-Ref" : "06T45YQAAAAAvFVfei4oIS4+FYJ0UxdIvV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:53:28 GMT" + "Date" : "Wed, 04 May 2022 00:33:42 GMT" }, "Exception" : null } ], diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canSendTypingNotificationWithResponse[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canSendTypingNotificationWithResponse[1].json index 8bc4cf18b1752..2bca6bc550ef1 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canSendTypingNotificationWithResponse[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canSendTypingNotificationWithResponse[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "31809620-0fb6-4ba3-bb9c-1056057662ad", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "f0830c73-1e1c-4714-98ca-bcf506932cb7", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003315Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e796", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:15 GMT", + "Date" : "Wed, 04 May 2022 00:33:15 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "92ms", - "MS-CV" : "DB3xZvvfn0maItXbGSn9Bg.0", - "X-Azure-Ref" : "03D45YQAAAABKVjWLQIUQTroffgMggy5SV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-31f8-6efa-234822000090\"}}", - "x-ms-client-request-id" : "31809620-0fb6-4ba3-bb9c-1056057662ad", + "X-Processing-Time" : "102ms", + "MS-CV" : "TUwO7Tx2c02pjkgPVDEmGw.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-02e6-7bfa-553a0d0022d0\"}}", + "x-ms-client-request-id" : "f0830c73-1e1c-4714-98ca-bcf506932cb7", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,23 +29,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "1482025a-bc3f-4728-bca0-768fd53ca6f0", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "4d405e6f-af85-419e-966a-93d34dd83db0", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003313Z-3knzm6g59904z2v1e8tfw6gqqn000000060g00000000962y", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:16 GMT", + "Date" : "Wed, 04 May 2022 00:33:13 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "65ms", - "MS-CV" : "1XODsb3oJkigfxNKi4qzqQ.0", - "X-Azure-Ref" : "03D45YQAAAACpaFAA2N9aSZxB5p62fMLRV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-3296-5d47-a63a0d000186\"}}", - "x-ms-client-request-id" : "1482025a-bc3f-4728-bca0-768fd53ca6f0", + "X-Processing-Time" : "84ms", + "MS-CV" : "70CUoIN5U0uYrIg7CRyPiA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-0460-3ef0-8b3a0d002916\"}}", + "x-ms-client-request-id" : "4d405e6f-af85-419e-966a-93d34dd83db0", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -53,23 +55,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "f5cf8ee5-39c6-4515-908f-86728946f706", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "765c3245-b1a3-4835-8e96-28d6a4311054", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003316Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e7cq", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:16 GMT", + "Date" : "Wed, 04 May 2022 00:33:16 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "86ms", - "MS-CV" : "xNPVBsV3PkC0TEbNW2U7ZA.0", - "X-Azure-Ref" : "03D45YQAAAAC/Dq18LZXJS6dzyqZIoNOSV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-3316-6479-224822000155\"}}", - "x-ms-client-request-id" : "f5cf8ee5-39c6-4515-908f-86728946f706", + "X-Processing-Time" : "96ms", + "MS-CV" : "hLCK0m+RsEaEWCi5ytUVUA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-067b-1252-573a0d002bdf\"}}", + "x-ms-client-request-id" : "765c3245-b1a3-4835-8e96-28d6a4311054", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,95 +81,101 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "22b503d9-ce38-476c-811f-6c12fe4babdc", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "38717036-b7f0-4842-8f6c-5d458cc8a909", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003314Z-3knzm6g59904z2v1e8tfw6gqqn000000060g00000000968c", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:16 GMT", + "Date" : "Wed, 04 May 2022 00:33:14 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "62ms", - "MS-CV" : "imR6JRMwqUy7na6X2ge8ug.0", - "X-Azure-Ref" : "03T45YQAAAAB/Cq187zLkQYE/totNWlpMV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-33b0-5d47-a63a0d000187\"}}", - "x-ms-client-request-id" : "22b503d9-ce38-476c-811f-6c12fe4babdc", + "X-Processing-Time" : "89ms", + "MS-CV" : "iUboqo4nOUKCWueN1fXlAA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-0940-80f5-8b3a0d0025e6\"}}", + "x-ms-client-request-id" : "38717036-b7f0-4842-8f6c-5d458cc8a909", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-31f8-6efa-234822000090/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-02e6-7bfa-553a0d0022d0/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "a377ca1e-5ba2-4fb0-b71f-c34e5ac0b96b", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "71605236-2de5-46a2-b355-10917dc6f81b", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003317Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e7kb", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:53:16 GMT", + "Date" : "Wed, 04 May 2022 00:33:17 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", "X-Processing-Time" : "157ms", - "MS-CV" : "q7pz/I4nMUS49ot3eEQK3A.0", - "X-Azure-Ref" : "03T45YQAAAAD3m/0SaHhSQauJ3odGfvQ3V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:53:17.3678222+00:00\"}", - "x-ms-client-request-id" : "a377ca1e-5ba2-4fb0-b71f-c34e5ac0b96b", + "MS-CV" : "pQiuyZhzY0uqbzEQmbDfHA.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:33:25.2544181+00:00\"}", + "x-ms-client-request-id" : "71605236-2de5-46a2-b355-10917dc6f81b", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "1511425c-d571-45f4-a35b-e9c2728682b6", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "fa9b5006-cfc5-4144-aaa1-4d389ecedfaf", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003315Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000096ft", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:17 GMT", + "Date" : "Wed, 04 May 2022 00:33:16 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "409ms", - "MS-CV" : "VLjVC4M6UkGKxHpkvzjXCw.0", - "X-Azure-Ref" : "03T45YQAAAABX/7hI3OSlSI/Qt0/6/aq4V1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:j44zW5y_YCd7a3Prvv-8sacxhO5NEa91TsQa42BY3_s1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:53:17Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-31f8-6efa-234822000090\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-31f8-6efa-234822000090\"}}}}", + "X-Processing-Time" : "350ms", + "MS-CV" : "6L1xj3J7SkqO184FcVwkbQ.0", + "Body" : "{\"chatThread\":{\"id\":\"19:EsOBPy8yn_o34WTSuK0Xk1W7p6dbzfjUm6lXhn_q3E81@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:33:25Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-02e6-7bfa-553a0d0022d0\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-02e6-7bfa-553a0d0022d0\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Aj44zW5y_YCd7a3Prvv-8sacxhO5NEa91TsQa42BY3_s1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AEsOBPy8yn_o34WTSuK0Xk1W7p6dbzfjUm6lXhn_q3E81@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:j44zW5y_YCd7a3Prvv-8sacxhO5NEa91TsQa42BY3_s1@thread.v2/typing?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:EsOBPy8yn_o34WTSuK0Xk1W7p6dbzfjUm6lXhn_q3E81@thread.v2/typing?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "fd44b556-189e-4aa3-9292-148a2400e3af", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "17939bf4-3d69-4fa3-9089-319891378112", "Content-Type" : "application/json" }, "Response" : { + "Accept-Ranges" : "bytes", + "x-azure-ref" : "20220504T003318Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e7qm", "X-Cache" : "CONFIG_NOCACHE", "content-length" : "0", "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "227ms", - "MS-CV" : "weyqZpl7CEWondG+FSQQQA.0", + "api-supported-versions" : "2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "X-Processing-Time" : "229ms", + "Connection" : "keep-alive", + "MS-CV" : "98YaUBMjz0mrGFUZrhDuhQ.0", "retry-after" : "0", - "X-Azure-Ref" : "03T45YQAAAAA4mfH2L0zaSpqKeZMuu991V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:53:17 GMT" + "Date" : "Wed, 04 May 2022 00:33:18 GMT" }, "Exception" : null } ], diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canSendTypingNotification[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canSendTypingNotification[1].json index 16eb4a101354a..83484fafe63a6 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canSendTypingNotification[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canSendTypingNotification[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "e1a8f378-8f88-4ee8-bbc5-52f93361ca1a", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "aad47e2c-0238-4124-b1fb-aeb5cc90e6a9", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003345Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000eba3", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:28 GMT", + "Date" : "Wed, 04 May 2022 00:33:45 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "87ms", - "MS-CV" : "ewTV1yKTmkidJQ7+NQy46w.0", - "X-Azure-Ref" : "06T45YQAAAAAeu+oEIQt+QKWYYemFStdNV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-638f-6479-22482200015d\"}}", - "x-ms-client-request-id" : "e1a8f378-8f88-4ee8-bbc5-52f93361ca1a", + "X-Processing-Time" : "88ms", + "MS-CV" : "SDjaIU4NiEWRCquiOP8xdw.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-7961-655d-573a0d00249e\"}}", + "x-ms-client-request-id" : "aad47e2c-0238-4124-b1fb-aeb5cc90e6a9", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,23 +29,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "8ddb8dae-03ca-4fd3-9759-af416f238069", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "4c3a832c-b3d4-4c13-ac85-df957c8f4cc7", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003343Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000009azz", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:28 GMT", + "Date" : "Wed, 04 May 2022 00:33:43 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "66ms", - "MS-CV" : "ZR33EGSAEUW+pbWTULDAsg.0", - "X-Azure-Ref" : "06T45YQAAAACT5iNk4e4KRqWNP+PDIsV7V1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-6429-5d47-a63a0d000197\"}}", - "x-ms-client-request-id" : "8ddb8dae-03ca-4fd3-9759-af416f238069", + "X-Processing-Time" : "86ms", + "MS-CV" : "Ty3VSqKk902kkxmXfOA1Ng.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-7af7-eef0-8b3a0d00230d\"}}", + "x-ms-client-request-id" : "4c3a832c-b3d4-4c13-ac85-df957c8f4cc7", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -53,23 +55,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "4ec52770-1090-4556-8f1c-6227c3d098c5", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "d1b048bb-2210-44a8-a685-da897689b372", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003346Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000ebea", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:28 GMT", + "Date" : "Wed, 04 May 2022 00:33:47 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "91ms", - "MS-CV" : "F94ga/InQ0SoySoWNUHSjQ.0", - "X-Azure-Ref" : "06T45YQAAAAAIR/9KcxkmT70542KwHca6V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-64ac-6efa-234822000098\"}}", - "x-ms-client-request-id" : "4ec52770-1090-4556-8f1c-6227c3d098c5", + "X-Processing-Time" : "89ms", + "MS-CV" : "iSP20xTWmEaIqJz1R4U58Q.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-7d41-69f0-553a0d0029d9\"}}", + "x-ms-client-request-id" : "d1b048bb-2210-44a8-a685-da897689b372", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,95 +81,101 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "6681d41e-09ba-4280-bbe8-d6f4f885d0af", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "fbc80053-ee70-4a99-ab97-3880b5688b61", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003344Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000009bar", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:29 GMT", + "Date" : "Wed, 04 May 2022 00:33:45 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "67ms", - "MS-CV" : "Rox5cwo3Vka98DAAcJjzww.0", - "X-Azure-Ref" : "06T45YQAAAAAdgyIc+VEZR6IivaWuiARTV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-6563-5d47-a63a0d000198\"}}", - "x-ms-client-request-id" : "6681d41e-09ba-4280-bbe8-d6f4f885d0af", + "X-Processing-Time" : "87ms", + "MS-CV" : "9DY6ybqI6UyxlXRO5174bg.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-8051-1252-573a0d002beb\"}}", + "x-ms-client-request-id" : "fbc80053-ee70-4a99-ab97-3880b5688b61", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-638f-6479-22482200015d/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-7961-655d-573a0d00249e/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "7a3b0c38-e222-4150-b09d-998c2e4a28d8", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "c5f1b9cf-7a50-451d-b65b-4fd5ce7af080", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003347Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000ebk9", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:53:29 GMT", + "Date" : "Wed, 04 May 2022 00:33:48 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "155ms", - "MS-CV" : "XSE6MKLKOEyNjRkhOnp49A.0", - "X-Azure-Ref" : "06T45YQAAAABtGKlsVoRjT6QC1kHOX8nRV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:53:30.0954782+00:00\"}", - "x-ms-client-request-id" : "7a3b0c38-e222-4150-b09d-998c2e4a28d8", + "X-Processing-Time" : "159ms", + "MS-CV" : "Db6XjEL3m0SQIDuMsjn6AA.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:33:55.4672683+00:00\"}", + "x-ms-client-request-id" : "c5f1b9cf-7a50-451d-b65b-4fd5ce7af080", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "06b2d930-674c-48ff-898e-f63ca22a095c", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "c0464193-4189-4859-aec4-2820bac766fc", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003345Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000009bhh", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:29 GMT", + "Date" : "Wed, 04 May 2022 00:33:46 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "393ms", - "MS-CV" : "BmLY5Rop3kK2ZgeUhyUQug.0", - "X-Azure-Ref" : "06j45YQAAAADl/0WzGBVuSbz+zhhAqPgNV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:BojEj0gtNl9HjqSU63I4e_3owkcVRB7HYSmpFR-Abtk1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:53:30Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-638f-6479-22482200015d\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-638f-6479-22482200015d\"}}}}", + "X-Processing-Time" : "562ms", + "MS-CV" : "DmtnOpZL5EelElJXL8gFMg.0", + "Body" : "{\"chatThread\":{\"id\":\"19:FIyhWP57gQo6pgOhwcu5QVCqg7-SOSlcCZ4f7pTy-iA1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:33:55Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-7961-655d-573a0d00249e\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-7961-655d-573a0d00249e\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3ABojEj0gtNl9HjqSU63I4e_3owkcVRB7HYSmpFR-Abtk1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AFIyhWP57gQo6pgOhwcu5QVCqg7-SOSlcCZ4f7pTy-iA1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:BojEj0gtNl9HjqSU63I4e_3owkcVRB7HYSmpFR-Abtk1@thread.v2/typing?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:FIyhWP57gQo6pgOhwcu5QVCqg7-SOSlcCZ4f7pTy-iA1@thread.v2/typing?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "3210c992-d568-47b5-9658-43462080b156", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "a9a6453d-534e-4bb7-abb3-9724b63e0f4c", "Content-Type" : "application/json" }, "Response" : { + "Accept-Ranges" : "bytes", + "x-azure-ref" : "20220504T003348Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000ebq8", "X-Cache" : "CONFIG_NOCACHE", "content-length" : "0", "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "223ms", - "MS-CV" : "AbZm8/aR8U+94E/gULGaLA.0", + "api-supported-versions" : "2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "X-Processing-Time" : "45ms", + "Connection" : "keep-alive", + "MS-CV" : "BCUaDb9b50i6WtWNWqLVtw.0", "retry-after" : "0", - "X-Azure-Ref" : "06j45YQAAAACGHETGH5MJSqJXBFP3plLgV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:53:29 GMT" + "Date" : "Wed, 04 May 2022 00:33:49 GMT" }, "Exception" : null } ], diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canUpdateExistingMessageWithResponse[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canUpdateExistingMessageWithResponse[1].json index 38108f7b77b60..f1ba7dea65631 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canUpdateExistingMessageWithResponse[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canUpdateExistingMessageWithResponse[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "b46bad79-2684-4359-bc01-92d348feba74", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "3e6d86b0-2690-47e1-b041-62f2f59f9773", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003356Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000009df6", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:33 GMT", + "Date" : "Wed, 04 May 2022 00:33:56 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "67ms", - "MS-CV" : "JhMGVpVlTESXJH2/2zR+JA.0", - "X-Azure-Ref" : "07j45YQAAAABvjHYu84+6TrmUw4nPidY9V1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-76a5-5d47-a63a0d00019e\"}}", - "x-ms-client-request-id" : "b46bad79-2684-4359-bc01-92d348feba74", + "X-Processing-Time" : "87ms", + "MS-CV" : "KxJopq3OXU6BDFal++o0XA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-acca-defd-8b3a0d0028e0\"}}", + "x-ms-client-request-id" : "3e6d86b0-2690-47e1-b041-62f2f59f9773", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,23 +29,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "a16559c0-8fb8-457a-8785-a8e61e89e4b6", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "d8fc68fb-698e-4b09-9beb-aa2719ba2892", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003359Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000ed2u", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:33 GMT", + "Date" : "Wed, 04 May 2022 00:33:59 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "92ms", - "MS-CV" : "yX4L4qLq+kyuJEyqCr+w7A.0", - "X-Azure-Ref" : "07j45YQAAAABZNuvhVLrkR52kSwX6Ig/JV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-772a-6efa-23482200009b\"}}", - "x-ms-client-request-id" : "a16559c0-8fb8-457a-8785-a8e61e89e4b6", + "X-Processing-Time" : "88ms", + "MS-CV" : "EVNQnk27LE25BpllRb/Ltw.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-af27-3ef0-8b3a0d002929\"}}", + "x-ms-client-request-id" : "d8fc68fb-698e-4b09-9beb-aa2719ba2892", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -53,23 +55,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "0d46980a-1c5e-4b06-97bb-f00632b1697c", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "7d08b8f2-ab1f-45c0-80d1-f4353f651b87", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003357Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000009dq6", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:33 GMT", + "Date" : "Wed, 04 May 2022 00:33:57 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "65ms", - "MS-CV" : "mLV+q/u/2EKMk5B2l6ncVw.0", - "X-Azure-Ref" : "07j45YQAAAACBBN5Qm+E4Sp5/5IF4AW7WV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-77c5-5d47-a63a0d00019f\"}}", - "x-ms-client-request-id" : "0d46980a-1c5e-4b06-97bb-f00632b1697c", + "X-Processing-Time" : "89ms", + "MS-CV" : "Lw/qbmOdXEaA7XMmoe4L8w.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-b161-80f5-8b3a0d0025f2\"}}", + "x-ms-client-request-id" : "7d08b8f2-ab1f-45c0-80d1-f4353f651b87", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,139 +81,146 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "367f7e88-3f2d-4139-9923-66a97357941a", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "aa3b8dff-398a-4d10-9629-52aedaaa0885", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003400Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000ed81", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:33 GMT", + "Date" : "Wed, 04 May 2022 00:34:00 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "89ms", - "MS-CV" : "+GfbRFGKok2CVwrBh/xs5w.0", - "X-Azure-Ref" : "07j45YQAAAABQ5bqrsUouTaVysEfHh6hbV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-7846-6479-224822000161\"}}", - "x-ms-client-request-id" : "367f7e88-3f2d-4139-9923-66a97357941a", + "X-Processing-Time" : "88ms", + "MS-CV" : "1DzOdLhDl0yuIRdjPzDTQw.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-b3a8-69f0-553a0d0029db\"}}", + "x-ms-client-request-id" : "aa3b8dff-398a-4d10-9629-52aedaaa0885", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-76a5-5d47-a63a0d00019e/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-acca-defd-8b3a0d0028e0/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "07aee8f4-8954-4bb6-91a5-4bfd97bed02d", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "3c0a5a07-b5ac-4812-b8c9-f0881ee3d6b5", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003358Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000009dxe", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:53:34 GMT", + "Date" : "Wed, 04 May 2022 00:33:58 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "139ms", - "MS-CV" : "RgE9eW3y1UWGMgEATlvdeA.0", - "X-Azure-Ref" : "07j45YQAAAADHHP6/d+gcRa6Fyu78tBCtV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:53:34.9320957+00:00\"}", - "x-ms-client-request-id" : "07aee8f4-8954-4bb6-91a5-4bfd97bed02d", + "X-Processing-Time" : "157ms", + "MS-CV" : "cQuE8HE/JESuci+gKlivRg.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:34:08.5858903+00:00\"}", + "x-ms-client-request-id" : "3c0a5a07-b5ac-4812-b8c9-f0881ee3d6b5", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "43aa3897-8e95-4d8e-8768-f5ef150ee65f", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "f8f796b0-3ae9-4b7b-919b-f7ad8a974a60", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003401Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000edcy", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:34 GMT", + "Date" : "Wed, 04 May 2022 00:34:02 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "350ms", - "MS-CV" : "dvPGQocl4kaamwPOLjE03w.0", - "X-Azure-Ref" : "07j45YQAAAACPfWd8jN4+S4KKcYioJ0hoV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:yVXoNncz8BCQOgUMfe8U44hK2AZGT2-wXe0oLO_IAtk1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:53:35Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-76a5-5d47-a63a0d00019e\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-76a5-5d47-a63a0d00019e\"}}}}", + "X-Processing-Time" : "542ms", + "MS-CV" : "4whvhQmupkaEaa/YrLh3vg.0", + "Body" : "{\"chatThread\":{\"id\":\"19:P6S-cIf_ttvJvK9jLuJcGxTT3RB7aYL4S8JuVPD5txY1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:34:08Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-acca-defd-8b3a0d0028e0\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-acca-defd-8b3a0d0028e0\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AyVXoNncz8BCQOgUMfe8U44hK2AZGT2-wXe0oLO_IAtk1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AP6S-cIf_ttvJvK9jLuJcGxTT3RB7aYL4S8JuVPD5txY1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:yVXoNncz8BCQOgUMfe8U44hK2AZGT2-wXe0oLO_IAtk1@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:P6S-cIf_ttvJvK9jLuJcGxTT3RB7aYL4S8JuVPD5txY1@thread.v2/messages?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "b6d24d49-69b3-4e7e-a39b-a87e5b77d6d6", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "cc96fddf-d4d6-42ca-9246-92b6c2a25845", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003359Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000009e8z", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:34 GMT", + "Date" : "Wed, 04 May 2022 00:34:00 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "153ms", - "MS-CV" : "7l+/VrcOP0+fRZxexpQVkw.0", - "X-Azure-Ref" : "07z45YQAAAABTCTSeGl85QLqUrQBcVR9pV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"id\":\"1631141615426\"}", + "X-Processing-Time" : "187ms", + "MS-CV" : "nK9aUH9JXU6LkF3tu1svvg.0", + "Body" : "{\"id\":\"1651624449760\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AyVXoNncz8BCQOgUMfe8U44hK2AZGT2-wXe0oLO_IAtk1@thread.v2/messages/1631141615426" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AP6S-cIf_ttvJvK9jLuJcGxTT3RB7aYL4S8JuVPD5txY1@thread.v2/messages/1651624449760" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:yVXoNncz8BCQOgUMfe8U44hK2AZGT2-wXe0oLO_IAtk1@thread.v2/messages/1631141615426?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:P6S-cIf_ttvJvK9jLuJcGxTT3RB7aYL4S8JuVPD5txY1@thread.v2/messages/1651624449760?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "8e827f36-0c00-42a8-9178-429025a397d1", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "afe33b1b-4f12-45b0-8421-1752f6e12ca3", "Content-Type" : "application/merge-patch+json" }, "Response" : { + "x-azure-ref" : "20220504T003402Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000edkx", "X-Cache" : "CONFIG_NOCACHE", "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "286ms", - "MS-CV" : "ZUkFF9y4KE+J4P7zQ0ewvQ.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "X-Processing-Time" : "421ms", + "Connection" : "keep-alive", + "MS-CV" : "k/SfyOmdaEaJDLzXDF1ISQ.0", "retry-after" : "0", - "X-Azure-Ref" : "07z45YQAAAADSLrbHB6TeTa7N2muoj4iNV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Wed, 08 Sep 2021 22:53:34 GMT" + "Date" : "Wed, 04 May 2022 00:34:03 GMT" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:yVXoNncz8BCQOgUMfe8U44hK2AZGT2-wXe0oLO_IAtk1@thread.v2/messages/1631141615426?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:P6S-cIf_ttvJvK9jLuJcGxTT3RB7aYL4S8JuVPD5txY1@thread.v2/messages/1651624449760?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "90ae3ed7-7aeb-4607-97da-a078c4be7baa" + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "18b58034-543c-46e1-b828-e2baee9e1243" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003401Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000009edv", "X-Cache" : "CONFIG_NOCACHE", - "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "93ms", - "MS-CV" : "aqLT4jF+ikKTxRaqH3axbg.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", - "X-Azure-Ref" : "07z45YQAAAADFfMkMuBb9Tb6gAUpJW1mxV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"id\":\"1631141615426\",\"type\":\"text\",\"sequenceId\":\"4\",\"version\":\"1631141615740\",\"content\":{\"message\":\"Update Test\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-09-08T22:53:35Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-76a5-5d47-a63a0d00019e\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-76a5-5d47-a63a0d00019e\"}},\"editedOn\":\"2021-09-08T22:53:35Z\",\"metadata\":{\"onedriveReferences\":\"onedriveReferences - updated\",\"deliveryMode\":\"deliveryMode value - updated\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\"}}", - "Date" : "Wed, 08 Sep 2021 22:53:35 GMT", + "Date" : "Wed, 04 May 2022 00:34:01 GMT", + "Strict-Transport-Security" : "max-age=2592000", + "X-Processing-Time" : "125ms", + "MS-CV" : "dl6voM2gqEmZ7Xj/omgy/A.0", + "Body" : "{\"id\":\"1651624449760\",\"type\":\"text\",\"sequenceId\":\"4\",\"version\":\"1651624450386\",\"content\":{\"message\":\"Update Test\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2022-05-04T00:34:09Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-acca-defd-8b3a0d0028e0\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-acca-defd-8b3a0d0028e0\"}},\"editedOn\":\"2022-05-04T00:34:10Z\",\"metadata\":{\"onedriveReferences\":\"onedriveReferences - updated\",\"deliveryMode\":\"deliveryMode value - updated\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\"}}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canUpdateExistingMessage[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canUpdateExistingMessage[1].json index 8ea02b65bd18e..952c9c0eb4f5c 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canUpdateExistingMessage[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canUpdateExistingMessage[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "0bf0a09d-5715-4448-9834-405409280fd3", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "f716872f-720a-43fb-b367-dd3a1ea058da", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003403Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000edq8", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:35 GMT", + "Date" : "Wed, 04 May 2022 00:34:04 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "88ms", - "MS-CV" : "EPgvb/2+ck2No7lIaB21dw.0", - "X-Azure-Ref" : "07z45YQAAAACBNpC2Uku+R7BaLc8mVrqgV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-7d9a-6efa-23482200009c\"}}", - "x-ms-client-request-id" : "0bf0a09d-5715-4448-9834-405409280fd3", + "X-Processing-Time" : "87ms", + "MS-CV" : "RJIrrKZq0USvgz/WfPfhSg.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-c086-defd-8b3a0d0028e3\"}}", + "x-ms-client-request-id" : "f716872f-720a-43fb-b367-dd3a1ea058da", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,23 +29,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "76eb8248-e578-4e4c-95e6-bc8799596d9a", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "762c6576-a0fe-47cd-b93e-47b7fe930e52", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003401Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000009egv", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:35 GMT", + "Date" : "Wed, 04 May 2022 00:34:02 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "70ms", - "MS-CV" : "ZXraJqnGOE+RT7WCw8CjbA.0", - "X-Azure-Ref" : "08D45YQAAAAB+xiCe4nVLSbBeAB6uXjs6V1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-7e33-5d47-a63a0d0001a0\"}}", - "x-ms-client-request-id" : "76eb8248-e578-4e4c-95e6-bc8799596d9a", + "X-Processing-Time" : "98ms", + "MS-CV" : "fC7+17ar/UO2hCYphMn/pg.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-c227-3ef0-8b3a0d00292c\"}}", + "x-ms-client-request-id" : "762c6576-a0fe-47cd-b93e-47b7fe930e52", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -53,23 +55,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "51578640-6d9b-41c8-8197-a2e38480ad90", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "2f3854b9-e113-4008-aa55-14bc632f5818", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003404Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000edu8", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:35 GMT", + "Date" : "Wed, 04 May 2022 00:34:04 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "91ms", - "MS-CV" : "7mAnxK3W4EyRdxBNI25TBQ.0", - "X-Azure-Ref" : "08D45YQAAAAB1P0msNMnoQ5lTjm0o7iNpV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-7ebb-6479-224822000162\"}}", - "x-ms-client-request-id" : "51578640-6d9b-41c8-8197-a2e38480ad90", + "X-Processing-Time" : "87ms", + "MS-CV" : "HXhdDl7uZECKaHNCIcBwZA.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-c42d-655d-573a0d0024a8\"}}", + "x-ms-client-request-id" : "2f3854b9-e113-4008-aa55-14bc632f5818", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,139 +81,146 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "80a52934-8556-4680-ae10-f1fa711d3f5c", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "6847c2ea-85ef-42cf-8de5-1fd70a490e9e", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003402Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000009ep9", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:35 GMT", + "Date" : "Wed, 04 May 2022 00:34:03 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "72ms", - "MS-CV" : "U3rHAjBjPEiUh/YyxzJDWQ.0", - "X-Azure-Ref" : "08D45YQAAAACPQF5Ju/oUTLlH/HuBYdIWV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-7f55-5d47-a63a0d0001a1\"}}", - "x-ms-client-request-id" : "80a52934-8556-4680-ae10-f1fa711d3f5c", + "X-Processing-Time" : "86ms", + "MS-CV" : "SHV2nITaG0y4Dd4uTemfqQ.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-c694-92fd-8b3a0d002964\"}}", + "x-ms-client-request-id" : "6847c2ea-85ef-42cf-8de5-1fd70a490e9e", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-7d9a-6efa-23482200009c/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-c086-defd-8b3a0d0028e3/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "5ded9d25-d924-4362-aeb8-ea988ed1b640", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "284551a6-ca1d-4e5b-84cc-2b1ca299afa8", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003405Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000edz0", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:53:35 GMT", + "Date" : "Wed, 04 May 2022 00:34:06 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "158ms", - "MS-CV" : "x4ANCcvTzUKDmt0dwLwhcw.0", - "X-Azure-Ref" : "08D45YQAAAADVLhkmV76JSpj7qoK8QGh7V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:53:36.7447833+00:00\"}", - "x-ms-client-request-id" : "5ded9d25-d924-4362-aeb8-ea988ed1b640", + "X-Processing-Time" : "157ms", + "MS-CV" : "SjA5TGKSRk2y0eiA3mKFeA.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:34:13.3905602+00:00\"}", + "x-ms-client-request-id" : "284551a6-ca1d-4e5b-84cc-2b1ca299afa8", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "37ab03e8-9187-4250-8b3a-cd4b9e807e40", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "2f6a36f3-1730-4642-9932-6aea7e4ae18e", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003403Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000009ev6", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:36 GMT", + "Date" : "Wed, 04 May 2022 00:34:05 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "404ms", - "MS-CV" : "iU5C89a7M0Krx6cRIhd1iQ.0", - "X-Azure-Ref" : "08D45YQAAAADgjVlYEfP3TJJOvko5fhpsV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:jBMrWhwLB52U6J-URws4YkwQF7EVY2nRqriewrE0wj41@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:53:36Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-7d9a-6efa-23482200009c\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-7d9a-6efa-23482200009c\"}}}}", + "X-Processing-Time" : "1066ms", + "MS-CV" : "jzkxlc11AEucl50brkYFCQ.0", + "Body" : "{\"chatThread\":{\"id\":\"19:szV1jD-I7UPO5SPdUoQLADIW1Bybgl5Sob10M1oJr1U1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:34:13Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-c086-defd-8b3a0d0028e3\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-c086-defd-8b3a0d0028e3\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AjBMrWhwLB52U6J-URws4YkwQF7EVY2nRqriewrE0wj41@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AszV1jD-I7UPO5SPdUoQLADIW1Bybgl5Sob10M1oJr1U1@thread.v2" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:jBMrWhwLB52U6J-URws4YkwQF7EVY2nRqriewrE0wj41@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:szV1jD-I7UPO5SPdUoQLADIW1Bybgl5Sob10M1oJr1U1@thread.v2/messages?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "1ff4bedf-44ee-4212-ac41-3c97105db42b", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "f08b5f0b-174e-44bc-bc07-c7a5d3ece868", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003407Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000ee8b", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:36 GMT", + "Date" : "Wed, 04 May 2022 00:34:07 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "182ms", - "MS-CV" : "4bPMlPJz0U2tC44opn4naA.0", - "X-Azure-Ref" : "08T45YQAAAAC5L5i0dPBRQKANxLYw56pUV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"id\":\"1631141617356\"}", + "X-Processing-Time" : "282ms", + "MS-CV" : "A4WWbaWzrkCzhJrv0tCkaw.0", + "Body" : "{\"id\":\"1651624455067\"}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AjBMrWhwLB52U6J-URws4YkwQF7EVY2nRqriewrE0wj41@thread.v2/messages/1631141617356" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3AszV1jD-I7UPO5SPdUoQLADIW1Bybgl5Sob10M1oJr1U1@thread.v2/messages/1651624455067" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:jBMrWhwLB52U6J-URws4YkwQF7EVY2nRqriewrE0wj41@thread.v2/messages/1631141617356?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:szV1jD-I7UPO5SPdUoQLADIW1Bybgl5Sob10M1oJr1U1@thread.v2/messages/1651624455067?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "86a5e8a0-6da6-4c09-bb3c-22b06c46d7fb", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "f873a255-9e97-4758-99b8-7f84924a32ad", "Content-Type" : "application/merge-patch+json" }, "Response" : { + "x-azure-ref" : "20220504T003405Z-3knzm6g59904z2v1e8tfw6gqqn000000060g000000009f3b", "X-Cache" : "CONFIG_NOCACHE", "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "236ms", - "MS-CV" : "8e+LEaYXqE6cGQ1OgeZ6CQ.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "X-Processing-Time" : "237ms", + "Connection" : "keep-alive", + "MS-CV" : "KixDNTZzN0KSgUgLJlq2hg.0", "retry-after" : "0", - "X-Azure-Ref" : "08T45YQAAAAB61/pBpE0JRYremtG3rr2nV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Wed, 08 Sep 2021 22:53:36 GMT" + "Date" : "Wed, 04 May 2022 00:34:05 GMT" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:jBMrWhwLB52U6J-URws4YkwQF7EVY2nRqriewrE0wj41@thread.v2/messages/1631141617356?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:szV1jD-I7UPO5SPdUoQLADIW1Bybgl5Sob10M1oJr1U1@thread.v2/messages/1651624455067?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "87d5d276-374c-4d70-acf3-d8b73bafc59b" + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "a5f7a2e8-b644-44ec-9f7b-a8677ce8fcb0" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003408Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000eecf", "X-Cache" : "CONFIG_NOCACHE", - "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "93ms", - "MS-CV" : "H4j9gRAxFE+3a46CTUR52g.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", - "X-Azure-Ref" : "08T45YQAAAADxvFzidcTsRLx0W8FrzxM/V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"id\":\"1631141617356\",\"type\":\"text\",\"sequenceId\":\"4\",\"version\":\"1631141617613\",\"content\":{\"message\":\"Update Test\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2021-09-08T22:53:37Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-7d9a-6efa-23482200009c\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-7d9a-6efa-23482200009c\"}},\"editedOn\":\"2021-09-08T22:53:37Z\",\"metadata\":{\"onedriveReferences\":\"onedriveReferences - updated\",\"deliveryMode\":\"deliveryMode value - updated\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\"}}", - "Date" : "Wed, 08 Sep 2021 22:53:36 GMT", + "Date" : "Wed, 04 May 2022 00:34:08 GMT", + "Strict-Transport-Security" : "max-age=2592000", + "X-Processing-Time" : "143ms", + "MS-CV" : "2F6PazMoOEuMl5bLSxZXWA.0", + "Body" : "{\"id\":\"1651624455067\",\"type\":\"text\",\"sequenceId\":\"4\",\"version\":\"1651624455470\",\"content\":{\"message\":\"Update Test\"},\"senderDisplayName\":\"Tester\",\"createdOn\":\"2022-05-04T00:34:15Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-c086-defd-8b3a0d0028e3\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5e-c086-defd-8b3a0d0028e3\"}},\"editedOn\":\"2022-05-04T00:34:15Z\",\"metadata\":{\"onedriveReferences\":\"onedriveReferences - updated\",\"deliveryMode\":\"deliveryMode value - updated\",\"amsreferences\":\"[\\\\\\\"test url file 3\\\\\\\"]\",\"key\":\"value key\"}}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canUpdateThreadWithResponse[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canUpdateThreadWithResponse[1].json index 76f72436ad6c9..4c1133e8d3b39 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canUpdateThreadWithResponse[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canUpdateThreadWithResponse[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "d6c598d0-992e-410b-9d62-812b7c739017", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "b9540068-2de9-4723-95b2-db67376a95f5", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003251Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e47a", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:04 GMT", + "Date" : "Wed, 04 May 2022 00:32:52 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "113ms", - "MS-CV" : "NpxGN7mzSkWvJUhUWsIYdA.0", - "X-Azure-Ref" : "00T45YQAAAAD/sPtHPqCEQpwJPXCwsY6QV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-06c5-6efa-23482200008a\"}}", - "x-ms-client-request-id" : "d6c598d0-992e-410b-9d62-812b7c739017", + "X-Processing-Time" : "87ms", + "MS-CV" : "iLMiw/hIzkaIOhiNTxHZZw.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-a788-fa5d-573a0d00299a\"}}", + "x-ms-client-request-id" : "b9540068-2de9-4723-95b2-db67376a95f5", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,23 +29,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "e3bafcf1-c9a9-4d06-b5d6-d7cb29243b0f", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "e3e0855e-71f3-4554-a869-3d7c1181811d", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003249Z-3knzm6g59904z2v1e8tfw6gqqn000000060g00000000929u", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:05 GMT", + "Date" : "Wed, 04 May 2022 00:32:50 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "83ms", - "MS-CV" : "r23P8fy5RkSWroB5IWDXkQ.0", - "X-Azure-Ref" : "00T45YQAAAABkDCW1KVB9QbmAKN6MyorRV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-0760-5d47-a63a0d00017a\"}}", - "x-ms-client-request-id" : "e3bafcf1-c9a9-4d06-b5d6-d7cb29243b0f", + "X-Processing-Time" : "89ms", + "MS-CV" : "ZgXZsgBPCkeqGDgPvdciCw.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-a904-92fd-8b3a0d002949\"}}", + "x-ms-client-request-id" : "e3e0855e-71f3-4554-a869-3d7c1181811d", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -53,23 +55,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "1406461a-85fa-409a-94b3-6328beebab5f", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "a43749c9-7a32-4ec0-80c3-73c8a8f78de7", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003252Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e4ay", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:05 GMT", + "Date" : "Wed, 04 May 2022 00:32:52 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "85ms", - "MS-CV" : "PsfVSdR4IU27L/4clIpsjQ.0", - "X-Azure-Ref" : "00T45YQAAAADXTAMp/6srQYnKYs8NlIZ3V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-07f9-6479-22482200014f\"}}", - "x-ms-client-request-id" : "1406461a-85fa-409a-94b3-6328beebab5f", + "X-Processing-Time" : "86ms", + "MS-CV" : "0PURDe5J0UCUrqCrnSC1nw.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-aab9-eef0-8b3a0d0022f9\"}}", + "x-ms-client-request-id" : "a43749c9-7a32-4ec0-80c3-73c8a8f78de7", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,115 +81,121 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "46935552-51e3-433b-abea-f38993d948b1", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "abb18fef-80d5-4991-888d-9f27fbd5f7b4", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003250Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000092fw", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:05 GMT", + "Date" : "Wed, 04 May 2022 00:32:50 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "71ms", - "MS-CV" : "EbTC3JH3TEiTzDb/t/PvXw.0", - "X-Azure-Ref" : "00j45YQAAAACD1cAL0bPTR6pTB0P6iU1dV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-0895-5d47-a63a0d00017b\"}}", - "x-ms-client-request-id" : "46935552-51e3-433b-abea-f38993d948b1", + "X-Processing-Time" : "89ms", + "MS-CV" : "FgGEeEHL1E+ujqJomOLrMw.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-ac46-3ef0-8b3a0d002908\"}}", + "x-ms-client-request-id" : "abb18fef-80d5-4991-888d-9f27fbd5f7b4", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-06c5-6efa-23482200008a/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-a788-fa5d-573a0d00299a/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "999d3ce1-42be-42cb-86c5-4c064a98e9dd", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "73ecff16-8e01-4ef6-90af-5f62a3157451", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003253Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e4e2", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:53:05 GMT", + "Date" : "Wed, 04 May 2022 00:32:53 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "158ms", - "MS-CV" : "szCuXZ7FEUut8lPistJJGQ.0", - "X-Azure-Ref" : "00j45YQAAAAB/gGZNyBnlR61QYaLMolh7V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:53:06.3415139+00:00\"}", - "x-ms-client-request-id" : "999d3ce1-42be-42cb-86c5-4c064a98e9dd", + "X-Processing-Time" : "154ms", + "MS-CV" : "J/ES6xjr30anvzKOHvVSjw.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:33:01.0715816+00:00\"}", + "x-ms-client-request-id" : "73ecff16-8e01-4ef6-90af-5f62a3157451", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "de708fb9-25d7-4d75-819b-0bd22df773f2", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "5e1a8176-2cf0-4b5d-9a91-673e3b612105", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003251Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000092nr", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:06 GMT", + "Date" : "Wed, 04 May 2022 00:32:52 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "350ms", - "MS-CV" : "PEyJ2UU4Tk2LOJNBMQtjmw.0", - "X-Azure-Ref" : "00j45YQAAAABJ/x443NT/Qqw8k2Y1keKkV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:gvsH2Ya4hwiD22E-trTTN2dEbfl5rjqPO3T-LJydQ4o1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:53:06Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-06c5-6efa-23482200008a\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-06c5-6efa-23482200008a\"}}}}", + "X-Processing-Time" : "533ms", + "MS-CV" : "/Imq8d1xNU6Fsrfc37nf4Q.0", + "Body" : "{\"chatThread\":{\"id\":\"19:_fvady07LXXG7eCjcG5KdMiaJDmdJOHkpe69KabQEsw1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:33:01Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-a788-fa5d-573a0d00299a\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-a788-fa5d-573a0d00299a\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AgvsH2Ya4hwiD22E-trTTN2dEbfl5rjqPO3T-LJydQ4o1@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3A_fvady07LXXG7eCjcG5KdMiaJDmdJOHkpe69KabQEsw1@thread.v2" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:gvsH2Ya4hwiD22E-trTTN2dEbfl5rjqPO3T-LJydQ4o1@thread.v2?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:_fvady07LXXG7eCjcG5KdMiaJDmdJOHkpe69KabQEsw1@thread.v2?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "d8be2daa-aebf-43c5-8cb5-35fa00fcd40b", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "5e217cad-dc9c-4c0e-82c2-4411c4c555c8", "Content-Type" : "application/merge-patch+json" }, "Response" : { + "x-azure-ref" : "20220504T003254Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e4n0", "X-Cache" : "CONFIG_NOCACHE", "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "307ms", - "MS-CV" : "bolw83nHlEiNmpyI4O8tDA.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "X-Processing-Time" : "187ms", + "Connection" : "keep-alive", + "MS-CV" : "ty4yOU8520qJ/leDi2Xa+g.0", "retry-after" : "0", - "X-Azure-Ref" : "00j45YQAAAAAHYBpGF0c5R7YRDRTT/wDHV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Wed, 08 Sep 2021 22:53:06 GMT" + "Date" : "Wed, 04 May 2022 00:32:54 GMT" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:gvsH2Ya4hwiD22E-trTTN2dEbfl5rjqPO3T-LJydQ4o1@thread.v2?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:_fvady07LXXG7eCjcG5KdMiaJDmdJOHkpe69KabQEsw1@thread.v2?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "9cd6cd4a-004a-4373-b64a-cc741ce7db4c" + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "1feab9bb-9252-4b23-9ef0-1b0286c3f7bc" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003252Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000092uq", "X-Cache" : "CONFIG_NOCACHE", - "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "94ms", - "MS-CV" : "kd3B1D9r0Em4elRVEILi2g.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", - "X-Azure-Ref" : "00z45YQAAAAB1uHBomwQVSI4LQ0d0YDtoV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"id\":\"19:gvsH2Ya4hwiD22E-trTTN2dEbfl5rjqPO3T-LJydQ4o1@thread.v2\",\"topic\":\"Update Test\",\"createdOn\":\"2021-09-08T22:53:06Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-06c5-6efa-23482200008a\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677f-06c5-6efa-23482200008a\"}}}", - "Date" : "Wed, 08 Sep 2021 22:53:06 GMT", + "Date" : "Wed, 04 May 2022 00:32:52 GMT", + "Strict-Transport-Security" : "max-age=2592000", + "X-Processing-Time" : "100ms", + "MS-CV" : "MIc/efz2+kejTzBSDOe5KQ.0", + "Body" : "{\"id\":\"19:_fvady07LXXG7eCjcG5KdMiaJDmdJOHkpe69KabQEsw1@thread.v2\",\"topic\":\"Update Test\",\"createdOn\":\"2022-05-04T00:33:01Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-a788-fa5d-573a0d00299a\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-a788-fa5d-573a0d00299a\"}}}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canUpdateThread[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canUpdateThread[1].json index 24eeb83585911..50499d170fa6a 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canUpdateThread[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.canUpdateThread[1].json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "66df1628-5bce-49f9-85e6-04ccf2e1b85a", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "f37cd58c-f513-47cc-8337-9f40bc904021", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003240Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000090wk", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:01 GMT", + "Date" : "Wed, 04 May 2022 00:32:41 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "73ms", - "MS-CV" : "m6F3QFbDQkqRGuYt6fgshw.0", - "X-Azure-Ref" : "0zT45YQAAAABtzfvPs+2eTIO7suV2xYVJV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-f7a2-5dbd-9f3a0d0000ec\"}}", - "x-ms-client-request-id" : "66df1628-5bce-49f9-85e6-04ccf2e1b85a", + "X-Processing-Time" : "87ms", + "MS-CV" : "CeOyU4vA9kK1DJIVFIlDtg.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-8644-eef0-8b3a0d0022f7\"}}", + "x-ms-client-request-id" : "f37cd58c-f513-47cc-8337-9f40bc904021", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -28,23 +29,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "f8b11c83-fc00-45df-85d6-1a2a4ff197d4", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "24ec9dfc-540c-4585-bd11-345ee17f5a7e", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003243Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e30q", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:01 GMT", + "Date" : "Wed, 04 May 2022 00:32:44 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "88ms", - "MS-CV" : "1atQJUyHNkmaVfhSP+q9Jg.0", - "X-Azure-Ref" : "0zT45YQAAAAAelVTbYdMMQojLSz4rRaDIV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-f82a-6efa-234822000088\"}}", - "x-ms-client-request-id" : "f8b11c83-fc00-45df-85d6-1a2a4ff197d4", + "X-Processing-Time" : "95ms", + "MS-CV" : "dGv0rYTtH06FBpogDdElHw.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-880d-7bfa-553a0d0022ca\"}}", + "x-ms-client-request-id" : "24ec9dfc-540c-4585-bd11-345ee17f5a7e", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -53,23 +55,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "910f1a1e-8e50-4911-8b38-32599d65c964", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "0df9263d-2b84-4918-b7b6-a3502ef62947", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003241Z-3knzm6g59904z2v1e8tfw6gqqn000000060g00000000911g", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:01 GMT", + "Date" : "Wed, 04 May 2022 00:32:42 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "60ms", - "MS-CV" : "/ijJRhoIQUSN8XrIcgLOFg.0", - "X-Azure-Ref" : "0zT45YQAAAAAJ0JrdNmPZTZFGOsCVlAXNV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-f8c3-5dbd-9f3a0d0000ed\"}}", - "x-ms-client-request-id" : "910f1a1e-8e50-4911-8b38-32599d65c964", + "X-Processing-Time" : "88ms", + "MS-CV" : "0wglCuKWOkOQ/lfXermQSQ.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-8a74-3ef0-8b3a0d002904\"}}", + "x-ms-client-request-id" : "0df9263d-2b84-4918-b7b6-a3502ef62947", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, @@ -78,115 +81,121 @@ "Method" : "POST", "Uri" : "https://REDACTED.communication.azure.com/identities?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "0f452623-367d-4f47-a500-a716ced5c64a", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "4200acec-2b94-4394-9723-1e3b4c3f788b", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003244Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e357", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "101", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:01 GMT", + "Date" : "Wed, 04 May 2022 00:32:45 GMT", "Strict-Transport-Security" : "max-age=2592000", "X-Processing-Time" : "90ms", - "MS-CV" : "+GviuRb+vkC1EahXM6OcXQ.0", - "X-Azure-Ref" : "0zj45YQAAAADxdKdkPp1aTo+gX/xayLQ2V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"identity\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-f94d-6479-22482200014d\"}}", - "x-ms-client-request-id" : "0f452623-367d-4f47-a500-a716ced5c64a", + "MS-CV" : "JdUy4NweaECJona3ZB01aQ.0", + "Body" : "{\"identity\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-8bf3-92fd-8b3a0d002943\"}}", + "x-ms-client-request-id" : "4200acec-2b94-4394-9723-1e3b4c3f788b", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-f7a2-5dbd-9f3a0d0000ec/:issueAccessToken?api-version=2021-03-07", + "Uri" : "https://REDACTED.communication.azure.com/identities/8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-8644-eef0-8b3a0d0022f7/:issueAccessToken?api-version=2021-03-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-identity/1.1.2 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "110f65bf-ad19-49b7-b1e8-10af993ec8e4", + "User-Agent" : "azsdk-java-azure-communication-identity/1.1.8 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "3933b646-b1d7-4c7e-bb48-98a3935a4cbd", "Content-Type" : "application/json" }, "Response" : { - "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003242Z-3knzm6g59904z2v1e8tfw6gqqn000000060g00000000915e", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, 2021-10-31-preview", + "content-length" : "804", + "api-supported-versions" : "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-10-31-preview, 2021-11-01, 2022-06-01", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 08 Sep 2021 22:53:01 GMT", + "Date" : "Wed, 04 May 2022 00:32:43 GMT", + "Accept-Ranges" : "bytes", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "154ms", - "MS-CV" : "/lSW3rMxV0yTeeCueh2Y3g.0", - "X-Azure-Ref" : "0zj45YQAAAACIxJsHWUO9Tr4OuOEcdyOEV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2021-09-09T22:53:02.4461431+00:00\"}", - "x-ms-client-request-id" : "110f65bf-ad19-49b7-b1e8-10af993ec8e4", + "X-Processing-Time" : "156ms", + "MS-CV" : "0FsePQ+iV0ySkaUyuaOc0Q.0", + "Body" : "{\"token\":\"REDACTED\",\"expiresOn\":\"2022-05-05T00:32:52.7341504+00:00\"}", + "x-ms-client-request-id" : "3933b646-b1d7-4c7e-bb48-98a3935a4cbd", "Content-Type" : "application/json; charset=utf-8", "Request-Context" : "appId=" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "c5b4aecb-003a-4e0c-a8f4-a3b4a15f7149", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "6ed8409c-7bbf-440b-a9d4-2733e410b99b", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003245Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e39c", "X-Cache" : "CONFIG_NOCACHE", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "201", - "Date" : "Wed, 08 Sep 2021 22:53:02 GMT", + "Date" : "Wed, 04 May 2022 00:32:46 GMT", "Strict-Transport-Security" : "max-age=2592000", - "X-Processing-Time" : "459ms", - "MS-CV" : "M6XmtmpEyUWVENol4pi0bg.0", - "X-Azure-Ref" : "0zj45YQAAAACE+2b5KnqQTpjrOgXeQHo5V1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "Body" : "{\"chatThread\":{\"id\":\"19:nYLMNDWyiZLRaKRZjV71bGrfa06LIUox7JZ7qb_sLv41@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2021-09-08T22:53:02Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-f7a2-5dbd-9f3a0d0000ec\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-f7a2-5dbd-9f3a0d0000ec\"}}}}", + "X-Processing-Time" : "799ms", + "MS-CV" : "8whsHaV3ME67A6KGsjmNEw.0", + "Body" : "{\"chatThread\":{\"id\":\"19:pWRMzJ4VXfR9LUlvlU7cIY-AIPjmnGhwv5BqKnUUH7E1@thread.v2\",\"topic\":\"Test\",\"createdOn\":\"2022-05-04T00:32:53Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-8644-eef0-8b3a0d0022f7\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-8644-eef0-8b3a0d0022f7\"}}}}", "Content-Type" : "application/json; charset=utf-8", - "Location" : "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3AnYLMNDWyiZLRaKRZjV71bGrfa06LIUox7JZ7qb_sLv41@thread.v2" + "Location" : "https://chat-sdktester-e2e.communication.azure.com/chat/threads/19%3ApWRMzJ4VXfR9LUlvlU7cIY-AIPjmnGhwv5BqKnUUH7E1@thread.v2" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:nYLMNDWyiZLRaKRZjV71bGrfa06LIUox7JZ7qb_sLv41@thread.v2?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:pWRMzJ4VXfR9LUlvlU7cIY-AIPjmnGhwv5BqKnUUH7E1@thread.v2?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "d2299ce1-bb15-45ff-8671-8b5811584365", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "78a2e442-5d91-44e6-8f36-e02958717fb2", "Content-Type" : "application/merge-patch+json" }, "Response" : { + "x-azure-ref" : "20220504T003244Z-3knzm6g59904z2v1e8tfw6gqqn000000060g0000000091dx", "X-Cache" : "CONFIG_NOCACHE", "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "228ms", - "MS-CV" : "UU5l+stcSkq55N04VuK5vg.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "X-Processing-Time" : "319ms", + "Connection" : "keep-alive", + "MS-CV" : "bku6gg9u5k28I/HfGxgsGw.0", "retry-after" : "0", - "X-Azure-Ref" : "0zj45YQAAAABe7qYRN4K+RJcH9lVT1P55V1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "204", - "Date" : "Wed, 08 Sep 2021 22:53:02 GMT" + "Date" : "Wed, 04 May 2022 00:32:44 GMT" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:nYLMNDWyiZLRaKRZjV71bGrfa06LIUox7JZ7qb_sLv41@thread.v2?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:pWRMzJ4VXfR9LUlvlU7cIY-AIPjmnGhwv5BqKnUUH7E1@thread.v2?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "e0b47705-540d-4e28-b024-d200ae1c8fc5" + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "46ff4df4-cfdd-43c2-91fd-e12e784a34d8" }, "Response" : { "Transfer-Encoding" : "chunked", + "x-azure-ref" : "20220504T003247Z-5xztuf8fxp5hdd50m87cxsb53s00000005zg00000000e3kp", "X-Cache" : "CONFIG_NOCACHE", - "Strict-Transport-Security" : "max-age=2592000", - "api-supported-versions" : "2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07", - "X-Processing-Time" : "86ms", - "MS-CV" : "ZROapjeoQ0S6ysQBwGmF+g.0", + "api-supported-versions" : "2021-03-07, 2021-04-05-preview6, 2021-09-07, 2021-10-01-preview7", + "Connection" : "keep-alive", "retry-after" : "0", - "X-Azure-Ref" : "0zz45YQAAAADygKE1agZRRojCZw4NmwHwV1NURURHRTA4MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "StatusCode" : "200", - "Body" : "{\"id\":\"19:nYLMNDWyiZLRaKRZjV71bGrfa06LIUox7JZ7qb_sLv41@thread.v2\",\"topic\":\"Update Test\",\"createdOn\":\"2021-09-08T22:53:02Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-f7a2-5dbd-9f3a0d0000ec\",\"communicationUser\":{\"id\":\"8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-677e-f7a2-5dbd-9f3a0d0000ec\"}}}", - "Date" : "Wed, 08 Sep 2021 22:53:02 GMT", + "Date" : "Wed, 04 May 2022 00:32:47 GMT", + "Strict-Transport-Security" : "max-age=2592000", + "X-Processing-Time" : "82ms", + "MS-CV" : "OtFnu5DNLkKw4R5aXqjDXw.0", + "Body" : "{\"id\":\"19:pWRMzJ4VXfR9LUlvlU7cIY-AIPjmnGhwv5BqKnUUH7E1@thread.v2\",\"topic\":\"Update Test\",\"createdOn\":\"2022-05-04T00:32:53Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-8644-eef0-8b3a0d0022f7\",\"communicationUser\":{\"id\":\"8:acs:357e39d2-a29a-4bf6-88cc-fda0afc2c0ed_00000011-2c5d-8644-eef0-8b3a0d0022f7\"}}}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null diff --git a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.throwsExceptionOnBadRequest[1].json b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.throwsExceptionOnBadRequest[1].json index 2c82f12db11b5..b375d50dab1a9 100644 --- a/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.throwsExceptionOnBadRequest[1].json +++ b/sdk/communication/azure-communication-chat/src/test/resources/session-records/ChatThreadClientTest.throwsExceptionOnBadRequest[1].json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "POST", - "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:4b72178530934b7790135dd9359205e0@thread.v2/messages?api-version=2021-04-05-preview6", + "Uri" : "https://REDACTED.communication.azure.com/chat/threads/19:4b72178530934b7790135dd9359205e0@thread.v2/messages?api-version=2021-09-07", "Headers" : { - "User-Agent" : "azsdk-java-azure-communication-chat/1.1.0 (1.8.0_262; Windows 10; 10.0)", - "x-ms-client-request-id" : "2e71474c-1cbd-4304-883e-4c70857d5958", + "User-Agent" : "azsdk-java-azure-communication-chat/1.3.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "f3f7122f-a592-4b9b-86ba-0e807e65dc3c", "Content-Type" : "application/json" }, "Response" : { diff --git a/sdk/communication/azure-communication-chat/swagger/README.md b/sdk/communication/azure-communication-chat/swagger/README.md index 9ff40d95a8247..d04ae6b6681a2 100644 --- a/sdk/communication/azure-communication-chat/swagger/README.md +++ b/sdk/communication/azure-communication-chat/swagger/README.md @@ -35,6 +35,7 @@ tag: package-chat-2021-09-07 require: - https://raw.githubusercontent.com/Azure/azure-rest-api-specs/8dbeba81f3a838cd4b7efd70234f29cc1cdc7374/specification/communication/data-plane/Chat/readme.md java: true +title: AzureCommunicationChatService output-folder: ..\ license-header: MICROSOFT_MIT_SMALL namespace: com.azure.communication.chat @@ -50,6 +51,8 @@ add-context-parameter: true context-client-method-parameter: true enable-xml: false required-parameter-client-methods: true +custom-strongly-typed-header-deserialization: true +generic-response-type: true ``` ### Rename AddChatParticipantsRequest to AddChatParticipantsOptions @@ -155,7 +158,7 @@ directive: transform: > if (!$.TypingNotificationOptions) { $.TypingNotificationOptions = $.SendTypingNotificationRequest; - delete $.TypingNotificationRequest; + delete $.SendTypingNotificationRequest; } - from: swagger-document where: $["paths"]["/chat/threads/{chatThreadId}/typing"].post.parameters[2]